{"matchId":"54013992","creationMatch":"exact_match","runtimeMatch":"exact_match","verifiedAt":"2026-09-29T15:34:39Z","creationBytecode":{"onchainBytecode":"0x61018080604052346103c95760c0816161bf803803809161002082856103cd565b8339810103126103c95761003381610404565b61003f60208301610404565b9161004c60408201610404565b61005860608301610404565b9061007160a061006a60808601610404565b9401610404565b93604051906100816040836103cd565b600b8252602082016a2a3cb1b437a937baba32b960a91b8152604051926100a96040856103cd565b600184526020840192603160f81b845260017f9b779b17422d0df92223018b32b4d1fa46e071723d6817e2486d003becc55f0055803b156103a9576001600160a01b03166080526100f98161061d565b61014052610106846107c4565b6101605251902091826101005251902080610120524660c0526040519060208201927f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f8452604083015260608201524660808201523060a082015260a0815261017060c0826103cd565b51902060a0523060e052843b1561038b57600980546001600160a01b0319166001600160a01b03909616959095179094555f51602061613f5f395f51905f525f81815260208190527ff7c9542c591017a21c74b6f3fab6263c7952fc0aaf9db4c22a2a04ddc7f867508054908390556103139661030d9594610307949093610301939082905f51602061609f5f395f51905f529080a45f51602061611f5f395f51905f525f81815260208190527f770bdc288ee5ebd346714a4f85d8d94878b226ea302eab9b7e299fdec2bb0a428054908390559082905f51602061609f5f395f51905f529080a45f51602061615f5f395f51905f525f81815260208190527ffad11248e1247cf2be78b2297df0a99e014395bebbed387f9305d245195f092e8054908390559082905f51602061609f5f395f51905f529080a45f5160206160df5f395f51905f525f81815260208190527fcd92a47a49af88ea215f843a7acddba636c1123555e1f5f07a13c3e84b9691d88054908390559082905f51602061609f5f395f51905f529080a4610418565b5061049d565b5061051d565b5061059d565b506040516157769081610909823960805181818161061601528181611106015281816118210152818161204c01526153e5015260a051816149ff015260c05181614abc015260e051816149d001526101005181614a4e01526101205181614a74015261014051816113ec015261016051816114150152f35b6324da307760e21b5f9081526001600160a01b038616600452602490fd5b63beed1af760e01b5f9081526001600160a01b0391909116600452602490fd5b5f80fd5b601f909101601f19168101906001600160401b038211908210176103f057604052565b634e487b7160e01b5f52604160045260245ffd5b51906001600160a01b03821682036103c957565b6001600160a01b0381165f9081525f5160206160ff5f395f51905f52602052604090205460ff16610498576001600160a01b03165f8181525f5160206160ff5f395f51905f5260205260408120805460ff191660011790553391905f51602061613f5f395f51905f52905f51602061607f5f395f51905f529080a4600190565b505f90565b6001600160a01b0381165f9081525f5160206160bf5f395f51905f52602052604090205460ff16610498576001600160a01b03165f8181525f5160206160bf5f395f51905f5260205260408120805460ff191660011790553391905f51602061611f5f395f51905f52905f51602061607f5f395f51905f529080a4600190565b6001600160a01b0381165f9081525f51602061619f5f395f51905f52602052604090205460ff16610498576001600160a01b03165f8181525f51602061619f5f395f51905f5260205260408120805460ff191660011790553391905f51602061615f5f395f51905f52905f51602061607f5f395f51905f529080a4600190565b6001600160a01b0381165f9081525f51602061617f5f395f51905f52602052604090205460ff16610498576001600160a01b03165f8181525f51602061617f5f395f51905f5260205260408120805460ff191660011790553391905f5160206160df5f395f51905f52905f51602061607f5f395f51905f529080a4600190565b908151602081105f14610697575090601f815111610657576020815191015160208210610648571790565b5f198260200360031b1b161790565b604460209160405192839163305a27a960e01b83528160048401528051918291826024860152018484015e5f828201840152601f01601f19168101030190fd5b6001600160401b0381116103f057600754600181811c911680156107ba575b60208210146107a657601f8111610767575b50602092601f821160011461070657928192935f926106fb575b50508160011b915f199060031b1c19161760075560ff90565b015190505f806106e2565b601f1982169360075f52805f20915f5b86811061074f5750836001959610610737575b505050811b0160075560ff90565b01515f1960f88460031b161c191690555f8080610729565b91926020600181928685015181550194019201610716565b818111156106c85760075f5260205f20601f80840160051c809201920160051c03905f5b8281106107995750506106c8565b5f8282015560010161078b565b634e487b7160e01b5f52602260045260245ffd5b90607f16906106b6565b908151602081105f146107ef575090601f815111610657576020815191015160208210610648571790565b6001600160401b0381116103f057600854600181811c911680156108fe575b60208210146107a657601f81116108bf575b50602092601f821160011461085e57928192935f92610853575b50508160011b915f199060031b1c19161760085560ff90565b015190505f8061083a565b601f1982169360085f52805f20915f5b8681106108a7575083600195961061088f575b505050811b0160085560ff90565b01515f1960f88460031b161c191690555f8080610881565b9192602060018192868501518155019401920161086e565b818111156108205760085f5260205f20601f80840160051c809201920160051c03905f5b8281106108f1575050610820565b5f828201556001016108e3565b90607f169061080e56fe60806040526004361015610038575b361561002e573461002a57610022366120d8565b602081519101f35b5f80fd5b6100366120c7565b005b5f3560e01c8062fdd58e146102f157806301ffc9a7146102ec578063095bcdb6146102e75780630c1a0ee7146102e257806312261ee7146102dd5780631d452e46146102d857806321bd166a1461023357806324788429146102d3578063248a9ca3146102ce5780632f2ff15d146102c957806333967285146102c457806336568abe146102bf5780633c226834146102ba5780633f4ba83a146102b5578063409b68bf146102b0578063426a8493146102ab57806346f177ec146102a657806347e7ef24146102a15780634e573d091461029c5780634e66ab2014610297578063558a729714610292578063598af9e71461028d5780635c975abb14610288578063631eecea146102835780636aad98381461027e5780638456cb591461027957806384b0196e146102745780638c66d04f1461026f57806391d148541461026a5780639b67606914610265578063a217fddf14610260578063ae890e771461025b578063b131b93414610256578063b6363cf214610251578063ca9310731461024c578063d547741f14610247578063e63ab1e914610242578063ef7008ea1461023d578063f3fef3a314610238578063f78800f914610233578063f8cdfc4f1461022e578063fb1bb9de14610229578063fe745a0f146102245763fe99049a0361000e57611acd565b611aa9565b611a6f565b611a36565b61074a565b611945565b611925565b6118eb565b6118ab565b6117bd565b611763565b611727565b611707565b6116ed565b611635565b6115e3565b6114dd565b6113d4565b6112f2565b611196565b611049565b610f5c565b610eed565b610e36565b610df2565b610db8565b610bcc565b610ba6565b610aae565b610a6c565b610904565b6108db565b61087a565b610840565b6107fb565b6107c9565b610767565b6106b8565b6105f7565b61056f565b61048c565b610385565b61033b565b6001600160a01b0381160361002a57565b60243590610314826102f6565b565b60443590610314826102f6565b60c43590610314826102f6565b3590610314826102f6565b3461002a57604036600319011261002a57600435610358816102f6565b6001600160a01b0360243591165f52600560205260405f20905f52602052602060405f2054604051908152f35b3461002a57602036600319011261002a576004357fffffffff00000000000000000000000000000000000000000000000000000000811680910361002a576020907f7965db0b0000000000000000000000000000000000000000000000000000000081148015610440575b80918115610405575b50506040519015158152f35b7f0f632fb3000000000000000000000000000000000000000000000000000000001491508115610438575b505f806103f9565b90505f610430565b507f01ffc9a70000000000000000000000000000000000000000000000000000000081146103f0565b606090600319011261002a57600435610481816102f6565b906024359060443590565b3461002a576104a461049d36610469565b913361238e565b602060405160018152f35b908160a091031261002a5790565b9181601f8401121561002a5782359167ffffffffffffffff831161002a576020838186019501011161002a57565b9061010060031983011261002a5760043591602435610509816102f6565b91604435610516816102f6565b91606435916084359160a43561052b816102f6565b9160c43567ffffffffffffffff811161002a578261054b916004016104af565b9160e4359067ffffffffffffffff821161002a5761056b916004016104bd565b9091565b60206105c16105a9610580366104eb565b9889828587898b8d8f989f8a9f9a9b9e9b61059c9e9d9e612458565b6105a461248c565b6125c1565b6105b281612819565b6105bc8183612861565b612a88565b60017f9b779b17422d0df92223018b32b4d1fa46e071723d6817e2486d003becc55f0055604051908152f35b5f91031261002a57565b3461002a575f36600319011261002a5760206040516001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000168152f35b634e487b7160e01b5f52604160045260245ffd5b6040810190811067ffffffffffffffff82111761066a57604052565b61063a565b90601f8019910116810190811067ffffffffffffffff82111761066a57604052565b6040519061031460e08361066f565b67ffffffffffffffff811161066a5760051b60200190565b3461002a57602036600319011261002a5760043567ffffffffffffffff811161002a573660238201121561002a578060040135906106f5826106a0565b91610703604051938461066f565b8083526024602084019160051b8301019136831161002a57602401905b8282106107305761003684611c23565b60208091833561073f816102f6565b815201910190610720565b3461002a575f36600319011261002a576020604051620151808152f35b3461002a57602036600319011261002a576001600160a01b0360043561078c816102f6565b610794612be8565b16805f5260066020525f60408120557f4a2cf608bfb427f53279ec7f0eadf48913b9346ccefc3af138dbdec14ea0907d5f80a2005b3461002a57602036600319011261002a5760206107f36004355f525f602052600160405f20015490565b604051908152f35b3461002a57604036600319011261002a5761003660243560043561081e826102f6565b61083b610836825f525f602052600160405f20015490565b612cc6565b612d0d565b3461002a575f36600319011261002a5760206040517f9939157be7760e9462f1d5a0dcad88b616ddc64138e317108b40b1cf556013488152f35b3461002a57604036600319011261002a5760043560243561089a816102f6565b336001600160a01b038216036108b35761003691612da5565b7f6697b232000000000000000000000000000000000000000000000000000000005f5260045ffd5b60206105c16108ec610580366104eb565b6108f581612819565b6108ff8183612861565b612e35565b3461002a575f36600319011261002a57335f9081527f770bdc288ee5ebd346714a4f85d8d94878b226ea302eab9b7e299fdec2bb0a41602052604090205460ff16156109b15760045460ff8116156109895760ff19166004557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa6020604051338152a1005b7f8dfc202b000000000000000000000000000000000000000000000000000000005f5260045ffd5b63e2517d3f60e01b5f52336004527f427da25fe773164f88948d3e215c94b6554e2ed5e5f203a821c9f2f6131cf75a60245260445ffd5b61012060031982011261002a5760043591602435610a05816102f6565b91604435610a12816102f6565b91606435916084359160a4359160c435610a2b816102f6565b9160e43567ffffffffffffffff811161002a5782610a4b916004016104af565b91610104359067ffffffffffffffff821161002a5761056b916004016104bd565b3461002a5760206105c1610a9f610a82366109e8565b998a8285888a8c8f979f9e899f9a9e9a819a9c9e9c61059c612458565b610aa98183612910565b612ee7565b3461002a57610abc36610469565b9190913315610b7a576001600160a01b038216918215610b4e57610b0e84610b018493335f52600360205260405f20906001600160a01b03165f5260205260405f2090565b905f5260205260405f2090565b5560405190815233907fb3fd5071835887567a0671151121894ddccc2842f1d10bedad13e0d17cace9a790602090a46040516001815280602081015b0390f35b7f6f65f465000000000000000000000000000000000000000000000000000000005f525f60045260245ffd5b7fcc766a98000000000000000000000000000000000000000000000000000000005f525f60045260245ffd5b3461002a575f36600319011261002a5760206001600160a01b0360095416604051908152f35b604036600319011261002a57600435610be4816102f6565b60243590610bf0612458565b610bf861248c565b6001600160a01b038116908115610d90578215610d6857610c29906001600160a01b03165b6001600160a01b031690565b9073eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee8103610c85575090610c5c91610c56823414611e1c565b33613079565b61003660017f9b779b17422d0df92223018b32b4d1fa46e071723d6817e2486d003becc55f0055565b610c8f3415611d62565b6040516370a0823160e01b815230600482015292602084602481855afa938415610d3e575f94610d43575b50610cc790303384612fd6565b6040516370a0823160e01b815230600482015290602090829060249082905afa928315610d3e57610d0a93610d03925f91610d0f575b50611e0f565b9033613079565b610c5c565b610d31915060203d602011610d37575b610d29818361066f565b810190611dd3565b5f610cfd565b503d610d1f565b611de2565b610cc7919450610d619060203d602011610d3757610d29818361066f565b9390610cba565b7fa6b14c81000000000000000000000000000000000000000000000000000000005f5260045ffd5b7f33356531000000000000000000000000000000000000000000000000000000005f5260045ffd5b3461002a575f36600319011261002a5760206040517f6a1dd52dcad5bd732e45b6af4e7344fa284e2d7d4b23b5b09cb55d36b0685c878152f35b3461002a575f36600319011261002a5760206040517fcaeeb59f261880532f82b8abef24d6c0b351a4a6c52f09c7e78629661602a36a8152f35b8015150361002a57565b3461002a57604036600319011261002a57600435610e53816102f6565b602435610e5f81610e2c565b3315610b7a576001600160a01b038216918215610b4e5781610ea0610eb192335f52600260205260405f20906001600160a01b03165f5260205260405f2090565b9060ff801983541691151516179055565b604051901515815233907fceb576d9f15e4e200fdb5096d64d5dfd667e16def20c1eefd14256d8e3faa26790602090a360405160018152602090f35b3461002a57606036600319011261002a57600435610f0a816102f6565b610f47602435610f19816102f6565b6001600160a01b0360443593165f52600360205260405f20906001600160a01b03165f5260205260405f2090565b905f52602052602060405f2054604051908152f35b3461002a575f36600319011261002a57602060ff600454166040519015158152f35b60c09061010319011261002a5761010490565b908160c091031261002a5790565b6101e060031982011261002a5760043591610fba6024610330565b91610fc56044610330565b916064359160843591610fd860a4610330565b9160c43567ffffffffffffffff811161002a5781610ff8916004016104af565b916110048260e4610f91565b916101a43567ffffffffffffffff811161002a5781611025916004016104bd565b929092916101c4359067ffffffffffffffff821161002a5761056b916004016104bd565b3461002a5761107a61105a36610f9f565b9b8c82888a8f989796959f9c8a9f9a9e809c9f829e9f8d9161059c612458565b73eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee6001600160a01b038616036110f1575b610b4a6110b88d8d8d8d8d8d8d8d8d6108ff81836129c3565b6110e160017f9b779b17422d0df92223018b32b4d1fa46e071723d6817e2486d003becc55f0055565b6040519081529081906020820190565b6001600160a01b039b999795939a989694929b7f00000000000000000000000000000000000000000000000000000000000000001691823b1561002a576040516302b67b5760e41b81529c8d92839261114e923360048601611e9a565b03815a5f948591f1988915610d3e57610b4a9a6110b89a61117c575b81939597999b50829496989a5061109f565b8061118a5f6111909361066f565b806105ed565b5f61116a565b3461002a575f36600319011261002a576111ae612c57565b600a5465ffffffffffff8160a01c1680156112ca5780421061129b57506001600160a01b03806111f66111e96009546001600160a01b031690565b936001600160a01b031690565b611223816001600160a01b031673ffffffffffffffffffffffffffffffffffffffff196009541617600955565b61124573ffffffffffffffffffffffffffffffffffffffff19600a5416600a55565b6112727fffffffffffff000000000000ffffffffffffffffffffffffffffffffffffffff600a5416600a55565b1691167f153538becce9737e2efc6b51d64464392a325d0368e402aa8ff9f7f14e4c09e65f80a3005b7f017c6456000000000000000000000000000000000000000000000000000000005f526004524260245260445ffd5b7fc8e301b6000000000000000000000000000000000000000000000000000000005f5260045ffd5b3461002a575f36600319011261002a57335f9081527ff7c9542c591017a21c74b6f3fab6263c7952fc0aaf9db4c22a2a04ddc7f8674f602052604090205460ff161561137957611340612458565b600160ff1960045416176004557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a2586020604051338152a1005b63e2517d3f60e01b5f52336004527f65d7a28e3265b37a6474929f336521b332c1681b933f6cb9f3376673440d862a60245260445ffd5b805180835260209291819084018484015e5f828201840152601f01601f1916010190565b3461002a575f36600319011261002a5761147f6114107f00000000000000000000000000000000000000000000000000000000000000006143ba565b6114397f00000000000000000000000000000000000000000000000000000000000000006144a0565b61148d611444611f49565b916040519485947f0f00000000000000000000000000000000000000000000000000000000000000865260e0602087015260e08601906113b0565b9084820360408601526113b0565b4660608401523060808401525f60a084015282810360c0840152602080835192838152019201905f5b8181106114c4575050500390f35b82518452859450602093840193909201916001016114b6565b3461002a57602036600319011261002a576004356114fa816102f6565b611502612c57565b61150a612458565b803b156115ae57620151804201908142116115a957600a80547fffffffffffff0000000000000000000000000000000000000000000000000000166001600160a01b039290921691821760a084901b79ffffffffffff000000000000000000000000000000000000000016179055907fdf65d81a0133f384ea0402f18ad9df44c14b2105c60c85914d79b21dfd3261eb906115a4906110e1565b0390a2005b611ded565b6001600160a01b03907f9368c1dc000000000000000000000000000000000000000000000000000000005f521660045260245ffd5b3461002a57604036600319011261002a57602060ff61162960243560043561160a826102f6565b5f525f845260405f20906001600160a01b03165f5260205260405f2090565b54166040519015158152f35b3461002a5761020036600319011261002a57600435611652610307565b9061165b610316565b916064359160a43560843561166e610323565b60e43567ffffffffffffffff811161002a5761168e9036906004016104af565b61169736610f7e565b916101c43567ffffffffffffffff811161002a576116b99036906004016104bd565b9590946101e4359967ffffffffffffffff8b1161002a57610b4a9b6116e56110e19c36906004016104bd565b9b909a611fc1565b3461002a575f36600319011261002a5760206040515f8152f35b3461002a5760206105c161171d610580366104eb565b6108ff8183612910565b3461002a57602036600319011261002a576001600160a01b0360043561174c816102f6565b165f526006602052602060405f2054604051908152f35b3461002a57604036600319011261002a57602060ff611629600435611787816102f6565b6001600160a01b036024359161179c836102f6565b165f526002845260405f20906001600160a01b03165f5260205260405f2090565b3461002a576117ce61105a36610f9f565b73eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee6001600160a01b0386160361180c575b610b4a6110b88d8d8d8d8d8d8d8d8d6105bc81836129c3565b6001600160a01b039b999795939a989694929b7f00000000000000000000000000000000000000000000000000000000000000001691823b1561002a576040516302b67b5760e41b81529c8d928392611869923360048601611e9a565b03815a5f948591f1988915610d3e57610b4a9a6110b89a611897575b81939597999b50829496989a506117f3565b8061118a5f6118a59361066f565b5f611885565b3461002a57604036600319011261002a576100366024356004356118ce826102f6565b6118e6610836825f525f602052600160405f20015490565b612da5565b3461002a575f36600319011261002a5760206040517f65d7a28e3265b37a6474929f336521b332c1681b933f6cb9f3376673440d862a8152f35b3461002a5760206105c161193b610580366104eb565b6105bc8183612910565b3461002a57604036600319011261002a57600435611962816102f6565b60243561196d61248c565b6001600160a01b038216918215610d90578115610d68576119966001600160a01b038216610c1d565b906119b682610b01336001600160a01b03165f52600560205260405f2090565b548381106119fc575050816119cb91336130bf565b73eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee82036119f157610c5c915033613174565b610d0a913390613104565b6040516369dc250160e11b81523360048201526001600160a01b039290921660248301526044820193909352606481019290925250608490fd5b3461002a575f36600319011261002a57600a54604080516001600160a01b038316815260a09290921c65ffffffffffff16602083015290f35b3461002a575f36600319011261002a5760206040517f427da25fe773164f88948d3e215c94b6554e2ed5e5f203a821c9f2f6131cf75a8152f35b60206105c1611aba610a82366109e8565b611ac381612819565b610aa98183612861565b3461002a57608036600319011261002a57600435611aea816102f6565b602435611af6816102f6565b604435606435916001600160a01b038416933385141580611bf2575b611b2d575b611b21945061238e565b60405160018152602090f35b845f526003602052611b533360405f20906001600160a01b03165f5260205260405f2090565b835f5260205260405f20545f198110611b6d575b50611b17565b848110611bab578490611b21965f52600360205203611ba484610b013360405f20906001600160a01b03165f5260205260405f2090565b555f611b67565b6040517f58a3fd5a00000000000000000000000000000000000000000000000000000000815233600482015260248101919091526044810185905260648101849052608490fd5b50845f52600260205260ff611c1b3360405f20906001600160a01b03165f5260205260405f2090565b541615611b12565b611c2b612be8565b611c33612458565b5f5b8151811015611d24576001600160a01b03611c508284611d4e565b5116803b15611cfc57805f52600660205260405f2054611cd157906001917f8d569bcfa0f17e03872f15644187df4676d61a9e71e934211c2781c94d0c9f37611cc8611c9b42611f96565b80611cb7856001600160a01b03165f52600660205260405f2090565b556040519081529081906020820190565b0390a201611c35565b7f1124faeb000000000000000000000000000000000000000000000000000000005f5260045260245ffd5b7f931cf050000000000000000000000000000000000000000000000000000000005f5260045ffd5b5050565b634e487b7160e01b5f52603260045260245ffd5b805115611d495760200190565b611d28565b8051821015611d495760209160051b010190565b15611d6957565b608460405162461bcd60e51b815260206004820152602260248201527f455448206e6f7420616363657074656420666f72204552433230206465706f7360448201527f69740000000000000000000000000000000000000000000000000000000000006064820152fd5b9081602091031261002a575190565b6040513d5f823e3d90fd5b634e487b7160e01b5f52601160045260245ffd5b5f198101919082116115a957565b919082039182116115a957565b15611e2357565b606460405162461bcd60e51b815260206004820152600e60248201527f56616c7565206d69736d617463680000000000000000000000000000000000006044820152fd5b359065ffffffffffff8216820361002a57565b908060209392818452848401375f828201840152601f01601f1916010190565b60a0611f4695936001600160a01b03610100941683526001600160a01b038135611ec3816102f6565b1660208401526001600160a01b036020820135611edf816102f6565b16604084015265ffffffffffff611ef860408301611e67565b16606084015265ffffffffffff611f1160608301611e67565b1660808401526001600160a01b036080820135611f2d816102f6565b1682840152013560c08201528160e08201520191611e7a565b90565b60405190611f5860208361066f565b5f808352366020840137565b90611f6e826106a0565b611f7b604051918261066f565b8281528092611f8c601f19916106a0565b0190602036910137565b906201518082018092116115a957565b90600182018092116115a957565b919082018092116115a957565b9b9a99611fe38c8c8f9988888d9f98839f98809b9d9f9e829d9f61059c612458565b73eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee6001600160a01b03851603612042575b50505089610aa96120199b836129c3565b611f4660017f9b779b17422d0df92223018b32b4d1fa46e071723d6817e2486d003becc55f0055565b6001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016803b1561002a57612098935f8094604051968795869485936302b67b5760e41b85523360048601611e9a565b03925af18015610d3e576120ae575b8080612008565b806120ba5f809361066f565b80031261002a575f6120a7565b6120cf612458565b333b1561002a57565b906120e1612458565b7f098a7a3b47801589e8cdf9ec791b93ad44273246946c32ef1fc4dbe45390c80e5c7f8c47a7e3f4c2e1b5a6d9f0e8c7b3a2d1e4f5c6b7a8d9e0f1c2b3a4d5e6f7c8d95c927f7b3c4e5f6a8d9e0f1c2b3a4d5e6f7c8d9e0f1c2b3a4d5e6f7c8d9e0f1c2b3a4d5c907fce9e2e8e50d57f2d688020ea7ab16e2039bcf4dc7175eba827e178586597bb395c907f0c22c14aba48b0e26e3b58475c66f358c352532122e537c32e8184c0159e6e105c9261219885614558565b604051967fee3dbf9b000000000000000000000000000000000000000000000000000000008852604088806121d33389885f6004860161323a565b03816001600160a01b038a165afa938415610d3e575f985f9561234a575b505f939192849361220492888c89614600565b5060405161224f8161224160208201947f7003fdf40000000000000000000000000000000000000000000000000000000086528660248401613268565b03601f19810183528261066f565b5190865af49261225d613279565b93156123045750600285612274611f4696976125a3565b146122f4575b50505f7f098a7a3b47801589e8cdf9ec791b93ad44273246946c32ef1fc4dbe45390c80e5d5f7f8c47a7e3f4c2e1b5a6d9f0e8c7b3a2d1e4f5c6b7a8d9e0f1c2b3a4d5e6f7c8d95d5f7f7b3c4e5f6a8d9e0f1c2b3a4d5e6f7c8d9e0f1c2b3a4d5e6f7c8d9e0f1c2b3a4d5d602080825183010191016132a8565b6122fd916147eb565b5f8061227a565b83908151156123165750602081519101fd5b7f39965ec7000000000000000000000000000000000000000000000000000000005f526001600160a01b031660045260245ffd5b5f9492995061220491955092612378859460403d604011612387575b612370818361066f565b810190613217565b9a909a969250929450926121f1565b503d612366565b9291926001600160a01b03811691821561242c576001600160a01b038116938415612400576123e381876123fb947f1b3d7edb2e9c0b0e7c525b20aaaef0f5940d2ed71663c7d39266ecafac728859966148dd565b60408051338152602081019290925290918291820190565b0390a4565b7fb8bbd610000000000000000000000000000000000000000000000000000000005f525f60045260245ffd5b7fa4352080000000000000000000000000000000000000000000000000000000005f525f60045260245ffd5b60ff6004541661246457565b7fd93c0665000000000000000000000000000000000000000000000000000000005f5260045ffd5b60027f9b779b17422d0df92223018b32b4d1fa46e071723d6817e2486d003becc55f0054146124db5760027f9b779b17422d0df92223018b32b4d1fa46e071723d6817e2486d003becc55f0055565b7f3ee5aeb5000000000000000000000000000000000000000000000000000000005f5260045ffd5b35611f46816102f6565b3563ffffffff8116810361002a5790565b67ffffffffffffffff811161066a57601f01601f191660200190565b9291926125468261251e565b91612554604051938461066f565b82948184528183011161002a578281602093845f960137010152565b903590601e198136030182121561002a570180359067ffffffffffffffff821161002a5760200191813603831361002a57565b600411156125ad57565b634e487b7160e01b5f52602160045260245ffd5b969492909795939160208801986001600160a01b036125df8b612503565b16156127b85760608901359687421161278757948994612241948c99946126df9b99946126286126d79a604061261d6126178d61250d565b9f612503565b9b01359c369161253a565b60208151910120966040519b8c9a60208c019e8f98969492909b9a99979593916101808a019c7fcaeeb59f261880532f82b8abef24d6c0b351a4a6c52f09c7e78629661602a36a8b5263ffffffff1660208b01526001600160a01b031660408a01526060890152608088015260a08701526001600160a01b031660c08601526001600160a01b031660e08501526101008401526101208301526001600160a01b03166101408201526101600152565b51902061330b565b60808201916126f86126f18483612570565b908461334c565b50612702816125a3565b159081612768575b50612762576127286127309361272261273496612503565b92612570565b929091613380565b1590565b61273a57565b7f8bd22865000000000000000000000000000000000000000000000000000000005f5260045ffd5b50505050565b90506001600160a01b0361277e610c1d87612503565b9116145f61270a565b7f6b7a0a9e000000000000000000000000000000000000000000000000000000005f5260048890524260245260445ffd5b5050505050505050905060408101351590811591612800575b506127d857565b7fbea0e082000000000000000000000000000000000000000000000000000000005f5260045ffd5b63ffffffff91506128109061250d565b1615155f6127d1565b346128215750565b8034036128325750610314346133c5565b7f5ffb1a5f000000000000000000000000000000000000000000000000000000005f523460045260245260445ffd5b7faf58e9f1b0923d55d0ec6a57763d43cd9bb1d6bd8bad5ce9522fbe772c6ec42b5d7f28d0e2684c9341fec58f816e0c375a4e51f9f34ec034a29c97467df00497c8d95d5f7fd847dc13274ab371f6244234290f56fa8650ec9dceff86e20efe1ddc141bdb035d337f99298391997747e556e81b2d36d99151315b6c1b92e826ca8d37acad5fddaf705d5f7fce5ffa91873ede1b462af74ea59bab3721b06b0ff726b90311437efde20017955d565b90507faf58e9f1b0923d55d0ec6a57763d43cd9bb1d6bd8bad5ce9522fbe772c6ec42b5d5f7f28d0e2684c9341fec58f816e0c375a4e51f9f34ec034a29c97467df00497c8d95d5f7fd847dc13274ab371f6244234290f56fa8650ec9dceff86e20efe1ddc141bdb035d337f99298391997747e556e81b2d36d99151315b6c1b92e826ca8d37acad5fddaf705d60017fce5ffa91873ede1b462af74ea59bab3721b06b0ff726b90311437efde20017955d565b7faf58e9f1b0923d55d0ec6a57763d43cd9bb1d6bd8bad5ce9522fbe772c6ec42b5d7f28d0e2684c9341fec58f816e0c375a4e51f9f34ec034a29c97467df00497c8d95d60017fd847dc13274ab371f6244234290f56fa8650ec9dceff86e20efe1ddc141bdb035d337f99298391997747e556e81b2d36d99151315b6c1b92e826ca8d37acad5fddaf705d5f7fce5ffa91873ede1b462af74ea59bab3721b06b0ff726b90311437efde20017955d565b9081602091031261002a5751611f4681610e2c565b9790612b1396949597939291612a9f87858c6135a1565b612aaa83838b613647565b612ab660208701612503565b94602086612ad2610c1d610c1d6009546001600160a01b031690565b612adb8a61250d565b604051809d819482936359f0aa3960e11b8452600484019092916001600160a01b0360209163ffffffff604085019616845216910152565b03915afa988915610d3e575f99612bad575b50612b4291612b33916136fa565b908a15612ba5578c3093613791565b98612b4c8661250d565b93612b55610691565b9a8b5260208b015260408a01526001600160a01b031660608901526001600160a01b0316608088015263ffffffff1660a08701526001600160a01b031660c08601526040013591611f4694613e2a565b8c8c93613791565b612b3391995091612bd8612b429360203d602011612be1575b612bd0818361066f565b810190612a73565b99915091612b25565b503d612bc6565b335f9081527ffad11248e1247cf2be78b2297df0a99e014395bebbed387f9305d245195f092d602052604090205460ff1615612c2057565b63e2517d3f60e01b5f52336004527f6a1dd52dcad5bd732e45b6af4e7344fa284e2d7d4b23b5b09cb55d36b0685c8760245260445ffd5b335f9081527fcd92a47a49af88ea215f843a7acddba636c1123555e1f5f07a13c3e84b9691d7602052604090205460ff1615612c8f57565b63e2517d3f60e01b5f52336004527f9939157be7760e9462f1d5a0dcad88b616ddc64138e317108b40b1cf5560134860245260445ffd5b805f525f60205260ff612ced3360405f20906001600160a01b03165f5260205260405f2090565b541615612cf75750565b63e2517d3f60e01b5f523360045260245260445ffd5b805f525f60205260ff612d348360405f20906001600160a01b03165f5260205260405f2090565b5416612d9f57805f525f602052612d5f8260405f20906001600160a01b03165f5260205260405f2090565b805460ff1916600117905533916001600160a01b0316907f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d5f80a4600190565b50505f90565b805f525f60205260ff612dcc8360405f20906001600160a01b03165f5260205260405f2090565b541615612d9f57805f525f602052612df88260405f20906001600160a01b03165f5260205260405f2090565b805460ff1916905533916001600160a01b0316907ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b5f80a4600190565b979291909695939496612e4986848b6135a1565b612e5482828a613647565b8315612ebf57612e6a96612ab660208701612503565b03915afa988915610d3e575f99612e98575b50612b4291908915612e915730915b8c614129565b8a91612e8b565b612b4292919950612eb79060203d602011612be157612bd0818361066f565b989091612e7c565b7fbc0c932b000000000000000000000000000000000000000000000000000000005f5260045ffd5b989694612f719098949698612efd88868d6135a1565b612f0884848c613647565b612f1460208801612503565b95602087612f30610c1d610c1d6009546001600160a01b031690565b612f398b61250d565b6040518097819482936359f0aa3960e11b8452600484019092916001600160a01b0360209163ffffffff604085019616845216910152565b03915afa998a15610d3e578c935f9b612fb5575b508a15612fae5730915b6001600160a01b0387166001600160a01b0387161493612b42956141f4565b8b91612f8f565b612fcf919b5060203d602011612be157612bd0818361066f565b995f612f85565b9290916001600160a01b039081604051947f23b872dd000000000000000000000000000000000000000000000000000000005f52166004521660245260445260205f60648180865af160015f511481161561305a575b6040919091525f606052155b61303f5750565b635274afe760e01b5f526001600160a01b031660045260245ffd5b6001811516613070573d15833b1515161661302c565b503d5f823e3d90fd5b9190916001600160a01b038116918215612400576123fb816123e37f1b3d7edb2e9c0b0e7c525b20aaaef0f5940d2ed71663c7d39266ecafac72885993875f96876148dd565b90916001600160a01b03821690811561242c576123fb816123e37f1b3d7edb2e9c0b0e7c525b20aaaef0f5940d2ed71663c7d39266ecafac72885993875f80986148dd565b916001600160a01b03604051927fa9059cbb000000000000000000000000000000000000000000000000000000005f521660045260245260205f60448180865af160015f511481161561315e575b60409190915215613038565b6001811516613070573d15833b15151616613152565b8147106131da575f9182916040519161318e60208461066f565b8383528392602001916001600160a01b03165af1156131a957565b3d15155f03611de2577fd6bda275000000000000000000000000000000000000000000000000000000005f5260045ffd5b50477fcf479181000000000000000000000000000000000000000000000000000000005f5260045260245260445ffd5b5190600482101561002a57565b919082604091031261002a57602061322e8361320a565b920151611f46816102f6565b9294936001600160a01b0361325b8193604095606088526060880191611e7a565b9616602085015216910152565b916020611f46938181520191611e7a565b3d156132a3573d9061328a8261251e565b91613298604051938461066f565b82523d5f602084013e565b606090565b60208183031261002a5780519067ffffffffffffffff821161002a570181601f8201121561002a578051906132dc8261251e565b926132ea604051948561066f565b8284526020838301011161002a57815f9260208093018386015e8301015290565b6042906133166149c6565b90604051917f19010000000000000000000000000000000000000000000000000000000000008352600283015260228201522090565b90604183036133765761336f9250602081013591604082359201355f1a90614ae2565b9192909190565b50505f9160029190565b906064846020955f9560405194630b135d3f60e11b86526004860152604060248601528160448601528385013701915afa630b135d3f60e11b5f5114601f3d11161690565b80156134cc576133e873eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee615513565b5c908082019081125f83129080158216911516176115a95761031491158015806134c4575b1561345f57506134456134407fee3c9c434505299f2450d3624302a27b8a6978e973825330bc744ba925eec1995c611e01565b614b89565b73eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee614bba565b806134bb575b15613445576134947fee3c9c434505299f2450d3624302a27b8a6978e973825330bc744ba925eec1995c611fa6565b7fee3c9c434505299f2450d3624302a27b8a6978e973825330bc744ba925eec1995d613445565b50801515613465565b50811561340d565b50565b908015611d24576134df82615513565b5c918183019182125f84129080158216911516176115a9576103149215801580613599575b1561355b57506135347fee3c9c434505299f2450d3624302a27b8a6978e973825330bc744ba925eec1995c611e01565b7fee3c9c434505299f2450d3624302a27b8a6978e973825330bc744ba925eec1995d614bba565b80613590575b15614bba576135347fee3c9c434505299f2450d3624302a27b8a6978e973825330bc744ba925eec1995c611fa6565b50811515613561565b508215613504565b9190911561361f5781156135f757801580156135ee575b6135c0575050565b7fa6ce01ff000000000000000000000000000000000000000000000000000000005f5260045260245260445ffd5b508181116135b8565b7f6fa417d5000000000000000000000000000000000000000000000000000000005f5260045ffd5b7f40b71e18000000000000000000000000000000000000000000000000000000005f5260045ffd5b6001600160a01b0316159190821561367a575b50811561366857506127d857565b6001600160a01b03915016155f6127d1565b6001600160a01b03161591505f61365a565b9060191161002a5760050190601490565b909291928360191161002a57831161002a57601901916018190190565b356bffffffffffffffffffffffff198116929190601482106136da575050565b6bffffffffffffffffffffffff1960149290920360031b82901b16169150565b918160141161002a57823560601c92601401916013190190565b908160a091031261002a576137288161320a565b916020820151613737816102f6565b916040810151613746816102f6565b9160806060830151613757816102f6565b920151611f4681610e2c565b9260409261378a916001600160a01b03939796978652606060208701526060860191611e7a565b9416910152565b929493919461379f84614558565b837f098a7a3b47801589e8cdf9ec791b93ad44273246946c32ef1fc4dbe45390c80e5d60017f8c47a7e3f4c2e1b5a6d9f0e8c7b3a2d1e4f5c6b7a8d9e0f1c2b3a4d5e6f7c8d95d5f7f7b3c4e5f6a8d9e0f1c2b3a4d5e6f7c8d9e0f1c2b3a4d5e6f7c8d9e0f1c2b3a4d5d817fce9e2e8e50d57f2d688020ea7ab16e2039bcf4dc7175eba827e178586597bb395d604051936314b471d360e31b855260a0858061384c858b60048401613268565b03816001600160a01b0385165afa968715610d3e575f925f915f915f985f9b613ad6575b506001600160a01b0389166001600160a01b03841614613aba575f839281928a8e8d9a9998977f0c22c14aba48b0e26e3b58475c66f358c352532122e537c32e8184c0159e6e105d8414613aa657506139186138dc8460016138d330809e614bc3565b9d898d8c614731565b926122418d60405194859360208501977f6df0e4a800000000000000000000000000000000000000000000000000000000895260248601613763565b5190865af4916002613928613279565b955f7f098a7a3b47801589e8cdf9ec791b93ad44273246946c32ef1fc4dbe45390c80e5d5f7f8c47a7e3f4c2e1b5a6d9f0e8c7b3a2d1e4f5c6b7a8d9e0f1c2b3a4d5e6f7c8d95d5f7f7b3c4e5f6a8d9e0f1c2b3a4d5e6f7c8d9e0f1c2b3a4d5e6f7c8d9e0f1c2b3a4d5d5f7fce9e2e8e50d57f2d688020ea7ab16e2039bcf4dc7175eba827e178586597bb395d5f7f0c22c14aba48b0e26e3b58475c66f358c352532122e537c32e8184c0159e6e105d6139e1816125a3565b14613a96575b505015613a52575050906139fe613a039285614bc3565b611e0f565b9380613a3f575b613a2d575b83906001600160a01b03163014613a24575050565b610314916134cf565b92613a39908483614c3e565b92613a0f565b50306001600160a01b0382161415613a0a565b815115613a625750602081519101fd5b7f2680f8fe000000000000000000000000000000000000000000000000000000005f526001600160a01b031660045260245ffd5b613a9f916147eb565b5f806139e7565b6138dc8460016138d361391894809e614bc3565b63ce89c4bd60e01b5f526001600160a01b03831660045260245ffd5b93509950935050613b0091955060a03d60a011613b0c575b613af8818361066f565b810190613714565b9793949097995f613870565b503d613aee565b9594929395919091613b2481614558565b807f098a7a3b47801589e8cdf9ec791b93ad44273246946c32ef1fc4dbe45390c80e5d867f8c47a7e3f4c2e1b5a6d9f0e8c7b3a2d1e4f5c6b7a8d9e0f1c2b3a4d5e6f7c8d95d5f7f7b3c4e5f6a8d9e0f1c2b3a4d5e6f7c8d9e0f1c2b3a4d5e6f7c8d9e0f1c2b3a4d5d827fce9e2e8e50d57f2d688020ea7ab16e2039bcf4dc7175eba827e178586597bb395d604051946314b471d360e31b865260a08680613bd0848760048401613268565b03816001600160a01b0386165afa978815610d3e575f935f925f925f995f9c613c80575b506001600160a01b038a166001600160a01b03851614613c645783925f926139186138dc8f86958f9c9b9a998f909288937f0c22c14aba48b0e26e3b58475c66f358c352532122e537c32e8184c0159e6e105d8314613c5957506138d330809e614bc3565b6138d390809e614bc3565b63ce89c4bd60e01b5f526001600160a01b03841660045260245ffd5b93509a5094509650613ca1915060a03d60a011613b0c57613af8818361066f565b9891939590929392989a5f613bf4565b9594929395919091613cc281614558565b807f098a7a3b47801589e8cdf9ec791b93ad44273246946c32ef1fc4dbe45390c80e5d867f8c47a7e3f4c2e1b5a6d9f0e8c7b3a2d1e4f5c6b7a8d9e0f1c2b3a4d5e6f7c8d95d60017f7b3c4e5f6a8d9e0f1c2b3a4d5e6f7c8d9e0f1c2b3a4d5e6f7c8d9e0f1c2b3a4d5d827fce9e2e8e50d57f2d688020ea7ab16e2039bcf4dc7175eba827e178586597bb395d604051946314b471d360e31b865260a08680613d6f848760048401613268565b03816001600160a01b0386165afa978815610d3e575f935f925f925f995f9c613df9575b506001600160a01b038a166001600160a01b03851614613c645783925f926139186138dc8f86958f9c9b9a998f90926001937f0c22c14aba48b0e26e3b58475c66f358c352532122e537c32e8184c0159e6e105d8814613c5957506138d330809e614bc3565b93509a5094509650613e1a915060a03d60a011613b0c57613af8818361066f565b9891939590929392989a5f613d93565b9394919392901561411857613e4d610c1d610c1d6009546001600160a01b031690565b604080517f9f6523db000000000000000000000000000000000000000000000000000000008152855160048201526020860151602482015290850151604482015260608501516001600160a01b03908116606483015260808601518116608483015260a086015163ffffffff1660a483015260c08601511660c482015293905f90859060e49082905afa938415610d3e575f946140f4575b508051925f965f975b8651891015613f1a57613f126001916020613f098c8b611d4e565b51015190611fb4565b980197613eee565b9092949750959092958451908181116140c65750505f5b8551811015613ff4576020613f468288611d4e565b510151613f56575b600101613f31565b96613fec600191613fd7888b6020613fce613fc7613fb9613fab858f60800197613fa6613f8a8a516001600160a01b031690565b613fa089613f988686611d4e565b5101516145d4565b906134cf565b611d4e565b51516001600160a01b031690565b94516001600160a01b031690565b928d611d4e565b51015191615565565b6020613fe38b8a611d4e565b51015190611e0f565b979050613f4e565b50929093611f4695929661403e91805161406f575b505b85608084019461402286516001600160a01b031690565b908761403860c08801516001600160a01b031690565b94614d97565b9261406961405b606060408501519401516001600160a01b031690565b93516001600160a01b031690565b93614f53565b7f90d361ec764fa5642d6f3c5dc38434ac048b8ece7df64dcfa2331ea2114f44806140bd6001600160a01b036140af60808801516001600160a01b031690565b169260405191829182614d49565b0390a25f614009565b7ff3603006000000000000000000000000000000000000000000000000000000005f5260045260245260445ffd5b6141119194503d805f833e614109818361066f565b810190614ca3565b925f613ee5565b8261403e611f46959396945161400b565b9392915f91808201815b8181106141cc5750505f935f19840192848411925b8587106141585750505050505050565b9061416991989293949596986150ee565b61417982959394959482966136fa565b90896115a95760019561419b958f958d87036141a857505089945b1593613b13565b9801959493929190614148565b6141b86141c0916141c6936150ee565b5050906136fa565b91615121565b94614194565b60019490940193803560f01c01600201614133565b818102929181159184041417156115a957565b9491939290928115612ebf5761420984611f64565b9161421385611f64565b95815f98806142218a611d3c565b5261422b86611d3c565b525b61425857505050505f1461424057505090565b614254925061424e90611e01565b90611d4e565b5190565b839761427e939462ffffff6142e96142728a968c966150ee565b989299919098996151c0565b9398929a919497909a16918215155f146143a357506142b7916142a86142ae9260ff8a1690611d4e565b516141e1565b62ffffff900490565b945b60ff6142c53095611e01565b97169687148061439b575b801561438b575b614383575b60ff169785891593613cb1565b9282614347579183918161430489989795968f9b9a97611fb4565b9d6143226143419561431c61433a9661432994611d4e565b51611fb4565b918b611d4e565b52614334848a611d4e565b51611e0f565b9187611d4e565b5261422d565b9a96959493916143419181614329614322878f848e8261437d8f9d9a61437761433a9c61431c8361431c99611d4e565b92611d4e565b52611d4e565b8b93506142dc565b508c80156142d7575086156142d7565b508c156142d0565b6143b3925060ff88169150611d4e565b51946142b9565b60ff81146143cb57611f469061521a565b506040515f6007548060011c91600182168015614496575b60208410811461448257838552849260208401919081156144695750600114614414575b50611f469250038261066f565b60075f90815291507fa66cc928b5edb82af9bd49922954155ab7b0942694bea4ce44661d9a8736c6885b8483106144525750611f469350015f614407565b80548284015285935060209092019160010161443e565b60ff1916825250611f4693151560051b0190505f614407565b634e487b7160e01b5f52602260045260245ffd5b92607f16926143e3565b60ff81146144b157611f469061521a565b506040515f6008548060011c9160018216801561454e575b602084108114614482578385528492602084019190811561446957506001146144f95750611f469250038261066f565b60085f90815291507ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee35b8483106145375750611f469350015f614407565b805482840152859350602090920191600101614523565b92607f16926144c9565b6001600160a01b0316805f52600660205260405f205480156145a857421061457d5750565b7f45d4ba96000000000000000000000000000000000000000000000000000000005f5260045260245ffd5b507fa6cdd2a5000000000000000000000000000000000000000000000000000000005f5260045260245ffd5b7f800000000000000000000000000000000000000000000000000000000000000081146115a9575f0390565b929391949061460e816125a3565b600381146147285761461f816125a3565b600181146147165782907fce5ffa91873ede1b462af74ea59bab3721b06b0ff726b90311437efde20017955c8261470d575b5061465b816125a3565b600281146146d35761466c816125a3565b1561468057633fe0a7ad60e01b5f5260045ffd5b1590816146ca575b50806146c3575b6146bc57156146a157611f46926152f0565b611f46926146b76146b1846145d4565b826134cf565b614c3e565b5050905090565b505f61468f565b9050155f614688565b50929493925050156146f657906146ee611f469230836152f0565b928391615271565b8092611f46926147086146b1846145d4565b615271565b1593505f614651565b5050505090611f4690613fa0836145d4565b50505050905090565b929391949061473f816125a3565b6003811461472857614750816125a3565b600181146147165782907fce5ffa91873ede1b462af74ea59bab3721b06b0ff726b90311437efde20017955c826147e2575b5061478c816125a3565b600281146146d35761479d816125a3565b156147b157633fe0a7ad60e01b5f5260045ffd5b1590816147d9575b50806147d1576146bc57156146a157611f46926152f0565b50600161468f565b9050155f6147b9565b1593505f614782565b6001600160a01b0316906040517fdd62ed3e0000000000000000000000000000000000000000000000000000000081523060048201526001600160a01b0382166024820152602081604481865afa908115610d3e575f916148be575b50614850575050565b61485b5f8284615657565b15614864575050565b61486e81836156a5565b156148a2575f61487e9183615704565b156148865750565b6001600160a01b0390635274afe760e01b5f521660045260245ffd5b6001600160a01b0382635274afe760e01b5f521660045260245ffd5b6148d7915060203d602011610d3757610d29818361066f565b5f614847565b6001600160a01b03811680614930575b50506001600160a01b03811661490257505050565b61492c91610b01614924926001600160a01b03165f52600560205260405f2090565b918254611fb4565b9055565b5f52600560205260405f20835f5260205260405f20548481106149775783610b018661496f9303936001600160a01b03165f52600560205260405f2090565b555f806148ed565b6040517fb1b4fec00000000000000000000000000000000000000000000000000000000081526001600160a01b0392909216600483015260248201526044810184905260648101839052608490fd5b6001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016301480614ab9575b15614a21577f000000000000000000000000000000000000000000000000000000000000000090565b60405160208101907f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f82527f000000000000000000000000000000000000000000000000000000000000000060408201527f000000000000000000000000000000000000000000000000000000000000000060608201524660808201523060a082015260a08152614ab360c08261066f565b51902090565b507f000000000000000000000000000000000000000000000000000000000000000046146149f8565b91907f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a08411614b59579160209360809260ff5f9560405194855216868401526040830152606082015282805260015afa15610d3e575f516001600160a01b03811615614b4f57905f905f90565b505f906001905f90565b5050505f9160039190565b5f7fee3c9c434505299f2450d3624302a27b8a6978e973825330bc744ba925eec1995d565b7fee3c9c434505299f2450d3624302a27b8a6978e973825330bc744ba925eec1995d565b614bb75f91615513565b5d565b614bb790615513565b6001600160a01b031673eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee8103614bec57503190565b906001600160a01b03602460209260405194859384926370a0823160e01b84521660048301525afa908115610d3e575f91614c25575090565b611f46915060203d602011610d3757610d29818361066f565b90614c8d91614c4d8282614bc3565b936001600160a01b038216908373eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee8303614c9a57614c8892506001600160a01b0316613174565b614bc3565b9081039081116115a95790565b614c8892613104565b60208183031261002a5780519067ffffffffffffffff821161002a570181601f8201121561002a57805190614cd7826106a0565b92614ce5604051948561066f565b82845260208085019360061b8301019181831161002a57602001925b828410614d0f575050505090565b60408483031261002a5760206040918251614d298161064e565b8651614d34816102f6565b81528287015183820152815201930192614d01565b60206040818301928281528451809452019201905f5b818110614d6c5750505090565b825180516001600160a01b031685526020908101518186015260409094019390920191600101614d5f565b909491939185821015614f4a57614dae8287611e0f565b948511614f31578484614dc0926155b7565b614dc983615513565b5c5f811315614ddf5750505090611f46916134cf565b80614f0657506001600160a01b03821691308303614e055750505090611f46913361563b565b9091926001600160a01b031673eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee81145f14614e3b5750505090611f4691613174565b6040516370a0823160e01b81526001600160a01b038316600482015295509193909250602085602481855afa948515610d3e575f95614ed8575b509181614e88614eb39483602095613104565b60405180809581946370a0823160e01b8352600483019190916001600160a01b036020820193169052565b03915afa928315610d3e57611f4693614ed2925f91610d0f5750611e0f565b90611fb4565b614eb39391955091614e88614efb602094853d8711610d3757610d29818361066f565b969294505091614e75565b7fad778f04000000000000000000000000000000000000000000000000000000005f5260045260245ffd5b633f559c2360e21b5f526004829052602486905260445ffd5b50935050505090565b93909291945f614f6283615513565b5c136150a8575b50507fee3c9c434505299f2450d3624302a27b8a6978e973825330bc744ba925eec1995c937fce5ffa91873ede1b462af74ea59bab3721b06b0ff726b90311437efde20017955c600103615087576001851115614fd4576367521f4b60e01b5f52600485905260245ffd5b90919293600114615006575b50505b808210614fee575090565b633f559c2360e21b5f5260049190915260245260445ffd5b61500f82615513565b5c80158015615075575b61504a57509061503661503b926001600160a01b038316336130bf565b614bad565b615043614b64565b5f80614fe0565b7f955ec055000000000000000000000000000000000000000000000000000000005f5260045260245ffd5b5061507f826145d4565b811415615019565b50509091806150965750614fe3565b6367521f4b60e01b5f5260045260245ffd5b6150ba6150b4866145d4565b836134cf565b6001600160a01b03811630036150dd5750836150d6913361563b565b5f80614f69565b6150e8929491614c3e565b916150d6565b9091821560011461511557813560f01c906002830193600283809501019260011991030190565b5f925082915081908190565b906020916151759361513282614558565b6001600160a01b036040518096819582947fa44abc5300000000000000000000000000000000000000000000000000000000845288600485018181520191611e7a565b0392165afa908115610d3e575f9161518b575090565b90506020813d6020116151b8575b816151a66020938361066f565b8101031261002a5751611f46816102f6565b3d9150615199565b91908015611d4957823560f81c928160011015611d4957600181013560f81c928260051161002a5761056b600283013560e81c9380615214610c1d61520e615208848961368c565b906136ba565b60601c90565b9461369d565b60ff811690601f8211615249576040519161523660408461066f565b6020808452838101919036833783525290565b7fb3512b0c000000000000000000000000000000000000000000000000000000005f5260045ffd5b919091306001600160a01b0384160361528a575b505050565b6001600160a01b03169161529f828285615657565b156152a957505050565b6152b381846156a5565b156152dd57906152c39183615704565b156152cb5750565b635274afe760e01b5f5260045260245ffd5b82635274afe760e01b5f5260045260245ffd5b7f99298391997747e556e81b2d36d99151315b6c1b92e826ca8d37acad5fddaf705c927fd847dc13274ab371f6244234290f56fa8650ec9dceff86e20efe1ddc141bdb035c92907faf58e9f1b0923d55d0ec6a57763d43cd9bb1d6bd8bad5ce9522fbe772c6ec42b5c7f28d0e2684c9341fec58f816e0c375a4e51f9f34ec034a29c97467df00497c8d95c8083116154e3576001600160a01b038516916001600160a01b03811683036154a95750826153a891611e0f565b7f28d0e2684c9341fec58f816e0c375a4e51f9f34ec034a29c97467df00497c8d95d6153d48385614bc3565b941561549657506001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001690813b1561002a576040517f36c785160000000000000000000000000000000000000000000000000000000081526001600160a01b0396871660048201528387166024820152908616604482015294831660648601525f908590608490829084905af1918215610d3e57611f46946139fe93615482575b50614bc3565b8061118a5f6154909361066f565b5f61547c565b6139fe939183611f4697614c8893612fd6565b7f358c73f1000000000000000000000000000000000000000000000000000000005f526001600160a01b038087166004521660245260445ffd5b7fae0626b3000000000000000000000000000000000000000000000000000000005f52600452602482905260445ffd5b60405160208101916bffffffffffffffffffffffff199060601b1682527f547963686f5661756c742344454c544100000000000000000000000000000000603482015260248152614ab360448261066f565b8215615285576001600160a01b038116156124005761559d6001600160a01b03916001600160a01b03165f52600560205260405f2090565b91165f5260205260405f2080549182018092116115a95755565b929190928115615635576001600160a01b038416906001600160a01b0381165f52600560205260405f20825f5260205260405f20548381106155ff57506103149394506130bf565b6040516369dc250160e11b81526001600160a01b0392831660048201529186166024830152604482018490526064820152608490fd5b50509050565b9190918115615285576001600160a01b03610314931690613079565b92916001600160a01b036040519263095ea7b360e01b5f521660045260245260205f60448180875af19260015f5114841615615694575b50604052565b3d15903b151516909216915f61568e565b91906001600160a01b036040519163095ea7b360e01b5f52166004525f60245260205f60448180875af19260015f51148416156156e25750604052565b600184929415166156fb573b15153d151616915f61568e565b833d5f823e3d90fd5b92916001600160a01b036040519263095ea7b360e01b5f521660045260245260205f60448180875af19260015f51148416156156e2575060405256fea26469706673582212200c335e6f0a1338a4b8b162db37e93a73acd31afc3f8e0e82893981f48e58443264736f6c634300082100332f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0dbd79b86ffe0ab8e8776151514217cd7cacd52c909f66475c3af44e129f0b00ff770bdc288ee5ebd346714a4f85d8d94878b226ea302eab9b7e299fdec2bb0a419939157be7760e9462f1d5a0dcad88b616ddc64138e317108b40b1cf55601348f7c9542c591017a21c74b6f3fab6263c7952fc0aaf9db4c22a2a04ddc7f8674f427da25fe773164f88948d3e215c94b6554e2ed5e5f203a821c9f2f6131cf75a65d7a28e3265b37a6474929f336521b332c1681b933f6cb9f3376673440d862a6a1dd52dcad5bd732e45b6af4e7344fa284e2d7d4b23b5b09cb55d36b0685c87cd92a47a49af88ea215f843a7acddba636c1123555e1f5f07a13c3e84b9691d7fad11248e1247cf2be78b2297df0a99e014395bebbed387f9305d245195f092d000000000000000000000000000000000022d473030f116ddee9f6b43ac78ba30000000000000000000000002930cb02f8293a684981ef7fb63c160329c410f10000000000000000000000000e27d232a79dd76fbcb17830f45374c6d45bc1cf0000000000000000000000000e27d232a79dd76fbcb17830f45374c6d45bc1cf000000000000000000000000613112acd43d95d4be257dae562fb8ea4d7ed455000000000000000000000000109ff346bbfd47fdf7cd0ddca207e19ba5fd601d","recompiledBytecode":"0x61018080604052346103c95760c0816161bf803803809161002082856103cd565b8339810103126103c95761003381610404565b61003f60208301610404565b9161004c60408201610404565b61005860608301610404565b9061007160a061006a60808601610404565b9401610404565b93604051906100816040836103cd565b600b8252602082016a2a3cb1b437a937baba32b960a91b8152604051926100a96040856103cd565b600184526020840192603160f81b845260017f9b779b17422d0df92223018b32b4d1fa46e071723d6817e2486d003becc55f0055803b156103a9576001600160a01b03166080526100f98161061d565b61014052610106846107c4565b6101605251902091826101005251902080610120524660c0526040519060208201927f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f8452604083015260608201524660808201523060a082015260a0815261017060c0826103cd565b51902060a0523060e052843b1561038b57600980546001600160a01b0319166001600160a01b03909616959095179094555f51602061613f5f395f51905f525f81815260208190527ff7c9542c591017a21c74b6f3fab6263c7952fc0aaf9db4c22a2a04ddc7f867508054908390556103139661030d9594610307949093610301939082905f51602061609f5f395f51905f529080a45f51602061611f5f395f51905f525f81815260208190527f770bdc288ee5ebd346714a4f85d8d94878b226ea302eab9b7e299fdec2bb0a428054908390559082905f51602061609f5f395f51905f529080a45f51602061615f5f395f51905f525f81815260208190527ffad11248e1247cf2be78b2297df0a99e014395bebbed387f9305d245195f092e8054908390559082905f51602061609f5f395f51905f529080a45f5160206160df5f395f51905f525f81815260208190527fcd92a47a49af88ea215f843a7acddba636c1123555e1f5f07a13c3e84b9691d88054908390559082905f51602061609f5f395f51905f529080a4610418565b5061049d565b5061051d565b5061059d565b506040516157769081610909823960805181818161061601528181611106015281816118210152818161204c01526153e5015260a051816149ff015260c05181614abc015260e051816149d001526101005181614a4e01526101205181614a74015261014051816113ec015261016051816114150152f35b6324da307760e21b5f9081526001600160a01b038616600452602490fd5b63beed1af760e01b5f9081526001600160a01b0391909116600452602490fd5b5f80fd5b601f909101601f19168101906001600160401b038211908210176103f057604052565b634e487b7160e01b5f52604160045260245ffd5b51906001600160a01b03821682036103c957565b6001600160a01b0381165f9081525f5160206160ff5f395f51905f52602052604090205460ff16610498576001600160a01b03165f8181525f5160206160ff5f395f51905f5260205260408120805460ff191660011790553391905f51602061613f5f395f51905f52905f51602061607f5f395f51905f529080a4600190565b505f90565b6001600160a01b0381165f9081525f5160206160bf5f395f51905f52602052604090205460ff16610498576001600160a01b03165f8181525f5160206160bf5f395f51905f5260205260408120805460ff191660011790553391905f51602061611f5f395f51905f52905f51602061607f5f395f51905f529080a4600190565b6001600160a01b0381165f9081525f51602061619f5f395f51905f52602052604090205460ff16610498576001600160a01b03165f8181525f51602061619f5f395f51905f5260205260408120805460ff191660011790553391905f51602061615f5f395f51905f52905f51602061607f5f395f51905f529080a4600190565b6001600160a01b0381165f9081525f51602061617f5f395f51905f52602052604090205460ff16610498576001600160a01b03165f8181525f51602061617f5f395f51905f5260205260408120805460ff191660011790553391905f5160206160df5f395f51905f52905f51602061607f5f395f51905f529080a4600190565b908151602081105f14610697575090601f815111610657576020815191015160208210610648571790565b5f198260200360031b1b161790565b604460209160405192839163305a27a960e01b83528160048401528051918291826024860152018484015e5f828201840152601f01601f19168101030190fd5b6001600160401b0381116103f057600754600181811c911680156107ba575b60208210146107a657601f8111610767575b50602092601f821160011461070657928192935f926106fb575b50508160011b915f199060031b1c19161760075560ff90565b015190505f806106e2565b601f1982169360075f52805f20915f5b86811061074f5750836001959610610737575b505050811b0160075560ff90565b01515f1960f88460031b161c191690555f8080610729565b91926020600181928685015181550194019201610716565b818111156106c85760075f5260205f20601f80840160051c809201920160051c03905f5b8281106107995750506106c8565b5f8282015560010161078b565b634e487b7160e01b5f52602260045260245ffd5b90607f16906106b6565b908151602081105f146107ef575090601f815111610657576020815191015160208210610648571790565b6001600160401b0381116103f057600854600181811c911680156108fe575b60208210146107a657601f81116108bf575b50602092601f821160011461085e57928192935f92610853575b50508160011b915f199060031b1c19161760085560ff90565b015190505f8061083a565b601f1982169360085f52805f20915f5b8681106108a7575083600195961061088f575b505050811b0160085560ff90565b01515f1960f88460031b161c191690555f8080610881565b9192602060018192868501518155019401920161086e565b818111156108205760085f5260205f20601f80840160051c809201920160051c03905f5b8281106108f1575050610820565b5f828201556001016108e3565b90607f169061080e56fe60806040526004361015610038575b361561002e573461002a57610022366120d8565b602081519101f35b5f80fd5b6100366120c7565b005b5f3560e01c8062fdd58e146102f157806301ffc9a7146102ec578063095bcdb6146102e75780630c1a0ee7146102e257806312261ee7146102dd5780631d452e46146102d857806321bd166a1461023357806324788429146102d3578063248a9ca3146102ce5780632f2ff15d146102c957806333967285146102c457806336568abe146102bf5780633c226834146102ba5780633f4ba83a146102b5578063409b68bf146102b0578063426a8493146102ab57806346f177ec146102a657806347e7ef24146102a15780634e573d091461029c5780634e66ab2014610297578063558a729714610292578063598af9e71461028d5780635c975abb14610288578063631eecea146102835780636aad98381461027e5780638456cb591461027957806384b0196e146102745780638c66d04f1461026f57806391d148541461026a5780639b67606914610265578063a217fddf14610260578063ae890e771461025b578063b131b93414610256578063b6363cf214610251578063ca9310731461024c578063d547741f14610247578063e63ab1e914610242578063ef7008ea1461023d578063f3fef3a314610238578063f78800f914610233578063f8cdfc4f1461022e578063fb1bb9de14610229578063fe745a0f146102245763fe99049a0361000e57611acd565b611aa9565b611a6f565b611a36565b61074a565b611945565b611925565b6118eb565b6118ab565b6117bd565b611763565b611727565b611707565b6116ed565b611635565b6115e3565b6114dd565b6113d4565b6112f2565b611196565b611049565b610f5c565b610eed565b610e36565b610df2565b610db8565b610bcc565b610ba6565b610aae565b610a6c565b610904565b6108db565b61087a565b610840565b6107fb565b6107c9565b610767565b6106b8565b6105f7565b61056f565b61048c565b610385565b61033b565b6001600160a01b0381160361002a57565b60243590610314826102f6565b565b60443590610314826102f6565b60c43590610314826102f6565b3590610314826102f6565b3461002a57604036600319011261002a57600435610358816102f6565b6001600160a01b0360243591165f52600560205260405f20905f52602052602060405f2054604051908152f35b3461002a57602036600319011261002a576004357fffffffff00000000000000000000000000000000000000000000000000000000811680910361002a576020907f7965db0b0000000000000000000000000000000000000000000000000000000081148015610440575b80918115610405575b50506040519015158152f35b7f0f632fb3000000000000000000000000000000000000000000000000000000001491508115610438575b505f806103f9565b90505f610430565b507f01ffc9a70000000000000000000000000000000000000000000000000000000081146103f0565b606090600319011261002a57600435610481816102f6565b906024359060443590565b3461002a576104a461049d36610469565b913361238e565b602060405160018152f35b908160a091031261002a5790565b9181601f8401121561002a5782359167ffffffffffffffff831161002a576020838186019501011161002a57565b9061010060031983011261002a5760043591602435610509816102f6565b91604435610516816102f6565b91606435916084359160a43561052b816102f6565b9160c43567ffffffffffffffff811161002a578261054b916004016104af565b9160e4359067ffffffffffffffff821161002a5761056b916004016104bd565b9091565b60206105c16105a9610580366104eb565b9889828587898b8d8f989f8a9f9a9b9e9b61059c9e9d9e612458565b6105a461248c565b6125c1565b6105b281612819565b6105bc8183612861565b612a88565b60017f9b779b17422d0df92223018b32b4d1fa46e071723d6817e2486d003becc55f0055604051908152f35b5f91031261002a57565b3461002a575f36600319011261002a5760206040516001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000168152f35b634e487b7160e01b5f52604160045260245ffd5b6040810190811067ffffffffffffffff82111761066a57604052565b61063a565b90601f8019910116810190811067ffffffffffffffff82111761066a57604052565b6040519061031460e08361066f565b67ffffffffffffffff811161066a5760051b60200190565b3461002a57602036600319011261002a5760043567ffffffffffffffff811161002a573660238201121561002a578060040135906106f5826106a0565b91610703604051938461066f565b8083526024602084019160051b8301019136831161002a57602401905b8282106107305761003684611c23565b60208091833561073f816102f6565b815201910190610720565b3461002a575f36600319011261002a576020604051620151808152f35b3461002a57602036600319011261002a576001600160a01b0360043561078c816102f6565b610794612be8565b16805f5260066020525f60408120557f4a2cf608bfb427f53279ec7f0eadf48913b9346ccefc3af138dbdec14ea0907d5f80a2005b3461002a57602036600319011261002a5760206107f36004355f525f602052600160405f20015490565b604051908152f35b3461002a57604036600319011261002a5761003660243560043561081e826102f6565b61083b610836825f525f602052600160405f20015490565b612cc6565b612d0d565b3461002a575f36600319011261002a5760206040517f9939157be7760e9462f1d5a0dcad88b616ddc64138e317108b40b1cf556013488152f35b3461002a57604036600319011261002a5760043560243561089a816102f6565b336001600160a01b038216036108b35761003691612da5565b7f6697b232000000000000000000000000000000000000000000000000000000005f5260045ffd5b60206105c16108ec610580366104eb565b6108f581612819565b6108ff8183612861565b612e35565b3461002a575f36600319011261002a57335f9081527f770bdc288ee5ebd346714a4f85d8d94878b226ea302eab9b7e299fdec2bb0a41602052604090205460ff16156109b15760045460ff8116156109895760ff19166004557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa6020604051338152a1005b7f8dfc202b000000000000000000000000000000000000000000000000000000005f5260045ffd5b63e2517d3f60e01b5f52336004527f427da25fe773164f88948d3e215c94b6554e2ed5e5f203a821c9f2f6131cf75a60245260445ffd5b61012060031982011261002a5760043591602435610a05816102f6565b91604435610a12816102f6565b91606435916084359160a4359160c435610a2b816102f6565b9160e43567ffffffffffffffff811161002a5782610a4b916004016104af565b91610104359067ffffffffffffffff821161002a5761056b916004016104bd565b3461002a5760206105c1610a9f610a82366109e8565b998a8285888a8c8f979f9e899f9a9e9a819a9c9e9c61059c612458565b610aa98183612910565b612ee7565b3461002a57610abc36610469565b9190913315610b7a576001600160a01b038216918215610b4e57610b0e84610b018493335f52600360205260405f20906001600160a01b03165f5260205260405f2090565b905f5260205260405f2090565b5560405190815233907fb3fd5071835887567a0671151121894ddccc2842f1d10bedad13e0d17cace9a790602090a46040516001815280602081015b0390f35b7f6f65f465000000000000000000000000000000000000000000000000000000005f525f60045260245ffd5b7fcc766a98000000000000000000000000000000000000000000000000000000005f525f60045260245ffd5b3461002a575f36600319011261002a5760206001600160a01b0360095416604051908152f35b604036600319011261002a57600435610be4816102f6565b60243590610bf0612458565b610bf861248c565b6001600160a01b038116908115610d90578215610d6857610c29906001600160a01b03165b6001600160a01b031690565b9073eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee8103610c85575090610c5c91610c56823414611e1c565b33613079565b61003660017f9b779b17422d0df92223018b32b4d1fa46e071723d6817e2486d003becc55f0055565b610c8f3415611d62565b6040516370a0823160e01b815230600482015292602084602481855afa938415610d3e575f94610d43575b50610cc790303384612fd6565b6040516370a0823160e01b815230600482015290602090829060249082905afa928315610d3e57610d0a93610d03925f91610d0f575b50611e0f565b9033613079565b610c5c565b610d31915060203d602011610d37575b610d29818361066f565b810190611dd3565b5f610cfd565b503d610d1f565b611de2565b610cc7919450610d619060203d602011610d3757610d29818361066f565b9390610cba565b7fa6b14c81000000000000000000000000000000000000000000000000000000005f5260045ffd5b7f33356531000000000000000000000000000000000000000000000000000000005f5260045ffd5b3461002a575f36600319011261002a5760206040517f6a1dd52dcad5bd732e45b6af4e7344fa284e2d7d4b23b5b09cb55d36b0685c878152f35b3461002a575f36600319011261002a5760206040517fcaeeb59f261880532f82b8abef24d6c0b351a4a6c52f09c7e78629661602a36a8152f35b8015150361002a57565b3461002a57604036600319011261002a57600435610e53816102f6565b602435610e5f81610e2c565b3315610b7a576001600160a01b038216918215610b4e5781610ea0610eb192335f52600260205260405f20906001600160a01b03165f5260205260405f2090565b9060ff801983541691151516179055565b604051901515815233907fceb576d9f15e4e200fdb5096d64d5dfd667e16def20c1eefd14256d8e3faa26790602090a360405160018152602090f35b3461002a57606036600319011261002a57600435610f0a816102f6565b610f47602435610f19816102f6565b6001600160a01b0360443593165f52600360205260405f20906001600160a01b03165f5260205260405f2090565b905f52602052602060405f2054604051908152f35b3461002a575f36600319011261002a57602060ff600454166040519015158152f35b60c09061010319011261002a5761010490565b908160c091031261002a5790565b6101e060031982011261002a5760043591610fba6024610330565b91610fc56044610330565b916064359160843591610fd860a4610330565b9160c43567ffffffffffffffff811161002a5781610ff8916004016104af565b916110048260e4610f91565b916101a43567ffffffffffffffff811161002a5781611025916004016104bd565b929092916101c4359067ffffffffffffffff821161002a5761056b916004016104bd565b3461002a5761107a61105a36610f9f565b9b8c82888a8f989796959f9c8a9f9a9e809c9f829e9f8d9161059c612458565b73eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee6001600160a01b038616036110f1575b610b4a6110b88d8d8d8d8d8d8d8d8d6108ff81836129c3565b6110e160017f9b779b17422d0df92223018b32b4d1fa46e071723d6817e2486d003becc55f0055565b6040519081529081906020820190565b6001600160a01b039b999795939a989694929b7f00000000000000000000000000000000000000000000000000000000000000001691823b1561002a576040516302b67b5760e41b81529c8d92839261114e923360048601611e9a565b03815a5f948591f1988915610d3e57610b4a9a6110b89a61117c575b81939597999b50829496989a5061109f565b8061118a5f6111909361066f565b806105ed565b5f61116a565b3461002a575f36600319011261002a576111ae612c57565b600a5465ffffffffffff8160a01c1680156112ca5780421061129b57506001600160a01b03806111f66111e96009546001600160a01b031690565b936001600160a01b031690565b611223816001600160a01b031673ffffffffffffffffffffffffffffffffffffffff196009541617600955565b61124573ffffffffffffffffffffffffffffffffffffffff19600a5416600a55565b6112727fffffffffffff000000000000ffffffffffffffffffffffffffffffffffffffff600a5416600a55565b1691167f153538becce9737e2efc6b51d64464392a325d0368e402aa8ff9f7f14e4c09e65f80a3005b7f017c6456000000000000000000000000000000000000000000000000000000005f526004524260245260445ffd5b7fc8e301b6000000000000000000000000000000000000000000000000000000005f5260045ffd5b3461002a575f36600319011261002a57335f9081527ff7c9542c591017a21c74b6f3fab6263c7952fc0aaf9db4c22a2a04ddc7f8674f602052604090205460ff161561137957611340612458565b600160ff1960045416176004557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a2586020604051338152a1005b63e2517d3f60e01b5f52336004527f65d7a28e3265b37a6474929f336521b332c1681b933f6cb9f3376673440d862a60245260445ffd5b805180835260209291819084018484015e5f828201840152601f01601f1916010190565b3461002a575f36600319011261002a5761147f6114107f00000000000000000000000000000000000000000000000000000000000000006143ba565b6114397f00000000000000000000000000000000000000000000000000000000000000006144a0565b61148d611444611f49565b916040519485947f0f00000000000000000000000000000000000000000000000000000000000000865260e0602087015260e08601906113b0565b9084820360408601526113b0565b4660608401523060808401525f60a084015282810360c0840152602080835192838152019201905f5b8181106114c4575050500390f35b82518452859450602093840193909201916001016114b6565b3461002a57602036600319011261002a576004356114fa816102f6565b611502612c57565b61150a612458565b803b156115ae57620151804201908142116115a957600a80547fffffffffffff0000000000000000000000000000000000000000000000000000166001600160a01b039290921691821760a084901b79ffffffffffff000000000000000000000000000000000000000016179055907fdf65d81a0133f384ea0402f18ad9df44c14b2105c60c85914d79b21dfd3261eb906115a4906110e1565b0390a2005b611ded565b6001600160a01b03907f9368c1dc000000000000000000000000000000000000000000000000000000005f521660045260245ffd5b3461002a57604036600319011261002a57602060ff61162960243560043561160a826102f6565b5f525f845260405f20906001600160a01b03165f5260205260405f2090565b54166040519015158152f35b3461002a5761020036600319011261002a57600435611652610307565b9061165b610316565b916064359160a43560843561166e610323565b60e43567ffffffffffffffff811161002a5761168e9036906004016104af565b61169736610f7e565b916101c43567ffffffffffffffff811161002a576116b99036906004016104bd565b9590946101e4359967ffffffffffffffff8b1161002a57610b4a9b6116e56110e19c36906004016104bd565b9b909a611fc1565b3461002a575f36600319011261002a5760206040515f8152f35b3461002a5760206105c161171d610580366104eb565b6108ff8183612910565b3461002a57602036600319011261002a576001600160a01b0360043561174c816102f6565b165f526006602052602060405f2054604051908152f35b3461002a57604036600319011261002a57602060ff611629600435611787816102f6565b6001600160a01b036024359161179c836102f6565b165f526002845260405f20906001600160a01b03165f5260205260405f2090565b3461002a576117ce61105a36610f9f565b73eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee6001600160a01b0386160361180c575b610b4a6110b88d8d8d8d8d8d8d8d8d6105bc81836129c3565b6001600160a01b039b999795939a989694929b7f00000000000000000000000000000000000000000000000000000000000000001691823b1561002a576040516302b67b5760e41b81529c8d928392611869923360048601611e9a565b03815a5f948591f1988915610d3e57610b4a9a6110b89a611897575b81939597999b50829496989a506117f3565b8061118a5f6118a59361066f565b5f611885565b3461002a57604036600319011261002a576100366024356004356118ce826102f6565b6118e6610836825f525f602052600160405f20015490565b612da5565b3461002a575f36600319011261002a5760206040517f65d7a28e3265b37a6474929f336521b332c1681b933f6cb9f3376673440d862a8152f35b3461002a5760206105c161193b610580366104eb565b6105bc8183612910565b3461002a57604036600319011261002a57600435611962816102f6565b60243561196d61248c565b6001600160a01b038216918215610d90578115610d68576119966001600160a01b038216610c1d565b906119b682610b01336001600160a01b03165f52600560205260405f2090565b548381106119fc575050816119cb91336130bf565b73eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee82036119f157610c5c915033613174565b610d0a913390613104565b6040516369dc250160e11b81523360048201526001600160a01b039290921660248301526044820193909352606481019290925250608490fd5b3461002a575f36600319011261002a57600a54604080516001600160a01b038316815260a09290921c65ffffffffffff16602083015290f35b3461002a575f36600319011261002a5760206040517f427da25fe773164f88948d3e215c94b6554e2ed5e5f203a821c9f2f6131cf75a8152f35b60206105c1611aba610a82366109e8565b611ac381612819565b610aa98183612861565b3461002a57608036600319011261002a57600435611aea816102f6565b602435611af6816102f6565b604435606435916001600160a01b038416933385141580611bf2575b611b2d575b611b21945061238e565b60405160018152602090f35b845f526003602052611b533360405f20906001600160a01b03165f5260205260405f2090565b835f5260205260405f20545f198110611b6d575b50611b17565b848110611bab578490611b21965f52600360205203611ba484610b013360405f20906001600160a01b03165f5260205260405f2090565b555f611b67565b6040517f58a3fd5a00000000000000000000000000000000000000000000000000000000815233600482015260248101919091526044810185905260648101849052608490fd5b50845f52600260205260ff611c1b3360405f20906001600160a01b03165f5260205260405f2090565b541615611b12565b611c2b612be8565b611c33612458565b5f5b8151811015611d24576001600160a01b03611c508284611d4e565b5116803b15611cfc57805f52600660205260405f2054611cd157906001917f8d569bcfa0f17e03872f15644187df4676d61a9e71e934211c2781c94d0c9f37611cc8611c9b42611f96565b80611cb7856001600160a01b03165f52600660205260405f2090565b556040519081529081906020820190565b0390a201611c35565b7f1124faeb000000000000000000000000000000000000000000000000000000005f5260045260245ffd5b7f931cf050000000000000000000000000000000000000000000000000000000005f5260045ffd5b5050565b634e487b7160e01b5f52603260045260245ffd5b805115611d495760200190565b611d28565b8051821015611d495760209160051b010190565b15611d6957565b608460405162461bcd60e51b815260206004820152602260248201527f455448206e6f7420616363657074656420666f72204552433230206465706f7360448201527f69740000000000000000000000000000000000000000000000000000000000006064820152fd5b9081602091031261002a575190565b6040513d5f823e3d90fd5b634e487b7160e01b5f52601160045260245ffd5b5f198101919082116115a957565b919082039182116115a957565b15611e2357565b606460405162461bcd60e51b815260206004820152600e60248201527f56616c7565206d69736d617463680000000000000000000000000000000000006044820152fd5b359065ffffffffffff8216820361002a57565b908060209392818452848401375f828201840152601f01601f1916010190565b60a0611f4695936001600160a01b03610100941683526001600160a01b038135611ec3816102f6565b1660208401526001600160a01b036020820135611edf816102f6565b16604084015265ffffffffffff611ef860408301611e67565b16606084015265ffffffffffff611f1160608301611e67565b1660808401526001600160a01b036080820135611f2d816102f6565b1682840152013560c08201528160e08201520191611e7a565b90565b60405190611f5860208361066f565b5f808352366020840137565b90611f6e826106a0565b611f7b604051918261066f565b8281528092611f8c601f19916106a0565b0190602036910137565b906201518082018092116115a957565b90600182018092116115a957565b919082018092116115a957565b9b9a99611fe38c8c8f9988888d9f98839f98809b9d9f9e829d9f61059c612458565b73eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee6001600160a01b03851603612042575b50505089610aa96120199b836129c3565b611f4660017f9b779b17422d0df92223018b32b4d1fa46e071723d6817e2486d003becc55f0055565b6001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016803b1561002a57612098935f8094604051968795869485936302b67b5760e41b85523360048601611e9a565b03925af18015610d3e576120ae575b8080612008565b806120ba5f809361066f565b80031261002a575f6120a7565b6120cf612458565b333b1561002a57565b906120e1612458565b7f098a7a3b47801589e8cdf9ec791b93ad44273246946c32ef1fc4dbe45390c80e5c7f8c47a7e3f4c2e1b5a6d9f0e8c7b3a2d1e4f5c6b7a8d9e0f1c2b3a4d5e6f7c8d95c927f7b3c4e5f6a8d9e0f1c2b3a4d5e6f7c8d9e0f1c2b3a4d5e6f7c8d9e0f1c2b3a4d5c907fce9e2e8e50d57f2d688020ea7ab16e2039bcf4dc7175eba827e178586597bb395c907f0c22c14aba48b0e26e3b58475c66f358c352532122e537c32e8184c0159e6e105c9261219885614558565b604051967fee3dbf9b000000000000000000000000000000000000000000000000000000008852604088806121d33389885f6004860161323a565b03816001600160a01b038a165afa938415610d3e575f985f9561234a575b505f939192849361220492888c89614600565b5060405161224f8161224160208201947f7003fdf40000000000000000000000000000000000000000000000000000000086528660248401613268565b03601f19810183528261066f565b5190865af49261225d613279565b93156123045750600285612274611f4696976125a3565b146122f4575b50505f7f098a7a3b47801589e8cdf9ec791b93ad44273246946c32ef1fc4dbe45390c80e5d5f7f8c47a7e3f4c2e1b5a6d9f0e8c7b3a2d1e4f5c6b7a8d9e0f1c2b3a4d5e6f7c8d95d5f7f7b3c4e5f6a8d9e0f1c2b3a4d5e6f7c8d9e0f1c2b3a4d5e6f7c8d9e0f1c2b3a4d5d602080825183010191016132a8565b6122fd916147eb565b5f8061227a565b83908151156123165750602081519101fd5b7f39965ec7000000000000000000000000000000000000000000000000000000005f526001600160a01b031660045260245ffd5b5f9492995061220491955092612378859460403d604011612387575b612370818361066f565b810190613217565b9a909a969250929450926121f1565b503d612366565b9291926001600160a01b03811691821561242c576001600160a01b038116938415612400576123e381876123fb947f1b3d7edb2e9c0b0e7c525b20aaaef0f5940d2ed71663c7d39266ecafac728859966148dd565b60408051338152602081019290925290918291820190565b0390a4565b7fb8bbd610000000000000000000000000000000000000000000000000000000005f525f60045260245ffd5b7fa4352080000000000000000000000000000000000000000000000000000000005f525f60045260245ffd5b60ff6004541661246457565b7fd93c0665000000000000000000000000000000000000000000000000000000005f5260045ffd5b60027f9b779b17422d0df92223018b32b4d1fa46e071723d6817e2486d003becc55f0054146124db5760027f9b779b17422d0df92223018b32b4d1fa46e071723d6817e2486d003becc55f0055565b7f3ee5aeb5000000000000000000000000000000000000000000000000000000005f5260045ffd5b35611f46816102f6565b3563ffffffff8116810361002a5790565b67ffffffffffffffff811161066a57601f01601f191660200190565b9291926125468261251e565b91612554604051938461066f565b82948184528183011161002a578281602093845f960137010152565b903590601e198136030182121561002a570180359067ffffffffffffffff821161002a5760200191813603831361002a57565b600411156125ad57565b634e487b7160e01b5f52602160045260245ffd5b969492909795939160208801986001600160a01b036125df8b612503565b16156127b85760608901359687421161278757948994612241948c99946126df9b99946126286126d79a604061261d6126178d61250d565b9f612503565b9b01359c369161253a565b60208151910120966040519b8c9a60208c019e8f98969492909b9a99979593916101808a019c7fcaeeb59f261880532f82b8abef24d6c0b351a4a6c52f09c7e78629661602a36a8b5263ffffffff1660208b01526001600160a01b031660408a01526060890152608088015260a08701526001600160a01b031660c08601526001600160a01b031660e08501526101008401526101208301526001600160a01b03166101408201526101600152565b51902061330b565b60808201916126f86126f18483612570565b908461334c565b50612702816125a3565b159081612768575b50612762576127286127309361272261273496612503565b92612570565b929091613380565b1590565b61273a57565b7f8bd22865000000000000000000000000000000000000000000000000000000005f5260045ffd5b50505050565b90506001600160a01b0361277e610c1d87612503565b9116145f61270a565b7f6b7a0a9e000000000000000000000000000000000000000000000000000000005f5260048890524260245260445ffd5b5050505050505050905060408101351590811591612800575b506127d857565b7fbea0e082000000000000000000000000000000000000000000000000000000005f5260045ffd5b63ffffffff91506128109061250d565b1615155f6127d1565b346128215750565b8034036128325750610314346133c5565b7f5ffb1a5f000000000000000000000000000000000000000000000000000000005f523460045260245260445ffd5b7faf58e9f1b0923d55d0ec6a57763d43cd9bb1d6bd8bad5ce9522fbe772c6ec42b5d7f28d0e2684c9341fec58f816e0c375a4e51f9f34ec034a29c97467df00497c8d95d5f7fd847dc13274ab371f6244234290f56fa8650ec9dceff86e20efe1ddc141bdb035d337f99298391997747e556e81b2d36d99151315b6c1b92e826ca8d37acad5fddaf705d5f7fce5ffa91873ede1b462af74ea59bab3721b06b0ff726b90311437efde20017955d565b90507faf58e9f1b0923d55d0ec6a57763d43cd9bb1d6bd8bad5ce9522fbe772c6ec42b5d5f7f28d0e2684c9341fec58f816e0c375a4e51f9f34ec034a29c97467df00497c8d95d5f7fd847dc13274ab371f6244234290f56fa8650ec9dceff86e20efe1ddc141bdb035d337f99298391997747e556e81b2d36d99151315b6c1b92e826ca8d37acad5fddaf705d60017fce5ffa91873ede1b462af74ea59bab3721b06b0ff726b90311437efde20017955d565b7faf58e9f1b0923d55d0ec6a57763d43cd9bb1d6bd8bad5ce9522fbe772c6ec42b5d7f28d0e2684c9341fec58f816e0c375a4e51f9f34ec034a29c97467df00497c8d95d60017fd847dc13274ab371f6244234290f56fa8650ec9dceff86e20efe1ddc141bdb035d337f99298391997747e556e81b2d36d99151315b6c1b92e826ca8d37acad5fddaf705d5f7fce5ffa91873ede1b462af74ea59bab3721b06b0ff726b90311437efde20017955d565b9081602091031261002a5751611f4681610e2c565b9790612b1396949597939291612a9f87858c6135a1565b612aaa83838b613647565b612ab660208701612503565b94602086612ad2610c1d610c1d6009546001600160a01b031690565b612adb8a61250d565b604051809d819482936359f0aa3960e11b8452600484019092916001600160a01b0360209163ffffffff604085019616845216910152565b03915afa988915610d3e575f99612bad575b50612b4291612b33916136fa565b908a15612ba5578c3093613791565b98612b4c8661250d565b93612b55610691565b9a8b5260208b015260408a01526001600160a01b031660608901526001600160a01b0316608088015263ffffffff1660a08701526001600160a01b031660c08601526040013591611f4694613e2a565b8c8c93613791565b612b3391995091612bd8612b429360203d602011612be1575b612bd0818361066f565b810190612a73565b99915091612b25565b503d612bc6565b335f9081527ffad11248e1247cf2be78b2297df0a99e014395bebbed387f9305d245195f092d602052604090205460ff1615612c2057565b63e2517d3f60e01b5f52336004527f6a1dd52dcad5bd732e45b6af4e7344fa284e2d7d4b23b5b09cb55d36b0685c8760245260445ffd5b335f9081527fcd92a47a49af88ea215f843a7acddba636c1123555e1f5f07a13c3e84b9691d7602052604090205460ff1615612c8f57565b63e2517d3f60e01b5f52336004527f9939157be7760e9462f1d5a0dcad88b616ddc64138e317108b40b1cf5560134860245260445ffd5b805f525f60205260ff612ced3360405f20906001600160a01b03165f5260205260405f2090565b541615612cf75750565b63e2517d3f60e01b5f523360045260245260445ffd5b805f525f60205260ff612d348360405f20906001600160a01b03165f5260205260405f2090565b5416612d9f57805f525f602052612d5f8260405f20906001600160a01b03165f5260205260405f2090565b805460ff1916600117905533916001600160a01b0316907f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d5f80a4600190565b50505f90565b805f525f60205260ff612dcc8360405f20906001600160a01b03165f5260205260405f2090565b541615612d9f57805f525f602052612df88260405f20906001600160a01b03165f5260205260405f2090565b805460ff1916905533916001600160a01b0316907ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b5f80a4600190565b979291909695939496612e4986848b6135a1565b612e5482828a613647565b8315612ebf57612e6a96612ab660208701612503565b03915afa988915610d3e575f99612e98575b50612b4291908915612e915730915b8c614129565b8a91612e8b565b612b4292919950612eb79060203d602011612be157612bd0818361066f565b989091612e7c565b7fbc0c932b000000000000000000000000000000000000000000000000000000005f5260045ffd5b989694612f719098949698612efd88868d6135a1565b612f0884848c613647565b612f1460208801612503565b95602087612f30610c1d610c1d6009546001600160a01b031690565b612f398b61250d565b6040518097819482936359f0aa3960e11b8452600484019092916001600160a01b0360209163ffffffff604085019616845216910152565b03915afa998a15610d3e578c935f9b612fb5575b508a15612fae5730915b6001600160a01b0387166001600160a01b0387161493612b42956141f4565b8b91612f8f565b612fcf919b5060203d602011612be157612bd0818361066f565b995f612f85565b9290916001600160a01b039081604051947f23b872dd000000000000000000000000000000000000000000000000000000005f52166004521660245260445260205f60648180865af160015f511481161561305a575b6040919091525f606052155b61303f5750565b635274afe760e01b5f526001600160a01b031660045260245ffd5b6001811516613070573d15833b1515161661302c565b503d5f823e3d90fd5b9190916001600160a01b038116918215612400576123fb816123e37f1b3d7edb2e9c0b0e7c525b20aaaef0f5940d2ed71663c7d39266ecafac72885993875f96876148dd565b90916001600160a01b03821690811561242c576123fb816123e37f1b3d7edb2e9c0b0e7c525b20aaaef0f5940d2ed71663c7d39266ecafac72885993875f80986148dd565b916001600160a01b03604051927fa9059cbb000000000000000000000000000000000000000000000000000000005f521660045260245260205f60448180865af160015f511481161561315e575b60409190915215613038565b6001811516613070573d15833b15151616613152565b8147106131da575f9182916040519161318e60208461066f565b8383528392602001916001600160a01b03165af1156131a957565b3d15155f03611de2577fd6bda275000000000000000000000000000000000000000000000000000000005f5260045ffd5b50477fcf479181000000000000000000000000000000000000000000000000000000005f5260045260245260445ffd5b5190600482101561002a57565b919082604091031261002a57602061322e8361320a565b920151611f46816102f6565b9294936001600160a01b0361325b8193604095606088526060880191611e7a565b9616602085015216910152565b916020611f46938181520191611e7a565b3d156132a3573d9061328a8261251e565b91613298604051938461066f565b82523d5f602084013e565b606090565b60208183031261002a5780519067ffffffffffffffff821161002a570181601f8201121561002a578051906132dc8261251e565b926132ea604051948561066f565b8284526020838301011161002a57815f9260208093018386015e8301015290565b6042906133166149c6565b90604051917f19010000000000000000000000000000000000000000000000000000000000008352600283015260228201522090565b90604183036133765761336f9250602081013591604082359201355f1a90614ae2565b9192909190565b50505f9160029190565b906064846020955f9560405194630b135d3f60e11b86526004860152604060248601528160448601528385013701915afa630b135d3f60e11b5f5114601f3d11161690565b80156134cc576133e873eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee615513565b5c908082019081125f83129080158216911516176115a95761031491158015806134c4575b1561345f57506134456134407fee3c9c434505299f2450d3624302a27b8a6978e973825330bc744ba925eec1995c611e01565b614b89565b73eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee614bba565b806134bb575b15613445576134947fee3c9c434505299f2450d3624302a27b8a6978e973825330bc744ba925eec1995c611fa6565b7fee3c9c434505299f2450d3624302a27b8a6978e973825330bc744ba925eec1995d613445565b50801515613465565b50811561340d565b50565b908015611d24576134df82615513565b5c918183019182125f84129080158216911516176115a9576103149215801580613599575b1561355b57506135347fee3c9c434505299f2450d3624302a27b8a6978e973825330bc744ba925eec1995c611e01565b7fee3c9c434505299f2450d3624302a27b8a6978e973825330bc744ba925eec1995d614bba565b80613590575b15614bba576135347fee3c9c434505299f2450d3624302a27b8a6978e973825330bc744ba925eec1995c611fa6565b50811515613561565b508215613504565b9190911561361f5781156135f757801580156135ee575b6135c0575050565b7fa6ce01ff000000000000000000000000000000000000000000000000000000005f5260045260245260445ffd5b508181116135b8565b7f6fa417d5000000000000000000000000000000000000000000000000000000005f5260045ffd5b7f40b71e18000000000000000000000000000000000000000000000000000000005f5260045ffd5b6001600160a01b0316159190821561367a575b50811561366857506127d857565b6001600160a01b03915016155f6127d1565b6001600160a01b03161591505f61365a565b9060191161002a5760050190601490565b909291928360191161002a57831161002a57601901916018190190565b356bffffffffffffffffffffffff198116929190601482106136da575050565b6bffffffffffffffffffffffff1960149290920360031b82901b16169150565b918160141161002a57823560601c92601401916013190190565b908160a091031261002a576137288161320a565b916020820151613737816102f6565b916040810151613746816102f6565b9160806060830151613757816102f6565b920151611f4681610e2c565b9260409261378a916001600160a01b03939796978652606060208701526060860191611e7a565b9416910152565b929493919461379f84614558565b837f098a7a3b47801589e8cdf9ec791b93ad44273246946c32ef1fc4dbe45390c80e5d60017f8c47a7e3f4c2e1b5a6d9f0e8c7b3a2d1e4f5c6b7a8d9e0f1c2b3a4d5e6f7c8d95d5f7f7b3c4e5f6a8d9e0f1c2b3a4d5e6f7c8d9e0f1c2b3a4d5e6f7c8d9e0f1c2b3a4d5d817fce9e2e8e50d57f2d688020ea7ab16e2039bcf4dc7175eba827e178586597bb395d604051936314b471d360e31b855260a0858061384c858b60048401613268565b03816001600160a01b0385165afa968715610d3e575f925f915f915f985f9b613ad6575b506001600160a01b0389166001600160a01b03841614613aba575f839281928a8e8d9a9998977f0c22c14aba48b0e26e3b58475c66f358c352532122e537c32e8184c0159e6e105d8414613aa657506139186138dc8460016138d330809e614bc3565b9d898d8c614731565b926122418d60405194859360208501977f6df0e4a800000000000000000000000000000000000000000000000000000000895260248601613763565b5190865af4916002613928613279565b955f7f098a7a3b47801589e8cdf9ec791b93ad44273246946c32ef1fc4dbe45390c80e5d5f7f8c47a7e3f4c2e1b5a6d9f0e8c7b3a2d1e4f5c6b7a8d9e0f1c2b3a4d5e6f7c8d95d5f7f7b3c4e5f6a8d9e0f1c2b3a4d5e6f7c8d9e0f1c2b3a4d5e6f7c8d9e0f1c2b3a4d5d5f7fce9e2e8e50d57f2d688020ea7ab16e2039bcf4dc7175eba827e178586597bb395d5f7f0c22c14aba48b0e26e3b58475c66f358c352532122e537c32e8184c0159e6e105d6139e1816125a3565b14613a96575b505015613a52575050906139fe613a039285614bc3565b611e0f565b9380613a3f575b613a2d575b83906001600160a01b03163014613a24575050565b610314916134cf565b92613a39908483614c3e565b92613a0f565b50306001600160a01b0382161415613a0a565b815115613a625750602081519101fd5b7f2680f8fe000000000000000000000000000000000000000000000000000000005f526001600160a01b031660045260245ffd5b613a9f916147eb565b5f806139e7565b6138dc8460016138d361391894809e614bc3565b63ce89c4bd60e01b5f526001600160a01b03831660045260245ffd5b93509950935050613b0091955060a03d60a011613b0c575b613af8818361066f565b810190613714565b9793949097995f613870565b503d613aee565b9594929395919091613b2481614558565b807f098a7a3b47801589e8cdf9ec791b93ad44273246946c32ef1fc4dbe45390c80e5d867f8c47a7e3f4c2e1b5a6d9f0e8c7b3a2d1e4f5c6b7a8d9e0f1c2b3a4d5e6f7c8d95d5f7f7b3c4e5f6a8d9e0f1c2b3a4d5e6f7c8d9e0f1c2b3a4d5e6f7c8d9e0f1c2b3a4d5d827fce9e2e8e50d57f2d688020ea7ab16e2039bcf4dc7175eba827e178586597bb395d604051946314b471d360e31b865260a08680613bd0848760048401613268565b03816001600160a01b0386165afa978815610d3e575f935f925f925f995f9c613c80575b506001600160a01b038a166001600160a01b03851614613c645783925f926139186138dc8f86958f9c9b9a998f909288937f0c22c14aba48b0e26e3b58475c66f358c352532122e537c32e8184c0159e6e105d8314613c5957506138d330809e614bc3565b6138d390809e614bc3565b63ce89c4bd60e01b5f526001600160a01b03841660045260245ffd5b93509a5094509650613ca1915060a03d60a011613b0c57613af8818361066f565b9891939590929392989a5f613bf4565b9594929395919091613cc281614558565b807f098a7a3b47801589e8cdf9ec791b93ad44273246946c32ef1fc4dbe45390c80e5d867f8c47a7e3f4c2e1b5a6d9f0e8c7b3a2d1e4f5c6b7a8d9e0f1c2b3a4d5e6f7c8d95d60017f7b3c4e5f6a8d9e0f1c2b3a4d5e6f7c8d9e0f1c2b3a4d5e6f7c8d9e0f1c2b3a4d5d827fce9e2e8e50d57f2d688020ea7ab16e2039bcf4dc7175eba827e178586597bb395d604051946314b471d360e31b865260a08680613d6f848760048401613268565b03816001600160a01b0386165afa978815610d3e575f935f925f925f995f9c613df9575b506001600160a01b038a166001600160a01b03851614613c645783925f926139186138dc8f86958f9c9b9a998f90926001937f0c22c14aba48b0e26e3b58475c66f358c352532122e537c32e8184c0159e6e105d8814613c5957506138d330809e614bc3565b93509a5094509650613e1a915060a03d60a011613b0c57613af8818361066f565b9891939590929392989a5f613d93565b9394919392901561411857613e4d610c1d610c1d6009546001600160a01b031690565b604080517f9f6523db000000000000000000000000000000000000000000000000000000008152855160048201526020860151602482015290850151604482015260608501516001600160a01b03908116606483015260808601518116608483015260a086015163ffffffff1660a483015260c08601511660c482015293905f90859060e49082905afa938415610d3e575f946140f4575b508051925f965f975b8651891015613f1a57613f126001916020613f098c8b611d4e565b51015190611fb4565b980197613eee565b9092949750959092958451908181116140c65750505f5b8551811015613ff4576020613f468288611d4e565b510151613f56575b600101613f31565b96613fec600191613fd7888b6020613fce613fc7613fb9613fab858f60800197613fa6613f8a8a516001600160a01b031690565b613fa089613f988686611d4e565b5101516145d4565b906134cf565b611d4e565b51516001600160a01b031690565b94516001600160a01b031690565b928d611d4e565b51015191615565565b6020613fe38b8a611d4e565b51015190611e0f565b979050613f4e565b50929093611f4695929661403e91805161406f575b505b85608084019461402286516001600160a01b031690565b908761403860c08801516001600160a01b031690565b94614d97565b9261406961405b606060408501519401516001600160a01b031690565b93516001600160a01b031690565b93614f53565b7f90d361ec764fa5642d6f3c5dc38434ac048b8ece7df64dcfa2331ea2114f44806140bd6001600160a01b036140af60808801516001600160a01b031690565b169260405191829182614d49565b0390a25f614009565b7ff3603006000000000000000000000000000000000000000000000000000000005f5260045260245260445ffd5b6141119194503d805f833e614109818361066f565b810190614ca3565b925f613ee5565b8261403e611f46959396945161400b565b9392915f91808201815b8181106141cc5750505f935f19840192848411925b8587106141585750505050505050565b9061416991989293949596986150ee565b61417982959394959482966136fa565b90896115a95760019561419b958f958d87036141a857505089945b1593613b13565b9801959493929190614148565b6141b86141c0916141c6936150ee565b5050906136fa565b91615121565b94614194565b60019490940193803560f01c01600201614133565b818102929181159184041417156115a957565b9491939290928115612ebf5761420984611f64565b9161421385611f64565b95815f98806142218a611d3c565b5261422b86611d3c565b525b61425857505050505f1461424057505090565b614254925061424e90611e01565b90611d4e565b5190565b839761427e939462ffffff6142e96142728a968c966150ee565b989299919098996151c0565b9398929a919497909a16918215155f146143a357506142b7916142a86142ae9260ff8a1690611d4e565b516141e1565b62ffffff900490565b945b60ff6142c53095611e01565b97169687148061439b575b801561438b575b614383575b60ff169785891593613cb1565b9282614347579183918161430489989795968f9b9a97611fb4565b9d6143226143419561431c61433a9661432994611d4e565b51611fb4565b918b611d4e565b52614334848a611d4e565b51611e0f565b9187611d4e565b5261422d565b9a96959493916143419181614329614322878f848e8261437d8f9d9a61437761433a9c61431c8361431c99611d4e565b92611d4e565b52611d4e565b8b93506142dc565b508c80156142d7575086156142d7565b508c156142d0565b6143b3925060ff88169150611d4e565b51946142b9565b60ff81146143cb57611f469061521a565b506040515f6007548060011c91600182168015614496575b60208410811461448257838552849260208401919081156144695750600114614414575b50611f469250038261066f565b60075f90815291507fa66cc928b5edb82af9bd49922954155ab7b0942694bea4ce44661d9a8736c6885b8483106144525750611f469350015f614407565b80548284015285935060209092019160010161443e565b60ff1916825250611f4693151560051b0190505f614407565b634e487b7160e01b5f52602260045260245ffd5b92607f16926143e3565b60ff81146144b157611f469061521a565b506040515f6008548060011c9160018216801561454e575b602084108114614482578385528492602084019190811561446957506001146144f95750611f469250038261066f565b60085f90815291507ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee35b8483106145375750611f469350015f614407565b805482840152859350602090920191600101614523565b92607f16926144c9565b6001600160a01b0316805f52600660205260405f205480156145a857421061457d5750565b7f45d4ba96000000000000000000000000000000000000000000000000000000005f5260045260245ffd5b507fa6cdd2a5000000000000000000000000000000000000000000000000000000005f5260045260245ffd5b7f800000000000000000000000000000000000000000000000000000000000000081146115a9575f0390565b929391949061460e816125a3565b600381146147285761461f816125a3565b600181146147165782907fce5ffa91873ede1b462af74ea59bab3721b06b0ff726b90311437efde20017955c8261470d575b5061465b816125a3565b600281146146d35761466c816125a3565b1561468057633fe0a7ad60e01b5f5260045ffd5b1590816146ca575b50806146c3575b6146bc57156146a157611f46926152f0565b611f46926146b76146b1846145d4565b826134cf565b614c3e565b5050905090565b505f61468f565b9050155f614688565b50929493925050156146f657906146ee611f469230836152f0565b928391615271565b8092611f46926147086146b1846145d4565b615271565b1593505f614651565b5050505090611f4690613fa0836145d4565b50505050905090565b929391949061473f816125a3565b6003811461472857614750816125a3565b600181146147165782907fce5ffa91873ede1b462af74ea59bab3721b06b0ff726b90311437efde20017955c826147e2575b5061478c816125a3565b600281146146d35761479d816125a3565b156147b157633fe0a7ad60e01b5f5260045ffd5b1590816147d9575b50806147d1576146bc57156146a157611f46926152f0565b50600161468f565b9050155f6147b9565b1593505f614782565b6001600160a01b0316906040517fdd62ed3e0000000000000000000000000000000000000000000000000000000081523060048201526001600160a01b0382166024820152602081604481865afa908115610d3e575f916148be575b50614850575050565b61485b5f8284615657565b15614864575050565b61486e81836156a5565b156148a2575f61487e9183615704565b156148865750565b6001600160a01b0390635274afe760e01b5f521660045260245ffd5b6001600160a01b0382635274afe760e01b5f521660045260245ffd5b6148d7915060203d602011610d3757610d29818361066f565b5f614847565b6001600160a01b03811680614930575b50506001600160a01b03811661490257505050565b61492c91610b01614924926001600160a01b03165f52600560205260405f2090565b918254611fb4565b9055565b5f52600560205260405f20835f5260205260405f20548481106149775783610b018661496f9303936001600160a01b03165f52600560205260405f2090565b555f806148ed565b6040517fb1b4fec00000000000000000000000000000000000000000000000000000000081526001600160a01b0392909216600483015260248201526044810184905260648101839052608490fd5b6001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016301480614ab9575b15614a21577f000000000000000000000000000000000000000000000000000000000000000090565b60405160208101907f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f82527f000000000000000000000000000000000000000000000000000000000000000060408201527f000000000000000000000000000000000000000000000000000000000000000060608201524660808201523060a082015260a08152614ab360c08261066f565b51902090565b507f000000000000000000000000000000000000000000000000000000000000000046146149f8565b91907f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a08411614b59579160209360809260ff5f9560405194855216868401526040830152606082015282805260015afa15610d3e575f516001600160a01b03811615614b4f57905f905f90565b505f906001905f90565b5050505f9160039190565b5f7fee3c9c434505299f2450d3624302a27b8a6978e973825330bc744ba925eec1995d565b7fee3c9c434505299f2450d3624302a27b8a6978e973825330bc744ba925eec1995d565b614bb75f91615513565b5d565b614bb790615513565b6001600160a01b031673eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee8103614bec57503190565b906001600160a01b03602460209260405194859384926370a0823160e01b84521660048301525afa908115610d3e575f91614c25575090565b611f46915060203d602011610d3757610d29818361066f565b90614c8d91614c4d8282614bc3565b936001600160a01b038216908373eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee8303614c9a57614c8892506001600160a01b0316613174565b614bc3565b9081039081116115a95790565b614c8892613104565b60208183031261002a5780519067ffffffffffffffff821161002a570181601f8201121561002a57805190614cd7826106a0565b92614ce5604051948561066f565b82845260208085019360061b8301019181831161002a57602001925b828410614d0f575050505090565b60408483031261002a5760206040918251614d298161064e565b8651614d34816102f6565b81528287015183820152815201930192614d01565b60206040818301928281528451809452019201905f5b818110614d6c5750505090565b825180516001600160a01b031685526020908101518186015260409094019390920191600101614d5f565b909491939185821015614f4a57614dae8287611e0f565b948511614f31578484614dc0926155b7565b614dc983615513565b5c5f811315614ddf5750505090611f46916134cf565b80614f0657506001600160a01b03821691308303614e055750505090611f46913361563b565b9091926001600160a01b031673eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee81145f14614e3b5750505090611f4691613174565b6040516370a0823160e01b81526001600160a01b038316600482015295509193909250602085602481855afa948515610d3e575f95614ed8575b509181614e88614eb39483602095613104565b60405180809581946370a0823160e01b8352600483019190916001600160a01b036020820193169052565b03915afa928315610d3e57611f4693614ed2925f91610d0f5750611e0f565b90611fb4565b614eb39391955091614e88614efb602094853d8711610d3757610d29818361066f565b969294505091614e75565b7fad778f04000000000000000000000000000000000000000000000000000000005f5260045260245ffd5b633f559c2360e21b5f526004829052602486905260445ffd5b50935050505090565b93909291945f614f6283615513565b5c136150a8575b50507fee3c9c434505299f2450d3624302a27b8a6978e973825330bc744ba925eec1995c937fce5ffa91873ede1b462af74ea59bab3721b06b0ff726b90311437efde20017955c600103615087576001851115614fd4576367521f4b60e01b5f52600485905260245ffd5b90919293600114615006575b50505b808210614fee575090565b633f559c2360e21b5f5260049190915260245260445ffd5b61500f82615513565b5c80158015615075575b61504a57509061503661503b926001600160a01b038316336130bf565b614bad565b615043614b64565b5f80614fe0565b7f955ec055000000000000000000000000000000000000000000000000000000005f5260045260245ffd5b5061507f826145d4565b811415615019565b50509091806150965750614fe3565b6367521f4b60e01b5f5260045260245ffd5b6150ba6150b4866145d4565b836134cf565b6001600160a01b03811630036150dd5750836150d6913361563b565b5f80614f69565b6150e8929491614c3e565b916150d6565b9091821560011461511557813560f01c906002830193600283809501019260011991030190565b5f925082915081908190565b906020916151759361513282614558565b6001600160a01b036040518096819582947fa44abc5300000000000000000000000000000000000000000000000000000000845288600485018181520191611e7a565b0392165afa908115610d3e575f9161518b575090565b90506020813d6020116151b8575b816151a66020938361066f565b8101031261002a5751611f46816102f6565b3d9150615199565b91908015611d4957823560f81c928160011015611d4957600181013560f81c928260051161002a5761056b600283013560e81c9380615214610c1d61520e615208848961368c565b906136ba565b60601c90565b9461369d565b60ff811690601f8211615249576040519161523660408461066f565b6020808452838101919036833783525290565b7fb3512b0c000000000000000000000000000000000000000000000000000000005f5260045ffd5b919091306001600160a01b0384160361528a575b505050565b6001600160a01b03169161529f828285615657565b156152a957505050565b6152b381846156a5565b156152dd57906152c39183615704565b156152cb5750565b635274afe760e01b5f5260045260245ffd5b82635274afe760e01b5f5260045260245ffd5b7f99298391997747e556e81b2d36d99151315b6c1b92e826ca8d37acad5fddaf705c927fd847dc13274ab371f6244234290f56fa8650ec9dceff86e20efe1ddc141bdb035c92907faf58e9f1b0923d55d0ec6a57763d43cd9bb1d6bd8bad5ce9522fbe772c6ec42b5c7f28d0e2684c9341fec58f816e0c375a4e51f9f34ec034a29c97467df00497c8d95c8083116154e3576001600160a01b038516916001600160a01b03811683036154a95750826153a891611e0f565b7f28d0e2684c9341fec58f816e0c375a4e51f9f34ec034a29c97467df00497c8d95d6153d48385614bc3565b941561549657506001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001690813b1561002a576040517f36c785160000000000000000000000000000000000000000000000000000000081526001600160a01b0396871660048201528387166024820152908616604482015294831660648601525f908590608490829084905af1918215610d3e57611f46946139fe93615482575b50614bc3565b8061118a5f6154909361066f565b5f61547c565b6139fe939183611f4697614c8893612fd6565b7f358c73f1000000000000000000000000000000000000000000000000000000005f526001600160a01b038087166004521660245260445ffd5b7fae0626b3000000000000000000000000000000000000000000000000000000005f52600452602482905260445ffd5b60405160208101916bffffffffffffffffffffffff199060601b1682527f547963686f5661756c742344454c544100000000000000000000000000000000603482015260248152614ab360448261066f565b8215615285576001600160a01b038116156124005761559d6001600160a01b03916001600160a01b03165f52600560205260405f2090565b91165f5260205260405f2080549182018092116115a95755565b929190928115615635576001600160a01b038416906001600160a01b0381165f52600560205260405f20825f5260205260405f20548381106155ff57506103149394506130bf565b6040516369dc250160e11b81526001600160a01b0392831660048201529186166024830152604482018490526064820152608490fd5b50509050565b9190918115615285576001600160a01b03610314931690613079565b92916001600160a01b036040519263095ea7b360e01b5f521660045260245260205f60448180875af19260015f5114841615615694575b50604052565b3d15903b151516909216915f61568e565b91906001600160a01b036040519163095ea7b360e01b5f52166004525f60245260205f60448180875af19260015f51148416156156e25750604052565b600184929415166156fb573b15153d151616915f61568e565b833d5f823e3d90fd5b92916001600160a01b036040519263095ea7b360e01b5f521660045260245260205f60448180875af19260015f51148416156156e2575060405256fea26469706673582212200c335e6f0a1338a4b8b162db37e93a73acd31afc3f8e0e82893981f48e58443264736f6c634300082100332f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0dbd79b86ffe0ab8e8776151514217cd7cacd52c909f66475c3af44e129f0b00ff770bdc288ee5ebd346714a4f85d8d94878b226ea302eab9b7e299fdec2bb0a419939157be7760e9462f1d5a0dcad88b616ddc64138e317108b40b1cf55601348f7c9542c591017a21c74b6f3fab6263c7952fc0aaf9db4c22a2a04ddc7f8674f427da25fe773164f88948d3e215c94b6554e2ed5e5f203a821c9f2f6131cf75a65d7a28e3265b37a6474929f336521b332c1681b933f6cb9f3376673440d862a6a1dd52dcad5bd732e45b6af4e7344fa284e2d7d4b23b5b09cb55d36b0685c87cd92a47a49af88ea215f843a7acddba636c1123555e1f5f07a13c3e84b9691d7fad11248e1247cf2be78b2297df0a99e014395bebbed387f9305d245195f092d","sourceMap":"10290:52495:43:-:0;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;:::i;:::-;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;:::i;:::-;;;;;;;;;:::i;:::-;;;;:::i;:::-;;;;;;;;;:::i;:::-;;;;;;;-1:-1:-1;;;10290:52495:43;;;;;;;;;:::i;:::-;;;;;;;;-1:-1:-1;;;10290:52495:43;;;1505:66:22;2365:1;2986:20:42;;:25;2982:102;;-1:-1:-1;;;;;10290:52495:43;;3093:38:42;3501:45:27;;;:::i;:::-;3493:53;;3567:51;;;:::i;:::-;3556:62;;10290:52495:43;3642:22:27;;3628:36;;;;10290:52495:43;3691:25:27;;3674:42;;;3744:13;10290:52495:43;3727:30:27;10290:52495:43;;4304:80:27;10290:52495:43;4304:80:27;;2079:95;;;;10290:52495:43;2079:95:27;;;10290:52495:43;2079:95:27;;;3744:13;10290:52495:43;2079:95:27;;;4378:4;10290:52495:43;2079:95:27;;10290:52495:43;;4304:80:27;;;10290:52495:43;4304:80:27;;:::i;:::-;10290:52495:43;4294:91:27;;10290:52495:43;3767:48:27;4378:4;3825:27;;12246:25:43;;:30;12242:108;;12359:30;10290:52495;;-1:-1:-1;;;;;;10290:52495:43;-1:-1:-1;;;;;10290:52495:43;;;;;;;;;;-1:-1:-1;;;;;;;;;;;;10290:52495:43;;;;;;;3867:22:3;10290:52495:43;;2365:1:22;;;;12967:56:43;;12904:53;;10290:52495;12854:40;;10290:52495;;12808:36;;10290:52495;10862:66;;-1:-1:-1;;;;;;;;;;;5852:52:3;-1:-1:-1;5852:52:3;-1:-1:-1;;;;;;;;;;;;10290:52495:43;;;;;;;3867:22:3;10290:52495:43;;2365:1:22;;;;10290:52495:43;10982:66;;-1:-1:-1;;;;;;;;;;;5852:52:3;-1:-1:-1;5852:52:3;-1:-1:-1;;;;;;;;;;;;10290:52495:43;;;;;;;3867:22:3;10290:52495:43;;2365:1:22;;;;10290:52495:43;10744:66;;-1:-1:-1;;;;;;;;;;;5852:52:3;-1:-1:-1;5852:52:3;-1:-1:-1;;;;;;;;;;;;10290:52495:43;;;;;;;3867:22:3;10290:52495:43;;2365:1:22;;;;10290:52495:43;11111:66;;-1:-1:-1;;;;;;;;;;;5852:52:3;-1:-1:-1;5852:52:3;12808:36:43;:::i;:::-;;12854:40;:::i;:::-;;12904:53;:::i;:::-;;12967:56;:::i;:::-;;10290:52495;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3825:27:27;10290:52495:43;;;;;3628:36:27;10290:52495:43;;;;;3674:42:27;10290:52495:43;;;;;3493:53:27;10290:52495:43;;;;;3556:62:27;10290:52495:43;;;;;;12242:108;-1:-1:-1;;;;12299:40:43;;;-1:-1:-1;;;;;10290:52495:43;;12299:40;10290:52495;;;12299:40;2982:102:42;-1:-1:-1;;;;3034:39:42;;;-1:-1:-1;;;;;10290:52495:43;;;;3034:39:42;10290:52495:43;;;3034:39:42;10290:52495:43;-1:-1:-1;10290:52495:43;;;;;;;-1:-1:-1;;10290:52495:43;;;;-1:-1:-1;;;;;10290:52495:43;;;;;;;;;;:::o;:::-;;;;-1:-1:-1;10290:52495:43;;;;;-1:-1:-1;10290:52495:43;;;;-1:-1:-1;;;;;10290:52495:43;;;;;;:::o;6145:316:3:-;-1:-1:-1;;;;;10290:52495:43;;;;;;-1:-1:-1;;;;;;;;;;;10290:52495:43;;;;;;;;;;-1:-1:-1;;;;;10290:52495:43;;;;;-1:-1:-1;;;;;;;;;;;10290:52495:43;;;;;;;-1:-1:-1;;10290:52495:43;;;;;735:10:17;;10290:52495:43;-1:-1:-1;;;;;;;;;;;10862:66:43;-1:-1:-1;;;;;;;;;;;6336:40:3;10290:52495:43;6336:40:3;6313:4;6390:11;:::o;6238:217::-;6432:12;10290:52495:43;6432:12:3;:::o;6145:316::-;-1:-1:-1;;;;;10290:52495:43;;;;;;-1:-1:-1;;;;;;;;;;;10290:52495:43;;;;;;;;;;-1:-1:-1;;;;;10290:52495:43;;;;;-1:-1:-1;;;;;;;;;;;10290:52495:43;;;;;;;-1:-1:-1;;10290:52495:43;;;;;735:10:17;;10290:52495:43;-1:-1:-1;;;;;;;;;;;10982:66:43;-1:-1:-1;;;;;;;;;;;6336:40:3;10290:52495:43;6336:40:3;6313:4;6390:11;:::o;6145:316::-;-1:-1:-1;;;;;10290:52495:43;;;;;;-1:-1:-1;;;;;;;;;;;10290:52495:43;;;;;;;;;;-1:-1:-1;;;;;10290:52495:43;;;;;-1:-1:-1;;;;;;;;;;;10290:52495:43;;;;;;;-1:-1:-1;;10290:52495:43;;;;;735:10:17;;10290:52495:43;-1:-1:-1;;;;;;;;;;;10744:66:43;-1:-1:-1;;;;;;;;;;;6336:40:3;10290:52495:43;6336:40:3;6313:4;6390:11;:::o;6145:316::-;-1:-1:-1;;;;;10290:52495:43;;;;;;-1:-1:-1;;;;;;;;;;;10290:52495:43;;;;;;;;;;-1:-1:-1;;;;;10290:52495:43;;;;;-1:-1:-1;;;;;;;;;;;10290:52495:43;;;;;;;-1:-1:-1;;10290:52495:43;;;;;735:10:17;;10290:52495:43;-1:-1:-1;;;;;;;;;;;11111:66:43;-1:-1:-1;;;;;;;;;;;6336:40:3;10290:52495:43;6336:40:3;6313:4;6390:11;:::o;2893:342:23:-;;10290:52495:43;;3038:4:23;3016:26;;3012:217;3038:4;;;10290:52495:43;;1854:4:23;10290:52495:43;;1840:18:23;1836:74;;3038:4;10290:52495:43;;;;2079:95:27;3038:4:23;10290:52495:43;;;;1951:36:23;3058:27;:::o;10290:52495:43:-;;;;3038:4:23;10290:52495:43;;;;;1951:36:23;3058:27;:::o;1836:74::-;10290:52495:43;3038:4:23;10290:52495:43;;;1881:18:23;;;;;;;;;;;;10290:52495:43;;;;;;;;;;;;;;;;;;;;;;;1854:4:23;10290:52495:43;-1:-1:-1;;10290:52495:43;;;1881:18:23;;;;3012:217;-1:-1:-1;;;;;10290:52495:43;;;;3532:13:27;10290:52495:43;;;;;;;;;;;3012:217:23;3038:4;10290:52495:43;;;;;;;;;;3012:217:23;10290:52495:43;3038:4:23;10290:52495:43;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3532:13:27;10290:52495:43;1390:66:23;3176:42;:::o;10290:52495:43:-;;;;-1:-1:-1;10290:52495:43;;;;;;;;;;3532:13:27;10290:52495:43;;;;;;;;;;;;;;;;;;;;;;;;;;;;3532:13:27;10290:52495:43;1390:66:23;3176:42;:::o;10290:52495:43:-;;;;;;;;;;;;;;;;;;;;;;;3038:4:23;10290:52495:43;;;;;;;;;;;;;;;;;;;;;;;3532:13:27;10290:52495:43;;3038:4:23;10290:52495:43;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2893:342:23;;10290:52495:43;;3038:4:23;3016:26;;3012:217;3038:4;;;10290:52495:43;;1854:4:23;10290:52495:43;;1840:18:23;1836:74;;3038:4;10290:52495:43;;;;2079:95:27;3038:4:23;10290:52495:43;;;;1951:36:23;3058:27;:::o;3012:217::-;-1:-1:-1;;;;;10290:52495:43;;;;3601:16:27;10290:52495:43;;;;;;;;;;;3012:217:23;3038:4;10290:52495:43;;;;;;;;;;3012:217:23;10290:52495:43;3038:4:23;10290:52495:43;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3601:16:27;10290:52495:43;1390:66:23;3176:42;:::o;10290:52495:43:-;;;;-1:-1:-1;10290:52495:43;;;;;;;;;;3601:16:27;10290:52495:43;;;;;;;;;;;;;;;;;;;;;;;;;;;;3601:16:27;10290:52495:43;1390:66:23;3176:42;:::o;10290:52495:43:-;;;;;;;;;;;;;;;;;;;;;;;3038:4:23;10290:52495:43;;;;;;;;;;;;;;;;;;;;;;;3601:16:27;10290:52495:43;;3038:4:23;10290:52495:43;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","linkReferences":{},"cborAuxdata":{"1":{"value":"0xa26469706673582212200c335e6f0a1338a4b8b162db37e93a73acd31afc3f8e0e82893981f48e58443264736f6c63430008210033","offset":24650}},"transformations":[{"type":"insert","offset":25023,"reason":"constructorArguments"}],"transformationValues":{"constructorArguments":"0x000000000000000000000000000000000022d473030f116ddee9f6b43ac78ba30000000000000000000000002930cb02f8293a684981ef7fb63c160329c410f10000000000000000000000000e27d232a79dd76fbcb17830f45374c6d45bc1cf0000000000000000000000000e27d232a79dd76fbcb17830f45374c6d45bc1cf000000000000000000000000613112acd43d95d4be257dae562fb8ea4d7ed455000000000000000000000000109ff346bbfd47fdf7cd0ddca207e19ba5fd601d"}},"runtimeBytecode":{"onchainBytecode":"0x60806040526004361015610038575b361561002e573461002a57610022366120d8565b602081519101f35b5f80fd5b6100366120c7565b005b5f3560e01c8062fdd58e146102f157806301ffc9a7146102ec578063095bcdb6146102e75780630c1a0ee7146102e257806312261ee7146102dd5780631d452e46146102d857806321bd166a1461023357806324788429146102d3578063248a9ca3146102ce5780632f2ff15d146102c957806333967285146102c457806336568abe146102bf5780633c226834146102ba5780633f4ba83a146102b5578063409b68bf146102b0578063426a8493146102ab57806346f177ec146102a657806347e7ef24146102a15780634e573d091461029c5780634e66ab2014610297578063558a729714610292578063598af9e71461028d5780635c975abb14610288578063631eecea146102835780636aad98381461027e5780638456cb591461027957806384b0196e146102745780638c66d04f1461026f57806391d148541461026a5780639b67606914610265578063a217fddf14610260578063ae890e771461025b578063b131b93414610256578063b6363cf214610251578063ca9310731461024c578063d547741f14610247578063e63ab1e914610242578063ef7008ea1461023d578063f3fef3a314610238578063f78800f914610233578063f8cdfc4f1461022e578063fb1bb9de14610229578063fe745a0f146102245763fe99049a0361000e57611acd565b611aa9565b611a6f565b611a36565b61074a565b611945565b611925565b6118eb565b6118ab565b6117bd565b611763565b611727565b611707565b6116ed565b611635565b6115e3565b6114dd565b6113d4565b6112f2565b611196565b611049565b610f5c565b610eed565b610e36565b610df2565b610db8565b610bcc565b610ba6565b610aae565b610a6c565b610904565b6108db565b61087a565b610840565b6107fb565b6107c9565b610767565b6106b8565b6105f7565b61056f565b61048c565b610385565b61033b565b6001600160a01b0381160361002a57565b60243590610314826102f6565b565b60443590610314826102f6565b60c43590610314826102f6565b3590610314826102f6565b3461002a57604036600319011261002a57600435610358816102f6565b6001600160a01b0360243591165f52600560205260405f20905f52602052602060405f2054604051908152f35b3461002a57602036600319011261002a576004357fffffffff00000000000000000000000000000000000000000000000000000000811680910361002a576020907f7965db0b0000000000000000000000000000000000000000000000000000000081148015610440575b80918115610405575b50506040519015158152f35b7f0f632fb3000000000000000000000000000000000000000000000000000000001491508115610438575b505f806103f9565b90505f610430565b507f01ffc9a70000000000000000000000000000000000000000000000000000000081146103f0565b606090600319011261002a57600435610481816102f6565b906024359060443590565b3461002a576104a461049d36610469565b913361238e565b602060405160018152f35b908160a091031261002a5790565b9181601f8401121561002a5782359167ffffffffffffffff831161002a576020838186019501011161002a57565b9061010060031983011261002a5760043591602435610509816102f6565b91604435610516816102f6565b91606435916084359160a43561052b816102f6565b9160c43567ffffffffffffffff811161002a578261054b916004016104af565b9160e4359067ffffffffffffffff821161002a5761056b916004016104bd565b9091565b60206105c16105a9610580366104eb565b9889828587898b8d8f989f8a9f9a9b9e9b61059c9e9d9e612458565b6105a461248c565b6125c1565b6105b281612819565b6105bc8183612861565b612a88565b60017f9b779b17422d0df92223018b32b4d1fa46e071723d6817e2486d003becc55f0055604051908152f35b5f91031261002a57565b3461002a575f36600319011261002a5760206040516001600160a01b037f000000000000000000000000000000000022d473030f116ddee9f6b43ac78ba3168152f35b634e487b7160e01b5f52604160045260245ffd5b6040810190811067ffffffffffffffff82111761066a57604052565b61063a565b90601f8019910116810190811067ffffffffffffffff82111761066a57604052565b6040519061031460e08361066f565b67ffffffffffffffff811161066a5760051b60200190565b3461002a57602036600319011261002a5760043567ffffffffffffffff811161002a573660238201121561002a578060040135906106f5826106a0565b91610703604051938461066f565b8083526024602084019160051b8301019136831161002a57602401905b8282106107305761003684611c23565b60208091833561073f816102f6565b815201910190610720565b3461002a575f36600319011261002a576020604051620151808152f35b3461002a57602036600319011261002a576001600160a01b0360043561078c816102f6565b610794612be8565b16805f5260066020525f60408120557f4a2cf608bfb427f53279ec7f0eadf48913b9346ccefc3af138dbdec14ea0907d5f80a2005b3461002a57602036600319011261002a5760206107f36004355f525f602052600160405f20015490565b604051908152f35b3461002a57604036600319011261002a5761003660243560043561081e826102f6565b61083b610836825f525f602052600160405f20015490565b612cc6565b612d0d565b3461002a575f36600319011261002a5760206040517f9939157be7760e9462f1d5a0dcad88b616ddc64138e317108b40b1cf556013488152f35b3461002a57604036600319011261002a5760043560243561089a816102f6565b336001600160a01b038216036108b35761003691612da5565b7f6697b232000000000000000000000000000000000000000000000000000000005f5260045ffd5b60206105c16108ec610580366104eb565b6108f581612819565b6108ff8183612861565b612e35565b3461002a575f36600319011261002a57335f9081527f770bdc288ee5ebd346714a4f85d8d94878b226ea302eab9b7e299fdec2bb0a41602052604090205460ff16156109b15760045460ff8116156109895760ff19166004557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa6020604051338152a1005b7f8dfc202b000000000000000000000000000000000000000000000000000000005f5260045ffd5b63e2517d3f60e01b5f52336004527f427da25fe773164f88948d3e215c94b6554e2ed5e5f203a821c9f2f6131cf75a60245260445ffd5b61012060031982011261002a5760043591602435610a05816102f6565b91604435610a12816102f6565b91606435916084359160a4359160c435610a2b816102f6565b9160e43567ffffffffffffffff811161002a5782610a4b916004016104af565b91610104359067ffffffffffffffff821161002a5761056b916004016104bd565b3461002a5760206105c1610a9f610a82366109e8565b998a8285888a8c8f979f9e899f9a9e9a819a9c9e9c61059c612458565b610aa98183612910565b612ee7565b3461002a57610abc36610469565b9190913315610b7a576001600160a01b038216918215610b4e57610b0e84610b018493335f52600360205260405f20906001600160a01b03165f5260205260405f2090565b905f5260205260405f2090565b5560405190815233907fb3fd5071835887567a0671151121894ddccc2842f1d10bedad13e0d17cace9a790602090a46040516001815280602081015b0390f35b7f6f65f465000000000000000000000000000000000000000000000000000000005f525f60045260245ffd5b7fcc766a98000000000000000000000000000000000000000000000000000000005f525f60045260245ffd5b3461002a575f36600319011261002a5760206001600160a01b0360095416604051908152f35b604036600319011261002a57600435610be4816102f6565b60243590610bf0612458565b610bf861248c565b6001600160a01b038116908115610d90578215610d6857610c29906001600160a01b03165b6001600160a01b031690565b9073eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee8103610c85575090610c5c91610c56823414611e1c565b33613079565b61003660017f9b779b17422d0df92223018b32b4d1fa46e071723d6817e2486d003becc55f0055565b610c8f3415611d62565b6040516370a0823160e01b815230600482015292602084602481855afa938415610d3e575f94610d43575b50610cc790303384612fd6565b6040516370a0823160e01b815230600482015290602090829060249082905afa928315610d3e57610d0a93610d03925f91610d0f575b50611e0f565b9033613079565b610c5c565b610d31915060203d602011610d37575b610d29818361066f565b810190611dd3565b5f610cfd565b503d610d1f565b611de2565b610cc7919450610d619060203d602011610d3757610d29818361066f565b9390610cba565b7fa6b14c81000000000000000000000000000000000000000000000000000000005f5260045ffd5b7f33356531000000000000000000000000000000000000000000000000000000005f5260045ffd5b3461002a575f36600319011261002a5760206040517f6a1dd52dcad5bd732e45b6af4e7344fa284e2d7d4b23b5b09cb55d36b0685c878152f35b3461002a575f36600319011261002a5760206040517fcaeeb59f261880532f82b8abef24d6c0b351a4a6c52f09c7e78629661602a36a8152f35b8015150361002a57565b3461002a57604036600319011261002a57600435610e53816102f6565b602435610e5f81610e2c565b3315610b7a576001600160a01b038216918215610b4e5781610ea0610eb192335f52600260205260405f20906001600160a01b03165f5260205260405f2090565b9060ff801983541691151516179055565b604051901515815233907fceb576d9f15e4e200fdb5096d64d5dfd667e16def20c1eefd14256d8e3faa26790602090a360405160018152602090f35b3461002a57606036600319011261002a57600435610f0a816102f6565b610f47602435610f19816102f6565b6001600160a01b0360443593165f52600360205260405f20906001600160a01b03165f5260205260405f2090565b905f52602052602060405f2054604051908152f35b3461002a575f36600319011261002a57602060ff600454166040519015158152f35b60c09061010319011261002a5761010490565b908160c091031261002a5790565b6101e060031982011261002a5760043591610fba6024610330565b91610fc56044610330565b916064359160843591610fd860a4610330565b9160c43567ffffffffffffffff811161002a5781610ff8916004016104af565b916110048260e4610f91565b916101a43567ffffffffffffffff811161002a5781611025916004016104bd565b929092916101c4359067ffffffffffffffff821161002a5761056b916004016104bd565b3461002a5761107a61105a36610f9f565b9b8c82888a8f989796959f9c8a9f9a9e809c9f829e9f8d9161059c612458565b73eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee6001600160a01b038616036110f1575b610b4a6110b88d8d8d8d8d8d8d8d8d6108ff81836129c3565b6110e160017f9b779b17422d0df92223018b32b4d1fa46e071723d6817e2486d003becc55f0055565b6040519081529081906020820190565b6001600160a01b039b999795939a989694929b7f000000000000000000000000000000000022d473030f116ddee9f6b43ac78ba31691823b1561002a576040516302b67b5760e41b81529c8d92839261114e923360048601611e9a565b03815a5f948591f1988915610d3e57610b4a9a6110b89a61117c575b81939597999b50829496989a5061109f565b8061118a5f6111909361066f565b806105ed565b5f61116a565b3461002a575f36600319011261002a576111ae612c57565b600a5465ffffffffffff8160a01c1680156112ca5780421061129b57506001600160a01b03806111f66111e96009546001600160a01b031690565b936001600160a01b031690565b611223816001600160a01b031673ffffffffffffffffffffffffffffffffffffffff196009541617600955565b61124573ffffffffffffffffffffffffffffffffffffffff19600a5416600a55565b6112727fffffffffffff000000000000ffffffffffffffffffffffffffffffffffffffff600a5416600a55565b1691167f153538becce9737e2efc6b51d64464392a325d0368e402aa8ff9f7f14e4c09e65f80a3005b7f017c6456000000000000000000000000000000000000000000000000000000005f526004524260245260445ffd5b7fc8e301b6000000000000000000000000000000000000000000000000000000005f5260045ffd5b3461002a575f36600319011261002a57335f9081527ff7c9542c591017a21c74b6f3fab6263c7952fc0aaf9db4c22a2a04ddc7f8674f602052604090205460ff161561137957611340612458565b600160ff1960045416176004557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a2586020604051338152a1005b63e2517d3f60e01b5f52336004527f65d7a28e3265b37a6474929f336521b332c1681b933f6cb9f3376673440d862a60245260445ffd5b805180835260209291819084018484015e5f828201840152601f01601f1916010190565b3461002a575f36600319011261002a5761147f6114107f547963686f526f7574657200000000000000000000000000000000000000000b6143ba565b6114397f31000000000000000000000000000000000000000000000000000000000000016144a0565b61148d611444611f49565b916040519485947f0f00000000000000000000000000000000000000000000000000000000000000865260e0602087015260e08601906113b0565b9084820360408601526113b0565b4660608401523060808401525f60a084015282810360c0840152602080835192838152019201905f5b8181106114c4575050500390f35b82518452859450602093840193909201916001016114b6565b3461002a57602036600319011261002a576004356114fa816102f6565b611502612c57565b61150a612458565b803b156115ae57620151804201908142116115a957600a80547fffffffffffff0000000000000000000000000000000000000000000000000000166001600160a01b039290921691821760a084901b79ffffffffffff000000000000000000000000000000000000000016179055907fdf65d81a0133f384ea0402f18ad9df44c14b2105c60c85914d79b21dfd3261eb906115a4906110e1565b0390a2005b611ded565b6001600160a01b03907f9368c1dc000000000000000000000000000000000000000000000000000000005f521660045260245ffd5b3461002a57604036600319011261002a57602060ff61162960243560043561160a826102f6565b5f525f845260405f20906001600160a01b03165f5260205260405f2090565b54166040519015158152f35b3461002a5761020036600319011261002a57600435611652610307565b9061165b610316565b916064359160a43560843561166e610323565b60e43567ffffffffffffffff811161002a5761168e9036906004016104af565b61169736610f7e565b916101c43567ffffffffffffffff811161002a576116b99036906004016104bd565b9590946101e4359967ffffffffffffffff8b1161002a57610b4a9b6116e56110e19c36906004016104bd565b9b909a611fc1565b3461002a575f36600319011261002a5760206040515f8152f35b3461002a5760206105c161171d610580366104eb565b6108ff8183612910565b3461002a57602036600319011261002a576001600160a01b0360043561174c816102f6565b165f526006602052602060405f2054604051908152f35b3461002a57604036600319011261002a57602060ff611629600435611787816102f6565b6001600160a01b036024359161179c836102f6565b165f526002845260405f20906001600160a01b03165f5260205260405f2090565b3461002a576117ce61105a36610f9f565b73eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee6001600160a01b0386160361180c575b610b4a6110b88d8d8d8d8d8d8d8d8d6105bc81836129c3565b6001600160a01b039b999795939a989694929b7f000000000000000000000000000000000022d473030f116ddee9f6b43ac78ba31691823b1561002a576040516302b67b5760e41b81529c8d928392611869923360048601611e9a565b03815a5f948591f1988915610d3e57610b4a9a6110b89a611897575b81939597999b50829496989a506117f3565b8061118a5f6118a59361066f565b5f611885565b3461002a57604036600319011261002a576100366024356004356118ce826102f6565b6118e6610836825f525f602052600160405f20015490565b612da5565b3461002a575f36600319011261002a5760206040517f65d7a28e3265b37a6474929f336521b332c1681b933f6cb9f3376673440d862a8152f35b3461002a5760206105c161193b610580366104eb565b6105bc8183612910565b3461002a57604036600319011261002a57600435611962816102f6565b60243561196d61248c565b6001600160a01b038216918215610d90578115610d68576119966001600160a01b038216610c1d565b906119b682610b01336001600160a01b03165f52600560205260405f2090565b548381106119fc575050816119cb91336130bf565b73eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee82036119f157610c5c915033613174565b610d0a913390613104565b6040516369dc250160e11b81523360048201526001600160a01b039290921660248301526044820193909352606481019290925250608490fd5b3461002a575f36600319011261002a57600a54604080516001600160a01b038316815260a09290921c65ffffffffffff16602083015290f35b3461002a575f36600319011261002a5760206040517f427da25fe773164f88948d3e215c94b6554e2ed5e5f203a821c9f2f6131cf75a8152f35b60206105c1611aba610a82366109e8565b611ac381612819565b610aa98183612861565b3461002a57608036600319011261002a57600435611aea816102f6565b602435611af6816102f6565b604435606435916001600160a01b038416933385141580611bf2575b611b2d575b611b21945061238e565b60405160018152602090f35b845f526003602052611b533360405f20906001600160a01b03165f5260205260405f2090565b835f5260205260405f20545f198110611b6d575b50611b17565b848110611bab578490611b21965f52600360205203611ba484610b013360405f20906001600160a01b03165f5260205260405f2090565b555f611b67565b6040517f58a3fd5a00000000000000000000000000000000000000000000000000000000815233600482015260248101919091526044810185905260648101849052608490fd5b50845f52600260205260ff611c1b3360405f20906001600160a01b03165f5260205260405f2090565b541615611b12565b611c2b612be8565b611c33612458565b5f5b8151811015611d24576001600160a01b03611c508284611d4e565b5116803b15611cfc57805f52600660205260405f2054611cd157906001917f8d569bcfa0f17e03872f15644187df4676d61a9e71e934211c2781c94d0c9f37611cc8611c9b42611f96565b80611cb7856001600160a01b03165f52600660205260405f2090565b556040519081529081906020820190565b0390a201611c35565b7f1124faeb000000000000000000000000000000000000000000000000000000005f5260045260245ffd5b7f931cf050000000000000000000000000000000000000000000000000000000005f5260045ffd5b5050565b634e487b7160e01b5f52603260045260245ffd5b805115611d495760200190565b611d28565b8051821015611d495760209160051b010190565b15611d6957565b608460405162461bcd60e51b815260206004820152602260248201527f455448206e6f7420616363657074656420666f72204552433230206465706f7360448201527f69740000000000000000000000000000000000000000000000000000000000006064820152fd5b9081602091031261002a575190565b6040513d5f823e3d90fd5b634e487b7160e01b5f52601160045260245ffd5b5f198101919082116115a957565b919082039182116115a957565b15611e2357565b606460405162461bcd60e51b815260206004820152600e60248201527f56616c7565206d69736d617463680000000000000000000000000000000000006044820152fd5b359065ffffffffffff8216820361002a57565b908060209392818452848401375f828201840152601f01601f1916010190565b60a0611f4695936001600160a01b03610100941683526001600160a01b038135611ec3816102f6565b1660208401526001600160a01b036020820135611edf816102f6565b16604084015265ffffffffffff611ef860408301611e67565b16606084015265ffffffffffff611f1160608301611e67565b1660808401526001600160a01b036080820135611f2d816102f6565b1682840152013560c08201528160e08201520191611e7a565b90565b60405190611f5860208361066f565b5f808352366020840137565b90611f6e826106a0565b611f7b604051918261066f565b8281528092611f8c601f19916106a0565b0190602036910137565b906201518082018092116115a957565b90600182018092116115a957565b919082018092116115a957565b9b9a99611fe38c8c8f9988888d9f98839f98809b9d9f9e829d9f61059c612458565b73eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee6001600160a01b03851603612042575b50505089610aa96120199b836129c3565b611f4660017f9b779b17422d0df92223018b32b4d1fa46e071723d6817e2486d003becc55f0055565b6001600160a01b037f000000000000000000000000000000000022d473030f116ddee9f6b43ac78ba316803b1561002a57612098935f8094604051968795869485936302b67b5760e41b85523360048601611e9a565b03925af18015610d3e576120ae575b8080612008565b806120ba5f809361066f565b80031261002a575f6120a7565b6120cf612458565b333b1561002a57565b906120e1612458565b7f098a7a3b47801589e8cdf9ec791b93ad44273246946c32ef1fc4dbe45390c80e5c7f8c47a7e3f4c2e1b5a6d9f0e8c7b3a2d1e4f5c6b7a8d9e0f1c2b3a4d5e6f7c8d95c927f7b3c4e5f6a8d9e0f1c2b3a4d5e6f7c8d9e0f1c2b3a4d5e6f7c8d9e0f1c2b3a4d5c907fce9e2e8e50d57f2d688020ea7ab16e2039bcf4dc7175eba827e178586597bb395c907f0c22c14aba48b0e26e3b58475c66f358c352532122e537c32e8184c0159e6e105c9261219885614558565b604051967fee3dbf9b000000000000000000000000000000000000000000000000000000008852604088806121d33389885f6004860161323a565b03816001600160a01b038a165afa938415610d3e575f985f9561234a575b505f939192849361220492888c89614600565b5060405161224f8161224160208201947f7003fdf40000000000000000000000000000000000000000000000000000000086528660248401613268565b03601f19810183528261066f565b5190865af49261225d613279565b93156123045750600285612274611f4696976125a3565b146122f4575b50505f7f098a7a3b47801589e8cdf9ec791b93ad44273246946c32ef1fc4dbe45390c80e5d5f7f8c47a7e3f4c2e1b5a6d9f0e8c7b3a2d1e4f5c6b7a8d9e0f1c2b3a4d5e6f7c8d95d5f7f7b3c4e5f6a8d9e0f1c2b3a4d5e6f7c8d9e0f1c2b3a4d5e6f7c8d9e0f1c2b3a4d5d602080825183010191016132a8565b6122fd916147eb565b5f8061227a565b83908151156123165750602081519101fd5b7f39965ec7000000000000000000000000000000000000000000000000000000005f526001600160a01b031660045260245ffd5b5f9492995061220491955092612378859460403d604011612387575b612370818361066f565b810190613217565b9a909a969250929450926121f1565b503d612366565b9291926001600160a01b03811691821561242c576001600160a01b038116938415612400576123e381876123fb947f1b3d7edb2e9c0b0e7c525b20aaaef0f5940d2ed71663c7d39266ecafac728859966148dd565b60408051338152602081019290925290918291820190565b0390a4565b7fb8bbd610000000000000000000000000000000000000000000000000000000005f525f60045260245ffd5b7fa4352080000000000000000000000000000000000000000000000000000000005f525f60045260245ffd5b60ff6004541661246457565b7fd93c0665000000000000000000000000000000000000000000000000000000005f5260045ffd5b60027f9b779b17422d0df92223018b32b4d1fa46e071723d6817e2486d003becc55f0054146124db5760027f9b779b17422d0df92223018b32b4d1fa46e071723d6817e2486d003becc55f0055565b7f3ee5aeb5000000000000000000000000000000000000000000000000000000005f5260045ffd5b35611f46816102f6565b3563ffffffff8116810361002a5790565b67ffffffffffffffff811161066a57601f01601f191660200190565b9291926125468261251e565b91612554604051938461066f565b82948184528183011161002a578281602093845f960137010152565b903590601e198136030182121561002a570180359067ffffffffffffffff821161002a5760200191813603831361002a57565b600411156125ad57565b634e487b7160e01b5f52602160045260245ffd5b969492909795939160208801986001600160a01b036125df8b612503565b16156127b85760608901359687421161278757948994612241948c99946126df9b99946126286126d79a604061261d6126178d61250d565b9f612503565b9b01359c369161253a565b60208151910120966040519b8c9a60208c019e8f98969492909b9a99979593916101808a019c7fcaeeb59f261880532f82b8abef24d6c0b351a4a6c52f09c7e78629661602a36a8b5263ffffffff1660208b01526001600160a01b031660408a01526060890152608088015260a08701526001600160a01b031660c08601526001600160a01b031660e08501526101008401526101208301526001600160a01b03166101408201526101600152565b51902061330b565b60808201916126f86126f18483612570565b908461334c565b50612702816125a3565b159081612768575b50612762576127286127309361272261273496612503565b92612570565b929091613380565b1590565b61273a57565b7f8bd22865000000000000000000000000000000000000000000000000000000005f5260045ffd5b50505050565b90506001600160a01b0361277e610c1d87612503565b9116145f61270a565b7f6b7a0a9e000000000000000000000000000000000000000000000000000000005f5260048890524260245260445ffd5b5050505050505050905060408101351590811591612800575b506127d857565b7fbea0e082000000000000000000000000000000000000000000000000000000005f5260045ffd5b63ffffffff91506128109061250d565b1615155f6127d1565b346128215750565b8034036128325750610314346133c5565b7f5ffb1a5f000000000000000000000000000000000000000000000000000000005f523460045260245260445ffd5b7faf58e9f1b0923d55d0ec6a57763d43cd9bb1d6bd8bad5ce9522fbe772c6ec42b5d7f28d0e2684c9341fec58f816e0c375a4e51f9f34ec034a29c97467df00497c8d95d5f7fd847dc13274ab371f6244234290f56fa8650ec9dceff86e20efe1ddc141bdb035d337f99298391997747e556e81b2d36d99151315b6c1b92e826ca8d37acad5fddaf705d5f7fce5ffa91873ede1b462af74ea59bab3721b06b0ff726b90311437efde20017955d565b90507faf58e9f1b0923d55d0ec6a57763d43cd9bb1d6bd8bad5ce9522fbe772c6ec42b5d5f7f28d0e2684c9341fec58f816e0c375a4e51f9f34ec034a29c97467df00497c8d95d5f7fd847dc13274ab371f6244234290f56fa8650ec9dceff86e20efe1ddc141bdb035d337f99298391997747e556e81b2d36d99151315b6c1b92e826ca8d37acad5fddaf705d60017fce5ffa91873ede1b462af74ea59bab3721b06b0ff726b90311437efde20017955d565b7faf58e9f1b0923d55d0ec6a57763d43cd9bb1d6bd8bad5ce9522fbe772c6ec42b5d7f28d0e2684c9341fec58f816e0c375a4e51f9f34ec034a29c97467df00497c8d95d60017fd847dc13274ab371f6244234290f56fa8650ec9dceff86e20efe1ddc141bdb035d337f99298391997747e556e81b2d36d99151315b6c1b92e826ca8d37acad5fddaf705d5f7fce5ffa91873ede1b462af74ea59bab3721b06b0ff726b90311437efde20017955d565b9081602091031261002a5751611f4681610e2c565b9790612b1396949597939291612a9f87858c6135a1565b612aaa83838b613647565b612ab660208701612503565b94602086612ad2610c1d610c1d6009546001600160a01b031690565b612adb8a61250d565b604051809d819482936359f0aa3960e11b8452600484019092916001600160a01b0360209163ffffffff604085019616845216910152565b03915afa988915610d3e575f99612bad575b50612b4291612b33916136fa565b908a15612ba5578c3093613791565b98612b4c8661250d565b93612b55610691565b9a8b5260208b015260408a01526001600160a01b031660608901526001600160a01b0316608088015263ffffffff1660a08701526001600160a01b031660c08601526040013591611f4694613e2a565b8c8c93613791565b612b3391995091612bd8612b429360203d602011612be1575b612bd0818361066f565b810190612a73565b99915091612b25565b503d612bc6565b335f9081527ffad11248e1247cf2be78b2297df0a99e014395bebbed387f9305d245195f092d602052604090205460ff1615612c2057565b63e2517d3f60e01b5f52336004527f6a1dd52dcad5bd732e45b6af4e7344fa284e2d7d4b23b5b09cb55d36b0685c8760245260445ffd5b335f9081527fcd92a47a49af88ea215f843a7acddba636c1123555e1f5f07a13c3e84b9691d7602052604090205460ff1615612c8f57565b63e2517d3f60e01b5f52336004527f9939157be7760e9462f1d5a0dcad88b616ddc64138e317108b40b1cf5560134860245260445ffd5b805f525f60205260ff612ced3360405f20906001600160a01b03165f5260205260405f2090565b541615612cf75750565b63e2517d3f60e01b5f523360045260245260445ffd5b805f525f60205260ff612d348360405f20906001600160a01b03165f5260205260405f2090565b5416612d9f57805f525f602052612d5f8260405f20906001600160a01b03165f5260205260405f2090565b805460ff1916600117905533916001600160a01b0316907f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d5f80a4600190565b50505f90565b805f525f60205260ff612dcc8360405f20906001600160a01b03165f5260205260405f2090565b541615612d9f57805f525f602052612df88260405f20906001600160a01b03165f5260205260405f2090565b805460ff1916905533916001600160a01b0316907ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b5f80a4600190565b979291909695939496612e4986848b6135a1565b612e5482828a613647565b8315612ebf57612e6a96612ab660208701612503565b03915afa988915610d3e575f99612e98575b50612b4291908915612e915730915b8c614129565b8a91612e8b565b612b4292919950612eb79060203d602011612be157612bd0818361066f565b989091612e7c565b7fbc0c932b000000000000000000000000000000000000000000000000000000005f5260045ffd5b989694612f719098949698612efd88868d6135a1565b612f0884848c613647565b612f1460208801612503565b95602087612f30610c1d610c1d6009546001600160a01b031690565b612f398b61250d565b6040518097819482936359f0aa3960e11b8452600484019092916001600160a01b0360209163ffffffff604085019616845216910152565b03915afa998a15610d3e578c935f9b612fb5575b508a15612fae5730915b6001600160a01b0387166001600160a01b0387161493612b42956141f4565b8b91612f8f565b612fcf919b5060203d602011612be157612bd0818361066f565b995f612f85565b9290916001600160a01b039081604051947f23b872dd000000000000000000000000000000000000000000000000000000005f52166004521660245260445260205f60648180865af160015f511481161561305a575b6040919091525f606052155b61303f5750565b635274afe760e01b5f526001600160a01b031660045260245ffd5b6001811516613070573d15833b1515161661302c565b503d5f823e3d90fd5b9190916001600160a01b038116918215612400576123fb816123e37f1b3d7edb2e9c0b0e7c525b20aaaef0f5940d2ed71663c7d39266ecafac72885993875f96876148dd565b90916001600160a01b03821690811561242c576123fb816123e37f1b3d7edb2e9c0b0e7c525b20aaaef0f5940d2ed71663c7d39266ecafac72885993875f80986148dd565b916001600160a01b03604051927fa9059cbb000000000000000000000000000000000000000000000000000000005f521660045260245260205f60448180865af160015f511481161561315e575b60409190915215613038565b6001811516613070573d15833b15151616613152565b8147106131da575f9182916040519161318e60208461066f565b8383528392602001916001600160a01b03165af1156131a957565b3d15155f03611de2577fd6bda275000000000000000000000000000000000000000000000000000000005f5260045ffd5b50477fcf479181000000000000000000000000000000000000000000000000000000005f5260045260245260445ffd5b5190600482101561002a57565b919082604091031261002a57602061322e8361320a565b920151611f46816102f6565b9294936001600160a01b0361325b8193604095606088526060880191611e7a565b9616602085015216910152565b916020611f46938181520191611e7a565b3d156132a3573d9061328a8261251e565b91613298604051938461066f565b82523d5f602084013e565b606090565b60208183031261002a5780519067ffffffffffffffff821161002a570181601f8201121561002a578051906132dc8261251e565b926132ea604051948561066f565b8284526020838301011161002a57815f9260208093018386015e8301015290565b6042906133166149c6565b90604051917f19010000000000000000000000000000000000000000000000000000000000008352600283015260228201522090565b90604183036133765761336f9250602081013591604082359201355f1a90614ae2565b9192909190565b50505f9160029190565b906064846020955f9560405194630b135d3f60e11b86526004860152604060248601528160448601528385013701915afa630b135d3f60e11b5f5114601f3d11161690565b80156134cc576133e873eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee615513565b5c908082019081125f83129080158216911516176115a95761031491158015806134c4575b1561345f57506134456134407fee3c9c434505299f2450d3624302a27b8a6978e973825330bc744ba925eec1995c611e01565b614b89565b73eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee614bba565b806134bb575b15613445576134947fee3c9c434505299f2450d3624302a27b8a6978e973825330bc744ba925eec1995c611fa6565b7fee3c9c434505299f2450d3624302a27b8a6978e973825330bc744ba925eec1995d613445565b50801515613465565b50811561340d565b50565b908015611d24576134df82615513565b5c918183019182125f84129080158216911516176115a9576103149215801580613599575b1561355b57506135347fee3c9c434505299f2450d3624302a27b8a6978e973825330bc744ba925eec1995c611e01565b7fee3c9c434505299f2450d3624302a27b8a6978e973825330bc744ba925eec1995d614bba565b80613590575b15614bba576135347fee3c9c434505299f2450d3624302a27b8a6978e973825330bc744ba925eec1995c611fa6565b50811515613561565b508215613504565b9190911561361f5781156135f757801580156135ee575b6135c0575050565b7fa6ce01ff000000000000000000000000000000000000000000000000000000005f5260045260245260445ffd5b508181116135b8565b7f6fa417d5000000000000000000000000000000000000000000000000000000005f5260045ffd5b7f40b71e18000000000000000000000000000000000000000000000000000000005f5260045ffd5b6001600160a01b0316159190821561367a575b50811561366857506127d857565b6001600160a01b03915016155f6127d1565b6001600160a01b03161591505f61365a565b9060191161002a5760050190601490565b909291928360191161002a57831161002a57601901916018190190565b356bffffffffffffffffffffffff198116929190601482106136da575050565b6bffffffffffffffffffffffff1960149290920360031b82901b16169150565b918160141161002a57823560601c92601401916013190190565b908160a091031261002a576137288161320a565b916020820151613737816102f6565b916040810151613746816102f6565b9160806060830151613757816102f6565b920151611f4681610e2c565b9260409261378a916001600160a01b03939796978652606060208701526060860191611e7a565b9416910152565b929493919461379f84614558565b837f098a7a3b47801589e8cdf9ec791b93ad44273246946c32ef1fc4dbe45390c80e5d60017f8c47a7e3f4c2e1b5a6d9f0e8c7b3a2d1e4f5c6b7a8d9e0f1c2b3a4d5e6f7c8d95d5f7f7b3c4e5f6a8d9e0f1c2b3a4d5e6f7c8d9e0f1c2b3a4d5e6f7c8d9e0f1c2b3a4d5d817fce9e2e8e50d57f2d688020ea7ab16e2039bcf4dc7175eba827e178586597bb395d604051936314b471d360e31b855260a0858061384c858b60048401613268565b03816001600160a01b0385165afa968715610d3e575f925f915f915f985f9b613ad6575b506001600160a01b0389166001600160a01b03841614613aba575f839281928a8e8d9a9998977f0c22c14aba48b0e26e3b58475c66f358c352532122e537c32e8184c0159e6e105d8414613aa657506139186138dc8460016138d330809e614bc3565b9d898d8c614731565b926122418d60405194859360208501977f6df0e4a800000000000000000000000000000000000000000000000000000000895260248601613763565b5190865af4916002613928613279565b955f7f098a7a3b47801589e8cdf9ec791b93ad44273246946c32ef1fc4dbe45390c80e5d5f7f8c47a7e3f4c2e1b5a6d9f0e8c7b3a2d1e4f5c6b7a8d9e0f1c2b3a4d5e6f7c8d95d5f7f7b3c4e5f6a8d9e0f1c2b3a4d5e6f7c8d9e0f1c2b3a4d5e6f7c8d9e0f1c2b3a4d5d5f7fce9e2e8e50d57f2d688020ea7ab16e2039bcf4dc7175eba827e178586597bb395d5f7f0c22c14aba48b0e26e3b58475c66f358c352532122e537c32e8184c0159e6e105d6139e1816125a3565b14613a96575b505015613a52575050906139fe613a039285614bc3565b611e0f565b9380613a3f575b613a2d575b83906001600160a01b03163014613a24575050565b610314916134cf565b92613a39908483614c3e565b92613a0f565b50306001600160a01b0382161415613a0a565b815115613a625750602081519101fd5b7f2680f8fe000000000000000000000000000000000000000000000000000000005f526001600160a01b031660045260245ffd5b613a9f916147eb565b5f806139e7565b6138dc8460016138d361391894809e614bc3565b63ce89c4bd60e01b5f526001600160a01b03831660045260245ffd5b93509950935050613b0091955060a03d60a011613b0c575b613af8818361066f565b810190613714565b9793949097995f613870565b503d613aee565b9594929395919091613b2481614558565b807f098a7a3b47801589e8cdf9ec791b93ad44273246946c32ef1fc4dbe45390c80e5d867f8c47a7e3f4c2e1b5a6d9f0e8c7b3a2d1e4f5c6b7a8d9e0f1c2b3a4d5e6f7c8d95d5f7f7b3c4e5f6a8d9e0f1c2b3a4d5e6f7c8d9e0f1c2b3a4d5e6f7c8d9e0f1c2b3a4d5d827fce9e2e8e50d57f2d688020ea7ab16e2039bcf4dc7175eba827e178586597bb395d604051946314b471d360e31b865260a08680613bd0848760048401613268565b03816001600160a01b0386165afa978815610d3e575f935f925f925f995f9c613c80575b506001600160a01b038a166001600160a01b03851614613c645783925f926139186138dc8f86958f9c9b9a998f909288937f0c22c14aba48b0e26e3b58475c66f358c352532122e537c32e8184c0159e6e105d8314613c5957506138d330809e614bc3565b6138d390809e614bc3565b63ce89c4bd60e01b5f526001600160a01b03841660045260245ffd5b93509a5094509650613ca1915060a03d60a011613b0c57613af8818361066f565b9891939590929392989a5f613bf4565b9594929395919091613cc281614558565b807f098a7a3b47801589e8cdf9ec791b93ad44273246946c32ef1fc4dbe45390c80e5d867f8c47a7e3f4c2e1b5a6d9f0e8c7b3a2d1e4f5c6b7a8d9e0f1c2b3a4d5e6f7c8d95d60017f7b3c4e5f6a8d9e0f1c2b3a4d5e6f7c8d9e0f1c2b3a4d5e6f7c8d9e0f1c2b3a4d5d827fce9e2e8e50d57f2d688020ea7ab16e2039bcf4dc7175eba827e178586597bb395d604051946314b471d360e31b865260a08680613d6f848760048401613268565b03816001600160a01b0386165afa978815610d3e575f935f925f925f995f9c613df9575b506001600160a01b038a166001600160a01b03851614613c645783925f926139186138dc8f86958f9c9b9a998f90926001937f0c22c14aba48b0e26e3b58475c66f358c352532122e537c32e8184c0159e6e105d8814613c5957506138d330809e614bc3565b93509a5094509650613e1a915060a03d60a011613b0c57613af8818361066f565b9891939590929392989a5f613d93565b9394919392901561411857613e4d610c1d610c1d6009546001600160a01b031690565b604080517f9f6523db000000000000000000000000000000000000000000000000000000008152855160048201526020860151602482015290850151604482015260608501516001600160a01b03908116606483015260808601518116608483015260a086015163ffffffff1660a483015260c08601511660c482015293905f90859060e49082905afa938415610d3e575f946140f4575b508051925f965f975b8651891015613f1a57613f126001916020613f098c8b611d4e565b51015190611fb4565b980197613eee565b9092949750959092958451908181116140c65750505f5b8551811015613ff4576020613f468288611d4e565b510151613f56575b600101613f31565b96613fec600191613fd7888b6020613fce613fc7613fb9613fab858f60800197613fa6613f8a8a516001600160a01b031690565b613fa089613f988686611d4e565b5101516145d4565b906134cf565b611d4e565b51516001600160a01b031690565b94516001600160a01b031690565b928d611d4e565b51015191615565565b6020613fe38b8a611d4e565b51015190611e0f565b979050613f4e565b50929093611f4695929661403e91805161406f575b505b85608084019461402286516001600160a01b031690565b908761403860c08801516001600160a01b031690565b94614d97565b9261406961405b606060408501519401516001600160a01b031690565b93516001600160a01b031690565b93614f53565b7f90d361ec764fa5642d6f3c5dc38434ac048b8ece7df64dcfa2331ea2114f44806140bd6001600160a01b036140af60808801516001600160a01b031690565b169260405191829182614d49565b0390a25f614009565b7ff3603006000000000000000000000000000000000000000000000000000000005f5260045260245260445ffd5b6141119194503d805f833e614109818361066f565b810190614ca3565b925f613ee5565b8261403e611f46959396945161400b565b9392915f91808201815b8181106141cc5750505f935f19840192848411925b8587106141585750505050505050565b9061416991989293949596986150ee565b61417982959394959482966136fa565b90896115a95760019561419b958f958d87036141a857505089945b1593613b13565b9801959493929190614148565b6141b86141c0916141c6936150ee565b5050906136fa565b91615121565b94614194565b60019490940193803560f01c01600201614133565b818102929181159184041417156115a957565b9491939290928115612ebf5761420984611f64565b9161421385611f64565b95815f98806142218a611d3c565b5261422b86611d3c565b525b61425857505050505f1461424057505090565b614254925061424e90611e01565b90611d4e565b5190565b839761427e939462ffffff6142e96142728a968c966150ee565b989299919098996151c0565b9398929a919497909a16918215155f146143a357506142b7916142a86142ae9260ff8a1690611d4e565b516141e1565b62ffffff900490565b945b60ff6142c53095611e01565b97169687148061439b575b801561438b575b614383575b60ff169785891593613cb1565b9282614347579183918161430489989795968f9b9a97611fb4565b9d6143226143419561431c61433a9661432994611d4e565b51611fb4565b918b611d4e565b52614334848a611d4e565b51611e0f565b9187611d4e565b5261422d565b9a96959493916143419181614329614322878f848e8261437d8f9d9a61437761433a9c61431c8361431c99611d4e565b92611d4e565b52611d4e565b8b93506142dc565b508c80156142d7575086156142d7565b508c156142d0565b6143b3925060ff88169150611d4e565b51946142b9565b60ff81146143cb57611f469061521a565b506040515f6007548060011c91600182168015614496575b60208410811461448257838552849260208401919081156144695750600114614414575b50611f469250038261066f565b60075f90815291507fa66cc928b5edb82af9bd49922954155ab7b0942694bea4ce44661d9a8736c6885b8483106144525750611f469350015f614407565b80548284015285935060209092019160010161443e565b60ff1916825250611f4693151560051b0190505f614407565b634e487b7160e01b5f52602260045260245ffd5b92607f16926143e3565b60ff81146144b157611f469061521a565b506040515f6008548060011c9160018216801561454e575b602084108114614482578385528492602084019190811561446957506001146144f95750611f469250038261066f565b60085f90815291507ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee35b8483106145375750611f469350015f614407565b805482840152859350602090920191600101614523565b92607f16926144c9565b6001600160a01b0316805f52600660205260405f205480156145a857421061457d5750565b7f45d4ba96000000000000000000000000000000000000000000000000000000005f5260045260245ffd5b507fa6cdd2a5000000000000000000000000000000000000000000000000000000005f5260045260245ffd5b7f800000000000000000000000000000000000000000000000000000000000000081146115a9575f0390565b929391949061460e816125a3565b600381146147285761461f816125a3565b600181146147165782907fce5ffa91873ede1b462af74ea59bab3721b06b0ff726b90311437efde20017955c8261470d575b5061465b816125a3565b600281146146d35761466c816125a3565b1561468057633fe0a7ad60e01b5f5260045ffd5b1590816146ca575b50806146c3575b6146bc57156146a157611f46926152f0565b611f46926146b76146b1846145d4565b826134cf565b614c3e565b5050905090565b505f61468f565b9050155f614688565b50929493925050156146f657906146ee611f469230836152f0565b928391615271565b8092611f46926147086146b1846145d4565b615271565b1593505f614651565b5050505090611f4690613fa0836145d4565b50505050905090565b929391949061473f816125a3565b6003811461472857614750816125a3565b600181146147165782907fce5ffa91873ede1b462af74ea59bab3721b06b0ff726b90311437efde20017955c826147e2575b5061478c816125a3565b600281146146d35761479d816125a3565b156147b157633fe0a7ad60e01b5f5260045ffd5b1590816147d9575b50806147d1576146bc57156146a157611f46926152f0565b50600161468f565b9050155f6147b9565b1593505f614782565b6001600160a01b0316906040517fdd62ed3e0000000000000000000000000000000000000000000000000000000081523060048201526001600160a01b0382166024820152602081604481865afa908115610d3e575f916148be575b50614850575050565b61485b5f8284615657565b15614864575050565b61486e81836156a5565b156148a2575f61487e9183615704565b156148865750565b6001600160a01b0390635274afe760e01b5f521660045260245ffd5b6001600160a01b0382635274afe760e01b5f521660045260245ffd5b6148d7915060203d602011610d3757610d29818361066f565b5f614847565b6001600160a01b03811680614930575b50506001600160a01b03811661490257505050565b61492c91610b01614924926001600160a01b03165f52600560205260405f2090565b918254611fb4565b9055565b5f52600560205260405f20835f5260205260405f20548481106149775783610b018661496f9303936001600160a01b03165f52600560205260405f2090565b555f806148ed565b6040517fb1b4fec00000000000000000000000000000000000000000000000000000000081526001600160a01b0392909216600483015260248201526044810184905260648101839052608490fd5b6001600160a01b037f0000000000000000000000001644d2477f809cc2c71bccfd6dc9497e3f83210d16301480614ab9575b15614a21577fa90c61186f96d249c4153b1ad6f21d221a6551c10b2bf2c05bac6880f32bc26c90565b60405160208101907f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f82527f7fd8aec271956112b3e6750e2f1d384660c965d66bca9bb58dcff27813d4b06f60408201527fc89efdaa54c0f20c7adf612882df0950f5a951637e0307cdcb4c672f298b8bc660608201524660808201523060a082015260a08152614ab360c08261066f565b51902090565b507f000000000000000000000000000000000000000000000000000000000000000146146149f8565b91907f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a08411614b59579160209360809260ff5f9560405194855216868401526040830152606082015282805260015afa15610d3e575f516001600160a01b03811615614b4f57905f905f90565b505f906001905f90565b5050505f9160039190565b5f7fee3c9c434505299f2450d3624302a27b8a6978e973825330bc744ba925eec1995d565b7fee3c9c434505299f2450d3624302a27b8a6978e973825330bc744ba925eec1995d565b614bb75f91615513565b5d565b614bb790615513565b6001600160a01b031673eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee8103614bec57503190565b906001600160a01b03602460209260405194859384926370a0823160e01b84521660048301525afa908115610d3e575f91614c25575090565b611f46915060203d602011610d3757610d29818361066f565b90614c8d91614c4d8282614bc3565b936001600160a01b038216908373eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee8303614c9a57614c8892506001600160a01b0316613174565b614bc3565b9081039081116115a95790565b614c8892613104565b60208183031261002a5780519067ffffffffffffffff821161002a570181601f8201121561002a57805190614cd7826106a0565b92614ce5604051948561066f565b82845260208085019360061b8301019181831161002a57602001925b828410614d0f575050505090565b60408483031261002a5760206040918251614d298161064e565b8651614d34816102f6565b81528287015183820152815201930192614d01565b60206040818301928281528451809452019201905f5b818110614d6c5750505090565b825180516001600160a01b031685526020908101518186015260409094019390920191600101614d5f565b909491939185821015614f4a57614dae8287611e0f565b948511614f31578484614dc0926155b7565b614dc983615513565b5c5f811315614ddf5750505090611f46916134cf565b80614f0657506001600160a01b03821691308303614e055750505090611f46913361563b565b9091926001600160a01b031673eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee81145f14614e3b5750505090611f4691613174565b6040516370a0823160e01b81526001600160a01b038316600482015295509193909250602085602481855afa948515610d3e575f95614ed8575b509181614e88614eb39483602095613104565b60405180809581946370a0823160e01b8352600483019190916001600160a01b036020820193169052565b03915afa928315610d3e57611f4693614ed2925f91610d0f5750611e0f565b90611fb4565b614eb39391955091614e88614efb602094853d8711610d3757610d29818361066f565b969294505091614e75565b7fad778f04000000000000000000000000000000000000000000000000000000005f5260045260245ffd5b633f559c2360e21b5f526004829052602486905260445ffd5b50935050505090565b93909291945f614f6283615513565b5c136150a8575b50507fee3c9c434505299f2450d3624302a27b8a6978e973825330bc744ba925eec1995c937fce5ffa91873ede1b462af74ea59bab3721b06b0ff726b90311437efde20017955c600103615087576001851115614fd4576367521f4b60e01b5f52600485905260245ffd5b90919293600114615006575b50505b808210614fee575090565b633f559c2360e21b5f5260049190915260245260445ffd5b61500f82615513565b5c80158015615075575b61504a57509061503661503b926001600160a01b038316336130bf565b614bad565b615043614b64565b5f80614fe0565b7f955ec055000000000000000000000000000000000000000000000000000000005f5260045260245ffd5b5061507f826145d4565b811415615019565b50509091806150965750614fe3565b6367521f4b60e01b5f5260045260245ffd5b6150ba6150b4866145d4565b836134cf565b6001600160a01b03811630036150dd5750836150d6913361563b565b5f80614f69565b6150e8929491614c3e565b916150d6565b9091821560011461511557813560f01c906002830193600283809501019260011991030190565b5f925082915081908190565b906020916151759361513282614558565b6001600160a01b036040518096819582947fa44abc5300000000000000000000000000000000000000000000000000000000845288600485018181520191611e7a565b0392165afa908115610d3e575f9161518b575090565b90506020813d6020116151b8575b816151a66020938361066f565b8101031261002a5751611f46816102f6565b3d9150615199565b91908015611d4957823560f81c928160011015611d4957600181013560f81c928260051161002a5761056b600283013560e81c9380615214610c1d61520e615208848961368c565b906136ba565b60601c90565b9461369d565b60ff811690601f8211615249576040519161523660408461066f565b6020808452838101919036833783525290565b7fb3512b0c000000000000000000000000000000000000000000000000000000005f5260045ffd5b919091306001600160a01b0384160361528a575b505050565b6001600160a01b03169161529f828285615657565b156152a957505050565b6152b381846156a5565b156152dd57906152c39183615704565b156152cb5750565b635274afe760e01b5f5260045260245ffd5b82635274afe760e01b5f5260045260245ffd5b7f99298391997747e556e81b2d36d99151315b6c1b92e826ca8d37acad5fddaf705c927fd847dc13274ab371f6244234290f56fa8650ec9dceff86e20efe1ddc141bdb035c92907faf58e9f1b0923d55d0ec6a57763d43cd9bb1d6bd8bad5ce9522fbe772c6ec42b5c7f28d0e2684c9341fec58f816e0c375a4e51f9f34ec034a29c97467df00497c8d95c8083116154e3576001600160a01b038516916001600160a01b03811683036154a95750826153a891611e0f565b7f28d0e2684c9341fec58f816e0c375a4e51f9f34ec034a29c97467df00497c8d95d6153d48385614bc3565b941561549657506001600160a01b037f000000000000000000000000000000000022d473030f116ddee9f6b43ac78ba31690813b1561002a576040517f36c785160000000000000000000000000000000000000000000000000000000081526001600160a01b0396871660048201528387166024820152908616604482015294831660648601525f908590608490829084905af1918215610d3e57611f46946139fe93615482575b50614bc3565b8061118a5f6154909361066f565b5f61547c565b6139fe939183611f4697614c8893612fd6565b7f358c73f1000000000000000000000000000000000000000000000000000000005f526001600160a01b038087166004521660245260445ffd5b7fae0626b3000000000000000000000000000000000000000000000000000000005f52600452602482905260445ffd5b60405160208101916bffffffffffffffffffffffff199060601b1682527f547963686f5661756c742344454c544100000000000000000000000000000000603482015260248152614ab360448261066f565b8215615285576001600160a01b038116156124005761559d6001600160a01b03916001600160a01b03165f52600560205260405f2090565b91165f5260205260405f2080549182018092116115a95755565b929190928115615635576001600160a01b038416906001600160a01b0381165f52600560205260405f20825f5260205260405f20548381106155ff57506103149394506130bf565b6040516369dc250160e11b81526001600160a01b0392831660048201529186166024830152604482018490526064820152608490fd5b50509050565b9190918115615285576001600160a01b03610314931690613079565b92916001600160a01b036040519263095ea7b360e01b5f521660045260245260205f60448180875af19260015f5114841615615694575b50604052565b3d15903b151516909216915f61568e565b91906001600160a01b036040519163095ea7b360e01b5f52166004525f60245260205f60448180875af19260015f51148416156156e25750604052565b600184929415166156fb573b15153d151616915f61568e565b833d5f823e3d90fd5b92916001600160a01b036040519263095ea7b360e01b5f521660045260245260205f60448180875af19260015f51148416156156e2575060405256fea26469706673582212200c335e6f0a1338a4b8b162db37e93a73acd31afc3f8e0e82893981f48e58443264736f6c63430008210033","recompiledBytecode":"0x60806040526004361015610038575b361561002e573461002a57610022366120d8565b602081519101f35b5f80fd5b6100366120c7565b005b5f3560e01c8062fdd58e146102f157806301ffc9a7146102ec578063095bcdb6146102e75780630c1a0ee7146102e257806312261ee7146102dd5780631d452e46146102d857806321bd166a1461023357806324788429146102d3578063248a9ca3146102ce5780632f2ff15d146102c957806333967285146102c457806336568abe146102bf5780633c226834146102ba5780633f4ba83a146102b5578063409b68bf146102b0578063426a8493146102ab57806346f177ec146102a657806347e7ef24146102a15780634e573d091461029c5780634e66ab2014610297578063558a729714610292578063598af9e71461028d5780635c975abb14610288578063631eecea146102835780636aad98381461027e5780638456cb591461027957806384b0196e146102745780638c66d04f1461026f57806391d148541461026a5780639b67606914610265578063a217fddf14610260578063ae890e771461025b578063b131b93414610256578063b6363cf214610251578063ca9310731461024c578063d547741f14610247578063e63ab1e914610242578063ef7008ea1461023d578063f3fef3a314610238578063f78800f914610233578063f8cdfc4f1461022e578063fb1bb9de14610229578063fe745a0f146102245763fe99049a0361000e57611acd565b611aa9565b611a6f565b611a36565b61074a565b611945565b611925565b6118eb565b6118ab565b6117bd565b611763565b611727565b611707565b6116ed565b611635565b6115e3565b6114dd565b6113d4565b6112f2565b611196565b611049565b610f5c565b610eed565b610e36565b610df2565b610db8565b610bcc565b610ba6565b610aae565b610a6c565b610904565b6108db565b61087a565b610840565b6107fb565b6107c9565b610767565b6106b8565b6105f7565b61056f565b61048c565b610385565b61033b565b6001600160a01b0381160361002a57565b60243590610314826102f6565b565b60443590610314826102f6565b60c43590610314826102f6565b3590610314826102f6565b3461002a57604036600319011261002a57600435610358816102f6565b6001600160a01b0360243591165f52600560205260405f20905f52602052602060405f2054604051908152f35b3461002a57602036600319011261002a576004357fffffffff00000000000000000000000000000000000000000000000000000000811680910361002a576020907f7965db0b0000000000000000000000000000000000000000000000000000000081148015610440575b80918115610405575b50506040519015158152f35b7f0f632fb3000000000000000000000000000000000000000000000000000000001491508115610438575b505f806103f9565b90505f610430565b507f01ffc9a70000000000000000000000000000000000000000000000000000000081146103f0565b606090600319011261002a57600435610481816102f6565b906024359060443590565b3461002a576104a461049d36610469565b913361238e565b602060405160018152f35b908160a091031261002a5790565b9181601f8401121561002a5782359167ffffffffffffffff831161002a576020838186019501011161002a57565b9061010060031983011261002a5760043591602435610509816102f6565b91604435610516816102f6565b91606435916084359160a43561052b816102f6565b9160c43567ffffffffffffffff811161002a578261054b916004016104af565b9160e4359067ffffffffffffffff821161002a5761056b916004016104bd565b9091565b60206105c16105a9610580366104eb565b9889828587898b8d8f989f8a9f9a9b9e9b61059c9e9d9e612458565b6105a461248c565b6125c1565b6105b281612819565b6105bc8183612861565b612a88565b60017f9b779b17422d0df92223018b32b4d1fa46e071723d6817e2486d003becc55f0055604051908152f35b5f91031261002a57565b3461002a575f36600319011261002a5760206040516001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000168152f35b634e487b7160e01b5f52604160045260245ffd5b6040810190811067ffffffffffffffff82111761066a57604052565b61063a565b90601f8019910116810190811067ffffffffffffffff82111761066a57604052565b6040519061031460e08361066f565b67ffffffffffffffff811161066a5760051b60200190565b3461002a57602036600319011261002a5760043567ffffffffffffffff811161002a573660238201121561002a578060040135906106f5826106a0565b91610703604051938461066f565b8083526024602084019160051b8301019136831161002a57602401905b8282106107305761003684611c23565b60208091833561073f816102f6565b815201910190610720565b3461002a575f36600319011261002a576020604051620151808152f35b3461002a57602036600319011261002a576001600160a01b0360043561078c816102f6565b610794612be8565b16805f5260066020525f60408120557f4a2cf608bfb427f53279ec7f0eadf48913b9346ccefc3af138dbdec14ea0907d5f80a2005b3461002a57602036600319011261002a5760206107f36004355f525f602052600160405f20015490565b604051908152f35b3461002a57604036600319011261002a5761003660243560043561081e826102f6565b61083b610836825f525f602052600160405f20015490565b612cc6565b612d0d565b3461002a575f36600319011261002a5760206040517f9939157be7760e9462f1d5a0dcad88b616ddc64138e317108b40b1cf556013488152f35b3461002a57604036600319011261002a5760043560243561089a816102f6565b336001600160a01b038216036108b35761003691612da5565b7f6697b232000000000000000000000000000000000000000000000000000000005f5260045ffd5b60206105c16108ec610580366104eb565b6108f581612819565b6108ff8183612861565b612e35565b3461002a575f36600319011261002a57335f9081527f770bdc288ee5ebd346714a4f85d8d94878b226ea302eab9b7e299fdec2bb0a41602052604090205460ff16156109b15760045460ff8116156109895760ff19166004557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa6020604051338152a1005b7f8dfc202b000000000000000000000000000000000000000000000000000000005f5260045ffd5b63e2517d3f60e01b5f52336004527f427da25fe773164f88948d3e215c94b6554e2ed5e5f203a821c9f2f6131cf75a60245260445ffd5b61012060031982011261002a5760043591602435610a05816102f6565b91604435610a12816102f6565b91606435916084359160a4359160c435610a2b816102f6565b9160e43567ffffffffffffffff811161002a5782610a4b916004016104af565b91610104359067ffffffffffffffff821161002a5761056b916004016104bd565b3461002a5760206105c1610a9f610a82366109e8565b998a8285888a8c8f979f9e899f9a9e9a819a9c9e9c61059c612458565b610aa98183612910565b612ee7565b3461002a57610abc36610469565b9190913315610b7a576001600160a01b038216918215610b4e57610b0e84610b018493335f52600360205260405f20906001600160a01b03165f5260205260405f2090565b905f5260205260405f2090565b5560405190815233907fb3fd5071835887567a0671151121894ddccc2842f1d10bedad13e0d17cace9a790602090a46040516001815280602081015b0390f35b7f6f65f465000000000000000000000000000000000000000000000000000000005f525f60045260245ffd5b7fcc766a98000000000000000000000000000000000000000000000000000000005f525f60045260245ffd5b3461002a575f36600319011261002a5760206001600160a01b0360095416604051908152f35b604036600319011261002a57600435610be4816102f6565b60243590610bf0612458565b610bf861248c565b6001600160a01b038116908115610d90578215610d6857610c29906001600160a01b03165b6001600160a01b031690565b9073eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee8103610c85575090610c5c91610c56823414611e1c565b33613079565b61003660017f9b779b17422d0df92223018b32b4d1fa46e071723d6817e2486d003becc55f0055565b610c8f3415611d62565b6040516370a0823160e01b815230600482015292602084602481855afa938415610d3e575f94610d43575b50610cc790303384612fd6565b6040516370a0823160e01b815230600482015290602090829060249082905afa928315610d3e57610d0a93610d03925f91610d0f575b50611e0f565b9033613079565b610c5c565b610d31915060203d602011610d37575b610d29818361066f565b810190611dd3565b5f610cfd565b503d610d1f565b611de2565b610cc7919450610d619060203d602011610d3757610d29818361066f565b9390610cba565b7fa6b14c81000000000000000000000000000000000000000000000000000000005f5260045ffd5b7f33356531000000000000000000000000000000000000000000000000000000005f5260045ffd5b3461002a575f36600319011261002a5760206040517f6a1dd52dcad5bd732e45b6af4e7344fa284e2d7d4b23b5b09cb55d36b0685c878152f35b3461002a575f36600319011261002a5760206040517fcaeeb59f261880532f82b8abef24d6c0b351a4a6c52f09c7e78629661602a36a8152f35b8015150361002a57565b3461002a57604036600319011261002a57600435610e53816102f6565b602435610e5f81610e2c565b3315610b7a576001600160a01b038216918215610b4e5781610ea0610eb192335f52600260205260405f20906001600160a01b03165f5260205260405f2090565b9060ff801983541691151516179055565b604051901515815233907fceb576d9f15e4e200fdb5096d64d5dfd667e16def20c1eefd14256d8e3faa26790602090a360405160018152602090f35b3461002a57606036600319011261002a57600435610f0a816102f6565b610f47602435610f19816102f6565b6001600160a01b0360443593165f52600360205260405f20906001600160a01b03165f5260205260405f2090565b905f52602052602060405f2054604051908152f35b3461002a575f36600319011261002a57602060ff600454166040519015158152f35b60c09061010319011261002a5761010490565b908160c091031261002a5790565b6101e060031982011261002a5760043591610fba6024610330565b91610fc56044610330565b916064359160843591610fd860a4610330565b9160c43567ffffffffffffffff811161002a5781610ff8916004016104af565b916110048260e4610f91565b916101a43567ffffffffffffffff811161002a5781611025916004016104bd565b929092916101c4359067ffffffffffffffff821161002a5761056b916004016104bd565b3461002a5761107a61105a36610f9f565b9b8c82888a8f989796959f9c8a9f9a9e809c9f829e9f8d9161059c612458565b73eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee6001600160a01b038616036110f1575b610b4a6110b88d8d8d8d8d8d8d8d8d6108ff81836129c3565b6110e160017f9b779b17422d0df92223018b32b4d1fa46e071723d6817e2486d003becc55f0055565b6040519081529081906020820190565b6001600160a01b039b999795939a989694929b7f00000000000000000000000000000000000000000000000000000000000000001691823b1561002a576040516302b67b5760e41b81529c8d92839261114e923360048601611e9a565b03815a5f948591f1988915610d3e57610b4a9a6110b89a61117c575b81939597999b50829496989a5061109f565b8061118a5f6111909361066f565b806105ed565b5f61116a565b3461002a575f36600319011261002a576111ae612c57565b600a5465ffffffffffff8160a01c1680156112ca5780421061129b57506001600160a01b03806111f66111e96009546001600160a01b031690565b936001600160a01b031690565b611223816001600160a01b031673ffffffffffffffffffffffffffffffffffffffff196009541617600955565b61124573ffffffffffffffffffffffffffffffffffffffff19600a5416600a55565b6112727fffffffffffff000000000000ffffffffffffffffffffffffffffffffffffffff600a5416600a55565b1691167f153538becce9737e2efc6b51d64464392a325d0368e402aa8ff9f7f14e4c09e65f80a3005b7f017c6456000000000000000000000000000000000000000000000000000000005f526004524260245260445ffd5b7fc8e301b6000000000000000000000000000000000000000000000000000000005f5260045ffd5b3461002a575f36600319011261002a57335f9081527ff7c9542c591017a21c74b6f3fab6263c7952fc0aaf9db4c22a2a04ddc7f8674f602052604090205460ff161561137957611340612458565b600160ff1960045416176004557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a2586020604051338152a1005b63e2517d3f60e01b5f52336004527f65d7a28e3265b37a6474929f336521b332c1681b933f6cb9f3376673440d862a60245260445ffd5b805180835260209291819084018484015e5f828201840152601f01601f1916010190565b3461002a575f36600319011261002a5761147f6114107f00000000000000000000000000000000000000000000000000000000000000006143ba565b6114397f00000000000000000000000000000000000000000000000000000000000000006144a0565b61148d611444611f49565b916040519485947f0f00000000000000000000000000000000000000000000000000000000000000865260e0602087015260e08601906113b0565b9084820360408601526113b0565b4660608401523060808401525f60a084015282810360c0840152602080835192838152019201905f5b8181106114c4575050500390f35b82518452859450602093840193909201916001016114b6565b3461002a57602036600319011261002a576004356114fa816102f6565b611502612c57565b61150a612458565b803b156115ae57620151804201908142116115a957600a80547fffffffffffff0000000000000000000000000000000000000000000000000000166001600160a01b039290921691821760a084901b79ffffffffffff000000000000000000000000000000000000000016179055907fdf65d81a0133f384ea0402f18ad9df44c14b2105c60c85914d79b21dfd3261eb906115a4906110e1565b0390a2005b611ded565b6001600160a01b03907f9368c1dc000000000000000000000000000000000000000000000000000000005f521660045260245ffd5b3461002a57604036600319011261002a57602060ff61162960243560043561160a826102f6565b5f525f845260405f20906001600160a01b03165f5260205260405f2090565b54166040519015158152f35b3461002a5761020036600319011261002a57600435611652610307565b9061165b610316565b916064359160a43560843561166e610323565b60e43567ffffffffffffffff811161002a5761168e9036906004016104af565b61169736610f7e565b916101c43567ffffffffffffffff811161002a576116b99036906004016104bd565b9590946101e4359967ffffffffffffffff8b1161002a57610b4a9b6116e56110e19c36906004016104bd565b9b909a611fc1565b3461002a575f36600319011261002a5760206040515f8152f35b3461002a5760206105c161171d610580366104eb565b6108ff8183612910565b3461002a57602036600319011261002a576001600160a01b0360043561174c816102f6565b165f526006602052602060405f2054604051908152f35b3461002a57604036600319011261002a57602060ff611629600435611787816102f6565b6001600160a01b036024359161179c836102f6565b165f526002845260405f20906001600160a01b03165f5260205260405f2090565b3461002a576117ce61105a36610f9f565b73eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee6001600160a01b0386160361180c575b610b4a6110b88d8d8d8d8d8d8d8d8d6105bc81836129c3565b6001600160a01b039b999795939a989694929b7f00000000000000000000000000000000000000000000000000000000000000001691823b1561002a576040516302b67b5760e41b81529c8d928392611869923360048601611e9a565b03815a5f948591f1988915610d3e57610b4a9a6110b89a611897575b81939597999b50829496989a506117f3565b8061118a5f6118a59361066f565b5f611885565b3461002a57604036600319011261002a576100366024356004356118ce826102f6565b6118e6610836825f525f602052600160405f20015490565b612da5565b3461002a575f36600319011261002a5760206040517f65d7a28e3265b37a6474929f336521b332c1681b933f6cb9f3376673440d862a8152f35b3461002a5760206105c161193b610580366104eb565b6105bc8183612910565b3461002a57604036600319011261002a57600435611962816102f6565b60243561196d61248c565b6001600160a01b038216918215610d90578115610d68576119966001600160a01b038216610c1d565b906119b682610b01336001600160a01b03165f52600560205260405f2090565b548381106119fc575050816119cb91336130bf565b73eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee82036119f157610c5c915033613174565b610d0a913390613104565b6040516369dc250160e11b81523360048201526001600160a01b039290921660248301526044820193909352606481019290925250608490fd5b3461002a575f36600319011261002a57600a54604080516001600160a01b038316815260a09290921c65ffffffffffff16602083015290f35b3461002a575f36600319011261002a5760206040517f427da25fe773164f88948d3e215c94b6554e2ed5e5f203a821c9f2f6131cf75a8152f35b60206105c1611aba610a82366109e8565b611ac381612819565b610aa98183612861565b3461002a57608036600319011261002a57600435611aea816102f6565b602435611af6816102f6565b604435606435916001600160a01b038416933385141580611bf2575b611b2d575b611b21945061238e565b60405160018152602090f35b845f526003602052611b533360405f20906001600160a01b03165f5260205260405f2090565b835f5260205260405f20545f198110611b6d575b50611b17565b848110611bab578490611b21965f52600360205203611ba484610b013360405f20906001600160a01b03165f5260205260405f2090565b555f611b67565b6040517f58a3fd5a00000000000000000000000000000000000000000000000000000000815233600482015260248101919091526044810185905260648101849052608490fd5b50845f52600260205260ff611c1b3360405f20906001600160a01b03165f5260205260405f2090565b541615611b12565b611c2b612be8565b611c33612458565b5f5b8151811015611d24576001600160a01b03611c508284611d4e565b5116803b15611cfc57805f52600660205260405f2054611cd157906001917f8d569bcfa0f17e03872f15644187df4676d61a9e71e934211c2781c94d0c9f37611cc8611c9b42611f96565b80611cb7856001600160a01b03165f52600660205260405f2090565b556040519081529081906020820190565b0390a201611c35565b7f1124faeb000000000000000000000000000000000000000000000000000000005f5260045260245ffd5b7f931cf050000000000000000000000000000000000000000000000000000000005f5260045ffd5b5050565b634e487b7160e01b5f52603260045260245ffd5b805115611d495760200190565b611d28565b8051821015611d495760209160051b010190565b15611d6957565b608460405162461bcd60e51b815260206004820152602260248201527f455448206e6f7420616363657074656420666f72204552433230206465706f7360448201527f69740000000000000000000000000000000000000000000000000000000000006064820152fd5b9081602091031261002a575190565b6040513d5f823e3d90fd5b634e487b7160e01b5f52601160045260245ffd5b5f198101919082116115a957565b919082039182116115a957565b15611e2357565b606460405162461bcd60e51b815260206004820152600e60248201527f56616c7565206d69736d617463680000000000000000000000000000000000006044820152fd5b359065ffffffffffff8216820361002a57565b908060209392818452848401375f828201840152601f01601f1916010190565b60a0611f4695936001600160a01b03610100941683526001600160a01b038135611ec3816102f6565b1660208401526001600160a01b036020820135611edf816102f6565b16604084015265ffffffffffff611ef860408301611e67565b16606084015265ffffffffffff611f1160608301611e67565b1660808401526001600160a01b036080820135611f2d816102f6565b1682840152013560c08201528160e08201520191611e7a565b90565b60405190611f5860208361066f565b5f808352366020840137565b90611f6e826106a0565b611f7b604051918261066f565b8281528092611f8c601f19916106a0565b0190602036910137565b906201518082018092116115a957565b90600182018092116115a957565b919082018092116115a957565b9b9a99611fe38c8c8f9988888d9f98839f98809b9d9f9e829d9f61059c612458565b73eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee6001600160a01b03851603612042575b50505089610aa96120199b836129c3565b611f4660017f9b779b17422d0df92223018b32b4d1fa46e071723d6817e2486d003becc55f0055565b6001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016803b1561002a57612098935f8094604051968795869485936302b67b5760e41b85523360048601611e9a565b03925af18015610d3e576120ae575b8080612008565b806120ba5f809361066f565b80031261002a575f6120a7565b6120cf612458565b333b1561002a57565b906120e1612458565b7f098a7a3b47801589e8cdf9ec791b93ad44273246946c32ef1fc4dbe45390c80e5c7f8c47a7e3f4c2e1b5a6d9f0e8c7b3a2d1e4f5c6b7a8d9e0f1c2b3a4d5e6f7c8d95c927f7b3c4e5f6a8d9e0f1c2b3a4d5e6f7c8d9e0f1c2b3a4d5e6f7c8d9e0f1c2b3a4d5c907fce9e2e8e50d57f2d688020ea7ab16e2039bcf4dc7175eba827e178586597bb395c907f0c22c14aba48b0e26e3b58475c66f358c352532122e537c32e8184c0159e6e105c9261219885614558565b604051967fee3dbf9b000000000000000000000000000000000000000000000000000000008852604088806121d33389885f6004860161323a565b03816001600160a01b038a165afa938415610d3e575f985f9561234a575b505f939192849361220492888c89614600565b5060405161224f8161224160208201947f7003fdf40000000000000000000000000000000000000000000000000000000086528660248401613268565b03601f19810183528261066f565b5190865af49261225d613279565b93156123045750600285612274611f4696976125a3565b146122f4575b50505f7f098a7a3b47801589e8cdf9ec791b93ad44273246946c32ef1fc4dbe45390c80e5d5f7f8c47a7e3f4c2e1b5a6d9f0e8c7b3a2d1e4f5c6b7a8d9e0f1c2b3a4d5e6f7c8d95d5f7f7b3c4e5f6a8d9e0f1c2b3a4d5e6f7c8d9e0f1c2b3a4d5e6f7c8d9e0f1c2b3a4d5d602080825183010191016132a8565b6122fd916147eb565b5f8061227a565b83908151156123165750602081519101fd5b7f39965ec7000000000000000000000000000000000000000000000000000000005f526001600160a01b031660045260245ffd5b5f9492995061220491955092612378859460403d604011612387575b612370818361066f565b810190613217565b9a909a969250929450926121f1565b503d612366565b9291926001600160a01b03811691821561242c576001600160a01b038116938415612400576123e381876123fb947f1b3d7edb2e9c0b0e7c525b20aaaef0f5940d2ed71663c7d39266ecafac728859966148dd565b60408051338152602081019290925290918291820190565b0390a4565b7fb8bbd610000000000000000000000000000000000000000000000000000000005f525f60045260245ffd5b7fa4352080000000000000000000000000000000000000000000000000000000005f525f60045260245ffd5b60ff6004541661246457565b7fd93c0665000000000000000000000000000000000000000000000000000000005f5260045ffd5b60027f9b779b17422d0df92223018b32b4d1fa46e071723d6817e2486d003becc55f0054146124db5760027f9b779b17422d0df92223018b32b4d1fa46e071723d6817e2486d003becc55f0055565b7f3ee5aeb5000000000000000000000000000000000000000000000000000000005f5260045ffd5b35611f46816102f6565b3563ffffffff8116810361002a5790565b67ffffffffffffffff811161066a57601f01601f191660200190565b9291926125468261251e565b91612554604051938461066f565b82948184528183011161002a578281602093845f960137010152565b903590601e198136030182121561002a570180359067ffffffffffffffff821161002a5760200191813603831361002a57565b600411156125ad57565b634e487b7160e01b5f52602160045260245ffd5b969492909795939160208801986001600160a01b036125df8b612503565b16156127b85760608901359687421161278757948994612241948c99946126df9b99946126286126d79a604061261d6126178d61250d565b9f612503565b9b01359c369161253a565b60208151910120966040519b8c9a60208c019e8f98969492909b9a99979593916101808a019c7fcaeeb59f261880532f82b8abef24d6c0b351a4a6c52f09c7e78629661602a36a8b5263ffffffff1660208b01526001600160a01b031660408a01526060890152608088015260a08701526001600160a01b031660c08601526001600160a01b031660e08501526101008401526101208301526001600160a01b03166101408201526101600152565b51902061330b565b60808201916126f86126f18483612570565b908461334c565b50612702816125a3565b159081612768575b50612762576127286127309361272261273496612503565b92612570565b929091613380565b1590565b61273a57565b7f8bd22865000000000000000000000000000000000000000000000000000000005f5260045ffd5b50505050565b90506001600160a01b0361277e610c1d87612503565b9116145f61270a565b7f6b7a0a9e000000000000000000000000000000000000000000000000000000005f5260048890524260245260445ffd5b5050505050505050905060408101351590811591612800575b506127d857565b7fbea0e082000000000000000000000000000000000000000000000000000000005f5260045ffd5b63ffffffff91506128109061250d565b1615155f6127d1565b346128215750565b8034036128325750610314346133c5565b7f5ffb1a5f000000000000000000000000000000000000000000000000000000005f523460045260245260445ffd5b7faf58e9f1b0923d55d0ec6a57763d43cd9bb1d6bd8bad5ce9522fbe772c6ec42b5d7f28d0e2684c9341fec58f816e0c375a4e51f9f34ec034a29c97467df00497c8d95d5f7fd847dc13274ab371f6244234290f56fa8650ec9dceff86e20efe1ddc141bdb035d337f99298391997747e556e81b2d36d99151315b6c1b92e826ca8d37acad5fddaf705d5f7fce5ffa91873ede1b462af74ea59bab3721b06b0ff726b90311437efde20017955d565b90507faf58e9f1b0923d55d0ec6a57763d43cd9bb1d6bd8bad5ce9522fbe772c6ec42b5d5f7f28d0e2684c9341fec58f816e0c375a4e51f9f34ec034a29c97467df00497c8d95d5f7fd847dc13274ab371f6244234290f56fa8650ec9dceff86e20efe1ddc141bdb035d337f99298391997747e556e81b2d36d99151315b6c1b92e826ca8d37acad5fddaf705d60017fce5ffa91873ede1b462af74ea59bab3721b06b0ff726b90311437efde20017955d565b7faf58e9f1b0923d55d0ec6a57763d43cd9bb1d6bd8bad5ce9522fbe772c6ec42b5d7f28d0e2684c9341fec58f816e0c375a4e51f9f34ec034a29c97467df00497c8d95d60017fd847dc13274ab371f6244234290f56fa8650ec9dceff86e20efe1ddc141bdb035d337f99298391997747e556e81b2d36d99151315b6c1b92e826ca8d37acad5fddaf705d5f7fce5ffa91873ede1b462af74ea59bab3721b06b0ff726b90311437efde20017955d565b9081602091031261002a5751611f4681610e2c565b9790612b1396949597939291612a9f87858c6135a1565b612aaa83838b613647565b612ab660208701612503565b94602086612ad2610c1d610c1d6009546001600160a01b031690565b612adb8a61250d565b604051809d819482936359f0aa3960e11b8452600484019092916001600160a01b0360209163ffffffff604085019616845216910152565b03915afa988915610d3e575f99612bad575b50612b4291612b33916136fa565b908a15612ba5578c3093613791565b98612b4c8661250d565b93612b55610691565b9a8b5260208b015260408a01526001600160a01b031660608901526001600160a01b0316608088015263ffffffff1660a08701526001600160a01b031660c08601526040013591611f4694613e2a565b8c8c93613791565b612b3391995091612bd8612b429360203d602011612be1575b612bd0818361066f565b810190612a73565b99915091612b25565b503d612bc6565b335f9081527ffad11248e1247cf2be78b2297df0a99e014395bebbed387f9305d245195f092d602052604090205460ff1615612c2057565b63e2517d3f60e01b5f52336004527f6a1dd52dcad5bd732e45b6af4e7344fa284e2d7d4b23b5b09cb55d36b0685c8760245260445ffd5b335f9081527fcd92a47a49af88ea215f843a7acddba636c1123555e1f5f07a13c3e84b9691d7602052604090205460ff1615612c8f57565b63e2517d3f60e01b5f52336004527f9939157be7760e9462f1d5a0dcad88b616ddc64138e317108b40b1cf5560134860245260445ffd5b805f525f60205260ff612ced3360405f20906001600160a01b03165f5260205260405f2090565b541615612cf75750565b63e2517d3f60e01b5f523360045260245260445ffd5b805f525f60205260ff612d348360405f20906001600160a01b03165f5260205260405f2090565b5416612d9f57805f525f602052612d5f8260405f20906001600160a01b03165f5260205260405f2090565b805460ff1916600117905533916001600160a01b0316907f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d5f80a4600190565b50505f90565b805f525f60205260ff612dcc8360405f20906001600160a01b03165f5260205260405f2090565b541615612d9f57805f525f602052612df88260405f20906001600160a01b03165f5260205260405f2090565b805460ff1916905533916001600160a01b0316907ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b5f80a4600190565b979291909695939496612e4986848b6135a1565b612e5482828a613647565b8315612ebf57612e6a96612ab660208701612503565b03915afa988915610d3e575f99612e98575b50612b4291908915612e915730915b8c614129565b8a91612e8b565b612b4292919950612eb79060203d602011612be157612bd0818361066f565b989091612e7c565b7fbc0c932b000000000000000000000000000000000000000000000000000000005f5260045ffd5b989694612f719098949698612efd88868d6135a1565b612f0884848c613647565b612f1460208801612503565b95602087612f30610c1d610c1d6009546001600160a01b031690565b612f398b61250d565b6040518097819482936359f0aa3960e11b8452600484019092916001600160a01b0360209163ffffffff604085019616845216910152565b03915afa998a15610d3e578c935f9b612fb5575b508a15612fae5730915b6001600160a01b0387166001600160a01b0387161493612b42956141f4565b8b91612f8f565b612fcf919b5060203d602011612be157612bd0818361066f565b995f612f85565b9290916001600160a01b039081604051947f23b872dd000000000000000000000000000000000000000000000000000000005f52166004521660245260445260205f60648180865af160015f511481161561305a575b6040919091525f606052155b61303f5750565b635274afe760e01b5f526001600160a01b031660045260245ffd5b6001811516613070573d15833b1515161661302c565b503d5f823e3d90fd5b9190916001600160a01b038116918215612400576123fb816123e37f1b3d7edb2e9c0b0e7c525b20aaaef0f5940d2ed71663c7d39266ecafac72885993875f96876148dd565b90916001600160a01b03821690811561242c576123fb816123e37f1b3d7edb2e9c0b0e7c525b20aaaef0f5940d2ed71663c7d39266ecafac72885993875f80986148dd565b916001600160a01b03604051927fa9059cbb000000000000000000000000000000000000000000000000000000005f521660045260245260205f60448180865af160015f511481161561315e575b60409190915215613038565b6001811516613070573d15833b15151616613152565b8147106131da575f9182916040519161318e60208461066f565b8383528392602001916001600160a01b03165af1156131a957565b3d15155f03611de2577fd6bda275000000000000000000000000000000000000000000000000000000005f5260045ffd5b50477fcf479181000000000000000000000000000000000000000000000000000000005f5260045260245260445ffd5b5190600482101561002a57565b919082604091031261002a57602061322e8361320a565b920151611f46816102f6565b9294936001600160a01b0361325b8193604095606088526060880191611e7a565b9616602085015216910152565b916020611f46938181520191611e7a565b3d156132a3573d9061328a8261251e565b91613298604051938461066f565b82523d5f602084013e565b606090565b60208183031261002a5780519067ffffffffffffffff821161002a570181601f8201121561002a578051906132dc8261251e565b926132ea604051948561066f565b8284526020838301011161002a57815f9260208093018386015e8301015290565b6042906133166149c6565b90604051917f19010000000000000000000000000000000000000000000000000000000000008352600283015260228201522090565b90604183036133765761336f9250602081013591604082359201355f1a90614ae2565b9192909190565b50505f9160029190565b906064846020955f9560405194630b135d3f60e11b86526004860152604060248601528160448601528385013701915afa630b135d3f60e11b5f5114601f3d11161690565b80156134cc576133e873eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee615513565b5c908082019081125f83129080158216911516176115a95761031491158015806134c4575b1561345f57506134456134407fee3c9c434505299f2450d3624302a27b8a6978e973825330bc744ba925eec1995c611e01565b614b89565b73eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee614bba565b806134bb575b15613445576134947fee3c9c434505299f2450d3624302a27b8a6978e973825330bc744ba925eec1995c611fa6565b7fee3c9c434505299f2450d3624302a27b8a6978e973825330bc744ba925eec1995d613445565b50801515613465565b50811561340d565b50565b908015611d24576134df82615513565b5c918183019182125f84129080158216911516176115a9576103149215801580613599575b1561355b57506135347fee3c9c434505299f2450d3624302a27b8a6978e973825330bc744ba925eec1995c611e01565b7fee3c9c434505299f2450d3624302a27b8a6978e973825330bc744ba925eec1995d614bba565b80613590575b15614bba576135347fee3c9c434505299f2450d3624302a27b8a6978e973825330bc744ba925eec1995c611fa6565b50811515613561565b508215613504565b9190911561361f5781156135f757801580156135ee575b6135c0575050565b7fa6ce01ff000000000000000000000000000000000000000000000000000000005f5260045260245260445ffd5b508181116135b8565b7f6fa417d5000000000000000000000000000000000000000000000000000000005f5260045ffd5b7f40b71e18000000000000000000000000000000000000000000000000000000005f5260045ffd5b6001600160a01b0316159190821561367a575b50811561366857506127d857565b6001600160a01b03915016155f6127d1565b6001600160a01b03161591505f61365a565b9060191161002a5760050190601490565b909291928360191161002a57831161002a57601901916018190190565b356bffffffffffffffffffffffff198116929190601482106136da575050565b6bffffffffffffffffffffffff1960149290920360031b82901b16169150565b918160141161002a57823560601c92601401916013190190565b908160a091031261002a576137288161320a565b916020820151613737816102f6565b916040810151613746816102f6565b9160806060830151613757816102f6565b920151611f4681610e2c565b9260409261378a916001600160a01b03939796978652606060208701526060860191611e7a565b9416910152565b929493919461379f84614558565b837f098a7a3b47801589e8cdf9ec791b93ad44273246946c32ef1fc4dbe45390c80e5d60017f8c47a7e3f4c2e1b5a6d9f0e8c7b3a2d1e4f5c6b7a8d9e0f1c2b3a4d5e6f7c8d95d5f7f7b3c4e5f6a8d9e0f1c2b3a4d5e6f7c8d9e0f1c2b3a4d5e6f7c8d9e0f1c2b3a4d5d817fce9e2e8e50d57f2d688020ea7ab16e2039bcf4dc7175eba827e178586597bb395d604051936314b471d360e31b855260a0858061384c858b60048401613268565b03816001600160a01b0385165afa968715610d3e575f925f915f915f985f9b613ad6575b506001600160a01b0389166001600160a01b03841614613aba575f839281928a8e8d9a9998977f0c22c14aba48b0e26e3b58475c66f358c352532122e537c32e8184c0159e6e105d8414613aa657506139186138dc8460016138d330809e614bc3565b9d898d8c614731565b926122418d60405194859360208501977f6df0e4a800000000000000000000000000000000000000000000000000000000895260248601613763565b5190865af4916002613928613279565b955f7f098a7a3b47801589e8cdf9ec791b93ad44273246946c32ef1fc4dbe45390c80e5d5f7f8c47a7e3f4c2e1b5a6d9f0e8c7b3a2d1e4f5c6b7a8d9e0f1c2b3a4d5e6f7c8d95d5f7f7b3c4e5f6a8d9e0f1c2b3a4d5e6f7c8d9e0f1c2b3a4d5e6f7c8d9e0f1c2b3a4d5d5f7fce9e2e8e50d57f2d688020ea7ab16e2039bcf4dc7175eba827e178586597bb395d5f7f0c22c14aba48b0e26e3b58475c66f358c352532122e537c32e8184c0159e6e105d6139e1816125a3565b14613a96575b505015613a52575050906139fe613a039285614bc3565b611e0f565b9380613a3f575b613a2d575b83906001600160a01b03163014613a24575050565b610314916134cf565b92613a39908483614c3e565b92613a0f565b50306001600160a01b0382161415613a0a565b815115613a625750602081519101fd5b7f2680f8fe000000000000000000000000000000000000000000000000000000005f526001600160a01b031660045260245ffd5b613a9f916147eb565b5f806139e7565b6138dc8460016138d361391894809e614bc3565b63ce89c4bd60e01b5f526001600160a01b03831660045260245ffd5b93509950935050613b0091955060a03d60a011613b0c575b613af8818361066f565b810190613714565b9793949097995f613870565b503d613aee565b9594929395919091613b2481614558565b807f098a7a3b47801589e8cdf9ec791b93ad44273246946c32ef1fc4dbe45390c80e5d867f8c47a7e3f4c2e1b5a6d9f0e8c7b3a2d1e4f5c6b7a8d9e0f1c2b3a4d5e6f7c8d95d5f7f7b3c4e5f6a8d9e0f1c2b3a4d5e6f7c8d9e0f1c2b3a4d5e6f7c8d9e0f1c2b3a4d5d827fce9e2e8e50d57f2d688020ea7ab16e2039bcf4dc7175eba827e178586597bb395d604051946314b471d360e31b865260a08680613bd0848760048401613268565b03816001600160a01b0386165afa978815610d3e575f935f925f925f995f9c613c80575b506001600160a01b038a166001600160a01b03851614613c645783925f926139186138dc8f86958f9c9b9a998f909288937f0c22c14aba48b0e26e3b58475c66f358c352532122e537c32e8184c0159e6e105d8314613c5957506138d330809e614bc3565b6138d390809e614bc3565b63ce89c4bd60e01b5f526001600160a01b03841660045260245ffd5b93509a5094509650613ca1915060a03d60a011613b0c57613af8818361066f565b9891939590929392989a5f613bf4565b9594929395919091613cc281614558565b807f098a7a3b47801589e8cdf9ec791b93ad44273246946c32ef1fc4dbe45390c80e5d867f8c47a7e3f4c2e1b5a6d9f0e8c7b3a2d1e4f5c6b7a8d9e0f1c2b3a4d5e6f7c8d95d60017f7b3c4e5f6a8d9e0f1c2b3a4d5e6f7c8d9e0f1c2b3a4d5e6f7c8d9e0f1c2b3a4d5d827fce9e2e8e50d57f2d688020ea7ab16e2039bcf4dc7175eba827e178586597bb395d604051946314b471d360e31b865260a08680613d6f848760048401613268565b03816001600160a01b0386165afa978815610d3e575f935f925f925f995f9c613df9575b506001600160a01b038a166001600160a01b03851614613c645783925f926139186138dc8f86958f9c9b9a998f90926001937f0c22c14aba48b0e26e3b58475c66f358c352532122e537c32e8184c0159e6e105d8814613c5957506138d330809e614bc3565b93509a5094509650613e1a915060a03d60a011613b0c57613af8818361066f565b9891939590929392989a5f613d93565b9394919392901561411857613e4d610c1d610c1d6009546001600160a01b031690565b604080517f9f6523db000000000000000000000000000000000000000000000000000000008152855160048201526020860151602482015290850151604482015260608501516001600160a01b03908116606483015260808601518116608483015260a086015163ffffffff1660a483015260c08601511660c482015293905f90859060e49082905afa938415610d3e575f946140f4575b508051925f965f975b8651891015613f1a57613f126001916020613f098c8b611d4e565b51015190611fb4565b980197613eee565b9092949750959092958451908181116140c65750505f5b8551811015613ff4576020613f468288611d4e565b510151613f56575b600101613f31565b96613fec600191613fd7888b6020613fce613fc7613fb9613fab858f60800197613fa6613f8a8a516001600160a01b031690565b613fa089613f988686611d4e565b5101516145d4565b906134cf565b611d4e565b51516001600160a01b031690565b94516001600160a01b031690565b928d611d4e565b51015191615565565b6020613fe38b8a611d4e565b51015190611e0f565b979050613f4e565b50929093611f4695929661403e91805161406f575b505b85608084019461402286516001600160a01b031690565b908761403860c08801516001600160a01b031690565b94614d97565b9261406961405b606060408501519401516001600160a01b031690565b93516001600160a01b031690565b93614f53565b7f90d361ec764fa5642d6f3c5dc38434ac048b8ece7df64dcfa2331ea2114f44806140bd6001600160a01b036140af60808801516001600160a01b031690565b169260405191829182614d49565b0390a25f614009565b7ff3603006000000000000000000000000000000000000000000000000000000005f5260045260245260445ffd5b6141119194503d805f833e614109818361066f565b810190614ca3565b925f613ee5565b8261403e611f46959396945161400b565b9392915f91808201815b8181106141cc5750505f935f19840192848411925b8587106141585750505050505050565b9061416991989293949596986150ee565b61417982959394959482966136fa565b90896115a95760019561419b958f958d87036141a857505089945b1593613b13565b9801959493929190614148565b6141b86141c0916141c6936150ee565b5050906136fa565b91615121565b94614194565b60019490940193803560f01c01600201614133565b818102929181159184041417156115a957565b9491939290928115612ebf5761420984611f64565b9161421385611f64565b95815f98806142218a611d3c565b5261422b86611d3c565b525b61425857505050505f1461424057505090565b614254925061424e90611e01565b90611d4e565b5190565b839761427e939462ffffff6142e96142728a968c966150ee565b989299919098996151c0565b9398929a919497909a16918215155f146143a357506142b7916142a86142ae9260ff8a1690611d4e565b516141e1565b62ffffff900490565b945b60ff6142c53095611e01565b97169687148061439b575b801561438b575b614383575b60ff169785891593613cb1565b9282614347579183918161430489989795968f9b9a97611fb4565b9d6143226143419561431c61433a9661432994611d4e565b51611fb4565b918b611d4e565b52614334848a611d4e565b51611e0f565b9187611d4e565b5261422d565b9a96959493916143419181614329614322878f848e8261437d8f9d9a61437761433a9c61431c8361431c99611d4e565b92611d4e565b52611d4e565b8b93506142dc565b508c80156142d7575086156142d7565b508c156142d0565b6143b3925060ff88169150611d4e565b51946142b9565b60ff81146143cb57611f469061521a565b506040515f6007548060011c91600182168015614496575b60208410811461448257838552849260208401919081156144695750600114614414575b50611f469250038261066f565b60075f90815291507fa66cc928b5edb82af9bd49922954155ab7b0942694bea4ce44661d9a8736c6885b8483106144525750611f469350015f614407565b80548284015285935060209092019160010161443e565b60ff1916825250611f4693151560051b0190505f614407565b634e487b7160e01b5f52602260045260245ffd5b92607f16926143e3565b60ff81146144b157611f469061521a565b506040515f6008548060011c9160018216801561454e575b602084108114614482578385528492602084019190811561446957506001146144f95750611f469250038261066f565b60085f90815291507ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee35b8483106145375750611f469350015f614407565b805482840152859350602090920191600101614523565b92607f16926144c9565b6001600160a01b0316805f52600660205260405f205480156145a857421061457d5750565b7f45d4ba96000000000000000000000000000000000000000000000000000000005f5260045260245ffd5b507fa6cdd2a5000000000000000000000000000000000000000000000000000000005f5260045260245ffd5b7f800000000000000000000000000000000000000000000000000000000000000081146115a9575f0390565b929391949061460e816125a3565b600381146147285761461f816125a3565b600181146147165782907fce5ffa91873ede1b462af74ea59bab3721b06b0ff726b90311437efde20017955c8261470d575b5061465b816125a3565b600281146146d35761466c816125a3565b1561468057633fe0a7ad60e01b5f5260045ffd5b1590816146ca575b50806146c3575b6146bc57156146a157611f46926152f0565b611f46926146b76146b1846145d4565b826134cf565b614c3e565b5050905090565b505f61468f565b9050155f614688565b50929493925050156146f657906146ee611f469230836152f0565b928391615271565b8092611f46926147086146b1846145d4565b615271565b1593505f614651565b5050505090611f4690613fa0836145d4565b50505050905090565b929391949061473f816125a3565b6003811461472857614750816125a3565b600181146147165782907fce5ffa91873ede1b462af74ea59bab3721b06b0ff726b90311437efde20017955c826147e2575b5061478c816125a3565b600281146146d35761479d816125a3565b156147b157633fe0a7ad60e01b5f5260045ffd5b1590816147d9575b50806147d1576146bc57156146a157611f46926152f0565b50600161468f565b9050155f6147b9565b1593505f614782565b6001600160a01b0316906040517fdd62ed3e0000000000000000000000000000000000000000000000000000000081523060048201526001600160a01b0382166024820152602081604481865afa908115610d3e575f916148be575b50614850575050565b61485b5f8284615657565b15614864575050565b61486e81836156a5565b156148a2575f61487e9183615704565b156148865750565b6001600160a01b0390635274afe760e01b5f521660045260245ffd5b6001600160a01b0382635274afe760e01b5f521660045260245ffd5b6148d7915060203d602011610d3757610d29818361066f565b5f614847565b6001600160a01b03811680614930575b50506001600160a01b03811661490257505050565b61492c91610b01614924926001600160a01b03165f52600560205260405f2090565b918254611fb4565b9055565b5f52600560205260405f20835f5260205260405f20548481106149775783610b018661496f9303936001600160a01b03165f52600560205260405f2090565b555f806148ed565b6040517fb1b4fec00000000000000000000000000000000000000000000000000000000081526001600160a01b0392909216600483015260248201526044810184905260648101839052608490fd5b6001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016301480614ab9575b15614a21577f000000000000000000000000000000000000000000000000000000000000000090565b60405160208101907f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f82527f000000000000000000000000000000000000000000000000000000000000000060408201527f000000000000000000000000000000000000000000000000000000000000000060608201524660808201523060a082015260a08152614ab360c08261066f565b51902090565b507f000000000000000000000000000000000000000000000000000000000000000046146149f8565b91907f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a08411614b59579160209360809260ff5f9560405194855216868401526040830152606082015282805260015afa15610d3e575f516001600160a01b03811615614b4f57905f905f90565b505f906001905f90565b5050505f9160039190565b5f7fee3c9c434505299f2450d3624302a27b8a6978e973825330bc744ba925eec1995d565b7fee3c9c434505299f2450d3624302a27b8a6978e973825330bc744ba925eec1995d565b614bb75f91615513565b5d565b614bb790615513565b6001600160a01b031673eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee8103614bec57503190565b906001600160a01b03602460209260405194859384926370a0823160e01b84521660048301525afa908115610d3e575f91614c25575090565b611f46915060203d602011610d3757610d29818361066f565b90614c8d91614c4d8282614bc3565b936001600160a01b038216908373eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee8303614c9a57614c8892506001600160a01b0316613174565b614bc3565b9081039081116115a95790565b614c8892613104565b60208183031261002a5780519067ffffffffffffffff821161002a570181601f8201121561002a57805190614cd7826106a0565b92614ce5604051948561066f565b82845260208085019360061b8301019181831161002a57602001925b828410614d0f575050505090565b60408483031261002a5760206040918251614d298161064e565b8651614d34816102f6565b81528287015183820152815201930192614d01565b60206040818301928281528451809452019201905f5b818110614d6c5750505090565b825180516001600160a01b031685526020908101518186015260409094019390920191600101614d5f565b909491939185821015614f4a57614dae8287611e0f565b948511614f31578484614dc0926155b7565b614dc983615513565b5c5f811315614ddf5750505090611f46916134cf565b80614f0657506001600160a01b03821691308303614e055750505090611f46913361563b565b9091926001600160a01b031673eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee81145f14614e3b5750505090611f4691613174565b6040516370a0823160e01b81526001600160a01b038316600482015295509193909250602085602481855afa948515610d3e575f95614ed8575b509181614e88614eb39483602095613104565b60405180809581946370a0823160e01b8352600483019190916001600160a01b036020820193169052565b03915afa928315610d3e57611f4693614ed2925f91610d0f5750611e0f565b90611fb4565b614eb39391955091614e88614efb602094853d8711610d3757610d29818361066f565b969294505091614e75565b7fad778f04000000000000000000000000000000000000000000000000000000005f5260045260245ffd5b633f559c2360e21b5f526004829052602486905260445ffd5b50935050505090565b93909291945f614f6283615513565b5c136150a8575b50507fee3c9c434505299f2450d3624302a27b8a6978e973825330bc744ba925eec1995c937fce5ffa91873ede1b462af74ea59bab3721b06b0ff726b90311437efde20017955c600103615087576001851115614fd4576367521f4b60e01b5f52600485905260245ffd5b90919293600114615006575b50505b808210614fee575090565b633f559c2360e21b5f5260049190915260245260445ffd5b61500f82615513565b5c80158015615075575b61504a57509061503661503b926001600160a01b038316336130bf565b614bad565b615043614b64565b5f80614fe0565b7f955ec055000000000000000000000000000000000000000000000000000000005f5260045260245ffd5b5061507f826145d4565b811415615019565b50509091806150965750614fe3565b6367521f4b60e01b5f5260045260245ffd5b6150ba6150b4866145d4565b836134cf565b6001600160a01b03811630036150dd5750836150d6913361563b565b5f80614f69565b6150e8929491614c3e565b916150d6565b9091821560011461511557813560f01c906002830193600283809501019260011991030190565b5f925082915081908190565b906020916151759361513282614558565b6001600160a01b036040518096819582947fa44abc5300000000000000000000000000000000000000000000000000000000845288600485018181520191611e7a565b0392165afa908115610d3e575f9161518b575090565b90506020813d6020116151b8575b816151a66020938361066f565b8101031261002a5751611f46816102f6565b3d9150615199565b91908015611d4957823560f81c928160011015611d4957600181013560f81c928260051161002a5761056b600283013560e81c9380615214610c1d61520e615208848961368c565b906136ba565b60601c90565b9461369d565b60ff811690601f8211615249576040519161523660408461066f565b6020808452838101919036833783525290565b7fb3512b0c000000000000000000000000000000000000000000000000000000005f5260045ffd5b919091306001600160a01b0384160361528a575b505050565b6001600160a01b03169161529f828285615657565b156152a957505050565b6152b381846156a5565b156152dd57906152c39183615704565b156152cb5750565b635274afe760e01b5f5260045260245ffd5b82635274afe760e01b5f5260045260245ffd5b7f99298391997747e556e81b2d36d99151315b6c1b92e826ca8d37acad5fddaf705c927fd847dc13274ab371f6244234290f56fa8650ec9dceff86e20efe1ddc141bdb035c92907faf58e9f1b0923d55d0ec6a57763d43cd9bb1d6bd8bad5ce9522fbe772c6ec42b5c7f28d0e2684c9341fec58f816e0c375a4e51f9f34ec034a29c97467df00497c8d95c8083116154e3576001600160a01b038516916001600160a01b03811683036154a95750826153a891611e0f565b7f28d0e2684c9341fec58f816e0c375a4e51f9f34ec034a29c97467df00497c8d95d6153d48385614bc3565b941561549657506001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001690813b1561002a576040517f36c785160000000000000000000000000000000000000000000000000000000081526001600160a01b0396871660048201528387166024820152908616604482015294831660648601525f908590608490829084905af1918215610d3e57611f46946139fe93615482575b50614bc3565b8061118a5f6154909361066f565b5f61547c565b6139fe939183611f4697614c8893612fd6565b7f358c73f1000000000000000000000000000000000000000000000000000000005f526001600160a01b038087166004521660245260445ffd5b7fae0626b3000000000000000000000000000000000000000000000000000000005f52600452602482905260445ffd5b60405160208101916bffffffffffffffffffffffff199060601b1682527f547963686f5661756c742344454c544100000000000000000000000000000000603482015260248152614ab360448261066f565b8215615285576001600160a01b038116156124005761559d6001600160a01b03916001600160a01b03165f52600560205260405f2090565b91165f5260205260405f2080549182018092116115a95755565b929190928115615635576001600160a01b038416906001600160a01b0381165f52600560205260405f20825f5260205260405f20548381106155ff57506103149394506130bf565b6040516369dc250160e11b81526001600160a01b0392831660048201529186166024830152604482018490526064820152608490fd5b50509050565b9190918115615285576001600160a01b03610314931690613079565b92916001600160a01b036040519263095ea7b360e01b5f521660045260245260205f60448180875af19260015f5114841615615694575b50604052565b3d15903b151516909216915f61568e565b91906001600160a01b036040519163095ea7b360e01b5f52166004525f60245260205f60448180875af19260015f51148416156156e25750604052565b600184929415166156fb573b15153d151616915f61568e565b833d5f823e3d90fd5b92916001600160a01b036040519263095ea7b360e01b5f521660045260245260205f60448180875af19260015f51148416156156e2575060405256fea26469706673582212200c335e6f0a1338a4b8b162db37e93a73acd31afc3f8e0e82893981f48e58443264736f6c63430008210033","sourceMap":"10290:52495:43:-:0;;;;;;;;;-1:-1:-1;10290:52495:43;;;;;;;51318:12;10290:52495;51318:12;:::i;:::-;10290:52495;;;;;;;;;;;56234:94;;:::i;:::-;10290:52495;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;-1:-1:-1;;;;;10290:52495:43;;;;;:::o;:::-;;;;;;;:::i;:::-;:::o;:::-;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;:::i;:::-;;;;;;-1:-1:-1;;10290:52495:43;;;;;;;;;:::i;:::-;-1:-1:-1;;;;;10290:52495:43;;;;-1:-1:-1;10290:52495:43;2158:14:44;10290:52495:43;;;-1:-1:-1;10290:52495:43;;-1:-1:-1;10290:52495:43;;;;;-1:-1:-1;10290:52495:43;;;;;;;;;;;;;;-1:-1:-1;;10290:52495:43;;;;;;;;;;;;;;;13324:44;2654:32:3;2639:47;;:87;;;;10290:52495:43;13324:98;;;;;;10290:52495;;;;;;;;;;;13324:98;1313:26:14;1298:41;;-1:-1:-1;1298:81:14;;;;13324:98:43;;;;;;1298:81:14;;;;;;2639:87:3;829:40:30;844:25;829:40;;2639:87:3;;10290:52495:43;;;;;;;;;;;;;;:::i;:::-;;;;;;;;:::o;:::-;;;;2560:6:14;10290:52495:43;;;:::i;:::-;735:10:17;;2560:6:14;:::i;:::-;10290:52495:43;;;2584:4:14;10290:52495:43;;;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;:::-;;;-1:-1:-1;;10290:52495:43;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;30090:216;29940:8;10290:52495;;;:::i;:::-;1315:72:21;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;2989:103:22;;:::i;:::-;29940:8:43;:::i;:::-;29997;;;:::i;:::-;30066:5;;;;:::i;:::-;30090:216;:::i;:::-;2365:1:22;1505:66;2407:1;10290:52495:43;;;;;;;;;;;;;:::o;:::-;;;;;;-1:-1:-1;;10290:52495:43;;;;;;;-1:-1:-1;;;;;2192:43:42;10290:52495:43;;;;;-1:-1:-1;;;10290:52495:43;;;;;;;;;;;;;;;;;;;;;;;:::o;:::-;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;:::o;:::-;;;;;94:42:39;10290:52495:43;;:::i;:::-;;;;;;;;;;;:::o;:::-;;;;;;-1:-1:-1;;10290:52495:43;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;51825:240;;;:::i;10290:52495::-;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;-1:-1:-1;;10290:52495:43;;;;;;;11242:6;10290:52495;;;;;;;;;-1:-1:-1;;10290:52495:43;;;;-1:-1:-1;;;;;10290:52495:43;;;;;:::i;:::-;2475:4:3;;:::i;:::-;10290:52495:43;;-1:-1:-1;10290:52495:43;3552:28:41;10290:52495:43;;-1:-1:-1;10290:52495:43;;;;3603:23:41;-1:-1:-1;3603:23:41;;10290:52495:43;;;;;;;-1:-1:-1;;10290:52495:43;;;;;;;;3867:6:3;10290:52495:43;3867:6:3;10290:52495:43;;3867:22:3;10290:52495:43;3867:6:3;10290:52495:43;3867:22:3;10290:52495:43;3776:120:3;;10290:52495:43;;;;;;;;;;;;;-1:-1:-1;;10290:52495:43;;;;4296:25:3;10290:52495:43;;;;;;;:::i;:::-;2475:4:3;4266:18;;3867:6;10290:52495:43;3867:6:3;10290:52495:43;;3867:22:3;10290:52495:43;3867:6:3;10290:52495:43;3867:22:3;10290:52495:43;3776:120:3;;4266:18;2475:4;:::i;:::-;4296:25;:::i;10290:52495:43:-;;;;;;-1:-1:-1;;10290:52495:43;;;;;;;11111:66;10290:52495;;;;;;;;;-1:-1:-1;;10290:52495:43;;;;;;;;;;;:::i;:::-;735:10:17;-1:-1:-1;;;;;10290:52495:43;;5387:34:3;5383:102;;5495:37;;;:::i;5383:102::-;5444:30;-1:-1:-1;5444:30:3;10290:52495:43;-1:-1:-1;5444:30:3;10290:52495:43;;23172:224;23025:5;10290:52495;;;:::i;23025:5::-;23079:8;;;:::i;:::-;23148:5;;;;:::i;:::-;23172:224;:::i;10290:52495::-;;;;;;-1:-1:-1;;10290:52495:43;;;;735:10:17;10290:52495:43;;;;;;;;;;;;;3485:23:3;3481:108;;10290:52495:43;;;;;2140:9:21;2136:62;;10290:52495:43;;;;;2674:22:21;10290:52495:43;;;735:10:17;10290:52495:43;;2674:22:21;10290:52495:43;2136:62:21;2172:15;10290:52495:43;2172:15:21;10290:52495:43;;2172:15:21;3481:108:3;-1:-1:-1;;;10290:52495:43;3531:47:3;735:10:17;10290:52495:43;;10982:66;10290:52495;;;;3531:47:3;10290:52495:43;;-1:-1:-1;;10290:52495:43;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;:::i;:::-;;;;;18002:240;17904:5;10290:52495;;;:::i;:::-;1315:72:21;;;;;;;;;;;;;;;;;;;;;;;:::i;17904:5:43:-;17979:4;;;;:::i;:::-;18002:240;:::i;10290:52495::-;;;;;;;:::i;:::-;735:10:17;;;;6353:19:14;6349:91;;-1:-1:-1;;;;;10290:52495:43;;6453:21:14;;;6449:92;;6550:31;735:10:17;6550:27:14;735:10:17;;;-1:-1:-1;10290:52495:43;6550:11:14;10290:52495:43;;;-1:-1:-1;10290:52495:43;;-1:-1:-1;;;;;10290:52495:43;;;;;;;;;;6550:27:14;10290:52495:43;;;;;;;;;;6550:31:14;2407:1:22;10290:52495:43;;;;;735:10:17;;6605:36:14;;10290:52495:43;;6605:36:14;10290:52495:43;;2153:4:14;10290:52495:43;;;;;;;;;;6449:92:14;6497:33;-1:-1:-1;6497:33:14;-1:-1:-1;10290:52495:43;;;-1:-1:-1;6497:33:14;6349:91;6395:34;-1:-1:-1;6395:34:14;-1:-1:-1;10290:52495:43;;;-1:-1:-1;6395:34:14;10290:52495:43;;;;;;-1:-1:-1;;10290:52495:43;;;;;-1:-1:-1;;;;;53161:14:43;10290:52495;;;;;;;;;;;-1:-1:-1;;10290:52495:43;;;;;;;;;:::i;:::-;;;1315:72:21;;;:::i;:::-;2989:103:22;;:::i;:::-;-1:-1:-1;;;;;10290:52495:43;;4316:19:44;;;4312:77;;4402:11;;4398:68;;13180:23;;-1:-1:-1;;;;;10290:52495:43;13188:14:44;-1:-1:-1;;;;;10290:52495:43;;;13180:23:44;4516:20;94:42:39;4516:20:44;;94:42:39;;4594:9:44;;4668:6;4594:9;4586:46;4594:9;;:19;4586:46;:::i;:::-;4652:10;4668:6;:::i;:::-;3054:1:22;2365;1505:66;2407:1;4047:253;4512:723:44;4706:61;4714:9;:14;4706:61;:::i;:::-;10290:52495:43;;-1:-1:-1;;;4959:38:44;;4991:4;10290:52495:43;4959:38:44;;10290:52495:43;;;;;;4959:38:44;;;;;;;;-1:-1:-1;4959:38:44;;;4512:723;4991:4;5069:6;4991:4;;5042:10;5069:6;;:::i;:::-;10290:52495:43;;-1:-1:-1;;;5125:38:44;;4991:4;10290:52495:43;5125:38:44;;10290:52495:43;;;;;;;;;;5125:38:44;;;;;;;5215:8;5125:38;:54;:38;-1:-1:-1;5125:38:44;;;4512:723;5125:54;;:::i;:::-;5042:10;;5215:8;:::i;:::-;4512:723;;5125:38;;;;10290:52495:43;5125:38:44;10290:52495:43;5125:38:44;;;;;;;;:::i;:::-;;;;;:::i;:::-;;;;;;;;;;;:::i;4959:::-;5069:6;4959:38;;;;;10290:52495:43;4959:38:44;10290:52495:43;4959:38:44;;;;;;;:::i;:::-;;;;;4398:68;4436:19;-1:-1:-1;4436:19:44;10290:52495:43;-1:-1:-1;4436:19:44;4312:77;4358:20;-1:-1:-1;4358:20:44;10290:52495:43;-1:-1:-1;4358:20:44;10290:52495:43;;;;;;-1:-1:-1;;10290:52495:43;;;;;;;10744:66;10290:52495;;;;;;;;;-1:-1:-1;;10290:52495:43;;;;;;;11301:289;10290:52495;;;;;;;;;;:::o;:::-;;;;;;-1:-1:-1;;10290:52495:43;;;;;;;;;:::i;:::-;;;;;;:::i;:::-;735:10:17;7163:19:14;7159:91;;-1:-1:-1;;;;;10290:52495:43;;7263:21:14;;;7259:92;;735:10:17;7360:34:14;:45;735:10:17;;-1:-1:-1;10290:52495:43;7360:18:14;10290:52495:43;;;-1:-1:-1;10290:52495:43;;-1:-1:-1;;;;;10290:52495:43;;;;;;;;;;7360:34:14;10290:52495:43;;;;;;;;;;;;;;;7360:45:14;10290:52495:43;;;;;;;735:10:17;;7420:37:14;;10290:52495:43;;7420:37:14;10290:52495:43;;2153:4:14;10290:52495:43;;;;;;;;;;;-1:-1:-1;;10290:52495:43;;;;;;;;;:::i;:::-;1720:27:14;10290:52495:43;;;;;:::i;:::-;-1:-1:-1;;;;;10290:52495:43;;;;-1:-1:-1;10290:52495:43;1720:11:14;10290:52495:43;;;-1:-1:-1;10290:52495:43;;-1:-1:-1;;;;;10290:52495:43;;;;;;;;;;1720:27:14;10290:52495:43;-1:-1:-1;10290:52495:43;;;;;-1:-1:-1;10290:52495:43;;;;;;;;;;;;;;-1:-1:-1;;10290:52495:43;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;;;;:::o;:::-;;-1:-1:-1;;10290:52495:43;;;;;;;;;;;:::i;:::-;;;;;:::i;:::-;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;:::i;:::-;;;;;;:::i;:::-;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;:::i;:::-;;;;27714:5;10290:52495;;;:::i;:::-;1315:72:21;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;27714:5:43:-;94:42:39;-1:-1:-1;;;;;10290:52495:43;;27829:22;27825:104;;10290:52495;;28012:224;27988:5;;;;;;;;;;;;;:::i;28012:224::-;3054:1:22;2365;1505:66;2407:1;4047:253;3054:1;10290:52495:43;;;;;;;;;;;;;27825:104;-1:-1:-1;;;;;27867:7:43;;;;;;;;;;;;10290:52495;27867:51;;;;;;10290:52495;;-1:-1:-1;;;27867:51:43;;10290:52495;;;;;27867:51;;27882:10;10290:52495;27867:51;;;:::i;:::-;;;;-1:-1:-1;27867:51:43;;;;;;;;;10290:52495;27867:51;28012:224;27867:51;;;27825:104;;;;;;;;;;;;;;;;27867:51;;;-1:-1:-1;27867:51:43;;;:::i;:::-;;;:::i;:::-;;;;10290:52495;;;;;;-1:-1:-1;;10290:52495:43;;;;2475:4:3;;:::i;:::-;53674:33:43;10290:52495;;;;;;53777:17;;53773:92;;53925:15;;:30;53921:160;;10290:52495;-1:-1:-1;;;;;10290:52495:43;;;54108:14;10290:52495;-1:-1:-1;;;;;10290:52495:43;;;;;-1:-1:-1;;;;;10290:52495:43;;;;54181:24;;-1:-1:-1;;;;;10290:52495:43;-1:-1:-1;;54108:14:43;10290:52495;;;54108:14;10290:52495;;54181:24;54215:34;-1:-1:-1;;53674:33:43;10290:52495;;53674:33;10290:52495;;54215:34;54259:37;10290:52495;53674:33;10290:52495;;53674:33;10290:52495;;54259:37;10290:52495;;;54311:40;10290:52495;54311:40;;10290:52495;53921:160;53978:92;10290:52495;53978:92;10290:52495;;53925:15;10290:52495;;;;53978:92;53773;53817:37;10290:52495;53817:37;10290:52495;;53817:37;10290:52495;;;;;;-1:-1:-1;;10290:52495:43;;;;735:10:17;10290:52495:43;;;;;;;;;;;;;3485:23:3;3481:108;;1315:72:21;;:::i;:::-;2408:4;10290:52495:43;;;;;;;;2427:20:21;10290:52495:43;;;735:10:17;10290:52495:43;;2427:20:21;10290:52495:43;3481:108:3;-1:-1:-1;;;10290:52495:43;3531:47:3;735:10:17;10290:52495:43;;10862:66;10290:52495;;;;3531:47:3;10290:52495:43;;;;;;;;;;;;;;;;;-1:-1:-1;10290:52495:43;;;;;;;;-1:-1:-1;;10290:52495:43;;;;:::o;:::-;;;;;;-1:-1:-1;;10290:52495:43;;;;;6183:41:27;:5;:41;:::i;:::-;6638:47;:8;:47;:::i;:::-;10290:52495:43;5752:16:27;;:::i;:::-;10290:52495:43;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;:::i;:::-;5674:13:27;10290:52495:43;;;;5709:4:27;10290:52495:43;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;10290:52495:43;;;;;;;;;;;;;;;;;;;-1:-1:-1;;10290:52495:43;;;;;;;;;:::i;:::-;2475:4:3;;:::i;:::-;1315:72:21;;:::i;:::-;52658:25:43;;:30;52654:108;;11242:6;52789:15;10290:52495;52789:15;;;10290:52495;;;52849:37;10290:52495;;;;-1:-1:-1;;;;;10290:52495:43;;;;;;;;;;;;;;;;;52961:39;;;;52896:50;10290:52495;52961:39;;;;10290:52495;;;:::i;52654:108::-;-1:-1:-1;;;;;52711:40:43;;-1:-1:-1;52711:40:43;10290:52495;;;;-1:-1:-1;52711:40:43;10290:52495;;;;;;-1:-1:-1;;10290:52495:43;;;;;;2920:29:3;10290:52495:43;;;;;;;:::i;:::-;-1:-1:-1;10290:52495:43;-1:-1:-1;10290:52495:43;;;-1:-1:-1;10290:52495:43;;-1:-1:-1;;;;;10290:52495:43;;;;;;;;;;2920:29:3;10290:52495:43;;;;;;;;;;;;;;;;-1:-1:-1;;10290:52495:43;;;;;;;;:::i;:::-;;;;:::i;:::-;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;:::i;:::-;;;;:::i;:::-;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;20378:7;10290:52495;;;;;;:::i;:::-;20378:7;;;;:::i;10290:52495::-;;;;;;-1:-1:-1;;10290:52495:43;;;;;;;;;;;;;;;;25366:224;25268:5;10290:52495;;;:::i;25268:5::-;25343:4;;;;:::i;10290:52495::-;;;;;;-1:-1:-1;;10290:52495:43;;;;-1:-1:-1;;;;;10290:52495:43;;;;;:::i;:::-;;-1:-1:-1;10290:52495:43;1413:63:41;10290:52495:43;;;;-1:-1:-1;10290:52495:43;;;;;;;;;;;;;;-1:-1:-1;;10290:52495:43;;;;;;1906:34:14;10290:52495:43;;;;;:::i;:::-;-1:-1:-1;;;;;10290:52495:43;;;;;;:::i;:::-;;-1:-1:-1;10290:52495:43;1906:18:14;10290:52495:43;;;-1:-1:-1;10290:52495:43;;-1:-1:-1;;;;;10290:52495:43;;;;;;;;;;;;;;34332:8;10290:52495;;;:::i;34332:8::-;94:42:39;-1:-1:-1;;;;;10290:52495:43;;34450:22;34446:104;;10290:52495;;34632:216;34608:5;;;;;;;;;;;;;:::i;34446:104::-;-1:-1:-1;;;;;34488:7:43;;;;;;;;;;;;10290:52495;34488:51;;;;;;10290:52495;;-1:-1:-1;;;34488:51:43;;10290:52495;;;;;34488:51;;34503:10;10290:52495;34488:51;;;:::i;:::-;;;;-1:-1:-1;34488:51:43;;;;;;;;;10290:52495;34488:51;34632:216;34488:51;;;34446:104;;;;;;;;;;;;;;;;34488:51;;;-1:-1:-1;34488:51:43;;;:::i;:::-;;;;10290:52495;;;;;;-1:-1:-1;;10290:52495:43;;;;4713:26:3;10290:52495:43;;;;;;;:::i;:::-;2475:4:3;4683:18;;3867:6;10290:52495:43;3867:6:3;10290:52495:43;;3867:22:3;10290:52495:43;3867:6:3;10290:52495:43;3867:22:3;10290:52495:43;3776:120:3;;2475:4;4713:26;:::i;10290:52495:43:-;;;;;;-1:-1:-1;;10290:52495:43;;;;;;;10862:66;10290:52495;;;;;;;;32101:216;32000:8;10290:52495;;;:::i;32000:8::-;32078:4;;;;:::i;10290:52495::-;;;;;;-1:-1:-1;;10290:52495:43;;;;;;;;;:::i;:::-;;;2989:103:22;;:::i;:::-;-1:-1:-1;;;;;10290:52495:43;;5480:19:44;;;5476:77;;5566:11;;5562:68;;13180:23;-1:-1:-1;;;;;10290:52495:43;;13188:14:44;10290:52495:43;13180:23:44;5703:10;2158:25;5703:10;2158:21;5703:10;-1:-1:-1;;;;;10290:52495:43;;;2158:14:44;10290:52495:43;;;;;;;2158:25:44;10290:52495:43;5732:16:44;;;5728:146;;5703:10;;;5906:6;5703:10;;5906:6;:::i;:::-;94:42:39;5977:20:44;;94:42:39;;6052:6:44;5703:10;;;6052:6;:::i;5973:174::-;6129:6;5703:10;;6129:6;;:::i;5728:146::-;10290:52495:43;;-1:-1:-1;;;5771:92:44;;5703:10;10290:52495:43;5771:92:44;;10290:52495:43;-1:-1:-1;;;;;10290:52495:43;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;10290:52495:43;;5771:92:44;10290:52495:43;;;;;;-1:-1:-1;;10290:52495:43;;;;53398:21;10290:52495;;;;-1:-1:-1;;;;;10290:52495:43;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;10290:52495:43;;;;;;;10982:66;10290:52495;;;;;15621:240;15474:5;10290:52495;;;:::i;15474:5::-;15528:8;;;:::i;:::-;15597:5;;;;:::i;10290:52495::-;;;;;;-1:-1:-1;;10290:52495:43;;;;;;;;;:::i;:::-;;;;;;:::i;:::-;;;;;;-1:-1:-1;;;;;10290:52495:43;;735:10:17;;2844:16:14;;;:47;;;10290:52495:43;2840:121:14;;10290:52495:43;3002:6:14;;;;:::i;:::-;10290:52495:43;;2153:4:14;10290:52495:43;;;;;2840:121:14;10290:52495:43;-1:-1:-1;10290:52495:43;1720:11:14;10290:52495:43;;1720:27:14;735:10:17;10290:52495:43;-1:-1:-1;10290:52495:43;;-1:-1:-1;;;;;10290:52495:43;;;;;;;;;;1720:27:14;10290:52495:43;-1:-1:-1;10290:52495:43;;;;-1:-1:-1;10290:52495:43;;7948:17:14;;7929:36;;7925:319;;2840:121;;;;7925:319;7985:25;;;7981:138;;10290:52495:43;;3002:6:14;10290:52495:43;-1:-1:-1;10290:52495:43;1720:11:14;10290:52495:43;;;8160:31:14;735:10:17;8160:27:14;735:10:17;10290:52495:43;-1:-1:-1;10290:52495:43;;-1:-1:-1;;;;;10290:52495:43;;;;;;;;;;8160:31:14;2407:1:22;7925:319:14;;;7981:138;10290:52495:43;;8037:67:14;;;735:10:17;10290:52495:43;8037:67:14;;10290:52495:43;;;;;;;;;;;;;;;;;;;;;;5771:92:44;2844:47:14;10290:52495:43;;-1:-1:-1;10290:52495:43;1906:18:14;10290:52495:43;;;1906:34:14;735:10:17;10290:52495:43;-1:-1:-1;10290:52495:43;;-1:-1:-1;;;;;10290:52495:43;;;;;;;;;;1906:34:14;10290:52495:43;;2864:27:14;2844:47;;2422:76:3;2475:4;;:::i;:::-;1315:72:21;;:::i;:::-;51982:1:43;52005:3;10290:52495;;51985:18;;;;;-1:-1:-1;;;;;52037:10:43;;;;:::i;:::-;10290:52495;;2877:18:41;;:23;2873:94;;10290:52495:43;51982:1;10290:52495;3028:28:41;10290:52495:43;;;51982:1;10290:52495;;3024:120:41;;3182:15;10290:52495:43;3182:15:41;3306:38;;3182:43;:15;:43;:::i;:::-;3235:36;;;-1:-1:-1;;;;;10290:52495:43;;;3028:28:41;10290:52495:43;;;;;;;3235:36:41;2407:1:22;10290:52495:43;;;;;;;;;;;;;3306:38:41;;;;10290:52495:43;51970:13;;3024:120:41;3092:41;51982:1:43;3092:41:41;;10290:52495:43;;51982:1;3092:41:41;2873:94;2923:33;51982:1:43;2923:33:41;;51982:1:43;2923:33:41;51985:18:43;;;2422:76:3:o;10290:52495:43:-;-1:-1:-1;;;10290:52495:43;;;;;;;;;;;;;;;;;:::o;:::-;;:::i;:::-;;;;;;;;;;;;;;;:::o;94:42:39:-;;;;:::o;:::-;;10290:52495:43;;-1:-1:-1;;;94:42:39;;;;;;;;;;;10290:52495:43;94:42:39;10290:52495:43;;;94:42:39;;;;;;;;;;;;;;;;;;:::o;:::-;10290:52495:43;;94:42:39;;;;;;;;-1:-1:-1;;;94:42:39;;;;;;;;;-1:-1:-1;;94:42:39;;;;;;;;:::o;:::-;;;;;;;;;;:::o;:::-;;;;:::o;:::-;;10290:52495:43;;-1:-1:-1;;;94:42:39;;;;;;;;;;;10290:52495:43;94:42:39;10290:52495:43;;;94:42:39;;10290:52495:43;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;-1:-1:-1;10290:52495:43;;;;;;;;-1:-1:-1;;10290:52495:43;;;;:::o;:::-;;;;;-1:-1:-1;;;;;10290:52495:43;;;;;-1:-1:-1;;;;;10290:52495:43;;;;;:::i;:::-;;;;;;-1:-1:-1;;;;;10290:52495:43;;;;;;;:::i;:::-;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;:::i;:::-;;;;;;-1:-1:-1;;;;;10290:52495:43;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::o;:::-;;;;;;;;:::i;:::-;;;;;;;;;;:::o;:::-;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;;;;:::i;:::-;;;;;;;;:::o;:::-;;11242:6;10290:52495;;;;;;;:::o;:::-;;9614:1:44;10290:52495:43;;;;;;;:::o;:::-;;;;;;;;;;:::o;1315:72:21:-;;;;20606:5:43;1315:72:21;;;;;;;;;;;;;;;;;;;;;;:::i;20606:5:43:-;94:42:39;-1:-1:-1;;;;;10290:52495:43;;20721:22;20717:104;;1315:72:21;20879:5:43;;;;;20903:240;20879:5;;;:::i;20903:240::-;3054:1:22;2365;1505:66;2407:1;4047:253;20717:104:43;-1:-1:-1;;;;;20759:7:43;10290:52495;20759:51;;;;;;10290:52495;;;;;;20759:51;;;;;;;-1:-1:-1;;;20759:51:43;;20774:10;20759:51;;;;:::i;:::-;;;;;;;;;;;20717:104;;;;;20759:51;;;10290:52495;20759:51;;;:::i;:::-;10290:52495;;;;;20759:51;;;1315:72:21;;;:::i;:::-;56293:10:43;:22;:27;10290:52495;;1315:72:21:o;:::-;;;;:::i;:::-;7786:299:41;;;;;;;;;;;;;8113:8;;;;:::i;:::-;10290:52495:43;;8209:66:41;94:42:39;8209:66:41;;10290:52495:43;51389:10;;8209:66:41;51389:10:43;8209:66:41;;10290:52495:43;8209:66:41;;;;:::i;:::-;;10290:52495:43;-1:-1:-1;;;;;10290:52495:43;;8209:66:41;;;;;;;10290:52495:43;;;8209:66:41;;;1315:72:21;8286:176:41;10290:52495:43;8286:176:41;;;;;;;;;;;:::i;:::-;;10290:52495:43;;8623:63:41;;;;;;;8646:33;8623:63;;;;;;;:::i;:::-;;10290:52495:43;;8623:63:41;;;;;;:::i;:::-;8588:108;;;;;;;;:::i;:::-;8711:8;;8707:436;;10290:52495:43;9244:30:41;10290:52495:43;;9846:27:41;10290:52495:43;;;:::i;:::-;9228:46:41;9224:121;;1315:72:21;9396:163:41;;10290:52495:43;7786:299:41;9396:163;10290:52495:43;7786:299:41;9396:163;10290:52495:43;7786:299:41;9396:163;8623:63;10290:52495:43;;;9846:27:41;;;;;;:::i;9224:121::-;9325:8;;;:::i;:::-;9224:121;;;;8707:436;10290:52495:43;;;;8799:18:41;8795:102;;9052:81;8623:63;9052:81;;;;;8795:102;8844:38;10290:52495:43;8844:38:41;-1:-1:-1;;;;;10290:52495:43;8209:66:41;10290:52495:43;;;8844:38:41;8209:66;10290:52495:43;8209:66:41;;;;8286:176;8209:66;;;;;;;10290:52495:43;8209:66:41;10290:52495:43;8209:66:41;;;;;;;;:::i;:::-;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;4007:322:14;;;;-1:-1:-1;;;;;10290:52495:43;;4103:18:14;;;4099:88;;-1:-1:-1;;;;;10290:52495:43;;4200:16:14;;;4196:88;;3407:6:44;;;3429:42;3407:6;3429:42;3407:6;;:::i;:::-;10290:52495:43;;;3438:10:44;10290:52495:43;;;;;;;;;;;;;;;;;3429:42:44;;;;4007:322:14:o;4196:88::-;4239:34;4119:1;4239:34;4119:1;4239:34;10290:52495:43;;4119:1:14;4239:34;4099:88;4144:32;4119:1;4144:32;4119:1;4144:32;10290:52495:43;;4119:1:14;4144:32;1878:128:21;10290:52495:43;1796:7:21;10290:52495:43;;1939:61:21;;1878:128::o;1939:61::-;1974:15;-1:-1:-1;1974:15:21;1796:7;-1:-1:-1;1974:15:21;3749:292:22;2407:1;1505:66;10290:52495:43;4560:63:22;3644:93;;2407:1;1505:66;2407:1;3749:292::o;3644:93::-;3696:30;-1:-1:-1;3696:30:22;;-1:-1:-1;3696:30:22;10290:52495:43;;;;;:::i;:::-;;;;;;;;;;:::o;:::-;;;;;;;;-1:-1:-1;;10290:52495:43;;;;:::o;:::-;;;;;;;:::i;:::-;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;-1:-1:-1;10290:52495:43;;;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;:::-;;-1:-1:-1;10290:52495:43;;;:::o;:::-;-1:-1:-1;;;10290:52495:43;;;;;;;;60670:2113;;;;;;;;;60973:19;;;;-1:-1:-1;;;;;60973:19:43;;;:::i;:::-;10290:52495;60973:33;60969:204;;61251:10;;;10290:52495;61233:15;;;:28;61229:160;;61545:14;;;61472:456;61545:14;;;;61415:537;61545:14;;;10290:52495;61472:456;61545:14;61622:23;61581:19;61545:14;;;:::i;:::-;61581:19;;:::i;:::-;61622:23;;10290:52495;;;;;:::i;:::-;60973:19;10290:52495;;;;61891:19;10290:52495;61622:23;10290:52495;61472:456;;;60973:19;61472:456;;;;10290:52495;;;;;;;;;;;;;;;;11301:289;10290:52495;;;;;;;;-1:-1:-1;;;;;10290:52495:43;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;10290:52495:43;;;;;-1:-1:-1;;;;;10290:52495:43;;;;;;;;;;;;;-1:-1:-1;;;;;10290:52495:43;;;;;;;;;61472:456;10290:52495;61445:497;;61415:537;:::i;:::-;62332:17;;;;62299:51;62332:17;;;;:::i;:::-;62299:51;;;:::i;:::-;10290:52495;;;;:::i;:::-;62377:33;:85;;;;60670:2113;62360:144;;;62675:17;62577:129;62646:19;;62576:130;62646:19;;:::i;:::-;62675:17;;:::i;:::-;62577:129;;;;:::i;:::-;62576:130;;10290:52495;62576:130;62572:205;;60670:2113::o;62572:205::-;62729:37;61004:1;62729:37;;61004:1;62729:37;62360:144;62487:7;;;;:::o;62377:85::-;62443:19;;-1:-1:-1;;;;;62430:32:43;62443:19;;;:::i;62430:32::-;10290:52495;;62430:32;62377:85;;;61229:160;61284:94;61004:1;61284:94;;10290:52495;;;61233:15;10290:52495;;;;8844:38:41;60969:204:43;61026:23;;;;;;;;;;;;;10290:52495;61026:27;;;;:49;;;60969:204;61022:121;;;61156:7::o;61022:121::-;61102:26;61004:1;61102:26;;61004:1;61102:26;61026:49;10290:52495;61057:14;;;;;:::i;:::-;10290:52495;61057:18;;61026:49;;;56519:484;56598:9;56594:403;;56519:484;:::o;56594:403::-;56598:9;;56756:21;56752:167;;56598:9;56968:17;56598:9;56968:17;:::i;56752:167::-;56804:100;56610:1;56804:100;56598:9;56804:100;10290:52495;;;;56610:1;56804:100;3496:476:42;3709:257;;;;10290:52495:43;3709:257:42;;;;;10290:52495:43;3709:257:42;;3496:476::o;:::-;;;3709:257;;10290:52495:43;3709:257:42;;10290:52495:43;3709:257:42;;;;;17979:4:43;3709:257:42;;3496:476::o;:::-;3709:257;;;;27982:4:43;3709:257:42;;;;;10290:52495:43;3709:257:42;;3496:476::o;10290:52495:43:-;;;;;;;;;;;;;:::i;37647:1577::-;;;38185:105;37647:1577;;;;;;;38024:12;;;;;:::i;:::-;38085:8;;;;;:::i;:::-;38122:33;;;;;:::i;:::-;10290:52495;38122:33;10290:52495;38185:67;:30;10290:52495;38200:14;10290:52495;-1:-1:-1;;;;;10290:52495:43;;;38185:67;38253:28;;;:::i;:::-;10290:52495;;38185:105;;;;;;-1:-1:-1;;;38185:105:43;;;;;10290:52495;;;-1:-1:-1;;;;;10290:52495:43;;;;;;;;;;;;;;;38185:105;;;;;;;;;;38253:28;38185:105;;;37647:1577;38414:24;38470:217;38414:24;;;;:::i;:::-;38634:39;;;;;38657:4;;38634:39;38470:217;:::i;:::-;39007:28;;;;:::i;:::-;10290:52495;;;:::i;:::-;;;;38122:33;38756:326;;10290:52495;;38756:326;;10290:52495;-1:-1:-1;;;;;10290:52495:43;38756:326;;;10290:52495;-1:-1:-1;;;;;10290:52495:43;38756:326;;;10290:52495;;;38756:326;;;10290:52495;-1:-1:-1;;;;;10290:52495:43;38756:326;;;10290:52495;;39148:37;10290:52495;38729:488;;;;:::i;38634:39::-;;;;38470:217;:::i;38185:105::-;38414:24;38185:105;;;;;38470:217;38185:105;38122:33;38185:105;38122:33;38185:105;;;;;;;;:::i;:::-;;;;;:::i;:::-;;;;;;;;;;;;3165:103:3;735:10:17;2920:6:3;10290:52495:43;;;;;;;;;;;;3485:23:3;3481:108;;3165:103::o;3481:108::-;-1:-1:-1;;;2920:6:3;3531:47;735:10:17;3531:47:3;10290:52495:43;10744:66;10290:52495;;;2920:6:3;3531:47;3165:103;735:10:17;2920:6:3;10290:52495:43;;;;;;;;;;;;3485:23:3;3481:108;;3165:103::o;3481:108::-;-1:-1:-1;;;2920:6:3;3531:47;735:10:17;3531:47:3;10290:52495:43;11111:66;10290:52495;;;2920:6:3;3531:47;3165:103;10290:52495:43;2920:6:3;10290:52495:43;2920:6:3;10290:52495:43;;;2920:29:3;735:10:17;10290:52495:43;2920:6:3;10290:52495:43;;-1:-1:-1;;;;;10290:52495:43;;;;;;;;;;2920:29:3;10290:52495:43;;3485:23:3;3481:108;;3165:103;:::o;3481:108::-;-1:-1:-1;;;2920:6:3;3531:47;735:10:17;3531:47:3;10290:52495:43;;;;2920:6:3;3531:47;6145:316;10290:52495:43;;;;;;;2920:29:3;10290:52495:43;;;;;-1:-1:-1;;;;;10290:52495:43;;;;;;;;;;2920:29:3;10290:52495:43;;;;;;;;;;6281:29:3;10290:52495:43;;;;;-1:-1:-1;;;;;10290:52495:43;;;;;;;;;;6281:29:3;10290:52495:43;;-1:-1:-1;;10290:52495:43;6313:4:3;10290:52495:43;;;735:10:17;;-1:-1:-1;;;;;10290:52495:43;;6336:40:3;-1:-1:-1;;6336:40:3;6313:4;6390:11;:::o;6238:217::-;6432:12;;10290:52495:43;6432:12:3;:::o;6698:317::-;10290:52495:43;;;;;;;2920:29:3;10290:52495:43;;;;;-1:-1:-1;;;;;10290:52495:43;;;;;;;;;;2920:29:3;10290:52495:43;;;;;;;;;;;6834:29:3;10290:52495:43;;;;;-1:-1:-1;;;;;10290:52495:43;;;;;;;;;;6834:29:3;10290:52495:43;;-1:-1:-1;;10290:52495:43;;;735:10:17;;-1:-1:-1;;;;;10290:52495:43;;6890:40:3;-1:-1:-1;;6890:40:3;10290:52495:43;6944:11:3;:::o;39781:1402:43:-;;;;;;;;;;40169:12;;;;;:::i;:::-;40230:8;;;;;:::i;:::-;40253:17;;40249:80;;40419:105;40356:33;;;;;;:::i;40419:105::-;;;;;;;;;;40269:1;40419:105;;;39781:1402;-1:-1:-1;40561:95:43;;40607:39;;;;;40630:4;40607:39;;40561:95;;:::i;40607:39::-;;;;;40419:105;40561:95;40419:105;;;;;;40356:33;40419:105;40356:33;40419:105;;;;;;;:::i;:::-;;;;;;40249:80;40293:25;40269:1;40293:25;;40269:1;40293:25;35392:1714;;;;36131:105;35392:1714;;;;;35800:12;;;;;:::i;:::-;35861:8;;;;;:::i;:::-;35898:33;;;;;:::i;:::-;10290:52495;35898:33;10290:52495;36131:67;:30;10290:52495;36146:14;10290:52495;-1:-1:-1;;;;;10290:52495:43;;;36131:67;36199:28;;;:::i;:::-;10290:52495;;36131:105;;;;;;-1:-1:-1;;;36131:105:43;;;;;10290:52495;;;-1:-1:-1;;;;;10290:52495:43;;;;;;;;;;;;;;;36131:105;;;;;;;;;;;;36199:28;36131:105;;;35392:1714;-1:-1:-1;36318:39:43;;;;36341:4;36318:39;;-1:-1:-1;;;;;10290:52495:43;;-1:-1:-1;;;;;10290:52495:43;;36522:19;36389:180;;;;:::i;36318:39::-;;;;;36131:105;;;;;35898:33;36131:105;35898:33;36131:105;;;;;;;:::i;:::-;;;;;1662:232:13;;;;-1:-1:-1;;;;;1662:232:13;10404:1148;;;;10365:28;-1:-1:-1;10404:1148:13;;;;;;;;;;-1:-1:-1;10404:1148:13;;;;;;1809:4;-1:-1:-1;10404:1148:13;;;;;;;1662:232;10404:1148;;;;;-1:-1:-1;10404:1148:13;;1766:48;;1762:126;;1662:232;:::o;1762:126::-;-1:-1:-1;;;;1837:40:13;-1:-1:-1;;;;;10290:52495:43;8209:66:41;10290:52495:43;;;8844:38:41;10404:1148:13;1809:4;10404:1148;;;;;;;;;;;;;;;;;;-1:-1:-1;10404:1148:13;;;;;3377:213:14;;;;-1:-1:-1;;;;;10290:52495:43;;3455:16:14;;;3451:88;;3429:42:44;3407:6;;3429:42;3407:6;;3469:1:14;3407:6:44;;;:::i;4618:217:14:-;;;-1:-1:-1;;;;;10290:52495:43;;4698:18:14;;;4694:88;;3429:42:44;3407:6;;3429:42;3407:6;;4714:1:14;3407:6:44;;;:::i;1219:204:13:-;;-1:-1:-1;;;;;8544:1067:13;;;8509:24;-1:-1:-1;8544:1067:13;;;;;;;-1:-1:-1;8544:1067:13;;;;;;1338:4;-1:-1:-1;8544:1067:13;;;;;;;1219:204;8544:1067;;;;;1305:38;;10290:52495:43;8544:1067:13;1338:4;8544:1067;;;;;;;;;;;;;;;1339:506:15;1424:21;;:30;1420:125;;-1:-1:-1;10290:52495:43;;;;;;;;;;:::i;:::-;;;;;;;919:128:19;;-1:-1:-1;;;;;10290:52495:43;919:128:19;;1558:48:15;;;1668:7::o;1554:285::-;4560:73:19;1695:33:15;;1691:148;4560:73:19;1744:12:15;4560:73:19;1809:19:15;10290:52495:43;1809:19:15;;10290:52495:43;1809:19:15;1420:125;1504:21;;1477:57;;;;10290:52495:43;;;;1477:57:15;;10290:52495:43;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;-1:-1:-1;;;;;10290:52495:43;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;:::o;:::-;;;;;;;;;;;:::i;:::-;;;;;;;;;;:::i;:::-;;;;;;;;:::i;:::-;;;;-1:-1:-1;10290:52495:43;;;;:::o;:::-;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;:::i;:::-;;;;;;;;;;;;;-1:-1:-1;10290:52495:43;;;;;;;;;;;;;;:::o;5017:176:27:-;4037:249:28;5017:176:27;5153:20;;:::i;:::-;4037:249:28;;;;;;;;;;;;;;;;5017:176:27;:::o;3290:882:26:-;;3490:2;3470:22;;3490:2;;4016:25;3769:227;;;;;;;;;;;;;-1:-1:-1;3769:227:26;4016:25;;:::i;:::-;4009:32;;;;;:::o;3466:700::-;4072:83;;4088:1;4072:83;4092:35;4072:83;;:::o;3900:1042:29:-;;4182:754;3900:1042;4182:754;3900:1042;4182:754;3900:1042;4182:754;;;-1:-1:-1;;;4182:754:29;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;4182:754:29;;;;;;;;3900:1042;:::o;8803:867:44:-;8977:16;;8973:29;;6928:20;94:42:39;6928:20:44;:::i;:::-;7004:53;10290:52495:43;;;;;;;8992:1:44;10290:52495:43;;;;;;;;;;;;;9654:8:44;9229:13;;;;:30;;;8803:867;9225:402;;;7690:75;9354:27;;7690:75;;9354:27;:::i;:::-;;:::i;:::-;94:42:39;9654:8:44;:::i;9225:402::-;9463:30;;;9225:402;9459:168;9225:402;9459:168;9588:27;7690:75;;9588:27;:::i;:::-;8029:74;;9225:402;;9463:30;9480:13;;;;9463:30;;9229;9246:13;;;9229:30;;8973:29;8995:7;:::o;8803:867::-;;8977:16;;8973:29;;6928:20;;;:::i;:::-;7004:53;10290:52495:43;;;;;;;8992:1:44;10290:52495:43;;;;;;;;;;;;;9654:8:44;9229:13;;;;:30;;;8803:867;9225:402;;;7690:75;9354:27;7690:75;;9354:27;:::i;:::-;8029:74;;9654:8;:::i;9225:402::-;9463:30;;;9225:402;9459:168;9654:8;9459:168;9588:27;7690:75;;9588:27;:::i;9463:30::-;9480:13;;;;9463:30;;9229;9246:13;;;9229:30;;41413:520:43;;;;41564:13;41560:75;;41648:22;;41644:88;;41745:17;;:53;;;;41413:520;41741:186;;41413:520;;:::o;41741:186::-;41821:95;41576:1;41821:95;;10290:52495;;;;41576:1;41821:95;41745:53;41766:32;;;;41745:53;;41644:88;41693:28;41576:1;41693:28;;41576:1;41693:28;41560:75;41600:24;41576:1;41600:24;;41576:1;41600:24;42027:316;-1:-1:-1;;;;;10290:52495:43;42179:22;;42027:316;42179:47;;;;42027:316;42179:89;;;;;42162:175;;;42027:316::o;42179:89::-;-1:-1:-1;;;;;10290:52495:43;;;42246:22;42179:89;;;:47;-1:-1:-1;;;;;10290:52495:43;42205:21;;-1:-1:-1;42179:47:43;;;10290:52495;;1205:2:38;10290:52495:43;;;1149:1:38;10290:52495:43;;;;:::o;:::-;;;;;;1205:2:38;10290:52495:43;;;;;;;1205:2:38;10290:52495:43;;-1:-1:-1;;10290:52495:43;;:::o;:::-;;-1:-1:-1;;10290:52495:43;;;;;;;;;;;;:::o;:::-;-1:-1:-1;;10290:52495:43;;;;;;;;;;;;;-1:-1:-1;10290:52495:43:o;165:244:38:-;;10290:52495:43;362:2:38;10290:52495:43;;;;;;;;362:2:38;10290:52495:43;;-1:-1:-1;;10290:52495:43;;165:244:38:o;10290:52495:43:-;;;;;;;;;;;;:::i;:::-;;;;;;;;;:::i;:::-;;;;;;;;;:::i;:::-;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;-1:-1:-1;;;;;10290:52495:43;;;;;;;;;;;;;;;;:::i;:::-;;;;;;:::o;3884:3589:41:-;;;;;;4141:8;;;:::i;:::-;4161:242;;;38589:4:43;4161:242:41;;38253:28:43;4161:242:41;;;;;10290:52495:43;;4659:41:41;-1:-1:-1;;;4659:41:41;;;;;;;;;;;;:::i;:::-;;10290:52495:43;-1:-1:-1;;;;;10290:52495:43;;4659:41:41;;;;;;;38253:28:43;;;;;;;;;4659:41:41;;;3884:3589;10290:52495:43;-1:-1:-1;;;;;10290:52495:43;;-1:-1:-1;;;;;10290:52495:43;;4715:19:41;4711:231;;38253:28:43;5073:72:41;;;;;;;;;;;;;5302:41;;;;5327:4;5808:101;5432:185;5327:4;38589::43;5381:31:41;5327:4;5302:41;;5381:31;:::i;:::-;5432:185;;;;;:::i;:::-;10290:52495:43;5808:101:41;10290:52495:43;;;5808:101:41;;;;;;;5848:23;5808:101;;;;;;:::i;:::-;5773:146;;;;;;6356:30;5773:146;;:::i;:::-;5999:256;38253:28:43;4161:242:41;5999:256;38253:28:43;4161:242:41;5999:256;38253:28:43;4161:242:41;5999:256;38253:28:43;4161:242:41;5999:256;38253:28:43;5073:72:41;5999:256;10290:52495:43;;;:::i;:::-;6340:46:41;6336:129;;5302:41;6479:8;;;6475:432;;6944:31;;;;6997:36;6944:31;;;:::i;:::-;6997:36;:::i;:::-;7120:43;;;;5302:41;7116:129;;5302:41;7332:4;;-1:-1:-1;;;;;10290:52495:43;7332:4:41;7312:25;7308:159;;3884:3589;;:::o;7308:159::-;7438:17;;;:::i;7116:129::-;7191:43;;;;;;:::i;:::-;7116:129;;;7120:43;7158:4;;-1:-1:-1;;;;;10290:52495:43;;7138:25:41;;7120:43;;6475:432;10290:52495:43;;6567:18:41;6563:98;;6816:81;5808:101;6816:81;;;;;6563:98;6612:34;38253:28:43;6612:34:41;-1:-1:-1;;;;;10290:52495:43;8209:66:41;10290:52495:43;;;8844:38:41;6336:129;6437:16;;;:::i;:::-;6336:129;;;;5302:41;5432:185;5302:41;38589:4:43;5381:31:41;5808:101;5302:41;;;5381:31;:::i;4711:231::-;-1:-1:-1;;;38253:28:43;4885:46:41;-1:-1:-1;;;;;10290:52495:43;;8209:66:41;10290:52495:43;;;8844:38:41;4659:41;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;:::i;:::-;;;;;;;;;;;;;;;3884:3589;;;;;;;;;4141:8;;;:::i;:::-;4161:242;;;;;;50051:1:43;4161:242:41;;;;;10290:52495:43;;4659:41:41;-1:-1:-1;;;4659:41:41;;;;;;;;;;;;:::i;:::-;;10290:52495:43;-1:-1:-1;;;;;10290:52495:43;;4659:41:41;;;;;;;50051:1:43;;;;;;;;;4659:41:41;;;3884:3589;10290:52495:43;-1:-1:-1;;;;;10290:52495:43;;-1:-1:-1;;;;;10290:52495:43;;4715:19:41;4711:231;;5073:72;;50051:1:43;5073:72:41;5808:101;5432:185;5073:72;;;;;;;;;;;;;;;5302:41;;;;5327:4;5381:31;5327:4;5302:41;;5381:31;:::i;5302:41::-;5381:31;5302:41;;;5381:31;:::i;4711:231::-;-1:-1:-1;;;50051:1:43;4885:46:41;-1:-1:-1;;;;;10290:52495:43;;8209:66:41;10290:52495:43;;;8844:38:41;4659:41;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;3884:3589;;;;;;;;;4141:8;;;:::i;:::-;4161:242;;;;;;48265:1:43;4161:242:41;;;;;10290:52495:43;;4659:41:41;-1:-1:-1;;;4659:41:41;;;;;;;;;;;;:::i;:::-;;10290:52495:43;-1:-1:-1;;;;;10290:52495:43;;4659:41:41;;;;;;;-1:-1:-1;;;;;;;;;4659:41:41;;;3884:3589;10290:52495:43;-1:-1:-1;;;;;10290:52495:43;;-1:-1:-1;;;;;10290:52495:43;;4715:19:41;4711:231;;5073:72;;-1:-1:-1;5073:72:41;5808:101;5432:185;5073:72;;;;;;;;;;;48265:1:43;5073:72:41;;;5302:41;;;;5327:4;5381:31;5327:4;5302:41;;5381:31;:::i;4659:41::-;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;42848:825:43;;;;;;;43110:85;;;54751:43;:30;10290:52495;54766:14;10290:52495;-1:-1:-1;;;;;10290:52495:43;;;54751:43;10290:52495;;;94:42:39;54751:53:43;;10290:52495;;54751:53;;;10290:52495;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;10290:52495:43;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;10290:52495:43;;;;;;54751:53;;;;;;;-1:-1:-1;54751:53:43;;;43110:85;10290:52495;;;54870:21;-1:-1:-1;54906:13:43;-1:-1:-1;54901:97:43;54938:3;10290:52495;;54921:15;;;;;54957:30;10290:52495;54970:7;:17;:7;;;;:::i;:::-;;:17;10290:52495;54957:30;;:::i;:::-;54938:3;10290:52495;54906:13;;;54921:15;;;;;;;;;;10290:52495;;55011:36;;;;55007:170;;55192:13;;-1:-1:-1;55224:3:43;10290:52495;;55207:15;;;;;54970:17;55247:7;;;;:::i;:::-;;:17;10290:52495;55243:767;;55224:3;10290:52495;;55192:13;;55243:767;55743:17;55956:39;10290:52495;55743:17;55903;55743;;54970;55903:7;10290:52495;55865:17;:7;55743:17;;;;10290:52495;55762:26;10290:52495;;;-1:-1:-1;;;;;10290:52495:43;;;;55762:26;55770:7;;;;;:::i;:::-;;:17;10290:52495;55762:26;:::i;:::-;;;:::i;:::-;55865:7;:::i;:::-;;10290:52495;-1:-1:-1;;;;;10290:52495:43;;;55865:17;10290:52495;;-1:-1:-1;;;;;10290:52495:43;;;;55903:7;;;:::i;:::-;;:17;10290:52495;55903:17;;:::i;:::-;54970;55978:7;;;;:::i;:::-;;:17;10290:52495;55956:39;;:::i;:::-;55243:767;;;;;55207:15;;;;;43471:195;55207:15;;;43227:212;55207:15;10290:52495;;56029:85;;55187:833;43110:85;;43361:17;;;;10290:52495;;;;-1:-1:-1;;;;;10290:52495:43;;;;43414:15;;10290:52495;43414:15;;;10290:52495;-1:-1:-1;;;;;10290:52495:43;;;;43227:212;;:::i;:::-;43556:17;10290:52495;;43587:16;43556:17;;;10290:52495;43587:16;;10290:52495;-1:-1:-1;;;;;10290:52495:43;;;;;;-1:-1:-1;;;;;10290:52495:43;;;;43471:195;;:::i;56029:85::-;56069:34;;-1:-1:-1;;;;;10290:52495:43;56079:17;;;10290:52495;-1:-1:-1;;;;;10290:52495:43;;;;;;;;56069:34;;;;;:::i;:::-;;;;56029:85;;;55007:170;55070:96;-1:-1:-1;55070:96:43;61284:94;10290:52495;;;;;8844:38:41;54751:53:43;;;;;;;-1:-1:-1;54751:53:43;;;;;;:::i;:::-;;;;;:::i;:::-;;;;;43110:85;10290:52495;43227:212;43471:195;10290:52495;;;;;43110:85;;49732:1403;;;;-1:-1:-1;;1448:311:40;;;;;;;;;;49985:38:43;;-1:-1:-1;7948:17:14;;;94:42:39;;;;;;50034:1095:43;50054:13;;;;;;49732:1403;;;;;;;:::o;50069:3::-;50160:21;;;;;;;;;;;:::i;:::-;50262:34;50128:53;;;;;;;50262:34;;:::i;:::-;50311:16;;94:42:39;;1448:311:40;;50907:211:43;;50360:18;;;;;;;50428:24;;;50394:480;;51034:6;50907:211;;:::i;:::-;50069:3;10290:52495;50039:13;;;;;;;;50394:480;50605:21;50722:31;50605:21;50802:57;50605:21;;:::i;:::-;50722:31;;;;:::i;:::-;50802:57;;:::i;:::-;50394:480;;;1448:311:40;;;;;;;;;;;;;;;;10290:52495:43;;;;;;;;;;;;;;;;:::o;47113:2158::-;;;;;;;47313:18;;47309:81;;47436:22;;;:::i;:::-;47495;;;;:::i;:::-;47527:31;;47330:1;47568:21;;;;;:::i;:::-;10290:52495;47599:30;;;:::i;:::-;10290:52495;47647:13;;;49209:55;;;;;;;;;;47113:2158;:::o;49209:55::-;49244:20;49252:11;;;;;:::i;:::-;49244:20;;:::i;:::-;10290:52495;47113:2158;:::o;47640:1423::-;47738:13;;47965:26;47738:13;;10290:52495;48452:209;47738:13;;;;;;:::i;:::-;47717:34;;;;;;47965:26;;:::i;:::-;10290:52495;;;;;;;;;;48032:119;:9;;;:119;10290:52495;;;;48060:42;10290:52495;48061:21;:29;10290:52495;;;;48061:21;;:::i;:::-;10290:52495;48061:29;:::i;:::-;10290:52495;;;;;48060:42;48032:119;;10290:52495;48255:11;48197:4;48255:11;;:::i;:::-;10290:52495;;48238:28;;;:43;;;48032:119;48237:103;;;;48032:119;48216:195;;48032:119;10290:52495;;48578:17;;;;48452:209;;:::i;:::-;48752:18;;10290:52495;;48790:39;;;;;;;;;;;;;;;:::i;:::-;48748:177;48938:51;49003:49;48748:177;48938:51;49003:49;48748:177;48938:51;48748:177;48938:51;:::i;:::-;10290:52495;48938:51;:::i;:::-;;;;:::i;:::-;10290:52495;49003:49;;;;:::i;:::-;10290:52495;49003:49;:::i;:::-;;;;:::i;:::-;10290:52495;47640:1423;;48748:177;48868:42;;;;;;49003:49;48868:42;;48938:51;;48868:42;;;;;;;;;;49003:49;48868:42;;;48938:51;48868:42;;:::i;:::-;;;:::i;:::-;10290:52495;48938:51;:::i;48216:195::-;48373:23;;-1:-1:-1;48216:195:43;;48237:103;48307:32;;;;48237:103;48307:32;48321:18;;;48237:103;;48238:43;48270:11;;;48238:43;;48032:119;48121:30;;-1:-1:-1;10290:52495:43;;;;-1:-1:-1;48121:30:43;:::i;:::-;10290:52495;48032:119;;;3376:267:23;1390:66;3499:46;;1390:66;;3568:15;;;:::i;3495:142::-;10290:52495:43;;;-1:-1:-1;6210:13:27;1390:66:23;;;;;;;;;;;;3495:142;1390:66;;;;;;;10290:52495:43;;;1390:66:23;;10290:52495:43;;;1390:66:23;;;;;;;;;;;;;;;;;;;:::i;:::-;6210:13:27;1390:66:23;;;;;-1:-1:-1;1390:66:23;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;1390:66:23;;;;;;;;;;-1:-1:-1;;1390:66:23;;;-1:-1:-1;1390:66:23;;;;;;;;-1:-1:-1;1390:66:23;;;;-1:-1:-1;;;;1390:66:23;;;;;-1:-1:-1;1390:66:23;;;;;;;;3376:267;1390:66;3499:46;;1390:66;;3568:15;;;:::i;3495:142::-;10290:52495:43;;;-1:-1:-1;6668:16:27;1390:66:23;;;;;;;;;;;;3495:142;1390:66;;;;;;;10290:52495:43;;;1390:66:23;;10290:52495:43;;;1390:66:23;;;;;;;;;;;;;;;;;;:::i;:::-;6668:16:27;1390:66:23;;;;;-1:-1:-1;1390:66:23;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;1390:66:23;;;;;;;;;;;;;;;;10225:484:41;-1:-1:-1;;;;;10290:52495:43;;-1:-1:-1;10290:52495:43;10323:28:41;10290:52495:43;;;-1:-1:-1;10290:52495:43;;10432:24:41;;10428:102;;10590:15;:37;10586:117;;10225:484;:::o;10586:117::-;10650:42;-1:-1:-1;10650:42:41;;10290:52495:43;;-1:-1:-1;10650:42:41;10428:102;10479:40;;-1:-1:-1;10479:40:41;;10290:52495:43;;-1:-1:-1;10479:40:41;10290:52495:43;;;;;;;;;:::o;5084:3374:42:-;;;;;;10290:52495:43;;;:::i;:::-;5539:17:42;5523:33;;5519:77;;10290:52495:43;;;:::i;:::-;8448:4:41;5680:53:42;;5676:315;;6162:67;;;;;6267:24;;5084:3374;10290:52495:43;;;;:::i;:::-;6388:30:42;6372:46;;6368:608;;10290:52495:43;;;:::i;:::-;6990:37:42;6986:1410;;-1:-1:-1;;;10290:52495:43;8413:38:42;;10290:52495:43;8413:38:42;6986:1410;7618:12;:28;;;;6986:1410;7618:43;;;;6986:1410;7675:84;;7773:586;;;7913:44;;;:::i;7773:586::-;8305:39;8262:15;;;;;:::i;:::-;;;:::i;:::-;8305:39;:::i;7675:84::-;7731:13;;;;;:::o;7618:43::-;;10290:52495:43;7618:43:42;;:28;7634:12;;;7618:28;;;6368:608;-1:-1:-1;6434:505:42;;;;-1:-1:-1;;6434:505:42;;;6616:4;6581:49;6684:6;6616:4;;6581:49;;:::i;:::-;6684:6;;;;:::i;6434:505::-;6847:15;;6917:6;6847:15;;;;;:::i;:::-;6917:6;:::i;6267:24::-;6282:9;;-1:-1:-1;6267:24:42;;;5676:315;5937:15;;;;;;;;;;:::i;5519:77::-;5572:13;;;;;;;:::o;5084:3374::-;;;;;;10290:52495:43;;;:::i;:::-;5539:17:42;5523:33;;5519:77;;10290:52495:43;;;:::i;:::-;5696:37:42;5680:53;;5676:315;;6162:67;;;;;6267:24;;5084:3374;10290:52495:43;;;;:::i;:::-;6388:30:42;6372:46;;6368:608;;10290:52495:43;;;:::i;:::-;6990:37:42;6986:1410;;-1:-1:-1;;;;8413:38:42;;-1:-1:-1;8413:38:42;6986:1410;7618:12;:28;;;;6986:1410;7618:43;;;;7675:84;;7773:586;;;7913:44;;;:::i;7618:43::-;;5696:37;7618:43;;:28;7634:12;;;7618:28;;;6267:24;6282:9;;-1:-1:-1;6267:24:42;;;9205:224;-1:-1:-1;;;;;10290:52495:43;;;;94:42:39;9307:47:42;;9339:4;9307:47;;;10290:52495:43;-1:-1:-1;;;;;10290:52495:43;;;;;;;9307:47:42;;;;;;;;;;;-1:-1:-1;9307:47:42;;;9205:224;9307:51;9303:120;;9205:224;;:::o;9303:120::-;5190:42:13;-1:-1:-1;5190:42:13;;;:::i;:::-;5189:43;5185:274;;9205:224:42;;:::o;5185:274:13:-;5253:37;;;;:::i;:::-;5252:38;5248:91;;-1:-1:-1;5358:41:13;;;;:::i;:::-;5357:42;5353:95;;51985:18:43;2422:76:3:o;5353:95:13:-;-1:-1:-1;;;;;5408:40:13;-1:-1:-1;;;;5408:40:13;10290:52495:43;5408:40:13;10290:52495:43;;-1:-1:-1;5408:40:13;5248:91;-1:-1:-1;;;;;5299:40:13;-1:-1:-1;;;;5299:40:13;10290:52495:43;5299:40:13;10290:52495:43;;-1:-1:-1;5299:40:13;9307:47:42;;;;10290:52495:43;9307:47:42;10290:52495:43;9307:47:42;;;;;;;:::i;:::-;;;;2298:761:44;-1:-1:-1;;;;;10290:52495:43;;2450:18:44;2446:445;;2298:761;10290:52495:43;;-1:-1:-1;;;;;10290:52495:43;;2900:79:44;;2298:761;;;:::o;2900:79::-;2936:32;:18;;:22;:18;-1:-1:-1;;;;;10290:52495:43;;;2158:14:44;10290:52495:43;;;;;;;2936:22:44;10290:52495:43;;;2936:32:44;:::i;:::-;2407:1:22;;2298:761:44:o;2446:445::-;2466:1;10290:52495:43;2506:14:44;10290:52495:43;;;2466:1:44;10290:52495:43;;-1:-1:-1;10290:52495:43;;;;-1:-1:-1;10290:52495:43;;2548:20:44;;;2544:169;;10290:52495:43;2819:20:44;10290:52495:43;2819:24:44;10290:52495:43;;2819:20:44;-1:-1:-1;;;;;10290:52495:43;;;2158:14:44;10290:52495:43;;;;;;;2819:24:44;2407:1:22;2446:445:44;;;;2544:169;10290:52495:43;;2595:103:44;;;-1:-1:-1;;;;;10290:52495:43;;;;2595:103:44;;;10290:52495:43;;;;;;;;;;;;;;;;;;;5771:92:44;3945:262:27;-1:-1:-1;;;;;4038:11:27;10290:52495:43;4029:4:27;4021:28;:63;;;3945:262;4017:184;;;4107:22;4100:29;:::o;4017:184::-;10290:52495:43;;4304:80:27;;;10290:52495:43;2079:95:27;10290:52495:43;;4326:11:27;10290:52495:43;2079:95:27;;10290:52495:43;4339:14:27;2079:95;;;10290:52495:43;4355:13:27;2079:95;;;10290:52495:43;4029:4:27;2079:95;;;10290:52495:43;2079:95:27;4304:80;;;;;;:::i;:::-;10290:52495:43;4294:91:27;;4160:30;:::o;4021:63::-;4070:14;;4053:13;:31;4021:63;;7129:1551:26;;;8209:66;8196:79;;8192:164;;10290:52495:43;;;;;;-1:-1:-1;10290:52495:43;;;;;;;;;;;;;;;;;;;8467:24:26;;;;;;;;;-1:-1:-1;8467:24:26;-1:-1:-1;;;;;10290:52495:43;;8505:20:26;8501:113;;8624:49;-1:-1:-1;8624:49:26;-1:-1:-1;7129:1551:26;:::o;8501:113::-;8541:62;-1:-1:-1;8541:62:26;8467:24;8541:62;-1:-1:-1;8541:62:26;:::o;8192:164::-;8291:54;;;8307:1;8291:54;8311:30;8291:54;;:::o;7918:191:44:-;44118:1:43;8029:74:44;;7918:191::o;:::-;8029:74;;7918:191::o;7199:216::-;7281:20;44118:1:43;7199:216:44;7281:20;:::i;:::-;7357:52;7199:216::o;:::-;7281:20;7199:216;7281:20;:::i;11676:295:42:-;-1:-1:-1;;;;;10290:52495:43;94:42:39;11863:20:42;;94:42:39;;11902:13:42;;11676:295;:::o;11863:101::-;10290:52495:43;-1:-1:-1;;;;;11934:30:42;10290:52495:43;;;;11934:30:42;;;;;-1:-1:-1;;;11934:30:42;;10290:52495:43;11934:30:42;;;10290:52495:43;11934:30:42;;;;;;;-1:-1:-1;11934:30:42;;;11863:101;11676:295;:::o;11934:30::-;;;;10290:52495:43;11934:30:42;10290:52495:43;11934:30:42;;;;;;;:::i;12347:440::-;;12714:21;12347:440;12493:21;;;;:::i;:::-;10290:52495:43;-1:-1:-1;;;;;10290:52495:43;;;12528:20:42;94:42:39;12528:20:42;;94:42:39;;12595:6:42;10290:52495:43;;-1:-1:-1;;;;;10290:52495:43;12595:6:42;:::i;:::-;12714:21;:::i;:::-;94:42:39;;;;;;;;12347:440:42;:::o;12524:158::-;12664:6;;;:::i;10290:52495:43:-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;;:::i;:::-;;;;;;:::i;:::-;;;;;;94:42:39;10290:52495:43;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;:::-;;;;;-1:-1:-1;;;;;10290:52495:43;;;;;;;;;;;;;;;;;;;;;;;;;57434:2265;;;;;;57697:24;;;;;;57784;;;;:::i;:::-;57826:44;;;57822:144;;58057:20;;;;;:::i;:::-;6928::44;;;:::i;:::-;7004:53;10290:52495:43;58150:15;;10290:52495;;;58470:28;;;;;;;:::i;58146:1453::-;58588:16;;;-1:-1:-1;;;;;;10290:52495:43;;;58648:4;58628:25;;58648:4;;58690:10;;;;58712:20;58690:10;;58712:20;:::i;58624:795::-;10290:52495;;;-1:-1:-1;;;;;10290:52495:43;94:42:39;58762:23:43;;58758:661;94:42:39;;;58846:20:43;;;;;;;:::i;58758:661::-;10290:52495;;-1:-1:-1;;;59070:36:43;;-1:-1:-1;;;;;10290:52495:43;;59070:36;;;10290:52495;;-1:-1:-1;10290:52495:43;;;;-1:-1:-1;59070:36:43;10290:52495;;;;59070:36;;;;;;;10290:52495;59070:36;;;58758:661;59193:20;;;;59289:36;59193:20;;59070:36;59193:20;;:::i;:::-;10290:52495;;59289:36;;;;;-1:-1:-1;;;59289:36:43;;59070;59289;;10290:52495;;;-1:-1:-1;;;;;10290:52495:43;;;;;;;;59289:36;;;;;;;;;;59370:30;59289:36;:52;:36;10290:52495;59289:36;;;:52;;:::i;:::-;59370:30;;:::i;59070:36::-;59289;59070;;;;;59193:20;59070:36;;;;;;;;;;;;;:::i;:::-;;;;;;;;;58584:1015;59539:45;10290:52495;59539:45;12903:43:44;10290:52495:43;;;8844:38:41;57822:144:43;-1:-1:-1;;;10290:52495:43;57897:54;61284:94;10290:52495;;;;;;;;;8844:38:41;57693:2000:43;59664:18;;;;;;57693:2000;57434:2265::o;43824:1110::-;;;;;;44118:1;6928:20:44;;;:::i;:::-;7004:53;44104:15:43;44100:541;;43824:1110;-1:-1:-1;;7690:75:44;;;8398:67;;8493:1;8481:13;11938:14;;12160:1;12145:16;;12160:1;;;-1:-1:-1;;;44118:1:43;12188:43:44;12903;10290:52495:43;;;;;8844:38:41;12141:613:44;12256:17;;;;12160:1;12256:17;12252:502;;12141:613;;;11963:1008;44789:24:43;;;44785:116;;44911:16;43824:1110;:::o;44785:116::-;-1:-1:-1;;;44118:1:43;44836:54;61284:94;10290:52495;;;;;;;;8844:38:41;12252:502:44;6928:20;;;:::i;:::-;7004:53;12420:15;;:53;;;;12252:502;12416:146;;10290:52495:43;;12643:11:44;12673:24;10290:52495:43;-1:-1:-1;;;;;10290:52495:43;;44669:10;12643:11:44;:::i;:::-;12673:24;:::i;:::-;12715;;:::i;:::-;12252:502;;;;12416:146;12504:39;44118:1:43;12504:39:44;12903:43;10290:52495:43;;;8844:38:41;12420:53:44;12453:20;;;;:::i;:::-;12439:34;;;12420:53;;11963:1008;12860:16;;;;;12856:105;;11963:1008;;;12856:105;-1:-1:-1;;;44118:1:43;12903:43:44;;10290:52495:43;;;8844:38:41;44100:541:43;44168:18;;;;:::i;:::-;;;:::i;:::-;-1:-1:-1;;;;;10290:52495:43;;44357:4;44337:25;44357:4;;44395:10;;44417:9;44395:10;;44417:9;:::i;:::-;44100:541;;;;44333:298;44573:43;;;;;:::i;:::-;44333:298;;;639:657:40;;;765:525;;;;;;;;;;;;;;;;;;;;;;10290:52495:43;765:525:40;;;;;639:657::o;765:525::-;;;-1:-1:-1;765:525:40;;-1:-1:-1;765:525:40;;;;639:657::o;9916:303:41:-;;10166:46;9916:303;10290:52495:43;9916:303:41;10087:8;;;:::i;:::-;-1:-1:-1;;;;;10290:52495:43;;10166:46:41;;;;;;94:42:39;10166:46:41;;;;;;10290:52495:43;;;;;;:::i;:::-;10166:46:41;10290:52495:43;;10166:46:41;;;;;;;-1:-1:-1;10166:46:41;;;10155:57;9916:303;:::o;10166:46::-;;;;;;;;;;;;;;;;;:::i;:::-;;;10290:52495:43;;;;;;;;:::i;10166:46:41:-;;;-1:-1:-1;10166:46:41;;832:420:38;;;10290:52495:43;;;;1062:7:38;;10290:52495:43;;;;1107:1:38;10290:52495:43;;;;1107:1:38;10290:52495:43;;1102:7:38;10290:52495:43;;1142:9:38;10290:52495:43;1149:1:38;10290:52495:43;;;1236:9:38;1147:1;10290:52495:43;;;;;1198:10:38;;1174:37;1182:28;1190:19;1198:10;;;;:::i;:::-;1190:19;;:::i;:::-;10290:52495:43;;;;1174:37:38;1236:9;;:::i;2080:380:23:-;2665:4;2629:40;;2683:13;2692:4;2683:13;;2679:71;;10290:52495:43;;;;;;;:::i;:::-;2313:4:23;10290:52495:43;;;;;;;;;;;2328:106:23;;;2080:380;:::o;2679:71::-;2719:20;-1:-1:-1;2719:20:23;;-1:-1:-1;2719:20:23;8742:212:42;;;;8872:4;-1:-1:-1;;;;;10290:52495:43;;8852:25:42;8848:100;;8742:212;;;;:::o;8848:100::-;-1:-1:-1;;;;;10290:52495:43;5190:42:13;;;;;;:::i;:::-;5189:43;5185:274;;8742:212:42;;;:::o;5185:274:13:-;5253:37;;;;:::i;:::-;5252:38;5248:91;;5358:41;;;;;:::i;:::-;5357:42;5353:95;;8742:212:42;:::o;5353:95:13:-;-1:-1:-1;;;5226:5:13;5408:40;;10290:52495:43;;5226:5:13;5408:40;5248:91;5299:40;-1:-1:-1;;;5226:5:13;5299:40;;10290:52495:43;;5226:5:13;5299:40;9844:1710:42;10287:220;;;;;;9844:1710;10287:220;;;;10521:22;;;10517:159;;-1:-1:-1;;;;;10290:52495:43;;;-1:-1:-1;;;;;10290:52495:43;;10689:23:42;;10685:117;;10850:23;;;;;:::i;:::-;10287:220;10883:76;10993:27;;;;:::i;:::-;11069:374;;;;11221:7;-1:-1:-1;;;;;11221:7:42;10290:52495:43;11221:62:42;;;;;;10290:52495:43;;94:42:39;11221:62:42;;-1:-1:-1;;;;;10290:52495:43;;;11221:62:42;;;10290:52495:43;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;10290:52495:43;;;;;;-1:-1:-1;;11221:62:42;;;;;;;11519:28;11221:62;11475:27;11221:62;;;11069:374;;11475:27;:::i;11221:62::-;;;-1:-1:-1;11221:62:42;;;:::i;:::-;;;;11069:374;11475:27;11425:6;;;11519:28;11425:6;;;;:::i;10685:117::-;10735:56;-1:-1:-1;10735:56:42;-1:-1:-1;;;;;10290:52495:43;;;10735:56:42;10290:52495:43;;;;;;8844:38:41;10517:159:42;10566:99;-1:-1:-1;10566:99:42;61284:94:43;10290:52495;;;;;;;8844:38:41;6407:182:44;10290:52495:43;;6516:43:44;;;10290:52495:43;;;;;;;;;;;;;;6516:43:44;;;;;;;:::i;11095:289::-;11276:11;;11272:24;;-1:-1:-1;;;;;10290:52495:43;;3762:16:44;3758:88;;2936:18;-1:-1:-1;;;;;2936:18:44;-1:-1:-1;;;;;10290:52495:43;;;2158:14:44;10290:52495:43;;;;;;;2936:18:44;:22;10290:52495:43;-1:-1:-1;10290:52495:43;;;;-1:-1:-1;10290:52495:43;;;2936:32:44;10290:52495:43;;;;;;;2407:1:22;11095:289:44:o;9912:435::-;;;;;10085:11;;10081:24;;-1:-1:-1;;;;;10290:52495:43;;;-1:-1:-1;;;;;10290:52495:43;;10095:1:44;10290:52495:43;2158:14:44;10290:52495:43;;;10095:1:44;10290:52495:43;;10095:1:44;10290:52495:43;;;;10095:1:44;10290:52495:43;;10202:16:44;;;10198:110;;10333:6;;;;;;:::i;10198:110::-;10290:52495:43;;-1:-1:-1;;;10241:56:44;;-1:-1:-1;;;;;10290:52495:43;;;10241:56:44;;;10290:52495:43;;;;;;;;;;;;;;;;;;;;5771:92:44;10081:24;10098:7;;;;:::o;10540:270::-;;;;10714:11;;10710:24;;-1:-1:-1;;;;;10796:6:44;10290:52495:43;;10796:6:44;;:::i;12059:1252:13:-;;;-1:-1:-1;;;;;12233:1072:13;;;-1:-1:-1;;;5226:5:13;12233:1072;;;;;;;5226:5;12233:1072;;;;;;;;5226:5;12233:1072;;;;;;;12059:1252;12233:1072;;;12059:1252::o;12233:1072::-;;;;;;;;;;;;5226:5;12233:1072;;12059:1252;;;-1:-1:-1;;;;;12233:1072:13;;;-1:-1:-1;;;5226:5:13;12233:1072;;;;5226:5;12233:1072;;;5226:5;12233:1072;;;;;;;5285:4;5226:5;12233:1072;;;;;;;;;;12059:1252::o;12233:1072::-;5285:4;12233:1072;;;;;;;;;;;;;;;;;;;;;5226:5;12233:1072;;;;;12059:1252;;;-1:-1:-1;;;;;12233:1072:13;;;-1:-1:-1;;;12233:1072:13;;;;;;;;;;;;;;;;5285:4;12233:1072;;;;;;;;;;;12059:1252::o","linkReferences":{},"cborAuxdata":{"1":{"value":"0xa26469706673582212200c335e6f0a1338a4b8b162db37e93a73acd31afc3f8e0e82893981f48e58443264736f6c63430008210033","offset":22337}},"immutableReferences":{"5985":[{"start":18943,"length":32}],"5987":[{"start":19132,"length":32}],"5989":[{"start":18896,"length":32}],"5991":[{"start":19022,"length":32}],"5993":[{"start":19060,"length":32}],"5996":[{"start":5100,"length":32}],"5999":[{"start":5141,"length":32}],"11312":[{"start":1558,"length":32},{"start":4358,"length":32},{"start":6177,"length":32},{"start":8268,"length":32},{"start":21477,"length":32}]},"transformations":[{"id":"11312","type":"replace","offset":1558,"reason":"immutable"},{"id":"11312","type":"replace","offset":4358,"reason":"immutable"},{"id":"5996","type":"replace","offset":5100,"reason":"immutable"},{"id":"5999","type":"replace","offset":5141,"reason":"immutable"},{"id":"11312","type":"replace","offset":6177,"reason":"immutable"},{"id":"11312","type":"replace","offset":8268,"reason":"immutable"},{"id":"5989","type":"replace","offset":18896,"reason":"immutable"},{"id":"5985","type":"replace","offset":18943,"reason":"immutable"},{"id":"5991","type":"replace","offset":19022,"reason":"immutable"},{"id":"5993","type":"replace","offset":19060,"reason":"immutable"},{"id":"5987","type":"replace","offset":19132,"reason":"immutable"},{"id":"11312","type":"replace","offset":21477,"reason":"immutable"}],"transformationValues":{"immutables":{"5985":"0xa90c61186f96d249c4153b1ad6f21d221a6551c10b2bf2c05bac6880f32bc26c","5987":"0x0000000000000000000000000000000000000000000000000000000000000001","5989":"0x0000000000000000000000001644d2477f809cc2c71bccfd6dc9497e3f83210d","5991":"0x7fd8aec271956112b3e6750e2f1d384660c965d66bca9bb58dcff27813d4b06f","5993":"0xc89efdaa54c0f20c7adf612882df0950f5a951637e0307cdcb4c672f298b8bc6","5996":"0x547963686f526f7574657200000000000000000000000000000000000000000b","5999":"0x3100000000000000000000000000000000000000000000000000000000000001","11312":"0x000000000000000000000000000000000022d473030f116ddee9f6b43ac78ba3"}}},"deployment":{"transactionHash":"0xbf9c0051d3cf81865e87a76e0bf387479a3ce91565e5e654069b8cff6d657c04","blockNumber":"25883110","transactionIndex":"61","deployer":"0x39a695E90385945c83bA55fED0028Cf6dcaD486f"},"sources":{"@interfaces/ICallback.sol":{"content":"// SPDX-License-Identifier: BUSL-1.1\npragma solidity ^0.8.26;\n\nimport \"../src/TransferManager.sol\";\n\ninterface ICallback {\n    /**\n     * @notice Handles callback data from a protocol or contract interaction.\n     * @dev This method processes callback data and returns a result. Implementations\n     * should handle the specific callback logic required by the protocol.\n     *\n     * @param data The encoded callback data to be processed.\n     * @return result The encoded result of the callback processing.\n     */\n    function handleCallback(\n        bytes calldata data\n    ) external returns (bytes memory result);\n\n    /**\n     * @notice Gets transfer data for callback-based token transfers.\n     * @dev Used by the Dispatcher during protocol callbacks to determine\n     * if and how to transfer tokens. Some protocols require all token transfers\n     * to happen within the callback context rather than before swap execution.\n     *\n     * The Dispatcher reads the input token from its own transient storage (set\n     * during getTransferData) and passes it here, preventing protocols from\n     * injecting a false token via crafted callback data.\n     *\n     * @param data The encoded callback data.\n     * @param tokenIn The address of the input token to transfer.\n     * @param caller The address that triggered the callback (msg.sender\n     *     in the fallback).\n     * @return transferType The transfer type for this executor (None,\n     *     ProtocolWillDebit, or Transfer).\n     * @return receiver The address that should receive the pre swap\n     *     tokens (usually a pool or the TychoRouterV3 - depending on the\n     *     protocol)\n     */\n    function getCallbackTransferData(\n        bytes calldata data,\n        address tokenIn,\n        address caller\n    )\n        external\n        view\n        returns (TransferManager.TransferType transferType, address receiver);\n}\n"},"@interfaces/IExecutor.sol":{"content":"// SPDX-License-Identifier: BUSL-1.1\npragma solidity ^0.8.26;\n\nimport \"@openzeppelin/contracts/token/ERC20/IERC20.sol\";\nimport \"../src/TransferManager.sol\";\n\npragma abicoder v2;\n\ninterface IExecutor {\n    /**\n     * @notice Performs a swap on a liquidity pool.\n     * @dev Executes the swap using the provided data. The Dispatcher measures output\n     * via balance checks, so executors do not need to report the amount received.\n     *\n     * Note Part of the informal interface is that the executor supports sending the received\n     *  tokens to a receiver address. If the underlying smart contract does not provide this\n     *  functionality consider adding an additional transfer in the implementation.\n     *\n     * @param amountIn The amount of the input token to swap.\n     * @param data Data that holds information necessary to perform the swap.\n     * @param receiver The address where the output tokens will be sent.\n     */\n    function swap(uint256 amountIn, bytes calldata data, address receiver)\n        external\n        payable;\n\n    /**\n     * @notice Gets transfer data for pre-swap token transfers.\n     * @dev Used by the Dispatcher to determine if tokens need to be transferred\n     * before executing the protocol's swap code. Some protocols require tokens\n     * to be transferred upfront, while others handle transfers in callbacks.\n     *\n     * @param data The encoded swap data.\n     * @return transferType The transfer type for this executor (None, ProtocolWillDebit, Transfer or TransferNativeInExecutor).\n     * @return receiver The address that should receive the pre swap tokens (usually a pool or the TychoRouterV3 - depending on the protocol).\n     * @return tokenIn The address of the input token to transfer.\n     * @return tokenOut The address of the output token.\n     * @return outputToRouter Whether the protocol sends output to msg.sender\n     *  rather than accepting a receiver parameter.\n     */\n    function getTransferData(bytes calldata data)\n        external\n        view\n        returns (\n            TransferManager.TransferType transferType,\n            address receiver,\n            address tokenIn,\n            address tokenOut,\n            bool outputToRouter\n        );\n\n    /**\n     * @dev Returns where funds from the previous swap should be sent in a sequential swap case.\n     * For example we might have a swap WETH --(1)--> USDC --(2)--> DAI.\n     * Before we perform swap 1 we need to know the receiver of the token out. If the protocol of swap 2 can\n     * receive funds directly (e.g., to the pool), this function returns that address. Otherwise, it returns\n     * the router address (msg.sender) indicating funds should be sent to the router\n     * before this swap.\n     * @param data The encoded swap data.\n     * @return receiver Address where to send the funds to. Returns msg.sender if funds should stay in router,\n     * or the target address (e.g., pool) if direct transfer is supported.\n     */\n    function fundsExpectedAddress(bytes calldata data) external view returns (address receiver);\n}\n\ninterface IExecutorErrors {\n    error InvalidParameterLength(uint256);\n    error UnknownPoolType(uint8);\n}\n"},"@interfaces/IFeeCalculator.sol":{"content":"// SPDX-License-Identifier: BUSL-1.1\npragma solidity ^0.8.26;\n\nimport {FeeRecipient, FeeInput} from \"../lib/FeeStructs.sol\";\n\n/**\n * @notice Per-client custom fee configuration\n * @dev All fields pack into a single storage slot (10 bytes total).\n *      Fee values use 8-decimal precision: 1 unit = 0.0001 BPS = 0.000001%.\n *      100% = 100_000_000 units.\n */\nstruct CustomFees {\n    bool hasCustomFeeOnOutput; // 1 byte\n    uint32 feeBpsOnOutput; // 4 bytes\n    bool hasCustomFeeOnClientFee; // 1 byte\n    uint32 feeBpsOnClientFee; // 4 bytes\n}\n\ninterface IFeeCalculator {\n    /**\n     * @notice Calculates all fees and slippage surplus from swap output\n     * @dev Called from TychoRouterV3. Does not perform any accounting.\n     *      Handles both regular fees and positive slippage surplus\n     *      in a single call. When positive slippage capture is\n     *      enabled, the full surplus is assigned to the router;\n     *      otherwise the surplus stays in the swap output.\n     *      Router fee parameters are retrieved from contract storage\n     *      based on the client address; client fee parameters are\n     *      passed as function arguments.\n     * @param feeInput Struct containing all fee calculation inputs\n     * @return feeRecipients Two recipients: [router, client]. Amounts\n     *         are zero when there is nothing to capture (no fees, no\n     *         surplus, or capture disabled).\n     */\n    function calculateFee(\n        FeeInput memory feeInput\n    ) external view returns (FeeRecipient[] memory feeRecipients);\n\n    /**\n     * @notice Whether the router must receive swap output before forwarding\n     * @dev Covers: slippage enabled, fees > 0, or any future condition.\n     * @param clientFeeBps Client fee in fee units (100_000_000 = 100%)\n     * @param client The client address to check\n     * @return True if funds must pass through the router after the\n     *         final swap instead of going directly to the receiver\n     */\n    function mustOutputThroughRouter(\n        uint32 clientFeeBps,\n        address client\n    ) external view returns (bool);\n\n    /**\n     * @notice Returns a page of clients with custom fee overrides and their current settings\n     * @param start Index to start reading from (0-indexed)\n     * @param count Maximum number of entries to return\n     * @return clients Addresses of clients with at least one custom fee\n     * @return fees Custom fee configuration for each client (parallel array)\n     */\n    function getAllClientFees(\n        uint256 start,\n        uint256 count\n    )\n        external\n        view\n        returns (address[] memory clients, CustomFees[] memory fees);\n}\n"},"@openzeppelin/contracts/access/AccessControl.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.4.0) (access/AccessControl.sol)\n\npragma solidity ^0.8.20;\n\nimport {IAccessControl} from \"./IAccessControl.sol\";\nimport {Context} from \"../utils/Context.sol\";\nimport {ERC165} from \"../utils/introspection/ERC165.sol\";\n\n/**\n * @dev Contract module that allows children to implement role-based access\n * control mechanisms. This is a lightweight version that doesn't allow enumerating role\n * members except through off-chain means by accessing the contract event logs. Some\n * applications may benefit from on-chain enumerability, for those cases see\n * {AccessControlEnumerable}.\n *\n * Roles are referred to by their `bytes32` identifier. These should be exposed\n * in the external API and be unique. The best way to achieve this is by\n * using `public constant` hash digests:\n *\n * ```solidity\n * bytes32 public constant MY_ROLE = keccak256(\"MY_ROLE\");\n * ```\n *\n * Roles can be used to represent a set of permissions. To restrict access to a\n * function call, use {hasRole}:\n *\n * ```solidity\n * function foo() public {\n *     require(hasRole(MY_ROLE, msg.sender));\n *     ...\n * }\n * ```\n *\n * Roles can be granted and revoked dynamically via the {grantRole} and\n * {revokeRole} functions. Each role has an associated admin role, and only\n * accounts that have a role's admin role can call {grantRole} and {revokeRole}.\n *\n * By default, the admin role for all roles is `DEFAULT_ADMIN_ROLE`, which means\n * that only accounts with this role will be able to grant or revoke other\n * roles. More complex role relationships can be created by using\n * {_setRoleAdmin}.\n *\n * WARNING: The `DEFAULT_ADMIN_ROLE` is also its own admin: it has permission to\n * grant and revoke this role. Extra precautions should be taken to secure\n * accounts that have been granted it. We recommend using {AccessControlDefaultAdminRules}\n * to enforce additional security measures for this role.\n */\nabstract contract AccessControl is Context, IAccessControl, ERC165 {\n    struct RoleData {\n        mapping(address account => bool) hasRole;\n        bytes32 adminRole;\n    }\n\n    mapping(bytes32 role => RoleData) private _roles;\n\n    bytes32 public constant DEFAULT_ADMIN_ROLE = 0x00;\n\n    /**\n     * @dev Modifier that checks that an account has a specific role. Reverts\n     * with an {AccessControlUnauthorizedAccount} error including the required role.\n     */\n    modifier onlyRole(bytes32 role) {\n        _checkRole(role);\n        _;\n    }\n\n    /// @inheritdoc ERC165\n    function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {\n        return interfaceId == type(IAccessControl).interfaceId || super.supportsInterface(interfaceId);\n    }\n\n    /**\n     * @dev Returns `true` if `account` has been granted `role`.\n     */\n    function hasRole(bytes32 role, address account) public view virtual returns (bool) {\n        return _roles[role].hasRole[account];\n    }\n\n    /**\n     * @dev Reverts with an {AccessControlUnauthorizedAccount} error if `_msgSender()`\n     * is missing `role`. Overriding this function changes the behavior of the {onlyRole} modifier.\n     */\n    function _checkRole(bytes32 role) internal view virtual {\n        _checkRole(role, _msgSender());\n    }\n\n    /**\n     * @dev Reverts with an {AccessControlUnauthorizedAccount} error if `account`\n     * is missing `role`.\n     */\n    function _checkRole(bytes32 role, address account) internal view virtual {\n        if (!hasRole(role, account)) {\n            revert AccessControlUnauthorizedAccount(account, role);\n        }\n    }\n\n    /**\n     * @dev Returns the admin role that controls `role`. See {grantRole} and\n     * {revokeRole}.\n     *\n     * To change a role's admin, use {_setRoleAdmin}.\n     */\n    function getRoleAdmin(bytes32 role) public view virtual returns (bytes32) {\n        return _roles[role].adminRole;\n    }\n\n    /**\n     * @dev Grants `role` to `account`.\n     *\n     * If `account` had not been already granted `role`, emits a {RoleGranted}\n     * event.\n     *\n     * Requirements:\n     *\n     * - the caller must have ``role``'s admin role.\n     *\n     * May emit a {RoleGranted} event.\n     */\n    function grantRole(bytes32 role, address account) public virtual onlyRole(getRoleAdmin(role)) {\n        _grantRole(role, account);\n    }\n\n    /**\n     * @dev Revokes `role` from `account`.\n     *\n     * If `account` had been granted `role`, emits a {RoleRevoked} event.\n     *\n     * Requirements:\n     *\n     * - the caller must have ``role``'s admin role.\n     *\n     * May emit a {RoleRevoked} event.\n     */\n    function revokeRole(bytes32 role, address account) public virtual onlyRole(getRoleAdmin(role)) {\n        _revokeRole(role, account);\n    }\n\n    /**\n     * @dev Revokes `role` from the calling account.\n     *\n     * Roles are often managed via {grantRole} and {revokeRole}: this function's\n     * purpose is to provide a mechanism for accounts to lose their privileges\n     * if they are compromised (such as when a trusted device is misplaced).\n     *\n     * If the calling account had been revoked `role`, emits a {RoleRevoked}\n     * event.\n     *\n     * Requirements:\n     *\n     * - the caller must be `callerConfirmation`.\n     *\n     * May emit a {RoleRevoked} event.\n     */\n    function renounceRole(bytes32 role, address callerConfirmation) public virtual {\n        if (callerConfirmation != _msgSender()) {\n            revert AccessControlBadConfirmation();\n        }\n\n        _revokeRole(role, callerConfirmation);\n    }\n\n    /**\n     * @dev Sets `adminRole` as ``role``'s admin role.\n     *\n     * Emits a {RoleAdminChanged} event.\n     */\n    function _setRoleAdmin(bytes32 role, bytes32 adminRole) internal virtual {\n        bytes32 previousAdminRole = getRoleAdmin(role);\n        _roles[role].adminRole = adminRole;\n        emit RoleAdminChanged(role, previousAdminRole, adminRole);\n    }\n\n    /**\n     * @dev Attempts to grant `role` to `account` and returns a boolean indicating if `role` was granted.\n     *\n     * Internal function without access restriction.\n     *\n     * May emit a {RoleGranted} event.\n     */\n    function _grantRole(bytes32 role, address account) internal virtual returns (bool) {\n        if (!hasRole(role, account)) {\n            _roles[role].hasRole[account] = true;\n            emit RoleGranted(role, account, _msgSender());\n            return true;\n        } else {\n            return false;\n        }\n    }\n\n    /**\n     * @dev Attempts to revoke `role` from `account` and returns a boolean indicating if `role` was revoked.\n     *\n     * Internal function without access restriction.\n     *\n     * May emit a {RoleRevoked} event.\n     */\n    function _revokeRole(bytes32 role, address account) internal virtual returns (bool) {\n        if (hasRole(role, account)) {\n            _roles[role].hasRole[account] = false;\n            emit RoleRevoked(role, account, _msgSender());\n            return true;\n        } else {\n            return false;\n        }\n    }\n}\n"},"@openzeppelin/contracts/access/IAccessControl.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.4.0) (access/IAccessControl.sol)\n\npragma solidity >=0.8.4;\n\n/**\n * @dev External interface of AccessControl declared to support ERC-165 detection.\n */\ninterface IAccessControl {\n    /**\n     * @dev The `account` is missing a role.\n     */\n    error AccessControlUnauthorizedAccount(address account, bytes32 neededRole);\n\n    /**\n     * @dev The caller of a function is not the expected one.\n     *\n     * NOTE: Don't confuse with {AccessControlUnauthorizedAccount}.\n     */\n    error AccessControlBadConfirmation();\n\n    /**\n     * @dev Emitted when `newAdminRole` is set as ``role``'s admin role, replacing `previousAdminRole`\n     *\n     * `DEFAULT_ADMIN_ROLE` is the starting admin for all roles, despite\n     * {RoleAdminChanged} not being emitted to signal this.\n     */\n    event RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole);\n\n    /**\n     * @dev Emitted when `account` is granted `role`.\n     *\n     * `sender` is the account that originated the contract call. This account bears the admin role (for the granted role).\n     * Expected in cases where the role was granted using the internal {AccessControl-_grantRole}.\n     */\n    event RoleGranted(bytes32 indexed role, address indexed account, address indexed sender);\n\n    /**\n     * @dev Emitted when `account` is revoked `role`.\n     *\n     * `sender` is the account that originated the contract call:\n     *   - if using `revokeRole`, it is the admin role bearer\n     *   - if using `renounceRole`, it is the role bearer (i.e. `account`)\n     */\n    event RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender);\n\n    /**\n     * @dev Returns `true` if `account` has been granted `role`.\n     */\n    function hasRole(bytes32 role, address account) external view returns (bool);\n\n    /**\n     * @dev Returns the admin role that controls `role`. See {grantRole} and\n     * {revokeRole}.\n     *\n     * To change a role's admin, use {AccessControl-_setRoleAdmin}.\n     */\n    function getRoleAdmin(bytes32 role) external view returns (bytes32);\n\n    /**\n     * @dev Grants `role` to `account`.\n     *\n     * If `account` had not been already granted `role`, emits a {RoleGranted}\n     * event.\n     *\n     * Requirements:\n     *\n     * - the caller must have ``role``'s admin role.\n     */\n    function grantRole(bytes32 role, address account) external;\n\n    /**\n     * @dev Revokes `role` from `account`.\n     *\n     * If `account` had been granted `role`, emits a {RoleRevoked} event.\n     *\n     * Requirements:\n     *\n     * - the caller must have ``role``'s admin role.\n     */\n    function revokeRole(bytes32 role, address account) external;\n\n    /**\n     * @dev Revokes `role` from the calling account.\n     *\n     * Roles are often managed via {grantRole} and {revokeRole}: this function's\n     * purpose is to provide a mechanism for accounts to lose their privileges\n     * if they are compromised (such as when a trusted device is misplaced).\n     *\n     * If the calling account had been granted `role`, emits a {RoleRevoked}\n     * event.\n     *\n     * Requirements:\n     *\n     * - the caller must be `callerConfirmation`.\n     */\n    function renounceRole(bytes32 role, address callerConfirmation) external;\n}\n"},"@openzeppelin/contracts/interfaces/IERC1271.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.4.0) (interfaces/IERC1271.sol)\n\npragma solidity >=0.5.0;\n\n/**\n * @dev Interface of the ERC-1271 standard signature validation method for\n * contracts as defined in https://eips.ethereum.org/EIPS/eip-1271[ERC-1271].\n */\ninterface IERC1271 {\n    /**\n     * @dev Should return whether the signature provided is valid for the provided data\n     * @param hash      Hash of the data to be signed\n     * @param signature Signature byte array associated with `hash`\n     */\n    function isValidSignature(bytes32 hash, bytes calldata signature) external view returns (bytes4 magicValue);\n}\n"},"@openzeppelin/contracts/interfaces/IERC1363.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.4.0) (interfaces/IERC1363.sol)\n\npragma solidity >=0.6.2;\n\nimport {IERC20} from \"./IERC20.sol\";\nimport {IERC165} from \"./IERC165.sol\";\n\n/**\n * @title IERC1363\n * @dev Interface of the ERC-1363 standard as defined in the https://eips.ethereum.org/EIPS/eip-1363[ERC-1363].\n *\n * Defines an extension interface for ERC-20 tokens that supports executing code on a recipient contract\n * after `transfer` or `transferFrom`, or code on a spender contract after `approve`, in a single transaction.\n */\ninterface IERC1363 is IERC20, IERC165 {\n    /*\n     * Note: the ERC-165 identifier for this interface is 0xb0202a11.\n     * 0xb0202a11 ===\n     *   bytes4(keccak256('transferAndCall(address,uint256)')) ^\n     *   bytes4(keccak256('transferAndCall(address,uint256,bytes)')) ^\n     *   bytes4(keccak256('transferFromAndCall(address,address,uint256)')) ^\n     *   bytes4(keccak256('transferFromAndCall(address,address,uint256,bytes)')) ^\n     *   bytes4(keccak256('approveAndCall(address,uint256)')) ^\n     *   bytes4(keccak256('approveAndCall(address,uint256,bytes)'))\n     */\n\n    /**\n     * @dev Moves a `value` amount of tokens from the caller's account to `to`\n     * and then calls {IERC1363Receiver-onTransferReceived} on `to`.\n     * @param to The address which you want to transfer to.\n     * @param value The amount of tokens to be transferred.\n     * @return A boolean value indicating whether the operation succeeded unless throwing.\n     */\n    function transferAndCall(address to, uint256 value) external returns (bool);\n\n    /**\n     * @dev Moves a `value` amount of tokens from the caller's account to `to`\n     * and then calls {IERC1363Receiver-onTransferReceived} on `to`.\n     * @param to The address which you want to transfer to.\n     * @param value The amount of tokens to be transferred.\n     * @param data Additional data with no specified format, sent in call to `to`.\n     * @return A boolean value indicating whether the operation succeeded unless throwing.\n     */\n    function transferAndCall(address to, uint256 value, bytes calldata data) external returns (bool);\n\n    /**\n     * @dev Moves a `value` amount of tokens from `from` to `to` using the allowance mechanism\n     * and then calls {IERC1363Receiver-onTransferReceived} on `to`.\n     * @param from The address which you want to send tokens from.\n     * @param to The address which you want to transfer to.\n     * @param value The amount of tokens to be transferred.\n     * @return A boolean value indicating whether the operation succeeded unless throwing.\n     */\n    function transferFromAndCall(address from, address to, uint256 value) external returns (bool);\n\n    /**\n     * @dev Moves a `value` amount of tokens from `from` to `to` using the allowance mechanism\n     * and then calls {IERC1363Receiver-onTransferReceived} on `to`.\n     * @param from The address which you want to send tokens from.\n     * @param to The address which you want to transfer to.\n     * @param value The amount of tokens to be transferred.\n     * @param data Additional data with no specified format, sent in call to `to`.\n     * @return A boolean value indicating whether the operation succeeded unless throwing.\n     */\n    function transferFromAndCall(address from, address to, uint256 value, bytes calldata data) external returns (bool);\n\n    /**\n     * @dev Sets a `value` amount of tokens as the allowance of `spender` over the\n     * caller's tokens and then calls {IERC1363Spender-onApprovalReceived} on `spender`.\n     * @param spender The address which will spend the funds.\n     * @param value The amount of tokens to be spent.\n     * @return A boolean value indicating whether the operation succeeded unless throwing.\n     */\n    function approveAndCall(address spender, uint256 value) external returns (bool);\n\n    /**\n     * @dev Sets a `value` amount of tokens as the allowance of `spender` over the\n     * caller's tokens and then calls {IERC1363Spender-onApprovalReceived} on `spender`.\n     * @param spender The address which will spend the funds.\n     * @param value The amount of tokens to be spent.\n     * @param data Additional data with no specified format, sent in call to `spender`.\n     * @return A boolean value indicating whether the operation succeeded unless throwing.\n     */\n    function approveAndCall(address spender, uint256 value, bytes calldata data) external returns (bool);\n}\n"},"@openzeppelin/contracts/interfaces/IERC165.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.4.0) (interfaces/IERC165.sol)\n\npragma solidity >=0.4.16;\n\nimport {IERC165} from \"../utils/introspection/IERC165.sol\";\n"},"@openzeppelin/contracts/interfaces/IERC20.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.4.0) (interfaces/IERC20.sol)\n\npragma solidity >=0.4.16;\n\nimport {IERC20} from \"../token/ERC20/IERC20.sol\";\n"},"@openzeppelin/contracts/interfaces/IERC5267.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.4.0) (interfaces/IERC5267.sol)\n\npragma solidity >=0.4.16;\n\ninterface IERC5267 {\n    /**\n     * @dev MAY be emitted to signal that the domain could have changed.\n     */\n    event EIP712DomainChanged();\n\n    /**\n     * @dev returns the fields and values that describe the domain separator used by this contract for EIP-712\n     * signature.\n     */\n    function eip712Domain()\n        external\n        view\n        returns (\n            bytes1 fields,\n            string memory name,\n            string memory version,\n            uint256 chainId,\n            address verifyingContract,\n            bytes32 salt,\n            uint256[] memory extensions\n        );\n}\n"},"@openzeppelin/contracts/interfaces/IERC6909.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.5.0) (interfaces/IERC6909.sol)\n\npragma solidity >=0.6.2;\n\nimport {IERC165} from \"../utils/introspection/IERC165.sol\";\n\n/**\n * @dev Required interface of an ERC-6909 compliant contract, as defined in the\n * https://eips.ethereum.org/EIPS/eip-6909[ERC].\n */\ninterface IERC6909 is IERC165 {\n    /**\n     * @dev Emitted when the allowance of a `spender` for an `owner` is set for a token of type `id`.\n     * The new allowance is `amount`.\n     */\n    event Approval(address indexed owner, address indexed spender, uint256 indexed id, uint256 amount);\n\n    /**\n     * @dev Emitted when `owner` grants or revokes operator status for a `spender`.\n     */\n    event OperatorSet(address indexed owner, address indexed spender, bool approved);\n\n    /**\n     * @dev Emitted when `amount` tokens of type `id` are moved from `sender` to `receiver` initiated by `caller`.\n     */\n    event Transfer(\n        address caller,\n        address indexed sender,\n        address indexed receiver,\n        uint256 indexed id,\n        uint256 amount\n    );\n\n    /**\n     * @dev Returns the amount of tokens of type `id` owned by `owner`.\n     */\n    function balanceOf(address owner, uint256 id) external view returns (uint256);\n\n    /**\n     * @dev Returns the amount of tokens of type `id` that `spender` is allowed to spend on behalf of `owner`.\n     *\n     * NOTE: Does not include operator allowances.\n     */\n    function allowance(address owner, address spender, uint256 id) external view returns (uint256);\n\n    /**\n     * @dev Returns true if `spender` is set as an operator for `owner`.\n     */\n    function isOperator(address owner, address spender) external view returns (bool);\n\n    /**\n     * @dev Sets an approval to `spender` for `amount` of tokens of type `id` from the caller's tokens. An `amount` of\n     * `type(uint256).max` signifies an unlimited approval.\n     *\n     * Must return true.\n     */\n    function approve(address spender, uint256 id, uint256 amount) external returns (bool);\n\n    /**\n     * @dev Grants or revokes unlimited transfer permission of any token id to `spender` for the caller's tokens.\n     *\n     * Must return true.\n     */\n    function setOperator(address spender, bool approved) external returns (bool);\n\n    /**\n     * @dev Transfers `amount` of token type `id` from the caller's account to `receiver`.\n     *\n     * Must return true.\n     */\n    function transfer(address receiver, uint256 id, uint256 amount) external returns (bool);\n\n    /**\n     * @dev Transfers `amount` of token type `id` from `sender` to `receiver`.\n     *\n     * Must return true.\n     */\n    function transferFrom(address sender, address receiver, uint256 id, uint256 amount) external returns (bool);\n}\n\n/**\n * @dev Optional extension of {IERC6909} that adds metadata functions.\n */\ninterface IERC6909Metadata is IERC6909 {\n    /**\n     * @dev Returns the name of the token of type `id`.\n     */\n    function name(uint256 id) external view returns (string memory);\n\n    /**\n     * @dev Returns the ticker symbol of the token of type `id`.\n     */\n    function symbol(uint256 id) external view returns (string memory);\n\n    /**\n     * @dev Returns the number of decimals for the token of type `id`.\n     */\n    function decimals(uint256 id) external view returns (uint8);\n}\n\n/**\n * @dev Optional extension of {IERC6909} that adds content URI functions.\n */\ninterface IERC6909ContentURI is IERC6909 {\n    /**\n     * @dev Returns URI for the contract.\n     */\n    function contractURI() external view returns (string memory);\n\n    /**\n     * @dev Returns the URI for the token of type `id`.\n     */\n    function tokenURI(uint256 id) external view returns (string memory);\n}\n\n/**\n * @dev Optional extension of {IERC6909} that adds a token supply function.\n */\ninterface IERC6909TokenSupply is IERC6909 {\n    /**\n     * @dev Returns the total supply of the token of type `id`.\n     */\n    function totalSupply(uint256 id) external view returns (uint256);\n}\n"},"@openzeppelin/contracts/interfaces/IERC7913.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.4.0) (interfaces/IERC7913.sol)\n\npragma solidity >=0.5.0;\n\n/**\n * @dev Signature verifier interface.\n */\ninterface IERC7913SignatureVerifier {\n    /**\n     * @dev Verifies `signature` as a valid signature of `hash` by `key`.\n     *\n     * MUST return the bytes4 magic value IERC7913SignatureVerifier.verify.selector if the signature is valid.\n     * SHOULD return 0xffffffff or revert if the signature is not valid.\n     * SHOULD return 0xffffffff or revert if the key is empty\n     */\n    function verify(bytes calldata key, bytes32 hash, bytes calldata signature) external view returns (bytes4);\n}\n"},"@openzeppelin/contracts/token/ERC20/IERC20.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.4.0) (token/ERC20/IERC20.sol)\n\npragma solidity >=0.4.16;\n\n/**\n * @dev Interface of the ERC-20 standard as defined in the ERC.\n */\ninterface IERC20 {\n    /**\n     * @dev Emitted when `value` tokens are moved from one account (`from`) to\n     * another (`to`).\n     *\n     * Note that `value` may be zero.\n     */\n    event Transfer(address indexed from, address indexed to, uint256 value);\n\n    /**\n     * @dev Emitted when the allowance of a `spender` for an `owner` is set by\n     * a call to {approve}. `value` is the new allowance.\n     */\n    event Approval(address indexed owner, address indexed spender, uint256 value);\n\n    /**\n     * @dev Returns the value of tokens in existence.\n     */\n    function totalSupply() external view returns (uint256);\n\n    /**\n     * @dev Returns the value of tokens owned by `account`.\n     */\n    function balanceOf(address account) external view returns (uint256);\n\n    /**\n     * @dev Moves a `value` amount of tokens from the caller's account to `to`.\n     *\n     * Returns a boolean value indicating whether the operation succeeded.\n     *\n     * Emits a {Transfer} event.\n     */\n    function transfer(address to, uint256 value) external returns (bool);\n\n    /**\n     * @dev Returns the remaining number of tokens that `spender` will be\n     * allowed to spend on behalf of `owner` through {transferFrom}. This is\n     * zero by default.\n     *\n     * This value changes when {approve} or {transferFrom} are called.\n     */\n    function allowance(address owner, address spender) external view returns (uint256);\n\n    /**\n     * @dev Sets a `value` amount of tokens as the allowance of `spender` over the\n     * caller's tokens.\n     *\n     * Returns a boolean value indicating whether the operation succeeded.\n     *\n     * IMPORTANT: Beware that changing an allowance with this method brings the risk\n     * that someone may use both the old and the new allowance by unfortunate\n     * transaction ordering. One possible solution to mitigate this race\n     * condition is to first reduce the spender's allowance to 0 and set the\n     * desired value afterwards:\n     * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729\n     *\n     * Emits an {Approval} event.\n     */\n    function approve(address spender, uint256 value) external returns (bool);\n\n    /**\n     * @dev Moves a `value` amount of tokens from `from` to `to` using the\n     * allowance mechanism. `value` is then deducted from the caller's\n     * allowance.\n     *\n     * Returns a boolean value indicating whether the operation succeeded.\n     *\n     * Emits a {Transfer} event.\n     */\n    function transferFrom(address from, address to, uint256 value) external returns (bool);\n}\n"},"@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.5.0) (token/ERC20/utils/SafeERC20.sol)\n\npragma solidity ^0.8.20;\n\nimport {IERC20} from \"../IERC20.sol\";\nimport {IERC1363} from \"../../../interfaces/IERC1363.sol\";\n\n/**\n * @title SafeERC20\n * @dev Wrappers around ERC-20 operations that throw on failure (when the token\n * contract returns false). Tokens that return no value (and instead revert or\n * throw on failure) are also supported, non-reverting calls are assumed to be\n * successful.\n * To use this library you can add a `using SafeERC20 for IERC20;` statement to your contract,\n * which allows you to call the safe operations as `token.safeTransfer(...)`, etc.\n */\nlibrary SafeERC20 {\n    /**\n     * @dev An operation with an ERC-20 token failed.\n     */\n    error SafeERC20FailedOperation(address token);\n\n    /**\n     * @dev Indicates a failed `decreaseAllowance` request.\n     */\n    error SafeERC20FailedDecreaseAllowance(address spender, uint256 currentAllowance, uint256 requestedDecrease);\n\n    /**\n     * @dev Transfer `value` amount of `token` from the calling contract to `to`. If `token` returns no value,\n     * non-reverting calls are assumed to be successful.\n     */\n    function safeTransfer(IERC20 token, address to, uint256 value) internal {\n        if (!_safeTransfer(token, to, value, true)) {\n            revert SafeERC20FailedOperation(address(token));\n        }\n    }\n\n    /**\n     * @dev Transfer `value` amount of `token` from `from` to `to`, spending the approval given by `from` to the\n     * calling contract. If `token` returns no value, non-reverting calls are assumed to be successful.\n     */\n    function safeTransferFrom(IERC20 token, address from, address to, uint256 value) internal {\n        if (!_safeTransferFrom(token, from, to, value, true)) {\n            revert SafeERC20FailedOperation(address(token));\n        }\n    }\n\n    /**\n     * @dev Variant of {safeTransfer} that returns a bool instead of reverting if the operation is not successful.\n     */\n    function trySafeTransfer(IERC20 token, address to, uint256 value) internal returns (bool) {\n        return _safeTransfer(token, to, value, false);\n    }\n\n    /**\n     * @dev Variant of {safeTransferFrom} that returns a bool instead of reverting if the operation is not successful.\n     */\n    function trySafeTransferFrom(IERC20 token, address from, address to, uint256 value) internal returns (bool) {\n        return _safeTransferFrom(token, from, to, value, false);\n    }\n\n    /**\n     * @dev Increase the calling contract's allowance toward `spender` by `value`. If `token` returns no value,\n     * non-reverting calls are assumed to be successful.\n     *\n     * IMPORTANT: If the token implements ERC-7674 (ERC-20 with temporary allowance), and if the \"client\"\n     * smart contract uses ERC-7674 to set temporary allowances, then the \"client\" smart contract should avoid using\n     * this function. Performing a {safeIncreaseAllowance} or {safeDecreaseAllowance} operation on a token contract\n     * that has a non-zero temporary allowance (for that particular owner-spender) will result in unexpected behavior.\n     */\n    function safeIncreaseAllowance(IERC20 token, address spender, uint256 value) internal {\n        uint256 oldAllowance = token.allowance(address(this), spender);\n        forceApprove(token, spender, oldAllowance + value);\n    }\n\n    /**\n     * @dev Decrease the calling contract's allowance toward `spender` by `requestedDecrease`. If `token` returns no\n     * value, non-reverting calls are assumed to be successful.\n     *\n     * IMPORTANT: If the token implements ERC-7674 (ERC-20 with temporary allowance), and if the \"client\"\n     * smart contract uses ERC-7674 to set temporary allowances, then the \"client\" smart contract should avoid using\n     * this function. Performing a {safeIncreaseAllowance} or {safeDecreaseAllowance} operation on a token contract\n     * that has a non-zero temporary allowance (for that particular owner-spender) will result in unexpected behavior.\n     */\n    function safeDecreaseAllowance(IERC20 token, address spender, uint256 requestedDecrease) internal {\n        unchecked {\n            uint256 currentAllowance = token.allowance(address(this), spender);\n            if (currentAllowance < requestedDecrease) {\n                revert SafeERC20FailedDecreaseAllowance(spender, currentAllowance, requestedDecrease);\n            }\n            forceApprove(token, spender, currentAllowance - requestedDecrease);\n        }\n    }\n\n    /**\n     * @dev Set the calling contract's allowance toward `spender` to `value`. If `token` returns no value,\n     * non-reverting calls are assumed to be successful. Meant to be used with tokens that require the approval\n     * to be set to zero before setting it to a non-zero value, such as USDT.\n     *\n     * NOTE: If the token implements ERC-7674, this function will not modify any temporary allowance. This function\n     * only sets the \"standard\" allowance. Any temporary allowance will remain active, in addition to the value being\n     * set here.\n     */\n    function forceApprove(IERC20 token, address spender, uint256 value) internal {\n        if (!_safeApprove(token, spender, value, false)) {\n            if (!_safeApprove(token, spender, 0, true)) revert SafeERC20FailedOperation(address(token));\n            if (!_safeApprove(token, spender, value, true)) revert SafeERC20FailedOperation(address(token));\n        }\n    }\n\n    /**\n     * @dev Performs an {ERC1363} transferAndCall, with a fallback to the simple {ERC20} transfer if the target has no\n     * code. This can be used to implement an {ERC721}-like safe transfer that relies on {ERC1363} checks when\n     * targeting contracts.\n     *\n     * Reverts if the returned value is other than `true`.\n     */\n    function transferAndCallRelaxed(IERC1363 token, address to, uint256 value, bytes memory data) internal {\n        if (to.code.length == 0) {\n            safeTransfer(token, to, value);\n        } else if (!token.transferAndCall(to, value, data)) {\n            revert SafeERC20FailedOperation(address(token));\n        }\n    }\n\n    /**\n     * @dev Performs an {ERC1363} transferFromAndCall, with a fallback to the simple {ERC20} transferFrom if the target\n     * has no code. This can be used to implement an {ERC721}-like safe transfer that relies on {ERC1363} checks when\n     * targeting contracts.\n     *\n     * Reverts if the returned value is other than `true`.\n     */\n    function transferFromAndCallRelaxed(\n        IERC1363 token,\n        address from,\n        address to,\n        uint256 value,\n        bytes memory data\n    ) internal {\n        if (to.code.length == 0) {\n            safeTransferFrom(token, from, to, value);\n        } else if (!token.transferFromAndCall(from, to, value, data)) {\n            revert SafeERC20FailedOperation(address(token));\n        }\n    }\n\n    /**\n     * @dev Performs an {ERC1363} approveAndCall, with a fallback to the simple {ERC20} approve if the target has no\n     * code. This can be used to implement an {ERC721}-like safe transfer that rely on {ERC1363} checks when\n     * targeting contracts.\n     *\n     * NOTE: When the recipient address (`to`) has no code (i.e. is an EOA), this function behaves as {forceApprove}.\n     * Oppositely, when the recipient address (`to`) has code, this function only attempts to call {ERC1363-approveAndCall}\n     * once without retrying, and relies on the returned value to be true.\n     *\n     * Reverts if the returned value is other than `true`.\n     */\n    function approveAndCallRelaxed(IERC1363 token, address to, uint256 value, bytes memory data) internal {\n        if (to.code.length == 0) {\n            forceApprove(token, to, value);\n        } else if (!token.approveAndCall(to, value, data)) {\n            revert SafeERC20FailedOperation(address(token));\n        }\n    }\n\n    /**\n     * @dev Imitates a Solidity `token.transfer(to, value)` call, relaxing the requirement on the return value: the\n     * return value is optional (but if data is returned, it must not be false).\n     *\n     * @param token The token targeted by the call.\n     * @param to The recipient of the tokens\n     * @param value The amount of token to transfer\n     * @param bubble Behavior switch if the transfer call reverts: bubble the revert reason or return a false boolean.\n     */\n    function _safeTransfer(IERC20 token, address to, uint256 value, bool bubble) private returns (bool success) {\n        bytes4 selector = IERC20.transfer.selector;\n\n        assembly (\"memory-safe\") {\n            let fmp := mload(0x40)\n            mstore(0x00, selector)\n            mstore(0x04, and(to, shr(96, not(0))))\n            mstore(0x24, value)\n            success := call(gas(), token, 0, 0x00, 0x44, 0x00, 0x20)\n            // if call success and return is true, all is good.\n            // otherwise (not success or return is not true), we need to perform further checks\n            if iszero(and(success, eq(mload(0x00), 1))) {\n                // if the call was a failure and bubble is enabled, bubble the error\n                if and(iszero(success), bubble) {\n                    returndatacopy(fmp, 0x00, returndatasize())\n                    revert(fmp, returndatasize())\n                }\n                // if the return value is not true, then the call is only successful if:\n                // - the token address has code\n                // - the returndata is empty\n                success := and(success, and(iszero(returndatasize()), gt(extcodesize(token), 0)))\n            }\n            mstore(0x40, fmp)\n        }\n    }\n\n    /**\n     * @dev Imitates a Solidity `token.transferFrom(from, to, value)` call, relaxing the requirement on the return\n     * value: the return value is optional (but if data is returned, it must not be false).\n     *\n     * @param token The token targeted by the call.\n     * @param from The sender of the tokens\n     * @param to The recipient of the tokens\n     * @param value The amount of token to transfer\n     * @param bubble Behavior switch if the transfer call reverts: bubble the revert reason or return a false boolean.\n     */\n    function _safeTransferFrom(\n        IERC20 token,\n        address from,\n        address to,\n        uint256 value,\n        bool bubble\n    ) private returns (bool success) {\n        bytes4 selector = IERC20.transferFrom.selector;\n\n        assembly (\"memory-safe\") {\n            let fmp := mload(0x40)\n            mstore(0x00, selector)\n            mstore(0x04, and(from, shr(96, not(0))))\n            mstore(0x24, and(to, shr(96, not(0))))\n            mstore(0x44, value)\n            success := call(gas(), token, 0, 0x00, 0x64, 0x00, 0x20)\n            // if call success and return is true, all is good.\n            // otherwise (not success or return is not true), we need to perform further checks\n            if iszero(and(success, eq(mload(0x00), 1))) {\n                // if the call was a failure and bubble is enabled, bubble the error\n                if and(iszero(success), bubble) {\n                    returndatacopy(fmp, 0x00, returndatasize())\n                    revert(fmp, returndatasize())\n                }\n                // if the return value is not true, then the call is only successful if:\n                // - the token address has code\n                // - the returndata is empty\n                success := and(success, and(iszero(returndatasize()), gt(extcodesize(token), 0)))\n            }\n            mstore(0x40, fmp)\n            mstore(0x60, 0)\n        }\n    }\n\n    /**\n     * @dev Imitates a Solidity `token.approve(spender, value)` call, relaxing the requirement on the return value:\n     * the return value is optional (but if data is returned, it must not be false).\n     *\n     * @param token The token targeted by the call.\n     * @param spender The spender of the tokens\n     * @param value The amount of token to transfer\n     * @param bubble Behavior switch if the transfer call reverts: bubble the revert reason or return a false boolean.\n     */\n    function _safeApprove(IERC20 token, address spender, uint256 value, bool bubble) private returns (bool success) {\n        bytes4 selector = IERC20.approve.selector;\n\n        assembly (\"memory-safe\") {\n            let fmp := mload(0x40)\n            mstore(0x00, selector)\n            mstore(0x04, and(spender, shr(96, not(0))))\n            mstore(0x24, value)\n            success := call(gas(), token, 0, 0x00, 0x44, 0x00, 0x20)\n            // if call success and return is true, all is good.\n            // otherwise (not success or return is not true), we need to perform further checks\n            if iszero(and(success, eq(mload(0x00), 1))) {\n                // if the call was a failure and bubble is enabled, bubble the error\n                if and(iszero(success), bubble) {\n                    returndatacopy(fmp, 0x00, returndatasize())\n                    revert(fmp, returndatasize())\n                }\n                // if the return value is not true, then the call is only successful if:\n                // - the token address has code\n                // - the returndata is empty\n                success := and(success, and(iszero(returndatasize()), gt(extcodesize(token), 0)))\n            }\n            mstore(0x40, fmp)\n        }\n    }\n}\n"},"@openzeppelin/contracts/token/ERC6909/ERC6909.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.5.0) (token/ERC6909/ERC6909.sol)\n\npragma solidity ^0.8.20;\n\nimport {IERC6909} from \"../../interfaces/IERC6909.sol\";\nimport {Context} from \"../../utils/Context.sol\";\nimport {IERC165, ERC165} from \"../../utils/introspection/ERC165.sol\";\n\n/**\n * @dev Implementation of ERC-6909.\n * See https://eips.ethereum.org/EIPS/eip-6909\n */\ncontract ERC6909 is Context, ERC165, IERC6909 {\n    mapping(address owner => mapping(uint256 id => uint256)) private _balances;\n\n    mapping(address owner => mapping(address operator => bool)) private _operatorApprovals;\n\n    mapping(address owner => mapping(address spender => mapping(uint256 id => uint256))) private _allowances;\n\n    error ERC6909InsufficientBalance(address sender, uint256 balance, uint256 needed, uint256 id);\n    error ERC6909InsufficientAllowance(address spender, uint256 allowance, uint256 needed, uint256 id);\n    error ERC6909InvalidApprover(address approver);\n    error ERC6909InvalidReceiver(address receiver);\n    error ERC6909InvalidSender(address sender);\n    error ERC6909InvalidSpender(address spender);\n\n    /// @inheritdoc IERC165\n    function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) {\n        return interfaceId == type(IERC6909).interfaceId || super.supportsInterface(interfaceId);\n    }\n\n    /// @inheritdoc IERC6909\n    function balanceOf(address owner, uint256 id) public view virtual override returns (uint256) {\n        return _balances[owner][id];\n    }\n\n    /// @inheritdoc IERC6909\n    function allowance(address owner, address spender, uint256 id) public view virtual override returns (uint256) {\n        return _allowances[owner][spender][id];\n    }\n\n    /// @inheritdoc IERC6909\n    function isOperator(address owner, address spender) public view virtual override returns (bool) {\n        return _operatorApprovals[owner][spender];\n    }\n\n    /// @inheritdoc IERC6909\n    function approve(address spender, uint256 id, uint256 amount) public virtual override returns (bool) {\n        _approve(_msgSender(), spender, id, amount);\n        return true;\n    }\n\n    /// @inheritdoc IERC6909\n    function setOperator(address spender, bool approved) public virtual override returns (bool) {\n        _setOperator(_msgSender(), spender, approved);\n        return true;\n    }\n\n    /// @inheritdoc IERC6909\n    function transfer(address receiver, uint256 id, uint256 amount) public virtual override returns (bool) {\n        _transfer(_msgSender(), receiver, id, amount);\n        return true;\n    }\n\n    /// @inheritdoc IERC6909\n    function transferFrom(\n        address sender,\n        address receiver,\n        uint256 id,\n        uint256 amount\n    ) public virtual override returns (bool) {\n        address caller = _msgSender();\n        if (sender != caller && !isOperator(sender, caller)) {\n            _spendAllowance(sender, caller, id, amount);\n        }\n        _transfer(sender, receiver, id, amount);\n        return true;\n    }\n\n    /**\n     * @dev Creates `amount` of token `id` and assigns them to `account`, by transferring it from address(0).\n     * Relies on the `_update` mechanism.\n     *\n     * Emits a {Transfer} event with `from` set to the zero address.\n     *\n     * NOTE: This function is not virtual, {_update} should be overridden instead.\n     */\n    function _mint(address to, uint256 id, uint256 amount) internal {\n        if (to == address(0)) {\n            revert ERC6909InvalidReceiver(address(0));\n        }\n        _update(address(0), to, id, amount);\n    }\n\n    /**\n     * @dev Moves `amount` of token `id` from `from` to `to` without checking for approvals. This function verifies\n     * that neither the sender nor the receiver are address(0), which means it cannot mint or burn tokens.\n     * Relies on the `_update` mechanism.\n     *\n     * Emits a {Transfer} event.\n     *\n     * NOTE: This function is not virtual, {_update} should be overridden instead.\n     */\n    function _transfer(address from, address to, uint256 id, uint256 amount) internal {\n        if (from == address(0)) {\n            revert ERC6909InvalidSender(address(0));\n        }\n        if (to == address(0)) {\n            revert ERC6909InvalidReceiver(address(0));\n        }\n        _update(from, to, id, amount);\n    }\n\n    /**\n     * @dev Destroys a `amount` of token `id` from `account`.\n     * Relies on the `_update` mechanism.\n     *\n     * Emits a {Transfer} event with `to` set to the zero address.\n     *\n     * NOTE: This function is not virtual, {_update} should be overridden instead\n     */\n    function _burn(address from, uint256 id, uint256 amount) internal {\n        if (from == address(0)) {\n            revert ERC6909InvalidSender(address(0));\n        }\n        _update(from, address(0), id, amount);\n    }\n\n    /**\n     * @dev Transfers `amount` of token `id` from `from` to `to`, or alternatively mints (or burns) if `from`\n     * (or `to`) is the zero address. All customizations to transfers, mints, and burns should be done by overriding\n     * this function.\n     *\n     * Emits a {Transfer} event.\n     */\n    function _update(address from, address to, uint256 id, uint256 amount) internal virtual {\n        address caller = _msgSender();\n\n        if (from != address(0)) {\n            uint256 fromBalance = _balances[from][id];\n            if (fromBalance < amount) {\n                revert ERC6909InsufficientBalance(from, fromBalance, amount, id);\n            }\n            unchecked {\n                // Overflow not possible: amount <= fromBalance.\n                _balances[from][id] = fromBalance - amount;\n            }\n        }\n        if (to != address(0)) {\n            _balances[to][id] += amount;\n        }\n\n        emit Transfer(caller, from, to, id, amount);\n    }\n\n    /**\n     * @dev Sets `amount` as the allowance of `spender` over the `owner`'s `id` tokens.\n     *\n     * This internal function is equivalent to `approve`, and can be used to e.g. set automatic allowances for certain\n     * subsystems, etc.\n     *\n     * Emits an {Approval} event.\n     *\n     * Requirements:\n     *\n     * - `owner` cannot be the zero address.\n     * - `spender` cannot be the zero address.\n     */\n    function _approve(address owner, address spender, uint256 id, uint256 amount) internal virtual {\n        if (owner == address(0)) {\n            revert ERC6909InvalidApprover(address(0));\n        }\n        if (spender == address(0)) {\n            revert ERC6909InvalidSpender(address(0));\n        }\n        _allowances[owner][spender][id] = amount;\n        emit Approval(owner, spender, id, amount);\n    }\n\n    /**\n     * @dev Approve `spender` to operate on all of `owner`'s tokens\n     *\n     * This internal function is equivalent to `setOperator`, and can be used to e.g. set automatic allowances for\n     * certain subsystems, etc.\n     *\n     * Emits an {OperatorSet} event.\n     *\n     * Requirements:\n     *\n     * - `owner` cannot be the zero address.\n     * - `spender` cannot be the zero address.\n     */\n    function _setOperator(address owner, address spender, bool approved) internal virtual {\n        if (owner == address(0)) {\n            revert ERC6909InvalidApprover(address(0));\n        }\n        if (spender == address(0)) {\n            revert ERC6909InvalidSpender(address(0));\n        }\n        _operatorApprovals[owner][spender] = approved;\n        emit OperatorSet(owner, spender, approved);\n    }\n\n    /**\n     * @dev Updates `owner`'s allowance for `spender` based on spent `amount`.\n     *\n     * Does not update the allowance value in case of infinite allowance.\n     * Revert if not enough allowance is available.\n     *\n     * Does not emit an {Approval} event.\n     */\n    function _spendAllowance(address owner, address spender, uint256 id, uint256 amount) internal virtual {\n        uint256 currentAllowance = allowance(owner, spender, id);\n        if (currentAllowance < type(uint256).max) {\n            if (currentAllowance < amount) {\n                revert ERC6909InsufficientAllowance(spender, currentAllowance, amount, id);\n            }\n            unchecked {\n                _allowances[owner][spender][id] = currentAllowance - amount;\n            }\n        }\n    }\n}\n"},"@openzeppelin/contracts/utils/Address.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.5.0) (utils/Address.sol)\n\npragma solidity ^0.8.20;\n\nimport {Errors} from \"./Errors.sol\";\nimport {LowLevelCall} from \"./LowLevelCall.sol\";\n\n/**\n * @dev Collection of functions related to the address type\n */\nlibrary Address {\n    /**\n     * @dev There's no code at `target` (it is not a contract).\n     */\n    error AddressEmptyCode(address target);\n\n    /**\n     * @dev Replacement for Solidity's `transfer`: sends `amount` wei to\n     * `recipient`, forwarding all available gas and reverting on errors.\n     *\n     * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost\n     * of certain opcodes, possibly making contracts go over the 2300 gas limit\n     * imposed by `transfer`, making them unable to receive funds via\n     * `transfer`. {sendValue} removes this limitation.\n     *\n     * https://consensys.net/diligence/blog/2019/09/stop-using-soliditys-transfer-now/[Learn more].\n     *\n     * IMPORTANT: because control is transferred to `recipient`, care must be\n     * taken to not create reentrancy vulnerabilities. Consider using\n     * {ReentrancyGuard} or the\n     * https://solidity.readthedocs.io/en/v0.8.20/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern].\n     */\n    function sendValue(address payable recipient, uint256 amount) internal {\n        if (address(this).balance < amount) {\n            revert Errors.InsufficientBalance(address(this).balance, amount);\n        }\n        if (LowLevelCall.callNoReturn(recipient, amount, \"\")) {\n            // call successful, nothing to do\n            return;\n        } else if (LowLevelCall.returnDataSize() > 0) {\n            LowLevelCall.bubbleRevert();\n        } else {\n            revert Errors.FailedCall();\n        }\n    }\n\n    /**\n     * @dev Performs a Solidity function call using a low level `call`. A\n     * plain `call` is an unsafe replacement for a function call: use this\n     * function instead.\n     *\n     * If `target` reverts with a revert reason or custom error, it is bubbled\n     * up by this function (like regular Solidity function calls). However, if\n     * the call reverted with no returned reason, this function reverts with a\n     * {Errors.FailedCall} error.\n     *\n     * Returns the raw returned data. To convert to the expected return value,\n     * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`].\n     *\n     * Requirements:\n     *\n     * - `target` must be a contract.\n     * - calling `target` with `data` must not revert.\n     */\n    function functionCall(address target, bytes memory data) internal returns (bytes memory) {\n        return functionCallWithValue(target, data, 0);\n    }\n\n    /**\n     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],\n     * but also transferring `value` wei to `target`.\n     *\n     * Requirements:\n     *\n     * - the calling contract must have an ETH balance of at least `value`.\n     * - the called Solidity function must be `payable`.\n     */\n    function functionCallWithValue(address target, bytes memory data, uint256 value) internal returns (bytes memory) {\n        if (address(this).balance < value) {\n            revert Errors.InsufficientBalance(address(this).balance, value);\n        }\n        bool success = LowLevelCall.callNoReturn(target, value, data);\n        if (success && (LowLevelCall.returnDataSize() > 0 || target.code.length > 0)) {\n            return LowLevelCall.returnData();\n        } else if (success) {\n            revert AddressEmptyCode(target);\n        } else if (LowLevelCall.returnDataSize() > 0) {\n            LowLevelCall.bubbleRevert();\n        } else {\n            revert Errors.FailedCall();\n        }\n    }\n\n    /**\n     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],\n     * but performing a static call.\n     */\n    function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) {\n        bool success = LowLevelCall.staticcallNoReturn(target, data);\n        if (success && (LowLevelCall.returnDataSize() > 0 || target.code.length > 0)) {\n            return LowLevelCall.returnData();\n        } else if (success) {\n            revert AddressEmptyCode(target);\n        } else if (LowLevelCall.returnDataSize() > 0) {\n            LowLevelCall.bubbleRevert();\n        } else {\n            revert Errors.FailedCall();\n        }\n    }\n\n    /**\n     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],\n     * but performing a delegate call.\n     */\n    function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) {\n        bool success = LowLevelCall.delegatecallNoReturn(target, data);\n        if (success && (LowLevelCall.returnDataSize() > 0 || target.code.length > 0)) {\n            return LowLevelCall.returnData();\n        } else if (success) {\n            revert AddressEmptyCode(target);\n        } else if (LowLevelCall.returnDataSize() > 0) {\n            LowLevelCall.bubbleRevert();\n        } else {\n            revert Errors.FailedCall();\n        }\n    }\n\n    /**\n     * @dev Tool to verify that a low level call to smart-contract was successful, and reverts if the target\n     * was not a contract or bubbling up the revert reason (falling back to {Errors.FailedCall}) in case\n     * of an unsuccessful call.\n     *\n     * NOTE: This function is DEPRECATED and may be removed in the next major release.\n     */\n    function verifyCallResultFromTarget(\n        address target,\n        bool success,\n        bytes memory returndata\n    ) internal view returns (bytes memory) {\n        // only check if target is a contract if the call was successful and the return data is empty\n        // otherwise we already know that it was a contract\n        if (success && (returndata.length > 0 || target.code.length > 0)) {\n            return returndata;\n        } else if (success) {\n            revert AddressEmptyCode(target);\n        } else if (returndata.length > 0) {\n            LowLevelCall.bubbleRevert(returndata);\n        } else {\n            revert Errors.FailedCall();\n        }\n    }\n\n    /**\n     * @dev Tool to verify that a low level call was successful, and reverts if it wasn't, either by bubbling the\n     * revert reason or with a default {Errors.FailedCall} error.\n     */\n    function verifyCallResult(bool success, bytes memory returndata) internal pure returns (bytes memory) {\n        if (success) {\n            return returndata;\n        } else if (returndata.length > 0) {\n            LowLevelCall.bubbleRevert(returndata);\n        } else {\n            revert Errors.FailedCall();\n        }\n    }\n}\n"},"@openzeppelin/contracts/utils/Bytes.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.5.0) (utils/Bytes.sol)\n\npragma solidity ^0.8.24;\n\nimport {Math} from \"./math/Math.sol\";\n\n/**\n * @dev Bytes operations.\n */\nlibrary Bytes {\n    /**\n     * @dev Forward search for `s` in `buffer`\n     * * If `s` is present in the buffer, returns the index of the first instance\n     * * If `s` is not present in the buffer, returns type(uint256).max\n     *\n     * NOTE: replicates the behavior of https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/indexOf[Javascript's `Array.indexOf`]\n     */\n    function indexOf(bytes memory buffer, bytes1 s) internal pure returns (uint256) {\n        return indexOf(buffer, s, 0);\n    }\n\n    /**\n     * @dev Forward search for `s` in `buffer` starting at position `pos`\n     * * If `s` is present in the buffer (at or after `pos`), returns the index of the next instance\n     * * If `s` is not present in the buffer (at or after `pos`), returns type(uint256).max\n     *\n     * NOTE: replicates the behavior of https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/indexOf[Javascript's `Array.indexOf`]\n     */\n    function indexOf(bytes memory buffer, bytes1 s, uint256 pos) internal pure returns (uint256) {\n        uint256 length = buffer.length;\n        for (uint256 i = pos; i < length; ++i) {\n            if (bytes1(_unsafeReadBytesOffset(buffer, i)) == s) {\n                return i;\n            }\n        }\n        return type(uint256).max;\n    }\n\n    /**\n     * @dev Backward search for `s` in `buffer`\n     * * If `s` is present in the buffer, returns the index of the last instance\n     * * If `s` is not present in the buffer, returns type(uint256).max\n     *\n     * NOTE: replicates the behavior of https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/lastIndexOf[Javascript's `Array.lastIndexOf`]\n     */\n    function lastIndexOf(bytes memory buffer, bytes1 s) internal pure returns (uint256) {\n        return lastIndexOf(buffer, s, type(uint256).max);\n    }\n\n    /**\n     * @dev Backward search for `s` in `buffer` starting at position `pos`\n     * * If `s` is present in the buffer (at or before `pos`), returns the index of the previous instance\n     * * If `s` is not present in the buffer (at or before `pos`), returns type(uint256).max\n     *\n     * NOTE: replicates the behavior of https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/lastIndexOf[Javascript's `Array.lastIndexOf`]\n     */\n    function lastIndexOf(bytes memory buffer, bytes1 s, uint256 pos) internal pure returns (uint256) {\n        unchecked {\n            uint256 length = buffer.length;\n            for (uint256 i = Math.min(Math.saturatingAdd(pos, 1), length); i > 0; --i) {\n                if (bytes1(_unsafeReadBytesOffset(buffer, i - 1)) == s) {\n                    return i - 1;\n                }\n            }\n            return type(uint256).max;\n        }\n    }\n\n    /**\n     * @dev Copies the content of `buffer`, from `start` (included) to the end of `buffer` into a new bytes object in\n     * memory.\n     *\n     * NOTE: replicates the behavior of https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/slice[Javascript's `Array.slice`]\n     */\n    function slice(bytes memory buffer, uint256 start) internal pure returns (bytes memory) {\n        return slice(buffer, start, buffer.length);\n    }\n\n    /**\n     * @dev Copies the content of `buffer`, from `start` (included) to `end` (excluded) into a new bytes object in\n     * memory. The `end` argument is truncated to the length of the `buffer`.\n     *\n     * NOTE: replicates the behavior of https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/slice[Javascript's `Array.slice`]\n     */\n    function slice(bytes memory buffer, uint256 start, uint256 end) internal pure returns (bytes memory) {\n        // sanitize\n        end = Math.min(end, buffer.length);\n        start = Math.min(start, end);\n\n        // allocate and copy\n        bytes memory result = new bytes(end - start);\n        assembly (\"memory-safe\") {\n            mcopy(add(result, 0x20), add(add(buffer, 0x20), start), sub(end, start))\n        }\n\n        return result;\n    }\n\n    /**\n     * @dev Moves the content of `buffer`, from `start` (included) to the end of `buffer` to the start of that buffer.\n     *\n     * NOTE: This function modifies the provided buffer in place. If you need to preserve the original buffer, use {slice} instead\n     * NOTE: replicates the behavior of https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/splice[Javascript's `Array.splice`]\n     */\n    function splice(bytes memory buffer, uint256 start) internal pure returns (bytes memory) {\n        return splice(buffer, start, buffer.length);\n    }\n\n    /**\n     * @dev Moves the content of `buffer`, from `start` (included) to end (excluded) to the start of that buffer. The\n     * `end` argument is truncated to the length of the `buffer`.\n     *\n     * NOTE: This function modifies the provided buffer in place. If you need to preserve the original buffer, use {slice} instead\n     * NOTE: replicates the behavior of https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/splice[Javascript's `Array.splice`]\n     */\n    function splice(bytes memory buffer, uint256 start, uint256 end) internal pure returns (bytes memory) {\n        // sanitize\n        end = Math.min(end, buffer.length);\n        start = Math.min(start, end);\n\n        // allocate and copy\n        assembly (\"memory-safe\") {\n            mcopy(add(buffer, 0x20), add(add(buffer, 0x20), start), sub(end, start))\n            mstore(buffer, sub(end, start))\n        }\n\n        return buffer;\n    }\n\n    /**\n     * @dev Replaces bytes in `buffer` starting at `pos` with all bytes from `replacement`.\n     *\n     * Parameters are clamped to valid ranges (i.e. `pos` is clamped to `[0, buffer.length]`).\n     * If `pos >= buffer.length`, no replacement occurs and the buffer is returned unchanged.\n     *\n     * NOTE: This function modifies the provided buffer in place.\n     */\n    function replace(bytes memory buffer, uint256 pos, bytes memory replacement) internal pure returns (bytes memory) {\n        return replace(buffer, pos, replacement, 0, replacement.length);\n    }\n\n    /**\n     * @dev Replaces bytes in `buffer` starting at `pos` with bytes from `replacement` starting at `offset`.\n     * Copies at most `length` bytes from `replacement` to `buffer`.\n     *\n     * Parameters are clamped to valid ranges (i.e. `pos` is clamped to `[0, buffer.length]`, `offset` is\n     * clamped to `[0, replacement.length]`, and `length` is clamped to `min(length, replacement.length - offset,\n     * buffer.length - pos))`. If `pos >= buffer.length` or `offset >= replacement.length`, no replacement occurs\n     * and the buffer is returned unchanged.\n     *\n     * NOTE: This function modifies the provided buffer in place.\n     */\n    function replace(\n        bytes memory buffer,\n        uint256 pos,\n        bytes memory replacement,\n        uint256 offset,\n        uint256 length\n    ) internal pure returns (bytes memory) {\n        // sanitize\n        pos = Math.min(pos, buffer.length);\n        offset = Math.min(offset, replacement.length);\n        length = Math.min(length, Math.min(replacement.length - offset, buffer.length - pos));\n\n        // allocate and copy\n        assembly (\"memory-safe\") {\n            mcopy(add(add(buffer, 0x20), pos), add(add(replacement, 0x20), offset), length)\n        }\n\n        return buffer;\n    }\n\n    /**\n     * @dev Concatenate an array of bytes into a single bytes object.\n     *\n     * For fixed bytes types, we recommend using the solidity built-in `bytes.concat` or (equivalent)\n     * `abi.encodePacked`.\n     *\n     * NOTE: this could be done in assembly with a single loop that expands starting at the FMP, but that would be\n     * significantly less readable. It might be worth benchmarking the savings of the full-assembly approach.\n     */\n    function concat(bytes[] memory buffers) internal pure returns (bytes memory) {\n        uint256 length = 0;\n        for (uint256 i = 0; i < buffers.length; ++i) {\n            length += buffers[i].length;\n        }\n\n        bytes memory result = new bytes(length);\n\n        uint256 offset = 0x20;\n        for (uint256 i = 0; i < buffers.length; ++i) {\n            bytes memory input = buffers[i];\n            assembly (\"memory-safe\") {\n                mcopy(add(result, offset), add(input, 0x20), mload(input))\n            }\n            unchecked {\n                offset += input.length;\n            }\n        }\n\n        return result;\n    }\n\n    /**\n     * @dev Split each byte in `input` into two nibbles (4 bits each)\n     *\n     * Example: hex\"01234567\" → hex\"0001020304050607\"\n     */\n    function toNibbles(bytes memory input) internal pure returns (bytes memory output) {\n        assembly (\"memory-safe\") {\n            let length := mload(input)\n            output := mload(0x40)\n            mstore(0x40, add(add(output, 0x20), mul(length, 2)))\n            mstore(output, mul(length, 2))\n            for {\n                let i := 0\n            } lt(i, length) {\n                i := add(i, 0x10)\n            } {\n                let chunk := shr(128, mload(add(add(input, 0x20), i)))\n                chunk := and(\n                    0x0000000000000000ffffffffffffffff0000000000000000ffffffffffffffff,\n                    or(shl(64, chunk), chunk)\n                )\n                chunk := and(\n                    0x00000000ffffffff00000000ffffffff00000000ffffffff00000000ffffffff,\n                    or(shl(32, chunk), chunk)\n                )\n                chunk := and(\n                    0x0000ffff0000ffff0000ffff0000ffff0000ffff0000ffff0000ffff0000ffff,\n                    or(shl(16, chunk), chunk)\n                )\n                chunk := and(\n                    0x00ff00ff00ff00ff00ff00ff00ff00ff00ff00ff00ff00ff00ff00ff00ff00ff,\n                    or(shl(8, chunk), chunk)\n                )\n                chunk := and(\n                    0x0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f,\n                    or(shl(4, chunk), chunk)\n                )\n                mstore(add(add(output, 0x20), mul(i, 2)), chunk)\n            }\n        }\n    }\n\n    /**\n     * @dev Returns true if the two byte buffers are equal.\n     */\n    function equal(bytes memory a, bytes memory b) internal pure returns (bool) {\n        return a.length == b.length && keccak256(a) == keccak256(b);\n    }\n\n    /**\n     * @dev Reverses the byte order of a bytes32 value, converting between little-endian and big-endian.\n     * Inspired by https://graphics.stanford.edu/~seander/bithacks.html#ReverseParallel[Reverse Parallel]\n     */\n    function reverseBytes32(bytes32 value) internal pure returns (bytes32) {\n        value = // swap bytes\n            ((value >> 8) & 0x00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF) |\n            ((value & 0x00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF) << 8);\n        value = // swap 2-byte long pairs\n            ((value >> 16) & 0x0000FFFF0000FFFF0000FFFF0000FFFF0000FFFF0000FFFF0000FFFF0000FFFF) |\n            ((value & 0x0000FFFF0000FFFF0000FFFF0000FFFF0000FFFF0000FFFF0000FFFF0000FFFF) << 16);\n        value = // swap 4-byte long pairs\n            ((value >> 32) & 0x00000000FFFFFFFF00000000FFFFFFFF00000000FFFFFFFF00000000FFFFFFFF) |\n            ((value & 0x00000000FFFFFFFF00000000FFFFFFFF00000000FFFFFFFF00000000FFFFFFFF) << 32);\n        value = // swap 8-byte long pairs\n            ((value >> 64) & 0x0000000000000000FFFFFFFFFFFFFFFF0000000000000000FFFFFFFFFFFFFFFF) |\n            ((value & 0x0000000000000000FFFFFFFFFFFFFFFF0000000000000000FFFFFFFFFFFFFFFF) << 64);\n        return (value >> 128) | (value << 128); // swap 16-byte long pairs\n    }\n\n    /// @dev Same as {reverseBytes32} but optimized for 128-bit values.\n    function reverseBytes16(bytes16 value) internal pure returns (bytes16) {\n        value = // swap bytes\n            ((value & 0xFF00FF00FF00FF00FF00FF00FF00FF00) >> 8) |\n            ((value & 0x00FF00FF00FF00FF00FF00FF00FF00FF) << 8);\n        value = // swap 2-byte long pairs\n            ((value & 0xFFFF0000FFFF0000FFFF0000FFFF0000) >> 16) |\n            ((value & 0x0000FFFF0000FFFF0000FFFF0000FFFF) << 16);\n        value = // swap 4-byte long pairs\n            ((value & 0xFFFFFFFF00000000FFFFFFFF00000000) >> 32) |\n            ((value & 0x00000000FFFFFFFF00000000FFFFFFFF) << 32);\n        return (value >> 64) | (value << 64); // swap 8-byte long pairs\n    }\n\n    /// @dev Same as {reverseBytes32} but optimized for 64-bit values.\n    function reverseBytes8(bytes8 value) internal pure returns (bytes8) {\n        value = ((value & 0xFF00FF00FF00FF00) >> 8) | ((value & 0x00FF00FF00FF00FF) << 8); // swap bytes\n        value = ((value & 0xFFFF0000FFFF0000) >> 16) | ((value & 0x0000FFFF0000FFFF) << 16); // swap 2-byte long pairs\n        return (value >> 32) | (value << 32); // swap 4-byte long pairs\n    }\n\n    /// @dev Same as {reverseBytes32} but optimized for 32-bit values.\n    function reverseBytes4(bytes4 value) internal pure returns (bytes4) {\n        value = ((value & 0xFF00FF00) >> 8) | ((value & 0x00FF00FF) << 8); // swap bytes\n        return (value >> 16) | (value << 16); // swap 2-byte long pairs\n    }\n\n    /// @dev Same as {reverseBytes32} but optimized for 16-bit values.\n    function reverseBytes2(bytes2 value) internal pure returns (bytes2) {\n        return (value >> 8) | (value << 8);\n    }\n\n    /**\n     * @dev Counts the number of leading zero bits a bytes array. Returns `8 * buffer.length`\n     * if the buffer is all zeros.\n     */\n    function clz(bytes memory buffer) internal pure returns (uint256) {\n        for (uint256 i = 0; i < buffer.length; i += 0x20) {\n            bytes32 chunk = _unsafeReadBytesOffset(buffer, i);\n            if (chunk != bytes32(0)) {\n                return Math.min(8 * i + Math.clz(uint256(chunk)), 8 * buffer.length);\n            }\n        }\n        return 8 * buffer.length;\n    }\n\n    /**\n     * @dev Reads a bytes32 from a bytes array without bounds checking.\n     *\n     * NOTE: making this function internal would mean it could be used with memory unsafe offset, and marking the\n     * assembly block as such would prevent some optimizations.\n     */\n    function _unsafeReadBytesOffset(bytes memory buffer, uint256 offset) private pure returns (bytes32 value) {\n        // This is not memory safe in the general case, but all calls to this private function are within bounds.\n        assembly (\"memory-safe\") {\n            value := mload(add(add(buffer, 0x20), offset))\n        }\n    }\n}\n"},"@openzeppelin/contracts/utils/Context.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.0.1) (utils/Context.sol)\n\npragma solidity ^0.8.20;\n\n/**\n * @dev Provides information about the current execution context, including the\n * sender of the transaction and its data. While these are generally available\n * via msg.sender and msg.data, they should not be accessed in such a direct\n * manner, since when dealing with meta-transactions the account sending and\n * paying for execution may not be the actual sender (as far as an application\n * is concerned).\n *\n * This contract is only required for intermediate, library-like contracts.\n */\nabstract contract Context {\n    function _msgSender() internal view virtual returns (address) {\n        return msg.sender;\n    }\n\n    function _msgData() internal view virtual returns (bytes calldata) {\n        return msg.data;\n    }\n\n    function _contextSuffixLength() internal view virtual returns (uint256) {\n        return 0;\n    }\n}\n"},"@openzeppelin/contracts/utils/cryptography/ECDSA.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.5.0) (utils/cryptography/ECDSA.sol)\n\npragma solidity ^0.8.20;\n\n/**\n * @dev Elliptic Curve Digital Signature Algorithm (ECDSA) operations.\n *\n * These functions can be used to verify that a message was signed by the holder\n * of the private keys of a given address.\n */\nlibrary ECDSA {\n    enum RecoverError {\n        NoError,\n        InvalidSignature,\n        InvalidSignatureLength,\n        InvalidSignatureS\n    }\n\n    /**\n     * @dev The signature is invalid.\n     */\n    error ECDSAInvalidSignature();\n\n    /**\n     * @dev The signature has an invalid length.\n     */\n    error ECDSAInvalidSignatureLength(uint256 length);\n\n    /**\n     * @dev The signature has an S value that is in the upper half order.\n     */\n    error ECDSAInvalidSignatureS(bytes32 s);\n\n    /**\n     * @dev Returns the address that signed a hashed message (`hash`) with `signature` or an error. This will not\n     * return address(0) without also returning an error description. Errors are documented using an enum (error type)\n     * and a bytes32 providing additional information about the error.\n     *\n     * If no error is returned, then the address can be used for verification purposes.\n     *\n     * The `ecrecover` EVM precompile allows for malleable (non-unique) signatures:\n     * this function rejects them by requiring the `s` value to be in the lower\n     * half order, and the `v` value to be either 27 or 28.\n     *\n     * NOTE: This function only supports 65-byte signatures. ERC-2098 short signatures are rejected. This restriction\n     * is DEPRECATED and will be removed in v6.0. Developers SHOULD NOT use signatures as unique identifiers; use hash\n     * invalidation or nonces for replay protection.\n     *\n     * IMPORTANT: `hash` _must_ be the result of a hash operation for the\n     * verification to be secure: it is possible to craft signatures that\n     * recover to arbitrary addresses for non-hashed data. A safe way to ensure\n     * this is by receiving a hash of the original message (which may otherwise\n     * be too long), and then calling {MessageHashUtils-toEthSignedMessageHash} on it.\n     *\n     * Documentation for signature generation:\n     *\n     * - with https://web3js.readthedocs.io/en/v1.3.4/web3-eth-accounts.html#sign[Web3.js]\n     * - with https://docs.ethers.io/v5/api/signer/#Signer-signMessage[ethers]\n     */\n    function tryRecover(\n        bytes32 hash,\n        bytes memory signature\n    ) internal pure returns (address recovered, RecoverError err, bytes32 errArg) {\n        if (signature.length == 65) {\n            bytes32 r;\n            bytes32 s;\n            uint8 v;\n            // ecrecover takes the signature parameters, and the only way to get them\n            // currently is to use assembly.\n            assembly (\"memory-safe\") {\n                r := mload(add(signature, 0x20))\n                s := mload(add(signature, 0x40))\n                v := byte(0, mload(add(signature, 0x60)))\n            }\n            return tryRecover(hash, v, r, s);\n        } else {\n            return (address(0), RecoverError.InvalidSignatureLength, bytes32(signature.length));\n        }\n    }\n\n    /**\n     * @dev Variant of {tryRecover} that takes a signature in calldata\n     */\n    function tryRecoverCalldata(\n        bytes32 hash,\n        bytes calldata signature\n    ) internal pure returns (address recovered, RecoverError err, bytes32 errArg) {\n        if (signature.length == 65) {\n            bytes32 r;\n            bytes32 s;\n            uint8 v;\n            // ecrecover takes the signature parameters, calldata slices would work here, but are\n            // significantly more expensive (length check) than using calldataload in assembly.\n            assembly (\"memory-safe\") {\n                r := calldataload(signature.offset)\n                s := calldataload(add(signature.offset, 0x20))\n                v := byte(0, calldataload(add(signature.offset, 0x40)))\n            }\n            return tryRecover(hash, v, r, s);\n        } else {\n            return (address(0), RecoverError.InvalidSignatureLength, bytes32(signature.length));\n        }\n    }\n\n    /**\n     * @dev Returns the address that signed a hashed message (`hash`) with\n     * `signature`. This address can then be used for verification purposes.\n     *\n     * The `ecrecover` EVM precompile allows for malleable (non-unique) signatures:\n     * this function rejects them by requiring the `s` value to be in the lower\n     * half order, and the `v` value to be either 27 or 28.\n     *\n     * NOTE: This function only supports 65-byte signatures. ERC-2098 short signatures are rejected. This restriction\n     * is DEPRECATED and will be removed in v6.0. Developers SHOULD NOT use signatures as unique identifiers; use hash\n     * invalidation or nonces for replay protection.\n     *\n     * IMPORTANT: `hash` _must_ be the result of a hash operation for the\n     * verification to be secure: it is possible to craft signatures that\n     * recover to arbitrary addresses for non-hashed data. A safe way to ensure\n     * this is by receiving a hash of the original message (which may otherwise\n     * be too long), and then calling {MessageHashUtils-toEthSignedMessageHash} on it.\n     */\n    function recover(bytes32 hash, bytes memory signature) internal pure returns (address) {\n        (address recovered, RecoverError error, bytes32 errorArg) = tryRecover(hash, signature);\n        _throwError(error, errorArg);\n        return recovered;\n    }\n\n    /**\n     * @dev Variant of {recover} that takes a signature in calldata\n     */\n    function recoverCalldata(bytes32 hash, bytes calldata signature) internal pure returns (address) {\n        (address recovered, RecoverError error, bytes32 errorArg) = tryRecoverCalldata(hash, signature);\n        _throwError(error, errorArg);\n        return recovered;\n    }\n\n    /**\n     * @dev Overload of {ECDSA-tryRecover} that receives the `r` and `vs` short-signature fields separately.\n     *\n     * See https://eips.ethereum.org/EIPS/eip-2098[ERC-2098 short signatures]\n     */\n    function tryRecover(\n        bytes32 hash,\n        bytes32 r,\n        bytes32 vs\n    ) internal pure returns (address recovered, RecoverError err, bytes32 errArg) {\n        unchecked {\n            bytes32 s = vs & bytes32(0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff);\n            // We do not check for an overflow here since the shift operation results in 0 or 1.\n            uint8 v = uint8((uint256(vs) >> 255) + 27);\n            return tryRecover(hash, v, r, s);\n        }\n    }\n\n    /**\n     * @dev Overload of {ECDSA-recover} that receives the `r` and `vs` short-signature fields separately.\n     */\n    function recover(bytes32 hash, bytes32 r, bytes32 vs) internal pure returns (address) {\n        (address recovered, RecoverError error, bytes32 errorArg) = tryRecover(hash, r, vs);\n        _throwError(error, errorArg);\n        return recovered;\n    }\n\n    /**\n     * @dev Overload of {ECDSA-tryRecover} that receives the `v`,\n     * `r` and `s` signature fields separately.\n     */\n    function tryRecover(\n        bytes32 hash,\n        uint8 v,\n        bytes32 r,\n        bytes32 s\n    ) internal pure returns (address recovered, RecoverError err, bytes32 errArg) {\n        // EIP-2 still allows signature malleability for ecrecover(). Remove this possibility and make the signature\n        // unique. Appendix F in the Ethereum Yellow paper (https://ethereum.github.io/yellowpaper/paper.pdf), defines\n        // the valid range for s in (301): 0 < s < secp256k1n ÷ 2 + 1, and for v in (302): v ∈ {27, 28}. Most\n        // signatures from current libraries generate a unique signature with an s-value in the lower half order.\n        //\n        // If your library generates malleable signatures, such as s-values in the upper range, calculate a new s-value\n        // with 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEBAAEDCE6AF48A03BBFD25E8CD0364141 - s1 and flip v from 27 to 28 or\n        // vice versa. If your library also generates signatures with 0/1 for v instead 27/28, add 27 to v to accept\n        // these malleable signatures as well.\n        if (uint256(s) > 0x7FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF5D576E7357A4501DDFE92F46681B20A0) {\n            return (address(0), RecoverError.InvalidSignatureS, s);\n        }\n\n        // If the signature is valid (and not malleable), return the signer address\n        address signer = ecrecover(hash, v, r, s);\n        if (signer == address(0)) {\n            return (address(0), RecoverError.InvalidSignature, bytes32(0));\n        }\n\n        return (signer, RecoverError.NoError, bytes32(0));\n    }\n\n    /**\n     * @dev Overload of {ECDSA-recover} that receives the `v`,\n     * `r` and `s` signature fields separately.\n     */\n    function recover(bytes32 hash, uint8 v, bytes32 r, bytes32 s) internal pure returns (address) {\n        (address recovered, RecoverError error, bytes32 errorArg) = tryRecover(hash, v, r, s);\n        _throwError(error, errorArg);\n        return recovered;\n    }\n\n    /**\n     * @dev Parse a signature into its `v`, `r` and `s` components. Supports 65-byte and 64-byte (ERC-2098)\n     * formats. Returns (0,0,0) for invalid signatures.\n     *\n     * For 64-byte signatures, `v` is automatically normalized to 27 or 28.\n     * For 65-byte signatures, `v` is returned as-is and MUST already be 27 or 28 for use with ecrecover.\n     *\n     * Consider validating the result before use, or use {tryRecover}/{recover} which perform full validation.\n     */\n    function parse(bytes memory signature) internal pure returns (uint8 v, bytes32 r, bytes32 s) {\n        assembly (\"memory-safe\") {\n            // Check the signature length\n            switch mload(signature)\n            // - case 65: r,s,v signature (standard)\n            case 65 {\n                r := mload(add(signature, 0x20))\n                s := mload(add(signature, 0x40))\n                v := byte(0, mload(add(signature, 0x60)))\n            }\n            // - case 64: r,vs signature (cf https://eips.ethereum.org/EIPS/eip-2098)\n            case 64 {\n                let vs := mload(add(signature, 0x40))\n                r := mload(add(signature, 0x20))\n                s := and(vs, shr(1, not(0)))\n                v := add(shr(255, vs), 27)\n            }\n            default {\n                r := 0\n                s := 0\n                v := 0\n            }\n        }\n    }\n\n    /**\n     * @dev Variant of {parse} that takes a signature in calldata\n     */\n    function parseCalldata(bytes calldata signature) internal pure returns (uint8 v, bytes32 r, bytes32 s) {\n        assembly (\"memory-safe\") {\n            // Check the signature length\n            switch signature.length\n            // - case 65: r,s,v signature (standard)\n            case 65 {\n                r := calldataload(signature.offset)\n                s := calldataload(add(signature.offset, 0x20))\n                v := byte(0, calldataload(add(signature.offset, 0x40)))\n            }\n            // - case 64: r,vs signature (cf https://eips.ethereum.org/EIPS/eip-2098)\n            case 64 {\n                let vs := calldataload(add(signature.offset, 0x20))\n                r := calldataload(signature.offset)\n                s := and(vs, shr(1, not(0)))\n                v := add(shr(255, vs), 27)\n            }\n            default {\n                r := 0\n                s := 0\n                v := 0\n            }\n        }\n    }\n\n    /**\n     * @dev Optionally reverts with the corresponding custom error according to the `error` argument provided.\n     */\n    function _throwError(RecoverError error, bytes32 errorArg) private pure {\n        if (error == RecoverError.NoError) {\n            return; // no error: do nothing\n        } else if (error == RecoverError.InvalidSignature) {\n            revert ECDSAInvalidSignature();\n        } else if (error == RecoverError.InvalidSignatureLength) {\n            revert ECDSAInvalidSignatureLength(uint256(errorArg));\n        } else if (error == RecoverError.InvalidSignatureS) {\n            revert ECDSAInvalidSignatureS(errorArg);\n        }\n    }\n}\n"},"@openzeppelin/contracts/utils/cryptography/EIP712.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.5.0) (utils/cryptography/EIP712.sol)\n\npragma solidity ^0.8.24;\n\nimport {MessageHashUtils} from \"./MessageHashUtils.sol\";\nimport {ShortStrings, ShortString} from \"../ShortStrings.sol\";\nimport {IERC5267} from \"../../interfaces/IERC5267.sol\";\n\n/**\n * @dev https://eips.ethereum.org/EIPS/eip-712[EIP-712] is a standard for hashing and signing of typed structured data.\n *\n * The encoding scheme specified in the EIP requires a domain separator and a hash of the typed structured data, whose\n * encoding is very generic and therefore its implementation in Solidity is not feasible, thus this contract\n * does not implement the encoding itself. Protocols need to implement the type-specific encoding they need in order to\n * produce the hash of their typed data using a combination of `abi.encode` and `keccak256`.\n *\n * This contract implements the EIP-712 domain separator ({_domainSeparatorV4}) that is used as part of the encoding\n * scheme, and the final step of the encoding to obtain the message digest that is then signed via ECDSA\n * ({_hashTypedDataV4}).\n *\n * The implementation of the domain separator was designed to be as efficient as possible while still properly updating\n * the chain id to protect against replay attacks on an eventual fork of the chain.\n *\n * NOTE: This contract implements the version of the encoding known as \"v4\", as implemented by the JSON RPC method\n * https://docs.metamask.io/guide/signing-data.html[`eth_signTypedDataV4` in MetaMask].\n *\n * NOTE: In the upgradeable version of this contract, the cached values will correspond to the address, and the domain\n * separator of the implementation contract. This will cause the {_domainSeparatorV4} function to always rebuild the\n * separator from the immutable values, which is cheaper than accessing a cached version in cold storage.\n *\n * @custom:oz-upgrades-unsafe-allow state-variable-immutable\n */\nabstract contract EIP712 is IERC5267 {\n    using ShortStrings for *;\n\n    bytes32 private constant TYPE_HASH =\n        keccak256(\"EIP712Domain(string name,string version,uint256 chainId,address verifyingContract)\");\n\n    // Cache the domain separator as an immutable value, but also store the chain id that it corresponds to, in order to\n    // invalidate the cached domain separator if the chain id changes.\n    bytes32 private immutable _cachedDomainSeparator;\n    uint256 private immutable _cachedChainId;\n    address private immutable _cachedThis;\n\n    bytes32 private immutable _hashedName;\n    bytes32 private immutable _hashedVersion;\n\n    ShortString private immutable _name;\n    ShortString private immutable _version;\n    // slither-disable-next-line constable-states\n    string private _nameFallback;\n    // slither-disable-next-line constable-states\n    string private _versionFallback;\n\n    /**\n     * @dev Initializes the domain separator and parameter caches.\n     *\n     * The meaning of `name` and `version` is specified in\n     * https://eips.ethereum.org/EIPS/eip-712#definition-of-domainseparator[EIP-712]:\n     *\n     * - `name`: the user readable name of the signing domain, i.e. the name of the DApp or the protocol.\n     * - `version`: the current major version of the signing domain.\n     *\n     * NOTE: These parameters cannot be changed except through a xref:learn::upgrading-smart-contracts.adoc[smart\n     * contract upgrade].\n     */\n    constructor(string memory name, string memory version) {\n        _name = name.toShortStringWithFallback(_nameFallback);\n        _version = version.toShortStringWithFallback(_versionFallback);\n        _hashedName = keccak256(bytes(name));\n        _hashedVersion = keccak256(bytes(version));\n\n        _cachedChainId = block.chainid;\n        _cachedDomainSeparator = _buildDomainSeparator();\n        _cachedThis = address(this);\n    }\n\n    /**\n     * @dev Returns the domain separator for the current chain.\n     */\n    function _domainSeparatorV4() internal view returns (bytes32) {\n        if (address(this) == _cachedThis && block.chainid == _cachedChainId) {\n            return _cachedDomainSeparator;\n        } else {\n            return _buildDomainSeparator();\n        }\n    }\n\n    function _buildDomainSeparator() private view returns (bytes32) {\n        return keccak256(abi.encode(TYPE_HASH, _hashedName, _hashedVersion, block.chainid, address(this)));\n    }\n\n    /**\n     * @dev Given an already https://eips.ethereum.org/EIPS/eip-712#definition-of-hashstruct[hashed struct], this\n     * function returns the hash of the fully encoded EIP712 message for this domain.\n     *\n     * This hash can be used together with {ECDSA-recover} to obtain the signer of a message. For example:\n     *\n     * ```solidity\n     * bytes32 digest = _hashTypedDataV4(keccak256(abi.encode(\n     *     keccak256(\"Mail(address to,string contents)\"),\n     *     mailTo,\n     *     keccak256(bytes(mailContents))\n     * )));\n     * address signer = ECDSA.recover(digest, signature);\n     * ```\n     */\n    function _hashTypedDataV4(bytes32 structHash) internal view virtual returns (bytes32) {\n        return MessageHashUtils.toTypedDataHash(_domainSeparatorV4(), structHash);\n    }\n\n    /// @inheritdoc IERC5267\n    function eip712Domain()\n        public\n        view\n        virtual\n        returns (\n            bytes1 fields,\n            string memory name,\n            string memory version,\n            uint256 chainId,\n            address verifyingContract,\n            bytes32 salt,\n            uint256[] memory extensions\n        )\n    {\n        return (\n            hex\"0f\", // 01111\n            _EIP712Name(),\n            _EIP712Version(),\n            block.chainid,\n            address(this),\n            bytes32(0),\n            new uint256[](0)\n        );\n    }\n\n    /**\n     * @dev The name parameter for the EIP712 domain.\n     *\n     * NOTE: By default this function reads _name which is an immutable value.\n     * It only reads from storage if necessary (in case the value is too large to fit in a ShortString).\n     */\n    // solhint-disable-next-line func-name-mixedcase\n    function _EIP712Name() internal view returns (string memory) {\n        return _name.toStringWithFallback(_nameFallback);\n    }\n\n    /**\n     * @dev The version parameter for the EIP712 domain.\n     *\n     * NOTE: By default this function reads _version which is an immutable value.\n     * It only reads from storage if necessary (in case the value is too large to fit in a ShortString).\n     */\n    // solhint-disable-next-line func-name-mixedcase\n    function _EIP712Version() internal view returns (string memory) {\n        return _version.toStringWithFallback(_versionFallback);\n    }\n}\n"},"@openzeppelin/contracts/utils/cryptography/MessageHashUtils.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.5.0) (utils/cryptography/MessageHashUtils.sol)\n\npragma solidity ^0.8.24;\n\nimport {Strings} from \"../Strings.sol\";\n\n/**\n * @dev Signature message hash utilities for producing digests to be consumed by {ECDSA} recovery or signing.\n *\n * The library provides methods for generating a hash of a message that conforms to the\n * https://eips.ethereum.org/EIPS/eip-191[ERC-191] and https://eips.ethereum.org/EIPS/eip-712[EIP 712]\n * specifications.\n */\nlibrary MessageHashUtils {\n    error ERC5267ExtensionsNotSupported();\n\n    /**\n     * @dev Returns the keccak256 digest of an ERC-191 signed data with version\n     * `0x45` (`personal_sign` messages).\n     *\n     * The digest is calculated by prefixing a bytes32 `messageHash` with\n     * `\"\\x19Ethereum Signed Message:\\n32\"` and hashing the result. It corresponds with the\n     * hash signed when using the https://ethereum.org/en/developers/docs/apis/json-rpc/#eth_sign[`eth_sign`] JSON-RPC method.\n     *\n     * NOTE: The `messageHash` parameter is intended to be the result of hashing a raw message with\n     * keccak256, although any bytes32 value can be safely used because the final digest will\n     * be re-hashed.\n     *\n     * See {ECDSA-recover}.\n     */\n    function toEthSignedMessageHash(bytes32 messageHash) internal pure returns (bytes32 digest) {\n        assembly (\"memory-safe\") {\n            mstore(0x00, \"\\x19Ethereum Signed Message:\\n32\") // 32 is the bytes-length of messageHash\n            mstore(0x1c, messageHash) // 0x1c (28) is the length of the prefix\n            digest := keccak256(0x00, 0x3c) // 0x3c is the length of the prefix (0x1c) + messageHash (0x20)\n        }\n    }\n\n    /**\n     * @dev Returns the keccak256 digest of an ERC-191 signed data with version\n     * `0x45` (`personal_sign` messages).\n     *\n     * The digest is calculated by prefixing an arbitrary `message` with\n     * `\"\\x19Ethereum Signed Message:\\n\" + len(message)` and hashing the result. It corresponds with the\n     * hash signed when using the https://ethereum.org/en/developers/docs/apis/json-rpc/#eth_sign[`eth_sign`] JSON-RPC method.\n     *\n     * See {ECDSA-recover}.\n     */\n    function toEthSignedMessageHash(bytes memory message) internal pure returns (bytes32) {\n        return\n            keccak256(bytes.concat(\"\\x19Ethereum Signed Message:\\n\", bytes(Strings.toString(message.length)), message));\n    }\n\n    /**\n     * @dev Returns the keccak256 digest of an ERC-191 signed data with version\n     * `0x00` (data with intended validator).\n     *\n     * The digest is calculated by prefixing an arbitrary `data` with `\"\\x19\\x00\"` and the intended\n     * `validator` address. Then hashing the result.\n     *\n     * See {ECDSA-recover}.\n     */\n    function toDataWithIntendedValidatorHash(address validator, bytes memory data) internal pure returns (bytes32) {\n        return keccak256(abi.encodePacked(hex\"19_00\", validator, data));\n    }\n\n    /**\n     * @dev Variant of {toDataWithIntendedValidatorHash-address-bytes} optimized for cases where `data` is a bytes32.\n     */\n    function toDataWithIntendedValidatorHash(\n        address validator,\n        bytes32 messageHash\n    ) internal pure returns (bytes32 digest) {\n        assembly (\"memory-safe\") {\n            mstore(0x00, hex\"19_00\")\n            mstore(0x02, shl(96, validator))\n            mstore(0x16, messageHash)\n            digest := keccak256(0x00, 0x36)\n        }\n    }\n\n    /**\n     * @dev Returns the keccak256 digest of an EIP-712 typed data (ERC-191 version `0x01`).\n     *\n     * The digest is calculated from a `domainSeparator` and a `structHash`, by prefixing them with\n     * `\\x19\\x01` and hashing the result. It corresponds to the hash signed by the\n     * https://eips.ethereum.org/EIPS/eip-712[`eth_signTypedData`] JSON-RPC method as part of EIP-712.\n     *\n     * See {ECDSA-recover}.\n     */\n    function toTypedDataHash(bytes32 domainSeparator, bytes32 structHash) internal pure returns (bytes32 digest) {\n        assembly (\"memory-safe\") {\n            let ptr := mload(0x40)\n            mstore(ptr, hex\"19_01\")\n            mstore(add(ptr, 0x02), domainSeparator)\n            mstore(add(ptr, 0x22), structHash)\n            digest := keccak256(ptr, 0x42)\n        }\n    }\n\n    /**\n     * @dev Returns the EIP-712 domain separator constructed from an `eip712Domain`. See {IERC5267-eip712Domain}\n     *\n     * This function dynamically constructs the domain separator based on which fields are present in the\n     * `fields` parameter. It contains flags that indicate which domain fields are present:\n     *\n     * * Bit 0 (0x01): name\n     * * Bit 1 (0x02): version\n     * * Bit 2 (0x04): chainId\n     * * Bit 3 (0x08): verifyingContract\n     * * Bit 4 (0x10): salt\n     *\n     * Arguments that correspond to fields which are not present in `fields` are ignored. For example, if `fields` is\n     * `0x0f` (`0b01111`), then the `salt` parameter is ignored.\n     */\n    function toDomainSeparator(\n        bytes1 fields,\n        string memory name,\n        string memory version,\n        uint256 chainId,\n        address verifyingContract,\n        bytes32 salt\n    ) internal pure returns (bytes32 hash) {\n        return\n            toDomainSeparator(\n                fields,\n                keccak256(bytes(name)),\n                keccak256(bytes(version)),\n                chainId,\n                verifyingContract,\n                salt\n            );\n    }\n\n    /// @dev Variant of {toDomainSeparator-bytes1-string-string-uint256-address-bytes32} that uses hashed name and version.\n    function toDomainSeparator(\n        bytes1 fields,\n        bytes32 nameHash,\n        bytes32 versionHash,\n        uint256 chainId,\n        address verifyingContract,\n        bytes32 salt\n    ) internal pure returns (bytes32 hash) {\n        bytes32 domainTypeHash = toDomainTypeHash(fields);\n\n        assembly (\"memory-safe\") {\n            // align fields to the right for easy processing\n            fields := shr(248, fields)\n\n            // FMP used as scratch space\n            let fmp := mload(0x40)\n            mstore(fmp, domainTypeHash)\n\n            let ptr := add(fmp, 0x20)\n            if and(fields, 0x01) {\n                mstore(ptr, nameHash)\n                ptr := add(ptr, 0x20)\n            }\n            if and(fields, 0x02) {\n                mstore(ptr, versionHash)\n                ptr := add(ptr, 0x20)\n            }\n            if and(fields, 0x04) {\n                mstore(ptr, chainId)\n                ptr := add(ptr, 0x20)\n            }\n            if and(fields, 0x08) {\n                mstore(ptr, verifyingContract)\n                ptr := add(ptr, 0x20)\n            }\n            if and(fields, 0x10) {\n                mstore(ptr, salt)\n                ptr := add(ptr, 0x20)\n            }\n\n            hash := keccak256(fmp, sub(ptr, fmp))\n        }\n    }\n\n    /// @dev Builds an EIP-712 domain type hash depending on the `fields` provided, following https://eips.ethereum.org/EIPS/eip-5267[ERC-5267]\n    function toDomainTypeHash(bytes1 fields) internal pure returns (bytes32 hash) {\n        if (fields & 0x20 == 0x20) revert ERC5267ExtensionsNotSupported();\n\n        assembly (\"memory-safe\") {\n            // align fields to the right for easy processing\n            fields := shr(248, fields)\n\n            // FMP used as scratch space\n            let fmp := mload(0x40)\n            mstore(fmp, \"EIP712Domain(\")\n\n            let ptr := add(fmp, 0x0d)\n            // name field\n            if and(fields, 0x01) {\n                mstore(ptr, \"string name,\")\n                ptr := add(ptr, 0x0c)\n            }\n            // version field\n            if and(fields, 0x02) {\n                mstore(ptr, \"string version,\")\n                ptr := add(ptr, 0x0f)\n            }\n            // chainId field\n            if and(fields, 0x04) {\n                mstore(ptr, \"uint256 chainId,\")\n                ptr := add(ptr, 0x10)\n            }\n            // verifyingContract field\n            if and(fields, 0x08) {\n                mstore(ptr, \"address verifyingContract,\")\n                ptr := add(ptr, 0x1a)\n            }\n            // salt field\n            if and(fields, 0x10) {\n                mstore(ptr, \"bytes32 salt,\")\n                ptr := add(ptr, 0x0d)\n            }\n            // if any field is enabled, remove the trailing comma\n            ptr := sub(ptr, iszero(iszero(and(fields, 0x1f))))\n            // add the closing brace\n            mstore8(ptr, 0x29) // add closing brace\n            ptr := add(ptr, 1)\n\n            hash := keccak256(fmp, sub(ptr, fmp))\n        }\n    }\n}\n"},"@openzeppelin/contracts/utils/cryptography/SignatureChecker.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.5.0) (utils/cryptography/SignatureChecker.sol)\n\npragma solidity ^0.8.24;\n\nimport {ECDSA} from \"./ECDSA.sol\";\nimport {IERC1271} from \"../../interfaces/IERC1271.sol\";\nimport {IERC7913SignatureVerifier} from \"../../interfaces/IERC7913.sol\";\nimport {Bytes} from \"../Bytes.sol\";\n\n/**\n * @dev Signature verification helper that can be used instead of `ECDSA.recover` to seamlessly support:\n *\n * * ECDSA signatures from externally owned accounts (EOAs)\n * * ERC-1271 signatures from smart contract wallets like Argent and Safe Wallet (previously Gnosis Safe)\n * * ERC-7913 signatures from keys that do not have an Ethereum address of their own\n *\n * See https://eips.ethereum.org/EIPS/eip-1271[ERC-1271] and https://eips.ethereum.org/EIPS/eip-7913[ERC-7913].\n */\nlibrary SignatureChecker {\n    using Bytes for bytes;\n\n    /**\n     * @dev Checks if a signature is valid for a given signer and data hash. If the signer has code, the\n     * signature is validated against it using ERC-1271, otherwise it's validated using `ECDSA.recover`.\n     *\n     * NOTE: Unlike ECDSA signatures, contract signatures are revocable, and the outcome of this function can thus\n     * change through time. It could return true at block N and false at block N+1 (or the opposite).\n     *\n     * NOTE: For an extended version of this function that supports ERC-7913 signatures, see {isValidSignatureNow-bytes-bytes32-bytes-}.\n     */\n    function isValidSignatureNow(address signer, bytes32 hash, bytes memory signature) internal view returns (bool) {\n        if (signer.code.length == 0) {\n            (address recovered, ECDSA.RecoverError err, ) = ECDSA.tryRecover(hash, signature);\n            return err == ECDSA.RecoverError.NoError && recovered == signer;\n        } else {\n            return isValidERC1271SignatureNow(signer, hash, signature);\n        }\n    }\n\n    /**\n     * @dev Variant of {isValidSignatureNow} that takes a signature in calldata\n     */\n    function isValidSignatureNowCalldata(\n        address signer,\n        bytes32 hash,\n        bytes calldata signature\n    ) internal view returns (bool) {\n        if (signer.code.length == 0) {\n            (address recovered, ECDSA.RecoverError err, ) = ECDSA.tryRecoverCalldata(hash, signature);\n            return err == ECDSA.RecoverError.NoError && recovered == signer;\n        } else {\n            return isValidERC1271SignatureNowCalldata(signer, hash, signature);\n        }\n    }\n\n    /**\n     * @dev Checks if a signature is valid for a given signer and data hash. The signature is validated\n     * against the signer smart contract using ERC-1271.\n     *\n     * NOTE: Unlike ECDSA signatures, contract signatures are revocable, and the outcome of this function can thus\n     * change through time. It could return true at block N and false at block N+1 (or the opposite).\n     */\n    function isValidERC1271SignatureNow(\n        address signer,\n        bytes32 hash,\n        bytes memory signature\n    ) internal view returns (bool result) {\n        bytes4 selector = IERC1271.isValidSignature.selector;\n        uint256 length = signature.length;\n\n        assembly (\"memory-safe\") {\n            // Encoded calldata is :\n            // [ 0x00 - 0x03 ] <selector>\n            // [ 0x04 - 0x23 ] <hash>\n            // [ 0x24 - 0x43 ] <signature offset> (0x40)\n            // [ 0x44 - 0x63 ] <signature length>\n            // [ 0x64 - ...  ] <signature data>\n            let ptr := mload(0x40)\n            mstore(ptr, selector)\n            mstore(add(ptr, 0x04), hash)\n            mstore(add(ptr, 0x24), 0x40)\n            mcopy(add(ptr, 0x44), signature, add(length, 0x20))\n\n            let success := staticcall(gas(), signer, ptr, add(length, 0x64), 0x00, 0x20)\n            result := and(success, and(gt(returndatasize(), 0x1f), eq(mload(0x00), selector)))\n        }\n    }\n\n    function isValidERC1271SignatureNowCalldata(\n        address signer,\n        bytes32 hash,\n        bytes calldata signature\n    ) internal view returns (bool result) {\n        bytes4 selector = IERC1271.isValidSignature.selector;\n        uint256 length = signature.length;\n\n        assembly (\"memory-safe\") {\n            // Encoded calldata is :\n            // [ 0x00 - 0x03 ] <selector>\n            // [ 0x04 - 0x23 ] <hash>\n            // [ 0x24 - 0x43 ] <signature offset> (0x40)\n            // [ 0x44 - 0x63 ] <signature length>\n            // [ 0x64 - ...  ] <signature data>\n            let ptr := mload(0x40)\n            mstore(ptr, selector)\n            mstore(add(ptr, 0x04), hash)\n            mstore(add(ptr, 0x24), 0x40)\n            mstore(add(ptr, 0x44), length)\n            calldatacopy(add(ptr, 0x64), signature.offset, length)\n\n            let success := staticcall(gas(), signer, ptr, add(length, 0x64), 0x00, 0x20)\n            result := and(success, and(gt(returndatasize(), 0x1f), eq(mload(0x00), selector)))\n        }\n    }\n\n    /**\n     * @dev Verifies a signature for a given ERC-7913 signer and hash.\n     *\n     * The signer is a `bytes` object that is the concatenation of an address and optionally a key:\n     * `verifier || key`. A signer must be at least 20 bytes long.\n     *\n     * Verification is done as follows:\n     *\n     * * If `signer.length < 20`: verification fails\n     * * If `signer.length == 20`: verification is done using {isValidSignatureNow}\n     * * Otherwise: verification is done using {IERC7913SignatureVerifier}\n     *\n     * NOTE: Unlike ECDSA signatures, contract signatures are revocable, and the outcome of this function can thus\n     * change through time. It could return true at block N and false at block N+1 (or the opposite).\n     */\n    function isValidSignatureNow(\n        bytes memory signer,\n        bytes32 hash,\n        bytes memory signature\n    ) internal view returns (bool) {\n        if (signer.length < 20) {\n            return false;\n        } else if (signer.length == 20) {\n            return isValidSignatureNow(address(bytes20(signer)), hash, signature);\n        } else {\n            (bool success, bytes memory result) = address(bytes20(signer)).staticcall(\n                abi.encodeCall(IERC7913SignatureVerifier.verify, (signer.slice(20), hash, signature))\n            );\n            return (success &&\n                result.length >= 32 &&\n                abi.decode(result, (bytes32)) == bytes32(IERC7913SignatureVerifier.verify.selector));\n        }\n    }\n\n    /**\n     * @dev Verifies multiple ERC-7913 `signatures` for a given `hash` using a set of `signers`.\n     * Returns `false` if the number of signers and signatures is not the same.\n     *\n     * The signers should be ordered by their `keccak256` hash to ensure efficient duplication check. Unordered\n     * signers are supported, but the uniqueness check will be more expensive.\n     *\n     * NOTE: Unlike ECDSA signatures, contract signatures are revocable, and the outcome of this function can thus\n     * change through time. It could return true at block N and false at block N+1 (or the opposite).\n     */\n    function areValidSignaturesNow(\n        bytes32 hash,\n        bytes[] memory signers,\n        bytes[] memory signatures\n    ) internal view returns (bool) {\n        if (signers.length != signatures.length) return false;\n\n        bytes32 lastId = bytes32(0);\n\n        for (uint256 i = 0; i < signers.length; ++i) {\n            bytes memory signer = signers[i];\n\n            // If one of the signatures is invalid, reject the batch\n            if (!isValidSignatureNow(signer, hash, signatures[i])) return false;\n\n            bytes32 id = keccak256(signer);\n            // If the current signer ID is greater than all previous IDs, then this is a new signer.\n            if (lastId < id) {\n                lastId = id;\n            } else {\n                // If this signer id is not greater than all the previous ones, verify that it is not a duplicate of a previous one\n                // This loop is never executed if the signers are ordered by id.\n                for (uint256 j = 0; j < i; ++j) {\n                    if (id == keccak256(signers[j])) return false;\n                }\n            }\n        }\n\n        return true;\n    }\n}\n"},"@openzeppelin/contracts/utils/Errors.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.1.0) (utils/Errors.sol)\n\npragma solidity ^0.8.20;\n\n/**\n * @dev Collection of common custom errors used in multiple contracts\n *\n * IMPORTANT: Backwards compatibility is not guaranteed in future versions of the library.\n * It is recommended to avoid relying on the error API for critical functionality.\n *\n * _Available since v5.1._\n */\nlibrary Errors {\n    /**\n     * @dev The ETH balance of the account is not enough to perform the operation.\n     */\n    error InsufficientBalance(uint256 balance, uint256 needed);\n\n    /**\n     * @dev A call to an address target failed. The target may have reverted.\n     */\n    error FailedCall();\n\n    /**\n     * @dev The deployment failed.\n     */\n    error FailedDeployment();\n\n    /**\n     * @dev A necessary precompile is missing.\n     */\n    error MissingPrecompile(address);\n}\n"},"@openzeppelin/contracts/utils/introspection/ERC165.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.4.0) (utils/introspection/ERC165.sol)\n\npragma solidity ^0.8.20;\n\nimport {IERC165} from \"./IERC165.sol\";\n\n/**\n * @dev Implementation of the {IERC165} interface.\n *\n * Contracts that want to implement ERC-165 should inherit from this contract and override {supportsInterface} to check\n * for the additional interface id that will be supported. For example:\n *\n * ```solidity\n * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {\n *     return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId);\n * }\n * ```\n */\nabstract contract ERC165 is IERC165 {\n    /// @inheritdoc IERC165\n    function supportsInterface(bytes4 interfaceId) public view virtual returns (bool) {\n        return interfaceId == type(IERC165).interfaceId;\n    }\n}\n"},"@openzeppelin/contracts/utils/introspection/IERC165.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.4.0) (utils/introspection/IERC165.sol)\n\npragma solidity >=0.4.16;\n\n/**\n * @dev Interface of the ERC-165 standard, as defined in the\n * https://eips.ethereum.org/EIPS/eip-165[ERC].\n *\n * Implementers can declare support of contract interfaces, which can then be\n * queried by others ({ERC165Checker}).\n *\n * For an implementation, see {ERC165}.\n */\ninterface IERC165 {\n    /**\n     * @dev Returns true if this contract implements the interface defined by\n     * `interfaceId`. See the corresponding\n     * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[ERC section]\n     * to learn more about how these ids are created.\n     *\n     * This function call must use less than 30 000 gas.\n     */\n    function supportsInterface(bytes4 interfaceId) external view returns (bool);\n}\n"},"@openzeppelin/contracts/utils/LowLevelCall.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.5.0) (utils/LowLevelCall.sol)\n\npragma solidity ^0.8.20;\n\n/**\n * @dev Library of low level call functions that implement different calling strategies to deal with the return data.\n *\n * WARNING: Using this library requires an advanced understanding of Solidity and how the EVM works. It is recommended\n * to use the {Address} library instead.\n */\nlibrary LowLevelCall {\n    /// @dev Performs a Solidity function call using a low level `call` and ignoring the return data.\n    function callNoReturn(address target, bytes memory data) internal returns (bool success) {\n        return callNoReturn(target, 0, data);\n    }\n\n    /// @dev Same as {callNoReturn-address-bytes}, but allows specifying the value to be sent in the call.\n    function callNoReturn(address target, uint256 value, bytes memory data) internal returns (bool success) {\n        assembly (\"memory-safe\") {\n            success := call(gas(), target, value, add(data, 0x20), mload(data), 0x00, 0x00)\n        }\n    }\n\n    /// @dev Performs a Solidity function call using a low level `call` and returns the first 64 bytes of the result\n    /// in the scratch space of memory. Useful for functions that return a tuple of single-word values.\n    ///\n    /// WARNING: Do not assume that the results are zero if `success` is false. Memory can be already allocated\n    /// and this function doesn't zero it out.\n    function callReturn64Bytes(\n        address target,\n        bytes memory data\n    ) internal returns (bool success, bytes32 result1, bytes32 result2) {\n        return callReturn64Bytes(target, 0, data);\n    }\n\n    /// @dev Same as {callReturn64Bytes-address-bytes}, but allows specifying the value to be sent in the call.\n    function callReturn64Bytes(\n        address target,\n        uint256 value,\n        bytes memory data\n    ) internal returns (bool success, bytes32 result1, bytes32 result2) {\n        assembly (\"memory-safe\") {\n            success := call(gas(), target, value, add(data, 0x20), mload(data), 0x00, 0x40)\n            result1 := mload(0x00)\n            result2 := mload(0x20)\n        }\n    }\n\n    /// @dev Performs a Solidity function call using a low level `staticcall` and ignoring the return data.\n    function staticcallNoReturn(address target, bytes memory data) internal view returns (bool success) {\n        assembly (\"memory-safe\") {\n            success := staticcall(gas(), target, add(data, 0x20), mload(data), 0x00, 0x00)\n        }\n    }\n\n    /// @dev Performs a Solidity function call using a low level `staticcall` and returns the first 64 bytes of the result\n    /// in the scratch space of memory. Useful for functions that return a tuple of single-word values.\n    ///\n    /// WARNING: Do not assume that the results are zero if `success` is false. Memory can be already allocated\n    /// and this function doesn't zero it out.\n    function staticcallReturn64Bytes(\n        address target,\n        bytes memory data\n    ) internal view returns (bool success, bytes32 result1, bytes32 result2) {\n        assembly (\"memory-safe\") {\n            success := staticcall(gas(), target, add(data, 0x20), mload(data), 0x00, 0x40)\n            result1 := mload(0x00)\n            result2 := mload(0x20)\n        }\n    }\n\n    /// @dev Performs a Solidity function call using a low level `delegatecall` and ignoring the return data.\n    function delegatecallNoReturn(address target, bytes memory data) internal returns (bool success) {\n        assembly (\"memory-safe\") {\n            success := delegatecall(gas(), target, add(data, 0x20), mload(data), 0x00, 0x00)\n        }\n    }\n\n    /// @dev Performs a Solidity function call using a low level `delegatecall` and returns the first 64 bytes of the result\n    /// in the scratch space of memory. Useful for functions that return a tuple of single-word values.\n    ///\n    /// WARNING: Do not assume that the results are zero if `success` is false. Memory can be already allocated\n    /// and this function doesn't zero it out.\n    function delegatecallReturn64Bytes(\n        address target,\n        bytes memory data\n    ) internal returns (bool success, bytes32 result1, bytes32 result2) {\n        assembly (\"memory-safe\") {\n            success := delegatecall(gas(), target, add(data, 0x20), mload(data), 0x00, 0x40)\n            result1 := mload(0x00)\n            result2 := mload(0x20)\n        }\n    }\n\n    /// @dev Returns the size of the return data buffer.\n    function returnDataSize() internal pure returns (uint256 size) {\n        assembly (\"memory-safe\") {\n            size := returndatasize()\n        }\n    }\n\n    /// @dev Returns a buffer containing the return data from the last call.\n    function returnData() internal pure returns (bytes memory result) {\n        assembly (\"memory-safe\") {\n            result := mload(0x40)\n            mstore(result, returndatasize())\n            returndatacopy(add(result, 0x20), 0x00, returndatasize())\n            mstore(0x40, add(result, add(0x20, returndatasize())))\n        }\n    }\n\n    /// @dev Revert with the return data from the last call.\n    function bubbleRevert() internal pure {\n        assembly (\"memory-safe\") {\n            let fmp := mload(0x40)\n            returndatacopy(fmp, 0x00, returndatasize())\n            revert(fmp, returndatasize())\n        }\n    }\n\n    function bubbleRevert(bytes memory returndata) internal pure {\n        assembly (\"memory-safe\") {\n            revert(add(returndata, 0x20), mload(returndata))\n        }\n    }\n}\n"},"@openzeppelin/contracts/utils/math/Math.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.5.0) (utils/math/Math.sol)\n\npragma solidity ^0.8.20;\n\nimport {Panic} from \"../Panic.sol\";\nimport {SafeCast} from \"./SafeCast.sol\";\n\n/**\n * @dev Standard math utilities missing in the Solidity language.\n */\nlibrary Math {\n    enum Rounding {\n        Floor, // Toward negative infinity\n        Ceil, // Toward positive infinity\n        Trunc, // Toward zero\n        Expand // Away from zero\n    }\n\n    /**\n     * @dev Return the 512-bit addition of two uint256.\n     *\n     * The result is stored in two 256 variables such that sum = high * 2²⁵⁶ + low.\n     */\n    function add512(uint256 a, uint256 b) internal pure returns (uint256 high, uint256 low) {\n        assembly (\"memory-safe\") {\n            low := add(a, b)\n            high := lt(low, a)\n        }\n    }\n\n    /**\n     * @dev Return the 512-bit multiplication of two uint256.\n     *\n     * The result is stored in two 256 variables such that product = high * 2²⁵⁶ + low.\n     */\n    function mul512(uint256 a, uint256 b) internal pure returns (uint256 high, uint256 low) {\n        // 512-bit multiply [high low] = x * y. Compute the product mod 2²⁵⁶ and mod 2²⁵⁶ - 1, then use\n        // the Chinese Remainder Theorem to reconstruct the 512 bit result. The result is stored in two 256\n        // variables such that product = high * 2²⁵⁶ + low.\n        assembly (\"memory-safe\") {\n            let mm := mulmod(a, b, not(0))\n            low := mul(a, b)\n            high := sub(sub(mm, low), lt(mm, low))\n        }\n    }\n\n    /**\n     * @dev Returns the addition of two unsigned integers, with a success flag (no overflow).\n     */\n    function tryAdd(uint256 a, uint256 b) internal pure returns (bool success, uint256 result) {\n        unchecked {\n            uint256 c = a + b;\n            success = c >= a;\n            result = c * SafeCast.toUint(success);\n        }\n    }\n\n    /**\n     * @dev Returns the subtraction of two unsigned integers, with a success flag (no overflow).\n     */\n    function trySub(uint256 a, uint256 b) internal pure returns (bool success, uint256 result) {\n        unchecked {\n            uint256 c = a - b;\n            success = c <= a;\n            result = c * SafeCast.toUint(success);\n        }\n    }\n\n    /**\n     * @dev Returns the multiplication of two unsigned integers, with a success flag (no overflow).\n     */\n    function tryMul(uint256 a, uint256 b) internal pure returns (bool success, uint256 result) {\n        unchecked {\n            uint256 c = a * b;\n            assembly (\"memory-safe\") {\n                // Only true when the multiplication doesn't overflow\n                // (c / a == b) || (a == 0)\n                success := or(eq(div(c, a), b), iszero(a))\n            }\n            // equivalent to: success ? c : 0\n            result = c * SafeCast.toUint(success);\n        }\n    }\n\n    /**\n     * @dev Returns the division of two unsigned integers, with a success flag (no division by zero).\n     */\n    function tryDiv(uint256 a, uint256 b) internal pure returns (bool success, uint256 result) {\n        unchecked {\n            success = b > 0;\n            assembly (\"memory-safe\") {\n                // The `DIV` opcode returns zero when the denominator is 0.\n                result := div(a, b)\n            }\n        }\n    }\n\n    /**\n     * @dev Returns the remainder of dividing two unsigned integers, with a success flag (no division by zero).\n     */\n    function tryMod(uint256 a, uint256 b) internal pure returns (bool success, uint256 result) {\n        unchecked {\n            success = b > 0;\n            assembly (\"memory-safe\") {\n                // The `MOD` opcode returns zero when the denominator is 0.\n                result := mod(a, b)\n            }\n        }\n    }\n\n    /**\n     * @dev Unsigned saturating addition, bounds to `2²⁵⁶ - 1` instead of overflowing.\n     */\n    function saturatingAdd(uint256 a, uint256 b) internal pure returns (uint256) {\n        (bool success, uint256 result) = tryAdd(a, b);\n        return ternary(success, result, type(uint256).max);\n    }\n\n    /**\n     * @dev Unsigned saturating subtraction, bounds to zero instead of overflowing.\n     */\n    function saturatingSub(uint256 a, uint256 b) internal pure returns (uint256) {\n        (, uint256 result) = trySub(a, b);\n        return result;\n    }\n\n    /**\n     * @dev Unsigned saturating multiplication, bounds to `2²⁵⁶ - 1` instead of overflowing.\n     */\n    function saturatingMul(uint256 a, uint256 b) internal pure returns (uint256) {\n        (bool success, uint256 result) = tryMul(a, b);\n        return ternary(success, result, type(uint256).max);\n    }\n\n    /**\n     * @dev Branchless ternary evaluation for `condition ? a : b`. Gas costs are constant.\n     *\n     * IMPORTANT: This function may reduce bytecode size and consume less gas when used standalone.\n     * However, the compiler may optimize Solidity ternary operations (i.e. `condition ? a : b`) to only compute\n     * one branch when needed, making this function more expensive.\n     */\n    function ternary(bool condition, uint256 a, uint256 b) internal pure returns (uint256) {\n        unchecked {\n            // branchless ternary works because:\n            // b ^ (a ^ b) == a\n            // b ^ 0 == b\n            return b ^ ((a ^ b) * SafeCast.toUint(condition));\n        }\n    }\n\n    /**\n     * @dev Returns the largest of two numbers.\n     */\n    function max(uint256 a, uint256 b) internal pure returns (uint256) {\n        return ternary(a > b, a, b);\n    }\n\n    /**\n     * @dev Returns the smallest of two numbers.\n     */\n    function min(uint256 a, uint256 b) internal pure returns (uint256) {\n        return ternary(a < b, a, b);\n    }\n\n    /**\n     * @dev Returns the average of two numbers. The result is rounded towards\n     * zero.\n     */\n    function average(uint256 a, uint256 b) internal pure returns (uint256) {\n        unchecked {\n            // (a + b) / 2 can overflow.\n            return (a & b) + (a ^ b) / 2;\n        }\n    }\n\n    /**\n     * @dev Returns the ceiling of the division of two numbers.\n     *\n     * This differs from standard division with `/` in that it rounds towards infinity instead\n     * of rounding towards zero.\n     */\n    function ceilDiv(uint256 a, uint256 b) internal pure returns (uint256) {\n        if (b == 0) {\n            // Guarantee the same behavior as in a regular Solidity division.\n            Panic.panic(Panic.DIVISION_BY_ZERO);\n        }\n\n        // The following calculation ensures accurate ceiling division without overflow.\n        // Since a is non-zero, (a - 1) / b will not overflow.\n        // The largest possible result occurs when (a - 1) / b is type(uint256).max,\n        // but the largest value we can obtain is type(uint256).max - 1, which happens\n        // when a = type(uint256).max and b = 1.\n        unchecked {\n            return SafeCast.toUint(a > 0) * ((a - 1) / b + 1);\n        }\n    }\n\n    /**\n     * @dev Calculates floor(x * y / denominator) with full precision. Throws if result overflows a uint256 or\n     * denominator == 0.\n     *\n     * Original credit to Remco Bloemen under MIT license (https://xn--2-umb.com/21/muldiv) with further edits by\n     * Uniswap Labs also under MIT license.\n     */\n    function mulDiv(uint256 x, uint256 y, uint256 denominator) internal pure returns (uint256 result) {\n        unchecked {\n            (uint256 high, uint256 low) = mul512(x, y);\n\n            // Handle non-overflow cases, 256 by 256 division.\n            if (high == 0) {\n                // Solidity will revert if denominator == 0, unlike the div opcode on its own.\n                // The surrounding unchecked block does not change this fact.\n                // See https://docs.soliditylang.org/en/latest/control-structures.html#checked-or-unchecked-arithmetic.\n                return low / denominator;\n            }\n\n            // Make sure the result is less than 2²⁵⁶. Also prevents denominator == 0.\n            if (denominator <= high) {\n                Panic.panic(ternary(denominator == 0, Panic.DIVISION_BY_ZERO, Panic.UNDER_OVERFLOW));\n            }\n\n            ///////////////////////////////////////////////\n            // 512 by 256 division.\n            ///////////////////////////////////////////////\n\n            // Make division exact by subtracting the remainder from [high low].\n            uint256 remainder;\n            assembly (\"memory-safe\") {\n                // Compute remainder using mulmod.\n                remainder := mulmod(x, y, denominator)\n\n                // Subtract 256 bit number from 512 bit number.\n                high := sub(high, gt(remainder, low))\n                low := sub(low, remainder)\n            }\n\n            // Factor powers of two out of denominator and compute largest power of two divisor of denominator.\n            // Always >= 1. See https://cs.stackexchange.com/q/138556/92363.\n\n            uint256 twos = denominator & (0 - denominator);\n            assembly (\"memory-safe\") {\n                // Divide denominator by twos.\n                denominator := div(denominator, twos)\n\n                // Divide [high low] by twos.\n                low := div(low, twos)\n\n                // Flip twos such that it is 2²⁵⁶ / twos. If twos is zero, then it becomes one.\n                twos := add(div(sub(0, twos), twos), 1)\n            }\n\n            // Shift in bits from high into low.\n            low |= high * twos;\n\n            // Invert denominator mod 2²⁵⁶. Now that denominator is an odd number, it has an inverse modulo 2²⁵⁶ such\n            // that denominator * inv ≡ 1 mod 2²⁵⁶. Compute the inverse by starting with a seed that is correct for\n            // four bits. That is, denominator * inv ≡ 1 mod 2⁴.\n            uint256 inverse = (3 * denominator) ^ 2;\n\n            // Use the Newton-Raphson iteration to improve the precision. Thanks to Hensel's lifting lemma, this also\n            // works in modular arithmetic, doubling the correct bits in each step.\n            inverse *= 2 - denominator * inverse; // inverse mod 2⁸\n            inverse *= 2 - denominator * inverse; // inverse mod 2¹⁶\n            inverse *= 2 - denominator * inverse; // inverse mod 2³²\n            inverse *= 2 - denominator * inverse; // inverse mod 2⁶⁴\n            inverse *= 2 - denominator * inverse; // inverse mod 2¹²⁸\n            inverse *= 2 - denominator * inverse; // inverse mod 2²⁵⁶\n\n            // Because the division is now exact we can divide by multiplying with the modular inverse of denominator.\n            // This will give us the correct result modulo 2²⁵⁶. Since the preconditions guarantee that the outcome is\n            // less than 2²⁵⁶, this is the final result. We don't need to compute the high bits of the result and high\n            // is no longer required.\n            result = low * inverse;\n            return result;\n        }\n    }\n\n    /**\n     * @dev Calculates x * y / denominator with full precision, following the selected rounding direction.\n     */\n    function mulDiv(uint256 x, uint256 y, uint256 denominator, Rounding rounding) internal pure returns (uint256) {\n        return mulDiv(x, y, denominator) + SafeCast.toUint(unsignedRoundsUp(rounding) && mulmod(x, y, denominator) > 0);\n    }\n\n    /**\n     * @dev Calculates floor(x * y >> n) with full precision. Throws if result overflows a uint256.\n     */\n    function mulShr(uint256 x, uint256 y, uint8 n) internal pure returns (uint256 result) {\n        unchecked {\n            (uint256 high, uint256 low) = mul512(x, y);\n            if (high >= 1 << n) {\n                Panic.panic(Panic.UNDER_OVERFLOW);\n            }\n            return (high << (256 - n)) | (low >> n);\n        }\n    }\n\n    /**\n     * @dev Calculates x * y >> n with full precision, following the selected rounding direction.\n     */\n    function mulShr(uint256 x, uint256 y, uint8 n, Rounding rounding) internal pure returns (uint256) {\n        return mulShr(x, y, n) + SafeCast.toUint(unsignedRoundsUp(rounding) && mulmod(x, y, 1 << n) > 0);\n    }\n\n    /**\n     * @dev Calculate the modular multiplicative inverse of a number in Z/nZ.\n     *\n     * If n is a prime, then Z/nZ is a field. In that case all elements are inversible, except 0.\n     * If n is not a prime, then Z/nZ is not a field, and some elements might not be inversible.\n     *\n     * If the input value is not inversible, 0 is returned.\n     *\n     * NOTE: If you know for sure that n is (big) a prime, it may be cheaper to use Fermat's little theorem and get the\n     * inverse using `Math.modExp(a, n - 2, n)`. See {invModPrime}.\n     */\n    function invMod(uint256 a, uint256 n) internal pure returns (uint256) {\n        unchecked {\n            if (n == 0) return 0;\n\n            // The inverse modulo is calculated using the Extended Euclidean Algorithm (iterative version)\n            // Used to compute integers x and y such that: ax + ny = gcd(a, n).\n            // When the gcd is 1, then the inverse of a modulo n exists and it's x.\n            // ax + ny = 1\n            // ax = 1 + (-y)n\n            // ax ≡ 1 (mod n) # x is the inverse of a modulo n\n\n            // If the remainder is 0 the gcd is n right away.\n            uint256 remainder = a % n;\n            uint256 gcd = n;\n\n            // Therefore the initial coefficients are:\n            // ax + ny = gcd(a, n) = n\n            // 0a + 1n = n\n            int256 x = 0;\n            int256 y = 1;\n\n            while (remainder != 0) {\n                uint256 quotient = gcd / remainder;\n\n                (gcd, remainder) = (\n                    // The old remainder is the next gcd to try.\n                    remainder,\n                    // Compute the next remainder.\n                    // Can't overflow given that (a % gcd) * (gcd // (a % gcd)) <= gcd\n                    // where gcd is at most n (capped to type(uint256).max)\n                    gcd - remainder * quotient\n                );\n\n                (x, y) = (\n                    // Increment the coefficient of a.\n                    y,\n                    // Decrement the coefficient of n.\n                    // Can overflow, but the result is casted to uint256 so that the\n                    // next value of y is \"wrapped around\" to a value between 0 and n - 1.\n                    x - y * int256(quotient)\n                );\n            }\n\n            if (gcd != 1) return 0; // No inverse exists.\n            return ternary(x < 0, n - uint256(-x), uint256(x)); // Wrap the result if it's negative.\n        }\n    }\n\n    /**\n     * @dev Variant of {invMod}. More efficient, but only works if `p` is known to be a prime greater than `2`.\n     *\n     * From https://en.wikipedia.org/wiki/Fermat%27s_little_theorem[Fermat's little theorem], we know that if p is\n     * prime, then `a**(p-1) ≡ 1 mod p`. As a consequence, we have `a * a**(p-2) ≡ 1 mod p`, which means that\n     * `a**(p-2)` is the modular multiplicative inverse of a in Fp.\n     *\n     * NOTE: this function does NOT check that `p` is a prime greater than `2`.\n     */\n    function invModPrime(uint256 a, uint256 p) internal view returns (uint256) {\n        unchecked {\n            return Math.modExp(a, p - 2, p);\n        }\n    }\n\n    /**\n     * @dev Returns the modular exponentiation of the specified base, exponent and modulus (b ** e % m)\n     *\n     * Requirements:\n     * - modulus can't be zero\n     * - underlying staticcall to precompile must succeed\n     *\n     * IMPORTANT: The result is only valid if the underlying call succeeds. When using this function, make\n     * sure the chain you're using it on supports the precompiled contract for modular exponentiation\n     * at address 0x05 as specified in https://eips.ethereum.org/EIPS/eip-198[EIP-198]. Otherwise,\n     * the underlying function will succeed given the lack of a revert, but the result may be incorrectly\n     * interpreted as 0.\n     */\n    function modExp(uint256 b, uint256 e, uint256 m) internal view returns (uint256) {\n        (bool success, uint256 result) = tryModExp(b, e, m);\n        if (!success) {\n            Panic.panic(Panic.DIVISION_BY_ZERO);\n        }\n        return result;\n    }\n\n    /**\n     * @dev Returns the modular exponentiation of the specified base, exponent and modulus (b ** e % m).\n     * It includes a success flag indicating if the operation succeeded. Operation will be marked as failed if trying\n     * to operate modulo 0 or if the underlying precompile reverted.\n     *\n     * IMPORTANT: The result is only valid if the success flag is true. When using this function, make sure the chain\n     * you're using it on supports the precompiled contract for modular exponentiation at address 0x05 as specified in\n     * https://eips.ethereum.org/EIPS/eip-198[EIP-198]. Otherwise, the underlying function will succeed given the lack\n     * of a revert, but the result may be incorrectly interpreted as 0.\n     */\n    function tryModExp(uint256 b, uint256 e, uint256 m) internal view returns (bool success, uint256 result) {\n        if (m == 0) return (false, 0);\n        assembly (\"memory-safe\") {\n            let ptr := mload(0x40)\n            // | Offset    | Content    | Content (Hex)                                                      |\n            // |-----------|------------|--------------------------------------------------------------------|\n            // | 0x00:0x1f | size of b  | 0x0000000000000000000000000000000000000000000000000000000000000020 |\n            // | 0x20:0x3f | size of e  | 0x0000000000000000000000000000000000000000000000000000000000000020 |\n            // | 0x40:0x5f | size of m  | 0x0000000000000000000000000000000000000000000000000000000000000020 |\n            // | 0x60:0x7f | value of b | 0x<.............................................................b> |\n            // | 0x80:0x9f | value of e | 0x<.............................................................e> |\n            // | 0xa0:0xbf | value of m | 0x<.............................................................m> |\n            mstore(ptr, 0x20)\n            mstore(add(ptr, 0x20), 0x20)\n            mstore(add(ptr, 0x40), 0x20)\n            mstore(add(ptr, 0x60), b)\n            mstore(add(ptr, 0x80), e)\n            mstore(add(ptr, 0xa0), m)\n\n            // Given the result < m, it's guaranteed to fit in 32 bytes,\n            // so we can use the memory scratch space located at offset 0.\n            success := staticcall(gas(), 0x05, ptr, 0xc0, 0x00, 0x20)\n            result := mload(0x00)\n        }\n    }\n\n    /**\n     * @dev Variant of {modExp} that supports inputs of arbitrary length.\n     */\n    function modExp(bytes memory b, bytes memory e, bytes memory m) internal view returns (bytes memory) {\n        (bool success, bytes memory result) = tryModExp(b, e, m);\n        if (!success) {\n            Panic.panic(Panic.DIVISION_BY_ZERO);\n        }\n        return result;\n    }\n\n    /**\n     * @dev Variant of {tryModExp} that supports inputs of arbitrary length.\n     */\n    function tryModExp(\n        bytes memory b,\n        bytes memory e,\n        bytes memory m\n    ) internal view returns (bool success, bytes memory result) {\n        if (_zeroBytes(m)) return (false, new bytes(0));\n\n        uint256 mLen = m.length;\n\n        // Encode call args in result and move the free memory pointer\n        result = abi.encodePacked(b.length, e.length, mLen, b, e, m);\n\n        assembly (\"memory-safe\") {\n            let dataPtr := add(result, 0x20)\n            // Write result on top of args to avoid allocating extra memory.\n            success := staticcall(gas(), 0x05, dataPtr, mload(result), dataPtr, mLen)\n            // Overwrite the length.\n            // result.length > returndatasize() is guaranteed because returndatasize() == m.length\n            mstore(result, mLen)\n            // Set the memory pointer after the returned data.\n            mstore(0x40, add(dataPtr, mLen))\n        }\n    }\n\n    /**\n     * @dev Returns whether the provided byte array is zero.\n     */\n    function _zeroBytes(bytes memory buffer) private pure returns (bool) {\n        uint256 chunk;\n        for (uint256 i = 0; i < buffer.length; i += 0x20) {\n            // See _unsafeReadBytesOffset from utils/Bytes.sol\n            assembly (\"memory-safe\") {\n                chunk := mload(add(add(buffer, 0x20), i))\n            }\n            if (chunk >> (8 * saturatingSub(i + 0x20, buffer.length)) != 0) {\n                return false;\n            }\n        }\n        return true;\n    }\n\n    /**\n     * @dev Returns the square root of a number. If the number is not a perfect square, the value is rounded\n     * towards zero.\n     *\n     * This method is based on Newton's method for computing square roots; the algorithm is restricted to only\n     * using integer operations.\n     */\n    function sqrt(uint256 a) internal pure returns (uint256) {\n        unchecked {\n            // Take care of easy edge cases when a == 0 or a == 1\n            if (a <= 1) {\n                return a;\n            }\n\n            // In this function, we use Newton's method to get a root of `f(x) := x² - a`. It involves building a\n            // sequence x_n that converges toward sqrt(a). For each iteration x_n, we also define the error between\n            // the current value as `ε_n = | x_n - sqrt(a) |`.\n            //\n            // For our first estimation, we consider `e` the smallest power of 2 which is bigger than the square root\n            // of the target. (i.e. `2**(e-1) ≤ sqrt(a) < 2**e`). We know that `e ≤ 128` because `(2¹²⁸)² = 2²⁵⁶` is\n            // bigger than any uint256.\n            //\n            // By noticing that\n            // `2**(e-1) ≤ sqrt(a) < 2**e → (2**(e-1))² ≤ a < (2**e)² → 2**(2*e-2) ≤ a < 2**(2*e)`\n            // we can deduce that `e - 1` is `log2(a) / 2`. We can thus compute `x_n = 2**(e-1)` using a method similar\n            // to the msb function.\n            uint256 aa = a;\n            uint256 xn = 1;\n\n            if (aa >= (1 << 128)) {\n                aa >>= 128;\n                xn <<= 64;\n            }\n            if (aa >= (1 << 64)) {\n                aa >>= 64;\n                xn <<= 32;\n            }\n            if (aa >= (1 << 32)) {\n                aa >>= 32;\n                xn <<= 16;\n            }\n            if (aa >= (1 << 16)) {\n                aa >>= 16;\n                xn <<= 8;\n            }\n            if (aa >= (1 << 8)) {\n                aa >>= 8;\n                xn <<= 4;\n            }\n            if (aa >= (1 << 4)) {\n                aa >>= 4;\n                xn <<= 2;\n            }\n            if (aa >= (1 << 2)) {\n                xn <<= 1;\n            }\n\n            // We now have x_n such that `x_n = 2**(e-1) ≤ sqrt(a) < 2**e = 2 * x_n`. This implies ε_n ≤ 2**(e-1).\n            //\n            // We can refine our estimation by noticing that the middle of that interval minimizes the error.\n            // If we move x_n to equal 2**(e-1) + 2**(e-2), then we reduce the error to ε_n ≤ 2**(e-2).\n            // This is going to be our x_0 (and ε_0)\n            xn = (3 * xn) >> 1; // ε_0 := | x_0 - sqrt(a) | ≤ 2**(e-2)\n\n            // From here, Newton's method give us:\n            // x_{n+1} = (x_n + a / x_n) / 2\n            //\n            // One should note that:\n            // x_{n+1}² - a = ((x_n + a / x_n) / 2)² - a\n            //              = ((x_n² + a) / (2 * x_n))² - a\n            //              = (x_n⁴ + 2 * a * x_n² + a²) / (4 * x_n²) - a\n            //              = (x_n⁴ + 2 * a * x_n² + a² - 4 * a * x_n²) / (4 * x_n²)\n            //              = (x_n⁴ - 2 * a * x_n² + a²) / (4 * x_n²)\n            //              = (x_n² - a)² / (2 * x_n)²\n            //              = ((x_n² - a) / (2 * x_n))²\n            //              ≥ 0\n            // Which proves that for all n ≥ 1, sqrt(a) ≤ x_n\n            //\n            // This gives us the proof of quadratic convergence of the sequence:\n            // ε_{n+1} = | x_{n+1} - sqrt(a) |\n            //         = | (x_n + a / x_n) / 2 - sqrt(a) |\n            //         = | (x_n² + a - 2*x_n*sqrt(a)) / (2 * x_n) |\n            //         = | (x_n - sqrt(a))² / (2 * x_n) |\n            //         = | ε_n² / (2 * x_n) |\n            //         = ε_n² / | (2 * x_n) |\n            //\n            // For the first iteration, we have a special case where x_0 is known:\n            // ε_1 = ε_0² / | (2 * x_0) |\n            //     ≤ (2**(e-2))² / (2 * (2**(e-1) + 2**(e-2)))\n            //     ≤ 2**(2*e-4) / (3 * 2**(e-1))\n            //     ≤ 2**(e-3) / 3\n            //     ≤ 2**(e-3-log2(3))\n            //     ≤ 2**(e-4.5)\n            //\n            // For the following iterations, we use the fact that, 2**(e-1) ≤ sqrt(a) ≤ x_n:\n            // ε_{n+1} = ε_n² / | (2 * x_n) |\n            //         ≤ (2**(e-k))² / (2 * 2**(e-1))\n            //         ≤ 2**(2*e-2*k) / 2**e\n            //         ≤ 2**(e-2*k)\n            xn = (xn + a / xn) >> 1; // ε_1 := | x_1 - sqrt(a) | ≤ 2**(e-4.5)  -- special case, see above\n            xn = (xn + a / xn) >> 1; // ε_2 := | x_2 - sqrt(a) | ≤ 2**(e-9)    -- general case with k = 4.5\n            xn = (xn + a / xn) >> 1; // ε_3 := | x_3 - sqrt(a) | ≤ 2**(e-18)   -- general case with k = 9\n            xn = (xn + a / xn) >> 1; // ε_4 := | x_4 - sqrt(a) | ≤ 2**(e-36)   -- general case with k = 18\n            xn = (xn + a / xn) >> 1; // ε_5 := | x_5 - sqrt(a) | ≤ 2**(e-72)   -- general case with k = 36\n            xn = (xn + a / xn) >> 1; // ε_6 := | x_6 - sqrt(a) | ≤ 2**(e-144)  -- general case with k = 72\n\n            // Because e ≤ 128 (as discussed during the first estimation phase), we know have reached a precision\n            // ε_6 ≤ 2**(e-144) < 1. Given we're operating on integers, then we can ensure that xn is now either\n            // sqrt(a) or sqrt(a) + 1.\n            return xn - SafeCast.toUint(xn > a / xn);\n        }\n    }\n\n    /**\n     * @dev Calculates sqrt(a), following the selected rounding direction.\n     */\n    function sqrt(uint256 a, Rounding rounding) internal pure returns (uint256) {\n        unchecked {\n            uint256 result = sqrt(a);\n            return result + SafeCast.toUint(unsignedRoundsUp(rounding) && result * result < a);\n        }\n    }\n\n    /**\n     * @dev Return the log in base 2 of a positive value rounded towards zero.\n     * Returns 0 if given 0.\n     */\n    function log2(uint256 x) internal pure returns (uint256 r) {\n        // If value has upper 128 bits set, log2 result is at least 128\n        r = SafeCast.toUint(x > 0xffffffffffffffffffffffffffffffff) << 7;\n        // If upper 64 bits of 128-bit half set, add 64 to result\n        r |= SafeCast.toUint((x >> r) > 0xffffffffffffffff) << 6;\n        // If upper 32 bits of 64-bit half set, add 32 to result\n        r |= SafeCast.toUint((x >> r) > 0xffffffff) << 5;\n        // If upper 16 bits of 32-bit half set, add 16 to result\n        r |= SafeCast.toUint((x >> r) > 0xffff) << 4;\n        // If upper 8 bits of 16-bit half set, add 8 to result\n        r |= SafeCast.toUint((x >> r) > 0xff) << 3;\n        // If upper 4 bits of 8-bit half set, add 4 to result\n        r |= SafeCast.toUint((x >> r) > 0xf) << 2;\n\n        // Shifts value right by the current result and use it as an index into this lookup table:\n        //\n        // | x (4 bits) |  index  | table[index] = MSB position |\n        // |------------|---------|-----------------------------|\n        // |    0000    |    0    |        table[0] = 0         |\n        // |    0001    |    1    |        table[1] = 0         |\n        // |    0010    |    2    |        table[2] = 1         |\n        // |    0011    |    3    |        table[3] = 1         |\n        // |    0100    |    4    |        table[4] = 2         |\n        // |    0101    |    5    |        table[5] = 2         |\n        // |    0110    |    6    |        table[6] = 2         |\n        // |    0111    |    7    |        table[7] = 2         |\n        // |    1000    |    8    |        table[8] = 3         |\n        // |    1001    |    9    |        table[9] = 3         |\n        // |    1010    |   10    |        table[10] = 3        |\n        // |    1011    |   11    |        table[11] = 3        |\n        // |    1100    |   12    |        table[12] = 3        |\n        // |    1101    |   13    |        table[13] = 3        |\n        // |    1110    |   14    |        table[14] = 3        |\n        // |    1111    |   15    |        table[15] = 3        |\n        //\n        // The lookup table is represented as a 32-byte value with the MSB positions for 0-15 in the first 16 bytes (most significant half).\n        assembly (\"memory-safe\") {\n            r := or(r, byte(shr(r, x), 0x0000010102020202030303030303030300000000000000000000000000000000))\n        }\n    }\n\n    /**\n     * @dev Return the log in base 2, following the selected rounding direction, of a positive value.\n     * Returns 0 if given 0.\n     */\n    function log2(uint256 value, Rounding rounding) internal pure returns (uint256) {\n        unchecked {\n            uint256 result = log2(value);\n            return result + SafeCast.toUint(unsignedRoundsUp(rounding) && 1 << result < value);\n        }\n    }\n\n    /**\n     * @dev Return the log in base 10 of a positive value rounded towards zero.\n     * Returns 0 if given 0.\n     */\n    function log10(uint256 value) internal pure returns (uint256) {\n        uint256 result = 0;\n        unchecked {\n            if (value >= 10 ** 64) {\n                value /= 10 ** 64;\n                result += 64;\n            }\n            if (value >= 10 ** 32) {\n                value /= 10 ** 32;\n                result += 32;\n            }\n            if (value >= 10 ** 16) {\n                value /= 10 ** 16;\n                result += 16;\n            }\n            if (value >= 10 ** 8) {\n                value /= 10 ** 8;\n                result += 8;\n            }\n            if (value >= 10 ** 4) {\n                value /= 10 ** 4;\n                result += 4;\n            }\n            if (value >= 10 ** 2) {\n                value /= 10 ** 2;\n                result += 2;\n            }\n            if (value >= 10 ** 1) {\n                result += 1;\n            }\n        }\n        return result;\n    }\n\n    /**\n     * @dev Return the log in base 10, following the selected rounding direction, of a positive value.\n     * Returns 0 if given 0.\n     */\n    function log10(uint256 value, Rounding rounding) internal pure returns (uint256) {\n        unchecked {\n            uint256 result = log10(value);\n            return result + SafeCast.toUint(unsignedRoundsUp(rounding) && 10 ** result < value);\n        }\n    }\n\n    /**\n     * @dev Return the log in base 256 of a positive value rounded towards zero.\n     * Returns 0 if given 0.\n     *\n     * Adding one to the result gives the number of pairs of hex symbols needed to represent `value` as a hex string.\n     */\n    function log256(uint256 x) internal pure returns (uint256 r) {\n        // If value has upper 128 bits set, log2 result is at least 128\n        r = SafeCast.toUint(x > 0xffffffffffffffffffffffffffffffff) << 7;\n        // If upper 64 bits of 128-bit half set, add 64 to result\n        r |= SafeCast.toUint((x >> r) > 0xffffffffffffffff) << 6;\n        // If upper 32 bits of 64-bit half set, add 32 to result\n        r |= SafeCast.toUint((x >> r) > 0xffffffff) << 5;\n        // If upper 16 bits of 32-bit half set, add 16 to result\n        r |= SafeCast.toUint((x >> r) > 0xffff) << 4;\n        // Add 1 if upper 8 bits of 16-bit half set, and divide accumulated result by 8\n        return (r >> 3) | SafeCast.toUint((x >> r) > 0xff);\n    }\n\n    /**\n     * @dev Return the log in base 256, following the selected rounding direction, of a positive value.\n     * Returns 0 if given 0.\n     */\n    function log256(uint256 value, Rounding rounding) internal pure returns (uint256) {\n        unchecked {\n            uint256 result = log256(value);\n            return result + SafeCast.toUint(unsignedRoundsUp(rounding) && 1 << (result << 3) < value);\n        }\n    }\n\n    /**\n     * @dev Returns whether a provided rounding mode is considered rounding up for unsigned integers.\n     */\n    function unsignedRoundsUp(Rounding rounding) internal pure returns (bool) {\n        return uint8(rounding) % 2 == 1;\n    }\n\n    /**\n     * @dev Counts the number of leading zero bits in a uint256.\n     */\n    function clz(uint256 x) internal pure returns (uint256) {\n        return ternary(x == 0, 256, 255 - log2(x));\n    }\n}\n"},"@openzeppelin/contracts/utils/math/SafeCast.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.1.0) (utils/math/SafeCast.sol)\n// This file was procedurally generated from scripts/generate/templates/SafeCast.js.\n\npragma solidity ^0.8.20;\n\n/**\n * @dev Wrappers over Solidity's uintXX/intXX/bool casting operators with added overflow\n * checks.\n *\n * Downcasting from uint256/int256 in Solidity does not revert on overflow. This can\n * easily result in undesired exploitation or bugs, since developers usually\n * assume that overflows raise errors. `SafeCast` restores this intuition by\n * reverting the transaction when such an operation overflows.\n *\n * Using this library instead of the unchecked operations eliminates an entire\n * class of bugs, so it's recommended to use it always.\n */\nlibrary SafeCast {\n    /**\n     * @dev Value doesn't fit in a uint of `bits` size.\n     */\n    error SafeCastOverflowedUintDowncast(uint8 bits, uint256 value);\n\n    /**\n     * @dev An int value doesn't fit in a uint of `bits` size.\n     */\n    error SafeCastOverflowedIntToUint(int256 value);\n\n    /**\n     * @dev Value doesn't fit in an int of `bits` size.\n     */\n    error SafeCastOverflowedIntDowncast(uint8 bits, int256 value);\n\n    /**\n     * @dev A uint value doesn't fit in an int of `bits` size.\n     */\n    error SafeCastOverflowedUintToInt(uint256 value);\n\n    /**\n     * @dev Returns the downcasted uint248 from uint256, reverting on\n     * overflow (when the input is greater than largest uint248).\n     *\n     * Counterpart to Solidity's `uint248` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 248 bits\n     */\n    function toUint248(uint256 value) internal pure returns (uint248) {\n        if (value > type(uint248).max) {\n            revert SafeCastOverflowedUintDowncast(248, value);\n        }\n        return uint248(value);\n    }\n\n    /**\n     * @dev Returns the downcasted uint240 from uint256, reverting on\n     * overflow (when the input is greater than largest uint240).\n     *\n     * Counterpart to Solidity's `uint240` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 240 bits\n     */\n    function toUint240(uint256 value) internal pure returns (uint240) {\n        if (value > type(uint240).max) {\n            revert SafeCastOverflowedUintDowncast(240, value);\n        }\n        return uint240(value);\n    }\n\n    /**\n     * @dev Returns the downcasted uint232 from uint256, reverting on\n     * overflow (when the input is greater than largest uint232).\n     *\n     * Counterpart to Solidity's `uint232` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 232 bits\n     */\n    function toUint232(uint256 value) internal pure returns (uint232) {\n        if (value > type(uint232).max) {\n            revert SafeCastOverflowedUintDowncast(232, value);\n        }\n        return uint232(value);\n    }\n\n    /**\n     * @dev Returns the downcasted uint224 from uint256, reverting on\n     * overflow (when the input is greater than largest uint224).\n     *\n     * Counterpart to Solidity's `uint224` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 224 bits\n     */\n    function toUint224(uint256 value) internal pure returns (uint224) {\n        if (value > type(uint224).max) {\n            revert SafeCastOverflowedUintDowncast(224, value);\n        }\n        return uint224(value);\n    }\n\n    /**\n     * @dev Returns the downcasted uint216 from uint256, reverting on\n     * overflow (when the input is greater than largest uint216).\n     *\n     * Counterpart to Solidity's `uint216` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 216 bits\n     */\n    function toUint216(uint256 value) internal pure returns (uint216) {\n        if (value > type(uint216).max) {\n            revert SafeCastOverflowedUintDowncast(216, value);\n        }\n        return uint216(value);\n    }\n\n    /**\n     * @dev Returns the downcasted uint208 from uint256, reverting on\n     * overflow (when the input is greater than largest uint208).\n     *\n     * Counterpart to Solidity's `uint208` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 208 bits\n     */\n    function toUint208(uint256 value) internal pure returns (uint208) {\n        if (value > type(uint208).max) {\n            revert SafeCastOverflowedUintDowncast(208, value);\n        }\n        return uint208(value);\n    }\n\n    /**\n     * @dev Returns the downcasted uint200 from uint256, reverting on\n     * overflow (when the input is greater than largest uint200).\n     *\n     * Counterpart to Solidity's `uint200` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 200 bits\n     */\n    function toUint200(uint256 value) internal pure returns (uint200) {\n        if (value > type(uint200).max) {\n            revert SafeCastOverflowedUintDowncast(200, value);\n        }\n        return uint200(value);\n    }\n\n    /**\n     * @dev Returns the downcasted uint192 from uint256, reverting on\n     * overflow (when the input is greater than largest uint192).\n     *\n     * Counterpart to Solidity's `uint192` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 192 bits\n     */\n    function toUint192(uint256 value) internal pure returns (uint192) {\n        if (value > type(uint192).max) {\n            revert SafeCastOverflowedUintDowncast(192, value);\n        }\n        return uint192(value);\n    }\n\n    /**\n     * @dev Returns the downcasted uint184 from uint256, reverting on\n     * overflow (when the input is greater than largest uint184).\n     *\n     * Counterpart to Solidity's `uint184` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 184 bits\n     */\n    function toUint184(uint256 value) internal pure returns (uint184) {\n        if (value > type(uint184).max) {\n            revert SafeCastOverflowedUintDowncast(184, value);\n        }\n        return uint184(value);\n    }\n\n    /**\n     * @dev Returns the downcasted uint176 from uint256, reverting on\n     * overflow (when the input is greater than largest uint176).\n     *\n     * Counterpart to Solidity's `uint176` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 176 bits\n     */\n    function toUint176(uint256 value) internal pure returns (uint176) {\n        if (value > type(uint176).max) {\n            revert SafeCastOverflowedUintDowncast(176, value);\n        }\n        return uint176(value);\n    }\n\n    /**\n     * @dev Returns the downcasted uint168 from uint256, reverting on\n     * overflow (when the input is greater than largest uint168).\n     *\n     * Counterpart to Solidity's `uint168` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 168 bits\n     */\n    function toUint168(uint256 value) internal pure returns (uint168) {\n        if (value > type(uint168).max) {\n            revert SafeCastOverflowedUintDowncast(168, value);\n        }\n        return uint168(value);\n    }\n\n    /**\n     * @dev Returns the downcasted uint160 from uint256, reverting on\n     * overflow (when the input is greater than largest uint160).\n     *\n     * Counterpart to Solidity's `uint160` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 160 bits\n     */\n    function toUint160(uint256 value) internal pure returns (uint160) {\n        if (value > type(uint160).max) {\n            revert SafeCastOverflowedUintDowncast(160, value);\n        }\n        return uint160(value);\n    }\n\n    /**\n     * @dev Returns the downcasted uint152 from uint256, reverting on\n     * overflow (when the input is greater than largest uint152).\n     *\n     * Counterpart to Solidity's `uint152` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 152 bits\n     */\n    function toUint152(uint256 value) internal pure returns (uint152) {\n        if (value > type(uint152).max) {\n            revert SafeCastOverflowedUintDowncast(152, value);\n        }\n        return uint152(value);\n    }\n\n    /**\n     * @dev Returns the downcasted uint144 from uint256, reverting on\n     * overflow (when the input is greater than largest uint144).\n     *\n     * Counterpart to Solidity's `uint144` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 144 bits\n     */\n    function toUint144(uint256 value) internal pure returns (uint144) {\n        if (value > type(uint144).max) {\n            revert SafeCastOverflowedUintDowncast(144, value);\n        }\n        return uint144(value);\n    }\n\n    /**\n     * @dev Returns the downcasted uint136 from uint256, reverting on\n     * overflow (when the input is greater than largest uint136).\n     *\n     * Counterpart to Solidity's `uint136` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 136 bits\n     */\n    function toUint136(uint256 value) internal pure returns (uint136) {\n        if (value > type(uint136).max) {\n            revert SafeCastOverflowedUintDowncast(136, value);\n        }\n        return uint136(value);\n    }\n\n    /**\n     * @dev Returns the downcasted uint128 from uint256, reverting on\n     * overflow (when the input is greater than largest uint128).\n     *\n     * Counterpart to Solidity's `uint128` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 128 bits\n     */\n    function toUint128(uint256 value) internal pure returns (uint128) {\n        if (value > type(uint128).max) {\n            revert SafeCastOverflowedUintDowncast(128, value);\n        }\n        return uint128(value);\n    }\n\n    /**\n     * @dev Returns the downcasted uint120 from uint256, reverting on\n     * overflow (when the input is greater than largest uint120).\n     *\n     * Counterpart to Solidity's `uint120` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 120 bits\n     */\n    function toUint120(uint256 value) internal pure returns (uint120) {\n        if (value > type(uint120).max) {\n            revert SafeCastOverflowedUintDowncast(120, value);\n        }\n        return uint120(value);\n    }\n\n    /**\n     * @dev Returns the downcasted uint112 from uint256, reverting on\n     * overflow (when the input is greater than largest uint112).\n     *\n     * Counterpart to Solidity's `uint112` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 112 bits\n     */\n    function toUint112(uint256 value) internal pure returns (uint112) {\n        if (value > type(uint112).max) {\n            revert SafeCastOverflowedUintDowncast(112, value);\n        }\n        return uint112(value);\n    }\n\n    /**\n     * @dev Returns the downcasted uint104 from uint256, reverting on\n     * overflow (when the input is greater than largest uint104).\n     *\n     * Counterpart to Solidity's `uint104` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 104 bits\n     */\n    function toUint104(uint256 value) internal pure returns (uint104) {\n        if (value > type(uint104).max) {\n            revert SafeCastOverflowedUintDowncast(104, value);\n        }\n        return uint104(value);\n    }\n\n    /**\n     * @dev Returns the downcasted uint96 from uint256, reverting on\n     * overflow (when the input is greater than largest uint96).\n     *\n     * Counterpart to Solidity's `uint96` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 96 bits\n     */\n    function toUint96(uint256 value) internal pure returns (uint96) {\n        if (value > type(uint96).max) {\n            revert SafeCastOverflowedUintDowncast(96, value);\n        }\n        return uint96(value);\n    }\n\n    /**\n     * @dev Returns the downcasted uint88 from uint256, reverting on\n     * overflow (when the input is greater than largest uint88).\n     *\n     * Counterpart to Solidity's `uint88` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 88 bits\n     */\n    function toUint88(uint256 value) internal pure returns (uint88) {\n        if (value > type(uint88).max) {\n            revert SafeCastOverflowedUintDowncast(88, value);\n        }\n        return uint88(value);\n    }\n\n    /**\n     * @dev Returns the downcasted uint80 from uint256, reverting on\n     * overflow (when the input is greater than largest uint80).\n     *\n     * Counterpart to Solidity's `uint80` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 80 bits\n     */\n    function toUint80(uint256 value) internal pure returns (uint80) {\n        if (value > type(uint80).max) {\n            revert SafeCastOverflowedUintDowncast(80, value);\n        }\n        return uint80(value);\n    }\n\n    /**\n     * @dev Returns the downcasted uint72 from uint256, reverting on\n     * overflow (when the input is greater than largest uint72).\n     *\n     * Counterpart to Solidity's `uint72` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 72 bits\n     */\n    function toUint72(uint256 value) internal pure returns (uint72) {\n        if (value > type(uint72).max) {\n            revert SafeCastOverflowedUintDowncast(72, value);\n        }\n        return uint72(value);\n    }\n\n    /**\n     * @dev Returns the downcasted uint64 from uint256, reverting on\n     * overflow (when the input is greater than largest uint64).\n     *\n     * Counterpart to Solidity's `uint64` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 64 bits\n     */\n    function toUint64(uint256 value) internal pure returns (uint64) {\n        if (value > type(uint64).max) {\n            revert SafeCastOverflowedUintDowncast(64, value);\n        }\n        return uint64(value);\n    }\n\n    /**\n     * @dev Returns the downcasted uint56 from uint256, reverting on\n     * overflow (when the input is greater than largest uint56).\n     *\n     * Counterpart to Solidity's `uint56` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 56 bits\n     */\n    function toUint56(uint256 value) internal pure returns (uint56) {\n        if (value > type(uint56).max) {\n            revert SafeCastOverflowedUintDowncast(56, value);\n        }\n        return uint56(value);\n    }\n\n    /**\n     * @dev Returns the downcasted uint48 from uint256, reverting on\n     * overflow (when the input is greater than largest uint48).\n     *\n     * Counterpart to Solidity's `uint48` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 48 bits\n     */\n    function toUint48(uint256 value) internal pure returns (uint48) {\n        if (value > type(uint48).max) {\n            revert SafeCastOverflowedUintDowncast(48, value);\n        }\n        return uint48(value);\n    }\n\n    /**\n     * @dev Returns the downcasted uint40 from uint256, reverting on\n     * overflow (when the input is greater than largest uint40).\n     *\n     * Counterpart to Solidity's `uint40` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 40 bits\n     */\n    function toUint40(uint256 value) internal pure returns (uint40) {\n        if (value > type(uint40).max) {\n            revert SafeCastOverflowedUintDowncast(40, value);\n        }\n        return uint40(value);\n    }\n\n    /**\n     * @dev Returns the downcasted uint32 from uint256, reverting on\n     * overflow (when the input is greater than largest uint32).\n     *\n     * Counterpart to Solidity's `uint32` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 32 bits\n     */\n    function toUint32(uint256 value) internal pure returns (uint32) {\n        if (value > type(uint32).max) {\n            revert SafeCastOverflowedUintDowncast(32, value);\n        }\n        return uint32(value);\n    }\n\n    /**\n     * @dev Returns the downcasted uint24 from uint256, reverting on\n     * overflow (when the input is greater than largest uint24).\n     *\n     * Counterpart to Solidity's `uint24` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 24 bits\n     */\n    function toUint24(uint256 value) internal pure returns (uint24) {\n        if (value > type(uint24).max) {\n            revert SafeCastOverflowedUintDowncast(24, value);\n        }\n        return uint24(value);\n    }\n\n    /**\n     * @dev Returns the downcasted uint16 from uint256, reverting on\n     * overflow (when the input is greater than largest uint16).\n     *\n     * Counterpart to Solidity's `uint16` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 16 bits\n     */\n    function toUint16(uint256 value) internal pure returns (uint16) {\n        if (value > type(uint16).max) {\n            revert SafeCastOverflowedUintDowncast(16, value);\n        }\n        return uint16(value);\n    }\n\n    /**\n     * @dev Returns the downcasted uint8 from uint256, reverting on\n     * overflow (when the input is greater than largest uint8).\n     *\n     * Counterpart to Solidity's `uint8` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 8 bits\n     */\n    function toUint8(uint256 value) internal pure returns (uint8) {\n        if (value > type(uint8).max) {\n            revert SafeCastOverflowedUintDowncast(8, value);\n        }\n        return uint8(value);\n    }\n\n    /**\n     * @dev Converts a signed int256 into an unsigned uint256.\n     *\n     * Requirements:\n     *\n     * - input must be greater than or equal to 0.\n     */\n    function toUint256(int256 value) internal pure returns (uint256) {\n        if (value < 0) {\n            revert SafeCastOverflowedIntToUint(value);\n        }\n        return uint256(value);\n    }\n\n    /**\n     * @dev Returns the downcasted int248 from int256, reverting on\n     * overflow (when the input is less than smallest int248 or\n     * greater than largest int248).\n     *\n     * Counterpart to Solidity's `int248` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 248 bits\n     */\n    function toInt248(int256 value) internal pure returns (int248 downcasted) {\n        downcasted = int248(value);\n        if (downcasted != value) {\n            revert SafeCastOverflowedIntDowncast(248, value);\n        }\n    }\n\n    /**\n     * @dev Returns the downcasted int240 from int256, reverting on\n     * overflow (when the input is less than smallest int240 or\n     * greater than largest int240).\n     *\n     * Counterpart to Solidity's `int240` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 240 bits\n     */\n    function toInt240(int256 value) internal pure returns (int240 downcasted) {\n        downcasted = int240(value);\n        if (downcasted != value) {\n            revert SafeCastOverflowedIntDowncast(240, value);\n        }\n    }\n\n    /**\n     * @dev Returns the downcasted int232 from int256, reverting on\n     * overflow (when the input is less than smallest int232 or\n     * greater than largest int232).\n     *\n     * Counterpart to Solidity's `int232` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 232 bits\n     */\n    function toInt232(int256 value) internal pure returns (int232 downcasted) {\n        downcasted = int232(value);\n        if (downcasted != value) {\n            revert SafeCastOverflowedIntDowncast(232, value);\n        }\n    }\n\n    /**\n     * @dev Returns the downcasted int224 from int256, reverting on\n     * overflow (when the input is less than smallest int224 or\n     * greater than largest int224).\n     *\n     * Counterpart to Solidity's `int224` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 224 bits\n     */\n    function toInt224(int256 value) internal pure returns (int224 downcasted) {\n        downcasted = int224(value);\n        if (downcasted != value) {\n            revert SafeCastOverflowedIntDowncast(224, value);\n        }\n    }\n\n    /**\n     * @dev Returns the downcasted int216 from int256, reverting on\n     * overflow (when the input is less than smallest int216 or\n     * greater than largest int216).\n     *\n     * Counterpart to Solidity's `int216` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 216 bits\n     */\n    function toInt216(int256 value) internal pure returns (int216 downcasted) {\n        downcasted = int216(value);\n        if (downcasted != value) {\n            revert SafeCastOverflowedIntDowncast(216, value);\n        }\n    }\n\n    /**\n     * @dev Returns the downcasted int208 from int256, reverting on\n     * overflow (when the input is less than smallest int208 or\n     * greater than largest int208).\n     *\n     * Counterpart to Solidity's `int208` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 208 bits\n     */\n    function toInt208(int256 value) internal pure returns (int208 downcasted) {\n        downcasted = int208(value);\n        if (downcasted != value) {\n            revert SafeCastOverflowedIntDowncast(208, value);\n        }\n    }\n\n    /**\n     * @dev Returns the downcasted int200 from int256, reverting on\n     * overflow (when the input is less than smallest int200 or\n     * greater than largest int200).\n     *\n     * Counterpart to Solidity's `int200` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 200 bits\n     */\n    function toInt200(int256 value) internal pure returns (int200 downcasted) {\n        downcasted = int200(value);\n        if (downcasted != value) {\n            revert SafeCastOverflowedIntDowncast(200, value);\n        }\n    }\n\n    /**\n     * @dev Returns the downcasted int192 from int256, reverting on\n     * overflow (when the input is less than smallest int192 or\n     * greater than largest int192).\n     *\n     * Counterpart to Solidity's `int192` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 192 bits\n     */\n    function toInt192(int256 value) internal pure returns (int192 downcasted) {\n        downcasted = int192(value);\n        if (downcasted != value) {\n            revert SafeCastOverflowedIntDowncast(192, value);\n        }\n    }\n\n    /**\n     * @dev Returns the downcasted int184 from int256, reverting on\n     * overflow (when the input is less than smallest int184 or\n     * greater than largest int184).\n     *\n     * Counterpart to Solidity's `int184` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 184 bits\n     */\n    function toInt184(int256 value) internal pure returns (int184 downcasted) {\n        downcasted = int184(value);\n        if (downcasted != value) {\n            revert SafeCastOverflowedIntDowncast(184, value);\n        }\n    }\n\n    /**\n     * @dev Returns the downcasted int176 from int256, reverting on\n     * overflow (when the input is less than smallest int176 or\n     * greater than largest int176).\n     *\n     * Counterpart to Solidity's `int176` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 176 bits\n     */\n    function toInt176(int256 value) internal pure returns (int176 downcasted) {\n        downcasted = int176(value);\n        if (downcasted != value) {\n            revert SafeCastOverflowedIntDowncast(176, value);\n        }\n    }\n\n    /**\n     * @dev Returns the downcasted int168 from int256, reverting on\n     * overflow (when the input is less than smallest int168 or\n     * greater than largest int168).\n     *\n     * Counterpart to Solidity's `int168` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 168 bits\n     */\n    function toInt168(int256 value) internal pure returns (int168 downcasted) {\n        downcasted = int168(value);\n        if (downcasted != value) {\n            revert SafeCastOverflowedIntDowncast(168, value);\n        }\n    }\n\n    /**\n     * @dev Returns the downcasted int160 from int256, reverting on\n     * overflow (when the input is less than smallest int160 or\n     * greater than largest int160).\n     *\n     * Counterpart to Solidity's `int160` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 160 bits\n     */\n    function toInt160(int256 value) internal pure returns (int160 downcasted) {\n        downcasted = int160(value);\n        if (downcasted != value) {\n            revert SafeCastOverflowedIntDowncast(160, value);\n        }\n    }\n\n    /**\n     * @dev Returns the downcasted int152 from int256, reverting on\n     * overflow (when the input is less than smallest int152 or\n     * greater than largest int152).\n     *\n     * Counterpart to Solidity's `int152` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 152 bits\n     */\n    function toInt152(int256 value) internal pure returns (int152 downcasted) {\n        downcasted = int152(value);\n        if (downcasted != value) {\n            revert SafeCastOverflowedIntDowncast(152, value);\n        }\n    }\n\n    /**\n     * @dev Returns the downcasted int144 from int256, reverting on\n     * overflow (when the input is less than smallest int144 or\n     * greater than largest int144).\n     *\n     * Counterpart to Solidity's `int144` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 144 bits\n     */\n    function toInt144(int256 value) internal pure returns (int144 downcasted) {\n        downcasted = int144(value);\n        if (downcasted != value) {\n            revert SafeCastOverflowedIntDowncast(144, value);\n        }\n    }\n\n    /**\n     * @dev Returns the downcasted int136 from int256, reverting on\n     * overflow (when the input is less than smallest int136 or\n     * greater than largest int136).\n     *\n     * Counterpart to Solidity's `int136` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 136 bits\n     */\n    function toInt136(int256 value) internal pure returns (int136 downcasted) {\n        downcasted = int136(value);\n        if (downcasted != value) {\n            revert SafeCastOverflowedIntDowncast(136, value);\n        }\n    }\n\n    /**\n     * @dev Returns the downcasted int128 from int256, reverting on\n     * overflow (when the input is less than smallest int128 or\n     * greater than largest int128).\n     *\n     * Counterpart to Solidity's `int128` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 128 bits\n     */\n    function toInt128(int256 value) internal pure returns (int128 downcasted) {\n        downcasted = int128(value);\n        if (downcasted != value) {\n            revert SafeCastOverflowedIntDowncast(128, value);\n        }\n    }\n\n    /**\n     * @dev Returns the downcasted int120 from int256, reverting on\n     * overflow (when the input is less than smallest int120 or\n     * greater than largest int120).\n     *\n     * Counterpart to Solidity's `int120` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 120 bits\n     */\n    function toInt120(int256 value) internal pure returns (int120 downcasted) {\n        downcasted = int120(value);\n        if (downcasted != value) {\n            revert SafeCastOverflowedIntDowncast(120, value);\n        }\n    }\n\n    /**\n     * @dev Returns the downcasted int112 from int256, reverting on\n     * overflow (when the input is less than smallest int112 or\n     * greater than largest int112).\n     *\n     * Counterpart to Solidity's `int112` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 112 bits\n     */\n    function toInt112(int256 value) internal pure returns (int112 downcasted) {\n        downcasted = int112(value);\n        if (downcasted != value) {\n            revert SafeCastOverflowedIntDowncast(112, value);\n        }\n    }\n\n    /**\n     * @dev Returns the downcasted int104 from int256, reverting on\n     * overflow (when the input is less than smallest int104 or\n     * greater than largest int104).\n     *\n     * Counterpart to Solidity's `int104` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 104 bits\n     */\n    function toInt104(int256 value) internal pure returns (int104 downcasted) {\n        downcasted = int104(value);\n        if (downcasted != value) {\n            revert SafeCastOverflowedIntDowncast(104, value);\n        }\n    }\n\n    /**\n     * @dev Returns the downcasted int96 from int256, reverting on\n     * overflow (when the input is less than smallest int96 or\n     * greater than largest int96).\n     *\n     * Counterpart to Solidity's `int96` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 96 bits\n     */\n    function toInt96(int256 value) internal pure returns (int96 downcasted) {\n        downcasted = int96(value);\n        if (downcasted != value) {\n            revert SafeCastOverflowedIntDowncast(96, value);\n        }\n    }\n\n    /**\n     * @dev Returns the downcasted int88 from int256, reverting on\n     * overflow (when the input is less than smallest int88 or\n     * greater than largest int88).\n     *\n     * Counterpart to Solidity's `int88` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 88 bits\n     */\n    function toInt88(int256 value) internal pure returns (int88 downcasted) {\n        downcasted = int88(value);\n        if (downcasted != value) {\n            revert SafeCastOverflowedIntDowncast(88, value);\n        }\n    }\n\n    /**\n     * @dev Returns the downcasted int80 from int256, reverting on\n     * overflow (when the input is less than smallest int80 or\n     * greater than largest int80).\n     *\n     * Counterpart to Solidity's `int80` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 80 bits\n     */\n    function toInt80(int256 value) internal pure returns (int80 downcasted) {\n        downcasted = int80(value);\n        if (downcasted != value) {\n            revert SafeCastOverflowedIntDowncast(80, value);\n        }\n    }\n\n    /**\n     * @dev Returns the downcasted int72 from int256, reverting on\n     * overflow (when the input is less than smallest int72 or\n     * greater than largest int72).\n     *\n     * Counterpart to Solidity's `int72` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 72 bits\n     */\n    function toInt72(int256 value) internal pure returns (int72 downcasted) {\n        downcasted = int72(value);\n        if (downcasted != value) {\n            revert SafeCastOverflowedIntDowncast(72, value);\n        }\n    }\n\n    /**\n     * @dev Returns the downcasted int64 from int256, reverting on\n     * overflow (when the input is less than smallest int64 or\n     * greater than largest int64).\n     *\n     * Counterpart to Solidity's `int64` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 64 bits\n     */\n    function toInt64(int256 value) internal pure returns (int64 downcasted) {\n        downcasted = int64(value);\n        if (downcasted != value) {\n            revert SafeCastOverflowedIntDowncast(64, value);\n        }\n    }\n\n    /**\n     * @dev Returns the downcasted int56 from int256, reverting on\n     * overflow (when the input is less than smallest int56 or\n     * greater than largest int56).\n     *\n     * Counterpart to Solidity's `int56` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 56 bits\n     */\n    function toInt56(int256 value) internal pure returns (int56 downcasted) {\n        downcasted = int56(value);\n        if (downcasted != value) {\n            revert SafeCastOverflowedIntDowncast(56, value);\n        }\n    }\n\n    /**\n     * @dev Returns the downcasted int48 from int256, reverting on\n     * overflow (when the input is less than smallest int48 or\n     * greater than largest int48).\n     *\n     * Counterpart to Solidity's `int48` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 48 bits\n     */\n    function toInt48(int256 value) internal pure returns (int48 downcasted) {\n        downcasted = int48(value);\n        if (downcasted != value) {\n            revert SafeCastOverflowedIntDowncast(48, value);\n        }\n    }\n\n    /**\n     * @dev Returns the downcasted int40 from int256, reverting on\n     * overflow (when the input is less than smallest int40 or\n     * greater than largest int40).\n     *\n     * Counterpart to Solidity's `int40` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 40 bits\n     */\n    function toInt40(int256 value) internal pure returns (int40 downcasted) {\n        downcasted = int40(value);\n        if (downcasted != value) {\n            revert SafeCastOverflowedIntDowncast(40, value);\n        }\n    }\n\n    /**\n     * @dev Returns the downcasted int32 from int256, reverting on\n     * overflow (when the input is less than smallest int32 or\n     * greater than largest int32).\n     *\n     * Counterpart to Solidity's `int32` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 32 bits\n     */\n    function toInt32(int256 value) internal pure returns (int32 downcasted) {\n        downcasted = int32(value);\n        if (downcasted != value) {\n            revert SafeCastOverflowedIntDowncast(32, value);\n        }\n    }\n\n    /**\n     * @dev Returns the downcasted int24 from int256, reverting on\n     * overflow (when the input is less than smallest int24 or\n     * greater than largest int24).\n     *\n     * Counterpart to Solidity's `int24` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 24 bits\n     */\n    function toInt24(int256 value) internal pure returns (int24 downcasted) {\n        downcasted = int24(value);\n        if (downcasted != value) {\n            revert SafeCastOverflowedIntDowncast(24, value);\n        }\n    }\n\n    /**\n     * @dev Returns the downcasted int16 from int256, reverting on\n     * overflow (when the input is less than smallest int16 or\n     * greater than largest int16).\n     *\n     * Counterpart to Solidity's `int16` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 16 bits\n     */\n    function toInt16(int256 value) internal pure returns (int16 downcasted) {\n        downcasted = int16(value);\n        if (downcasted != value) {\n            revert SafeCastOverflowedIntDowncast(16, value);\n        }\n    }\n\n    /**\n     * @dev Returns the downcasted int8 from int256, reverting on\n     * overflow (when the input is less than smallest int8 or\n     * greater than largest int8).\n     *\n     * Counterpart to Solidity's `int8` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 8 bits\n     */\n    function toInt8(int256 value) internal pure returns (int8 downcasted) {\n        downcasted = int8(value);\n        if (downcasted != value) {\n            revert SafeCastOverflowedIntDowncast(8, value);\n        }\n    }\n\n    /**\n     * @dev Converts an unsigned uint256 into a signed int256.\n     *\n     * Requirements:\n     *\n     * - input must be less than or equal to maxInt256.\n     */\n    function toInt256(uint256 value) internal pure returns (int256) {\n        // Note: Unsafe cast below is okay because `type(int256).max` is guaranteed to be positive\n        if (value > uint256(type(int256).max)) {\n            revert SafeCastOverflowedUintToInt(value);\n        }\n        return int256(value);\n    }\n\n    /**\n     * @dev Cast a boolean (false or true) to a uint256 (0 or 1) with no jump.\n     */\n    function toUint(bool b) internal pure returns (uint256 u) {\n        assembly (\"memory-safe\") {\n            u := iszero(iszero(b))\n        }\n    }\n}\n"},"@openzeppelin/contracts/utils/math/SignedMath.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.1.0) (utils/math/SignedMath.sol)\n\npragma solidity ^0.8.20;\n\nimport {SafeCast} from \"./SafeCast.sol\";\n\n/**\n * @dev Standard signed math utilities missing in the Solidity language.\n */\nlibrary SignedMath {\n    /**\n     * @dev Branchless ternary evaluation for `a ? b : c`. Gas costs are constant.\n     *\n     * IMPORTANT: This function may reduce bytecode size and consume less gas when used standalone.\n     * However, the compiler may optimize Solidity ternary operations (i.e. `a ? b : c`) to only compute\n     * one branch when needed, making this function more expensive.\n     */\n    function ternary(bool condition, int256 a, int256 b) internal pure returns (int256) {\n        unchecked {\n            // branchless ternary works because:\n            // b ^ (a ^ b) == a\n            // b ^ 0 == b\n            return b ^ ((a ^ b) * int256(SafeCast.toUint(condition)));\n        }\n    }\n\n    /**\n     * @dev Returns the largest of two signed numbers.\n     */\n    function max(int256 a, int256 b) internal pure returns (int256) {\n        return ternary(a > b, a, b);\n    }\n\n    /**\n     * @dev Returns the smallest of two signed numbers.\n     */\n    function min(int256 a, int256 b) internal pure returns (int256) {\n        return ternary(a < b, a, b);\n    }\n\n    /**\n     * @dev Returns the average of two signed numbers without overflow.\n     * The result is rounded towards zero.\n     */\n    function average(int256 a, int256 b) internal pure returns (int256) {\n        // Formula from the book \"Hacker's Delight\"\n        int256 x = (a & b) + ((a ^ b) >> 1);\n        return x + (int256(uint256(x) >> 255) & (a ^ b));\n    }\n\n    /**\n     * @dev Returns the absolute unsigned value of a signed value.\n     */\n    function abs(int256 n) internal pure returns (uint256) {\n        unchecked {\n            // Formula from the \"Bit Twiddling Hacks\" by Sean Eron Anderson.\n            // Since `n` is a signed integer, the generated bytecode will use the SAR opcode to perform the right shift,\n            // taking advantage of the most significant (or \"sign\" bit) in two's complement representation.\n            // This opcode adds new most significant bits set to the value of the previous most significant bit. As a result,\n            // the mask will either be `bytes32(0)` (if n is positive) or `~bytes32(0)` (if n is negative).\n            int256 mask = n >> 255;\n\n            // A `bytes32(0)` mask leaves the input unchanged, while a `~bytes32(0)` mask complements it.\n            return uint256((n + mask) ^ mask);\n        }\n    }\n}\n"},"@openzeppelin/contracts/utils/Panic.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.1.0) (utils/Panic.sol)\n\npragma solidity ^0.8.20;\n\n/**\n * @dev Helper library for emitting standardized panic codes.\n *\n * ```solidity\n * contract Example {\n *      using Panic for uint256;\n *\n *      // Use any of the declared internal constants\n *      function foo() { Panic.GENERIC.panic(); }\n *\n *      // Alternatively\n *      function foo() { Panic.panic(Panic.GENERIC); }\n * }\n * ```\n *\n * Follows the list from https://github.com/ethereum/solidity/blob/v0.8.24/libsolutil/ErrorCodes.h[libsolutil].\n *\n * _Available since v5.1._\n */\n// slither-disable-next-line unused-state\nlibrary Panic {\n    /// @dev generic / unspecified error\n    uint256 internal constant GENERIC = 0x00;\n    /// @dev used by the assert() builtin\n    uint256 internal constant ASSERT = 0x01;\n    /// @dev arithmetic underflow or overflow\n    uint256 internal constant UNDER_OVERFLOW = 0x11;\n    /// @dev division or modulo by zero\n    uint256 internal constant DIVISION_BY_ZERO = 0x12;\n    /// @dev enum conversion error\n    uint256 internal constant ENUM_CONVERSION_ERROR = 0x21;\n    /// @dev invalid encoding in storage\n    uint256 internal constant STORAGE_ENCODING_ERROR = 0x22;\n    /// @dev empty array pop\n    uint256 internal constant EMPTY_ARRAY_POP = 0x31;\n    /// @dev array out of bounds access\n    uint256 internal constant ARRAY_OUT_OF_BOUNDS = 0x32;\n    /// @dev resource error (too large allocation or too large array)\n    uint256 internal constant RESOURCE_ERROR = 0x41;\n    /// @dev calling invalid internal function\n    uint256 internal constant INVALID_INTERNAL_FUNCTION = 0x51;\n\n    /// @dev Reverts with a panic code. Recommended to use with\n    /// the internal constants with predefined codes.\n    function panic(uint256 code) internal pure {\n        assembly (\"memory-safe\") {\n            mstore(0x00, 0x4e487b71)\n            mstore(0x20, code)\n            revert(0x1c, 0x24)\n        }\n    }\n}\n"},"@openzeppelin/contracts/utils/Pausable.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.3.0) (utils/Pausable.sol)\n\npragma solidity ^0.8.20;\n\nimport {Context} from \"../utils/Context.sol\";\n\n/**\n * @dev Contract module which allows children to implement an emergency stop\n * mechanism that can be triggered by an authorized account.\n *\n * This module is used through inheritance. It will make available the\n * modifiers `whenNotPaused` and `whenPaused`, which can be applied to\n * the functions of your contract. Note that they will not be pausable by\n * simply including this module, only once the modifiers are put in place.\n */\nabstract contract Pausable is Context {\n    bool private _paused;\n\n    /**\n     * @dev Emitted when the pause is triggered by `account`.\n     */\n    event Paused(address account);\n\n    /**\n     * @dev Emitted when the pause is lifted by `account`.\n     */\n    event Unpaused(address account);\n\n    /**\n     * @dev The operation failed because the contract is paused.\n     */\n    error EnforcedPause();\n\n    /**\n     * @dev The operation failed because the contract is not paused.\n     */\n    error ExpectedPause();\n\n    /**\n     * @dev Modifier to make a function callable only when the contract is not paused.\n     *\n     * Requirements:\n     *\n     * - The contract must not be paused.\n     */\n    modifier whenNotPaused() {\n        _requireNotPaused();\n        _;\n    }\n\n    /**\n     * @dev Modifier to make a function callable only when the contract is paused.\n     *\n     * Requirements:\n     *\n     * - The contract must be paused.\n     */\n    modifier whenPaused() {\n        _requirePaused();\n        _;\n    }\n\n    /**\n     * @dev Returns true if the contract is paused, and false otherwise.\n     */\n    function paused() public view virtual returns (bool) {\n        return _paused;\n    }\n\n    /**\n     * @dev Throws if the contract is paused.\n     */\n    function _requireNotPaused() internal view virtual {\n        if (paused()) {\n            revert EnforcedPause();\n        }\n    }\n\n    /**\n     * @dev Throws if the contract is not paused.\n     */\n    function _requirePaused() internal view virtual {\n        if (!paused()) {\n            revert ExpectedPause();\n        }\n    }\n\n    /**\n     * @dev Triggers stopped state.\n     *\n     * Requirements:\n     *\n     * - The contract must not be paused.\n     */\n    function _pause() internal virtual whenNotPaused {\n        _paused = true;\n        emit Paused(_msgSender());\n    }\n\n    /**\n     * @dev Returns to normal state.\n     *\n     * Requirements:\n     *\n     * - The contract must be paused.\n     */\n    function _unpause() internal virtual whenPaused {\n        _paused = false;\n        emit Unpaused(_msgSender());\n    }\n}\n"},"@openzeppelin/contracts/utils/ReentrancyGuard.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.5.0) (utils/ReentrancyGuard.sol)\n\npragma solidity ^0.8.20;\n\nimport {StorageSlot} from \"./StorageSlot.sol\";\n\n/**\n * @dev Contract module that helps prevent reentrant calls to a function.\n *\n * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier\n * available, which can be applied to functions to make sure there are no nested\n * (reentrant) calls to them.\n *\n * Note that because there is a single `nonReentrant` guard, functions marked as\n * `nonReentrant` may not call one another. This can be worked around by making\n * those functions `private`, and then adding `external` `nonReentrant` entry\n * points to them.\n *\n * TIP: If EIP-1153 (transient storage) is available on the chain you're deploying at,\n * consider using {ReentrancyGuardTransient} instead.\n *\n * TIP: If you would like to learn more about reentrancy and alternative ways\n * to protect against it, check out our blog post\n * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul].\n *\n * IMPORTANT: Deprecated. This storage-based reentrancy guard will be removed and replaced\n * by the {ReentrancyGuardTransient} variant in v6.0.\n *\n * @custom:stateless\n */\nabstract contract ReentrancyGuard {\n    using StorageSlot for bytes32;\n\n    // keccak256(abi.encode(uint256(keccak256(\"openzeppelin.storage.ReentrancyGuard\")) - 1)) & ~bytes32(uint256(0xff))\n    bytes32 private constant REENTRANCY_GUARD_STORAGE =\n        0x9b779b17422d0df92223018b32b4d1fa46e071723d6817e2486d003becc55f00;\n\n    // Booleans are more expensive than uint256 or any type that takes up a full\n    // word because each write operation emits an extra SLOAD to first read the\n    // slot's contents, replace the bits taken up by the boolean, and then write\n    // back. This is the compiler's defense against contract upgrades and\n    // pointer aliasing, and it cannot be disabled.\n\n    // The values being non-zero value makes deployment a bit more expensive,\n    // but in exchange the refund on every call to nonReentrant will be lower in\n    // amount. Since refunds are capped to a percentage of the total\n    // transaction's gas, it is best to keep them low in cases like this one, to\n    // increase the likelihood of the full refund coming into effect.\n    uint256 private constant NOT_ENTERED = 1;\n    uint256 private constant ENTERED = 2;\n\n    /**\n     * @dev Unauthorized reentrant call.\n     */\n    error ReentrancyGuardReentrantCall();\n\n    constructor() {\n        _reentrancyGuardStorageSlot().getUint256Slot().value = NOT_ENTERED;\n    }\n\n    /**\n     * @dev Prevents a contract from calling itself, directly or indirectly.\n     * Calling a `nonReentrant` function from another `nonReentrant`\n     * function is not supported. It is possible to prevent this from happening\n     * by making the `nonReentrant` function external, and making it call a\n     * `private` function that does the actual work.\n     */\n    modifier nonReentrant() {\n        _nonReentrantBefore();\n        _;\n        _nonReentrantAfter();\n    }\n\n    /**\n     * @dev A `view` only version of {nonReentrant}. Use to block view functions\n     * from being called, preventing reading from inconsistent contract state.\n     *\n     * CAUTION: This is a \"view\" modifier and does not change the reentrancy\n     * status. Use it only on view functions. For payable or non-payable functions,\n     * use the standard {nonReentrant} modifier instead.\n     */\n    modifier nonReentrantView() {\n        _nonReentrantBeforeView();\n        _;\n    }\n\n    function _nonReentrantBeforeView() private view {\n        if (_reentrancyGuardEntered()) {\n            revert ReentrancyGuardReentrantCall();\n        }\n    }\n\n    function _nonReentrantBefore() private {\n        // On the first call to nonReentrant, _status will be NOT_ENTERED\n        _nonReentrantBeforeView();\n\n        // Any calls to nonReentrant after this point will fail\n        _reentrancyGuardStorageSlot().getUint256Slot().value = ENTERED;\n    }\n\n    function _nonReentrantAfter() private {\n        // By storing the original value once again, a refund is triggered (see\n        // https://eips.ethereum.org/EIPS/eip-2200)\n        _reentrancyGuardStorageSlot().getUint256Slot().value = NOT_ENTERED;\n    }\n\n    /**\n     * @dev Returns true if the reentrancy guard is currently set to \"entered\", which indicates there is a\n     * `nonReentrant` function in the call stack.\n     */\n    function _reentrancyGuardEntered() internal view returns (bool) {\n        return _reentrancyGuardStorageSlot().getUint256Slot().value == ENTERED;\n    }\n\n    function _reentrancyGuardStorageSlot() internal pure virtual returns (bytes32) {\n        return REENTRANCY_GUARD_STORAGE;\n    }\n}\n"},"@openzeppelin/contracts/utils/ShortStrings.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.5.0) (utils/ShortStrings.sol)\n\npragma solidity ^0.8.20;\n\nimport {StorageSlot} from \"./StorageSlot.sol\";\n\n// | string  | 0xAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA   |\n// | length  | 0x                                                              BB |\ntype ShortString is bytes32;\n\n/**\n * @dev This library provides functions to convert short memory strings\n * into a `ShortString` type that can be used as an immutable variable.\n *\n * Strings of arbitrary length can be optimized using this library if\n * they are short enough (up to 31 bytes) by packing them with their\n * length (1 byte) in a single EVM word (32 bytes). Additionally, a\n * fallback mechanism can be used for every other case.\n *\n * Usage example:\n *\n * ```solidity\n * contract Named {\n *     using ShortStrings for *;\n *\n *     ShortString private immutable _name;\n *     string private _nameFallback;\n *\n *     constructor(string memory contractName) {\n *         _name = contractName.toShortStringWithFallback(_nameFallback);\n *     }\n *\n *     function name() external view returns (string memory) {\n *         return _name.toStringWithFallback(_nameFallback);\n *     }\n * }\n * ```\n */\nlibrary ShortStrings {\n    // Used as an identifier for strings longer than 31 bytes.\n    bytes32 private constant FALLBACK_SENTINEL = 0x00000000000000000000000000000000000000000000000000000000000000FF;\n\n    error StringTooLong(string str);\n    error InvalidShortString();\n\n    /**\n     * @dev Encode a string of at most 31 chars into a `ShortString`.\n     *\n     * This will trigger a `StringTooLong` error is the input string is too long.\n     */\n    function toShortString(string memory str) internal pure returns (ShortString) {\n        bytes memory bstr = bytes(str);\n        if (bstr.length > 0x1f) {\n            revert StringTooLong(str);\n        }\n        return ShortString.wrap(bytes32(uint256(bytes32(bstr)) | bstr.length));\n    }\n\n    /**\n     * @dev Decode a `ShortString` back to a \"normal\" string.\n     */\n    function toString(ShortString sstr) internal pure returns (string memory) {\n        uint256 len = byteLength(sstr);\n        // using `new string(len)` would work locally but is not memory safe.\n        string memory str = new string(0x20);\n        assembly (\"memory-safe\") {\n            mstore(str, len)\n            mstore(add(str, 0x20), sstr)\n        }\n        return str;\n    }\n\n    /**\n     * @dev Return the length of a `ShortString`.\n     */\n    function byteLength(ShortString sstr) internal pure returns (uint256) {\n        uint256 result = uint256(ShortString.unwrap(sstr)) & 0xFF;\n        if (result > 0x1f) {\n            revert InvalidShortString();\n        }\n        return result;\n    }\n\n    /**\n     * @dev Encode a string into a `ShortString`, or write it to storage if it is too long.\n     */\n    function toShortStringWithFallback(string memory value, string storage store) internal returns (ShortString) {\n        if (bytes(value).length < 0x20) {\n            return toShortString(value);\n        } else {\n            StorageSlot.getStringSlot(store).value = value;\n            return ShortString.wrap(FALLBACK_SENTINEL);\n        }\n    }\n\n    /**\n     * @dev Decode a string that was encoded to `ShortString` or written to storage using {toShortStringWithFallback}.\n     */\n    function toStringWithFallback(ShortString value, string storage store) internal pure returns (string memory) {\n        if (ShortString.unwrap(value) != FALLBACK_SENTINEL) {\n            return toString(value);\n        } else {\n            return store;\n        }\n    }\n\n    /**\n     * @dev Return the length of a string that was encoded to `ShortString` or written to storage using\n     * {toShortStringWithFallback}.\n     *\n     * WARNING: This will return the \"byte length\" of the string. This may not reflect the actual length in terms of\n     * actual characters as the UTF-8 encoding of a single character can span over multiple bytes.\n     */\n    function byteLengthWithFallback(ShortString value, string storage store) internal view returns (uint256) {\n        if (ShortString.unwrap(value) != FALLBACK_SENTINEL) {\n            return byteLength(value);\n        } else {\n            return bytes(store).length;\n        }\n    }\n}\n"},"@openzeppelin/contracts/utils/StorageSlot.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.1.0) (utils/StorageSlot.sol)\n// This file was procedurally generated from scripts/generate/templates/StorageSlot.js.\n\npragma solidity ^0.8.20;\n\n/**\n * @dev Library for reading and writing primitive types to specific storage slots.\n *\n * Storage slots are often used to avoid storage conflict when dealing with upgradeable contracts.\n * This library helps with reading and writing to such slots without the need for inline assembly.\n *\n * The functions in this library return Slot structs that contain a `value` member that can be used to read or write.\n *\n * Example usage to set ERC-1967 implementation slot:\n * ```solidity\n * contract ERC1967 {\n *     // Define the slot. Alternatively, use the SlotDerivation library to derive the slot.\n *     bytes32 internal constant _IMPLEMENTATION_SLOT = 0x360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc;\n *\n *     function _getImplementation() internal view returns (address) {\n *         return StorageSlot.getAddressSlot(_IMPLEMENTATION_SLOT).value;\n *     }\n *\n *     function _setImplementation(address newImplementation) internal {\n *         require(newImplementation.code.length > 0);\n *         StorageSlot.getAddressSlot(_IMPLEMENTATION_SLOT).value = newImplementation;\n *     }\n * }\n * ```\n *\n * TIP: Consider using this library along with {SlotDerivation}.\n */\nlibrary StorageSlot {\n    struct AddressSlot {\n        address value;\n    }\n\n    struct BooleanSlot {\n        bool value;\n    }\n\n    struct Bytes32Slot {\n        bytes32 value;\n    }\n\n    struct Uint256Slot {\n        uint256 value;\n    }\n\n    struct Int256Slot {\n        int256 value;\n    }\n\n    struct StringSlot {\n        string value;\n    }\n\n    struct BytesSlot {\n        bytes value;\n    }\n\n    /**\n     * @dev Returns an `AddressSlot` with member `value` located at `slot`.\n     */\n    function getAddressSlot(bytes32 slot) internal pure returns (AddressSlot storage r) {\n        assembly (\"memory-safe\") {\n            r.slot := slot\n        }\n    }\n\n    /**\n     * @dev Returns a `BooleanSlot` with member `value` located at `slot`.\n     */\n    function getBooleanSlot(bytes32 slot) internal pure returns (BooleanSlot storage r) {\n        assembly (\"memory-safe\") {\n            r.slot := slot\n        }\n    }\n\n    /**\n     * @dev Returns a `Bytes32Slot` with member `value` located at `slot`.\n     */\n    function getBytes32Slot(bytes32 slot) internal pure returns (Bytes32Slot storage r) {\n        assembly (\"memory-safe\") {\n            r.slot := slot\n        }\n    }\n\n    /**\n     * @dev Returns a `Uint256Slot` with member `value` located at `slot`.\n     */\n    function getUint256Slot(bytes32 slot) internal pure returns (Uint256Slot storage r) {\n        assembly (\"memory-safe\") {\n            r.slot := slot\n        }\n    }\n\n    /**\n     * @dev Returns a `Int256Slot` with member `value` located at `slot`.\n     */\n    function getInt256Slot(bytes32 slot) internal pure returns (Int256Slot storage r) {\n        assembly (\"memory-safe\") {\n            r.slot := slot\n        }\n    }\n\n    /**\n     * @dev Returns a `StringSlot` with member `value` located at `slot`.\n     */\n    function getStringSlot(bytes32 slot) internal pure returns (StringSlot storage r) {\n        assembly (\"memory-safe\") {\n            r.slot := slot\n        }\n    }\n\n    /**\n     * @dev Returns an `StringSlot` representation of the string storage pointer `store`.\n     */\n    function getStringSlot(string storage store) internal pure returns (StringSlot storage r) {\n        assembly (\"memory-safe\") {\n            r.slot := store.slot\n        }\n    }\n\n    /**\n     * @dev Returns a `BytesSlot` with member `value` located at `slot`.\n     */\n    function getBytesSlot(bytes32 slot) internal pure returns (BytesSlot storage r) {\n        assembly (\"memory-safe\") {\n            r.slot := slot\n        }\n    }\n\n    /**\n     * @dev Returns an `BytesSlot` representation of the bytes storage pointer `store`.\n     */\n    function getBytesSlot(bytes storage store) internal pure returns (BytesSlot storage r) {\n        assembly (\"memory-safe\") {\n            r.slot := store.slot\n        }\n    }\n}\n"},"@openzeppelin/contracts/utils/Strings.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.5.0) (utils/Strings.sol)\n\npragma solidity ^0.8.24;\n\nimport {Math} from \"./math/Math.sol\";\nimport {SafeCast} from \"./math/SafeCast.sol\";\nimport {SignedMath} from \"./math/SignedMath.sol\";\nimport {Bytes} from \"./Bytes.sol\";\n\n/**\n * @dev String operations.\n */\nlibrary Strings {\n    using SafeCast for *;\n\n    bytes16 private constant HEX_DIGITS = \"0123456789abcdef\";\n    uint8 private constant ADDRESS_LENGTH = 20;\n    uint256 private constant SPECIAL_CHARS_LOOKUP =\n        (1 << 0x08) | // backspace\n            (1 << 0x09) | // tab\n            (1 << 0x0a) | // newline\n            (1 << 0x0c) | // form feed\n            (1 << 0x0d) | // carriage return\n            (1 << 0x22) | // double quote\n            (1 << 0x5c); // backslash\n\n    /**\n     * @dev The `value` string doesn't fit in the specified `length`.\n     */\n    error StringsInsufficientHexLength(uint256 value, uint256 length);\n\n    /**\n     * @dev The string being parsed contains characters that are not in scope of the given base.\n     */\n    error StringsInvalidChar();\n\n    /**\n     * @dev The string being parsed is not a properly formatted address.\n     */\n    error StringsInvalidAddressFormat();\n\n    /**\n     * @dev Converts a `uint256` to its ASCII `string` decimal representation.\n     */\n    function toString(uint256 value) internal pure returns (string memory) {\n        unchecked {\n            uint256 length = Math.log10(value) + 1;\n            string memory buffer = new string(length);\n            uint256 ptr;\n            assembly (\"memory-safe\") {\n                ptr := add(add(buffer, 0x20), length)\n            }\n            while (true) {\n                ptr--;\n                assembly (\"memory-safe\") {\n                    mstore8(ptr, byte(mod(value, 10), HEX_DIGITS))\n                }\n                value /= 10;\n                if (value == 0) break;\n            }\n            return buffer;\n        }\n    }\n\n    /**\n     * @dev Converts a `int256` to its ASCII `string` decimal representation.\n     */\n    function toStringSigned(int256 value) internal pure returns (string memory) {\n        return string.concat(value < 0 ? \"-\" : \"\", toString(SignedMath.abs(value)));\n    }\n\n    /**\n     * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation.\n     */\n    function toHexString(uint256 value) internal pure returns (string memory) {\n        unchecked {\n            return toHexString(value, Math.log256(value) + 1);\n        }\n    }\n\n    /**\n     * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length.\n     */\n    function toHexString(uint256 value, uint256 length) internal pure returns (string memory) {\n        uint256 localValue = value;\n        bytes memory buffer = new bytes(2 * length + 2);\n        buffer[0] = \"0\";\n        buffer[1] = \"x\";\n        for (uint256 i = 2 * length + 1; i > 1; --i) {\n            buffer[i] = HEX_DIGITS[localValue & 0xf];\n            localValue >>= 4;\n        }\n        if (localValue != 0) {\n            revert StringsInsufficientHexLength(value, length);\n        }\n        return string(buffer);\n    }\n\n    /**\n     * @dev Converts an `address` with fixed length of 20 bytes to its not checksummed ASCII `string` hexadecimal\n     * representation.\n     */\n    function toHexString(address addr) internal pure returns (string memory) {\n        return toHexString(uint256(uint160(addr)), ADDRESS_LENGTH);\n    }\n\n    /**\n     * @dev Converts an `address` with fixed length of 20 bytes to its checksummed ASCII `string` hexadecimal\n     * representation, according to EIP-55.\n     */\n    function toChecksumHexString(address addr) internal pure returns (string memory) {\n        bytes memory buffer = bytes(toHexString(addr));\n\n        // hash the hex part of buffer (skip length + 2 bytes, length 40)\n        uint256 hashValue;\n        assembly (\"memory-safe\") {\n            hashValue := shr(96, keccak256(add(buffer, 0x22), 40))\n        }\n\n        for (uint256 i = 41; i > 1; --i) {\n            // possible values for buffer[i] are 48 (0) to 57 (9) and 97 (a) to 102 (f)\n            if (hashValue & 0xf > 7 && uint8(buffer[i]) > 96) {\n                // case shift by xoring with 0x20\n                buffer[i] ^= 0x20;\n            }\n            hashValue >>= 4;\n        }\n        return string(buffer);\n    }\n\n    /**\n     * @dev Converts a `bytes` buffer to its ASCII `string` hexadecimal representation.\n     */\n    function toHexString(bytes memory input) internal pure returns (string memory) {\n        unchecked {\n            bytes memory buffer = new bytes(2 * input.length + 2);\n            buffer[0] = \"0\";\n            buffer[1] = \"x\";\n            for (uint256 i = 0; i < input.length; ++i) {\n                uint8 v = uint8(input[i]);\n                buffer[2 * i + 2] = HEX_DIGITS[v >> 4];\n                buffer[2 * i + 3] = HEX_DIGITS[v & 0xf];\n            }\n            return string(buffer);\n        }\n    }\n\n    /**\n     * @dev Returns true if the two strings are equal.\n     */\n    function equal(string memory a, string memory b) internal pure returns (bool) {\n        return Bytes.equal(bytes(a), bytes(b));\n    }\n\n    /**\n     * @dev Parse a decimal string and returns the value as a `uint256`.\n     *\n     * Requirements:\n     * - The string must be formatted as `[0-9]*`\n     * - The result must fit into an `uint256` type\n     */\n    function parseUint(string memory input) internal pure returns (uint256) {\n        return parseUint(input, 0, bytes(input).length);\n    }\n\n    /**\n     * @dev Variant of {parseUint-string} that parses a substring of `input` located between position `begin` (included) and\n     * `end` (excluded).\n     *\n     * Requirements:\n     * - The substring must be formatted as `[0-9]*`\n     * - The result must fit into an `uint256` type\n     */\n    function parseUint(string memory input, uint256 begin, uint256 end) internal pure returns (uint256) {\n        (bool success, uint256 value) = tryParseUint(input, begin, end);\n        if (!success) revert StringsInvalidChar();\n        return value;\n    }\n\n    /**\n     * @dev Variant of {parseUint-string} that returns false if the parsing fails because of an invalid character.\n     *\n     * NOTE: This function will revert if the result does not fit in a `uint256`.\n     */\n    function tryParseUint(string memory input) internal pure returns (bool success, uint256 value) {\n        return _tryParseUintUncheckedBounds(input, 0, bytes(input).length);\n    }\n\n    /**\n     * @dev Variant of {parseUint-string-uint256-uint256} that returns false if the parsing fails because of an invalid\n     * character.\n     *\n     * NOTE: This function will revert if the result does not fit in a `uint256`.\n     */\n    function tryParseUint(\n        string memory input,\n        uint256 begin,\n        uint256 end\n    ) internal pure returns (bool success, uint256 value) {\n        if (end > bytes(input).length || begin > end) return (false, 0);\n        return _tryParseUintUncheckedBounds(input, begin, end);\n    }\n\n    /**\n     * @dev Implementation of {tryParseUint-string-uint256-uint256} that does not check bounds. Caller should make sure that\n     * `begin <= end <= input.length`. Other inputs would result in undefined behavior.\n     */\n    function _tryParseUintUncheckedBounds(\n        string memory input,\n        uint256 begin,\n        uint256 end\n    ) private pure returns (bool success, uint256 value) {\n        bytes memory buffer = bytes(input);\n\n        uint256 result = 0;\n        for (uint256 i = begin; i < end; ++i) {\n            uint8 chr = _tryParseChr(bytes1(_unsafeReadBytesOffset(buffer, i)));\n            if (chr > 9) return (false, 0);\n            result *= 10;\n            result += chr;\n        }\n        return (true, result);\n    }\n\n    /**\n     * @dev Parse a decimal string and returns the value as a `int256`.\n     *\n     * Requirements:\n     * - The string must be formatted as `[-+]?[0-9]*`\n     * - The result must fit in an `int256` type.\n     */\n    function parseInt(string memory input) internal pure returns (int256) {\n        return parseInt(input, 0, bytes(input).length);\n    }\n\n    /**\n     * @dev Variant of {parseInt-string} that parses a substring of `input` located between position `begin` (included) and\n     * `end` (excluded).\n     *\n     * Requirements:\n     * - The substring must be formatted as `[-+]?[0-9]*`\n     * - The result must fit in an `int256` type.\n     */\n    function parseInt(string memory input, uint256 begin, uint256 end) internal pure returns (int256) {\n        (bool success, int256 value) = tryParseInt(input, begin, end);\n        if (!success) revert StringsInvalidChar();\n        return value;\n    }\n\n    /**\n     * @dev Variant of {parseInt-string} that returns false if the parsing fails because of an invalid character or if\n     * the result does not fit in a `int256`.\n     *\n     * NOTE: This function will revert if the absolute value of the result does not fit in a `uint256`.\n     */\n    function tryParseInt(string memory input) internal pure returns (bool success, int256 value) {\n        return _tryParseIntUncheckedBounds(input, 0, bytes(input).length);\n    }\n\n    uint256 private constant ABS_MIN_INT256 = 2 ** 255;\n\n    /**\n     * @dev Variant of {parseInt-string-uint256-uint256} that returns false if the parsing fails because of an invalid\n     * character or if the result does not fit in a `int256`.\n     *\n     * NOTE: This function will revert if the absolute value of the result does not fit in a `uint256`.\n     */\n    function tryParseInt(\n        string memory input,\n        uint256 begin,\n        uint256 end\n    ) internal pure returns (bool success, int256 value) {\n        if (end > bytes(input).length || begin > end) return (false, 0);\n        return _tryParseIntUncheckedBounds(input, begin, end);\n    }\n\n    /**\n     * @dev Implementation of {tryParseInt-string-uint256-uint256} that does not check bounds. Caller should make sure that\n     * `begin <= end <= input.length`. Other inputs would result in undefined behavior.\n     */\n    function _tryParseIntUncheckedBounds(\n        string memory input,\n        uint256 begin,\n        uint256 end\n    ) private pure returns (bool success, int256 value) {\n        bytes memory buffer = bytes(input);\n\n        // Check presence of a negative sign.\n        bytes1 sign = begin == end ? bytes1(0) : bytes1(_unsafeReadBytesOffset(buffer, begin)); // don't do out-of-bound (possibly unsafe) read if sub-string is empty\n        bool positiveSign = sign == bytes1(\"+\");\n        bool negativeSign = sign == bytes1(\"-\");\n        uint256 offset = (positiveSign || negativeSign).toUint();\n\n        (bool absSuccess, uint256 absValue) = tryParseUint(input, begin + offset, end);\n\n        if (absSuccess && absValue < ABS_MIN_INT256) {\n            return (true, negativeSign ? -int256(absValue) : int256(absValue));\n        } else if (absSuccess && negativeSign && absValue == ABS_MIN_INT256) {\n            return (true, type(int256).min);\n        } else return (false, 0);\n    }\n\n    /**\n     * @dev Parse a hexadecimal string (with or without \"0x\" prefix), and returns the value as a `uint256`.\n     *\n     * Requirements:\n     * - The string must be formatted as `(0x)?[0-9a-fA-F]*`\n     * - The result must fit in an `uint256` type.\n     */\n    function parseHexUint(string memory input) internal pure returns (uint256) {\n        return parseHexUint(input, 0, bytes(input).length);\n    }\n\n    /**\n     * @dev Variant of {parseHexUint-string} that parses a substring of `input` located between position `begin` (included) and\n     * `end` (excluded).\n     *\n     * Requirements:\n     * - The substring must be formatted as `(0x)?[0-9a-fA-F]*`\n     * - The result must fit in an `uint256` type.\n     */\n    function parseHexUint(string memory input, uint256 begin, uint256 end) internal pure returns (uint256) {\n        (bool success, uint256 value) = tryParseHexUint(input, begin, end);\n        if (!success) revert StringsInvalidChar();\n        return value;\n    }\n\n    /**\n     * @dev Variant of {parseHexUint-string} that returns false if the parsing fails because of an invalid character.\n     *\n     * NOTE: This function will revert if the result does not fit in a `uint256`.\n     */\n    function tryParseHexUint(string memory input) internal pure returns (bool success, uint256 value) {\n        return _tryParseHexUintUncheckedBounds(input, 0, bytes(input).length);\n    }\n\n    /**\n     * @dev Variant of {parseHexUint-string-uint256-uint256} that returns false if the parsing fails because of an\n     * invalid character.\n     *\n     * NOTE: This function will revert if the result does not fit in a `uint256`.\n     */\n    function tryParseHexUint(\n        string memory input,\n        uint256 begin,\n        uint256 end\n    ) internal pure returns (bool success, uint256 value) {\n        if (end > bytes(input).length || begin > end) return (false, 0);\n        return _tryParseHexUintUncheckedBounds(input, begin, end);\n    }\n\n    /**\n     * @dev Implementation of {tryParseHexUint-string-uint256-uint256} that does not check bounds. Caller should make sure that\n     * `begin <= end <= input.length`. Other inputs would result in undefined behavior.\n     */\n    function _tryParseHexUintUncheckedBounds(\n        string memory input,\n        uint256 begin,\n        uint256 end\n    ) private pure returns (bool success, uint256 value) {\n        bytes memory buffer = bytes(input);\n\n        // skip 0x prefix if present\n        bool hasPrefix = (end > begin + 1) && bytes2(_unsafeReadBytesOffset(buffer, begin)) == bytes2(\"0x\"); // don't do out-of-bound (possibly unsafe) read if sub-string is empty\n        uint256 offset = hasPrefix.toUint() * 2;\n\n        uint256 result = 0;\n        for (uint256 i = begin + offset; i < end; ++i) {\n            uint8 chr = _tryParseChr(bytes1(_unsafeReadBytesOffset(buffer, i)));\n            if (chr > 15) return (false, 0);\n            result *= 16;\n            unchecked {\n                // Multiplying by 16 is equivalent to a shift of 4 bits (with additional overflow check).\n                // This guarantees that adding a value < 16 will not cause an overflow, hence the unchecked.\n                result += chr;\n            }\n        }\n        return (true, result);\n    }\n\n    /**\n     * @dev Parse a hexadecimal string (with or without \"0x\" prefix), and returns the value as an `address`.\n     *\n     * Requirements:\n     * - The string must be formatted as `(0x)?[0-9a-fA-F]{40}`\n     */\n    function parseAddress(string memory input) internal pure returns (address) {\n        return parseAddress(input, 0, bytes(input).length);\n    }\n\n    /**\n     * @dev Variant of {parseAddress-string} that parses a substring of `input` located between position `begin` (included) and\n     * `end` (excluded).\n     *\n     * Requirements:\n     * - The substring must be formatted as `(0x)?[0-9a-fA-F]{40}`\n     */\n    function parseAddress(string memory input, uint256 begin, uint256 end) internal pure returns (address) {\n        (bool success, address value) = tryParseAddress(input, begin, end);\n        if (!success) revert StringsInvalidAddressFormat();\n        return value;\n    }\n\n    /**\n     * @dev Variant of {parseAddress-string} that returns false if the parsing fails because the input is not a properly\n     * formatted address. See {parseAddress-string} requirements.\n     */\n    function tryParseAddress(string memory input) internal pure returns (bool success, address value) {\n        return tryParseAddress(input, 0, bytes(input).length);\n    }\n\n    /**\n     * @dev Variant of {parseAddress-string-uint256-uint256} that returns false if the parsing fails because input is not a properly\n     * formatted address. See {parseAddress-string-uint256-uint256} requirements.\n     */\n    function tryParseAddress(\n        string memory input,\n        uint256 begin,\n        uint256 end\n    ) internal pure returns (bool success, address value) {\n        if (end > bytes(input).length || begin > end) return (false, address(0));\n\n        bool hasPrefix = (end > begin + 1) && bytes2(_unsafeReadBytesOffset(bytes(input), begin)) == bytes2(\"0x\"); // don't do out-of-bound (possibly unsafe) read if sub-string is empty\n        uint256 expectedLength = 40 + hasPrefix.toUint() * 2;\n\n        // check that input is the correct length\n        if (end - begin == expectedLength) {\n            // length guarantees that this does not overflow, and value is at most type(uint160).max\n            (bool s, uint256 v) = _tryParseHexUintUncheckedBounds(input, begin, end);\n            return (s, address(uint160(v)));\n        } else {\n            return (false, address(0));\n        }\n    }\n\n    function _tryParseChr(bytes1 chr) private pure returns (uint8) {\n        uint8 value = uint8(chr);\n\n        // Try to parse `chr`:\n        // - Case 1: [0-9]\n        // - Case 2: [a-f]\n        // - Case 3: [A-F]\n        // - otherwise not supported\n        unchecked {\n            if (value > 47 && value < 58) value -= 48;\n            else if (value > 96 && value < 103) value -= 87;\n            else if (value > 64 && value < 71) value -= 55;\n            else return type(uint8).max;\n        }\n\n        return value;\n    }\n\n    /**\n     * @dev Escape special characters in JSON strings. This can be useful to prevent JSON injection in NFT metadata.\n     *\n     * WARNING: This function should only be used in double quoted JSON strings. Single quotes are not escaped.\n     *\n     * NOTE: This function escapes all unicode characters, and not just the ones in ranges defined in section 2.5 of\n     * RFC-4627 (U+0000 to U+001F, U+0022 and U+005C). ECMAScript's `JSON.parse` does recover escaped unicode\n     * characters that are not in this range, but other tooling may provide different results.\n     */\n    function escapeJSON(string memory input) internal pure returns (string memory) {\n        bytes memory buffer = bytes(input);\n        bytes memory output = new bytes(2 * buffer.length); // worst case scenario\n        uint256 outputLength = 0;\n\n        for (uint256 i = 0; i < buffer.length; ++i) {\n            bytes1 char = bytes1(_unsafeReadBytesOffset(buffer, i));\n            if (((SPECIAL_CHARS_LOOKUP & (1 << uint8(char))) != 0)) {\n                output[outputLength++] = \"\\\\\";\n                if (char == 0x08) output[outputLength++] = \"b\";\n                else if (char == 0x09) output[outputLength++] = \"t\";\n                else if (char == 0x0a) output[outputLength++] = \"n\";\n                else if (char == 0x0c) output[outputLength++] = \"f\";\n                else if (char == 0x0d) output[outputLength++] = \"r\";\n                else if (char == 0x5c) output[outputLength++] = \"\\\\\";\n                else if (char == 0x22) {\n                    // solhint-disable-next-line quotes\n                    output[outputLength++] = '\"';\n                }\n            } else {\n                output[outputLength++] = char;\n            }\n        }\n        // write the actual length and deallocate unused memory\n        assembly (\"memory-safe\") {\n            mstore(output, outputLength)\n            mstore(0x40, add(output, shl(5, shr(5, add(outputLength, 63)))))\n        }\n\n        return string(output);\n    }\n\n    /**\n     * @dev Reads a bytes32 from a bytes array without bounds checking.\n     *\n     * NOTE: making this function internal would mean it could be used with memory unsafe offset, and marking the\n     * assembly block as such would prevent some optimizations.\n     */\n    function _unsafeReadBytesOffset(bytes memory buffer, uint256 offset) private pure returns (bytes32 value) {\n        // This is not memory safe in the general case, but all calls to this private function are within bounds.\n        assembly (\"memory-safe\") {\n            value := mload(add(add(buffer, 0x20), offset))\n        }\n    }\n}\n"},"@permit2/src/interfaces/IAllowanceTransfer.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity ^0.8.0;\n\nimport {IEIP712} from \"./IEIP712.sol\";\n\n/// @title AllowanceTransfer\n/// @notice Handles ERC20 token permissions through signature based allowance setting and ERC20 token transfers by checking allowed amounts\n/// @dev Requires user's token approval on the Permit2 contract\ninterface IAllowanceTransfer is IEIP712 {\n    /// @notice Thrown when an allowance on a token has expired.\n    /// @param deadline The timestamp at which the allowed amount is no longer valid\n    error AllowanceExpired(uint256 deadline);\n\n    /// @notice Thrown when an allowance on a token has been depleted.\n    /// @param amount The maximum amount allowed\n    error InsufficientAllowance(uint256 amount);\n\n    /// @notice Thrown when too many nonces are invalidated.\n    error ExcessiveInvalidation();\n\n    /// @notice Emits an event when the owner successfully invalidates an ordered nonce.\n    event NonceInvalidation(\n        address indexed owner, address indexed token, address indexed spender, uint48 newNonce, uint48 oldNonce\n    );\n\n    /// @notice Emits an event when the owner successfully sets permissions on a token for the spender.\n    event Approval(\n        address indexed owner, address indexed token, address indexed spender, uint160 amount, uint48 expiration\n    );\n\n    /// @notice Emits an event when the owner successfully sets permissions using a permit signature on a token for the spender.\n    event Permit(\n        address indexed owner,\n        address indexed token,\n        address indexed spender,\n        uint160 amount,\n        uint48 expiration,\n        uint48 nonce\n    );\n\n    /// @notice Emits an event when the owner sets the allowance back to 0 with the lockdown function.\n    event Lockdown(address indexed owner, address token, address spender);\n\n    /// @notice The permit data for a token\n    struct PermitDetails {\n        // ERC20 token address\n        address token;\n        // the maximum amount allowed to spend\n        uint160 amount;\n        // timestamp at which a spender's token allowances become invalid\n        uint48 expiration;\n        // an incrementing value indexed per owner,token,and spender for each signature\n        uint48 nonce;\n    }\n\n    /// @notice The permit message signed for a single token allowance\n    struct PermitSingle {\n        // the permit data for a single token alownce\n        PermitDetails details;\n        // address permissioned on the allowed tokens\n        address spender;\n        // deadline on the permit signature\n        uint256 sigDeadline;\n    }\n\n    /// @notice The permit message signed for multiple token allowances\n    struct PermitBatch {\n        // the permit data for multiple token allowances\n        PermitDetails[] details;\n        // address permissioned on the allowed tokens\n        address spender;\n        // deadline on the permit signature\n        uint256 sigDeadline;\n    }\n\n    /// @notice The saved permissions\n    /// @dev This info is saved per owner, per token, per spender and all signed over in the permit message\n    /// @dev Setting amount to type(uint160).max sets an unlimited approval\n    struct PackedAllowance {\n        // amount allowed\n        uint160 amount;\n        // permission expiry\n        uint48 expiration;\n        // an incrementing value indexed per owner,token,and spender for each signature\n        uint48 nonce;\n    }\n\n    /// @notice A token spender pair.\n    struct TokenSpenderPair {\n        // the token the spender is approved\n        address token;\n        // the spender address\n        address spender;\n    }\n\n    /// @notice Details for a token transfer.\n    struct AllowanceTransferDetails {\n        // the owner of the token\n        address from;\n        // the recipient of the token\n        address to;\n        // the amount of the token\n        uint160 amount;\n        // the token to be transferred\n        address token;\n    }\n\n    /// @notice A mapping from owner address to token address to spender address to PackedAllowance struct, which contains details and conditions of the approval.\n    /// @notice The mapping is indexed in the above order see: allowance[ownerAddress][tokenAddress][spenderAddress]\n    /// @dev The packed slot holds the allowed amount, expiration at which the allowed amount is no longer valid, and current nonce thats updated on any signature based approvals.\n    function allowance(address user, address token, address spender)\n        external\n        view\n        returns (uint160 amount, uint48 expiration, uint48 nonce);\n\n    /// @notice Approves the spender to use up to amount of the specified token up until the expiration\n    /// @param token The token to approve\n    /// @param spender The spender address to approve\n    /// @param amount The approved amount of the token\n    /// @param expiration The timestamp at which the approval is no longer valid\n    /// @dev The packed allowance also holds a nonce, which will stay unchanged in approve\n    /// @dev Setting amount to type(uint160).max sets an unlimited approval\n    function approve(address token, address spender, uint160 amount, uint48 expiration) external;\n\n    /// @notice Permit a spender to a given amount of the owners token via the owner's EIP-712 signature\n    /// @dev May fail if the owner's nonce was invalidated in-flight by invalidateNonce\n    /// @param owner The owner of the tokens being approved\n    /// @param permitSingle Data signed over by the owner specifying the terms of approval\n    /// @param signature The owner's signature over the permit data\n    function permit(address owner, PermitSingle memory permitSingle, bytes calldata signature) external;\n\n    /// @notice Permit a spender to the signed amounts of the owners tokens via the owner's EIP-712 signature\n    /// @dev May fail if the owner's nonce was invalidated in-flight by invalidateNonce\n    /// @param owner The owner of the tokens being approved\n    /// @param permitBatch Data signed over by the owner specifying the terms of approval\n    /// @param signature The owner's signature over the permit data\n    function permit(address owner, PermitBatch memory permitBatch, bytes calldata signature) external;\n\n    /// @notice Transfer approved tokens from one address to another\n    /// @param from The address to transfer from\n    /// @param to The address of the recipient\n    /// @param amount The amount of the token to transfer\n    /// @param token The token address to transfer\n    /// @dev Requires the from address to have approved at least the desired amount\n    /// of tokens to msg.sender.\n    function transferFrom(address from, address to, uint160 amount, address token) external;\n\n    /// @notice Transfer approved tokens in a batch\n    /// @param transferDetails Array of owners, recipients, amounts, and tokens for the transfers\n    /// @dev Requires the from addresses to have approved at least the desired amount\n    /// of tokens to msg.sender.\n    function transferFrom(AllowanceTransferDetails[] calldata transferDetails) external;\n\n    /// @notice Enables performing a \"lockdown\" of the sender's Permit2 identity\n    /// by batch revoking approvals\n    /// @param approvals Array of approvals to revoke.\n    function lockdown(TokenSpenderPair[] calldata approvals) external;\n\n    /// @notice Invalidate nonces for a given (token, spender) pair\n    /// @param token The token to invalidate nonces for\n    /// @param spender The spender to invalidate nonces for\n    /// @param newNonce The new nonce to set. Invalidates all nonces less than it.\n    /// @dev Can't invalidate more than 2**16 nonces per transaction.\n    function invalidateNonces(address token, address spender, uint48 newNonce) external;\n}\n"},"@permit2/src/interfaces/IEIP712.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity ^0.8.0;\n\ninterface IEIP712 {\n    function DOMAIN_SEPARATOR() external view returns (bytes32);\n}\n"},"lib/bytes/LibPrefixLengthEncodedByteArray.sol":{"content":"// SPDX-License-Identifier: BUSL-1.1\npragma solidity ^0.8.26;\n\n/**\n * @title Propellerheads PrefixLengthEncoded Byte Array Library\n * @author PropellerHeads Developers\n * @dev Provide a gas efficient encoding for bytes array.\n *\n * Array of bytes are encoded as a single bytes like this :\n *       16 bits      ??bits       16bits        ??bits ...\n *   [length(elem1)]  [elem1]  [length(elem2)]  [elem2] ...\n *\n * This is much more efficient and compact than default solidity encoding.\n */\nlibrary LibPrefixLengthEncodedByteArray {\n    /**\n     * @dev Pop the first element of an array and returns it with the remaining data.\n     */\n    function next(\n        bytes calldata encoded\n    ) internal pure returns (bytes calldata elem, bytes calldata res) {\n        assembly {\n            switch iszero(encoded.length)\n            case 1 {\n                elem.offset := 0\n                elem.length := 0\n                res.offset := 0\n                res.length := 0\n            }\n            default {\n                let l := shr(240, calldataload(encoded.offset))\n                elem.offset := add(encoded.offset, 2)\n                elem.length := l\n                res.offset := add(elem.offset, l)\n                res.length := sub(sub(encoded.length, l), 2)\n            }\n        }\n    }\n\n    /**\n     * @dev Gets the size of the encoded array.\n     */\n    function size(bytes calldata encoded) internal pure returns (uint256 s) {\n        assembly {\n            let offset := encoded.offset\n            let end := add(encoded.offset, encoded.length)\n            for {\n\n            } lt(offset, end) {\n\n            } {\n                offset := add(offset, add(shr(240, calldataload(offset)), 2))\n                s := add(s, 1)\n            }\n        }\n    }\n\n    /**\n     * @dev Cast an encoded array into a Solidity array.\n     */\n    function toArray(\n        bytes calldata encoded\n    ) internal pure returns (bytes[] memory arr) {\n        bytes calldata elem;\n        uint256 idx = 0;\n        arr = new bytes[](LibPrefixLengthEncodedByteArray.size(encoded));\n        while (encoded.length > 0) {\n            (elem, encoded) = LibPrefixLengthEncodedByteArray.next(encoded);\n            arr[idx] = elem;\n            idx++;\n        }\n    }\n}\n"},"lib/FeeStructs.sol":{"content":"// SPDX-License-Identifier: BUSL-1.1\npragma solidity ^0.8.26;\n\n/**\n * @title FeeStructs\n * @notice Shared fee-related data structures used across the protocol\n */\n\nstruct FeeRecipient {\n    address recipient;\n    uint256 feeAmount;\n}\n\nstruct FeeInput {\n    uint256 actualAmountOut;\n    uint256 expectedAmountOut;\n    uint256 amountIn;\n    address tokenIn;\n    address tokenOut;\n    uint32 clientFeeBps;\n    address client;\n}\n"},"lib/LibSwap.sol":{"content":"// SPDX-License-Identifier: BUSL-1.1\npragma solidity ^0.8.26;\n\nlibrary LibSwap {\n    /**\n     * @dev Returns arguments required to perform a single swap\n     */\n    function decodeSingleSwap(bytes calldata swap)\n        internal\n        pure\n        returns (address executor, bytes calldata protocolData)\n    {\n        executor = address(uint160(bytes20(swap[0:20])));\n        protocolData = swap[20:];\n    }\n\n    /**\n     * @dev Returns arguments required to perform a sequential swap\n     */\n    function decodeSequentialSwap(bytes calldata swap)\n        internal\n        pure\n        returns (address executor, bytes calldata protocolData)\n    {\n        executor = address(uint160(bytes20(swap[0:20])));\n        protocolData = swap[20:];\n    }\n\n    /**\n     * @dev Returns arguments required to perform a split swap\n     */\n    function decodeSplitSwap(bytes calldata swap)\n        internal\n        pure\n        returns (uint8 tokenInIndex, uint8 tokenOutIndex, uint24 split, address executor, bytes calldata protocolData)\n    {\n        tokenInIndex = uint8(swap[0]);\n        tokenOutIndex = uint8(swap[1]);\n        split = uint24(bytes3(swap[2:5]));\n        executor = address(uint160(bytes20(swap[5:25])));\n        protocolData = swap[25:];\n    }\n}\n"},"lib/NativeETH.sol":{"content":"// SPDX-License-Identifier: BUSL-1.1\npragma solidity ^0.8.26;\n\naddress constant ETH_ADDRESS = 0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE;\n"},"src/Dispatcher.sol":{"content":"// SPDX-License-Identifier: BUSL-1.1\npragma solidity ^0.8.26;\n\nimport {IExecutor} from \"@interfaces/IExecutor.sol\";\nimport {ICallback} from \"@interfaces/ICallback.sol\";\nimport {TransferManager} from \"./TransferManager.sol\";\nimport {IERC20} from \"@openzeppelin/contracts/token/ERC20/IERC20.sol\";\nimport {\n    SafeERC20\n} from \"@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol\";\nerror Dispatcher__UnapprovedExecutor(address executor);\nerror Dispatcher__ExecutorIsTimelocked(address executor);\nerror Dispatcher__NonContractExecutor();\nerror Dispatcher__InvalidDataLength();\nerror Dispatcher__AddressZero();\nerror Dispatcher__UnsupportedSingleHopCycle(address token);\nerror Dispatcher__ExecutorAlreadyExists(address executor);\nerror Dispatcher__SwapReverted(address executor);\nerror Dispatcher__CallbackReverted(address executor);\n\n/**\n * @title Dispatcher - Dispatch execution to external contracts\n * @dev Provides the ability to delegate execution of swaps to external\n *  contracts. This allows dynamically adding new supported protocols\n *  without needing to upgrade any contracts. External contracts will\n *  be called using delegatecall so they can share state with the main\n *  contract if needed.\n *\n *  Note: Executor contracts need to implement the IExecutor interface unless\n *  an alternate selector is specified.\n */\ncontract Dispatcher is TransferManager {\n    using SafeERC20 for IERC20;\n\n    mapping(address => uint256) public executorsActivationTimestamp;\n\n    // keccak256(\"Dispatcher#CURRENTLY_SWAPPING_EXECUTOR_SLOT\")\n    uint256 private constant _CURRENTLY_SWAPPING_EXECUTOR_SLOT =\n        0x098a7a3b47801589e8cdf9ec791b93ad44273246946c32ef1fc4dbe45390c80e;\n    // keccak256(\"Dispatcher#IS_SPLIT_SWAP_SLOT\")\n    uint256 private constant _IS_SPLIT_SWAP_SLOT =\n        0x7b3c4e5f6a8d9e0f1c2b3a4d5e6f7c8d9e0f1c2b3a4d5e6f7c8d9e0f1c2b3a4d;\n    // keccak256(\"Dispatcher#IS_FIRST_SWAP_SLOT\")\n    uint256 private constant _IS_FIRST_SWAP_SLOT =\n        0x8c47a7e3f4c2e1b5a6d9f0e8c7b3a2d1e4f5c6b7a8d9e0f1c2b3a4d5e6f7c8d9;\n    // keccak256(\"Dispatcher#SWAP_INPUT_AMOUNT_SLOT\")\n    uint256 private constant _SWAP_INPUT_AMOUNT_SLOT =\n        0xce9e2e8e50d57f2d688020ea7ab16e2039bcf4dc7175eba827e178586597bb39;\n    // keccak256(\"Dispatcher#SWAP_INPUT_TOKEN_SLOT\")\n    uint256 private constant _SWAP_INPUT_TOKEN_SLOT =\n        0x0c22c14aba48b0e26e3b58475c66f358c352532122e537c32e8184c0159e6e10;\n\n    uint256 public constant DELAY_EXECUTOR_ACTIVATION = 1 days;\n\n    event ExecutorSet(address indexed executor, uint256 timelockExpiresAt);\n    event ExecutorRemoved(address indexed executor);\n\n    constructor(address permit2_) TransferManager(permit2_) {}\n\n    /**\n     * @dev Adds an approved executor contract address if it is a contract.\n     * @param target address of the executor contract\n     */\n    function _setExecutor(address target) internal {\n        if (target.code.length == 0) {\n            revert Dispatcher__NonContractExecutor();\n        }\n\n        // slither-disable-next-line timestamp\n        if (executorsActivationTimestamp[target] != 0) {\n            revert Dispatcher__ExecutorAlreadyExists(target);\n        }\n\n        uint256 timelockExpiresAt = block.timestamp + DELAY_EXECUTOR_ACTIVATION;\n        executorsActivationTimestamp[target] = timelockExpiresAt;\n        emit ExecutorSet(target, timelockExpiresAt);\n    }\n\n    /**\n     * @dev Removes an approved executor contract address\n     * @param target address of the executor contract\n     */\n    function _removeExecutor(address target) internal {\n        delete executorsActivationTimestamp[target];\n        emit ExecutorRemoved(target);\n    }\n\n    /**\n     * @dev Calls an executor, assumes swap.protocolData contains\n     *  protocol-specific data required by the executor.\n     */\n    // slither-disable-next-line delegatecall-loop,assembly,controlled-delegatecall,cyclomatic-complexity\n    function _callSwapOnExecutor(\n        address executor,\n        uint256 amount,\n        bytes calldata data,\n        bool isFirstSwap,\n        bool isSplitSwap,\n        address receiver\n    ) internal returns (uint256 amountOut) {\n        _validateExecutor(executor);\n\n        assembly {\n            tstore(_CURRENTLY_SWAPPING_EXECUTOR_SLOT, executor)\n            tstore(_IS_FIRST_SWAP_SLOT, isFirstSwap)\n            tstore(_IS_SPLIT_SWAP_SLOT, isSplitSwap)\n            tstore(_SWAP_INPUT_AMOUNT_SLOT, amount)\n        }\n\n        // slither-disable-next-line calls-loop\n        (\n            TransferManager.TransferType transferType,\n            address transferReceiver,\n            address tokenIn,\n            address tokenOut,\n            bool outputToRouter\n        ) = IExecutor(executor).getTransferData(data);\n\n        if (tokenIn == tokenOut) {\n            // Single-hop cycles (such as those made possible via UniswapV4 flash\n            // accounting) are not supported.\n            revert Dispatcher__UnsupportedSingleHopCycle(tokenIn);\n        }\n\n        // Store tokenIn so it can be passed to getCallbackTransferData if a\n        // callback occurs during the swap.\n        assembly {\n            tstore(_SWAP_INPUT_TOKEN_SLOT, tokenIn)\n        }\n\n        // Measure output before _transfer so cyclic handling is uniform\n        // across callback and direct-transfer types.\n        address measureAt = outputToRouter ? address(this) : receiver;\n        uint256 balanceBeforeSwap = _balanceOf(tokenOut, measureAt);\n\n        amount = _transfer(\n            transferReceiver,\n            transferType,\n            tokenIn,\n            amount,\n            isFirstSwap,\n            isSplitSwap,\n            false\n        );\n\n        // slither-disable-next-line controlled-delegatecall,low-level-calls,calls-loop,reentrancy-balance\n        (bool success, bytes memory result) = executor.delegatecall(\n            abi.encodeWithSelector(\n                IExecutor.swap.selector, amount, data, receiver\n            )\n        );\n\n        // Clear transient storage in case no callback was performed\n        assembly {\n            tstore(_CURRENTLY_SWAPPING_EXECUTOR_SLOT, 0)\n            tstore(_IS_FIRST_SWAP_SLOT, 0)\n            tstore(_IS_SPLIT_SWAP_SLOT, 0)\n            tstore(_SWAP_INPUT_AMOUNT_SLOT, 0)\n            tstore(_SWAP_INPUT_TOKEN_SLOT, 0)\n        }\n\n        // Revoke any lingering allowance the protocol didn't consume.\n        if (transferType == TransferType.ProtocolWillDebit) {\n            _revokeUnconsumedApproval(tokenIn, transferReceiver);\n        }\n\n        if (!success) {\n            // slither-disable-next-line incorrect-equality\n            if (result.length == 0) {\n                revert Dispatcher__SwapReverted(executor);\n            }\n            // Bubble the executor's revert payload byte-for-byte so callers\n            // see the original Error(string)/Panic/custom-error\n            assembly {\n                revert(add(result, 0x20), mload(result))\n            }\n        }\n\n        uint256 balanceAfterSwap = _balanceOf(tokenOut, measureAt);\n        amountOut = balanceAfterSwap - balanceBeforeSwap;\n\n        // Forward if output landed at router but needs to go elsewhere\n        if (outputToRouter && receiver != address(this)) {\n            amountOut = _transferOut(tokenOut, receiver, amountOut);\n        }\n\n        // Delta accounting if tokens stay at router\n        if (receiver == address(this)) {\n            // slither-disable-next-line calls-loop\n            _updateDeltaAccounting(tokenOut, int256(amountOut));\n        }\n    }\n\n    // slither-disable-next-line assembly\n    function _callHandleCallbackOnExecutor(bytes calldata data, address caller)\n        internal\n        returns (bytes memory)\n    {\n        address executor;\n        bool isFirstSwap;\n        bool isSplitSwap;\n        uint256 amount;\n        address tokenIn;\n        assembly {\n            executor := tload(_CURRENTLY_SWAPPING_EXECUTOR_SLOT)\n            isFirstSwap := tload(_IS_FIRST_SWAP_SLOT)\n            isSplitSwap := tload(_IS_SPLIT_SWAP_SLOT)\n            amount := tload(_SWAP_INPUT_AMOUNT_SLOT)\n            tokenIn := tload(_SWAP_INPUT_TOKEN_SLOT)\n        }\n\n        _validateExecutor(executor);\n\n        (TransferManager.TransferType transferType, address receiver) =\n            ICallback(executor).getCallbackTransferData(data, tokenIn, caller);\n\n        _transfer(\n            receiver,\n            transferType,\n            tokenIn,\n            amount,\n            isFirstSwap,\n            isSplitSwap,\n            true\n        );\n\n        // slither-disable-next-line controlled-delegatecall,low-level-calls\n        (bool success, bytes memory result) = executor.delegatecall(\n            abi.encodeWithSelector(ICallback.handleCallback.selector, data)\n        );\n\n        if (!success) {\n            // slither-disable-next-line incorrect-equality\n            if (result.length == 0) {\n                revert Dispatcher__CallbackReverted(executor);\n            }\n            // Bubble the executor's revert payload byte-for-byte so callers\n            // see the original Error(string)/Panic/custom-error\n            assembly {\n                revert(add(result, 0x20), mload(result))\n            }\n        }\n\n        // Revoke any lingering allowance the protocol didn't consume.\n        if (transferType == TransferType.ProtocolWillDebit) {\n            _revokeUnconsumedApproval(tokenIn, receiver);\n        }\n\n        // to prevent multiple callbacks\n        assembly {\n            tstore(_CURRENTLY_SWAPPING_EXECUTOR_SLOT, 0)\n            tstore(_IS_FIRST_SWAP_SLOT, 0)\n            tstore(_IS_SPLIT_SWAP_SLOT, 0)\n        }\n\n        // The final callback result should not be ABI encoded. That is why we are decoding here.\n        // ABI encoding is very gas expensive and we want to avoid it if possible.\n        // The result from `handleCallback` is always ABI encoded.\n        bytes memory decodedResult = abi.decode(result, (bytes));\n        return decodedResult;\n    }\n\n    function _callFundsExpectedAddress(address executor, bytes calldata data)\n        internal\n        view\n        returns (address receiver)\n    {\n        _validateExecutor(executor);\n\n        // slither-disable-next-line calls-loop\n        receiver = IExecutor(executor).fundsExpectedAddress(data);\n    }\n\n    function _validateExecutor(address executor) private view {\n        uint256 activationTimestamp = executorsActivationTimestamp[executor];\n\n        // slither-disable-next-line incorrect-equality\n        if (activationTimestamp == 0) {\n            revert Dispatcher__UnapprovedExecutor(executor);\n        }\n        // slither-disable-next-line timestamp\n        if (block.timestamp < activationTimestamp) {\n            revert Dispatcher__ExecutorIsTimelocked(executor);\n        }\n    }\n}\n"},"src/TransferManager.sol":{"content":"// SPDX-License-Identifier: BUSL-1.1\npragma solidity ^0.8.26;\n\nimport {\n    SafeERC20,\n    IERC20\n} from \"@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol\";\nimport {\n    IAllowanceTransfer\n} from \"@permit2/src/interfaces/IAllowanceTransfer.sol\";\nimport {Address} from \"@openzeppelin/contracts/utils/Address.sol\";\nimport {Vault} from \"./Vault.sol\";\nimport {ETH_ADDRESS} from \"../lib/NativeETH.sol\";\n\nerror TransferManager__AddressZero();\nerror TransferManager__NotAContract(address addr);\nerror TransferManager__ExceededTransferFromAllowance(\n    uint256 allowedAmount, uint256 amountAttempted\n);\nerror TransferManager__DifferentTokenIn(\n    address tokenIn, address tokenInStorage\n);\nerror TransferManager__UnknownTransferType();\n\n/**\n * @title TransferManager\n * @dev Orchestrates all token transfers during swap execution. Inherits from Vault\n * (ERC6909) and sits between TychoRouterV3 and Dispatcher in the inheritance chain.\n *\n * Responsibilities:\n * - Routes each transfer through one of 6 scenarios based on: TransferType returned\n *   by the executor, whether it is the first swap, whether it is a split swap,\n *   whether the call is inside a callback, and whether vault funds are in use.\n * - Caps `transferFrom` to the declared input amount (stored in transient storage at\n *   swap start). This prevents maliciously encoded split swaps from withdrawing more\n *   than the user authorised. Reverts if the cap is exceeded or a different token is\n *   attempted.\n * - Supports both standard ERC20 `transferFrom` and Permit2's `transferFrom`.\n * - Handles native ETH accounting for executors that forward ETH as `msg.value`\n *   directly to the protocol (e.g. Fluid, Rocketpool, Lido).\n * - When vault-funded, skips `transferFrom` entirely and relies on vault delta\n *   accounting (`_updateDeltaAccounting`) to settle balances at the end of the swap.\n *\n * Per-swap state is kept in transient storage (EIP-1153): token in, allowed amount,\n * Permit2 flag, original sender, and vault-in-use flag. These are written once at\n * swap entry (`_tstoreTransferFromInfo`) and consumed throughout the swap.\n */\ncontract TransferManager is Vault {\n    using SafeERC20 for IERC20;\n\n    IAllowanceTransfer public immutable permit2;\n    // keccak256(\"TransferManager#TOKEN_IN_SLOT\")\n    uint256 private constant _TOKEN_IN_SLOT =\n        0xaf58e9f1b0923d55d0ec6a57763d43cd9bb1d6bd8bad5ce9522fbe772c6ec42b;\n    // keccak256(\"TransferManager#AMOUNT_ALLOWED_SLOT\")\n    uint256 private constant _AMOUNT_ALLOWED_SLOT =\n        0x28d0e2684c9341fec58f816e0c375a4e51f9f34ec034a29c97467df00497c8d9;\n    // keccak256(\"TransferManager#IS_PERMIT2_SLOT\")\n    uint256 private constant _IS_PERMIT2_SLOT =\n        0xd847dc13274ab371f6244234290f56fa8650ec9dceff86e20efe1ddc141bdb03;\n    // keccak256(\"TransferManager#SENDER_SLOT\")\n    uint256 private constant _SENDER_SLOT =\n        0x99298391997747e556e81b2d36d99151315b6c1b92e826ca8d37acad5fddaf70;\n\n    constructor(address permit2_) {\n        if (permit2_.code.length == 0) {\n            revert TransferManager__NotAContract(permit2_);\n        }\n        permit2 = IAllowanceTransfer(permit2_);\n    }\n\n    enum TransferType {\n        Transfer,\n        TransferNativeInExecutor,\n        ProtocolWillDebit,\n        None\n    }\n\n    /**\n     * @dev This function is used to store the transfer information in the\n     * contract's storage. This is done as the first step in the swap process in TychoRouterV3.\n     */\n    // slither-disable-next-line assembly\n    function _tstoreTransferFromInfo(\n        address tokenIn,\n        uint256 amountIn,\n        bool isPermit2,\n        bool useVault\n    ) internal {\n        uint256 amountAllowed = useVault ? 0 : amountIn;\n        assembly {\n            tstore(_TOKEN_IN_SLOT, tokenIn)\n            tstore(_AMOUNT_ALLOWED_SLOT, amountAllowed)\n            tstore(_IS_PERMIT2_SLOT, isPermit2)\n            tstore(_SENDER_SLOT, caller())\n            tstore(_USE_VAULT_SLOT, useVault)\n        }\n    }\n\n    /**\n     * @dev Transfers tokens based on the transfer type and swap context.\n     * This function is called within the Dispatcher before calling executors or in callbacks.\n     *\n     * The function determines the appropriate transfer strategy based on:\n     * - transferType: The base transfer requirement from the executor\n     * - isFirstSwap: Whether this is the first swap or subsequent\n     * - isSplitSwap: Whether this is part of a split swap strategy\n     * - inCallback: Whether being called from within a callback (e.g., UniswapV3)\n     * - useVault: Whether using vault funds\n     *\n     * Handles 6 transfer scenarios (in order of execution):\n     * 1. None - no transfer needed\n     * 2. Native ETH sent via executor - perform accounting but do no transfers\n     * 3. TransferFrom user wallet to router, then approve protocol to debit\n     * 4. Protocol debits from router/vault (with approval if needed). No transferFrom needed\n     * 5. TransferFrom user wallet directly to protocol\n     * 6. Transfer from router balance to protocol (either from vault or previous swap funds)\n     */\n    function _transfer(\n        address receiver,\n        TransferType transferType,\n        address tokenIn,\n        uint256 amount,\n        bool isFirstSwap,\n        bool isSplitSwap,\n        bool inCallback\n    ) internal returns (uint256) {\n        // Scenario 1: No transfer needed. Likely called from outside the callback,\n        // when funds are only transferred in callback for this protocol (e.g.\n        // UniswapV3).\n        if (transferType == TransferType.None) {\n            return amount;\n        }\n\n        // Scenario 2: Native ETH sent via executor - accounting only\n        if (transferType == TransferType.TransferNativeInExecutor) {\n            // Protocols like Fluid or Lido require us to send the ETH as\n            // msg.value when calling the swap function from inside the executor.\n            _updateDeltaAccounting(tokenIn, -int256(amount));\n            return amount;\n        }\n\n        // Determine if we need to transfer from user wallet (first swap + not using vault)\n        bool useVault;\n        // slither-disable-next-line assembly\n        assembly {\n            useVault := tload(_USE_VAULT_SLOT)\n        }\n        bool needsTransferFromUser = isFirstSwap && !useVault;\n\n        // Scenario 3 & 4: Protocol will debit tokens from router\n        if (transferType == TransferType.ProtocolWillDebit) {\n            if (needsTransferFromUser) {\n                // Scenario 3: First swap with user funds - transfer to router, then approve\n                amount = _transferFromUser(tokenIn, address(this), amount);\n                _approveIfNeeded(tokenIn, receiver, amount);\n            } else {\n                // Scenario 4: Funds already in router (from vault or previous swap)\n                _updateDeltaAccounting(tokenIn, -int256(amount));\n                _approveIfNeeded(tokenIn, receiver, amount);\n            }\n            return amount;\n        }\n\n        if (transferType == TransferType.Transfer) {\n            // Scenario 1 optimization: Tokens already at pool from previous swap.\n            // This optimization assumes that the previous swap sent tokens\n            // directly to the current pool (e.g. UniswapV2: Pool1 -> Pool2 -> Pool3).\n            // We must NOT apply this optimization when in a callback context, because\n            // callback-constrained protocols (UniswapV3, BalancerV3, etc.) hold tokens in the\n            // router between swaps, and do not account for transfers before the callback.\n            bool canUseSequentialSwapOptimization =\n                !isFirstSwap && !isSplitSwap && !inCallback;\n            if (canUseSequentialSwapOptimization) {\n                return amount;\n            }\n\n            if (needsTransferFromUser) {\n                // Scenario 5: First swap with user funds - transfer directly to pool\n                amount = _transferFromUser(tokenIn, receiver, amount);\n            } else {\n                // Scenario 6: Transfer from router balance to pool\n                // This could mean the funds come from the user's vault (first swap with vault)\n                // or funds are in the router from the previous swap.\n                _updateDeltaAccounting(tokenIn, -int256(amount));\n                amount = _transferOut(tokenIn, receiver, amount);\n            }\n            return amount;\n        }\n\n        revert TransferManager__UnknownTransferType();\n    }\n\n    /**\n     * @dev Approves a receiver to spend tokens if receiver is not this contract.\n     * For special cases like Rocketpool, the contract burns the user's balance\n     * without physically transferring the input token, so an approval is not\n     * always needed.\n     */\n    function _approveIfNeeded(address token, address receiver, uint256 amount)\n        internal\n    {\n        if (receiver != address(this)) {\n            IERC20(token).forceApprove(receiver, amount);\n        }\n    }\n\n    /**\n     * @dev Revokes a token approval if the spender didn't fully consume it.\n     * In the normal case the protocol consumed the approval, so we skip the expensive\n     * forceApprove.\n     */\n    // slither-disable-next-line calls-loop\n    function _revokeUnconsumedApproval(address token, address spender)\n        internal\n    {\n        if (IERC20(token).allowance(address(this), spender) > 0) {\n            IERC20(token).forceApprove(spender, 0);\n        }\n    }\n\n    /**\n     * @dev Transfers tokens from user wallet using either Permit2 or regular transferFrom.\n     * Validates the transfer doesn't exceed allowed amount and updates allowance tracking.\n     * @return The actual amount received by the receiver, measured as the balance\n     * difference before and after the transfer. This may differ from `amount` for\n     * rebasing or fee-on-transfer tokens.\n     */\n    function _transferFromUser(address token, address receiver, uint256 amount)\n        internal\n        returns (uint256)\n    {\n        // Validate and track allowance to prevent badly encoded split swaps from\n        // taking more than the input amount out of the user's wallet\n        address tokenInStorage;\n        uint256 amountAllowed;\n        address sender;\n        bool isPermit2;\n\n        // slither-disable-next-line assembly\n        assembly {\n            tokenInStorage := tload(_TOKEN_IN_SLOT)\n            amountAllowed := tload(_AMOUNT_ALLOWED_SLOT)\n            sender := tload(_SENDER_SLOT)\n            isPermit2 := tload(_IS_PERMIT2_SLOT)\n        }\n\n        if (amount > amountAllowed) {\n            revert TransferManager__ExceededTransferFromAllowance(\n                amountAllowed, amount\n            );\n        }\n        if (token != tokenInStorage) {\n            revert TransferManager__DifferentTokenIn(token, tokenInStorage);\n        }\n\n        // Update remaining allowance\n        amountAllowed -= amount;\n        assembly {\n            tstore(_AMOUNT_ALLOWED_SLOT, amountAllowed)\n        }\n\n        uint256 balanceBefore = _balanceOf(token, receiver);\n        // Perform the actual transfer\n        if (isPermit2) {\n            // Permit2.permit is already called from the TychoRouterV3\n            // slither-disable-next-line calls-loop\n            permit2.transferFrom(sender, receiver, uint160(amount), token);\n        } else {\n            // slither-disable-next-line arbitrary-send-erc20\n            IERC20(token).safeTransferFrom(sender, receiver, amount);\n        }\n        uint256 balanceAfter = _balanceOf(token, receiver);\n        return balanceAfter - balanceBefore;\n    }\n\n    /**\n     * @dev Gets balance of a token for a given address. Supports both native ETH and ERC20 tokens.\n     */\n    function _balanceOf(address token, address owner)\n        internal\n        view\n        returns (uint256)\n    {\n        // slither-disable-next-line calls-loop\n        return\n            token == ETH_ADDRESS\n                ? owner.balance\n                : IERC20(token).balanceOf(owner);\n    }\n\n    /**\n     * @dev Transfers tokens from this contract to a recipient. Supports both\n     * native ETH (via `sendValue`) and ERC20 tokens (via `safeTransfer`).\n     * @return The actual amount received by `to`, measured as the balance\n     * difference before and after the transfer. This may differ from `amount`\n     * for rebasing or fee-on-transfer tokens.\n     */\n    function _transferOut(address token, address to, uint256 amount)\n        internal\n        returns (uint256)\n    {\n        uint256 balanceBefore = _balanceOf(token, to);\n        if (token == ETH_ADDRESS) {\n            Address.sendValue(payable(to), amount);\n        } else {\n            IERC20(token).safeTransfer(to, amount);\n        }\n        uint256 balanceAfter = _balanceOf(token, to);\n        return balanceAfter - balanceBefore;\n    }\n}\n"},"src/TychoRouterV3.sol":{"content":"// SPDX-License-Identifier: BUSL-1.1\npragma solidity ^0.8.26;\n\nimport {\n    LibPrefixLengthEncodedByteArray\n} from \"../lib/bytes/LibPrefixLengthEncodedByteArray.sol\";\n\nimport {AccessControl} from \"@openzeppelin/contracts/access/AccessControl.sol\";\nimport {IERC20} from \"@openzeppelin/contracts/token/ERC20/IERC20.sol\";\nimport {\n    SafeERC20\n} from \"@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol\";\nimport {\n    ReentrancyGuard\n} from \"@openzeppelin/contracts/utils/ReentrancyGuard.sol\";\nimport {Address} from \"@openzeppelin/contracts/utils/Address.sol\";\nimport {\n    IAllowanceTransfer\n} from \"@permit2/src/interfaces/IAllowanceTransfer.sol\";\nimport {ERC6909} from \"@openzeppelin/contracts/token/ERC6909/ERC6909.sol\";\nimport {EIP712} from \"@openzeppelin/contracts/utils/cryptography/EIP712.sol\";\nimport {ECDSA} from \"@openzeppelin/contracts/utils/cryptography/ECDSA.sol\";\nimport {\n    SignatureChecker\n} from \"@openzeppelin/contracts/utils/cryptography/SignatureChecker.sol\";\nimport {Dispatcher} from \"./Dispatcher.sol\";\nimport {LibSwap} from \"../lib/LibSwap.sol\";\nimport {TransferManager} from \"./TransferManager.sol\";\nimport {ETH_ADDRESS} from \"../lib/NativeETH.sol\";\nimport {FeeRecipient, FeeInput} from \"../lib/FeeStructs.sol\";\nimport {IFeeCalculator} from \"@interfaces/IFeeCalculator.sol\";\n\n//                                         ✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷\n//                                   ✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷\n//                             ✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷\n//                          ✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷\n//                       ✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷     ✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷\n//                     ✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷   ✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷     ✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷\n//                   ✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷       ✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷     ✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷\n//                 ✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷      ✷✷✷✷✷✷✷✷✷✷✷✷✷     ✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷\n//                ✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷      ✷✷✷✷✷✷✷✷✷✷     ✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷\n//              ✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷     ✷✷✷✷✷✷✷✷     ✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷    ✷✷✷✷✷✷✷✷✷✷✷✷✷\n//             ✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷      ✷✷✷✷✷     ✷✷✷✷✷✷✷✷✷✷✷✷✷       ✷✷✷✷✷✷✷✷✷✷✷✷✷✷\n//            ✷✷✷✷✷✷✷✷✷✷✷✷           ✷✷✷✷✷✷✷✷✷✷✷✷✷     ✷✷✷     ✷✷✷✷✷✷✷✷✷         ✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷\n//            ✷✷✷✷✷✷✷✷✷✷✷✷                   ✷✷✷✷✷✷           ✷✷✷✷✷✷         ✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷\n//            ✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷                                   ✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷\n//            ✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷                  ✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷\n//            ✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷                  ✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷\n//            ✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷                                   ✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷\n//            ✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷         ✷✷✷✷✷✷           ✷✷✷✷✷✷                   ✷✷✷✷✷✷✷✷✷✷✷✷\n//            ✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷         ✷✷✷✷✷✷✷✷✷     ✷✷✷     ✷✷✷✷✷✷✷✷✷✷✷✷✷           ✷✷✷✷✷✷✷✷✷✷✷✷\n//             ✷✷✷✷✷✷✷✷✷✷✷✷✷✷       ✷✷✷✷✷✷✷✷✷✷✷✷✷     ✷✷✷✷✷     ✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷\n//              ✷✷✷✷✷✷✷✷✷✷✷✷✷    ✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷     ✷✷✷✷✷✷✷✷     ✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷\n//                ✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷     ✷✷✷✷✷✷✷✷✷✷      ✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷\n//                 ✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷     ✷✷✷✷✷✷✷✷✷✷✷✷      ✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷\n//                   ✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷     ✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷      ✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷\n//                     ✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷     ✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷    ✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷\n//                       ✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷     ✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷\n//                          ✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷\n//                             ✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷\n//                                  ✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷\n//                                         ✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷\n//\n//\n//     ✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷   ✷✷✷✷✷✷       ✷✷✷✷✷✷       ✷✷✷✷✷✷✷         ✷✷✷✷✷✷      ✷✷✷✷✷✷         ✷✷✷✷✷✷✷\n//     ✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷    ✷✷✷✷✷✷    ✷✷✷✷✷✷✷    ✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷     ✷✷✷✷✷✷      ✷✷✷✷✷✷     ✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷\n//           ✷✷✷✷✷✷           ✷✷✷✷✷✷ ✷✷✷✷✷✷     ✷✷✷✷✷✷     ✷✷✷✷✷✷✷   ✷✷✷✷✷✷      ✷✷✷✷✷✷    ✷✷✷✷✷✷     ✷✷✷✷✷✷✷\n//           ✷✷✷✷✷✷            ✷✷✷✷✷✷✷✷✷✷      ✷✷✷✷✷✷✷               ✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷   ✷✷✷✷✷✷✷      ✷✷✷✷✷✷\n//           ✷✷✷✷✷✷              ✷✷✷✷✷✷✷        ✷✷✷✷✷✷      ✷✷✷✷✷✷   ✷✷✷✷✷✷      ✷✷✷✷✷✷    ✷✷✷✷✷✷      ✷✷✷✷✷✷\n//           ✷✷✷✷✷✷               ✷✷✷✷✷          ✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷    ✷✷✷✷✷✷      ✷✷✷✷✷✷     ✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷\n//           ✷✷✷✷✷✷               ✷✷✷✷✷              ✷✷✷✷✷✷✷✷        ✷✷✷✷✷✷      ✷✷✷✷✷✷         ✷✷✷✷✷✷✷✷\n\nerror TychoRouter__AddressZero();\nerror TychoRouter__NotAContract(address addr);\nerror TychoRouter__EmptySwaps();\nerror TychoRouter__MsgValueDoesNotMatchAmountIn(\n    uint256 msgValue, uint256 amountIn\n);\nerror TychoRouter__NegativeSlippage(uint256 amount, uint256 minAmount);\nerror TychoRouter__InvalidDataLength();\nerror TychoRouter__AmountOutZero();\nerror TychoRouter__InvalidMinAmountOut(\n    uint256 minAmountOut, uint256 expectedAmountOut\n);\nerror TychoRouter__InvalidClientSignature();\nerror TychoRouter__NegativeOutputDelta(int256 amount);\nerror TychoRouter__ExpiredClientSignature(\n    uint256 deadline, uint256 blockTimestamp\n);\nerror TychoRouter__ZeroInput();\n\nstruct ClientFeeParams {\n    uint32 clientFeeBps;\n    address clientFeeReceiver;\n    uint256 maxClientContribution;\n    uint256 deadline;\n    // EIP-712 signature by clientFeeReceiver: a 65-byte ECDSA signature when\n    // the receiver is an EOA, or an ERC-1271 signature of any length when it\n    // is a contract.\n    bytes clientSignature;\n}\n\nerror TychoRouter__TimelockNotExpired(\n    uint256 activationTimestamp, uint256 blockTimestamp\n);\nerror TychoRouter__NoPendingFeeCalculator();\nerror TychoRouter__FeesExceedOutput(uint256 totalFees, uint256 actualAmountOut);\n\ncontract TychoRouterV3 is AccessControl, Dispatcher, EIP712 {\n    address private _feeCalculator; // Fee calculator contract\n    address private _pendingFeeCalculator;\n    uint48 private _feeCalculatorActivationTimestamp;\n\n    using SafeERC20 for IERC20;\n    using LibPrefixLengthEncodedByteArray for bytes;\n    using LibSwap for bytes;\n\n    //keccak256(\"NAME_OF_ROLE\") : save gas on deployment\n    bytes32 public constant EXECUTOR_SETTER_ROLE =\n        0x6a1dd52dcad5bd732e45b6af4e7344fa284e2d7d4b23b5b09cb55d36b0685c87;\n    bytes32 public constant PAUSER_ROLE =\n        0x65d7a28e3265b37a6474929f336521b332c1681b933f6cb9f3376673440d862a;\n    bytes32 public constant UNPAUSER_ROLE =\n        0x427da25fe773164f88948d3e215c94b6554e2ed5e5f203a821c9f2f6131cf75a;\n    bytes32 public constant ROUTER_FEE_SETTER_ROLE =\n        0x9939157be7760e9462f1d5a0dcad88b616ddc64138e317108b40b1cf55601348;\n\n    uint256 public constant DELAY_FEE_CALCULATOR_ACTIVATION = 1 days;\n\n    bytes32 public constant CLIENT_FEE_TYPEHASH = keccak256(\n        \"ClientFee(uint32 clientFeeBps,address clientFeeReceiver,\"\n        \"uint256 maxClientContribution,uint256 deadline,\"\n        \"uint256 amountIn,address tokenIn,address tokenOut,\"\n        \"uint256 expectedAmountOut,uint256 minAmountOut,address receiver,bytes swaps)\"\n    );\n\n    event Withdrawal(\n        address indexed token, uint256 amount, address indexed receiver\n    );\n    event FeeCalculatorSet(\n        address indexed feeCalculator, uint256 timelockExpiresAt\n    );\n    event FeeCalculatorActivated(\n        address indexed oldCalculator, address indexed newCalculator\n    );\n    event FeesTaken(address indexed token, FeeRecipient[] fees);\n\n    constructor(\n        address permit2_,\n        address feeCalculator,\n        address pauserAdmin,\n        address unpauserAdmin,\n        address executorSetterAdmin,\n        address routerFeeSetterAdmin\n    ) Dispatcher(permit2_) EIP712(\"TychoRouter\", \"1\") {\n        if (feeCalculator.code.length == 0) {\n            revert TychoRouter__NotAContract(feeCalculator);\n        }\n        _feeCalculator = feeCalculator;\n\n        // Make each role its own admin so role holders can manage their own role\n        _setRoleAdmin(PAUSER_ROLE, PAUSER_ROLE);\n        _setRoleAdmin(UNPAUSER_ROLE, UNPAUSER_ROLE);\n        _setRoleAdmin(EXECUTOR_SETTER_ROLE, EXECUTOR_SETTER_ROLE);\n        _setRoleAdmin(ROUTER_FEE_SETTER_ROLE, ROUTER_FEE_SETTER_ROLE);\n\n        // Grant initial roles - only these ones are admin of the corresponding role\n        _grantRole(PAUSER_ROLE, pauserAdmin);\n        _grantRole(UNPAUSER_ROLE, unpauserAdmin);\n        _grantRole(EXECUTOR_SETTER_ROLE, executorSetterAdmin);\n        _grantRole(ROUTER_FEE_SETTER_ROLE, routerFeeSetterAdmin);\n    }\n\n    /**\n     * @notice Override supportsInterface to resolve conflict between AccessControl and ERC6909\n     */\n    function supportsInterface(bytes4 interfaceId)\n        public\n        view\n        virtual\n        override(AccessControl, ERC6909)\n        returns (bool)\n    {\n        return AccessControl.supportsInterface(interfaceId)\n            || ERC6909.supportsInterface(interfaceId);\n    }\n\n    /**\n     * @notice Executes a swap operation based on a predefined swap graph, supporting internal token amount splits.\n     *         This function enables multi-step swaps and validates the output amount against a user-specified minimum.\n     *         Takes funds from the user's wallet using transferFrom.\n     *\n     * @dev\n     * - Swaps are executed sequentially using the `_swap` function.\n     * - Reverts with `TychoRouter__NegativeSlippage` if the final output is below `minAmountOut`\n     *\n     * @param amountIn The input token amount to be swapped.\n     * @param tokenIn The address of the input token. Use `ETH_ADDRESS` for native ETH\n     * @param tokenOut The address of the output token. Use `ETH_ADDRESS` for native ETH\n     * @param expectedAmountOut The quoted output amount; used to detect positive slippage.\n     * @param minAmountOut The minimum acceptable output amount (revert guardrail). Must be non-zero and not exceed `expectedAmountOut`.\n     * @param nTokens The total number of tokens involved in the swap graph (used to initialize arrays for internal calculations).\n     * @param receiver The address to receive the output tokens.\n     * @param clientFeeParams Client fee parameters including fee bps, receiver, max contribution, deadline and signature.\n     * @param swaps Encoded swap graph data containing details of each swap.\n     *\n     * @return The total amount of the output token received by the receiver.\n     */\n    function splitSwap(\n        uint256 amountIn,\n        address tokenIn,\n        address tokenOut,\n        uint256 expectedAmountOut,\n        uint256 minAmountOut,\n        uint256 nTokens,\n        address receiver,\n        ClientFeeParams calldata clientFeeParams,\n        bytes calldata swaps\n    ) public payable whenNotPaused nonReentrant returns (uint256) {\n        _verifyClientSignature(\n            clientFeeParams,\n            amountIn,\n            tokenIn,\n            tokenOut,\n            expectedAmountOut,\n            minAmountOut,\n            receiver,\n            swaps\n        );\n        _updateNativeDeltaAccounting(amountIn);\n        _tstoreTransferFromInfo(tokenIn, amountIn, false, false);\n\n        return _splitSwapChecked(\n            amountIn,\n            tokenIn,\n            tokenOut,\n            expectedAmountOut,\n            minAmountOut,\n            nTokens,\n            receiver,\n            clientFeeParams,\n            swaps\n        );\n    }\n\n    /**\n     * @notice Executes a swap operation based on a predefined swap graph, supporting internal token amount splits.\n     *         This function enables multi-step swaps and validates the output amount against a user-specified minimum.\n     *         Takes funds from the user's vault balance.\n     *\n     * @dev\n     * - Swaps are executed sequentially using the `_swap` function.\n     * - Reverts with `TychoRouter__NegativeSlippage` if the final output is below `minAmountOut`.\n     *\n     * @param amountIn The input token amount to be swapped.\n     * @param tokenIn The address of the input token. Use `ETH_ADDRESS` for native ETH\n     * @param tokenOut The address of the output token. Use `ETH_ADDRESS` for native ETH\n     * @param expectedAmountOut The quoted output amount; used to detect positive slippage.\n     * @param minAmountOut The minimum acceptable output amount (revert guardrail). Must be non-zero and not exceed `expectedAmountOut`.\n     * @param nTokens The total number of tokens involved in the swap graph (used to initialize arrays for internal calculations).\n     * @param receiver The address to receive the output tokens.\n     * @param clientFeeParams Client fee parameters including fee bps, receiver, max contribution, deadline and signature.\n     * @param swaps Encoded swap graph data containing details of each swap.\n     *\n     * @return The total amount of the output token received by the receiver.\n     */\n    function splitSwapUsingVault(\n        uint256 amountIn,\n        address tokenIn,\n        address tokenOut,\n        uint256 expectedAmountOut,\n        uint256 minAmountOut,\n        uint256 nTokens,\n        address receiver,\n        ClientFeeParams calldata clientFeeParams,\n        bytes calldata swaps\n    ) public whenNotPaused nonReentrant returns (uint256) {\n        _verifyClientSignature(\n            clientFeeParams,\n            amountIn,\n            tokenIn,\n            tokenOut,\n            expectedAmountOut,\n            minAmountOut,\n            receiver,\n            swaps\n        );\n        _tstoreTransferFromInfo(tokenIn, amountIn, false, true);\n\n        return _splitSwapChecked(\n            amountIn,\n            tokenIn,\n            tokenOut,\n            expectedAmountOut,\n            minAmountOut,\n            nTokens,\n            receiver,\n            clientFeeParams,\n            swaps\n        );\n    }\n\n    /**\n     * @notice Executes a swap operation based on a predefined swap graph, supporting internal token amount splits.\n     *         This function enables multi-step swaps and validates the output amount against a user-specified minimum.\n     *\n     * @dev\n     * - For ERC20 tokens, Permit2 is used to approve and transfer tokens from the caller to the router.\n     * - Swaps are executed sequentially using the `_swap` function.\n     * - Reverts with `TychoRouter__NegativeSlippage` if the final output is below `minAmountOut`.\n     *\n     * @param amountIn The input token amount to be swapped.\n     * @param tokenIn The address of the input token. Use `ETH_ADDRESS` for native ETH\n     * @param tokenOut The address of the output token. Use `ETH_ADDRESS` for native ETH\n     * @param expectedAmountOut The quoted output amount; used to detect positive slippage.\n     * @param minAmountOut The minimum acceptable output amount (revert guardrail). Must be non-zero and not exceed `expectedAmountOut`.\n     * @param nTokens The total number of tokens involved in the swap graph (used to initialize arrays for internal calculations).\n     * @param receiver The address to receive the output tokens.\n     * @param clientFeeParams Client fee parameters including fee bps, receiver, max contribution, deadline and signature.\n     * @param permitSingle A Permit2 structure containing token approval details for the input token.\n     * @param signature A valid signature authorizing the Permit2 approval.\n     * @param swaps Encoded swap graph data containing details of each swap.\n     *\n     * @return The total amount of the output token received by the receiver.\n     */\n    function splitSwapPermit2(\n        uint256 amountIn,\n        address tokenIn,\n        address tokenOut,\n        uint256 expectedAmountOut,\n        uint256 minAmountOut,\n        uint256 nTokens,\n        address receiver,\n        ClientFeeParams calldata clientFeeParams,\n        IAllowanceTransfer.PermitSingle calldata permitSingle,\n        bytes calldata signature,\n        bytes calldata swaps\n    ) external whenNotPaused nonReentrant returns (uint256) {\n        _verifyClientSignature(\n            clientFeeParams,\n            amountIn,\n            tokenIn,\n            tokenOut,\n            expectedAmountOut,\n            minAmountOut,\n            receiver,\n            swaps\n        );\n        // For native ETH, assume funds already in our router. Else, handle approval.\n        if (tokenIn != ETH_ADDRESS) {\n            permit2.permit(msg.sender, permitSingle, signature);\n        }\n        _tstoreTransferFromInfo(tokenIn, amountIn, true, false);\n\n        return _splitSwapChecked(\n            amountIn,\n            tokenIn,\n            tokenOut,\n            expectedAmountOut,\n            minAmountOut,\n            nTokens,\n            receiver,\n            clientFeeParams,\n            swaps\n        );\n    }\n\n    /**\n     * @notice Executes a swap operation based on a predefined swap graph with no split routes.\n     *         This function enables multi-step swaps and validates the output amount against a user-specified minimum.\n     *         Takes funds from the user's wallet using transferFrom.\n     *\n     * @dev\n     * - Swaps are executed sequentially using the `_swap` function.\n     * - Reverts with `TychoRouter__NegativeSlippage` if the final output is below `minAmountOut`.\n     *\n     * @param amountIn The input token amount to be swapped.\n     * @param tokenIn The address of the input token. Use `ETH_ADDRESS` for native ETH\n     * @param tokenOut The address of the output token. Use `ETH_ADDRESS` for native ETH\n     * @param expectedAmountOut The quoted output amount; used to detect positive slippage.\n     * @param minAmountOut The minimum acceptable output amount (revert guardrail). Must be non-zero and not exceed `expectedAmountOut`.\n     * @param receiver The address to receive the output tokens.\n     * @param clientFeeParams Client fee parameters including fee bps, receiver, max contribution, deadline and signature.\n     * @param swaps Encoded swap graph data containing details of each swap.\n     *\n     * @return The total amount of the output token received by the receiver.\n     */\n    function sequentialSwap(\n        uint256 amountIn,\n        address tokenIn,\n        address tokenOut,\n        uint256 expectedAmountOut,\n        uint256 minAmountOut,\n        address receiver,\n        ClientFeeParams calldata clientFeeParams,\n        bytes calldata swaps\n    ) public payable whenNotPaused nonReentrant returns (uint256) {\n        _verifyClientSignature(\n            clientFeeParams,\n            amountIn,\n            tokenIn,\n            tokenOut,\n            expectedAmountOut,\n            minAmountOut,\n            receiver,\n            swaps\n        );\n        _updateNativeDeltaAccounting(amountIn);\n        _tstoreTransferFromInfo(tokenIn, amountIn, false, false);\n\n        return _sequentialSwapChecked(\n            amountIn,\n            tokenIn,\n            tokenOut,\n            expectedAmountOut,\n            minAmountOut,\n            receiver,\n            clientFeeParams,\n            swaps\n        );\n    }\n\n    /**\n     * @notice Executes a swap operation based on a predefined swap graph with no split routes.\n     *         This function enables multi-step swaps and validates the output amount against a user-specified minimum.\n     *         Takes funds from the user's vault balance.\n     *\n     * @dev\n     * - Swaps are executed sequentially using the `_swap` function.\n     * - Reverts with `TychoRouter__NegativeSlippage` if the final output is below `minAmountOut`.\n     *\n     * @param amountIn The input token amount to be swapped.\n     * @param tokenIn The address of the input token. Use `ETH_ADDRESS` for native ETH\n     * @param tokenOut The address of the output token. Use `ETH_ADDRESS` for native ETH\n     * @param expectedAmountOut The quoted output amount; used to detect positive slippage.\n     * @param minAmountOut The minimum acceptable output amount (revert guardrail). Must be non-zero and not exceed `expectedAmountOut`.\n     * @param receiver The address to receive the output tokens.\n     * @param clientFeeParams Client fee parameters including fee bps, receiver, max contribution, deadline and signature.\n     * @param swaps Encoded swap graph data containing details of each swap.\n     *\n     * @return The total amount of the output token received by the receiver.\n     */\n    function sequentialSwapUsingVault(\n        uint256 amountIn,\n        address tokenIn,\n        address tokenOut,\n        uint256 expectedAmountOut,\n        uint256 minAmountOut,\n        address receiver,\n        ClientFeeParams calldata clientFeeParams,\n        bytes calldata swaps\n    ) public whenNotPaused nonReentrant returns (uint256) {\n        _verifyClientSignature(\n            clientFeeParams,\n            amountIn,\n            tokenIn,\n            tokenOut,\n            expectedAmountOut,\n            minAmountOut,\n            receiver,\n            swaps\n        );\n        _tstoreTransferFromInfo(tokenIn, amountIn, false, true);\n\n        return _sequentialSwapChecked(\n            amountIn,\n            tokenIn,\n            tokenOut,\n            expectedAmountOut,\n            minAmountOut,\n            receiver,\n            clientFeeParams,\n            swaps\n        );\n    }\n\n    /**\n     * @notice Executes a swap operation based on a predefined swap graph with no split routes.\n     *         This function enables multi-step swaps and validates the output amount against a user-specified minimum.\n     *\n     * @dev\n     * - For ERC20 tokens, Permit2 is used to approve and transfer tokens from the caller to the router.\n     * - Reverts with `TychoRouter__NegativeSlippage` if the final output is below `minAmountOut`.\n     *\n     * @param amountIn The input token amount to be swapped.\n     * @param tokenIn The address of the input token. Use `ETH_ADDRESS` for native ETH\n     * @param tokenOut The address of the output token. Use `ETH_ADDRESS` for native ETH\n     * @param expectedAmountOut The quoted output amount; used to detect positive slippage.\n     * @param minAmountOut The minimum acceptable output amount (revert guardrail). Must be non-zero and not exceed `expectedAmountOut`.\n     * @param receiver The address to receive the output tokens.\n     * @param clientFeeParams Client fee parameters including fee bps, receiver, max contribution, deadline and signature.\n     * @param permitSingle A Permit2 structure containing token approval details for the input token.\n     * @param signature A valid signature authorizing the Permit2 approval.\n     * @param swaps Encoded swap graph data containing details of each swap.\n     *\n     * @return The total amount of the output token received by the receiver.\n     */\n    function sequentialSwapPermit2(\n        uint256 amountIn,\n        address tokenIn,\n        address tokenOut,\n        uint256 expectedAmountOut,\n        uint256 minAmountOut,\n        address receiver,\n        ClientFeeParams calldata clientFeeParams,\n        IAllowanceTransfer.PermitSingle calldata permitSingle,\n        bytes calldata signature,\n        bytes calldata swaps\n    ) external whenNotPaused nonReentrant returns (uint256) {\n        _verifyClientSignature(\n            clientFeeParams,\n            amountIn,\n            tokenIn,\n            tokenOut,\n            expectedAmountOut,\n            minAmountOut,\n            receiver,\n            swaps\n        );\n        // For native ETH, assume funds already in our router. Else, handle approval.\n        if (tokenIn != ETH_ADDRESS) {\n            permit2.permit(msg.sender, permitSingle, signature);\n        }\n\n        _tstoreTransferFromInfo(tokenIn, amountIn, true, false);\n\n        return _sequentialSwapChecked(\n            amountIn,\n            tokenIn,\n            tokenOut,\n            expectedAmountOut,\n            minAmountOut,\n            receiver,\n            clientFeeParams,\n            swaps\n        );\n    }\n\n    /**\n     * @notice Executes a single swap operation.\n     *         This function validates the output amount against a user-specified minimum.\n     *         Takes funds from the user's wallet using transferFrom.\n     *\n     * @dev\n     * - Reverts with `TychoRouter__NegativeSlippage` if the final output is below `minAmountOut`.\n     *\n     * @param amountIn The input token amount to be swapped.\n     * @param tokenIn The address of the input token. Use `ETH_ADDRESS` for native ETH\n     * @param tokenOut The address of the output token. Use `ETH_ADDRESS` for native ETH\n     * @param expectedAmountOut The quoted output amount; used to detect positive slippage.\n     * @param minAmountOut The minimum acceptable output amount (revert guardrail). Must be non-zero and not exceed `expectedAmountOut`.\n     * @param receiver The address to receive the output tokens.\n     * @param clientFeeParams Client fee parameters including fee bps, receiver, max contribution, deadline and signature.\n     * @param swapData Encoded swap details.\n     *\n     * @return The total amount of the output token received by the receiver.\n     */\n    function singleSwap(\n        uint256 amountIn,\n        address tokenIn,\n        address tokenOut,\n        uint256 expectedAmountOut,\n        uint256 minAmountOut,\n        address receiver,\n        ClientFeeParams calldata clientFeeParams,\n        bytes calldata swapData\n    ) public payable whenNotPaused nonReentrant returns (uint256) {\n        _verifyClientSignature(\n            clientFeeParams,\n            amountIn,\n            tokenIn,\n            tokenOut,\n            expectedAmountOut,\n            minAmountOut,\n            receiver,\n            swapData\n        );\n        _updateNativeDeltaAccounting(amountIn);\n        _tstoreTransferFromInfo(tokenIn, amountIn, false, false);\n\n        return _singleSwap(\n            amountIn,\n            tokenIn,\n            tokenOut,\n            expectedAmountOut,\n            minAmountOut,\n            receiver,\n            clientFeeParams,\n            swapData\n        );\n    }\n\n    /**\n     * @notice Executes a single swap operation.\n     *         This function validates the output amount against a user-specified minimum.\n     *         Takes funds from the user's vault balance.\n     *\n     * @dev\n     * - Reverts with `TychoRouter__NegativeSlippage` if the final output is below `minAmountOut`.\n     *\n     * @param amountIn The input token amount to be swapped.\n     * @param tokenIn The address of the input token. Use `ETH_ADDRESS` for native ETH\n     * @param tokenOut The address of the output token. Use `ETH_ADDRESS` for native ETH\n     * @param expectedAmountOut The quoted output amount; used to detect positive slippage.\n     * @param minAmountOut The minimum acceptable output amount (revert guardrail). Must be non-zero and not exceed `expectedAmountOut`.\n     * @param receiver The address to receive the output tokens.\n     * @param clientFeeParams Client fee parameters including fee bps, receiver, max contribution, deadline and signature.\n     * @param swapData Encoded swap details.\n     *\n     * @return The total amount of the output token received by the receiver.\n     */\n    function singleSwapUsingVault(\n        uint256 amountIn,\n        address tokenIn,\n        address tokenOut,\n        uint256 expectedAmountOut,\n        uint256 minAmountOut,\n        address receiver,\n        ClientFeeParams calldata clientFeeParams,\n        bytes calldata swapData\n    ) public whenNotPaused nonReentrant returns (uint256) {\n        _verifyClientSignature(\n            clientFeeParams,\n            amountIn,\n            tokenIn,\n            tokenOut,\n            expectedAmountOut,\n            minAmountOut,\n            receiver,\n            swapData\n        );\n        _tstoreTransferFromInfo(tokenIn, amountIn, false, true);\n\n        return _singleSwap(\n            amountIn,\n            tokenIn,\n            tokenOut,\n            expectedAmountOut,\n            minAmountOut,\n            receiver,\n            clientFeeParams,\n            swapData\n        );\n    }\n\n    /**\n     * @notice Executes a single swap operation.\n     *         This function validates the output amount against a user-specified minimum.\n     *\n     * @dev\n     * - For ERC20 tokens, Permit2 is used to approve and transfer tokens from the caller to the router.\n     * - Reverts with `TychoRouter__NegativeSlippage` if the final output is below `minAmountOut`.\n     *\n     * @param amountIn The input token amount to be swapped.\n     * @param tokenIn The address of the input token. Use `ETH_ADDRESS` for native ETH\n     * @param tokenOut The address of the output token. Use `ETH_ADDRESS` for native ETH\n     * @param expectedAmountOut The quoted output amount; used to detect positive slippage.\n     * @param minAmountOut The minimum acceptable output amount (revert guardrail). Must be non-zero and not exceed `expectedAmountOut`.\n     * @param receiver The address to receive the output tokens.\n     * @param clientFeeParams Client fee parameters including fee bps, receiver, max contribution, deadline and signature.\n     * @param permitSingle A Permit2 structure containing token approval details for the input token.\n     * @param signature A valid signature authorizing the Permit2 approval.\n     * @param swapData Encoded swap details.\n     *\n     * @return The total amount of the output token received by the receiver.\n     */\n    function singleSwapPermit2(\n        uint256 amountIn,\n        address tokenIn,\n        address tokenOut,\n        uint256 expectedAmountOut,\n        uint256 minAmountOut,\n        address receiver,\n        ClientFeeParams calldata clientFeeParams,\n        IAllowanceTransfer.PermitSingle calldata permitSingle,\n        bytes calldata signature,\n        bytes calldata swapData\n    ) external whenNotPaused nonReentrant returns (uint256) {\n        _verifyClientSignature(\n            clientFeeParams,\n            amountIn,\n            tokenIn,\n            tokenOut,\n            expectedAmountOut,\n            minAmountOut,\n            receiver,\n            swapData\n        );\n        // For native ETH, assume funds already in our router. Else, handle approval.\n        if (tokenIn != ETH_ADDRESS) {\n            permit2.permit(msg.sender, permitSingle, signature);\n        }\n        _tstoreTransferFromInfo(tokenIn, amountIn, true, false);\n\n        return _singleSwap(\n            amountIn,\n            tokenIn,\n            tokenOut,\n            expectedAmountOut,\n            minAmountOut,\n            receiver,\n            clientFeeParams,\n            swapData\n        );\n    }\n\n    /**\n     * @notice Internal implementation of the core swap logic shared between splitSwap() and splitSwapPermit2().\n     *\n     * @notice This function centralizes the swap execution logic.\n     * @notice For detailed documentation on parameters and behavior, see the documentation for\n     * splitSwap() and splitSwapPermit2() functions.\n     *\n     */\n    // State writes in _takeFees after external calls are safe because all public entry points use nonReentrant modifier\n    // slither-disable-next-line reentrancy-benign\n    function _splitSwapChecked(\n        uint256 amountIn,\n        address tokenIn,\n        address tokenOut,\n        uint256 expectedAmountOut,\n        uint256 minAmountOut,\n        uint256 nTokens,\n        address receiver,\n        ClientFeeParams calldata clientFeeParams,\n        bytes calldata swaps\n    ) internal returns (uint256 amountOutAfterFees) {\n        _validateAmounts(amountIn, expectedAmountOut, minAmountOut);\n        _validateAddresses(receiver, tokenIn, tokenOut);\n\n        address client = clientFeeParams.clientFeeReceiver;\n        // Stack pressure in this function prevents keeping finalReceiver in scope\n        // outside the block, so we cache the interception decision as a bool instead.\n        bool intercepting = IFeeCalculator(_feeCalculator)\n            .mustOutputThroughRouter(clientFeeParams.clientFeeBps, client);\n\n        uint256 actualAmountOut;\n        {\n            address finalReceiver = intercepting ? address(this) : receiver;\n            actualAmountOut = _splitSwap(\n                amountIn,\n                nTokens,\n                swaps,\n                finalReceiver,\n                tokenIn == tokenOut // isCyclical\n            );\n        }\n\n        amountOutAfterFees = _finalizeSwap(\n            FeeInput({\n                actualAmountOut: actualAmountOut,\n                expectedAmountOut: expectedAmountOut,\n                amountIn: amountIn,\n                tokenIn: tokenIn,\n                tokenOut: tokenOut,\n                clientFeeBps: clientFeeParams.clientFeeBps,\n                client: client\n            }),\n            intercepting,\n            minAmountOut,\n            clientFeeParams.maxClientContribution,\n            receiver\n        );\n    }\n\n    /**\n     * @notice Internal implementation of the core swap logic shared between singleSwap() and singleSwapPermit2().\n     *\n     * @notice This function centralizes the swap execution logic.\n     * @notice For detailed documentation on parameters and behavior, see the documentation for\n     * singleSwap() and singleSwapPermit2() functions.\n     *\n     */\n    // State writes in _takeFees after external calls are safe because all public entry points use nonReentrant modifier\n    // slither-disable-next-line reentrancy-benign\n    function _singleSwap(\n        uint256 amountIn,\n        address tokenIn,\n        address tokenOut,\n        uint256 expectedAmountOut,\n        uint256 minAmountOut,\n        address receiver,\n        ClientFeeParams calldata clientFeeParams,\n        bytes calldata swap_\n    ) internal returns (uint256 amountOutAfterFees) {\n        _validateAmounts(amountIn, expectedAmountOut, minAmountOut);\n        _validateAddresses(receiver, tokenIn, tokenOut);\n\n        address client = clientFeeParams.clientFeeReceiver;\n        bool intercepting = IFeeCalculator(_feeCalculator)\n            .mustOutputThroughRouter(clientFeeParams.clientFeeBps, client);\n\n        uint256 actualAmountOut;\n        {\n            (address executor, bytes calldata protocolData) =\n                swap_.decodeSingleSwap();\n            actualAmountOut = _callSwapOnExecutor(\n                executor,\n                amountIn,\n                protocolData,\n                true,\n                false,\n                intercepting ? address(this) : receiver\n            );\n        }\n\n        amountOutAfterFees = _finalizeSwap(\n            FeeInput({\n                actualAmountOut: actualAmountOut,\n                expectedAmountOut: expectedAmountOut,\n                amountIn: amountIn,\n                tokenIn: tokenIn,\n                tokenOut: tokenOut,\n                clientFeeBps: clientFeeParams.clientFeeBps,\n                client: client\n            }),\n            intercepting,\n            minAmountOut,\n            clientFeeParams.maxClientContribution,\n            receiver\n        );\n    }\n\n    /**\n     * @notice Internal implementation of the core swap logic shared between sequentialSwap() and sequentialSwapPermit2().\n     *\n     * @notice This function centralizes the swap execution logic.\n     * @notice For detailed documentation on parameters and behavior, see the documentation for\n     * sequentialSwap() and sequentialSwapPermit2() functions.\n     *\n     */\n    // State writes in _takeFees after external calls are safe because all public entry points use nonReentrant modifier\n    // slither-disable-next-line reentrancy-benign\n    function _sequentialSwapChecked(\n        uint256 amountIn,\n        address tokenIn,\n        address tokenOut,\n        uint256 expectedAmountOut,\n        uint256 minAmountOut,\n        address receiver,\n        ClientFeeParams calldata clientFeeParams,\n        bytes calldata swaps\n    ) internal returns (uint256 amountOutAfterFees) {\n        _validateAmounts(amountIn, expectedAmountOut, minAmountOut);\n        _validateAddresses(receiver, tokenIn, tokenOut);\n        if (swaps.length == 0) {\n            revert TychoRouter__EmptySwaps();\n        }\n\n        address client = clientFeeParams.clientFeeReceiver;\n        bool intercepting = IFeeCalculator(_feeCalculator)\n            .mustOutputThroughRouter(clientFeeParams.clientFeeBps, client);\n\n        uint256 actualAmountOut = _sequentialSwap(\n            amountIn, swaps, intercepting ? address(this) : receiver\n        );\n\n        amountOutAfterFees = _finalizeSwap(\n            FeeInput({\n                actualAmountOut: actualAmountOut,\n                expectedAmountOut: expectedAmountOut,\n                amountIn: amountIn,\n                tokenIn: tokenIn,\n                tokenOut: tokenOut,\n                clientFeeBps: clientFeeParams.clientFeeBps,\n                client: client\n            }),\n            intercepting,\n            minAmountOut,\n            clientFeeParams.maxClientContribution,\n            receiver\n        );\n    }\n\n    /**\n     * @dev Validates the swap amount inputs shared by all swap strategies.\n     *      Reverts unless `amountIn` and `expectedAmountOut` are non-zero and\n     *      `0 < minAmountOut <= expectedAmountOut`.\n     */\n    function _validateAmounts(\n        uint256 amountIn,\n        uint256 expectedAmountOut,\n        uint256 minAmountOut\n    ) internal pure {\n        if (amountIn == 0) {\n            revert TychoRouter__ZeroInput();\n        }\n        if (expectedAmountOut == 0) {\n            revert TychoRouter__AmountOutZero();\n        }\n        if (minAmountOut == 0 || minAmountOut > expectedAmountOut) {\n            revert TychoRouter__InvalidMinAmountOut(\n                minAmountOut, expectedAmountOut\n            );\n        }\n    }\n\n    /**\n     * @dev Validates the address inputs shared by all swap strategies.\n     */\n    function _validateAddresses(\n        address receiver,\n        address tokenIn,\n        address tokenOut\n    ) internal pure {\n        if (\n            receiver == address(0) || tokenIn == address(0)\n                || tokenOut == address(0)\n        ) {\n            revert TychoRouter__AddressZero();\n        }\n    }\n\n    /**\n     * @dev Shared post-swap finalization for all swap strategies: takes fees\n     *      (when the output was intercepted by the router), tops the output\n     *      up with a client contribution if it fell below `minAmountOut`,\n     *      and settles the final amount to the receiver.\n     *      `feeInput` doubles as the carrier for the swap context (amounts,\n     *      tokens, client), keeping caller stacks flat.\n     * @return amountOutAfterFees The settled output amount.\n     */\n    function _finalizeSwap(\n        FeeInput memory feeInput,\n        bool intercepting,\n        uint256 minAmountOut,\n        uint256 maxClientContribution,\n        address receiver\n    ) internal returns (uint256 amountOutAfterFees) {\n        amountOutAfterFees = intercepting\n            ? _takeFees(feeInput)\n            : feeInput.actualAmountOut;\n\n        amountOutAfterFees = _maybeAddClientContribution(\n            amountOutAfterFees,\n            minAmountOut,\n            maxClientContribution,\n            feeInput.tokenOut,\n            receiver,\n            feeInput.client\n        );\n\n        amountOutAfterFees = _settleOutput(\n            amountOutAfterFees,\n            minAmountOut,\n            feeInput.amountIn,\n            feeInput.tokenIn,\n            feeInput.tokenOut,\n            receiver\n        );\n    }\n\n    /**\n     * @dev Transfers output tokens to receiver (or credits vault),\n     *      finalizes transient deltas, and checks slippage.\n     */\n    function _settleOutput(\n        uint256 amountOut,\n        uint256 minAmountOut,\n        uint256 amountIn,\n        address tokenIn,\n        address tokenOut,\n        address receiver\n    ) internal returns (uint256) {\n        int256 outputDelta = _getDelta(tokenOut);\n        if (outputDelta > 0) {\n            _updateDeltaAccounting(tokenOut, -int256(amountOut));\n            // out tokens are still in the Router and need to be sent to the final receiver\n            // or credited to the vault\n            if (receiver == address(this)) {\n                _creditVault(msg.sender, tokenOut, amountOut);\n            } else {\n                // the amountOut might actually be lower at this point (if fee/rebasing token)\n                amountOut = _transferOut(tokenOut, receiver, amountOut);\n            }\n        }\n\n        _finalizeBalances(msg.sender, tokenIn, amountIn);\n\n        // Check final amount to account for fee tokens or rebasing tokens\n        if (amountOut < minAmountOut) {\n            revert TychoRouter__NegativeSlippage(amountOut, minAmountOut);\n        }\n\n        return amountOut;\n    }\n\n    /**\n     * @dev Executes sequential swaps as defined by the provided swap graph.\n     *\n     * This function processes a series of swaps encoded in the `swaps_` byte array. Each swap operation determines:\n     * - The indices of the input and output tokens (via `tokenInIndex()` and `tokenOutIndex()`).\n     * - The portion of the available amount to be used for the swap, indicated by the `split` value.\n     *\n     * Four important notes:\n     * - The contract assumes that token indexes follow a specific order: the sell token is at index 0, followed by any\n     *  intermediary tokens, and finally the buy token.\n     * - A `split` value of 0 is interpreted as 100% of the available amount (i.e., the entire remaining balance).\n     *  This means that in scenarios without explicit splits the value should be 0, and when splits are present,\n     *  the last swap should also have a split value of 0.\n     * - In case of cyclic swaps, the output token is the same as the input token.\n     *  `cyclicSwapAmountOut` is used to track the amount of the output token, and is updated when\n     *  the `tokenOutIndex` is 0.\n     * - The receiver of the hop is chosen depending on the position:\n     *     - if it's any other than not the last hops (to the token out), the receiver is address(this)\n     *     - if it's the last hops, the receiver will be the one passed in the input arguments. Note that for regular\n     * split swaps, checking that the `tokenOutIndex` is the last value is enough for this but for cyclical split swaps\n     * we need to rely on the `isCyclical` passed from the outside.\n     *\n     * @param amountIn The initial amount of the sell token to be swapped.\n     * @param nTokens The total number of tokens involved in the swap path, used to initialize arrays for internal tracking.\n     * @param swaps_ Encoded swap graph data containing the details of each swap operation.\n     * @param receiver The address of the receiver of the swap\n     * @param isCyclical Bool to determine if the swap is cyclical or not (token in == token out)\n     *\n     * @return The total amount of the buy token obtained after all swaps have been executed.\n     */\n    function _splitSwap(\n        uint256 amountIn,\n        uint256 nTokens,\n        bytes calldata swaps_,\n        address receiver,\n        bool isCyclical\n    ) internal returns (uint256) {\n        if (swaps_.length == 0) {\n            revert TychoRouter__EmptySwaps();\n        }\n\n        uint256[] memory remainingAmounts = new uint256[](nTokens);\n        uint256[] memory amounts = new uint256[](nTokens);\n        uint256 cyclicSwapAmountOut = 0;\n        amounts[0] = amountIn;\n        remainingAmounts[0] = amountIn;\n\n        while (swaps_.length > 0) {\n            bytes calldata swapData;\n            (swapData, swaps_) = swaps_.next();\n\n            (\n                uint8 tokenInIndex,\n                uint8 tokenOutIndex,\n                uint24 split,\n                address executor,\n                bytes calldata protocolData\n            ) = swapData.decodeSplitSwap();\n\n            uint256 currentAmountIn = split > 0\n                ? (amounts[tokenInIndex] * split) / 0xffffff\n                : remainingAmounts[tokenInIndex];\n\n            address swapReceiver = address(this);\n            if (\n                (tokenOutIndex == nTokens - 1 && !isCyclical)\n                    || (isCyclical && tokenOutIndex == 0)\n            ) {\n                swapReceiver = receiver;\n            }\n\n            uint256 currentAmountOut = _callSwapOnExecutor(\n                executor,\n                currentAmountIn,\n                protocolData,\n                tokenInIndex == 0,\n                true,\n                swapReceiver\n            );\n            // Checks if the output token is the same as the input token\n            if (tokenOutIndex == 0) {\n                cyclicSwapAmountOut += currentAmountOut;\n            } else {\n                amounts[tokenOutIndex] += currentAmountOut;\n            }\n            remainingAmounts[tokenOutIndex] += currentAmountOut;\n            remainingAmounts[tokenInIndex] -= currentAmountIn;\n        }\n        // For cyclic routes the output token is at index 0; for regular routes\n        // it is at the last index (nTokens - 1).\n        return isCyclical ? cyclicSwapAmountOut : amounts[nTokens - 1];\n    }\n\n    /**\n     * @dev Executes sequential swaps as defined by the provided swap graph.\n     *\n     * @param amountIn The initial amount of the sell token to be swapped.\n     * @param swaps_ Encoded swap graph data containing the details of each swap operation.\n     * @param finalReceiver Address of the receiver of the last swap.\n     *\n     * @return calculatedAmount The total amount of the buy token obtained after all swaps have been executed.\n     */\n    function _sequentialSwap(\n        uint256 amountIn,\n        bytes calldata swaps_,\n        address finalReceiver\n    ) internal returns (uint256 calculatedAmount) {\n        calculatedAmount = amountIn;\n        uint256 swapCount = swaps_.size();\n        bytes calldata remainingSwaps = swaps_;\n\n        for (uint256 i = 0; i < swapCount; i++) {\n            bytes calldata currentSwap;\n            (currentSwap, remainingSwaps) = remainingSwaps.next();\n\n            (address executor, bytes calldata protocolData) =\n                currentSwap.decodeSequentialSwap();\n\n            address receiver;\n            bool isLastSwap = (i == swapCount - 1);\n\n            if (isLastSwap) {\n                receiver = finalReceiver;\n            } else {\n                bytes calldata nextSwap;\n                // slither-disable-next-line unused-return\n                (nextSwap,) = remainingSwaps.next();\n                (address nextExecutor, bytes calldata nextProtocolData) =\n                    nextSwap.decodeSequentialSwap();\n                receiver =\n                    _callFundsExpectedAddress(nextExecutor, nextProtocolData);\n            }\n\n            calculatedAmount = _callSwapOnExecutor(\n                executor,\n                calculatedAmount,\n                protocolData,\n                i == 0, // isFirstSwap\n                false,\n                receiver\n            );\n        }\n    }\n\n    /**\n     * @dev We use the fallback function to allow flexibility on callback.\n     */\n    fallback(bytes calldata data)\n        external\n        whenNotPaused\n        returns (bytes memory)\n    {\n        return _callHandleCallbackOnExecutor(data, msg.sender);\n    }\n\n    /**\n     * @dev Pauses the contract\n     */\n    function pause() external onlyRole(PAUSER_ROLE) {\n        _pause();\n    }\n\n    /**\n     * @dev Unpauses the contract\n     */\n    function unpause() external onlyRole(UNPAUSER_ROLE) {\n        _unpause();\n    }\n\n    /**\n     * @dev Entrypoint to add or replace an approved executor contract address\n     * @param targets address of the executor contract\n     */\n    function setExecutors(address[] memory targets)\n        external\n        onlyRole(EXECUTOR_SETTER_ROLE)\n        whenNotPaused\n    {\n        for (uint256 i = 0; i < targets.length; i++) {\n            _setExecutor(targets[i]);\n        }\n    }\n\n    /**\n     * @dev Entrypoint to remove an approved executor contract address\n     * @param target address of the executor contract\n     */\n    function removeExecutor(address target)\n        external\n        onlyRole(EXECUTOR_SETTER_ROLE)\n    {\n        _removeExecutor(target);\n    }\n\n    /**\n     * @notice Queues a new fee calculator with a timelock delay.\n     * @param feeCalculator The address of the fee calculator contract\n     */\n    function setFeeCalculator(address feeCalculator)\n        external\n        onlyRole(ROUTER_FEE_SETTER_ROLE)\n        whenNotPaused\n    {\n        if (feeCalculator.code.length == 0) {\n            revert TychoRouter__NotAContract(feeCalculator);\n        }\n\n        uint256 expiry = block.timestamp + DELAY_FEE_CALCULATOR_ACTIVATION;\n\n        _pendingFeeCalculator = feeCalculator;\n        _feeCalculatorActivationTimestamp = uint48(expiry);\n        emit FeeCalculatorSet(feeCalculator, expiry);\n    }\n\n    /**\n     * @dev Returns the current fee calculator address\n     */\n    function getFeeCalculator() external view returns (address) {\n        return _feeCalculator;\n    }\n\n    /**\n     * @dev Returns the pending fee calculator and activation timestamp\n     */\n    function getPendingFeeCalculator()\n        external\n        view\n        returns (address, uint256)\n    {\n        return (_pendingFeeCalculator, _feeCalculatorActivationTimestamp);\n    }\n\n    /**\n     * @notice Activates the pending fee calculator once the timelock has expired.\n     */\n    function activateFeeCalculator() external onlyRole(ROUTER_FEE_SETTER_ROLE) {\n        uint48 activationTs = _feeCalculatorActivationTimestamp;\n        // slither-disable-next-line incorrect-equality\n        if (activationTs == 0) {\n            revert TychoRouter__NoPendingFeeCalculator();\n        }\n        // slither-disable-next-line timestamp\n        if (block.timestamp < activationTs) {\n            revert TychoRouter__TimelockNotExpired(\n                activationTs, block.timestamp\n            );\n        }\n        address oldCalc = _feeCalculator;\n        address pending = _pendingFeeCalculator;\n        _feeCalculator = pending;\n        _pendingFeeCalculator = address(0);\n        _feeCalculatorActivationTimestamp = 0;\n        emit FeeCalculatorActivated(oldCalc, pending);\n    }\n\n    /**\n     * @notice Calculates and takes fees using the FeeCalculator\n     * @param feeInput Fee calculation inputs (amounts, tokens, client)\n     * @return amountOutAfterFees Amount remaining after fee deductions\n     */\n    function _takeFees(FeeInput memory feeInput)\n        internal\n        returns (uint256 amountOutAfterFees)\n    {\n        FeeRecipient[] memory fees =\n            IFeeCalculator(_feeCalculator).calculateFee(feeInput);\n        amountOutAfterFees = feeInput.actualAmountOut;\n\n        uint256 totalFees = 0;\n        for (uint256 i = 0; i < fees.length; i++) {\n            totalFees += fees[i].feeAmount;\n        }\n        if (totalFees > feeInput.actualAmountOut) {\n            revert TychoRouter__FeesExceedOutput(\n                totalFees, feeInput.actualAmountOut\n            );\n        }\n\n        for (uint256 i = 0; i < fees.length; i++) {\n            if (fees[i].feeAmount > 0) {\n                // We still need to update the delta accounting to ensure the funds are\n                // in the router after the final swap and have not bypassed the router\n                // due to incorrect or malicious encoding. Updating the delta\n                // accounting without funds will result in an additional negative\n                // delta, and cause the _finalizeBalances method to revert.\n                _updateDeltaAccounting(\n                    feeInput.tokenOut, -int256(fees[i].feeAmount)\n                );\n                _creditVaultForFees(\n                    fees[i].recipient, feeInput.tokenOut, fees[i].feeAmount\n                );\n                amountOutAfterFees -= fees[i].feeAmount;\n            }\n        }\n        if (fees.length > 0) {\n            emit FeesTaken(feeInput.tokenOut, fees);\n        }\n    }\n\n    /**\n     * @dev Allows this contract to receive native token with empty msg.data from contracts\n     */\n    receive() external payable whenNotPaused {\n        require(msg.sender.code.length != 0);\n    }\n\n    /**\n     * @dev Updates delta accounting for native ETH received via msg.value\n     * @notice This should be called at each entry point to credit the delta when ETH is sent\n     */\n    function _updateNativeDeltaAccounting(uint256 amountIn) internal {\n        if (msg.value > 0) {\n            // prevent unpredictable scenarios where the amountIn does not match exactly\n            // what the caller sent\n            if (msg.value != amountIn) {\n                revert TychoRouter__MsgValueDoesNotMatchAmountIn(\n                    msg.value, amountIn\n                );\n            }\n            _updateDeltaAccounting(ETH_ADDRESS, int256(msg.value));\n        }\n    }\n\n    /**\n     * @dev If the amountOut is below the minAmountOut, it tries to add a client contribution (if within limits).\n     * If it can't, it raises NegativeSlippage.\n     *   - If the out tokens are still in the Tycho Router, it adds the contribution to the amount out\n     *     (the transfer will be done later)\n     *   - If the out tokens are already in the receiver, it transfers the contribution separately\n     */\n    function _maybeAddClientContribution(\n        uint256 amountOut,\n        uint256 minAmountOut,\n        uint256 maxClientContribution,\n        address tokenOut,\n        address receiver,\n        address client\n    ) internal returns (uint256 amount) {\n        if (amountOut < minAmountOut) {\n            uint256 requiredContribution =\n                minAmountOut - amountOut;\n            if (requiredContribution > maxClientContribution) {\n                revert TychoRouter__NegativeSlippage(amountOut, minAmountOut);\n            }\n            // Debit the client's vault balance\n            _debitVault(client, tokenOut, requiredContribution);\n            int256 outputDelta = _getDelta(tokenOut);\n            if (outputDelta > 0) {\n                // Output tokens are still in the Router. This could be because no\n                // output transfer has been performed yet, or the user has specified the\n                // receiver to be the router in order to rebalance their vault.\n                _updateDeltaAccounting(tokenOut, int256(requiredContribution));\n                // slither-disable-next-line incorrect-equality\n            } else if (outputDelta == 0) {\n                if (receiver == address(this)) {\n                    _creditVault(msg.sender, tokenOut, requiredContribution);\n                } else if (tokenOut == ETH_ADDRESS) {\n                    Address.sendValue(payable(receiver), requiredContribution);\n                } else {\n                    // Measure user balance before and after required contribution to\n                    // account for fee tokens\n                    uint256 balanceBefore = IERC20(tokenOut).balanceOf(receiver);\n                    IERC20(tokenOut)\n                        .safeTransfer(receiver, requiredContribution);\n                    uint256 actualContribution =\n                        IERC20(tokenOut).balanceOf(receiver) - balanceBefore;\n                    return amountOut + actualContribution;\n                }\n            } else {\n                // Negative output delta indicates unprofitable arbitrage.\n                revert TychoRouter__NegativeOutputDelta(outputDelta);\n            }\n            amount = minAmountOut;\n        } else {\n            amount = amountOut;\n        }\n    }\n\n    /**\n     * @dev Verifies the client's EIP-712 signature over the fee parameters,\n     *      the core swap parameters, and the encoded swap routing bytes.\n     *      When clientFeeReceiver is address(0), no signature is required.\n     *      An EOA receiver signs with ECDSA; a contract receiver validates the\n     *      signature itself through ERC-1271. Contract signatures are\n     *      revocable, so a signature that verifies in one block may stop\n     *      verifying in the next.\n     * @param p The client fee parameters including the signature to verify.\n     * @param amountIn The input token amount.\n     * @param tokenIn The input token address.\n     * @param tokenOut The output token address.\n     * @param expectedAmountOut The quoted output amount.\n     * @param minAmountOut The minimum acceptable output amount.\n     * @param receiver The address to receive the output tokens.\n     * @param swapData The encoded swap routing data.\n     */\n    function _verifyClientSignature(\n        ClientFeeParams calldata p,\n        uint256 amountIn,\n        address tokenIn,\n        address tokenOut,\n        uint256 expectedAmountOut,\n        uint256 minAmountOut,\n        address receiver,\n        bytes calldata swapData\n    ) internal view {\n        if (p.clientFeeReceiver == address(0)) {\n            if (p.maxClientContribution > 0 || p.clientFeeBps > 0) {\n                revert TychoRouter__AddressZero();\n            }\n            return;\n        }\n        // slither-disable-next-line timestamp\n        if (block.timestamp > p.deadline) {\n            revert TychoRouter__ExpiredClientSignature(\n                p.deadline, block.timestamp\n            );\n        }\n        bytes32 digest = _hashTypedDataV4(\n            keccak256(\n                abi.encode(\n                    CLIENT_FEE_TYPEHASH,\n                    p.clientFeeBps,\n                    p.clientFeeReceiver,\n                    p.maxClientContribution,\n                    p.deadline,\n                    amountIn,\n                    tokenIn,\n                    tokenOut,\n                    expectedAmountOut,\n                    minAmountOut,\n                    receiver,\n                    keccak256(swapData)\n                )\n            )\n        );\n        // ECDSA runs before ERC-1271 so that an EOA carrying delegated code\n        // (EIP-7702) keeps signing with its own key. tryRecover's third return\n        // value only describes the error, which err already reports.\n        // slither-disable-next-line unused-return\n        (address recovered, ECDSA.RecoverError err,) =\n            ECDSA.tryRecoverCalldata(digest, p.clientSignature);\n        if (\n            err == ECDSA.RecoverError.NoError\n                && recovered == p.clientFeeReceiver\n        ) {\n            return;\n        }\n        // A contract receiver validates the digest itself\n        if (!SignatureChecker.isValidERC1271SignatureNowCalldata(\n                p.clientFeeReceiver, digest, p.clientSignature\n            )) {\n            revert TychoRouter__InvalidClientSignature();\n        }\n    }\n}\n"},"src/Vault.sol":{"content":"// SPDX-License-Identifier: BUSL-1.1\npragma solidity ^0.8.26;\n\nimport {IERC20} from \"@openzeppelin/contracts/token/ERC20/IERC20.sol\";\nimport {\n    SafeERC20\n} from \"@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol\";\nimport {Address} from \"@openzeppelin/contracts/utils/Address.sol\";\nimport {\n    ReentrancyGuard\n} from \"@openzeppelin/contracts/utils/ReentrancyGuard.sol\";\nimport {Pausable} from \"@openzeppelin/contracts/utils/Pausable.sol\";\nimport {ERC6909} from \"@openzeppelin/contracts/token/ERC6909/ERC6909.sol\";\nimport {ETH_ADDRESS} from \"../lib/NativeETH.sol\";\n\nerror Vault__InsufficientBalance(\n    address user, address token, uint256 requested, uint256 available\n);\nerror Vault__AmountZero();\nerror Vault__AddressZero();\nerror Vault__UnexpectedNonZeroCount(uint256 nonZeroCount);\nerror Vault__InvalidInputDelta(address token, int256 expected, int256 actual);\nerror Vault__UnexpectedInputDelta(int256 inputDelta);\n\n/**\n * @title Vault - ERC6909-compliant multi-token vault\n * @dev Implements ERC6909 for managing user token balances within the router.\n * Users can deposit tokens, use them for swaps, and withdraw them.\n */\nabstract contract Vault is ERC6909, ReentrancyGuard, Pausable {\n    using SafeERC20 for IERC20;\n\n    // Vault balances - using our own mapping to avoid expensive Transfer events from ERC6909\n    mapping(address => mapping(uint256 => uint256)) private _vaultBalances;\n\n    // Transient storage slot for tracking deltas during swap sequences\n    // keccak256(\"TychoVault#NON_ZERO_DELTA_COUNT_SLOT\")\n    uint256 private constant _NON_ZERO_DELTA_COUNT_SLOT =\n        0xee3c9c434505299f2450d3624302a27b8a6978e973825330bc744ba925eec199;\n    // keccak256(\"Vault#USE_VAULT_SLOT\")\n    uint256 internal constant _USE_VAULT_SLOT =\n        0xce5ffa91873ede1b462af74ea59bab3721b06b0ff726b90311437efde2001795;\n\n    // ============ ERC6909 Overrides and Extensions ============\n\n    /**\n     * @dev Override balanceOf to use our own mapping instead of ERC6909's\n     *\n     */\n    function balanceOf(address owner, uint256 id)\n        public\n        view\n        virtual\n        override\n        returns (uint256)\n    {\n        return _vaultBalances[owner][id];\n    }\n\n    /**\n     * @dev Rewrite _update to use our own mapping and avoid emitting Transfer events\n     */\n    function _updateWithoutEvent(\n        address from,\n        address to,\n        uint256 id,\n        uint256 amount\n    ) internal virtual {\n        if (from != address(0)) {\n            uint256 fromBalance = _vaultBalances[from][id];\n            if (fromBalance < amount) {\n                revert ERC6909.ERC6909InsufficientBalance(\n                    from, fromBalance, amount, id\n                );\n            }\n            unchecked {\n                // Overflow not possible: amount <= fromBalance.\n                _vaultBalances[from][id] = fromBalance - amount;\n            }\n        }\n        if (to != address(0)) {\n            _vaultBalances[to][id] += amount;\n        }\n        // Note: We intentionally do NOT emit Transfer events to save gas\n    }\n\n    /**\n     * @dev Override _update to use our own mapping and emit Transfer events\n     * This is called by all balance-changing operations (transfer, mint, etc.)\n     */\n    function _update(address from, address to, uint256 id, uint256 amount)\n        internal\n        virtual\n        override\n    {\n        _updateWithoutEvent(from, to, id, amount);\n        emit Transfer(msg.sender, from, to, id, amount);\n    }\n\n    /**\n     * @dev Create new _mint that does not emit a Transfer event. This should be used by inner methods of the\n     * TychoRouterV3 to save gas during swapping.\n     */\n    function _mintWithoutEvent(address to, uint256 id, uint256 amount)\n        internal\n    {\n        if (to == address(0)) {\n            revert ERC6909InvalidReceiver(address(0));\n        }\n        _updateWithoutEvent(address(0), to, id, amount);\n    }\n\n    // ============ ERC6909 Vault Functions ============\n\n    /**\n     * @notice Deposit tokens into the vault for the caller\n     * @param token The token address to deposit (use ETH_ADDRESS for native ETH)\n     * @param amount The amount to deposit\n     */\n    function deposit(address token, uint256 amount)\n        external\n        payable\n        whenNotPaused\n        nonReentrant\n    {\n        if (token == address(0)) {\n            revert Vault__AddressZero();\n        }\n        if (amount == 0) {\n            revert Vault__AmountZero();\n        }\n\n        uint256 id = _toId(token);\n\n        if (token == ETH_ADDRESS) {\n            // Native ETH deposit\n            require(msg.value == amount, \"Value mismatch\");\n            _mint(msg.sender, id, amount);\n        } else {\n            require(msg.value == 0, \"ETH not accepted for ERC20 deposit\");\n            // ERC20 deposit - transfer to this contract and measure actual received\n            // amount to handle  fee-on-transfer and rebasing tokens\n            uint256 balanceBefore = IERC20(token).balanceOf(address(this));\n            IERC20(token).safeTransferFrom(msg.sender, address(this), amount);\n            uint256 received =\n                IERC20(token).balanceOf(address(this)) - balanceBefore;\n            _mint(msg.sender, id, received);\n        }\n    }\n\n    /**\n     * @notice Withdraw tokens from the vault\n     * @param token The token to withdraw\n     * @param amount The amount to withdraw\n     */\n    function withdraw(address token, uint256 amount) external nonReentrant {\n        if (token == address(0)) {\n            revert Vault__AddressZero();\n        }\n        if (amount == 0) {\n            revert Vault__AmountZero();\n        }\n\n        uint256 id = _toId(token);\n        uint256 balance = balanceOf(msg.sender, id);\n        if (balance < amount) {\n            revert Vault__InsufficientBalance(\n                msg.sender, token, amount, balance\n            );\n        }\n\n        _burn(msg.sender, id, amount);\n\n        // Transfer tokens from contract to user\n        if (token == ETH_ADDRESS) {\n            Address.sendValue(payable(msg.sender), amount);\n        } else {\n            IERC20(token).safeTransfer(msg.sender, amount);\n        }\n    }\n\n    // ============ Tracking deltas methods ============\n\n    /**\n     * @dev Internal helper to get transient storage slot for a token delta\n     * @notice Only needs token since transient storage is scoped to current transaction's sender\n     */\n    function _getDeltaSlot(address token) private pure returns (uint256 slot) {\n        slot = uint256(keccak256(abi.encodePacked(token, \"TychoVault#DELTA\")));\n        return slot;\n    }\n\n    /**\n     * @dev Get the current delta from transient storage\n     * @notice Only needs token since transient storage is scoped to current transaction's sender\n     */\n    // Assembly required for transient storage operations (tload)\n    function _getDelta(address token) internal view returns (int256 delta) {\n        uint256 slot = _getDeltaSlot(token);\n        // slither-disable-next-line assembly\n        assembly {\n            delta := tload(slot)\n        }\n    }\n\n    /**\n     * @dev Set the delta in transient storage\n     */\n    // Assembly required for transient storage operations (tstore)\n    function _setDelta(address token, int256 delta) internal {\n        uint256 slot = _getDeltaSlot(token);\n        // slither-disable-next-line assembly\n        assembly {\n            tstore(slot, delta)\n        }\n    }\n\n    /**\n     * @dev Get non zero delta count from transient storage\n     */\n    // Assembly required for transient storage operations (tload)\n    function _getNonZeroDeltaCount() internal view returns (uint256 count) {\n        // slither-disable-next-line assembly\n        assembly {\n            count := tload(_NON_ZERO_DELTA_COUNT_SLOT)\n        }\n    }\n\n    /**\n     * @dev Set non zero delta count in transient storage\n     */\n    // Assembly required for transient storage operations (tstore)\n    function _setNonZeroDeltaCount(uint256 count) internal {\n        // slither-disable-next-line assembly\n        assembly {\n            tstore(_NON_ZERO_DELTA_COUNT_SLOT, count)\n        }\n    }\n\n    /**\n     * @dev Get the USE_VAULT flag from transient storage\n     */\n    // Assembly required for transient storage operations (tload)\n    function _getUseVault() internal view virtual returns (bool) {\n        uint256 useVault;\n        // slither-disable-next-line assembly\n        assembly {\n            useVault := tload(_USE_VAULT_SLOT)\n        }\n        return useVault == 1;\n    }\n\n    /**\n     * @dev Update delta accounting (transient storage)\n     * @notice Only needs token since transient storage is scoped to current transaction's sender\n     * @param token The token to update\n     * @param deltaChange The change to apply (positive to credit, negative to debit)\n     */\n    function _updateDeltaAccounting(address token, int256 deltaChange)\n        internal\n        virtual\n    {\n        // slither-disable-next-line incorrect-equality\n        if (deltaChange == 0) return;\n\n        int256 oldDelta = _getDelta(token);\n        int256 newDelta = oldDelta + deltaChange;\n\n        // Update non zero delta counter based on transitions\n        // slither-disable-next-line incorrect-equality\n        if (oldDelta != 0 && newDelta == 0) {\n            // Was non zero, now zero: decrement counter\n            _setNonZeroDeltaCount(_getNonZeroDeltaCount() - 1);\n            // slither-disable-next-line incorrect-equality\n        } else if (oldDelta == 0 && newDelta != 0) {\n            // Was zero, now non zero: increment counter\n            _setNonZeroDeltaCount(_getNonZeroDeltaCount() + 1);\n        }\n\n        _setDelta(token, newDelta);\n    }\n\n    // ============ Vault accounting ============\n\n    /**\n     * @dev Internal helper to debit user's actual vault balance (persistent storage)\n     * @notice This debits the persistent vault balance and emits a Transfer event\n     */\n    function _debitVault(address user, address token, uint256 amount)\n        internal\n        virtual\n    {\n        // slither-disable-next-line incorrect-equality\n        if (amount == 0) return;\n\n        uint256 id = _toId(token);\n        uint256 balance = balanceOf(user, id);\n\n        if (balance < amount) {\n            revert Vault__InsufficientBalance(user, token, amount, balance);\n        }\n        _burn(user, id, amount);\n    }\n\n    /**\n     * @dev Internal helper to credit user's actual vault balance (persistent storage)\n     * @notice This credits the persistent vault balance and emits a Transfer event\n     */\n    function _creditVault(address user, address token, uint256 amount)\n        internal\n        virtual\n    {\n        // slither-disable-next-line incorrect-equality\n        if (amount == 0) return;\n\n        uint256 id = _toId(token);\n\n        _mint(user, id, amount);\n    }\n\n    /**\n     * @dev Internal helper to credit user's actual vault balance (persistent storage)\n     * @notice This debits the persistent vault balance and does not emit an event.\n     * Should be used for fee taking because an extra event is emitted in this case.\n     *\n     */\n    function _creditVaultForFees(address user, address token, uint256 amount)\n        internal\n        virtual\n    {\n        // slither-disable-next-line incorrect-equality\n        if (amount == 0) return;\n\n        uint256 id = _toId(token);\n\n        _mintWithoutEvent(user, id, amount);\n    }\n\n    /**\n     * @dev Finalizes the input transient delta to persistent storage\n     * @dev Verifies that only the input token has a negative delta and burns the vault balance\n     * @param user The user whose deltas should be finalized\n     * @param inputToken The expected input token\n     * @param inputAmount The expected input amount\n     */\n    function _finalizeBalances(\n        address user,\n        address inputToken,\n        uint256 inputAmount\n    ) internal {\n        uint256 nonZeroCount = _getNonZeroDeltaCount();\n        bool useVault = _getUseVault();\n\n        if (useVault) {\n            // When vault usage is allowed, allow a single negative delta\n            // Check that there is only one negative delta: the input token\n            if (nonZeroCount > 1) {\n                revert Vault__UnexpectedNonZeroCount(nonZeroCount);\n            } else if (nonZeroCount == 1) {\n                int256 inputDelta = _getDelta(inputToken);\n                // slither-disable-next-line incorrect-equality\n                if (inputDelta == 0 || inputDelta != -int256(inputAmount)) {\n                    revert Vault__UnexpectedInputDelta(inputDelta);\n                }\n                uint256 id = _toId(inputToken);\n                _burn(user, id, inputAmount);\n                _setDelta(inputToken, 0);\n                _setNonZeroDeltaCount(0);\n            }\n        } else {\n            // When vault usage is NOT allowed, all deltas must be zero\n            if (nonZeroCount > 0) {\n                revert Vault__UnexpectedNonZeroCount(nonZeroCount);\n            }\n        }\n    }\n\n    // ============ Utils methods ============\n\n    /**\n     * @dev Converts a token address to an ID\n     */\n    function _toId(address token) internal view virtual returns (uint256) {\n        return uint256(uint160(token));\n    }\n}\n"}},"compilation":{"language":"Solidity","compiler":"solc","compilerVersion":"0.8.33+commit.64118f21","compilerSettings":{"viaIR":true,"optimizer":{"runs":1000,"enabled":true},"evmVersion":"cancun"},"name":"TychoRouterV3","fullyQualifiedName":"src/TychoRouterV3.sol:TychoRouterV3"},"abi":[{"type":"constructor","inputs":[{"name":"permit2_","type":"address","internalType":"address"},{"name":"feeCalculator","type":"address","internalType":"address"},{"name":"pauserAdmin","type":"address","internalType":"address"},{"name":"unpauserAdmin","type":"address","internalType":"address"},{"name":"executorSetterAdmin","type":"address","internalType":"address"},{"name":"routerFeeSetterAdmin","type":"address","internalType":"address"}],"stateMutability":"nonpayable"},{"name":"AccessControlBadConfirmation","type":"error","inputs":[]},{"name":"AccessControlUnauthorizedAccount","type":"error","inputs":[{"name":"account","type":"address","internalType":"address"},{"name":"neededRole","type":"bytes32","internalType":"bytes32"}]},{"name":"Dispatcher__CallbackReverted","type":"error","inputs":[{"name":"executor","type":"address","internalType":"address"}]},{"name":"Dispatcher__ExecutorAlreadyExists","type":"error","inputs":[{"name":"executor","type":"address","internalType":"address"}]},{"name":"Dispatcher__ExecutorIsTimelocked","type":"error","inputs":[{"name":"executor","type":"address","internalType":"address"}]},{"name":"Dispatcher__NonContractExecutor","type":"error","inputs":[]},{"name":"Dispatcher__SwapReverted","type":"error","inputs":[{"name":"executor","type":"address","internalType":"address"}]},{"name":"Dispatcher__UnapprovedExecutor","type":"error","inputs":[{"name":"executor","type":"address","internalType":"address"}]},{"name":"Dispatcher__UnsupportedSingleHopCycle","type":"error","inputs":[{"name":"token","type":"address","internalType":"address"}]},{"name":"ERC6909InsufficientAllowance","type":"error","inputs":[{"name":"spender","type":"address","internalType":"address"},{"name":"allowance","type":"uint256","internalType":"uint256"},{"name":"needed","type":"uint256","internalType":"uint256"},{"name":"id","type":"uint256","internalType":"uint256"}]},{"name":"ERC6909InsufficientBalance","type":"error","inputs":[{"name":"sender","type":"address","internalType":"address"},{"name":"balance","type":"uint256","internalType":"uint256"},{"name":"needed","type":"uint256","internalType":"uint256"},{"name":"id","type":"uint256","internalType":"uint256"}]},{"name":"ERC6909InvalidApprover","type":"error","inputs":[{"name":"approver","type":"address","internalType":"address"}]},{"name":"ERC6909InvalidReceiver","type":"error","inputs":[{"name":"receiver","type":"address","internalType":"address"}]},{"name":"ERC6909InvalidSender","type":"error","inputs":[{"name":"sender","type":"address","internalType":"address"}]},{"name":"ERC6909InvalidSpender","type":"error","inputs":[{"name":"spender","type":"address","internalType":"address"}]},{"name":"EnforcedPause","type":"error","inputs":[]},{"name":"ExpectedPause","type":"error","inputs":[]},{"name":"FailedCall","type":"error","inputs":[]},{"name":"InsufficientBalance","type":"error","inputs":[{"name":"balance","type":"uint256","internalType":"uint256"},{"name":"needed","type":"uint256","internalType":"uint256"}]},{"name":"InvalidShortString","type":"error","inputs":[]},{"name":"ReentrancyGuardReentrantCall","type":"error","inputs":[]},{"name":"SafeERC20FailedOperation","type":"error","inputs":[{"name":"token","type":"address","internalType":"address"}]},{"name":"StringTooLong","type":"error","inputs":[{"name":"str","type":"string","internalType":"string"}]},{"name":"TransferManager__DifferentTokenIn","type":"error","inputs":[{"name":"tokenIn","type":"address","internalType":"address"},{"name":"tokenInStorage","type":"address","internalType":"address"}]},{"name":"TransferManager__ExceededTransferFromAllowance","type":"error","inputs":[{"name":"allowedAmount","type":"uint256","internalType":"uint256"},{"name":"amountAttempted","type":"uint256","internalType":"uint256"}]},{"name":"TransferManager__NotAContract","type":"error","inputs":[{"name":"addr","type":"address","internalType":"address"}]},{"name":"TransferManager__UnknownTransferType","type":"error","inputs":[]},{"name":"TychoRouter__AddressZero","type":"error","inputs":[]},{"name":"TychoRouter__AmountOutZero","type":"error","inputs":[]},{"name":"TychoRouter__EmptySwaps","type":"error","inputs":[]},{"name":"TychoRouter__ExpiredClientSignature","type":"error","inputs":[{"name":"deadline","type":"uint256","internalType":"uint256"},{"name":"blockTimestamp","type":"uint256","internalType":"uint256"}]},{"name":"TychoRouter__FeesExceedOutput","type":"error","inputs":[{"name":"totalFees","type":"uint256","internalType":"uint256"},{"name":"actualAmountOut","type":"uint256","internalType":"uint256"}]},{"name":"TychoRouter__InvalidClientSignature","type":"error","inputs":[]},{"name":"TychoRouter__InvalidMinAmountOut","type":"error","inputs":[{"name":"minAmountOut","type":"uint256","internalType":"uint256"},{"name":"expectedAmountOut","type":"uint256","internalType":"uint256"}]},{"name":"TychoRouter__MsgValueDoesNotMatchAmountIn","type":"error","inputs":[{"name":"msgValue","type":"uint256","internalType":"uint256"},{"name":"amountIn","type":"uint256","internalType":"uint256"}]},{"name":"TychoRouter__NegativeOutputDelta","type":"error","inputs":[{"name":"amount","type":"int256","internalType":"int256"}]},{"name":"TychoRouter__NegativeSlippage","type":"error","inputs":[{"name":"amount","type":"uint256","internalType":"uint256"},{"name":"minAmount","type":"uint256","internalType":"uint256"}]},{"name":"TychoRouter__NoPendingFeeCalculator","type":"error","inputs":[]},{"name":"TychoRouter__NotAContract","type":"error","inputs":[{"name":"addr","type":"address","internalType":"address"}]},{"name":"TychoRouter__TimelockNotExpired","type":"error","inputs":[{"name":"activationTimestamp","type":"uint256","internalType":"uint256"},{"name":"blockTimestamp","type":"uint256","internalType":"uint256"}]},{"name":"TychoRouter__ZeroInput","type":"error","inputs":[]},{"name":"Vault__AddressZero","type":"error","inputs":[]},{"name":"Vault__AmountZero","type":"error","inputs":[]},{"name":"Vault__InsufficientBalance","type":"error","inputs":[{"name":"user","type":"address","internalType":"address"},{"name":"token","type":"address","internalType":"address"},{"name":"requested","type":"uint256","internalType":"uint256"},{"name":"available","type":"uint256","internalType":"uint256"}]},{"name":"Vault__UnexpectedInputDelta","type":"error","inputs":[{"name":"inputDelta","type":"int256","internalType":"int256"}]},{"name":"Vault__UnexpectedNonZeroCount","type":"error","inputs":[{"name":"nonZeroCount","type":"uint256","internalType":"uint256"}]},{"name":"Approval","type":"event","inputs":[{"name":"owner","type":"address","indexed":true,"internalType":"address"},{"name":"spender","type":"address","indexed":true,"internalType":"address"},{"name":"id","type":"uint256","indexed":true,"internalType":"uint256"},{"name":"amount","type":"uint256","indexed":false,"internalType":"uint256"}],"anonymous":false},{"name":"EIP712DomainChanged","type":"event","inputs":[],"anonymous":false},{"name":"ExecutorRemoved","type":"event","inputs":[{"name":"executor","type":"address","indexed":true,"internalType":"address"}],"anonymous":false},{"name":"ExecutorSet","type":"event","inputs":[{"name":"executor","type":"address","indexed":true,"internalType":"address"},{"name":"timelockExpiresAt","type":"uint256","indexed":false,"internalType":"uint256"}],"anonymous":false},{"name":"FeeCalculatorActivated","type":"event","inputs":[{"name":"oldCalculator","type":"address","indexed":true,"internalType":"address"},{"name":"newCalculator","type":"address","indexed":true,"internalType":"address"}],"anonymous":false},{"name":"FeeCalculatorSet","type":"event","inputs":[{"name":"feeCalculator","type":"address","indexed":true,"internalType":"address"},{"name":"timelockExpiresAt","type":"uint256","indexed":false,"internalType":"uint256"}],"anonymous":false},{"name":"FeesTaken","type":"event","inputs":[{"name":"token","type":"address","indexed":true,"internalType":"address"},{"name":"fees","type":"tuple[]","indexed":false,"components":[{"name":"recipient","type":"address","internalType":"address"},{"name":"feeAmount","type":"uint256","internalType":"uint256"}],"internalType":"struct FeeRecipient[]"}],"anonymous":false},{"name":"OperatorSet","type":"event","inputs":[{"name":"owner","type":"address","indexed":true,"internalType":"address"},{"name":"spender","type":"address","indexed":true,"internalType":"address"},{"name":"approved","type":"bool","indexed":false,"internalType":"bool"}],"anonymous":false},{"name":"Paused","type":"event","inputs":[{"name":"account","type":"address","indexed":false,"internalType":"address"}],"anonymous":false},{"name":"RoleAdminChanged","type":"event","inputs":[{"name":"role","type":"bytes32","indexed":true,"internalType":"bytes32"},{"name":"previousAdminRole","type":"bytes32","indexed":true,"internalType":"bytes32"},{"name":"newAdminRole","type":"bytes32","indexed":true,"internalType":"bytes32"}],"anonymous":false},{"name":"RoleGranted","type":"event","inputs":[{"name":"role","type":"bytes32","indexed":true,"internalType":"bytes32"},{"name":"account","type":"address","indexed":true,"internalType":"address"},{"name":"sender","type":"address","indexed":true,"internalType":"address"}],"anonymous":false},{"name":"RoleRevoked","type":"event","inputs":[{"name":"role","type":"bytes32","indexed":true,"internalType":"bytes32"},{"name":"account","type":"address","indexed":true,"internalType":"address"},{"name":"sender","type":"address","indexed":true,"internalType":"address"}],"anonymous":false},{"name":"Transfer","type":"event","inputs":[{"name":"caller","type":"address","indexed":false,"internalType":"address"},{"name":"sender","type":"address","indexed":true,"internalType":"address"},{"name":"receiver","type":"address","indexed":true,"internalType":"address"},{"name":"id","type":"uint256","indexed":true,"internalType":"uint256"},{"name":"amount","type":"uint256","indexed":false,"internalType":"uint256"}],"anonymous":false},{"name":"Unpaused","type":"event","inputs":[{"name":"account","type":"address","indexed":false,"internalType":"address"}],"anonymous":false},{"name":"Withdrawal","type":"event","inputs":[{"name":"token","type":"address","indexed":true,"internalType":"address"},{"name":"amount","type":"uint256","indexed":false,"internalType":"uint256"},{"name":"receiver","type":"address","indexed":true,"internalType":"address"}],"anonymous":false},{"type":"fallback","stateMutability":"nonpayable"},{"name":"CLIENT_FEE_TYPEHASH","type":"function","inputs":[],"outputs":[{"name":"","type":"bytes32","internalType":"bytes32"}],"stateMutability":"view"},{"name":"DEFAULT_ADMIN_ROLE","type":"function","inputs":[],"outputs":[{"name":"","type":"bytes32","internalType":"bytes32"}],"stateMutability":"view"},{"name":"DELAY_EXECUTOR_ACTIVATION","type":"function","inputs":[],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"DELAY_FEE_CALCULATOR_ACTIVATION","type":"function","inputs":[],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"EXECUTOR_SETTER_ROLE","type":"function","inputs":[],"outputs":[{"name":"","type":"bytes32","internalType":"bytes32"}],"stateMutability":"view"},{"name":"PAUSER_ROLE","type":"function","inputs":[],"outputs":[{"name":"","type":"bytes32","internalType":"bytes32"}],"stateMutability":"view"},{"name":"ROUTER_FEE_SETTER_ROLE","type":"function","inputs":[],"outputs":[{"name":"","type":"bytes32","internalType":"bytes32"}],"stateMutability":"view"},{"name":"UNPAUSER_ROLE","type":"function","inputs":[],"outputs":[{"name":"","type":"bytes32","internalType":"bytes32"}],"stateMutability":"view"},{"name":"activateFeeCalculator","type":"function","inputs":[],"outputs":[],"stateMutability":"nonpayable"},{"name":"allowance","type":"function","inputs":[{"name":"owner","type":"address","internalType":"address"},{"name":"spender","type":"address","internalType":"address"},{"name":"id","type":"uint256","internalType":"uint256"}],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"approve","type":"function","inputs":[{"name":"spender","type":"address","internalType":"address"},{"name":"id","type":"uint256","internalType":"uint256"},{"name":"amount","type":"uint256","internalType":"uint256"}],"outputs":[{"name":"","type":"bool","internalType":"bool"}],"stateMutability":"nonpayable"},{"name":"balanceOf","type":"function","inputs":[{"name":"owner","type":"address","internalType":"address"},{"name":"id","type":"uint256","internalType":"uint256"}],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"deposit","type":"function","inputs":[{"name":"token","type":"address","internalType":"address"},{"name":"amount","type":"uint256","internalType":"uint256"}],"outputs":[],"stateMutability":"payable"},{"name":"eip712Domain","type":"function","inputs":[],"outputs":[{"name":"fields","type":"bytes1","internalType":"bytes1"},{"name":"name","type":"string","internalType":"string"},{"name":"version","type":"string","internalType":"string"},{"name":"chainId","type":"uint256","internalType":"uint256"},{"name":"verifyingContract","type":"address","internalType":"address"},{"name":"salt","type":"bytes32","internalType":"bytes32"},{"name":"extensions","type":"uint256[]","internalType":"uint256[]"}],"stateMutability":"view"},{"name":"executorsActivationTimestamp","type":"function","inputs":[{"name":"","type":"address","internalType":"address"}],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"getFeeCalculator","type":"function","inputs":[],"outputs":[{"name":"","type":"address","internalType":"address"}],"stateMutability":"view"},{"name":"getPendingFeeCalculator","type":"function","inputs":[],"outputs":[{"name":"","type":"address","internalType":"address"},{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"getRoleAdmin","type":"function","inputs":[{"name":"role","type":"bytes32","internalType":"bytes32"}],"outputs":[{"name":"","type":"bytes32","internalType":"bytes32"}],"stateMutability":"view"},{"name":"grantRole","type":"function","inputs":[{"name":"role","type":"bytes32","internalType":"bytes32"},{"name":"account","type":"address","internalType":"address"}],"outputs":[],"stateMutability":"nonpayable"},{"name":"hasRole","type":"function","inputs":[{"name":"role","type":"bytes32","internalType":"bytes32"},{"name":"account","type":"address","internalType":"address"}],"outputs":[{"name":"","type":"bool","internalType":"bool"}],"stateMutability":"view"},{"name":"isOperator","type":"function","inputs":[{"name":"owner","type":"address","internalType":"address"},{"name":"spender","type":"address","internalType":"address"}],"outputs":[{"name":"","type":"bool","internalType":"bool"}],"stateMutability":"view"},{"name":"pause","type":"function","inputs":[],"outputs":[],"stateMutability":"nonpayable"},{"name":"paused","type":"function","inputs":[],"outputs":[{"name":"","type":"bool","internalType":"bool"}],"stateMutability":"view"},{"name":"permit2","type":"function","inputs":[],"outputs":[{"name":"","type":"address","internalType":"contract IAllowanceTransfer"}],"stateMutability":"view"},{"name":"removeExecutor","type":"function","inputs":[{"name":"target","type":"address","internalType":"address"}],"outputs":[],"stateMutability":"nonpayable"},{"name":"renounceRole","type":"function","inputs":[{"name":"role","type":"bytes32","internalType":"bytes32"},{"name":"callerConfirmation","type":"address","internalType":"address"}],"outputs":[],"stateMutability":"nonpayable"},{"name":"revokeRole","type":"function","inputs":[{"name":"role","type":"bytes32","internalType":"bytes32"},{"name":"account","type":"address","internalType":"address"}],"outputs":[],"stateMutability":"nonpayable"},{"name":"sequentialSwap","type":"function","inputs":[{"name":"amountIn","type":"uint256","internalType":"uint256"},{"name":"tokenIn","type":"address","internalType":"address"},{"name":"tokenOut","type":"address","internalType":"address"},{"name":"expectedAmountOut","type":"uint256","internalType":"uint256"},{"name":"minAmountOut","type":"uint256","internalType":"uint256"},{"name":"receiver","type":"address","internalType":"address"},{"name":"clientFeeParams","type":"tuple","components":[{"name":"clientFeeBps","type":"uint32","internalType":"uint32"},{"name":"clientFeeReceiver","type":"address","internalType":"address"},{"name":"maxClientContribution","type":"uint256","internalType":"uint256"},{"name":"deadline","type":"uint256","internalType":"uint256"},{"name":"clientSignature","type":"bytes","internalType":"bytes"}],"internalType":"struct ClientFeeParams"},{"name":"swaps","type":"bytes","internalType":"bytes"}],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"payable"},{"name":"sequentialSwapPermit2","type":"function","inputs":[{"name":"amountIn","type":"uint256","internalType":"uint256"},{"name":"tokenIn","type":"address","internalType":"address"},{"name":"tokenOut","type":"address","internalType":"address"},{"name":"expectedAmountOut","type":"uint256","internalType":"uint256"},{"name":"minAmountOut","type":"uint256","internalType":"uint256"},{"name":"receiver","type":"address","internalType":"address"},{"name":"clientFeeParams","type":"tuple","components":[{"name":"clientFeeBps","type":"uint32","internalType":"uint32"},{"name":"clientFeeReceiver","type":"address","internalType":"address"},{"name":"maxClientContribution","type":"uint256","internalType":"uint256"},{"name":"deadline","type":"uint256","internalType":"uint256"},{"name":"clientSignature","type":"bytes","internalType":"bytes"}],"internalType":"struct ClientFeeParams"},{"name":"permitSingle","type":"tuple","components":[{"name":"details","type":"tuple","components":[{"name":"token","type":"address","internalType":"address"},{"name":"amount","type":"uint160","internalType":"uint160"},{"name":"expiration","type":"uint48","internalType":"uint48"},{"name":"nonce","type":"uint48","internalType":"uint48"}],"internalType":"struct IAllowanceTransfer.PermitDetails"},{"name":"spender","type":"address","internalType":"address"},{"name":"sigDeadline","type":"uint256","internalType":"uint256"}],"internalType":"struct IAllowanceTransfer.PermitSingle"},{"name":"signature","type":"bytes","internalType":"bytes"},{"name":"swaps","type":"bytes","internalType":"bytes"}],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"nonpayable"},{"name":"sequentialSwapUsingVault","type":"function","inputs":[{"name":"amountIn","type":"uint256","internalType":"uint256"},{"name":"tokenIn","type":"address","internalType":"address"},{"name":"tokenOut","type":"address","internalType":"address"},{"name":"expectedAmountOut","type":"uint256","internalType":"uint256"},{"name":"minAmountOut","type":"uint256","internalType":"uint256"},{"name":"receiver","type":"address","internalType":"address"},{"name":"clientFeeParams","type":"tuple","components":[{"name":"clientFeeBps","type":"uint32","internalType":"uint32"},{"name":"clientFeeReceiver","type":"address","internalType":"address"},{"name":"maxClientContribution","type":"uint256","internalType":"uint256"},{"name":"deadline","type":"uint256","internalType":"uint256"},{"name":"clientSignature","type":"bytes","internalType":"bytes"}],"internalType":"struct ClientFeeParams"},{"name":"swaps","type":"bytes","internalType":"bytes"}],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"nonpayable"},{"name":"setExecutors","type":"function","inputs":[{"name":"targets","type":"address[]","internalType":"address[]"}],"outputs":[],"stateMutability":"nonpayable"},{"name":"setFeeCalculator","type":"function","inputs":[{"name":"feeCalculator","type":"address","internalType":"address"}],"outputs":[],"stateMutability":"nonpayable"},{"name":"setOperator","type":"function","inputs":[{"name":"spender","type":"address","internalType":"address"},{"name":"approved","type":"bool","internalType":"bool"}],"outputs":[{"name":"","type":"bool","internalType":"bool"}],"stateMutability":"nonpayable"},{"name":"singleSwap","type":"function","inputs":[{"name":"amountIn","type":"uint256","internalType":"uint256"},{"name":"tokenIn","type":"address","internalType":"address"},{"name":"tokenOut","type":"address","internalType":"address"},{"name":"expectedAmountOut","type":"uint256","internalType":"uint256"},{"name":"minAmountOut","type":"uint256","internalType":"uint256"},{"name":"receiver","type":"address","internalType":"address"},{"name":"clientFeeParams","type":"tuple","components":[{"name":"clientFeeBps","type":"uint32","internalType":"uint32"},{"name":"clientFeeReceiver","type":"address","internalType":"address"},{"name":"maxClientContribution","type":"uint256","internalType":"uint256"},{"name":"deadline","type":"uint256","internalType":"uint256"},{"name":"clientSignature","type":"bytes","internalType":"bytes"}],"internalType":"struct ClientFeeParams"},{"name":"swapData","type":"bytes","internalType":"bytes"}],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"payable"},{"name":"singleSwapPermit2","type":"function","inputs":[{"name":"amountIn","type":"uint256","internalType":"uint256"},{"name":"tokenIn","type":"address","internalType":"address"},{"name":"tokenOut","type":"address","internalType":"address"},{"name":"expectedAmountOut","type":"uint256","internalType":"uint256"},{"name":"minAmountOut","type":"uint256","internalType":"uint256"},{"name":"receiver","type":"address","internalType":"address"},{"name":"clientFeeParams","type":"tuple","components":[{"name":"clientFeeBps","type":"uint32","internalType":"uint32"},{"name":"clientFeeReceiver","type":"address","internalType":"address"},{"name":"maxClientContribution","type":"uint256","internalType":"uint256"},{"name":"deadline","type":"uint256","internalType":"uint256"},{"name":"clientSignature","type":"bytes","internalType":"bytes"}],"internalType":"struct ClientFeeParams"},{"name":"permitSingle","type":"tuple","components":[{"name":"details","type":"tuple","components":[{"name":"token","type":"address","internalType":"address"},{"name":"amount","type":"uint160","internalType":"uint160"},{"name":"expiration","type":"uint48","internalType":"uint48"},{"name":"nonce","type":"uint48","internalType":"uint48"}],"internalType":"struct IAllowanceTransfer.PermitDetails"},{"name":"spender","type":"address","internalType":"address"},{"name":"sigDeadline","type":"uint256","internalType":"uint256"}],"internalType":"struct IAllowanceTransfer.PermitSingle"},{"name":"signature","type":"bytes","internalType":"bytes"},{"name":"swapData","type":"bytes","internalType":"bytes"}],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"nonpayable"},{"name":"singleSwapUsingVault","type":"function","inputs":[{"name":"amountIn","type":"uint256","internalType":"uint256"},{"name":"tokenIn","type":"address","internalType":"address"},{"name":"tokenOut","type":"address","internalType":"address"},{"name":"expectedAmountOut","type":"uint256","internalType":"uint256"},{"name":"minAmountOut","type":"uint256","internalType":"uint256"},{"name":"receiver","type":"address","internalType":"address"},{"name":"clientFeeParams","type":"tuple","components":[{"name":"clientFeeBps","type":"uint32","internalType":"uint32"},{"name":"clientFeeReceiver","type":"address","internalType":"address"},{"name":"maxClientContribution","type":"uint256","internalType":"uint256"},{"name":"deadline","type":"uint256","internalType":"uint256"},{"name":"clientSignature","type":"bytes","internalType":"bytes"}],"internalType":"struct ClientFeeParams"},{"name":"swapData","type":"bytes","internalType":"bytes"}],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"nonpayable"},{"name":"splitSwap","type":"function","inputs":[{"name":"amountIn","type":"uint256","internalType":"uint256"},{"name":"tokenIn","type":"address","internalType":"address"},{"name":"tokenOut","type":"address","internalType":"address"},{"name":"expectedAmountOut","type":"uint256","internalType":"uint256"},{"name":"minAmountOut","type":"uint256","internalType":"uint256"},{"name":"nTokens","type":"uint256","internalType":"uint256"},{"name":"receiver","type":"address","internalType":"address"},{"name":"clientFeeParams","type":"tuple","components":[{"name":"clientFeeBps","type":"uint32","internalType":"uint32"},{"name":"clientFeeReceiver","type":"address","internalType":"address"},{"name":"maxClientContribution","type":"uint256","internalType":"uint256"},{"name":"deadline","type":"uint256","internalType":"uint256"},{"name":"clientSignature","type":"bytes","internalType":"bytes"}],"internalType":"struct ClientFeeParams"},{"name":"swaps","type":"bytes","internalType":"bytes"}],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"payable"},{"name":"splitSwapPermit2","type":"function","inputs":[{"name":"amountIn","type":"uint256","internalType":"uint256"},{"name":"tokenIn","type":"address","internalType":"address"},{"name":"tokenOut","type":"address","internalType":"address"},{"name":"expectedAmountOut","type":"uint256","internalType":"uint256"},{"name":"minAmountOut","type":"uint256","internalType":"uint256"},{"name":"nTokens","type":"uint256","internalType":"uint256"},{"name":"receiver","type":"address","internalType":"address"},{"name":"clientFeeParams","type":"tuple","components":[{"name":"clientFeeBps","type":"uint32","internalType":"uint32"},{"name":"clientFeeReceiver","type":"address","internalType":"address"},{"name":"maxClientContribution","type":"uint256","internalType":"uint256"},{"name":"deadline","type":"uint256","internalType":"uint256"},{"name":"clientSignature","type":"bytes","internalType":"bytes"}],"internalType":"struct ClientFeeParams"},{"name":"permitSingle","type":"tuple","components":[{"name":"details","type":"tuple","components":[{"name":"token","type":"address","internalType":"address"},{"name":"amount","type":"uint160","internalType":"uint160"},{"name":"expiration","type":"uint48","internalType":"uint48"},{"name":"nonce","type":"uint48","internalType":"uint48"}],"internalType":"struct IAllowanceTransfer.PermitDetails"},{"name":"spender","type":"address","internalType":"address"},{"name":"sigDeadline","type":"uint256","internalType":"uint256"}],"internalType":"struct IAllowanceTransfer.PermitSingle"},{"name":"signature","type":"bytes","internalType":"bytes"},{"name":"swaps","type":"bytes","internalType":"bytes"}],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"nonpayable"},{"name":"splitSwapUsingVault","type":"function","inputs":[{"name":"amountIn","type":"uint256","internalType":"uint256"},{"name":"tokenIn","type":"address","internalType":"address"},{"name":"tokenOut","type":"address","internalType":"address"},{"name":"expectedAmountOut","type":"uint256","internalType":"uint256"},{"name":"minAmountOut","type":"uint256","internalType":"uint256"},{"name":"nTokens","type":"uint256","internalType":"uint256"},{"name":"receiver","type":"address","internalType":"address"},{"name":"clientFeeParams","type":"tuple","components":[{"name":"clientFeeBps","type":"uint32","internalType":"uint32"},{"name":"clientFeeReceiver","type":"address","internalType":"address"},{"name":"maxClientContribution","type":"uint256","internalType":"uint256"},{"name":"deadline","type":"uint256","internalType":"uint256"},{"name":"clientSignature","type":"bytes","internalType":"bytes"}],"internalType":"struct ClientFeeParams"},{"name":"swaps","type":"bytes","internalType":"bytes"}],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"nonpayable"},{"name":"supportsInterface","type":"function","inputs":[{"name":"interfaceId","type":"bytes4","internalType":"bytes4"}],"outputs":[{"name":"","type":"bool","internalType":"bool"}],"stateMutability":"view"},{"name":"transfer","type":"function","inputs":[{"name":"receiver","type":"address","internalType":"address"},{"name":"id","type":"uint256","internalType":"uint256"},{"name":"amount","type":"uint256","internalType":"uint256"}],"outputs":[{"name":"","type":"bool","internalType":"bool"}],"stateMutability":"nonpayable"},{"name":"transferFrom","type":"function","inputs":[{"name":"sender","type":"address","internalType":"address"},{"name":"receiver","type":"address","internalType":"address"},{"name":"id","type":"uint256","internalType":"uint256"},{"name":"amount","type":"uint256","internalType":"uint256"}],"outputs":[{"name":"","type":"bool","internalType":"bool"}],"stateMutability":"nonpayable"},{"name":"unpause","type":"function","inputs":[],"outputs":[],"stateMutability":"nonpayable"},{"name":"withdraw","type":"function","inputs":[{"name":"token","type":"address","internalType":"address"},{"name":"amount","type":"uint256","internalType":"uint256"}],"outputs":[],"stateMutability":"nonpayable"},{"type":"receive","stateMutability":"payable"}],"metadata":{"compiler":{"version":"0.8.33+commit.64118f21"},"language":"Solidity","output":{"abi":[{"inputs":[{"internalType":"address","name":"permit2_","type":"address"},{"internalType":"address","name":"feeCalculator","type":"address"},{"internalType":"address","name":"pauserAdmin","type":"address"},{"internalType":"address","name":"unpauserAdmin","type":"address"},{"internalType":"address","name":"executorSetterAdmin","type":"address"},{"internalType":"address","name":"routerFeeSetterAdmin","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"AccessControlBadConfirmation","type":"error"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"bytes32","name":"neededRole","type":"bytes32"}],"name":"AccessControlUnauthorizedAccount","type":"error"},{"inputs":[{"internalType":"address","name":"executor","type":"address"}],"name":"Dispatcher__CallbackReverted","type":"error"},{"inputs":[{"internalType":"address","name":"executor","type":"address"}],"name":"Dispatcher__ExecutorAlreadyExists","type":"error"},{"inputs":[{"internalType":"address","name":"executor","type":"address"}],"name":"Dispatcher__ExecutorIsTimelocked","type":"error"},{"inputs":[],"name":"Dispatcher__NonContractExecutor","type":"error"},{"inputs":[{"internalType":"address","name":"executor","type":"address"}],"name":"Dispatcher__SwapReverted","type":"error"},{"inputs":[{"internalType":"address","name":"executor","type":"address"}],"name":"Dispatcher__UnapprovedExecutor","type":"error"},{"inputs":[{"internalType":"address","name":"token","type":"address"}],"name":"Dispatcher__UnsupportedSingleHopCycle","type":"error"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"allowance","type":"uint256"},{"internalType":"uint256","name":"needed","type":"uint256"},{"internalType":"uint256","name":"id","type":"uint256"}],"name":"ERC6909InsufficientAllowance","type":"error"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"uint256","name":"balance","type":"uint256"},{"internalType":"uint256","name":"needed","type":"uint256"},{"internalType":"uint256","name":"id","type":"uint256"}],"name":"ERC6909InsufficientBalance","type":"error"},{"inputs":[{"internalType":"address","name":"approver","type":"address"}],"name":"ERC6909InvalidApprover","type":"error"},{"inputs":[{"internalType":"address","name":"receiver","type":"address"}],"name":"ERC6909InvalidReceiver","type":"error"},{"inputs":[{"internalType":"address","name":"sender","type":"address"}],"name":"ERC6909InvalidSender","type":"error"},{"inputs":[{"internalType":"address","name":"spender","type":"address"}],"name":"ERC6909InvalidSpender","type":"error"},{"inputs":[],"name":"EnforcedPause","type":"error"},{"inputs":[],"name":"ExpectedPause","type":"error"},{"inputs":[],"name":"FailedCall","type":"error"},{"inputs":[{"internalType":"uint256","name":"balance","type":"uint256"},{"internalType":"uint256","name":"needed","type":"uint256"}],"name":"InsufficientBalance","type":"error"},{"inputs":[],"name":"InvalidShortString","type":"error"},{"inputs":[],"name":"ReentrancyGuardReentrantCall","type":"error"},{"inputs":[{"internalType":"address","name":"token","type":"address"}],"name":"SafeERC20FailedOperation","type":"error"},{"inputs":[{"internalType":"string","name":"str","type":"string"}],"name":"StringTooLong","type":"error"},{"inputs":[{"internalType":"address","name":"tokenIn","type":"address"},{"internalType":"address","name":"tokenInStorage","type":"address"}],"name":"TransferManager__DifferentTokenIn","type":"error"},{"inputs":[{"internalType":"uint256","name":"allowedAmount","type":"uint256"},{"internalType":"uint256","name":"amountAttempted","type":"uint256"}],"name":"TransferManager__ExceededTransferFromAllowance","type":"error"},{"inputs":[{"internalType":"address","name":"addr","type":"address"}],"name":"TransferManager__NotAContract","type":"error"},{"inputs":[],"name":"TransferManager__UnknownTransferType","type":"error"},{"inputs":[],"name":"TychoRouter__AddressZero","type":"error"},{"inputs":[],"name":"TychoRouter__AmountOutZero","type":"error"},{"inputs":[],"name":"TychoRouter__EmptySwaps","type":"error"},{"inputs":[{"internalType":"uint256","name":"deadline","type":"uint256"},{"internalType":"uint256","name":"blockTimestamp","type":"uint256"}],"name":"TychoRouter__ExpiredClientSignature","type":"error"},{"inputs":[{"internalType":"uint256","name":"totalFees","type":"uint256"},{"internalType":"uint256","name":"actualAmountOut","type":"uint256"}],"name":"TychoRouter__FeesExceedOutput","type":"error"},{"inputs":[],"name":"TychoRouter__InvalidClientSignature","type":"error"},{"inputs":[{"internalType":"uint256","name":"minAmountOut","type":"uint256"},{"internalType":"uint256","name":"expectedAmountOut","type":"uint256"}],"name":"TychoRouter__InvalidMinAmountOut","type":"error"},{"inputs":[{"internalType":"uint256","name":"msgValue","type":"uint256"},{"internalType":"uint256","name":"amountIn","type":"uint256"}],"name":"TychoRouter__MsgValueDoesNotMatchAmountIn","type":"error"},{"inputs":[{"internalType":"int256","name":"amount","type":"int256"}],"name":"TychoRouter__NegativeOutputDelta","type":"error"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"uint256","name":"minAmount","type":"uint256"}],"name":"TychoRouter__NegativeSlippage","type":"error"},{"inputs":[],"name":"TychoRouter__NoPendingFeeCalculator","type":"error"},{"inputs":[{"internalType":"address","name":"addr","type":"address"}],"name":"TychoRouter__NotAContract","type":"error"},{"inputs":[{"internalType":"uint256","name":"activationTimestamp","type":"uint256"},{"internalType":"uint256","name":"blockTimestamp","type":"uint256"}],"name":"TychoRouter__TimelockNotExpired","type":"error"},{"inputs":[],"name":"TychoRouter__ZeroInput","type":"error"},{"inputs":[],"name":"Vault__AddressZero","type":"error"},{"inputs":[],"name":"Vault__AmountZero","type":"error"},{"inputs":[{"internalType":"address","name":"user","type":"address"},{"internalType":"address","name":"token","type":"address"},{"internalType":"uint256","name":"requested","type":"uint256"},{"internalType":"uint256","name":"available","type":"uint256"}],"name":"Vault__InsufficientBalance","type":"error"},{"inputs":[{"internalType":"int256","name":"inputDelta","type":"int256"}],"name":"Vault__UnexpectedInputDelta","type":"error"},{"inputs":[{"internalType":"uint256","name":"nonZeroCount","type":"uint256"}],"name":"Vault__UnexpectedNonZeroCount","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":true,"internalType":"uint256","name":"id","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[],"name":"EIP712DomainChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"executor","type":"address"}],"name":"ExecutorRemoved","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"executor","type":"address"},{"indexed":false,"internalType":"uint256","name":"timelockExpiresAt","type":"uint256"}],"name":"ExecutorSet","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"oldCalculator","type":"address"},{"indexed":true,"internalType":"address","name":"newCalculator","type":"address"}],"name":"FeeCalculatorActivated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"feeCalculator","type":"address"},{"indexed":false,"internalType":"uint256","name":"timelockExpiresAt","type":"uint256"}],"name":"FeeCalculatorSet","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"token","type":"address"},{"components":[{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"feeAmount","type":"uint256"}],"indexed":false,"internalType":"struct FeeRecipient[]","name":"fees","type":"tuple[]"}],"name":"FeesTaken","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"OperatorSet","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Paused","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"previousAdminRole","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"newAdminRole","type":"bytes32"}],"name":"RoleAdminChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleGranted","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleRevoked","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"caller","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"},{"indexed":true,"internalType":"address","name":"receiver","type":"address"},{"indexed":true,"internalType":"uint256","name":"id","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Transfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Unpaused","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"token","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"},{"indexed":true,"internalType":"address","name":"receiver","type":"address"}],"name":"Withdrawal","type":"event"},{"stateMutability":"nonpayable","type":"fallback"},{"inputs":[],"name":"CLIENT_FEE_TYPEHASH","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"DEFAULT_ADMIN_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"DELAY_EXECUTOR_ACTIVATION","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"DELAY_FEE_CALCULATOR_ACTIVATION","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"EXECUTOR_SETTER_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PAUSER_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"ROUTER_FEE_SETTER_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"UNPAUSER_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"activateFeeCalculator","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"token","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"deposit","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"eip712Domain","outputs":[{"internalType":"bytes1","name":"fields","type":"bytes1"},{"internalType":"string","name":"name","type":"string"},{"internalType":"string","name":"version","type":"string"},{"internalType":"uint256","name":"chainId","type":"uint256"},{"internalType":"address","name":"verifyingContract","type":"address"},{"internalType":"bytes32","name":"salt","type":"bytes32"},{"internalType":"uint256[]","name":"extensions","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"executorsActivationTimestamp","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getFeeCalculator","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getPendingFeeCalculator","outputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"}],"name":"getRoleAdmin","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"grantRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"hasRole","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"isOperator","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"permit2","outputs":[{"internalType":"contract IAllowanceTransfer","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"target","type":"address"}],"name":"removeExecutor","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"callerConfirmation","type":"address"}],"name":"renounceRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"revokeRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amountIn","type":"uint256"},{"internalType":"address","name":"tokenIn","type":"address"},{"internalType":"address","name":"tokenOut","type":"address"},{"internalType":"uint256","name":"expectedAmountOut","type":"uint256"},{"internalType":"uint256","name":"minAmountOut","type":"uint256"},{"internalType":"address","name":"receiver","type":"address"},{"components":[{"internalType":"uint32","name":"clientFeeBps","type":"uint32"},{"internalType":"address","name":"clientFeeReceiver","type":"address"},{"internalType":"uint256","name":"maxClientContribution","type":"uint256"},{"internalType":"uint256","name":"deadline","type":"uint256"},{"internalType":"bytes","name":"clientSignature","type":"bytes"}],"internalType":"struct ClientFeeParams","name":"clientFeeParams","type":"tuple"},{"internalType":"bytes","name":"swaps","type":"bytes"}],"name":"sequentialSwap","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amountIn","type":"uint256"},{"internalType":"address","name":"tokenIn","type":"address"},{"internalType":"address","name":"tokenOut","type":"address"},{"internalType":"uint256","name":"expectedAmountOut","type":"uint256"},{"internalType":"uint256","name":"minAmountOut","type":"uint256"},{"internalType":"address","name":"receiver","type":"address"},{"components":[{"internalType":"uint32","name":"clientFeeBps","type":"uint32"},{"internalType":"address","name":"clientFeeReceiver","type":"address"},{"internalType":"uint256","name":"maxClientContribution","type":"uint256"},{"internalType":"uint256","name":"deadline","type":"uint256"},{"internalType":"bytes","name":"clientSignature","type":"bytes"}],"internalType":"struct ClientFeeParams","name":"clientFeeParams","type":"tuple"},{"components":[{"components":[{"internalType":"address","name":"token","type":"address"},{"internalType":"uint160","name":"amount","type":"uint160"},{"internalType":"uint48","name":"expiration","type":"uint48"},{"internalType":"uint48","name":"nonce","type":"uint48"}],"internalType":"struct IAllowanceTransfer.PermitDetails","name":"details","type":"tuple"},{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"sigDeadline","type":"uint256"}],"internalType":"struct IAllowanceTransfer.PermitSingle","name":"permitSingle","type":"tuple"},{"internalType":"bytes","name":"signature","type":"bytes"},{"internalType":"bytes","name":"swaps","type":"bytes"}],"name":"sequentialSwapPermit2","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amountIn","type":"uint256"},{"internalType":"address","name":"tokenIn","type":"address"},{"internalType":"address","name":"tokenOut","type":"address"},{"internalType":"uint256","name":"expectedAmountOut","type":"uint256"},{"internalType":"uint256","name":"minAmountOut","type":"uint256"},{"internalType":"address","name":"receiver","type":"address"},{"components":[{"internalType":"uint32","name":"clientFeeBps","type":"uint32"},{"internalType":"address","name":"clientFeeReceiver","type":"address"},{"internalType":"uint256","name":"maxClientContribution","type":"uint256"},{"internalType":"uint256","name":"deadline","type":"uint256"},{"internalType":"bytes","name":"clientSignature","type":"bytes"}],"internalType":"struct ClientFeeParams","name":"clientFeeParams","type":"tuple"},{"internalType":"bytes","name":"swaps","type":"bytes"}],"name":"sequentialSwapUsingVault","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"targets","type":"address[]"}],"name":"setExecutors","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"feeCalculator","type":"address"}],"name":"setFeeCalculator","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setOperator","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amountIn","type":"uint256"},{"internalType":"address","name":"tokenIn","type":"address"},{"internalType":"address","name":"tokenOut","type":"address"},{"internalType":"uint256","name":"expectedAmountOut","type":"uint256"},{"internalType":"uint256","name":"minAmountOut","type":"uint256"},{"internalType":"address","name":"receiver","type":"address"},{"components":[{"internalType":"uint32","name":"clientFeeBps","type":"uint32"},{"internalType":"address","name":"clientFeeReceiver","type":"address"},{"internalType":"uint256","name":"maxClientContribution","type":"uint256"},{"internalType":"uint256","name":"deadline","type":"uint256"},{"internalType":"bytes","name":"clientSignature","type":"bytes"}],"internalType":"struct ClientFeeParams","name":"clientFeeParams","type":"tuple"},{"internalType":"bytes","name":"swapData","type":"bytes"}],"name":"singleSwap","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amountIn","type":"uint256"},{"internalType":"address","name":"tokenIn","type":"address"},{"internalType":"address","name":"tokenOut","type":"address"},{"internalType":"uint256","name":"expectedAmountOut","type":"uint256"},{"internalType":"uint256","name":"minAmountOut","type":"uint256"},{"internalType":"address","name":"receiver","type":"address"},{"components":[{"internalType":"uint32","name":"clientFeeBps","type":"uint32"},{"internalType":"address","name":"clientFeeReceiver","type":"address"},{"internalType":"uint256","name":"maxClientContribution","type":"uint256"},{"internalType":"uint256","name":"deadline","type":"uint256"},{"internalType":"bytes","name":"clientSignature","type":"bytes"}],"internalType":"struct ClientFeeParams","name":"clientFeeParams","type":"tuple"},{"components":[{"components":[{"internalType":"address","name":"token","type":"address"},{"internalType":"uint160","name":"amount","type":"uint160"},{"internalType":"uint48","name":"expiration","type":"uint48"},{"internalType":"uint48","name":"nonce","type":"uint48"}],"internalType":"struct IAllowanceTransfer.PermitDetails","name":"details","type":"tuple"},{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"sigDeadline","type":"uint256"}],"internalType":"struct IAllowanceTransfer.PermitSingle","name":"permitSingle","type":"tuple"},{"internalType":"bytes","name":"signature","type":"bytes"},{"internalType":"bytes","name":"swapData","type":"bytes"}],"name":"singleSwapPermit2","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amountIn","type":"uint256"},{"internalType":"address","name":"tokenIn","type":"address"},{"internalType":"address","name":"tokenOut","type":"address"},{"internalType":"uint256","name":"expectedAmountOut","type":"uint256"},{"internalType":"uint256","name":"minAmountOut","type":"uint256"},{"internalType":"address","name":"receiver","type":"address"},{"components":[{"internalType":"uint32","name":"clientFeeBps","type":"uint32"},{"internalType":"address","name":"clientFeeReceiver","type":"address"},{"internalType":"uint256","name":"maxClientContribution","type":"uint256"},{"internalType":"uint256","name":"deadline","type":"uint256"},{"internalType":"bytes","name":"clientSignature","type":"bytes"}],"internalType":"struct ClientFeeParams","name":"clientFeeParams","type":"tuple"},{"internalType":"bytes","name":"swapData","type":"bytes"}],"name":"singleSwapUsingVault","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amountIn","type":"uint256"},{"internalType":"address","name":"tokenIn","type":"address"},{"internalType":"address","name":"tokenOut","type":"address"},{"internalType":"uint256","name":"expectedAmountOut","type":"uint256"},{"internalType":"uint256","name":"minAmountOut","type":"uint256"},{"internalType":"uint256","name":"nTokens","type":"uint256"},{"internalType":"address","name":"receiver","type":"address"},{"components":[{"internalType":"uint32","name":"clientFeeBps","type":"uint32"},{"internalType":"address","name":"clientFeeReceiver","type":"address"},{"internalType":"uint256","name":"maxClientContribution","type":"uint256"},{"internalType":"uint256","name":"deadline","type":"uint256"},{"internalType":"bytes","name":"clientSignature","type":"bytes"}],"internalType":"struct ClientFeeParams","name":"clientFeeParams","type":"tuple"},{"internalType":"bytes","name":"swaps","type":"bytes"}],"name":"splitSwap","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amountIn","type":"uint256"},{"internalType":"address","name":"tokenIn","type":"address"},{"internalType":"address","name":"tokenOut","type":"address"},{"internalType":"uint256","name":"expectedAmountOut","type":"uint256"},{"internalType":"uint256","name":"minAmountOut","type":"uint256"},{"internalType":"uint256","name":"nTokens","type":"uint256"},{"internalType":"address","name":"receiver","type":"address"},{"components":[{"internalType":"uint32","name":"clientFeeBps","type":"uint32"},{"internalType":"address","name":"clientFeeReceiver","type":"address"},{"internalType":"uint256","name":"maxClientContribution","type":"uint256"},{"internalType":"uint256","name":"deadline","type":"uint256"},{"internalType":"bytes","name":"clientSignature","type":"bytes"}],"internalType":"struct ClientFeeParams","name":"clientFeeParams","type":"tuple"},{"components":[{"components":[{"internalType":"address","name":"token","type":"address"},{"internalType":"uint160","name":"amount","type":"uint160"},{"internalType":"uint48","name":"expiration","type":"uint48"},{"internalType":"uint48","name":"nonce","type":"uint48"}],"internalType":"struct IAllowanceTransfer.PermitDetails","name":"details","type":"tuple"},{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"sigDeadline","type":"uint256"}],"internalType":"struct IAllowanceTransfer.PermitSingle","name":"permitSingle","type":"tuple"},{"internalType":"bytes","name":"signature","type":"bytes"},{"internalType":"bytes","name":"swaps","type":"bytes"}],"name":"splitSwapPermit2","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amountIn","type":"uint256"},{"internalType":"address","name":"tokenIn","type":"address"},{"internalType":"address","name":"tokenOut","type":"address"},{"internalType":"uint256","name":"expectedAmountOut","type":"uint256"},{"internalType":"uint256","name":"minAmountOut","type":"uint256"},{"internalType":"uint256","name":"nTokens","type":"uint256"},{"internalType":"address","name":"receiver","type":"address"},{"components":[{"internalType":"uint32","name":"clientFeeBps","type":"uint32"},{"internalType":"address","name":"clientFeeReceiver","type":"address"},{"internalType":"uint256","name":"maxClientContribution","type":"uint256"},{"internalType":"uint256","name":"deadline","type":"uint256"},{"internalType":"bytes","name":"clientSignature","type":"bytes"}],"internalType":"struct ClientFeeParams","name":"clientFeeParams","type":"tuple"},{"internalType":"bytes","name":"swaps","type":"bytes"}],"name":"splitSwapUsingVault","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"receiver","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"address","name":"receiver","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"unpause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"token","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}],"devdoc":{"errors":{"AccessControlBadConfirmation()":[{"details":"The caller of a function is not the expected one. NOTE: Don't confuse with {AccessControlUnauthorizedAccount}."}],"AccessControlUnauthorizedAccount(address,bytes32)":[{"details":"The `account` is missing a role."}],"EnforcedPause()":[{"details":"The operation failed because the contract is paused."}],"ExpectedPause()":[{"details":"The operation failed because the contract is not paused."}],"FailedCall()":[{"details":"A call to an address target failed. The target may have reverted."}],"InsufficientBalance(uint256,uint256)":[{"details":"The ETH balance of the account is not enough to perform the operation."}],"ReentrancyGuardReentrantCall()":[{"details":"Unauthorized reentrant call."}],"SafeERC20FailedOperation(address)":[{"details":"An operation with an ERC-20 token failed."}]},"events":{"Approval(address,address,uint256,uint256)":{"details":"Emitted when the allowance of a `spender` for an `owner` is set for a token of type `id`. The new allowance is `amount`."},"EIP712DomainChanged()":{"details":"MAY be emitted to signal that the domain could have changed."},"OperatorSet(address,address,bool)":{"details":"Emitted when `owner` grants or revokes operator status for a `spender`."},"Paused(address)":{"details":"Emitted when the pause is triggered by `account`."},"RoleAdminChanged(bytes32,bytes32,bytes32)":{"details":"Emitted when `newAdminRole` is set as ``role``'s admin role, replacing `previousAdminRole` `DEFAULT_ADMIN_ROLE` is the starting admin for all roles, despite {RoleAdminChanged} not being emitted to signal this."},"RoleGranted(bytes32,address,address)":{"details":"Emitted when `account` is granted `role`. `sender` is the account that originated the contract call. This account bears the admin role (for the granted role). Expected in cases where the role was granted using the internal {AccessControl-_grantRole}."},"RoleRevoked(bytes32,address,address)":{"details":"Emitted when `account` is revoked `role`. `sender` is the account that originated the contract call:   - if using `revokeRole`, it is the admin role bearer   - if using `renounceRole`, it is the role bearer (i.e. `account`)"},"Transfer(address,address,address,uint256,uint256)":{"details":"Emitted when `amount` tokens of type `id` are moved from `sender` to `receiver` initiated by `caller`."},"Unpaused(address)":{"details":"Emitted when the pause is lifted by `account`."}},"kind":"dev","methods":{"allowance(address,address,uint256)":{"details":"Returns the amount of tokens of type `id` that `spender` is allowed to spend on behalf of `owner`. NOTE: Does not include operator allowances."},"approve(address,uint256,uint256)":{"details":"Sets an approval to `spender` for `amount` of tokens of type `id` from the caller's tokens. An `amount` of `type(uint256).max` signifies an unlimited approval. Must return true."},"balanceOf(address,uint256)":{"details":"Override balanceOf to use our own mapping instead of ERC6909's"},"deposit(address,uint256)":{"params":{"amount":"The amount to deposit","token":"The token address to deposit (use ETH_ADDRESS for native ETH)"}},"eip712Domain()":{"details":"returns the fields and values that describe the domain separator used by this contract for EIP-712 signature."},"getFeeCalculator()":{"details":"Returns the current fee calculator address"},"getPendingFeeCalculator()":{"details":"Returns the pending fee calculator and activation timestamp"},"getRoleAdmin(bytes32)":{"details":"Returns the admin role that controls `role`. See {grantRole} and {revokeRole}. To change a role's admin, use {_setRoleAdmin}."},"grantRole(bytes32,address)":{"details":"Grants `role` to `account`. If `account` had not been already granted `role`, emits a {RoleGranted} event. Requirements: - the caller must have ``role``'s admin role. May emit a {RoleGranted} event."},"hasRole(bytes32,address)":{"details":"Returns `true` if `account` has been granted `role`."},"isOperator(address,address)":{"details":"Returns true if `spender` is set as an operator for `owner`."},"pause()":{"details":"Pauses the contract"},"paused()":{"details":"Returns true if the contract is paused, and false otherwise."},"removeExecutor(address)":{"details":"Entrypoint to remove an approved executor contract address","params":{"target":"address of the executor contract"}},"renounceRole(bytes32,address)":{"details":"Revokes `role` from the calling account. Roles are often managed via {grantRole} and {revokeRole}: this function's purpose is to provide a mechanism for accounts to lose their privileges if they are compromised (such as when a trusted device is misplaced). If the calling account had been revoked `role`, emits a {RoleRevoked} event. Requirements: - the caller must be `callerConfirmation`. May emit a {RoleRevoked} event."},"revokeRole(bytes32,address)":{"details":"Revokes `role` from `account`. If `account` had been granted `role`, emits a {RoleRevoked} event. Requirements: - the caller must have ``role``'s admin role. May emit a {RoleRevoked} event."},"sequentialSwap(uint256,address,address,uint256,uint256,address,(uint32,address,uint256,uint256,bytes),bytes)":{"details":"- Swaps are executed sequentially using the `_swap` function. - Reverts with `TychoRouter__NegativeSlippage` if the final output is below `minAmountOut`.","params":{"amountIn":"The input token amount to be swapped.","clientFeeParams":"Client fee parameters including fee bps, receiver, max contribution, deadline and signature.","expectedAmountOut":"The quoted output amount; used to detect positive slippage.","minAmountOut":"The minimum acceptable output amount (revert guardrail). Must be non-zero and not exceed `expectedAmountOut`.","receiver":"The address to receive the output tokens.","swaps":"Encoded swap graph data containing details of each swap.","tokenIn":"The address of the input token. Use `ETH_ADDRESS` for native ETH","tokenOut":"The address of the output token. Use `ETH_ADDRESS` for native ETH"},"returns":{"_0":"The total amount of the output token received by the receiver."}},"sequentialSwapPermit2(uint256,address,address,uint256,uint256,address,(uint32,address,uint256,uint256,bytes),((address,uint160,uint48,uint48),address,uint256),bytes,bytes)":{"details":"- For ERC20 tokens, Permit2 is used to approve and transfer tokens from the caller to the router. - Reverts with `TychoRouter__NegativeSlippage` if the final output is below `minAmountOut`.","params":{"amountIn":"The input token amount to be swapped.","clientFeeParams":"Client fee parameters including fee bps, receiver, max contribution, deadline and signature.","expectedAmountOut":"The quoted output amount; used to detect positive slippage.","minAmountOut":"The minimum acceptable output amount (revert guardrail). Must be non-zero and not exceed `expectedAmountOut`.","permitSingle":"A Permit2 structure containing token approval details for the input token.","receiver":"The address to receive the output tokens.","signature":"A valid signature authorizing the Permit2 approval.","swaps":"Encoded swap graph data containing details of each swap.","tokenIn":"The address of the input token. Use `ETH_ADDRESS` for native ETH","tokenOut":"The address of the output token. Use `ETH_ADDRESS` for native ETH"},"returns":{"_0":"The total amount of the output token received by the receiver."}},"sequentialSwapUsingVault(uint256,address,address,uint256,uint256,address,(uint32,address,uint256,uint256,bytes),bytes)":{"details":"- Swaps are executed sequentially using the `_swap` function. - Reverts with `TychoRouter__NegativeSlippage` if the final output is below `minAmountOut`.","params":{"amountIn":"The input token amount to be swapped.","clientFeeParams":"Client fee parameters including fee bps, receiver, max contribution, deadline and signature.","expectedAmountOut":"The quoted output amount; used to detect positive slippage.","minAmountOut":"The minimum acceptable output amount (revert guardrail). Must be non-zero and not exceed `expectedAmountOut`.","receiver":"The address to receive the output tokens.","swaps":"Encoded swap graph data containing details of each swap.","tokenIn":"The address of the input token. Use `ETH_ADDRESS` for native ETH","tokenOut":"The address of the output token. Use `ETH_ADDRESS` for native ETH"},"returns":{"_0":"The total amount of the output token received by the receiver."}},"setExecutors(address[])":{"details":"Entrypoint to add or replace an approved executor contract address","params":{"targets":"address of the executor contract"}},"setFeeCalculator(address)":{"params":{"feeCalculator":"The address of the fee calculator contract"}},"setOperator(address,bool)":{"details":"Grants or revokes unlimited transfer permission of any token id to `spender` for the caller's tokens. Must return true."},"singleSwap(uint256,address,address,uint256,uint256,address,(uint32,address,uint256,uint256,bytes),bytes)":{"details":"- Reverts with `TychoRouter__NegativeSlippage` if the final output is below `minAmountOut`.","params":{"amountIn":"The input token amount to be swapped.","clientFeeParams":"Client fee parameters including fee bps, receiver, max contribution, deadline and signature.","expectedAmountOut":"The quoted output amount; used to detect positive slippage.","minAmountOut":"The minimum acceptable output amount (revert guardrail). Must be non-zero and not exceed `expectedAmountOut`.","receiver":"The address to receive the output tokens.","swapData":"Encoded swap details.","tokenIn":"The address of the input token. Use `ETH_ADDRESS` for native ETH","tokenOut":"The address of the output token. Use `ETH_ADDRESS` for native ETH"},"returns":{"_0":"The total amount of the output token received by the receiver."}},"singleSwapPermit2(uint256,address,address,uint256,uint256,address,(uint32,address,uint256,uint256,bytes),((address,uint160,uint48,uint48),address,uint256),bytes,bytes)":{"details":"- For ERC20 tokens, Permit2 is used to approve and transfer tokens from the caller to the router. - Reverts with `TychoRouter__NegativeSlippage` if the final output is below `minAmountOut`.","params":{"amountIn":"The input token amount to be swapped.","clientFeeParams":"Client fee parameters including fee bps, receiver, max contribution, deadline and signature.","expectedAmountOut":"The quoted output amount; used to detect positive slippage.","minAmountOut":"The minimum acceptable output amount (revert guardrail). Must be non-zero and not exceed `expectedAmountOut`.","permitSingle":"A Permit2 structure containing token approval details for the input token.","receiver":"The address to receive the output tokens.","signature":"A valid signature authorizing the Permit2 approval.","swapData":"Encoded swap details.","tokenIn":"The address of the input token. Use `ETH_ADDRESS` for native ETH","tokenOut":"The address of the output token. Use `ETH_ADDRESS` for native ETH"},"returns":{"_0":"The total amount of the output token received by the receiver."}},"singleSwapUsingVault(uint256,address,address,uint256,uint256,address,(uint32,address,uint256,uint256,bytes),bytes)":{"details":"- Reverts with `TychoRouter__NegativeSlippage` if the final output is below `minAmountOut`.","params":{"amountIn":"The input token amount to be swapped.","clientFeeParams":"Client fee parameters including fee bps, receiver, max contribution, deadline and signature.","expectedAmountOut":"The quoted output amount; used to detect positive slippage.","minAmountOut":"The minimum acceptable output amount (revert guardrail). Must be non-zero and not exceed `expectedAmountOut`.","receiver":"The address to receive the output tokens.","swapData":"Encoded swap details.","tokenIn":"The address of the input token. Use `ETH_ADDRESS` for native ETH","tokenOut":"The address of the output token. Use `ETH_ADDRESS` for native ETH"},"returns":{"_0":"The total amount of the output token received by the receiver."}},"splitSwap(uint256,address,address,uint256,uint256,uint256,address,(uint32,address,uint256,uint256,bytes),bytes)":{"details":"- Swaps are executed sequentially using the `_swap` function. - Reverts with `TychoRouter__NegativeSlippage` if the final output is below `minAmountOut`","params":{"amountIn":"The input token amount to be swapped.","clientFeeParams":"Client fee parameters including fee bps, receiver, max contribution, deadline and signature.","expectedAmountOut":"The quoted output amount; used to detect positive slippage.","minAmountOut":"The minimum acceptable output amount (revert guardrail). Must be non-zero and not exceed `expectedAmountOut`.","nTokens":"The total number of tokens involved in the swap graph (used to initialize arrays for internal calculations).","receiver":"The address to receive the output tokens.","swaps":"Encoded swap graph data containing details of each swap.","tokenIn":"The address of the input token. Use `ETH_ADDRESS` for native ETH","tokenOut":"The address of the output token. Use `ETH_ADDRESS` for native ETH"},"returns":{"_0":"The total amount of the output token received by the receiver."}},"splitSwapPermit2(uint256,address,address,uint256,uint256,uint256,address,(uint32,address,uint256,uint256,bytes),((address,uint160,uint48,uint48),address,uint256),bytes,bytes)":{"details":"- For ERC20 tokens, Permit2 is used to approve and transfer tokens from the caller to the router. - Swaps are executed sequentially using the `_swap` function. - Reverts with `TychoRouter__NegativeSlippage` if the final output is below `minAmountOut`.","params":{"amountIn":"The input token amount to be swapped.","clientFeeParams":"Client fee parameters including fee bps, receiver, max contribution, deadline and signature.","expectedAmountOut":"The quoted output amount; used to detect positive slippage.","minAmountOut":"The minimum acceptable output amount (revert guardrail). Must be non-zero and not exceed `expectedAmountOut`.","nTokens":"The total number of tokens involved in the swap graph (used to initialize arrays for internal calculations).","permitSingle":"A Permit2 structure containing token approval details for the input token.","receiver":"The address to receive the output tokens.","signature":"A valid signature authorizing the Permit2 approval.","swaps":"Encoded swap graph data containing details of each swap.","tokenIn":"The address of the input token. Use `ETH_ADDRESS` for native ETH","tokenOut":"The address of the output token. Use `ETH_ADDRESS` for native ETH"},"returns":{"_0":"The total amount of the output token received by the receiver."}},"splitSwapUsingVault(uint256,address,address,uint256,uint256,uint256,address,(uint32,address,uint256,uint256,bytes),bytes)":{"details":"- Swaps are executed sequentially using the `_swap` function. - Reverts with `TychoRouter__NegativeSlippage` if the final output is below `minAmountOut`.","params":{"amountIn":"The input token amount to be swapped.","clientFeeParams":"Client fee parameters including fee bps, receiver, max contribution, deadline and signature.","expectedAmountOut":"The quoted output amount; used to detect positive slippage.","minAmountOut":"The minimum acceptable output amount (revert guardrail). Must be non-zero and not exceed `expectedAmountOut`.","nTokens":"The total number of tokens involved in the swap graph (used to initialize arrays for internal calculations).","receiver":"The address to receive the output tokens.","swaps":"Encoded swap graph data containing details of each swap.","tokenIn":"The address of the input token. Use `ETH_ADDRESS` for native ETH","tokenOut":"The address of the output token. Use `ETH_ADDRESS` for native ETH"},"returns":{"_0":"The total amount of the output token received by the receiver."}},"transfer(address,uint256,uint256)":{"details":"Transfers `amount` of token type `id` from the caller's account to `receiver`. Must return true."},"transferFrom(address,address,uint256,uint256)":{"details":"Transfers `amount` of token type `id` from `sender` to `receiver`. Must return true."},"unpause()":{"details":"Unpauses the contract"},"withdraw(address,uint256)":{"params":{"amount":"The amount to withdraw","token":"The token to withdraw"}}},"version":1},"userdoc":{"kind":"user","methods":{"activateFeeCalculator()":{"notice":"Activates the pending fee calculator once the timelock has expired."},"deposit(address,uint256)":{"notice":"Deposit tokens into the vault for the caller"},"sequentialSwap(uint256,address,address,uint256,uint256,address,(uint32,address,uint256,uint256,bytes),bytes)":{"notice":"Executes a swap operation based on a predefined swap graph with no split routes.         This function enables multi-step swaps and validates the output amount against a user-specified minimum.         Takes funds from the user's wallet using transferFrom."},"sequentialSwapPermit2(uint256,address,address,uint256,uint256,address,(uint32,address,uint256,uint256,bytes),((address,uint160,uint48,uint48),address,uint256),bytes,bytes)":{"notice":"Executes a swap operation based on a predefined swap graph with no split routes.         This function enables multi-step swaps and validates the output amount against a user-specified minimum."},"sequentialSwapUsingVault(uint256,address,address,uint256,uint256,address,(uint32,address,uint256,uint256,bytes),bytes)":{"notice":"Executes a swap operation based on a predefined swap graph with no split routes.         This function enables multi-step swaps and validates the output amount against a user-specified minimum.         Takes funds from the user's vault balance."},"setFeeCalculator(address)":{"notice":"Queues a new fee calculator with a timelock delay."},"singleSwap(uint256,address,address,uint256,uint256,address,(uint32,address,uint256,uint256,bytes),bytes)":{"notice":"Executes a single swap operation.         This function validates the output amount against a user-specified minimum.         Takes funds from the user's wallet using transferFrom."},"singleSwapPermit2(uint256,address,address,uint256,uint256,address,(uint32,address,uint256,uint256,bytes),((address,uint160,uint48,uint48),address,uint256),bytes,bytes)":{"notice":"Executes a single swap operation.         This function validates the output amount against a user-specified minimum."},"singleSwapUsingVault(uint256,address,address,uint256,uint256,address,(uint32,address,uint256,uint256,bytes),bytes)":{"notice":"Executes a single swap operation.         This function validates the output amount against a user-specified minimum.         Takes funds from the user's vault balance."},"splitSwap(uint256,address,address,uint256,uint256,uint256,address,(uint32,address,uint256,uint256,bytes),bytes)":{"notice":"Executes a swap operation based on a predefined swap graph, supporting internal token amount splits.         This function enables multi-step swaps and validates the output amount against a user-specified minimum.         Takes funds from the user's wallet using transferFrom."},"splitSwapPermit2(uint256,address,address,uint256,uint256,uint256,address,(uint32,address,uint256,uint256,bytes),((address,uint160,uint48,uint48),address,uint256),bytes,bytes)":{"notice":"Executes a swap operation based on a predefined swap graph, supporting internal token amount splits.         This function enables multi-step swaps and validates the output amount against a user-specified minimum."},"splitSwapUsingVault(uint256,address,address,uint256,uint256,uint256,address,(uint32,address,uint256,uint256,bytes),bytes)":{"notice":"Executes a swap operation based on a predefined swap graph, supporting internal token amount splits.         This function enables multi-step swaps and validates the output amount against a user-specified minimum.         Takes funds from the user's vault balance."},"supportsInterface(bytes4)":{"notice":"Override supportsInterface to resolve conflict between AccessControl and ERC6909"},"withdraw(address,uint256)":{"notice":"Withdraw tokens from the vault"}},"version":1}},"settings":{"compilationTarget":{"src/TychoRouterV3.sol":"TychoRouterV3"},"evmVersion":"cancun","libraries":{},"metadata":{"bytecodeHash":"ipfs"},"optimizer":{"enabled":true,"runs":1000},"remappings":[],"viaIR":true},"sources":{"@interfaces/ICallback.sol":{"keccak256":"0xa37cfc9f61eb217f22421eaa9f037b6d8df356281f94555fd79e79a97c417242","license":"BUSL-1.1","urls":["bzz-raw://7aa9622345bb1cfaf47f56649b2d31c5d505ef695430c0cd2d54f47c6a887291","dweb:/ipfs/QmWXBZYfSr2rotFS7HzhCf8iRDGnS6T3s8s2RUxx9yc7cj"]},"@interfaces/IExecutor.sol":{"keccak256":"0xb28ad54118809d105a89f953e4a21d5cc38914868356b9c08149c33fd3431b89","license":"BUSL-1.1","urls":["bzz-raw://510b29068ed0abbf55a4175d26cf4a0bb26f55d552b3a61e3379f7370ddd1227","dweb:/ipfs/QmUxvtf9yR62CejzbLPn3rqQo1NwShpNYbX1jJcSWdtccG"]},"@interfaces/IFeeCalculator.sol":{"keccak256":"0xb2b93d61524aa37b58363ef5812f0a781141c2a0c4c6b7a8ce2e1b1f5c40ad64","license":"BUSL-1.1","urls":["bzz-raw://0d4349ea3153b8515ee9a6c5f1e9fd0c4fa651f51ab4e114b14b958515fef660","dweb:/ipfs/QmWZxv2Euqq15SnpVU9mEB3onUWNmstYvK349F8zS9N9kH"]},"@openzeppelin/contracts/access/AccessControl.sol":{"keccak256":"0x4c495fa0e9911eadb6cc2d0f4a52b4d77e5eaecccc2e111f3a2fb8c0885bfa0a","license":"MIT","urls":["bzz-raw://5c94563a8c5a52f2b893c581f3f722629c10d2cf759431ce8a4c91c89c39848d","dweb:/ipfs/QmUXtoc5qPX8KW3aZcmHMmJwuEcxxteJwFURQxJzYogPms"]},"@openzeppelin/contracts/access/IAccessControl.sol":{"keccak256":"0xbff9f59c84e5337689161ce7641c0ef8e872d6a7536fbc1f5133f128887aba3c","license":"MIT","urls":["bzz-raw://b308f882e796f7b79c9502deacb0a62983035c6f6f4e962b319ba6a1f4a77d3d","dweb:/ipfs/QmaWCW7ahEQqFjwhSUhV7Ae7WhfNvzSpE7DQ58hvEooqPL"]},"@openzeppelin/contracts/interfaces/IERC1271.sol":{"keccak256":"0x66c7ec42c6c43712be2107a50ab4529379bc76a632b425babec698d9da921ac6","license":"MIT","urls":["bzz-raw://dce2778f0b638adfc5ba29c2c618c855fe725fa74a16846386aa1d56a834aa04","dweb:/ipfs/QmPV9oWnzQdi58od266j62xvviavLNHqKLZfm6k2K1qy9E"]},"@openzeppelin/contracts/interfaces/IERC1363.sol":{"keccak256":"0xd5ea07362ab630a6a3dee4285a74cf2377044ca2e4be472755ad64d7c5d4b69d","license":"MIT","urls":["bzz-raw://da5e832b40fc5c3145d3781e2e5fa60ac2052c9d08af7e300dc8ab80c4343100","dweb:/ipfs/QmTzf7N5ZUdh5raqtzbM11yexiUoLC9z3Ws632MCuycq1d"]},"@openzeppelin/contracts/interfaces/IERC165.sol":{"keccak256":"0x0afcb7e740d1537b252cb2676f600465ce6938398569f09ba1b9ca240dde2dfc","license":"MIT","urls":["bzz-raw://1c299900ac4ec268d4570ecef0d697a3013cd11a6eb74e295ee3fbc945056037","dweb:/ipfs/Qmab9owJoxcA7vJT5XNayCMaUR1qxqj1NDzzisduwaJMcZ"]},"@openzeppelin/contracts/interfaces/IERC20.sol":{"keccak256":"0x1a6221315ce0307746c2c4827c125d821ee796c74a676787762f4778671d4f44","license":"MIT","urls":["bzz-raw://1bb2332a7ee26dd0b0de9b7fe266749f54820c99ab6a3bcb6f7e6b751d47ee2d","dweb:/ipfs/QmcRWpaBeCYkhy68PR3B4AgD7asuQk7PwkWxrvJbZcikLF"]},"@openzeppelin/contracts/interfaces/IERC5267.sol":{"keccak256":"0xfb223a85dd0b2175cfbbaa325a744e2cd74ecd17c3df2b77b0722f991d2725ee","license":"MIT","urls":["bzz-raw://84bf1dea0589ec49c8d15d559cc6d86ee493048a89b2d4adb60fbe705a3d89ae","dweb:/ipfs/Qmd56n556d529wk2pRMhYhm5nhMDhviwereodDikjs68w1"]},"@openzeppelin/contracts/interfaces/IERC6909.sol":{"keccak256":"0xbf2cf047ac33a5a52782c2ef8bfbd0322a78d75a3606e81bfabea9663b8e0afe","license":"MIT","urls":["bzz-raw://3c6561cb9403f37ef5d2b686bb287134a0208668222c3176d4eda4eb25317bdc","dweb:/ipfs/QmeQqv8r3PPRU1r53kWWqXc6rxNE7jr6xBVQ3Fh5zySLsA"]},"@openzeppelin/contracts/interfaces/IERC7913.sol":{"keccak256":"0xe5a126930df1d54e4a6dd5fea09010c4a7db0ea974c6c17a1e6082879f5a032b","license":"MIT","urls":["bzz-raw://2f58f5a90328536a6c68289916bfa4ed653d871319c7b2a416ab3f6263c4f2f5","dweb:/ipfs/Qmaa9DmgUA16Urz5fuF4RbFz2NaVpNLV41ddwykSdasFUd"]},"@openzeppelin/contracts/token/ERC20/IERC20.sol":{"keccak256":"0x74ed01eb66b923d0d0cfe3be84604ac04b76482a55f9dd655e1ef4d367f95bc2","license":"MIT","urls":["bzz-raw://5282825a626cfe924e504274b864a652b0023591fa66f06a067b25b51ba9b303","dweb:/ipfs/QmeCfPykghhMc81VJTrHTC7sF6CRvaA1FXVq2pJhwYp1dV"]},"@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol":{"keccak256":"0x304d732678032a9781ae85c8f204c8fba3d3a5e31c02616964e75cfdc5049098","license":"MIT","urls":["bzz-raw://299ced486011781dc98f638059678323c03079fefae1482abaa2135b22fa92d0","dweb:/ipfs/QmbZNbcPTBxNvwChavN2kkZZs7xHhYL7mv51KrxMhsMs3j"]},"@openzeppelin/contracts/token/ERC6909/ERC6909.sol":{"keccak256":"0x9dea2346adc277bc3356f02f5c5ee1bb47682737b696698adb4e5cec4a22c52b","license":"MIT","urls":["bzz-raw://5b944472089ae008e2ace7855dbc63d5c215dcbe502343ad0f77eb1ef89baff8","dweb:/ipfs/QmXjBoF8DgKah7m97hzuFF7LycxKg3mgcdEQ16RxtviyEA"]},"@openzeppelin/contracts/utils/Address.sol":{"keccak256":"0x0fa9e0d3a859900b5a46f70a03c73adf259603d5e05027a37fe0b45529d85346","license":"MIT","urls":["bzz-raw://c2add4da0240c9f2ce47649c8bb6b11b40e98cf6f88b8bdc76b2704e89391710","dweb:/ipfs/QmNQTwF2uVzu4CRtNxr8bxyP9XuW6VsZuo2Nr4KR2bZr3d"]},"@openzeppelin/contracts/utils/Bytes.sol":{"keccak256":"0x27f63b5ce607636a96671512eaad8149f65198a78c0c05b341423f1522d523cd","license":"MIT","urls":["bzz-raw://2c8befbed6f99c5eda71dd55de3492cbef73f67f7f6e778ed33aa74485103cb3","dweb:/ipfs/QmS4uYzbCH32Ct5AFZYahSURDUcmT24zFMsfkfpywFJPtW"]},"@openzeppelin/contracts/utils/Context.sol":{"keccak256":"0x493033a8d1b176a037b2cc6a04dad01a5c157722049bbecf632ca876224dd4b2","license":"MIT","urls":["bzz-raw://6a708e8a5bdb1011c2c381c9a5cfd8a9a956d7d0a9dc1bd8bcdaf52f76ef2f12","dweb:/ipfs/Qmax9WHBnVsZP46ZxEMNRQpLQnrdE4dK8LehML1Py8FowF"]},"@openzeppelin/contracts/utils/Errors.sol":{"keccak256":"0x6afa713bfd42cf0f7656efa91201007ac465e42049d7de1d50753a373648c123","license":"MIT","urls":["bzz-raw://ba1d02f4847670a1b83dec9f7d37f0b0418d6043447b69f3a29a5f9efc547fcf","dweb:/ipfs/QmQ7iH2keLNUKgq2xSWcRmuBE5eZ3F5whYAkAGzCNNoEWB"]},"@openzeppelin/contracts/utils/LowLevelCall.sol":{"keccak256":"0x48939a28e8337bdb215bf7146eef5b9e71c7385c49e30a07f9e6b96465d09f61","license":"MIT","urls":["bzz-raw://26cbee4fd1a8fa286be698635addfa12df5c917cbf609ea9ea2bc8f9c60666e7","dweb:/ipfs/QmSH5USnRBU3G4EZ2MryVdJMA5S61fTppZzZ3JsLg6WZjs"]},"@openzeppelin/contracts/utils/Panic.sol":{"keccak256":"0xf7fe324703a64fc51702311dc51562d5cb1497734f074e4f483bfb6717572d7a","license":"MIT","urls":["bzz-raw://c6a5ff4f9fd8649b7ee20800b7fa387d3465bd77cf20c2d1068cd5c98e1ed57a","dweb:/ipfs/QmVSaVJf9FXFhdYEYeCEfjMVHrxDh5qL4CGkxdMWpQCrqG"]},"@openzeppelin/contracts/utils/Pausable.sol":{"keccak256":"0xdb484371dfbb848cb6f5d70464e9ac9b2900e4164ead76bbce4fef0b44bcc68f","license":"MIT","urls":["bzz-raw://f9d6f6f6600a2bec622f699081b58350873b5e63ce05464d17d674a290bb8a7c","dweb:/ipfs/QmQKVzSQY1PM3Bid4QhgVVZyx6B4Jx7XgaQzLKHj38vJz8"]},"@openzeppelin/contracts/utils/ReentrancyGuard.sol":{"keccak256":"0xa516cbf1c7d15d3517c2d668601ce016c54395bf5171918a14e2686977465f53","license":"MIT","urls":["bzz-raw://1e1d079e8edfb58efd23a311e315a4807b01b5d1cf153f8fa2d0608b9dec3e99","dweb:/ipfs/QmTBExeX2SDTkn5xbk5ssbYSx7VqRp9H4Ux1CY4uQM4b9N"]},"@openzeppelin/contracts/utils/ShortStrings.sol":{"keccak256":"0x0768b3bdb701fe4994b3be932ca8635551dfebe04c645f77500322741bebf57c","license":"MIT","urls":["bzz-raw://a2059f9ca8d3c11c49ca49fc9c5fb070f18cc85d12a7688e45322ed0e2a1cb99","dweb:/ipfs/QmS2gwX51RAvSw4tYbjHccY2CKbh2uvDzqHLAFXdsddgia"]},"@openzeppelin/contracts/utils/StorageSlot.sol":{"keccak256":"0xcf74f855663ce2ae00ed8352666b7935f6cddea2932fdf2c3ecd30a9b1cd0e97","license":"MIT","urls":["bzz-raw://9f660b1f351b757dfe01438e59888f31f33ded3afcf5cb5b0d9bf9aa6f320a8b","dweb:/ipfs/QmarDJ5hZEgBtCmmrVzEZWjub9769eD686jmzb2XpSU1cM"]},"@openzeppelin/contracts/utils/Strings.sol":{"keccak256":"0x36d1750bf1aa5fee9c52adb2f7857ab652daca722fc05dff533b364f67a1139a","license":"MIT","urls":["bzz-raw://2e5e7052539b7849d02f3ce25acc1dce29373c11cfae9f0bc918c54b780c549a","dweb:/ipfs/QmRGE32xNkMTo6i4pHHMxjpiu77yPwnTA25SFngw2NXJys"]},"@openzeppelin/contracts/utils/cryptography/ECDSA.sol":{"keccak256":"0x3c16b6d0a08ef430daec8b70bbb3ea6ccfa515d10504aec0bf91719d2e62229a","license":"MIT","urls":["bzz-raw://4743e34a1f4db83ab4ce779ca9549dfa2ec0dfda209180cea5c59160d3c1723b","dweb:/ipfs/QmTRCzC22X66SzC4raDnUTdWoaLs1cgBgnWY8hFhJTw2s9"]},"@openzeppelin/contracts/utils/cryptography/EIP712.sol":{"keccak256":"0x8440117ea216b97a7bad690a67449fd372c840d073c8375822667e14702782b4","license":"MIT","urls":["bzz-raw://ebb6645995b8290d0b9121825e2533e4e28977b2c6befee76e15e58f0feb61d4","dweb:/ipfs/QmVR72j6kL5R2txuihieDev1FeTi4KWJS1Z6ABbwL3Qtph"]},"@openzeppelin/contracts/utils/cryptography/MessageHashUtils.sol":{"keccak256":"0x9ebedd4bbc89d2743004cf27c1e3fb77a329c746d7c71b8cebc766c0230461a5","license":"MIT","urls":["bzz-raw://f47360b41c8c61eaff43e7c4823f742a83d550b85f716ea3d13c72a0ae4c3ab9","dweb:/ipfs/QmV2GLXYRqU1S2tbDkgq5e8EnGkm84m2oGJPy7JNX9dDPg"]},"@openzeppelin/contracts/utils/cryptography/SignatureChecker.sol":{"keccak256":"0xc564fadf65c0b52c1ae3e289010f862362c1a71d1bb9487252e0a1e93318ef00","license":"MIT","urls":["bzz-raw://eae1451d667358f8b9283690cb88c656884331faf3a9f1980dd17516d8d92570","dweb:/ipfs/QmeQhBMNGBDdY1dpbsPPrXsfRo1DguQy66JJXkBtxcZAzK"]},"@openzeppelin/contracts/utils/introspection/ERC165.sol":{"keccak256":"0x2d9dc2fe26180f74c11c13663647d38e259e45f95eb88f57b61d2160b0109d3e","license":"MIT","urls":["bzz-raw://81233d1f98060113d9922180bb0f14f8335856fe9f339134b09335e9f678c377","dweb:/ipfs/QmWh6R35SarhAn4z2wH8SU456jJSYL2FgucfTFgbHJJN4E"]},"@openzeppelin/contracts/utils/introspection/IERC165.sol":{"keccak256":"0x8891738ffe910f0cf2da09566928589bf5d63f4524dd734fd9cedbac3274dd5c","license":"MIT","urls":["bzz-raw://971f954442df5c2ef5b5ebf1eb245d7105d9fbacc7386ee5c796df1d45b21617","dweb:/ipfs/QmadRjHbkicwqwwh61raUEapaVEtaLMcYbQZWs9gUkgj3u"]},"@openzeppelin/contracts/utils/math/Math.sol":{"keccak256":"0xe7b82bf9ab6d5016033e5cd2b1d4320a9c12551551d4c57650b5ddebfa47ff07","license":"MIT","urls":["bzz-raw://57dd5fbf78e3866b8988cfada7592de8a285cd14e6b42c694526971481bf23d2","dweb:/ipfs/Qmf6Lu6k74k6vgj5kTNYqh2eSHx72urgiD5yYrw7MTY7JT"]},"@openzeppelin/contracts/utils/math/SafeCast.sol":{"keccak256":"0x340b2f51e4c8aa4e3b2c4e3e12a34ac86f4383ecda2bdbad2e263b5a2d3444a3","license":"MIT","urls":["bzz-raw://f7ce09e887e3407bcfc09de5e263143cc44c8bcc4162a32acdb3144eafd89ce2","dweb:/ipfs/QmXda4wEQSWT5xQrETZdBXP2M67LH4F49QxQ16rTj6zZ99"]},"@openzeppelin/contracts/utils/math/SignedMath.sol":{"keccak256":"0xb1970fac7b64e6c09611e6691791e848d5e3fe410fa5899e7df2e0afd77a99e3","license":"MIT","urls":["bzz-raw://db5fbb3dddd8b7047465b62575d96231ba8a2774d37fb4737fbf23340fabbb03","dweb:/ipfs/QmVUSvooZKEdEdap619tcJjTLcAuH6QBdZqAzWwnAXZAWJ"]},"@permit2/src/interfaces/IAllowanceTransfer.sol":{"keccak256":"0x37f0ac203b6ef605c9533e1a739477e8e9dcea90710b40e645a367f8a21ace29","license":"MIT","urls":["bzz-raw://e0104d72aeaec1cd66cc232e7de7b7ead08608efcc179491b8a66387614670b0","dweb:/ipfs/QmfAZDyuNC9FXXbnJUwqHNwmAK6uRrXxtWEytLsxjskPsN"]},"@permit2/src/interfaces/IEIP712.sol":{"keccak256":"0xfdccf2b9639070803cd0e4198427fb0df3cc452ca59bd3b8a0d957a9a4254138","license":"MIT","urls":["bzz-raw://f7c936ac42ce89e827db905a1544397f8bdf46db34cdb6aa1b90dea42fdb4c72","dweb:/ipfs/QmVgurxo1N31qZqkPBirw9Z7S9tLYmv6jSwQp8R8ur2cBk"]},"lib/FeeStructs.sol":{"keccak256":"0xc827bb2d5fe67d07f2c27743fb83579960b09dfb80f3d7538fc9202a8d603e8e","license":"BUSL-1.1","urls":["bzz-raw://19ea9f4eb8a45be93040969956bce310b78bc095a3323c17f8e3bc8bd17881a1","dweb:/ipfs/QmQkPq3PZLTtouvWmuhVoTirs1KS3DXB1chtuNBN3qbVPz"]},"lib/LibSwap.sol":{"keccak256":"0x30070d4897cb6305f95c93b27dced95f0f9b607e25527c7e963e74c85068620f","license":"BUSL-1.1","urls":["bzz-raw://c761ad3a70c8b1d49a9b0d692106a7b3fbbf1b85a894ffed4ed85a02096d79b2","dweb:/ipfs/QmPDKKtPzq4DwuS8M268nikAh9xLdNxQoesSUhM7JCLxUb"]},"lib/NativeETH.sol":{"keccak256":"0xbb98131bbe9fd5e045a2ee98cce87f6f1860169293455d673a78dbf5bb5a741d","license":"BUSL-1.1","urls":["bzz-raw://a4fae145664fd7ebd7c067e8d2860e1f78e79c88d6741d054c0bc02d71d14429","dweb:/ipfs/QmX3V6xSnnbbCucrJ8uQ2pZku6dAwhirysbp78pxJgsX2j"]},"lib/bytes/LibPrefixLengthEncodedByteArray.sol":{"keccak256":"0xbe8199dcbe40af65a1e584a88e96ea4b2e2c6b78e678e4c1746f880e3561c53e","license":"BUSL-1.1","urls":["bzz-raw://d9697d942cec363153f02b14fc736b90da4fd4645380cdf3868d6e846c99f382","dweb:/ipfs/Qmd5C5eZ5ZoYbKrACLig71mPdUY1SD6zizjTGry5uyBw7o"]},"src/Dispatcher.sol":{"keccak256":"0x98575a2f6360a29902922d0cd8281c265e3ad34397f30c2a0e771f1cd18b3538","license":"BUSL-1.1","urls":["bzz-raw://a374f5730fd716523bd42b493d3d832bc5c1ecab3a6dbbc6b2d30a93c10c23b0","dweb:/ipfs/QmbkrsuZTDqCdorQ5J8ct4ZDLdsVKnU21maFtyi5E5LGs5"]},"src/TransferManager.sol":{"keccak256":"0x3b732d236c9b1bd6e723f1b2843b4c5641540e2c7aff4490f792272047ecc35d","license":"BUSL-1.1","urls":["bzz-raw://c8d442a80f17d5e567fa3961756544a86eafd2b84259425811b5bca6c1eb886b","dweb:/ipfs/QmcdFYpUtxW86FxmCso9puEV4cfY2ooA5yckQPaBBXVWnL"]},"src/TychoRouterV3.sol":{"keccak256":"0xdcb0de867ab9d79c4cf73ff26d0903c0a61cf891d8278b5afcc5d5f84064457f","license":"BUSL-1.1","urls":["bzz-raw://e5f2e2656533497f3a1f72a56237ea60a47b30928a0640fb8153a6365d7af075","dweb:/ipfs/Qme4ft9U8pi2E4vaTMp4BV7fp3W2eyUmAYttdfmmzTF4gH"]},"src/Vault.sol":{"keccak256":"0x8988263eb7d70082038316b77e5652b572bfc87437764504c6138873c8956b6c","license":"BUSL-1.1","urls":["bzz-raw://d6d907d4f94c144935546a0188e8857da2e9f6a21c65c0671ffed8a30abb0b9e","dweb:/ipfs/QmVbKwLmi9Ws6UHZ3z8iNaFLzems27eUV8mBEJptnNUufX"]}},"version":1},"storageLayout":{"types":{"t_bool":{"label":"bool","encoding":"inplace","numberOfBytes":"1"},"t_uint48":{"label":"uint48","encoding":"inplace","numberOfBytes":"6"},"t_address":{"label":"address","encoding":"inplace","numberOfBytes":"20"},"t_bytes32":{"label":"bytes32","encoding":"inplace","numberOfBytes":"32"},"t_uint256":{"label":"uint256","encoding":"inplace","numberOfBytes":"32"},"t_string_storage":{"label":"string","encoding":"bytes","numberOfBytes":"32"},"t_mapping(t_address,t_bool)":{"key":"t_address","label":"mapping(address => bool)","value":"t_bool","encoding":"mapping","numberOfBytes":"32"},"t_struct(RoleData)150_storage":{"label":"struct AccessControl.RoleData","members":[{"slot":"0","type":"t_mapping(t_address,t_bool)","astId":147,"label":"hasRole","offset":0,"contract":"src/TychoRouterV3.sol:TychoRouterV3"},{"slot":"1","type":"t_bytes32","astId":149,"label":"adminRole","offset":0,"contract":"src/TychoRouterV3.sol:TychoRouterV3"}],"encoding":"inplace","numberOfBytes":"64"},"t_mapping(t_address,t_uint256)":{"key":"t_address","label":"mapping(address => uint256)","value":"t_uint256","encoding":"mapping","numberOfBytes":"32"},"t_mapping(t_uint256,t_uint256)":{"key":"t_uint256","label":"mapping(uint256 => uint256)","value":"t_uint256","encoding":"mapping","numberOfBytes":"32"},"t_mapping(t_address,t_mapping(t_address,t_bool))":{"key":"t_address","label":"mapping(address => mapping(address => bool))","value":"t_mapping(t_address,t_bool)","encoding":"mapping","numberOfBytes":"32"},"t_mapping(t_bytes32,t_struct(RoleData)150_storage)":{"key":"t_bytes32","label":"mapping(bytes32 => struct AccessControl.RoleData)","value":"t_struct(RoleData)150_storage","encoding":"mapping","numberOfBytes":"32"},"t_mapping(t_address,t_mapping(t_uint256,t_uint256))":{"key":"t_address","label":"mapping(address => mapping(uint256 => uint256))","value":"t_mapping(t_uint256,t_uint256)","encoding":"mapping","numberOfBytes":"32"},"t_mapping(t_address,t_mapping(t_address,t_mapping(t_uint256,t_uint256)))":{"key":"t_address","label":"mapping(address => mapping(address => mapping(uint256 => uint256)))","value":"t_mapping(t_address,t_mapping(t_uint256,t_uint256))","encoding":"mapping","numberOfBytes":"32"}},"storage":[{"slot":"0","type":"t_mapping(t_bytes32,t_struct(RoleData)150_storage)","astId":155,"label":"_roles","offset":0,"contract":"src/TychoRouterV3.sol:TychoRouterV3"},{"slot":"1","type":"t_mapping(t_address,t_mapping(t_uint256,t_uint256))","astId":1386,"label":"_balances","offset":0,"contract":"src/TychoRouterV3.sol:TychoRouterV3"},{"slot":"2","type":"t_mapping(t_address,t_mapping(t_address,t_bool))","astId":1392,"label":"_operatorApprovals","offset":0,"contract":"src/TychoRouterV3.sol:TychoRouterV3"},{"slot":"3","type":"t_mapping(t_address,t_mapping(t_address,t_mapping(t_uint256,t_uint256)))","astId":1400,"label":"_allowances","offset":0,"contract":"src/TychoRouterV3.sol:TychoRouterV3"},{"slot":"4","type":"t_bool","astId":3472,"label":"_paused","offset":0,"contract":"src/TychoRouterV3.sol:TychoRouterV3"},{"slot":"5","type":"t_mapping(t_address,t_mapping(t_uint256,t_uint256))","astId":14178,"label":"_vaultBalances","offset":0,"contract":"src/TychoRouterV3.sol:TychoRouterV3"},{"slot":"6","type":"t_mapping(t_address,t_uint256)","astId":10831,"label":"executorsActivationTimestamp","offset":0,"contract":"src/TychoRouterV3.sol:TychoRouterV3"},{"slot":"7","type":"t_string_storage","astId":6001,"label":"_nameFallback","offset":0,"contract":"src/TychoRouterV3.sol:TychoRouterV3"},{"slot":"8","type":"t_string_storage","astId":6003,"label":"_versionFallback","offset":0,"contract":"src/TychoRouterV3.sol:TychoRouterV3"},{"slot":"9","type":"t_address","astId":11877,"label":"_feeCalculator","offset":0,"contract":"src/TychoRouterV3.sol:TychoRouterV3"},{"slot":"10","type":"t_address","astId":11879,"label":"_pendingFeeCalculator","offset":0,"contract":"src/TychoRouterV3.sol:TychoRouterV3"},{"slot":"10","type":"t_uint48","astId":11881,"label":"_feeCalculatorActivationTimestamp","offset":20,"contract":"src/TychoRouterV3.sol:TychoRouterV3"}]},"transientStorageLayout":{"types":null,"storage":[]},"userdoc":{"kind":"user","methods":{"activateFeeCalculator()":{"notice":"Activates the pending fee calculator once the timelock has expired."},"deposit(address,uint256)":{"notice":"Deposit tokens into the vault for the caller"},"setFeeCalculator(address)":{"notice":"Queues a new fee calculator with a timelock delay."},"supportsInterface(bytes4)":{"notice":"Override supportsInterface to resolve conflict between AccessControl and ERC6909"},"withdraw(address,uint256)":{"notice":"Withdraw tokens from the vault"},"singleSwap(uint256,address,address,uint256,uint256,address,(uint32,address,uint256,uint256,bytes),bytes)":{"notice":"Executes a single swap operation.         This function validates the output amount against a user-specified minimum.         Takes funds from the user's wallet using transferFrom."},"sequentialSwap(uint256,address,address,uint256,uint256,address,(uint32,address,uint256,uint256,bytes),bytes)":{"notice":"Executes a swap operation based on a predefined swap graph with no split routes.         This function enables multi-step swaps and validates the output amount against a user-specified minimum.         Takes funds from the user's wallet using transferFrom."},"splitSwap(uint256,address,address,uint256,uint256,uint256,address,(uint32,address,uint256,uint256,bytes),bytes)":{"notice":"Executes a swap operation based on a predefined swap graph, supporting internal token amount splits.         This function enables multi-step swaps and validates the output amount against a user-specified minimum.         Takes funds from the user's wallet using transferFrom."},"singleSwapUsingVault(uint256,address,address,uint256,uint256,address,(uint32,address,uint256,uint256,bytes),bytes)":{"notice":"Executes a single swap operation.         This function validates the output amount against a user-specified minimum.         Takes funds from the user's vault balance."},"sequentialSwapUsingVault(uint256,address,address,uint256,uint256,address,(uint32,address,uint256,uint256,bytes),bytes)":{"notice":"Executes a swap operation based on a predefined swap graph with no split routes.         This function enables multi-step swaps and validates the output amount against a user-specified minimum.         Takes funds from the user's vault balance."},"splitSwapUsingVault(uint256,address,address,uint256,uint256,uint256,address,(uint32,address,uint256,uint256,bytes),bytes)":{"notice":"Executes a swap operation based on a predefined swap graph, supporting internal token amount splits.         This function enables multi-step swaps and validates the output amount against a user-specified minimum.         Takes funds from the user's vault balance."},"singleSwapPermit2(uint256,address,address,uint256,uint256,address,(uint32,address,uint256,uint256,bytes),((address,uint160,uint48,uint48),address,uint256),bytes,bytes)":{"notice":"Executes a single swap operation.         This function validates the output amount against a user-specified minimum."},"sequentialSwapPermit2(uint256,address,address,uint256,uint256,address,(uint32,address,uint256,uint256,bytes),((address,uint160,uint48,uint48),address,uint256),bytes,bytes)":{"notice":"Executes a swap operation based on a predefined swap graph with no split routes.         This function enables multi-step swaps and validates the output amount against a user-specified minimum."},"splitSwapPermit2(uint256,address,address,uint256,uint256,uint256,address,(uint32,address,uint256,uint256,bytes),((address,uint160,uint48,uint48),address,uint256),bytes,bytes)":{"notice":"Executes a swap operation based on a predefined swap graph, supporting internal token amount splits.         This function enables multi-step swaps and validates the output amount against a user-specified minimum."}},"version":1},"devdoc":{"kind":"dev","errors":{"FailedCall()":[{"details":"A call to an address target failed. The target may have reverted."}],"EnforcedPause()":[{"details":"The operation failed because the contract is paused."}],"ExpectedPause()":[{"details":"The operation failed because the contract is not paused."}],"AccessControlBadConfirmation()":[{"details":"The caller of a function is not the expected one. NOTE: Don't confuse with {AccessControlUnauthorizedAccount}."}],"ReentrancyGuardReentrantCall()":[{"details":"Unauthorized reentrant call."}],"SafeERC20FailedOperation(address)":[{"details":"An operation with an ERC-20 token failed."}],"InsufficientBalance(uint256,uint256)":[{"details":"The ETH balance of the account is not enough to perform the operation."}],"AccessControlUnauthorizedAccount(address,bytes32)":[{"details":"The `account` is missing a role."}]},"events":{"Paused(address)":{"details":"Emitted when the pause is triggered by `account`."},"Unpaused(address)":{"details":"Emitted when the pause is lifted by `account`."},"EIP712DomainChanged()":{"details":"MAY be emitted to signal that the domain could have changed."},"OperatorSet(address,address,bool)":{"details":"Emitted when `owner` grants or revokes operator status for a `spender`."},"RoleGranted(bytes32,address,address)":{"details":"Emitted when `account` is granted `role`. `sender` is the account that originated the contract call. This account bears the admin role (for the granted role). Expected in cases where the role was granted using the internal {AccessControl-_grantRole}."},"RoleRevoked(bytes32,address,address)":{"details":"Emitted when `account` is revoked `role`. `sender` is the account that originated the contract call:   - if using `revokeRole`, it is the admin role bearer   - if using `renounceRole`, it is the role bearer (i.e. `account`)"},"Approval(address,address,uint256,uint256)":{"details":"Emitted when the allowance of a `spender` for an `owner` is set for a token of type `id`. The new allowance is `amount`."},"RoleAdminChanged(bytes32,bytes32,bytes32)":{"details":"Emitted when `newAdminRole` is set as ``role``'s admin role, replacing `previousAdminRole` `DEFAULT_ADMIN_ROLE` is the starting admin for all roles, despite {RoleAdminChanged} not being emitted to signal this."},"Transfer(address,address,address,uint256,uint256)":{"details":"Emitted when `amount` tokens of type `id` are moved from `sender` to `receiver` initiated by `caller`."}},"methods":{"pause()":{"details":"Pauses the contract"},"paused()":{"details":"Returns true if the contract is paused, and false otherwise."},"unpause()":{"details":"Unpauses the contract"},"eip712Domain()":{"details":"returns the fields and values that describe the domain separator used by this contract for EIP-712 signature."},"getFeeCalculator()":{"details":"Returns the current fee calculator address"},"getRoleAdmin(bytes32)":{"details":"Returns the admin role that controls `role`. See {grantRole} and {revokeRole}. To change a role's admin, use {_setRoleAdmin}."},"removeExecutor(address)":{"params":{"target":"address of the executor contract"},"details":"Entrypoint to remove an approved executor contract address"},"setExecutors(address[])":{"params":{"targets":"address of the executor contract"},"details":"Entrypoint to add or replace an approved executor contract address"},"deposit(address,uint256)":{"params":{"token":"The token address to deposit (use ETH_ADDRESS for native ETH)","amount":"The amount to deposit"}},"hasRole(bytes32,address)":{"details":"Returns `true` if `account` has been granted `role`."},"getPendingFeeCalculator()":{"details":"Returns the pending fee calculator and activation timestamp"},"setFeeCalculator(address)":{"params":{"feeCalculator":"The address of the fee calculator contract"}},"setOperator(address,bool)":{"details":"Grants or revokes unlimited transfer permission of any token id to `spender` for the caller's tokens. Must return true."},"withdraw(address,uint256)":{"params":{"token":"The token to withdraw","amount":"The amount to withdraw"}},"balanceOf(address,uint256)":{"details":"Override balanceOf to use our own mapping instead of ERC6909's"},"grantRole(bytes32,address)":{"details":"Grants `role` to `account`. If `account` had not been already granted `role`, emits a {RoleGranted} event. Requirements: - the caller must have ``role``'s admin role. May emit a {RoleGranted} event."},"isOperator(address,address)":{"details":"Returns true if `spender` is set as an operator for `owner`."},"revokeRole(bytes32,address)":{"details":"Revokes `role` from `account`. If `account` had been granted `role`, emits a {RoleRevoked} event. Requirements: - the caller must have ``role``'s admin role. May emit a {RoleRevoked} event."},"renounceRole(bytes32,address)":{"details":"Revokes `role` from the calling account. Roles are often managed via {grantRole} and {revokeRole}: this function's purpose is to provide a mechanism for accounts to lose their privileges if they are compromised (such as when a trusted device is misplaced). If the calling account had been revoked `role`, emits a {RoleRevoked} event. Requirements: - the caller must be `callerConfirmation`. May emit a {RoleRevoked} event."},"approve(address,uint256,uint256)":{"details":"Sets an approval to `spender` for `amount` of tokens of type `id` from the caller's tokens. An `amount` of `type(uint256).max` signifies an unlimited approval. Must return true."},"transfer(address,uint256,uint256)":{"details":"Transfers `amount` of token type `id` from the caller's account to `receiver`. Must return true."},"allowance(address,address,uint256)":{"details":"Returns the amount of tokens of type `id` that `spender` is allowed to spend on behalf of `owner`. NOTE: Does not include operator allowances."},"transferFrom(address,address,uint256,uint256)":{"details":"Transfers `amount` of token type `id` from `sender` to `receiver`. Must return true."},"singleSwap(uint256,address,address,uint256,uint256,address,(uint32,address,uint256,uint256,bytes),bytes)":{"params":{"tokenIn":"The address of the input token. Use `ETH_ADDRESS` for native ETH","amountIn":"The input token amount to be swapped.","receiver":"The address to receive the output tokens.","swapData":"Encoded swap details.","tokenOut":"The address of the output token. Use `ETH_ADDRESS` for native ETH","minAmountOut":"The minimum acceptable output amount (revert guardrail). Must be non-zero and not exceed `expectedAmountOut`.","clientFeeParams":"Client fee parameters including fee bps, receiver, max contribution, deadline and signature.","expectedAmountOut":"The quoted output amount; used to detect positive slippage."},"details":"- Reverts with `TychoRouter__NegativeSlippage` if the final output is below `minAmountOut`.","returns":{"_0":"The total amount of the output token received by the receiver."}},"sequentialSwap(uint256,address,address,uint256,uint256,address,(uint32,address,uint256,uint256,bytes),bytes)":{"params":{"swaps":"Encoded swap graph data containing details of each swap.","tokenIn":"The address of the input token. Use `ETH_ADDRESS` for native ETH","amountIn":"The input token amount to be swapped.","receiver":"The address to receive the output tokens.","tokenOut":"The address of the output token. Use `ETH_ADDRESS` for native ETH","minAmountOut":"The minimum acceptable output amount (revert guardrail). Must be non-zero and not exceed `expectedAmountOut`.","clientFeeParams":"Client fee parameters including fee bps, receiver, max contribution, deadline and signature.","expectedAmountOut":"The quoted output amount; used to detect positive slippage."},"details":"- Swaps are executed sequentially using the `_swap` function. - Reverts with `TychoRouter__NegativeSlippage` if the final output is below `minAmountOut`.","returns":{"_0":"The total amount of the output token received by the receiver."}},"splitSwap(uint256,address,address,uint256,uint256,uint256,address,(uint32,address,uint256,uint256,bytes),bytes)":{"params":{"swaps":"Encoded swap graph data containing details of each swap.","nTokens":"The total number of tokens involved in the swap graph (used to initialize arrays for internal calculations).","tokenIn":"The address of the input token. Use `ETH_ADDRESS` for native ETH","amountIn":"The input token amount to be swapped.","receiver":"The address to receive the output tokens.","tokenOut":"The address of the output token. Use `ETH_ADDRESS` for native ETH","minAmountOut":"The minimum acceptable output amount (revert guardrail). Must be non-zero and not exceed `expectedAmountOut`.","clientFeeParams":"Client fee parameters including fee bps, receiver, max contribution, deadline and signature.","expectedAmountOut":"The quoted output amount; used to detect positive slippage."},"details":"- Swaps are executed sequentially using the `_swap` function. - Reverts with `TychoRouter__NegativeSlippage` if the final output is below `minAmountOut`","returns":{"_0":"The total amount of the output token received by the receiver."}},"singleSwapUsingVault(uint256,address,address,uint256,uint256,address,(uint32,address,uint256,uint256,bytes),bytes)":{"params":{"tokenIn":"The address of the input token. Use `ETH_ADDRESS` for native ETH","amountIn":"The input token amount to be swapped.","receiver":"The address to receive the output tokens.","swapData":"Encoded swap details.","tokenOut":"The address of the output token. Use `ETH_ADDRESS` for native ETH","minAmountOut":"The minimum acceptable output amount (revert guardrail). Must be non-zero and not exceed `expectedAmountOut`.","clientFeeParams":"Client fee parameters including fee bps, receiver, max contribution, deadline and signature.","expectedAmountOut":"The quoted output amount; used to detect positive slippage."},"details":"- Reverts with `TychoRouter__NegativeSlippage` if the final output is below `minAmountOut`.","returns":{"_0":"The total amount of the output token received by the receiver."}},"sequentialSwapUsingVault(uint256,address,address,uint256,uint256,address,(uint32,address,uint256,uint256,bytes),bytes)":{"params":{"swaps":"Encoded swap graph data containing details of each swap.","tokenIn":"The address of the input token. Use `ETH_ADDRESS` for native ETH","amountIn":"The input token amount to be swapped.","receiver":"The address to receive the output tokens.","tokenOut":"The address of the output token. Use `ETH_ADDRESS` for native ETH","minAmountOut":"The minimum acceptable output amount (revert guardrail). Must be non-zero and not exceed `expectedAmountOut`.","clientFeeParams":"Client fee parameters including fee bps, receiver, max contribution, deadline and signature.","expectedAmountOut":"The quoted output amount; used to detect positive slippage."},"details":"- Swaps are executed sequentially using the `_swap` function. - Reverts with `TychoRouter__NegativeSlippage` if the final output is below `minAmountOut`.","returns":{"_0":"The total amount of the output token received by the receiver."}},"splitSwapUsingVault(uint256,address,address,uint256,uint256,uint256,address,(uint32,address,uint256,uint256,bytes),bytes)":{"params":{"swaps":"Encoded swap graph data containing details of each swap.","nTokens":"The total number of tokens involved in the swap graph (used to initialize arrays for internal calculations).","tokenIn":"The address of the input token. Use `ETH_ADDRESS` for native ETH","amountIn":"The input token amount to be swapped.","receiver":"The address to receive the output tokens.","tokenOut":"The address of the output token. Use `ETH_ADDRESS` for native ETH","minAmountOut":"The minimum acceptable output amount (revert guardrail). Must be non-zero and not exceed `expectedAmountOut`.","clientFeeParams":"Client fee parameters including fee bps, receiver, max contribution, deadline and signature.","expectedAmountOut":"The quoted output amount; used to detect positive slippage."},"details":"- Swaps are executed sequentially using the `_swap` function. - Reverts with `TychoRouter__NegativeSlippage` if the final output is below `minAmountOut`.","returns":{"_0":"The total amount of the output token received by the receiver."}},"singleSwapPermit2(uint256,address,address,uint256,uint256,address,(uint32,address,uint256,uint256,bytes),((address,uint160,uint48,uint48),address,uint256),bytes,bytes)":{"params":{"tokenIn":"The address of the input token. Use `ETH_ADDRESS` for native ETH","amountIn":"The input token amount to be swapped.","receiver":"The address to receive the output tokens.","swapData":"Encoded swap details.","tokenOut":"The address of the output token. Use `ETH_ADDRESS` for native ETH","signature":"A valid signature authorizing the Permit2 approval.","minAmountOut":"The minimum acceptable output amount (revert guardrail). Must be non-zero and not exceed `expectedAmountOut`.","permitSingle":"A Permit2 structure containing token approval details for the input token.","clientFeeParams":"Client fee parameters including fee bps, receiver, max contribution, deadline and signature.","expectedAmountOut":"The quoted output amount; used to detect positive slippage."},"details":"- For ERC20 tokens, Permit2 is used to approve and transfer tokens from the caller to the router. - Reverts with `TychoRouter__NegativeSlippage` if the final output is below `minAmountOut`.","returns":{"_0":"The total amount of the output token received by the receiver."}},"sequentialSwapPermit2(uint256,address,address,uint256,uint256,address,(uint32,address,uint256,uint256,bytes),((address,uint160,uint48,uint48),address,uint256),bytes,bytes)":{"params":{"swaps":"Encoded swap graph data containing details of each swap.","tokenIn":"The address of the input token. Use `ETH_ADDRESS` for native ETH","amountIn":"The input token amount to be swapped.","receiver":"The address to receive the output tokens.","tokenOut":"The address of the output token. Use `ETH_ADDRESS` for native ETH","signature":"A valid signature authorizing the Permit2 approval.","minAmountOut":"The minimum acceptable output amount (revert guardrail). Must be non-zero and not exceed `expectedAmountOut`.","permitSingle":"A Permit2 structure containing token approval details for the input token.","clientFeeParams":"Client fee parameters including fee bps, receiver, max contribution, deadline and signature.","expectedAmountOut":"The quoted output amount; used to detect positive slippage."},"details":"- For ERC20 tokens, Permit2 is used to approve and transfer tokens from the caller to the router. - Reverts with `TychoRouter__NegativeSlippage` if the final output is below `minAmountOut`.","returns":{"_0":"The total amount of the output token received by the receiver."}},"splitSwapPermit2(uint256,address,address,uint256,uint256,uint256,address,(uint32,address,uint256,uint256,bytes),((address,uint160,uint48,uint48),address,uint256),bytes,bytes)":{"params":{"swaps":"Encoded swap graph data containing details of each swap.","nTokens":"The total number of tokens involved in the swap graph (used to initialize arrays for internal calculations).","tokenIn":"The address of the input token. Use `ETH_ADDRESS` for native ETH","amountIn":"The input token amount to be swapped.","receiver":"The address to receive the output tokens.","tokenOut":"The address of the output token. Use `ETH_ADDRESS` for native ETH","signature":"A valid signature authorizing the Permit2 approval.","minAmountOut":"The minimum acceptable output amount (revert guardrail). Must be non-zero and not exceed `expectedAmountOut`.","permitSingle":"A Permit2 structure containing token approval details for the input token.","clientFeeParams":"Client fee parameters including fee bps, receiver, max contribution, deadline and signature.","expectedAmountOut":"The quoted output amount; used to detect positive slippage."},"details":"- For ERC20 tokens, Permit2 is used to approve and transfer tokens from the caller to the router. - Swaps are executed sequentially using the `_swap` function. - Reverts with `TychoRouter__NegativeSlippage` if the final output is below `minAmountOut`.","returns":{"_0":"The total amount of the output token received by the receiver."}}},"version":1},"sourceIds":{"src/Vault.sol":{"id":44},"lib/LibSwap.sol":{"id":38},"lib/NativeETH.sol":{"id":39},"lib/FeeStructs.sol":{"id":37},"src/Dispatcher.sol":{"id":41},"src/TychoRouterV3.sol":{"id":43},"src/TransferManager.sol":{"id":42},"@interfaces/ICallback.sol":{"id":0},"@interfaces/IExecutor.sol":{"id":1},"@interfaces/IFeeCalculator.sol":{"id":2},"@permit2/src/interfaces/IEIP712.sol":{"id":36},"@openzeppelin/contracts/utils/Bytes.sol":{"id":16},"@openzeppelin/contracts/utils/Panic.sol":{"id":20},"@openzeppelin/contracts/utils/Errors.sol":{"id":18},"@openzeppelin/contracts/utils/Address.sol":{"id":15},"@openzeppelin/contracts/utils/Context.sol":{"id":17},"@openzeppelin/contracts/utils/Strings.sol":{"id":25},"@openzeppelin/contracts/utils/Pausable.sol":{"id":21},"@openzeppelin/contracts/utils/math/Math.sol":{"id":32},"@openzeppelin/contracts/interfaces/IERC20.sol":{"id":8},"@openzeppelin/contracts/utils/StorageSlot.sol":{"id":24},"lib/bytes/LibPrefixLengthEncodedByteArray.sol":{"id":40},"@openzeppelin/contracts/interfaces/IERC165.sol":{"id":7},"@openzeppelin/contracts/token/ERC20/IERC20.sol":{"id":12},"@openzeppelin/contracts/utils/LowLevelCall.sol":{"id":19},"@openzeppelin/contracts/utils/ShortStrings.sol":{"id":23},"@permit2/src/interfaces/IAllowanceTransfer.sol":{"id":35},"@openzeppelin/contracts/interfaces/IERC1271.sol":{"id":5},"@openzeppelin/contracts/interfaces/IERC1363.sol":{"id":6},"@openzeppelin/contracts/interfaces/IERC5267.sol":{"id":9},"@openzeppelin/contracts/interfaces/IERC6909.sol":{"id":10},"@openzeppelin/contracts/interfaces/IERC7913.sol":{"id":11},"@openzeppelin/contracts/utils/math/SafeCast.sol":{"id":33},"@openzeppelin/contracts/access/AccessControl.sol":{"id":3},"@openzeppelin/contracts/access/IAccessControl.sol":{"id":4},"@openzeppelin/contracts/token/ERC6909/ERC6909.sol":{"id":14},"@openzeppelin/contracts/utils/ReentrancyGuard.sol":{"id":22},"@openzeppelin/contracts/utils/math/SignedMath.sol":{"id":34},"@openzeppelin/contracts/utils/cryptography/ECDSA.sol":{"id":26},"@openzeppelin/contracts/utils/cryptography/EIP712.sol":{"id":27},"@openzeppelin/contracts/utils/introspection/ERC165.sol":{"id":30},"@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol":{"id":13},"@openzeppelin/contracts/utils/introspection/IERC165.sol":{"id":31},"@openzeppelin/contracts/utils/cryptography/MessageHashUtils.sol":{"id":28},"@openzeppelin/contracts/utils/cryptography/SignatureChecker.sol":{"id":29}},"additionalInput":null,"stdJsonInput":{"sources":{"src/Vault.sol":{"content":"// SPDX-License-Identifier: BUSL-1.1\npragma solidity ^0.8.26;\n\nimport {IERC20} from \"@openzeppelin/contracts/token/ERC20/IERC20.sol\";\nimport {\n    SafeERC20\n} from \"@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol\";\nimport {Address} from \"@openzeppelin/contracts/utils/Address.sol\";\nimport {\n    ReentrancyGuard\n} from \"@openzeppelin/contracts/utils/ReentrancyGuard.sol\";\nimport {Pausable} from \"@openzeppelin/contracts/utils/Pausable.sol\";\nimport {ERC6909} from \"@openzeppelin/contracts/token/ERC6909/ERC6909.sol\";\nimport {ETH_ADDRESS} from \"../lib/NativeETH.sol\";\n\nerror Vault__InsufficientBalance(\n    address user, address token, uint256 requested, uint256 available\n);\nerror Vault__AmountZero();\nerror Vault__AddressZero();\nerror Vault__UnexpectedNonZeroCount(uint256 nonZeroCount);\nerror Vault__InvalidInputDelta(address token, int256 expected, int256 actual);\nerror Vault__UnexpectedInputDelta(int256 inputDelta);\n\n/**\n * @title Vault - ERC6909-compliant multi-token vault\n * @dev Implements ERC6909 for managing user token balances within the router.\n * Users can deposit tokens, use them for swaps, and withdraw them.\n */\nabstract contract Vault is ERC6909, ReentrancyGuard, Pausable {\n    using SafeERC20 for IERC20;\n\n    // Vault balances - using our own mapping to avoid expensive Transfer events from ERC6909\n    mapping(address => mapping(uint256 => uint256)) private _vaultBalances;\n\n    // Transient storage slot for tracking deltas during swap sequences\n    // keccak256(\"TychoVault#NON_ZERO_DELTA_COUNT_SLOT\")\n    uint256 private constant _NON_ZERO_DELTA_COUNT_SLOT =\n        0xee3c9c434505299f2450d3624302a27b8a6978e973825330bc744ba925eec199;\n    // keccak256(\"Vault#USE_VAULT_SLOT\")\n    uint256 internal constant _USE_VAULT_SLOT =\n        0xce5ffa91873ede1b462af74ea59bab3721b06b0ff726b90311437efde2001795;\n\n    // ============ ERC6909 Overrides and Extensions ============\n\n    /**\n     * @dev Override balanceOf to use our own mapping instead of ERC6909's\n     *\n     */\n    function balanceOf(address owner, uint256 id)\n        public\n        view\n        virtual\n        override\n        returns (uint256)\n    {\n        return _vaultBalances[owner][id];\n    }\n\n    /**\n     * @dev Rewrite _update to use our own mapping and avoid emitting Transfer events\n     */\n    function _updateWithoutEvent(\n        address from,\n        address to,\n        uint256 id,\n        uint256 amount\n    ) internal virtual {\n        if (from != address(0)) {\n            uint256 fromBalance = _vaultBalances[from][id];\n            if (fromBalance < amount) {\n                revert ERC6909.ERC6909InsufficientBalance(\n                    from, fromBalance, amount, id\n                );\n            }\n            unchecked {\n                // Overflow not possible: amount <= fromBalance.\n                _vaultBalances[from][id] = fromBalance - amount;\n            }\n        }\n        if (to != address(0)) {\n            _vaultBalances[to][id] += amount;\n        }\n        // Note: We intentionally do NOT emit Transfer events to save gas\n    }\n\n    /**\n     * @dev Override _update to use our own mapping and emit Transfer events\n     * This is called by all balance-changing operations (transfer, mint, etc.)\n     */\n    function _update(address from, address to, uint256 id, uint256 amount)\n        internal\n        virtual\n        override\n    {\n        _updateWithoutEvent(from, to, id, amount);\n        emit Transfer(msg.sender, from, to, id, amount);\n    }\n\n    /**\n     * @dev Create new _mint that does not emit a Transfer event. This should be used by inner methods of the\n     * TychoRouterV3 to save gas during swapping.\n     */\n    function _mintWithoutEvent(address to, uint256 id, uint256 amount)\n        internal\n    {\n        if (to == address(0)) {\n            revert ERC6909InvalidReceiver(address(0));\n        }\n        _updateWithoutEvent(address(0), to, id, amount);\n    }\n\n    // ============ ERC6909 Vault Functions ============\n\n    /**\n     * @notice Deposit tokens into the vault for the caller\n     * @param token The token address to deposit (use ETH_ADDRESS for native ETH)\n     * @param amount The amount to deposit\n     */\n    function deposit(address token, uint256 amount)\n        external\n        payable\n        whenNotPaused\n        nonReentrant\n    {\n        if (token == address(0)) {\n            revert Vault__AddressZero();\n        }\n        if (amount == 0) {\n            revert Vault__AmountZero();\n        }\n\n        uint256 id = _toId(token);\n\n        if (token == ETH_ADDRESS) {\n            // Native ETH deposit\n            require(msg.value == amount, \"Value mismatch\");\n            _mint(msg.sender, id, amount);\n        } else {\n            require(msg.value == 0, \"ETH not accepted for ERC20 deposit\");\n            // ERC20 deposit - transfer to this contract and measure actual received\n            // amount to handle  fee-on-transfer and rebasing tokens\n            uint256 balanceBefore = IERC20(token).balanceOf(address(this));\n            IERC20(token).safeTransferFrom(msg.sender, address(this), amount);\n            uint256 received =\n                IERC20(token).balanceOf(address(this)) - balanceBefore;\n            _mint(msg.sender, id, received);\n        }\n    }\n\n    /**\n     * @notice Withdraw tokens from the vault\n     * @param token The token to withdraw\n     * @param amount The amount to withdraw\n     */\n    function withdraw(address token, uint256 amount) external nonReentrant {\n        if (token == address(0)) {\n            revert Vault__AddressZero();\n        }\n        if (amount == 0) {\n            revert Vault__AmountZero();\n        }\n\n        uint256 id = _toId(token);\n        uint256 balance = balanceOf(msg.sender, id);\n        if (balance < amount) {\n            revert Vault__InsufficientBalance(\n                msg.sender, token, amount, balance\n            );\n        }\n\n        _burn(msg.sender, id, amount);\n\n        // Transfer tokens from contract to user\n        if (token == ETH_ADDRESS) {\n            Address.sendValue(payable(msg.sender), amount);\n        } else {\n            IERC20(token).safeTransfer(msg.sender, amount);\n        }\n    }\n\n    // ============ Tracking deltas methods ============\n\n    /**\n     * @dev Internal helper to get transient storage slot for a token delta\n     * @notice Only needs token since transient storage is scoped to current transaction's sender\n     */\n    function _getDeltaSlot(address token) private pure returns (uint256 slot) {\n        slot = uint256(keccak256(abi.encodePacked(token, \"TychoVault#DELTA\")));\n        return slot;\n    }\n\n    /**\n     * @dev Get the current delta from transient storage\n     * @notice Only needs token since transient storage is scoped to current transaction's sender\n     */\n    // Assembly required for transient storage operations (tload)\n    function _getDelta(address token) internal view returns (int256 delta) {\n        uint256 slot = _getDeltaSlot(token);\n        // slither-disable-next-line assembly\n        assembly {\n            delta := tload(slot)\n        }\n    }\n\n    /**\n     * @dev Set the delta in transient storage\n     */\n    // Assembly required for transient storage operations (tstore)\n    function _setDelta(address token, int256 delta) internal {\n        uint256 slot = _getDeltaSlot(token);\n        // slither-disable-next-line assembly\n        assembly {\n            tstore(slot, delta)\n        }\n    }\n\n    /**\n     * @dev Get non zero delta count from transient storage\n     */\n    // Assembly required for transient storage operations (tload)\n    function _getNonZeroDeltaCount() internal view returns (uint256 count) {\n        // slither-disable-next-line assembly\n        assembly {\n            count := tload(_NON_ZERO_DELTA_COUNT_SLOT)\n        }\n    }\n\n    /**\n     * @dev Set non zero delta count in transient storage\n     */\n    // Assembly required for transient storage operations (tstore)\n    function _setNonZeroDeltaCount(uint256 count) internal {\n        // slither-disable-next-line assembly\n        assembly {\n            tstore(_NON_ZERO_DELTA_COUNT_SLOT, count)\n        }\n    }\n\n    /**\n     * @dev Get the USE_VAULT flag from transient storage\n     */\n    // Assembly required for transient storage operations (tload)\n    function _getUseVault() internal view virtual returns (bool) {\n        uint256 useVault;\n        // slither-disable-next-line assembly\n        assembly {\n            useVault := tload(_USE_VAULT_SLOT)\n        }\n        return useVault == 1;\n    }\n\n    /**\n     * @dev Update delta accounting (transient storage)\n     * @notice Only needs token since transient storage is scoped to current transaction's sender\n     * @param token The token to update\n     * @param deltaChange The change to apply (positive to credit, negative to debit)\n     */\n    function _updateDeltaAccounting(address token, int256 deltaChange)\n        internal\n        virtual\n    {\n        // slither-disable-next-line incorrect-equality\n        if (deltaChange == 0) return;\n\n        int256 oldDelta = _getDelta(token);\n        int256 newDelta = oldDelta + deltaChange;\n\n        // Update non zero delta counter based on transitions\n        // slither-disable-next-line incorrect-equality\n        if (oldDelta != 0 && newDelta == 0) {\n            // Was non zero, now zero: decrement counter\n            _setNonZeroDeltaCount(_getNonZeroDeltaCount() - 1);\n            // slither-disable-next-line incorrect-equality\n        } else if (oldDelta == 0 && newDelta != 0) {\n            // Was zero, now non zero: increment counter\n            _setNonZeroDeltaCount(_getNonZeroDeltaCount() + 1);\n        }\n\n        _setDelta(token, newDelta);\n    }\n\n    // ============ Vault accounting ============\n\n    /**\n     * @dev Internal helper to debit user's actual vault balance (persistent storage)\n     * @notice This debits the persistent vault balance and emits a Transfer event\n     */\n    function _debitVault(address user, address token, uint256 amount)\n        internal\n        virtual\n    {\n        // slither-disable-next-line incorrect-equality\n        if (amount == 0) return;\n\n        uint256 id = _toId(token);\n        uint256 balance = balanceOf(user, id);\n\n        if (balance < amount) {\n            revert Vault__InsufficientBalance(user, token, amount, balance);\n        }\n        _burn(user, id, amount);\n    }\n\n    /**\n     * @dev Internal helper to credit user's actual vault balance (persistent storage)\n     * @notice This credits the persistent vault balance and emits a Transfer event\n     */\n    function _creditVault(address user, address token, uint256 amount)\n        internal\n        virtual\n    {\n        // slither-disable-next-line incorrect-equality\n        if (amount == 0) return;\n\n        uint256 id = _toId(token);\n\n        _mint(user, id, amount);\n    }\n\n    /**\n     * @dev Internal helper to credit user's actual vault balance (persistent storage)\n     * @notice This debits the persistent vault balance and does not emit an event.\n     * Should be used for fee taking because an extra event is emitted in this case.\n     *\n     */\n    function _creditVaultForFees(address user, address token, uint256 amount)\n        internal\n        virtual\n    {\n        // slither-disable-next-line incorrect-equality\n        if (amount == 0) return;\n\n        uint256 id = _toId(token);\n\n        _mintWithoutEvent(user, id, amount);\n    }\n\n    /**\n     * @dev Finalizes the input transient delta to persistent storage\n     * @dev Verifies that only the input token has a negative delta and burns the vault balance\n     * @param user The user whose deltas should be finalized\n     * @param inputToken The expected input token\n     * @param inputAmount The expected input amount\n     */\n    function _finalizeBalances(\n        address user,\n        address inputToken,\n        uint256 inputAmount\n    ) internal {\n        uint256 nonZeroCount = _getNonZeroDeltaCount();\n        bool useVault = _getUseVault();\n\n        if (useVault) {\n            // When vault usage is allowed, allow a single negative delta\n            // Check that there is only one negative delta: the input token\n            if (nonZeroCount > 1) {\n                revert Vault__UnexpectedNonZeroCount(nonZeroCount);\n            } else if (nonZeroCount == 1) {\n                int256 inputDelta = _getDelta(inputToken);\n                // slither-disable-next-line incorrect-equality\n                if (inputDelta == 0 || inputDelta != -int256(inputAmount)) {\n                    revert Vault__UnexpectedInputDelta(inputDelta);\n                }\n                uint256 id = _toId(inputToken);\n                _burn(user, id, inputAmount);\n                _setDelta(inputToken, 0);\n                _setNonZeroDeltaCount(0);\n            }\n        } else {\n            // When vault usage is NOT allowed, all deltas must be zero\n            if (nonZeroCount > 0) {\n                revert Vault__UnexpectedNonZeroCount(nonZeroCount);\n            }\n        }\n    }\n\n    // ============ Utils methods ============\n\n    /**\n     * @dev Converts a token address to an ID\n     */\n    function _toId(address token) internal view virtual returns (uint256) {\n        return uint256(uint160(token));\n    }\n}\n"},"lib/LibSwap.sol":{"content":"// SPDX-License-Identifier: BUSL-1.1\npragma solidity ^0.8.26;\n\nlibrary LibSwap {\n    /**\n     * @dev Returns arguments required to perform a single swap\n     */\n    function decodeSingleSwap(bytes calldata swap)\n        internal\n        pure\n        returns (address executor, bytes calldata protocolData)\n    {\n        executor = address(uint160(bytes20(swap[0:20])));\n        protocolData = swap[20:];\n    }\n\n    /**\n     * @dev Returns arguments required to perform a sequential swap\n     */\n    function decodeSequentialSwap(bytes calldata swap)\n        internal\n        pure\n        returns (address executor, bytes calldata protocolData)\n    {\n        executor = address(uint160(bytes20(swap[0:20])));\n        protocolData = swap[20:];\n    }\n\n    /**\n     * @dev Returns arguments required to perform a split swap\n     */\n    function decodeSplitSwap(bytes calldata swap)\n        internal\n        pure\n        returns (uint8 tokenInIndex, uint8 tokenOutIndex, uint24 split, address executor, bytes calldata protocolData)\n    {\n        tokenInIndex = uint8(swap[0]);\n        tokenOutIndex = uint8(swap[1]);\n        split = uint24(bytes3(swap[2:5]));\n        executor = address(uint160(bytes20(swap[5:25])));\n        protocolData = swap[25:];\n    }\n}\n"},"lib/NativeETH.sol":{"content":"// SPDX-License-Identifier: BUSL-1.1\npragma solidity ^0.8.26;\n\naddress constant ETH_ADDRESS = 0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE;\n"},"lib/FeeStructs.sol":{"content":"// SPDX-License-Identifier: BUSL-1.1\npragma solidity ^0.8.26;\n\n/**\n * @title FeeStructs\n * @notice Shared fee-related data structures used across the protocol\n */\n\nstruct FeeRecipient {\n    address recipient;\n    uint256 feeAmount;\n}\n\nstruct FeeInput {\n    uint256 actualAmountOut;\n    uint256 expectedAmountOut;\n    uint256 amountIn;\n    address tokenIn;\n    address tokenOut;\n    uint32 clientFeeBps;\n    address client;\n}\n"},"src/Dispatcher.sol":{"content":"// SPDX-License-Identifier: BUSL-1.1\npragma solidity ^0.8.26;\n\nimport {IExecutor} from \"@interfaces/IExecutor.sol\";\nimport {ICallback} from \"@interfaces/ICallback.sol\";\nimport {TransferManager} from \"./TransferManager.sol\";\nimport {IERC20} from \"@openzeppelin/contracts/token/ERC20/IERC20.sol\";\nimport {\n    SafeERC20\n} from \"@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol\";\nerror Dispatcher__UnapprovedExecutor(address executor);\nerror Dispatcher__ExecutorIsTimelocked(address executor);\nerror Dispatcher__NonContractExecutor();\nerror Dispatcher__InvalidDataLength();\nerror Dispatcher__AddressZero();\nerror Dispatcher__UnsupportedSingleHopCycle(address token);\nerror Dispatcher__ExecutorAlreadyExists(address executor);\nerror Dispatcher__SwapReverted(address executor);\nerror Dispatcher__CallbackReverted(address executor);\n\n/**\n * @title Dispatcher - Dispatch execution to external contracts\n * @dev Provides the ability to delegate execution of swaps to external\n *  contracts. This allows dynamically adding new supported protocols\n *  without needing to upgrade any contracts. External contracts will\n *  be called using delegatecall so they can share state with the main\n *  contract if needed.\n *\n *  Note: Executor contracts need to implement the IExecutor interface unless\n *  an alternate selector is specified.\n */\ncontract Dispatcher is TransferManager {\n    using SafeERC20 for IERC20;\n\n    mapping(address => uint256) public executorsActivationTimestamp;\n\n    // keccak256(\"Dispatcher#CURRENTLY_SWAPPING_EXECUTOR_SLOT\")\n    uint256 private constant _CURRENTLY_SWAPPING_EXECUTOR_SLOT =\n        0x098a7a3b47801589e8cdf9ec791b93ad44273246946c32ef1fc4dbe45390c80e;\n    // keccak256(\"Dispatcher#IS_SPLIT_SWAP_SLOT\")\n    uint256 private constant _IS_SPLIT_SWAP_SLOT =\n        0x7b3c4e5f6a8d9e0f1c2b3a4d5e6f7c8d9e0f1c2b3a4d5e6f7c8d9e0f1c2b3a4d;\n    // keccak256(\"Dispatcher#IS_FIRST_SWAP_SLOT\")\n    uint256 private constant _IS_FIRST_SWAP_SLOT =\n        0x8c47a7e3f4c2e1b5a6d9f0e8c7b3a2d1e4f5c6b7a8d9e0f1c2b3a4d5e6f7c8d9;\n    // keccak256(\"Dispatcher#SWAP_INPUT_AMOUNT_SLOT\")\n    uint256 private constant _SWAP_INPUT_AMOUNT_SLOT =\n        0xce9e2e8e50d57f2d688020ea7ab16e2039bcf4dc7175eba827e178586597bb39;\n    // keccak256(\"Dispatcher#SWAP_INPUT_TOKEN_SLOT\")\n    uint256 private constant _SWAP_INPUT_TOKEN_SLOT =\n        0x0c22c14aba48b0e26e3b58475c66f358c352532122e537c32e8184c0159e6e10;\n\n    uint256 public constant DELAY_EXECUTOR_ACTIVATION = 1 days;\n\n    event ExecutorSet(address indexed executor, uint256 timelockExpiresAt);\n    event ExecutorRemoved(address indexed executor);\n\n    constructor(address permit2_) TransferManager(permit2_) {}\n\n    /**\n     * @dev Adds an approved executor contract address if it is a contract.\n     * @param target address of the executor contract\n     */\n    function _setExecutor(address target) internal {\n        if (target.code.length == 0) {\n            revert Dispatcher__NonContractExecutor();\n        }\n\n        // slither-disable-next-line timestamp\n        if (executorsActivationTimestamp[target] != 0) {\n            revert Dispatcher__ExecutorAlreadyExists(target);\n        }\n\n        uint256 timelockExpiresAt = block.timestamp + DELAY_EXECUTOR_ACTIVATION;\n        executorsActivationTimestamp[target] = timelockExpiresAt;\n        emit ExecutorSet(target, timelockExpiresAt);\n    }\n\n    /**\n     * @dev Removes an approved executor contract address\n     * @param target address of the executor contract\n     */\n    function _removeExecutor(address target) internal {\n        delete executorsActivationTimestamp[target];\n        emit ExecutorRemoved(target);\n    }\n\n    /**\n     * @dev Calls an executor, assumes swap.protocolData contains\n     *  protocol-specific data required by the executor.\n     */\n    // slither-disable-next-line delegatecall-loop,assembly,controlled-delegatecall,cyclomatic-complexity\n    function _callSwapOnExecutor(\n        address executor,\n        uint256 amount,\n        bytes calldata data,\n        bool isFirstSwap,\n        bool isSplitSwap,\n        address receiver\n    ) internal returns (uint256 amountOut) {\n        _validateExecutor(executor);\n\n        assembly {\n            tstore(_CURRENTLY_SWAPPING_EXECUTOR_SLOT, executor)\n            tstore(_IS_FIRST_SWAP_SLOT, isFirstSwap)\n            tstore(_IS_SPLIT_SWAP_SLOT, isSplitSwap)\n            tstore(_SWAP_INPUT_AMOUNT_SLOT, amount)\n        }\n\n        // slither-disable-next-line calls-loop\n        (\n            TransferManager.TransferType transferType,\n            address transferReceiver,\n            address tokenIn,\n            address tokenOut,\n            bool outputToRouter\n        ) = IExecutor(executor).getTransferData(data);\n\n        if (tokenIn == tokenOut) {\n            // Single-hop cycles (such as those made possible via UniswapV4 flash\n            // accounting) are not supported.\n            revert Dispatcher__UnsupportedSingleHopCycle(tokenIn);\n        }\n\n        // Store tokenIn so it can be passed to getCallbackTransferData if a\n        // callback occurs during the swap.\n        assembly {\n            tstore(_SWAP_INPUT_TOKEN_SLOT, tokenIn)\n        }\n\n        // Measure output before _transfer so cyclic handling is uniform\n        // across callback and direct-transfer types.\n        address measureAt = outputToRouter ? address(this) : receiver;\n        uint256 balanceBeforeSwap = _balanceOf(tokenOut, measureAt);\n\n        amount = _transfer(\n            transferReceiver,\n            transferType,\n            tokenIn,\n            amount,\n            isFirstSwap,\n            isSplitSwap,\n            false\n        );\n\n        // slither-disable-next-line controlled-delegatecall,low-level-calls,calls-loop,reentrancy-balance\n        (bool success, bytes memory result) = executor.delegatecall(\n            abi.encodeWithSelector(\n                IExecutor.swap.selector, amount, data, receiver\n            )\n        );\n\n        // Clear transient storage in case no callback was performed\n        assembly {\n            tstore(_CURRENTLY_SWAPPING_EXECUTOR_SLOT, 0)\n            tstore(_IS_FIRST_SWAP_SLOT, 0)\n            tstore(_IS_SPLIT_SWAP_SLOT, 0)\n            tstore(_SWAP_INPUT_AMOUNT_SLOT, 0)\n            tstore(_SWAP_INPUT_TOKEN_SLOT, 0)\n        }\n\n        // Revoke any lingering allowance the protocol didn't consume.\n        if (transferType == TransferType.ProtocolWillDebit) {\n            _revokeUnconsumedApproval(tokenIn, transferReceiver);\n        }\n\n        if (!success) {\n            // slither-disable-next-line incorrect-equality\n            if (result.length == 0) {\n                revert Dispatcher__SwapReverted(executor);\n            }\n            // Bubble the executor's revert payload byte-for-byte so callers\n            // see the original Error(string)/Panic/custom-error\n            assembly {\n                revert(add(result, 0x20), mload(result))\n            }\n        }\n\n        uint256 balanceAfterSwap = _balanceOf(tokenOut, measureAt);\n        amountOut = balanceAfterSwap - balanceBeforeSwap;\n\n        // Forward if output landed at router but needs to go elsewhere\n        if (outputToRouter && receiver != address(this)) {\n            amountOut = _transferOut(tokenOut, receiver, amountOut);\n        }\n\n        // Delta accounting if tokens stay at router\n        if (receiver == address(this)) {\n            // slither-disable-next-line calls-loop\n            _updateDeltaAccounting(tokenOut, int256(amountOut));\n        }\n    }\n\n    // slither-disable-next-line assembly\n    function _callHandleCallbackOnExecutor(bytes calldata data, address caller)\n        internal\n        returns (bytes memory)\n    {\n        address executor;\n        bool isFirstSwap;\n        bool isSplitSwap;\n        uint256 amount;\n        address tokenIn;\n        assembly {\n            executor := tload(_CURRENTLY_SWAPPING_EXECUTOR_SLOT)\n            isFirstSwap := tload(_IS_FIRST_SWAP_SLOT)\n            isSplitSwap := tload(_IS_SPLIT_SWAP_SLOT)\n            amount := tload(_SWAP_INPUT_AMOUNT_SLOT)\n            tokenIn := tload(_SWAP_INPUT_TOKEN_SLOT)\n        }\n\n        _validateExecutor(executor);\n\n        (TransferManager.TransferType transferType, address receiver) =\n            ICallback(executor).getCallbackTransferData(data, tokenIn, caller);\n\n        _transfer(\n            receiver,\n            transferType,\n            tokenIn,\n            amount,\n            isFirstSwap,\n            isSplitSwap,\n            true\n        );\n\n        // slither-disable-next-line controlled-delegatecall,low-level-calls\n        (bool success, bytes memory result) = executor.delegatecall(\n            abi.encodeWithSelector(ICallback.handleCallback.selector, data)\n        );\n\n        if (!success) {\n            // slither-disable-next-line incorrect-equality\n            if (result.length == 0) {\n                revert Dispatcher__CallbackReverted(executor);\n            }\n            // Bubble the executor's revert payload byte-for-byte so callers\n            // see the original Error(string)/Panic/custom-error\n            assembly {\n                revert(add(result, 0x20), mload(result))\n            }\n        }\n\n        // Revoke any lingering allowance the protocol didn't consume.\n        if (transferType == TransferType.ProtocolWillDebit) {\n            _revokeUnconsumedApproval(tokenIn, receiver);\n        }\n\n        // to prevent multiple callbacks\n        assembly {\n            tstore(_CURRENTLY_SWAPPING_EXECUTOR_SLOT, 0)\n            tstore(_IS_FIRST_SWAP_SLOT, 0)\n            tstore(_IS_SPLIT_SWAP_SLOT, 0)\n        }\n\n        // The final callback result should not be ABI encoded. That is why we are decoding here.\n        // ABI encoding is very gas expensive and we want to avoid it if possible.\n        // The result from `handleCallback` is always ABI encoded.\n        bytes memory decodedResult = abi.decode(result, (bytes));\n        return decodedResult;\n    }\n\n    function _callFundsExpectedAddress(address executor, bytes calldata data)\n        internal\n        view\n        returns (address receiver)\n    {\n        _validateExecutor(executor);\n\n        // slither-disable-next-line calls-loop\n        receiver = IExecutor(executor).fundsExpectedAddress(data);\n    }\n\n    function _validateExecutor(address executor) private view {\n        uint256 activationTimestamp = executorsActivationTimestamp[executor];\n\n        // slither-disable-next-line incorrect-equality\n        if (activationTimestamp == 0) {\n            revert Dispatcher__UnapprovedExecutor(executor);\n        }\n        // slither-disable-next-line timestamp\n        if (block.timestamp < activationTimestamp) {\n            revert Dispatcher__ExecutorIsTimelocked(executor);\n        }\n    }\n}\n"},"src/TychoRouterV3.sol":{"content":"// SPDX-License-Identifier: BUSL-1.1\npragma solidity ^0.8.26;\n\nimport {\n    LibPrefixLengthEncodedByteArray\n} from \"../lib/bytes/LibPrefixLengthEncodedByteArray.sol\";\n\nimport {AccessControl} from \"@openzeppelin/contracts/access/AccessControl.sol\";\nimport {IERC20} from \"@openzeppelin/contracts/token/ERC20/IERC20.sol\";\nimport {\n    SafeERC20\n} from \"@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol\";\nimport {\n    ReentrancyGuard\n} from \"@openzeppelin/contracts/utils/ReentrancyGuard.sol\";\nimport {Address} from \"@openzeppelin/contracts/utils/Address.sol\";\nimport {\n    IAllowanceTransfer\n} from \"@permit2/src/interfaces/IAllowanceTransfer.sol\";\nimport {ERC6909} from \"@openzeppelin/contracts/token/ERC6909/ERC6909.sol\";\nimport {EIP712} from \"@openzeppelin/contracts/utils/cryptography/EIP712.sol\";\nimport {ECDSA} from \"@openzeppelin/contracts/utils/cryptography/ECDSA.sol\";\nimport {\n    SignatureChecker\n} from \"@openzeppelin/contracts/utils/cryptography/SignatureChecker.sol\";\nimport {Dispatcher} from \"./Dispatcher.sol\";\nimport {LibSwap} from \"../lib/LibSwap.sol\";\nimport {TransferManager} from \"./TransferManager.sol\";\nimport {ETH_ADDRESS} from \"../lib/NativeETH.sol\";\nimport {FeeRecipient, FeeInput} from \"../lib/FeeStructs.sol\";\nimport {IFeeCalculator} from \"@interfaces/IFeeCalculator.sol\";\n\n//                                         ✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷\n//                                   ✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷\n//                             ✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷\n//                          ✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷\n//                       ✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷     ✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷\n//                     ✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷   ✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷     ✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷\n//                   ✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷       ✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷     ✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷\n//                 ✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷      ✷✷✷✷✷✷✷✷✷✷✷✷✷     ✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷\n//                ✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷      ✷✷✷✷✷✷✷✷✷✷     ✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷\n//              ✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷     ✷✷✷✷✷✷✷✷     ✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷    ✷✷✷✷✷✷✷✷✷✷✷✷✷\n//             ✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷      ✷✷✷✷✷     ✷✷✷✷✷✷✷✷✷✷✷✷✷       ✷✷✷✷✷✷✷✷✷✷✷✷✷✷\n//            ✷✷✷✷✷✷✷✷✷✷✷✷           ✷✷✷✷✷✷✷✷✷✷✷✷✷     ✷✷✷     ✷✷✷✷✷✷✷✷✷         ✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷\n//            ✷✷✷✷✷✷✷✷✷✷✷✷                   ✷✷✷✷✷✷           ✷✷✷✷✷✷         ✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷\n//            ✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷                                   ✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷\n//            ✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷                  ✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷\n//            ✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷                  ✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷\n//            ✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷                                   ✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷\n//            ✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷         ✷✷✷✷✷✷           ✷✷✷✷✷✷                   ✷✷✷✷✷✷✷✷✷✷✷✷\n//            ✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷         ✷✷✷✷✷✷✷✷✷     ✷✷✷     ✷✷✷✷✷✷✷✷✷✷✷✷✷           ✷✷✷✷✷✷✷✷✷✷✷✷\n//             ✷✷✷✷✷✷✷✷✷✷✷✷✷✷       ✷✷✷✷✷✷✷✷✷✷✷✷✷     ✷✷✷✷✷     ✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷\n//              ✷✷✷✷✷✷✷✷✷✷✷✷✷    ✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷     ✷✷✷✷✷✷✷✷     ✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷\n//                ✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷     ✷✷✷✷✷✷✷✷✷✷      ✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷\n//                 ✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷     ✷✷✷✷✷✷✷✷✷✷✷✷      ✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷\n//                   ✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷     ✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷      ✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷\n//                     ✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷     ✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷    ✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷\n//                       ✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷     ✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷\n//                          ✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷\n//                             ✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷\n//                                  ✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷\n//                                         ✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷\n//\n//\n//     ✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷   ✷✷✷✷✷✷       ✷✷✷✷✷✷       ✷✷✷✷✷✷✷         ✷✷✷✷✷✷      ✷✷✷✷✷✷         ✷✷✷✷✷✷✷\n//     ✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷    ✷✷✷✷✷✷    ✷✷✷✷✷✷✷    ✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷     ✷✷✷✷✷✷      ✷✷✷✷✷✷     ✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷\n//           ✷✷✷✷✷✷           ✷✷✷✷✷✷ ✷✷✷✷✷✷     ✷✷✷✷✷✷     ✷✷✷✷✷✷✷   ✷✷✷✷✷✷      ✷✷✷✷✷✷    ✷✷✷✷✷✷     ✷✷✷✷✷✷✷\n//           ✷✷✷✷✷✷            ✷✷✷✷✷✷✷✷✷✷      ✷✷✷✷✷✷✷               ✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷   ✷✷✷✷✷✷✷      ✷✷✷✷✷✷\n//           ✷✷✷✷✷✷              ✷✷✷✷✷✷✷        ✷✷✷✷✷✷      ✷✷✷✷✷✷   ✷✷✷✷✷✷      ✷✷✷✷✷✷    ✷✷✷✷✷✷      ✷✷✷✷✷✷\n//           ✷✷✷✷✷✷               ✷✷✷✷✷          ✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷    ✷✷✷✷✷✷      ✷✷✷✷✷✷     ✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷✷\n//           ✷✷✷✷✷✷               ✷✷✷✷✷              ✷✷✷✷✷✷✷✷        ✷✷✷✷✷✷      ✷✷✷✷✷✷         ✷✷✷✷✷✷✷✷\n\nerror TychoRouter__AddressZero();\nerror TychoRouter__NotAContract(address addr);\nerror TychoRouter__EmptySwaps();\nerror TychoRouter__MsgValueDoesNotMatchAmountIn(\n    uint256 msgValue, uint256 amountIn\n);\nerror TychoRouter__NegativeSlippage(uint256 amount, uint256 minAmount);\nerror TychoRouter__InvalidDataLength();\nerror TychoRouter__AmountOutZero();\nerror TychoRouter__InvalidMinAmountOut(\n    uint256 minAmountOut, uint256 expectedAmountOut\n);\nerror TychoRouter__InvalidClientSignature();\nerror TychoRouter__NegativeOutputDelta(int256 amount);\nerror TychoRouter__ExpiredClientSignature(\n    uint256 deadline, uint256 blockTimestamp\n);\nerror TychoRouter__ZeroInput();\n\nstruct ClientFeeParams {\n    uint32 clientFeeBps;\n    address clientFeeReceiver;\n    uint256 maxClientContribution;\n    uint256 deadline;\n    // EIP-712 signature by clientFeeReceiver: a 65-byte ECDSA signature when\n    // the receiver is an EOA, or an ERC-1271 signature of any length when it\n    // is a contract.\n    bytes clientSignature;\n}\n\nerror TychoRouter__TimelockNotExpired(\n    uint256 activationTimestamp, uint256 blockTimestamp\n);\nerror TychoRouter__NoPendingFeeCalculator();\nerror TychoRouter__FeesExceedOutput(uint256 totalFees, uint256 actualAmountOut);\n\ncontract TychoRouterV3 is AccessControl, Dispatcher, EIP712 {\n    address private _feeCalculator; // Fee calculator contract\n    address private _pendingFeeCalculator;\n    uint48 private _feeCalculatorActivationTimestamp;\n\n    using SafeERC20 for IERC20;\n    using LibPrefixLengthEncodedByteArray for bytes;\n    using LibSwap for bytes;\n\n    //keccak256(\"NAME_OF_ROLE\") : save gas on deployment\n    bytes32 public constant EXECUTOR_SETTER_ROLE =\n        0x6a1dd52dcad5bd732e45b6af4e7344fa284e2d7d4b23b5b09cb55d36b0685c87;\n    bytes32 public constant PAUSER_ROLE =\n        0x65d7a28e3265b37a6474929f336521b332c1681b933f6cb9f3376673440d862a;\n    bytes32 public constant UNPAUSER_ROLE =\n        0x427da25fe773164f88948d3e215c94b6554e2ed5e5f203a821c9f2f6131cf75a;\n    bytes32 public constant ROUTER_FEE_SETTER_ROLE =\n        0x9939157be7760e9462f1d5a0dcad88b616ddc64138e317108b40b1cf55601348;\n\n    uint256 public constant DELAY_FEE_CALCULATOR_ACTIVATION = 1 days;\n\n    bytes32 public constant CLIENT_FEE_TYPEHASH = keccak256(\n        \"ClientFee(uint32 clientFeeBps,address clientFeeReceiver,\"\n        \"uint256 maxClientContribution,uint256 deadline,\"\n        \"uint256 amountIn,address tokenIn,address tokenOut,\"\n        \"uint256 expectedAmountOut,uint256 minAmountOut,address receiver,bytes swaps)\"\n    );\n\n    event Withdrawal(\n        address indexed token, uint256 amount, address indexed receiver\n    );\n    event FeeCalculatorSet(\n        address indexed feeCalculator, uint256 timelockExpiresAt\n    );\n    event FeeCalculatorActivated(\n        address indexed oldCalculator, address indexed newCalculator\n    );\n    event FeesTaken(address indexed token, FeeRecipient[] fees);\n\n    constructor(\n        address permit2_,\n        address feeCalculator,\n        address pauserAdmin,\n        address unpauserAdmin,\n        address executorSetterAdmin,\n        address routerFeeSetterAdmin\n    ) Dispatcher(permit2_) EIP712(\"TychoRouter\", \"1\") {\n        if (feeCalculator.code.length == 0) {\n            revert TychoRouter__NotAContract(feeCalculator);\n        }\n        _feeCalculator = feeCalculator;\n\n        // Make each role its own admin so role holders can manage their own role\n        _setRoleAdmin(PAUSER_ROLE, PAUSER_ROLE);\n        _setRoleAdmin(UNPAUSER_ROLE, UNPAUSER_ROLE);\n        _setRoleAdmin(EXECUTOR_SETTER_ROLE, EXECUTOR_SETTER_ROLE);\n        _setRoleAdmin(ROUTER_FEE_SETTER_ROLE, ROUTER_FEE_SETTER_ROLE);\n\n        // Grant initial roles - only these ones are admin of the corresponding role\n        _grantRole(PAUSER_ROLE, pauserAdmin);\n        _grantRole(UNPAUSER_ROLE, unpauserAdmin);\n        _grantRole(EXECUTOR_SETTER_ROLE, executorSetterAdmin);\n        _grantRole(ROUTER_FEE_SETTER_ROLE, routerFeeSetterAdmin);\n    }\n\n    /**\n     * @notice Override supportsInterface to resolve conflict between AccessControl and ERC6909\n     */\n    function supportsInterface(bytes4 interfaceId)\n        public\n        view\n        virtual\n        override(AccessControl, ERC6909)\n        returns (bool)\n    {\n        return AccessControl.supportsInterface(interfaceId)\n            || ERC6909.supportsInterface(interfaceId);\n    }\n\n    /**\n     * @notice Executes a swap operation based on a predefined swap graph, supporting internal token amount splits.\n     *         This function enables multi-step swaps and validates the output amount against a user-specified minimum.\n     *         Takes funds from the user's wallet using transferFrom.\n     *\n     * @dev\n     * - Swaps are executed sequentially using the `_swap` function.\n     * - Reverts with `TychoRouter__NegativeSlippage` if the final output is below `minAmountOut`\n     *\n     * @param amountIn The input token amount to be swapped.\n     * @param tokenIn The address of the input token. Use `ETH_ADDRESS` for native ETH\n     * @param tokenOut The address of the output token. Use `ETH_ADDRESS` for native ETH\n     * @param expectedAmountOut The quoted output amount; used to detect positive slippage.\n     * @param minAmountOut The minimum acceptable output amount (revert guardrail). Must be non-zero and not exceed `expectedAmountOut`.\n     * @param nTokens The total number of tokens involved in the swap graph (used to initialize arrays for internal calculations).\n     * @param receiver The address to receive the output tokens.\n     * @param clientFeeParams Client fee parameters including fee bps, receiver, max contribution, deadline and signature.\n     * @param swaps Encoded swap graph data containing details of each swap.\n     *\n     * @return The total amount of the output token received by the receiver.\n     */\n    function splitSwap(\n        uint256 amountIn,\n        address tokenIn,\n        address tokenOut,\n        uint256 expectedAmountOut,\n        uint256 minAmountOut,\n        uint256 nTokens,\n        address receiver,\n        ClientFeeParams calldata clientFeeParams,\n        bytes calldata swaps\n    ) public payable whenNotPaused nonReentrant returns (uint256) {\n        _verifyClientSignature(\n            clientFeeParams,\n            amountIn,\n            tokenIn,\n            tokenOut,\n            expectedAmountOut,\n            minAmountOut,\n            receiver,\n            swaps\n        );\n        _updateNativeDeltaAccounting(amountIn);\n        _tstoreTransferFromInfo(tokenIn, amountIn, false, false);\n\n        return _splitSwapChecked(\n            amountIn,\n            tokenIn,\n            tokenOut,\n            expectedAmountOut,\n            minAmountOut,\n            nTokens,\n            receiver,\n            clientFeeParams,\n            swaps\n        );\n    }\n\n    /**\n     * @notice Executes a swap operation based on a predefined swap graph, supporting internal token amount splits.\n     *         This function enables multi-step swaps and validates the output amount against a user-specified minimum.\n     *         Takes funds from the user's vault balance.\n     *\n     * @dev\n     * - Swaps are executed sequentially using the `_swap` function.\n     * - Reverts with `TychoRouter__NegativeSlippage` if the final output is below `minAmountOut`.\n     *\n     * @param amountIn The input token amount to be swapped.\n     * @param tokenIn The address of the input token. Use `ETH_ADDRESS` for native ETH\n     * @param tokenOut The address of the output token. Use `ETH_ADDRESS` for native ETH\n     * @param expectedAmountOut The quoted output amount; used to detect positive slippage.\n     * @param minAmountOut The minimum acceptable output amount (revert guardrail). Must be non-zero and not exceed `expectedAmountOut`.\n     * @param nTokens The total number of tokens involved in the swap graph (used to initialize arrays for internal calculations).\n     * @param receiver The address to receive the output tokens.\n     * @param clientFeeParams Client fee parameters including fee bps, receiver, max contribution, deadline and signature.\n     * @param swaps Encoded swap graph data containing details of each swap.\n     *\n     * @return The total amount of the output token received by the receiver.\n     */\n    function splitSwapUsingVault(\n        uint256 amountIn,\n        address tokenIn,\n        address tokenOut,\n        uint256 expectedAmountOut,\n        uint256 minAmountOut,\n        uint256 nTokens,\n        address receiver,\n        ClientFeeParams calldata clientFeeParams,\n        bytes calldata swaps\n    ) public whenNotPaused nonReentrant returns (uint256) {\n        _verifyClientSignature(\n            clientFeeParams,\n            amountIn,\n            tokenIn,\n            tokenOut,\n            expectedAmountOut,\n            minAmountOut,\n            receiver,\n            swaps\n        );\n        _tstoreTransferFromInfo(tokenIn, amountIn, false, true);\n\n        return _splitSwapChecked(\n            amountIn,\n            tokenIn,\n            tokenOut,\n            expectedAmountOut,\n            minAmountOut,\n            nTokens,\n            receiver,\n            clientFeeParams,\n            swaps\n        );\n    }\n\n    /**\n     * @notice Executes a swap operation based on a predefined swap graph, supporting internal token amount splits.\n     *         This function enables multi-step swaps and validates the output amount against a user-specified minimum.\n     *\n     * @dev\n     * - For ERC20 tokens, Permit2 is used to approve and transfer tokens from the caller to the router.\n     * - Swaps are executed sequentially using the `_swap` function.\n     * - Reverts with `TychoRouter__NegativeSlippage` if the final output is below `minAmountOut`.\n     *\n     * @param amountIn The input token amount to be swapped.\n     * @param tokenIn The address of the input token. Use `ETH_ADDRESS` for native ETH\n     * @param tokenOut The address of the output token. Use `ETH_ADDRESS` for native ETH\n     * @param expectedAmountOut The quoted output amount; used to detect positive slippage.\n     * @param minAmountOut The minimum acceptable output amount (revert guardrail). Must be non-zero and not exceed `expectedAmountOut`.\n     * @param nTokens The total number of tokens involved in the swap graph (used to initialize arrays for internal calculations).\n     * @param receiver The address to receive the output tokens.\n     * @param clientFeeParams Client fee parameters including fee bps, receiver, max contribution, deadline and signature.\n     * @param permitSingle A Permit2 structure containing token approval details for the input token.\n     * @param signature A valid signature authorizing the Permit2 approval.\n     * @param swaps Encoded swap graph data containing details of each swap.\n     *\n     * @return The total amount of the output token received by the receiver.\n     */\n    function splitSwapPermit2(\n        uint256 amountIn,\n        address tokenIn,\n        address tokenOut,\n        uint256 expectedAmountOut,\n        uint256 minAmountOut,\n        uint256 nTokens,\n        address receiver,\n        ClientFeeParams calldata clientFeeParams,\n        IAllowanceTransfer.PermitSingle calldata permitSingle,\n        bytes calldata signature,\n        bytes calldata swaps\n    ) external whenNotPaused nonReentrant returns (uint256) {\n        _verifyClientSignature(\n            clientFeeParams,\n            amountIn,\n            tokenIn,\n            tokenOut,\n            expectedAmountOut,\n            minAmountOut,\n            receiver,\n            swaps\n        );\n        // For native ETH, assume funds already in our router. Else, handle approval.\n        if (tokenIn != ETH_ADDRESS) {\n            permit2.permit(msg.sender, permitSingle, signature);\n        }\n        _tstoreTransferFromInfo(tokenIn, amountIn, true, false);\n\n        return _splitSwapChecked(\n            amountIn,\n            tokenIn,\n            tokenOut,\n            expectedAmountOut,\n            minAmountOut,\n            nTokens,\n            receiver,\n            clientFeeParams,\n            swaps\n        );\n    }\n\n    /**\n     * @notice Executes a swap operation based on a predefined swap graph with no split routes.\n     *         This function enables multi-step swaps and validates the output amount against a user-specified minimum.\n     *         Takes funds from the user's wallet using transferFrom.\n     *\n     * @dev\n     * - Swaps are executed sequentially using the `_swap` function.\n     * - Reverts with `TychoRouter__NegativeSlippage` if the final output is below `minAmountOut`.\n     *\n     * @param amountIn The input token amount to be swapped.\n     * @param tokenIn The address of the input token. Use `ETH_ADDRESS` for native ETH\n     * @param tokenOut The address of the output token. Use `ETH_ADDRESS` for native ETH\n     * @param expectedAmountOut The quoted output amount; used to detect positive slippage.\n     * @param minAmountOut The minimum acceptable output amount (revert guardrail). Must be non-zero and not exceed `expectedAmountOut`.\n     * @param receiver The address to receive the output tokens.\n     * @param clientFeeParams Client fee parameters including fee bps, receiver, max contribution, deadline and signature.\n     * @param swaps Encoded swap graph data containing details of each swap.\n     *\n     * @return The total amount of the output token received by the receiver.\n     */\n    function sequentialSwap(\n        uint256 amountIn,\n        address tokenIn,\n        address tokenOut,\n        uint256 expectedAmountOut,\n        uint256 minAmountOut,\n        address receiver,\n        ClientFeeParams calldata clientFeeParams,\n        bytes calldata swaps\n    ) public payable whenNotPaused nonReentrant returns (uint256) {\n        _verifyClientSignature(\n            clientFeeParams,\n            amountIn,\n            tokenIn,\n            tokenOut,\n            expectedAmountOut,\n            minAmountOut,\n            receiver,\n            swaps\n        );\n        _updateNativeDeltaAccounting(amountIn);\n        _tstoreTransferFromInfo(tokenIn, amountIn, false, false);\n\n        return _sequentialSwapChecked(\n            amountIn,\n            tokenIn,\n            tokenOut,\n            expectedAmountOut,\n            minAmountOut,\n            receiver,\n            clientFeeParams,\n            swaps\n        );\n    }\n\n    /**\n     * @notice Executes a swap operation based on a predefined swap graph with no split routes.\n     *         This function enables multi-step swaps and validates the output amount against a user-specified minimum.\n     *         Takes funds from the user's vault balance.\n     *\n     * @dev\n     * - Swaps are executed sequentially using the `_swap` function.\n     * - Reverts with `TychoRouter__NegativeSlippage` if the final output is below `minAmountOut`.\n     *\n     * @param amountIn The input token amount to be swapped.\n     * @param tokenIn The address of the input token. Use `ETH_ADDRESS` for native ETH\n     * @param tokenOut The address of the output token. Use `ETH_ADDRESS` for native ETH\n     * @param expectedAmountOut The quoted output amount; used to detect positive slippage.\n     * @param minAmountOut The minimum acceptable output amount (revert guardrail). Must be non-zero and not exceed `expectedAmountOut`.\n     * @param receiver The address to receive the output tokens.\n     * @param clientFeeParams Client fee parameters including fee bps, receiver, max contribution, deadline and signature.\n     * @param swaps Encoded swap graph data containing details of each swap.\n     *\n     * @return The total amount of the output token received by the receiver.\n     */\n    function sequentialSwapUsingVault(\n        uint256 amountIn,\n        address tokenIn,\n        address tokenOut,\n        uint256 expectedAmountOut,\n        uint256 minAmountOut,\n        address receiver,\n        ClientFeeParams calldata clientFeeParams,\n        bytes calldata swaps\n    ) public whenNotPaused nonReentrant returns (uint256) {\n        _verifyClientSignature(\n            clientFeeParams,\n            amountIn,\n            tokenIn,\n            tokenOut,\n            expectedAmountOut,\n            minAmountOut,\n            receiver,\n            swaps\n        );\n        _tstoreTransferFromInfo(tokenIn, amountIn, false, true);\n\n        return _sequentialSwapChecked(\n            amountIn,\n            tokenIn,\n            tokenOut,\n            expectedAmountOut,\n            minAmountOut,\n            receiver,\n            clientFeeParams,\n            swaps\n        );\n    }\n\n    /**\n     * @notice Executes a swap operation based on a predefined swap graph with no split routes.\n     *         This function enables multi-step swaps and validates the output amount against a user-specified minimum.\n     *\n     * @dev\n     * - For ERC20 tokens, Permit2 is used to approve and transfer tokens from the caller to the router.\n     * - Reverts with `TychoRouter__NegativeSlippage` if the final output is below `minAmountOut`.\n     *\n     * @param amountIn The input token amount to be swapped.\n     * @param tokenIn The address of the input token. Use `ETH_ADDRESS` for native ETH\n     * @param tokenOut The address of the output token. Use `ETH_ADDRESS` for native ETH\n     * @param expectedAmountOut The quoted output amount; used to detect positive slippage.\n     * @param minAmountOut The minimum acceptable output amount (revert guardrail). Must be non-zero and not exceed `expectedAmountOut`.\n     * @param receiver The address to receive the output tokens.\n     * @param clientFeeParams Client fee parameters including fee bps, receiver, max contribution, deadline and signature.\n     * @param permitSingle A Permit2 structure containing token approval details for the input token.\n     * @param signature A valid signature authorizing the Permit2 approval.\n     * @param swaps Encoded swap graph data containing details of each swap.\n     *\n     * @return The total amount of the output token received by the receiver.\n     */\n    function sequentialSwapPermit2(\n        uint256 amountIn,\n        address tokenIn,\n        address tokenOut,\n        uint256 expectedAmountOut,\n        uint256 minAmountOut,\n        address receiver,\n        ClientFeeParams calldata clientFeeParams,\n        IAllowanceTransfer.PermitSingle calldata permitSingle,\n        bytes calldata signature,\n        bytes calldata swaps\n    ) external whenNotPaused nonReentrant returns (uint256) {\n        _verifyClientSignature(\n            clientFeeParams,\n            amountIn,\n            tokenIn,\n            tokenOut,\n            expectedAmountOut,\n            minAmountOut,\n            receiver,\n            swaps\n        );\n        // For native ETH, assume funds already in our router. Else, handle approval.\n        if (tokenIn != ETH_ADDRESS) {\n            permit2.permit(msg.sender, permitSingle, signature);\n        }\n\n        _tstoreTransferFromInfo(tokenIn, amountIn, true, false);\n\n        return _sequentialSwapChecked(\n            amountIn,\n            tokenIn,\n            tokenOut,\n            expectedAmountOut,\n            minAmountOut,\n            receiver,\n            clientFeeParams,\n            swaps\n        );\n    }\n\n    /**\n     * @notice Executes a single swap operation.\n     *         This function validates the output amount against a user-specified minimum.\n     *         Takes funds from the user's wallet using transferFrom.\n     *\n     * @dev\n     * - Reverts with `TychoRouter__NegativeSlippage` if the final output is below `minAmountOut`.\n     *\n     * @param amountIn The input token amount to be swapped.\n     * @param tokenIn The address of the input token. Use `ETH_ADDRESS` for native ETH\n     * @param tokenOut The address of the output token. Use `ETH_ADDRESS` for native ETH\n     * @param expectedAmountOut The quoted output amount; used to detect positive slippage.\n     * @param minAmountOut The minimum acceptable output amount (revert guardrail). Must be non-zero and not exceed `expectedAmountOut`.\n     * @param receiver The address to receive the output tokens.\n     * @param clientFeeParams Client fee parameters including fee bps, receiver, max contribution, deadline and signature.\n     * @param swapData Encoded swap details.\n     *\n     * @return The total amount of the output token received by the receiver.\n     */\n    function singleSwap(\n        uint256 amountIn,\n        address tokenIn,\n        address tokenOut,\n        uint256 expectedAmountOut,\n        uint256 minAmountOut,\n        address receiver,\n        ClientFeeParams calldata clientFeeParams,\n        bytes calldata swapData\n    ) public payable whenNotPaused nonReentrant returns (uint256) {\n        _verifyClientSignature(\n            clientFeeParams,\n            amountIn,\n            tokenIn,\n            tokenOut,\n            expectedAmountOut,\n            minAmountOut,\n            receiver,\n            swapData\n        );\n        _updateNativeDeltaAccounting(amountIn);\n        _tstoreTransferFromInfo(tokenIn, amountIn, false, false);\n\n        return _singleSwap(\n            amountIn,\n            tokenIn,\n            tokenOut,\n            expectedAmountOut,\n            minAmountOut,\n            receiver,\n            clientFeeParams,\n            swapData\n        );\n    }\n\n    /**\n     * @notice Executes a single swap operation.\n     *         This function validates the output amount against a user-specified minimum.\n     *         Takes funds from the user's vault balance.\n     *\n     * @dev\n     * - Reverts with `TychoRouter__NegativeSlippage` if the final output is below `minAmountOut`.\n     *\n     * @param amountIn The input token amount to be swapped.\n     * @param tokenIn The address of the input token. Use `ETH_ADDRESS` for native ETH\n     * @param tokenOut The address of the output token. Use `ETH_ADDRESS` for native ETH\n     * @param expectedAmountOut The quoted output amount; used to detect positive slippage.\n     * @param minAmountOut The minimum acceptable output amount (revert guardrail). Must be non-zero and not exceed `expectedAmountOut`.\n     * @param receiver The address to receive the output tokens.\n     * @param clientFeeParams Client fee parameters including fee bps, receiver, max contribution, deadline and signature.\n     * @param swapData Encoded swap details.\n     *\n     * @return The total amount of the output token received by the receiver.\n     */\n    function singleSwapUsingVault(\n        uint256 amountIn,\n        address tokenIn,\n        address tokenOut,\n        uint256 expectedAmountOut,\n        uint256 minAmountOut,\n        address receiver,\n        ClientFeeParams calldata clientFeeParams,\n        bytes calldata swapData\n    ) public whenNotPaused nonReentrant returns (uint256) {\n        _verifyClientSignature(\n            clientFeeParams,\n            amountIn,\n            tokenIn,\n            tokenOut,\n            expectedAmountOut,\n            minAmountOut,\n            receiver,\n            swapData\n        );\n        _tstoreTransferFromInfo(tokenIn, amountIn, false, true);\n\n        return _singleSwap(\n            amountIn,\n            tokenIn,\n            tokenOut,\n            expectedAmountOut,\n            minAmountOut,\n            receiver,\n            clientFeeParams,\n            swapData\n        );\n    }\n\n    /**\n     * @notice Executes a single swap operation.\n     *         This function validates the output amount against a user-specified minimum.\n     *\n     * @dev\n     * - For ERC20 tokens, Permit2 is used to approve and transfer tokens from the caller to the router.\n     * - Reverts with `TychoRouter__NegativeSlippage` if the final output is below `minAmountOut`.\n     *\n     * @param amountIn The input token amount to be swapped.\n     * @param tokenIn The address of the input token. Use `ETH_ADDRESS` for native ETH\n     * @param tokenOut The address of the output token. Use `ETH_ADDRESS` for native ETH\n     * @param expectedAmountOut The quoted output amount; used to detect positive slippage.\n     * @param minAmountOut The minimum acceptable output amount (revert guardrail). Must be non-zero and not exceed `expectedAmountOut`.\n     * @param receiver The address to receive the output tokens.\n     * @param clientFeeParams Client fee parameters including fee bps, receiver, max contribution, deadline and signature.\n     * @param permitSingle A Permit2 structure containing token approval details for the input token.\n     * @param signature A valid signature authorizing the Permit2 approval.\n     * @param swapData Encoded swap details.\n     *\n     * @return The total amount of the output token received by the receiver.\n     */\n    function singleSwapPermit2(\n        uint256 amountIn,\n        address tokenIn,\n        address tokenOut,\n        uint256 expectedAmountOut,\n        uint256 minAmountOut,\n        address receiver,\n        ClientFeeParams calldata clientFeeParams,\n        IAllowanceTransfer.PermitSingle calldata permitSingle,\n        bytes calldata signature,\n        bytes calldata swapData\n    ) external whenNotPaused nonReentrant returns (uint256) {\n        _verifyClientSignature(\n            clientFeeParams,\n            amountIn,\n            tokenIn,\n            tokenOut,\n            expectedAmountOut,\n            minAmountOut,\n            receiver,\n            swapData\n        );\n        // For native ETH, assume funds already in our router. Else, handle approval.\n        if (tokenIn != ETH_ADDRESS) {\n            permit2.permit(msg.sender, permitSingle, signature);\n        }\n        _tstoreTransferFromInfo(tokenIn, amountIn, true, false);\n\n        return _singleSwap(\n            amountIn,\n            tokenIn,\n            tokenOut,\n            expectedAmountOut,\n            minAmountOut,\n            receiver,\n            clientFeeParams,\n            swapData\n        );\n    }\n\n    /**\n     * @notice Internal implementation of the core swap logic shared between splitSwap() and splitSwapPermit2().\n     *\n     * @notice This function centralizes the swap execution logic.\n     * @notice For detailed documentation on parameters and behavior, see the documentation for\n     * splitSwap() and splitSwapPermit2() functions.\n     *\n     */\n    // State writes in _takeFees after external calls are safe because all public entry points use nonReentrant modifier\n    // slither-disable-next-line reentrancy-benign\n    function _splitSwapChecked(\n        uint256 amountIn,\n        address tokenIn,\n        address tokenOut,\n        uint256 expectedAmountOut,\n        uint256 minAmountOut,\n        uint256 nTokens,\n        address receiver,\n        ClientFeeParams calldata clientFeeParams,\n        bytes calldata swaps\n    ) internal returns (uint256 amountOutAfterFees) {\n        _validateAmounts(amountIn, expectedAmountOut, minAmountOut);\n        _validateAddresses(receiver, tokenIn, tokenOut);\n\n        address client = clientFeeParams.clientFeeReceiver;\n        // Stack pressure in this function prevents keeping finalReceiver in scope\n        // outside the block, so we cache the interception decision as a bool instead.\n        bool intercepting = IFeeCalculator(_feeCalculator)\n            .mustOutputThroughRouter(clientFeeParams.clientFeeBps, client);\n\n        uint256 actualAmountOut;\n        {\n            address finalReceiver = intercepting ? address(this) : receiver;\n            actualAmountOut = _splitSwap(\n                amountIn,\n                nTokens,\n                swaps,\n                finalReceiver,\n                tokenIn == tokenOut // isCyclical\n            );\n        }\n\n        amountOutAfterFees = _finalizeSwap(\n            FeeInput({\n                actualAmountOut: actualAmountOut,\n                expectedAmountOut: expectedAmountOut,\n                amountIn: amountIn,\n                tokenIn: tokenIn,\n                tokenOut: tokenOut,\n                clientFeeBps: clientFeeParams.clientFeeBps,\n                client: client\n            }),\n            intercepting,\n            minAmountOut,\n            clientFeeParams.maxClientContribution,\n            receiver\n        );\n    }\n\n    /**\n     * @notice Internal implementation of the core swap logic shared between singleSwap() and singleSwapPermit2().\n     *\n     * @notice This function centralizes the swap execution logic.\n     * @notice For detailed documentation on parameters and behavior, see the documentation for\n     * singleSwap() and singleSwapPermit2() functions.\n     *\n     */\n    // State writes in _takeFees after external calls are safe because all public entry points use nonReentrant modifier\n    // slither-disable-next-line reentrancy-benign\n    function _singleSwap(\n        uint256 amountIn,\n        address tokenIn,\n        address tokenOut,\n        uint256 expectedAmountOut,\n        uint256 minAmountOut,\n        address receiver,\n        ClientFeeParams calldata clientFeeParams,\n        bytes calldata swap_\n    ) internal returns (uint256 amountOutAfterFees) {\n        _validateAmounts(amountIn, expectedAmountOut, minAmountOut);\n        _validateAddresses(receiver, tokenIn, tokenOut);\n\n        address client = clientFeeParams.clientFeeReceiver;\n        bool intercepting = IFeeCalculator(_feeCalculator)\n            .mustOutputThroughRouter(clientFeeParams.clientFeeBps, client);\n\n        uint256 actualAmountOut;\n        {\n            (address executor, bytes calldata protocolData) =\n                swap_.decodeSingleSwap();\n            actualAmountOut = _callSwapOnExecutor(\n                executor,\n                amountIn,\n                protocolData,\n                true,\n                false,\n                intercepting ? address(this) : receiver\n            );\n        }\n\n        amountOutAfterFees = _finalizeSwap(\n            FeeInput({\n                actualAmountOut: actualAmountOut,\n                expectedAmountOut: expectedAmountOut,\n                amountIn: amountIn,\n                tokenIn: tokenIn,\n                tokenOut: tokenOut,\n                clientFeeBps: clientFeeParams.clientFeeBps,\n                client: client\n            }),\n            intercepting,\n            minAmountOut,\n            clientFeeParams.maxClientContribution,\n            receiver\n        );\n    }\n\n    /**\n     * @notice Internal implementation of the core swap logic shared between sequentialSwap() and sequentialSwapPermit2().\n     *\n     * @notice This function centralizes the swap execution logic.\n     * @notice For detailed documentation on parameters and behavior, see the documentation for\n     * sequentialSwap() and sequentialSwapPermit2() functions.\n     *\n     */\n    // State writes in _takeFees after external calls are safe because all public entry points use nonReentrant modifier\n    // slither-disable-next-line reentrancy-benign\n    function _sequentialSwapChecked(\n        uint256 amountIn,\n        address tokenIn,\n        address tokenOut,\n        uint256 expectedAmountOut,\n        uint256 minAmountOut,\n        address receiver,\n        ClientFeeParams calldata clientFeeParams,\n        bytes calldata swaps\n    ) internal returns (uint256 amountOutAfterFees) {\n        _validateAmounts(amountIn, expectedAmountOut, minAmountOut);\n        _validateAddresses(receiver, tokenIn, tokenOut);\n        if (swaps.length == 0) {\n            revert TychoRouter__EmptySwaps();\n        }\n\n        address client = clientFeeParams.clientFeeReceiver;\n        bool intercepting = IFeeCalculator(_feeCalculator)\n            .mustOutputThroughRouter(clientFeeParams.clientFeeBps, client);\n\n        uint256 actualAmountOut = _sequentialSwap(\n            amountIn, swaps, intercepting ? address(this) : receiver\n        );\n\n        amountOutAfterFees = _finalizeSwap(\n            FeeInput({\n                actualAmountOut: actualAmountOut,\n                expectedAmountOut: expectedAmountOut,\n                amountIn: amountIn,\n                tokenIn: tokenIn,\n                tokenOut: tokenOut,\n                clientFeeBps: clientFeeParams.clientFeeBps,\n                client: client\n            }),\n            intercepting,\n            minAmountOut,\n            clientFeeParams.maxClientContribution,\n            receiver\n        );\n    }\n\n    /**\n     * @dev Validates the swap amount inputs shared by all swap strategies.\n     *      Reverts unless `amountIn` and `expectedAmountOut` are non-zero and\n     *      `0 < minAmountOut <= expectedAmountOut`.\n     */\n    function _validateAmounts(\n        uint256 amountIn,\n        uint256 expectedAmountOut,\n        uint256 minAmountOut\n    ) internal pure {\n        if (amountIn == 0) {\n            revert TychoRouter__ZeroInput();\n        }\n        if (expectedAmountOut == 0) {\n            revert TychoRouter__AmountOutZero();\n        }\n        if (minAmountOut == 0 || minAmountOut > expectedAmountOut) {\n            revert TychoRouter__InvalidMinAmountOut(\n                minAmountOut, expectedAmountOut\n            );\n        }\n    }\n\n    /**\n     * @dev Validates the address inputs shared by all swap strategies.\n     */\n    function _validateAddresses(\n        address receiver,\n        address tokenIn,\n        address tokenOut\n    ) internal pure {\n        if (\n            receiver == address(0) || tokenIn == address(0)\n                || tokenOut == address(0)\n        ) {\n            revert TychoRouter__AddressZero();\n        }\n    }\n\n    /**\n     * @dev Shared post-swap finalization for all swap strategies: takes fees\n     *      (when the output was intercepted by the router), tops the output\n     *      up with a client contribution if it fell below `minAmountOut`,\n     *      and settles the final amount to the receiver.\n     *      `feeInput` doubles as the carrier for the swap context (amounts,\n     *      tokens, client), keeping caller stacks flat.\n     * @return amountOutAfterFees The settled output amount.\n     */\n    function _finalizeSwap(\n        FeeInput memory feeInput,\n        bool intercepting,\n        uint256 minAmountOut,\n        uint256 maxClientContribution,\n        address receiver\n    ) internal returns (uint256 amountOutAfterFees) {\n        amountOutAfterFees = intercepting\n            ? _takeFees(feeInput)\n            : feeInput.actualAmountOut;\n\n        amountOutAfterFees = _maybeAddClientContribution(\n            amountOutAfterFees,\n            minAmountOut,\n            maxClientContribution,\n            feeInput.tokenOut,\n            receiver,\n            feeInput.client\n        );\n\n        amountOutAfterFees = _settleOutput(\n            amountOutAfterFees,\n            minAmountOut,\n            feeInput.amountIn,\n            feeInput.tokenIn,\n            feeInput.tokenOut,\n            receiver\n        );\n    }\n\n    /**\n     * @dev Transfers output tokens to receiver (or credits vault),\n     *      finalizes transient deltas, and checks slippage.\n     */\n    function _settleOutput(\n        uint256 amountOut,\n        uint256 minAmountOut,\n        uint256 amountIn,\n        address tokenIn,\n        address tokenOut,\n        address receiver\n    ) internal returns (uint256) {\n        int256 outputDelta = _getDelta(tokenOut);\n        if (outputDelta > 0) {\n            _updateDeltaAccounting(tokenOut, -int256(amountOut));\n            // out tokens are still in the Router and need to be sent to the final receiver\n            // or credited to the vault\n            if (receiver == address(this)) {\n                _creditVault(msg.sender, tokenOut, amountOut);\n            } else {\n                // the amountOut might actually be lower at this point (if fee/rebasing token)\n                amountOut = _transferOut(tokenOut, receiver, amountOut);\n            }\n        }\n\n        _finalizeBalances(msg.sender, tokenIn, amountIn);\n\n        // Check final amount to account for fee tokens or rebasing tokens\n        if (amountOut < minAmountOut) {\n            revert TychoRouter__NegativeSlippage(amountOut, minAmountOut);\n        }\n\n        return amountOut;\n    }\n\n    /**\n     * @dev Executes sequential swaps as defined by the provided swap graph.\n     *\n     * This function processes a series of swaps encoded in the `swaps_` byte array. Each swap operation determines:\n     * - The indices of the input and output tokens (via `tokenInIndex()` and `tokenOutIndex()`).\n     * - The portion of the available amount to be used for the swap, indicated by the `split` value.\n     *\n     * Four important notes:\n     * - The contract assumes that token indexes follow a specific order: the sell token is at index 0, followed by any\n     *  intermediary tokens, and finally the buy token.\n     * - A `split` value of 0 is interpreted as 100% of the available amount (i.e., the entire remaining balance).\n     *  This means that in scenarios without explicit splits the value should be 0, and when splits are present,\n     *  the last swap should also have a split value of 0.\n     * - In case of cyclic swaps, the output token is the same as the input token.\n     *  `cyclicSwapAmountOut` is used to track the amount of the output token, and is updated when\n     *  the `tokenOutIndex` is 0.\n     * - The receiver of the hop is chosen depending on the position:\n     *     - if it's any other than not the last hops (to the token out), the receiver is address(this)\n     *     - if it's the last hops, the receiver will be the one passed in the input arguments. Note that for regular\n     * split swaps, checking that the `tokenOutIndex` is the last value is enough for this but for cyclical split swaps\n     * we need to rely on the `isCyclical` passed from the outside.\n     *\n     * @param amountIn The initial amount of the sell token to be swapped.\n     * @param nTokens The total number of tokens involved in the swap path, used to initialize arrays for internal tracking.\n     * @param swaps_ Encoded swap graph data containing the details of each swap operation.\n     * @param receiver The address of the receiver of the swap\n     * @param isCyclical Bool to determine if the swap is cyclical or not (token in == token out)\n     *\n     * @return The total amount of the buy token obtained after all swaps have been executed.\n     */\n    function _splitSwap(\n        uint256 amountIn,\n        uint256 nTokens,\n        bytes calldata swaps_,\n        address receiver,\n        bool isCyclical\n    ) internal returns (uint256) {\n        if (swaps_.length == 0) {\n            revert TychoRouter__EmptySwaps();\n        }\n\n        uint256[] memory remainingAmounts = new uint256[](nTokens);\n        uint256[] memory amounts = new uint256[](nTokens);\n        uint256 cyclicSwapAmountOut = 0;\n        amounts[0] = amountIn;\n        remainingAmounts[0] = amountIn;\n\n        while (swaps_.length > 0) {\n            bytes calldata swapData;\n            (swapData, swaps_) = swaps_.next();\n\n            (\n                uint8 tokenInIndex,\n                uint8 tokenOutIndex,\n                uint24 split,\n                address executor,\n                bytes calldata protocolData\n            ) = swapData.decodeSplitSwap();\n\n            uint256 currentAmountIn = split > 0\n                ? (amounts[tokenInIndex] * split) / 0xffffff\n                : remainingAmounts[tokenInIndex];\n\n            address swapReceiver = address(this);\n            if (\n                (tokenOutIndex == nTokens - 1 && !isCyclical)\n                    || (isCyclical && tokenOutIndex == 0)\n            ) {\n                swapReceiver = receiver;\n            }\n\n            uint256 currentAmountOut = _callSwapOnExecutor(\n                executor,\n                currentAmountIn,\n                protocolData,\n                tokenInIndex == 0,\n                true,\n                swapReceiver\n            );\n            // Checks if the output token is the same as the input token\n            if (tokenOutIndex == 0) {\n                cyclicSwapAmountOut += currentAmountOut;\n            } else {\n                amounts[tokenOutIndex] += currentAmountOut;\n            }\n            remainingAmounts[tokenOutIndex] += currentAmountOut;\n            remainingAmounts[tokenInIndex] -= currentAmountIn;\n        }\n        // For cyclic routes the output token is at index 0; for regular routes\n        // it is at the last index (nTokens - 1).\n        return isCyclical ? cyclicSwapAmountOut : amounts[nTokens - 1];\n    }\n\n    /**\n     * @dev Executes sequential swaps as defined by the provided swap graph.\n     *\n     * @param amountIn The initial amount of the sell token to be swapped.\n     * @param swaps_ Encoded swap graph data containing the details of each swap operation.\n     * @param finalReceiver Address of the receiver of the last swap.\n     *\n     * @return calculatedAmount The total amount of the buy token obtained after all swaps have been executed.\n     */\n    function _sequentialSwap(\n        uint256 amountIn,\n        bytes calldata swaps_,\n        address finalReceiver\n    ) internal returns (uint256 calculatedAmount) {\n        calculatedAmount = amountIn;\n        uint256 swapCount = swaps_.size();\n        bytes calldata remainingSwaps = swaps_;\n\n        for (uint256 i = 0; i < swapCount; i++) {\n            bytes calldata currentSwap;\n            (currentSwap, remainingSwaps) = remainingSwaps.next();\n\n            (address executor, bytes calldata protocolData) =\n                currentSwap.decodeSequentialSwap();\n\n            address receiver;\n            bool isLastSwap = (i == swapCount - 1);\n\n            if (isLastSwap) {\n                receiver = finalReceiver;\n            } else {\n                bytes calldata nextSwap;\n                // slither-disable-next-line unused-return\n                (nextSwap,) = remainingSwaps.next();\n                (address nextExecutor, bytes calldata nextProtocolData) =\n                    nextSwap.decodeSequentialSwap();\n                receiver =\n                    _callFundsExpectedAddress(nextExecutor, nextProtocolData);\n            }\n\n            calculatedAmount = _callSwapOnExecutor(\n                executor,\n                calculatedAmount,\n                protocolData,\n                i == 0, // isFirstSwap\n                false,\n                receiver\n            );\n        }\n    }\n\n    /**\n     * @dev We use the fallback function to allow flexibility on callback.\n     */\n    fallback(bytes calldata data)\n        external\n        whenNotPaused\n        returns (bytes memory)\n    {\n        return _callHandleCallbackOnExecutor(data, msg.sender);\n    }\n\n    /**\n     * @dev Pauses the contract\n     */\n    function pause() external onlyRole(PAUSER_ROLE) {\n        _pause();\n    }\n\n    /**\n     * @dev Unpauses the contract\n     */\n    function unpause() external onlyRole(UNPAUSER_ROLE) {\n        _unpause();\n    }\n\n    /**\n     * @dev Entrypoint to add or replace an approved executor contract address\n     * @param targets address of the executor contract\n     */\n    function setExecutors(address[] memory targets)\n        external\n        onlyRole(EXECUTOR_SETTER_ROLE)\n        whenNotPaused\n    {\n        for (uint256 i = 0; i < targets.length; i++) {\n            _setExecutor(targets[i]);\n        }\n    }\n\n    /**\n     * @dev Entrypoint to remove an approved executor contract address\n     * @param target address of the executor contract\n     */\n    function removeExecutor(address target)\n        external\n        onlyRole(EXECUTOR_SETTER_ROLE)\n    {\n        _removeExecutor(target);\n    }\n\n    /**\n     * @notice Queues a new fee calculator with a timelock delay.\n     * @param feeCalculator The address of the fee calculator contract\n     */\n    function setFeeCalculator(address feeCalculator)\n        external\n        onlyRole(ROUTER_FEE_SETTER_ROLE)\n        whenNotPaused\n    {\n        if (feeCalculator.code.length == 0) {\n            revert TychoRouter__NotAContract(feeCalculator);\n        }\n\n        uint256 expiry = block.timestamp + DELAY_FEE_CALCULATOR_ACTIVATION;\n\n        _pendingFeeCalculator = feeCalculator;\n        _feeCalculatorActivationTimestamp = uint48(expiry);\n        emit FeeCalculatorSet(feeCalculator, expiry);\n    }\n\n    /**\n     * @dev Returns the current fee calculator address\n     */\n    function getFeeCalculator() external view returns (address) {\n        return _feeCalculator;\n    }\n\n    /**\n     * @dev Returns the pending fee calculator and activation timestamp\n     */\n    function getPendingFeeCalculator()\n        external\n        view\n        returns (address, uint256)\n    {\n        return (_pendingFeeCalculator, _feeCalculatorActivationTimestamp);\n    }\n\n    /**\n     * @notice Activates the pending fee calculator once the timelock has expired.\n     */\n    function activateFeeCalculator() external onlyRole(ROUTER_FEE_SETTER_ROLE) {\n        uint48 activationTs = _feeCalculatorActivationTimestamp;\n        // slither-disable-next-line incorrect-equality\n        if (activationTs == 0) {\n            revert TychoRouter__NoPendingFeeCalculator();\n        }\n        // slither-disable-next-line timestamp\n        if (block.timestamp < activationTs) {\n            revert TychoRouter__TimelockNotExpired(\n                activationTs, block.timestamp\n            );\n        }\n        address oldCalc = _feeCalculator;\n        address pending = _pendingFeeCalculator;\n        _feeCalculator = pending;\n        _pendingFeeCalculator = address(0);\n        _feeCalculatorActivationTimestamp = 0;\n        emit FeeCalculatorActivated(oldCalc, pending);\n    }\n\n    /**\n     * @notice Calculates and takes fees using the FeeCalculator\n     * @param feeInput Fee calculation inputs (amounts, tokens, client)\n     * @return amountOutAfterFees Amount remaining after fee deductions\n     */\n    function _takeFees(FeeInput memory feeInput)\n        internal\n        returns (uint256 amountOutAfterFees)\n    {\n        FeeRecipient[] memory fees =\n            IFeeCalculator(_feeCalculator).calculateFee(feeInput);\n        amountOutAfterFees = feeInput.actualAmountOut;\n\n        uint256 totalFees = 0;\n        for (uint256 i = 0; i < fees.length; i++) {\n            totalFees += fees[i].feeAmount;\n        }\n        if (totalFees > feeInput.actualAmountOut) {\n            revert TychoRouter__FeesExceedOutput(\n                totalFees, feeInput.actualAmountOut\n            );\n        }\n\n        for (uint256 i = 0; i < fees.length; i++) {\n            if (fees[i].feeAmount > 0) {\n                // We still need to update the delta accounting to ensure the funds are\n                // in the router after the final swap and have not bypassed the router\n                // due to incorrect or malicious encoding. Updating the delta\n                // accounting without funds will result in an additional negative\n                // delta, and cause the _finalizeBalances method to revert.\n                _updateDeltaAccounting(\n                    feeInput.tokenOut, -int256(fees[i].feeAmount)\n                );\n                _creditVaultForFees(\n                    fees[i].recipient, feeInput.tokenOut, fees[i].feeAmount\n                );\n                amountOutAfterFees -= fees[i].feeAmount;\n            }\n        }\n        if (fees.length > 0) {\n            emit FeesTaken(feeInput.tokenOut, fees);\n        }\n    }\n\n    /**\n     * @dev Allows this contract to receive native token with empty msg.data from contracts\n     */\n    receive() external payable whenNotPaused {\n        require(msg.sender.code.length != 0);\n    }\n\n    /**\n     * @dev Updates delta accounting for native ETH received via msg.value\n     * @notice This should be called at each entry point to credit the delta when ETH is sent\n     */\n    function _updateNativeDeltaAccounting(uint256 amountIn) internal {\n        if (msg.value > 0) {\n            // prevent unpredictable scenarios where the amountIn does not match exactly\n            // what the caller sent\n            if (msg.value != amountIn) {\n                revert TychoRouter__MsgValueDoesNotMatchAmountIn(\n                    msg.value, amountIn\n                );\n            }\n            _updateDeltaAccounting(ETH_ADDRESS, int256(msg.value));\n        }\n    }\n\n    /**\n     * @dev If the amountOut is below the minAmountOut, it tries to add a client contribution (if within limits).\n     * If it can't, it raises NegativeSlippage.\n     *   - If the out tokens are still in the Tycho Router, it adds the contribution to the amount out\n     *     (the transfer will be done later)\n     *   - If the out tokens are already in the receiver, it transfers the contribution separately\n     */\n    function _maybeAddClientContribution(\n        uint256 amountOut,\n        uint256 minAmountOut,\n        uint256 maxClientContribution,\n        address tokenOut,\n        address receiver,\n        address client\n    ) internal returns (uint256 amount) {\n        if (amountOut < minAmountOut) {\n            uint256 requiredContribution =\n                minAmountOut - amountOut;\n            if (requiredContribution > maxClientContribution) {\n                revert TychoRouter__NegativeSlippage(amountOut, minAmountOut);\n            }\n            // Debit the client's vault balance\n            _debitVault(client, tokenOut, requiredContribution);\n            int256 outputDelta = _getDelta(tokenOut);\n            if (outputDelta > 0) {\n                // Output tokens are still in the Router. This could be because no\n                // output transfer has been performed yet, or the user has specified the\n                // receiver to be the router in order to rebalance their vault.\n                _updateDeltaAccounting(tokenOut, int256(requiredContribution));\n                // slither-disable-next-line incorrect-equality\n            } else if (outputDelta == 0) {\n                if (receiver == address(this)) {\n                    _creditVault(msg.sender, tokenOut, requiredContribution);\n                } else if (tokenOut == ETH_ADDRESS) {\n                    Address.sendValue(payable(receiver), requiredContribution);\n                } else {\n                    // Measure user balance before and after required contribution to\n                    // account for fee tokens\n                    uint256 balanceBefore = IERC20(tokenOut).balanceOf(receiver);\n                    IERC20(tokenOut)\n                        .safeTransfer(receiver, requiredContribution);\n                    uint256 actualContribution =\n                        IERC20(tokenOut).balanceOf(receiver) - balanceBefore;\n                    return amountOut + actualContribution;\n                }\n            } else {\n                // Negative output delta indicates unprofitable arbitrage.\n                revert TychoRouter__NegativeOutputDelta(outputDelta);\n            }\n            amount = minAmountOut;\n        } else {\n            amount = amountOut;\n        }\n    }\n\n    /**\n     * @dev Verifies the client's EIP-712 signature over the fee parameters,\n     *      the core swap parameters, and the encoded swap routing bytes.\n     *      When clientFeeReceiver is address(0), no signature is required.\n     *      An EOA receiver signs with ECDSA; a contract receiver validates the\n     *      signature itself through ERC-1271. Contract signatures are\n     *      revocable, so a signature that verifies in one block may stop\n     *      verifying in the next.\n     * @param p The client fee parameters including the signature to verify.\n     * @param amountIn The input token amount.\n     * @param tokenIn The input token address.\n     * @param tokenOut The output token address.\n     * @param expectedAmountOut The quoted output amount.\n     * @param minAmountOut The minimum acceptable output amount.\n     * @param receiver The address to receive the output tokens.\n     * @param swapData The encoded swap routing data.\n     */\n    function _verifyClientSignature(\n        ClientFeeParams calldata p,\n        uint256 amountIn,\n        address tokenIn,\n        address tokenOut,\n        uint256 expectedAmountOut,\n        uint256 minAmountOut,\n        address receiver,\n        bytes calldata swapData\n    ) internal view {\n        if (p.clientFeeReceiver == address(0)) {\n            if (p.maxClientContribution > 0 || p.clientFeeBps > 0) {\n                revert TychoRouter__AddressZero();\n            }\n            return;\n        }\n        // slither-disable-next-line timestamp\n        if (block.timestamp > p.deadline) {\n            revert TychoRouter__ExpiredClientSignature(\n                p.deadline, block.timestamp\n            );\n        }\n        bytes32 digest = _hashTypedDataV4(\n            keccak256(\n                abi.encode(\n                    CLIENT_FEE_TYPEHASH,\n                    p.clientFeeBps,\n                    p.clientFeeReceiver,\n                    p.maxClientContribution,\n                    p.deadline,\n                    amountIn,\n                    tokenIn,\n                    tokenOut,\n                    expectedAmountOut,\n                    minAmountOut,\n                    receiver,\n                    keccak256(swapData)\n                )\n            )\n        );\n        // ECDSA runs before ERC-1271 so that an EOA carrying delegated code\n        // (EIP-7702) keeps signing with its own key. tryRecover's third return\n        // value only describes the error, which err already reports.\n        // slither-disable-next-line unused-return\n        (address recovered, ECDSA.RecoverError err,) =\n            ECDSA.tryRecoverCalldata(digest, p.clientSignature);\n        if (\n            err == ECDSA.RecoverError.NoError\n                && recovered == p.clientFeeReceiver\n        ) {\n            return;\n        }\n        // A contract receiver validates the digest itself\n        if (!SignatureChecker.isValidERC1271SignatureNowCalldata(\n                p.clientFeeReceiver, digest, p.clientSignature\n            )) {\n            revert TychoRouter__InvalidClientSignature();\n        }\n    }\n}\n"},"src/TransferManager.sol":{"content":"// SPDX-License-Identifier: BUSL-1.1\npragma solidity ^0.8.26;\n\nimport {\n    SafeERC20,\n    IERC20\n} from \"@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol\";\nimport {\n    IAllowanceTransfer\n} from \"@permit2/src/interfaces/IAllowanceTransfer.sol\";\nimport {Address} from \"@openzeppelin/contracts/utils/Address.sol\";\nimport {Vault} from \"./Vault.sol\";\nimport {ETH_ADDRESS} from \"../lib/NativeETH.sol\";\n\nerror TransferManager__AddressZero();\nerror TransferManager__NotAContract(address addr);\nerror TransferManager__ExceededTransferFromAllowance(\n    uint256 allowedAmount, uint256 amountAttempted\n);\nerror TransferManager__DifferentTokenIn(\n    address tokenIn, address tokenInStorage\n);\nerror TransferManager__UnknownTransferType();\n\n/**\n * @title TransferManager\n * @dev Orchestrates all token transfers during swap execution. Inherits from Vault\n * (ERC6909) and sits between TychoRouterV3 and Dispatcher in the inheritance chain.\n *\n * Responsibilities:\n * - Routes each transfer through one of 6 scenarios based on: TransferType returned\n *   by the executor, whether it is the first swap, whether it is a split swap,\n *   whether the call is inside a callback, and whether vault funds are in use.\n * - Caps `transferFrom` to the declared input amount (stored in transient storage at\n *   swap start). This prevents maliciously encoded split swaps from withdrawing more\n *   than the user authorised. Reverts if the cap is exceeded or a different token is\n *   attempted.\n * - Supports both standard ERC20 `transferFrom` and Permit2's `transferFrom`.\n * - Handles native ETH accounting for executors that forward ETH as `msg.value`\n *   directly to the protocol (e.g. Fluid, Rocketpool, Lido).\n * - When vault-funded, skips `transferFrom` entirely and relies on vault delta\n *   accounting (`_updateDeltaAccounting`) to settle balances at the end of the swap.\n *\n * Per-swap state is kept in transient storage (EIP-1153): token in, allowed amount,\n * Permit2 flag, original sender, and vault-in-use flag. These are written once at\n * swap entry (`_tstoreTransferFromInfo`) and consumed throughout the swap.\n */\ncontract TransferManager is Vault {\n    using SafeERC20 for IERC20;\n\n    IAllowanceTransfer public immutable permit2;\n    // keccak256(\"TransferManager#TOKEN_IN_SLOT\")\n    uint256 private constant _TOKEN_IN_SLOT =\n        0xaf58e9f1b0923d55d0ec6a57763d43cd9bb1d6bd8bad5ce9522fbe772c6ec42b;\n    // keccak256(\"TransferManager#AMOUNT_ALLOWED_SLOT\")\n    uint256 private constant _AMOUNT_ALLOWED_SLOT =\n        0x28d0e2684c9341fec58f816e0c375a4e51f9f34ec034a29c97467df00497c8d9;\n    // keccak256(\"TransferManager#IS_PERMIT2_SLOT\")\n    uint256 private constant _IS_PERMIT2_SLOT =\n        0xd847dc13274ab371f6244234290f56fa8650ec9dceff86e20efe1ddc141bdb03;\n    // keccak256(\"TransferManager#SENDER_SLOT\")\n    uint256 private constant _SENDER_SLOT =\n        0x99298391997747e556e81b2d36d99151315b6c1b92e826ca8d37acad5fddaf70;\n\n    constructor(address permit2_) {\n        if (permit2_.code.length == 0) {\n            revert TransferManager__NotAContract(permit2_);\n        }\n        permit2 = IAllowanceTransfer(permit2_);\n    }\n\n    enum TransferType {\n        Transfer,\n        TransferNativeInExecutor,\n        ProtocolWillDebit,\n        None\n    }\n\n    /**\n     * @dev This function is used to store the transfer information in the\n     * contract's storage. This is done as the first step in the swap process in TychoRouterV3.\n     */\n    // slither-disable-next-line assembly\n    function _tstoreTransferFromInfo(\n        address tokenIn,\n        uint256 amountIn,\n        bool isPermit2,\n        bool useVault\n    ) internal {\n        uint256 amountAllowed = useVault ? 0 : amountIn;\n        assembly {\n            tstore(_TOKEN_IN_SLOT, tokenIn)\n            tstore(_AMOUNT_ALLOWED_SLOT, amountAllowed)\n            tstore(_IS_PERMIT2_SLOT, isPermit2)\n            tstore(_SENDER_SLOT, caller())\n            tstore(_USE_VAULT_SLOT, useVault)\n        }\n    }\n\n    /**\n     * @dev Transfers tokens based on the transfer type and swap context.\n     * This function is called within the Dispatcher before calling executors or in callbacks.\n     *\n     * The function determines the appropriate transfer strategy based on:\n     * - transferType: The base transfer requirement from the executor\n     * - isFirstSwap: Whether this is the first swap or subsequent\n     * - isSplitSwap: Whether this is part of a split swap strategy\n     * - inCallback: Whether being called from within a callback (e.g., UniswapV3)\n     * - useVault: Whether using vault funds\n     *\n     * Handles 6 transfer scenarios (in order of execution):\n     * 1. None - no transfer needed\n     * 2. Native ETH sent via executor - perform accounting but do no transfers\n     * 3. TransferFrom user wallet to router, then approve protocol to debit\n     * 4. Protocol debits from router/vault (with approval if needed). No transferFrom needed\n     * 5. TransferFrom user wallet directly to protocol\n     * 6. Transfer from router balance to protocol (either from vault or previous swap funds)\n     */\n    function _transfer(\n        address receiver,\n        TransferType transferType,\n        address tokenIn,\n        uint256 amount,\n        bool isFirstSwap,\n        bool isSplitSwap,\n        bool inCallback\n    ) internal returns (uint256) {\n        // Scenario 1: No transfer needed. Likely called from outside the callback,\n        // when funds are only transferred in callback for this protocol (e.g.\n        // UniswapV3).\n        if (transferType == TransferType.None) {\n            return amount;\n        }\n\n        // Scenario 2: Native ETH sent via executor - accounting only\n        if (transferType == TransferType.TransferNativeInExecutor) {\n            // Protocols like Fluid or Lido require us to send the ETH as\n            // msg.value when calling the swap function from inside the executor.\n            _updateDeltaAccounting(tokenIn, -int256(amount));\n            return amount;\n        }\n\n        // Determine if we need to transfer from user wallet (first swap + not using vault)\n        bool useVault;\n        // slither-disable-next-line assembly\n        assembly {\n            useVault := tload(_USE_VAULT_SLOT)\n        }\n        bool needsTransferFromUser = isFirstSwap && !useVault;\n\n        // Scenario 3 & 4: Protocol will debit tokens from router\n        if (transferType == TransferType.ProtocolWillDebit) {\n            if (needsTransferFromUser) {\n                // Scenario 3: First swap with user funds - transfer to router, then approve\n                amount = _transferFromUser(tokenIn, address(this), amount);\n                _approveIfNeeded(tokenIn, receiver, amount);\n            } else {\n                // Scenario 4: Funds already in router (from vault or previous swap)\n                _updateDeltaAccounting(tokenIn, -int256(amount));\n                _approveIfNeeded(tokenIn, receiver, amount);\n            }\n            return amount;\n        }\n\n        if (transferType == TransferType.Transfer) {\n            // Scenario 1 optimization: Tokens already at pool from previous swap.\n            // This optimization assumes that the previous swap sent tokens\n            // directly to the current pool (e.g. UniswapV2: Pool1 -> Pool2 -> Pool3).\n            // We must NOT apply this optimization when in a callback context, because\n            // callback-constrained protocols (UniswapV3, BalancerV3, etc.) hold tokens in the\n            // router between swaps, and do not account for transfers before the callback.\n            bool canUseSequentialSwapOptimization =\n                !isFirstSwap && !isSplitSwap && !inCallback;\n            if (canUseSequentialSwapOptimization) {\n                return amount;\n            }\n\n            if (needsTransferFromUser) {\n                // Scenario 5: First swap with user funds - transfer directly to pool\n                amount = _transferFromUser(tokenIn, receiver, amount);\n            } else {\n                // Scenario 6: Transfer from router balance to pool\n                // This could mean the funds come from the user's vault (first swap with vault)\n                // or funds are in the router from the previous swap.\n                _updateDeltaAccounting(tokenIn, -int256(amount));\n                amount = _transferOut(tokenIn, receiver, amount);\n            }\n            return amount;\n        }\n\n        revert TransferManager__UnknownTransferType();\n    }\n\n    /**\n     * @dev Approves a receiver to spend tokens if receiver is not this contract.\n     * For special cases like Rocketpool, the contract burns the user's balance\n     * without physically transferring the input token, so an approval is not\n     * always needed.\n     */\n    function _approveIfNeeded(address token, address receiver, uint256 amount)\n        internal\n    {\n        if (receiver != address(this)) {\n            IERC20(token).forceApprove(receiver, amount);\n        }\n    }\n\n    /**\n     * @dev Revokes a token approval if the spender didn't fully consume it.\n     * In the normal case the protocol consumed the approval, so we skip the expensive\n     * forceApprove.\n     */\n    // slither-disable-next-line calls-loop\n    function _revokeUnconsumedApproval(address token, address spender)\n        internal\n    {\n        if (IERC20(token).allowance(address(this), spender) > 0) {\n            IERC20(token).forceApprove(spender, 0);\n        }\n    }\n\n    /**\n     * @dev Transfers tokens from user wallet using either Permit2 or regular transferFrom.\n     * Validates the transfer doesn't exceed allowed amount and updates allowance tracking.\n     * @return The actual amount received by the receiver, measured as the balance\n     * difference before and after the transfer. This may differ from `amount` for\n     * rebasing or fee-on-transfer tokens.\n     */\n    function _transferFromUser(address token, address receiver, uint256 amount)\n        internal\n        returns (uint256)\n    {\n        // Validate and track allowance to prevent badly encoded split swaps from\n        // taking more than the input amount out of the user's wallet\n        address tokenInStorage;\n        uint256 amountAllowed;\n        address sender;\n        bool isPermit2;\n\n        // slither-disable-next-line assembly\n        assembly {\n            tokenInStorage := tload(_TOKEN_IN_SLOT)\n            amountAllowed := tload(_AMOUNT_ALLOWED_SLOT)\n            sender := tload(_SENDER_SLOT)\n            isPermit2 := tload(_IS_PERMIT2_SLOT)\n        }\n\n        if (amount > amountAllowed) {\n            revert TransferManager__ExceededTransferFromAllowance(\n                amountAllowed, amount\n            );\n        }\n        if (token != tokenInStorage) {\n            revert TransferManager__DifferentTokenIn(token, tokenInStorage);\n        }\n\n        // Update remaining allowance\n        amountAllowed -= amount;\n        assembly {\n            tstore(_AMOUNT_ALLOWED_SLOT, amountAllowed)\n        }\n\n        uint256 balanceBefore = _balanceOf(token, receiver);\n        // Perform the actual transfer\n        if (isPermit2) {\n            // Permit2.permit is already called from the TychoRouterV3\n            // slither-disable-next-line calls-loop\n            permit2.transferFrom(sender, receiver, uint160(amount), token);\n        } else {\n            // slither-disable-next-line arbitrary-send-erc20\n            IERC20(token).safeTransferFrom(sender, receiver, amount);\n        }\n        uint256 balanceAfter = _balanceOf(token, receiver);\n        return balanceAfter - balanceBefore;\n    }\n\n    /**\n     * @dev Gets balance of a token for a given address. Supports both native ETH and ERC20 tokens.\n     */\n    function _balanceOf(address token, address owner)\n        internal\n        view\n        returns (uint256)\n    {\n        // slither-disable-next-line calls-loop\n        return\n            token == ETH_ADDRESS\n                ? owner.balance\n                : IERC20(token).balanceOf(owner);\n    }\n\n    /**\n     * @dev Transfers tokens from this contract to a recipient. Supports both\n     * native ETH (via `sendValue`) and ERC20 tokens (via `safeTransfer`).\n     * @return The actual amount received by `to`, measured as the balance\n     * difference before and after the transfer. This may differ from `amount`\n     * for rebasing or fee-on-transfer tokens.\n     */\n    function _transferOut(address token, address to, uint256 amount)\n        internal\n        returns (uint256)\n    {\n        uint256 balanceBefore = _balanceOf(token, to);\n        if (token == ETH_ADDRESS) {\n            Address.sendValue(payable(to), amount);\n        } else {\n            IERC20(token).safeTransfer(to, amount);\n        }\n        uint256 balanceAfter = _balanceOf(token, to);\n        return balanceAfter - balanceBefore;\n    }\n}\n"},"@interfaces/ICallback.sol":{"content":"// SPDX-License-Identifier: BUSL-1.1\npragma solidity ^0.8.26;\n\nimport \"../src/TransferManager.sol\";\n\ninterface ICallback {\n    /**\n     * @notice Handles callback data from a protocol or contract interaction.\n     * @dev This method processes callback data and returns a result. Implementations\n     * should handle the specific callback logic required by the protocol.\n     *\n     * @param data The encoded callback data to be processed.\n     * @return result The encoded result of the callback processing.\n     */\n    function handleCallback(\n        bytes calldata data\n    ) external returns (bytes memory result);\n\n    /**\n     * @notice Gets transfer data for callback-based token transfers.\n     * @dev Used by the Dispatcher during protocol callbacks to determine\n     * if and how to transfer tokens. Some protocols require all token transfers\n     * to happen within the callback context rather than before swap execution.\n     *\n     * The Dispatcher reads the input token from its own transient storage (set\n     * during getTransferData) and passes it here, preventing protocols from\n     * injecting a false token via crafted callback data.\n     *\n     * @param data The encoded callback data.\n     * @param tokenIn The address of the input token to transfer.\n     * @param caller The address that triggered the callback (msg.sender\n     *     in the fallback).\n     * @return transferType The transfer type for this executor (None,\n     *     ProtocolWillDebit, or Transfer).\n     * @return receiver The address that should receive the pre swap\n     *     tokens (usually a pool or the TychoRouterV3 - depending on the\n     *     protocol)\n     */\n    function getCallbackTransferData(\n        bytes calldata data,\n        address tokenIn,\n        address caller\n    )\n        external\n        view\n        returns (TransferManager.TransferType transferType, address receiver);\n}\n"},"@interfaces/IExecutor.sol":{"content":"// SPDX-License-Identifier: BUSL-1.1\npragma solidity ^0.8.26;\n\nimport \"@openzeppelin/contracts/token/ERC20/IERC20.sol\";\nimport \"../src/TransferManager.sol\";\n\npragma abicoder v2;\n\ninterface IExecutor {\n    /**\n     * @notice Performs a swap on a liquidity pool.\n     * @dev Executes the swap using the provided data. The Dispatcher measures output\n     * via balance checks, so executors do not need to report the amount received.\n     *\n     * Note Part of the informal interface is that the executor supports sending the received\n     *  tokens to a receiver address. If the underlying smart contract does not provide this\n     *  functionality consider adding an additional transfer in the implementation.\n     *\n     * @param amountIn The amount of the input token to swap.\n     * @param data Data that holds information necessary to perform the swap.\n     * @param receiver The address where the output tokens will be sent.\n     */\n    function swap(uint256 amountIn, bytes calldata data, address receiver)\n        external\n        payable;\n\n    /**\n     * @notice Gets transfer data for pre-swap token transfers.\n     * @dev Used by the Dispatcher to determine if tokens need to be transferred\n     * before executing the protocol's swap code. Some protocols require tokens\n     * to be transferred upfront, while others handle transfers in callbacks.\n     *\n     * @param data The encoded swap data.\n     * @return transferType The transfer type for this executor (None, ProtocolWillDebit, Transfer or TransferNativeInExecutor).\n     * @return receiver The address that should receive the pre swap tokens (usually a pool or the TychoRouterV3 - depending on the protocol).\n     * @return tokenIn The address of the input token to transfer.\n     * @return tokenOut The address of the output token.\n     * @return outputToRouter Whether the protocol sends output to msg.sender\n     *  rather than accepting a receiver parameter.\n     */\n    function getTransferData(bytes calldata data)\n        external\n        view\n        returns (\n            TransferManager.TransferType transferType,\n            address receiver,\n            address tokenIn,\n            address tokenOut,\n            bool outputToRouter\n        );\n\n    /**\n     * @dev Returns where funds from the previous swap should be sent in a sequential swap case.\n     * For example we might have a swap WETH --(1)--> USDC --(2)--> DAI.\n     * Before we perform swap 1 we need to know the receiver of the token out. If the protocol of swap 2 can\n     * receive funds directly (e.g., to the pool), this function returns that address. Otherwise, it returns\n     * the router address (msg.sender) indicating funds should be sent to the router\n     * before this swap.\n     * @param data The encoded swap data.\n     * @return receiver Address where to send the funds to. Returns msg.sender if funds should stay in router,\n     * or the target address (e.g., pool) if direct transfer is supported.\n     */\n    function fundsExpectedAddress(bytes calldata data) external view returns (address receiver);\n}\n\ninterface IExecutorErrors {\n    error InvalidParameterLength(uint256);\n    error UnknownPoolType(uint8);\n}\n"},"@interfaces/IFeeCalculator.sol":{"content":"// SPDX-License-Identifier: BUSL-1.1\npragma solidity ^0.8.26;\n\nimport {FeeRecipient, FeeInput} from \"../lib/FeeStructs.sol\";\n\n/**\n * @notice Per-client custom fee configuration\n * @dev All fields pack into a single storage slot (10 bytes total).\n *      Fee values use 8-decimal precision: 1 unit = 0.0001 BPS = 0.000001%.\n *      100% = 100_000_000 units.\n */\nstruct CustomFees {\n    bool hasCustomFeeOnOutput; // 1 byte\n    uint32 feeBpsOnOutput; // 4 bytes\n    bool hasCustomFeeOnClientFee; // 1 byte\n    uint32 feeBpsOnClientFee; // 4 bytes\n}\n\ninterface IFeeCalculator {\n    /**\n     * @notice Calculates all fees and slippage surplus from swap output\n     * @dev Called from TychoRouterV3. Does not perform any accounting.\n     *      Handles both regular fees and positive slippage surplus\n     *      in a single call. When positive slippage capture is\n     *      enabled, the full surplus is assigned to the router;\n     *      otherwise the surplus stays in the swap output.\n     *      Router fee parameters are retrieved from contract storage\n     *      based on the client address; client fee parameters are\n     *      passed as function arguments.\n     * @param feeInput Struct containing all fee calculation inputs\n     * @return feeRecipients Two recipients: [router, client]. Amounts\n     *         are zero when there is nothing to capture (no fees, no\n     *         surplus, or capture disabled).\n     */\n    function calculateFee(\n        FeeInput memory feeInput\n    ) external view returns (FeeRecipient[] memory feeRecipients);\n\n    /**\n     * @notice Whether the router must receive swap output before forwarding\n     * @dev Covers: slippage enabled, fees > 0, or any future condition.\n     * @param clientFeeBps Client fee in fee units (100_000_000 = 100%)\n     * @param client The client address to check\n     * @return True if funds must pass through the router after the\n     *         final swap instead of going directly to the receiver\n     */\n    function mustOutputThroughRouter(\n        uint32 clientFeeBps,\n        address client\n    ) external view returns (bool);\n\n    /**\n     * @notice Returns a page of clients with custom fee overrides and their current settings\n     * @param start Index to start reading from (0-indexed)\n     * @param count Maximum number of entries to return\n     * @return clients Addresses of clients with at least one custom fee\n     * @return fees Custom fee configuration for each client (parallel array)\n     */\n    function getAllClientFees(\n        uint256 start,\n        uint256 count\n    )\n        external\n        view\n        returns (address[] memory clients, CustomFees[] memory fees);\n}\n"},"@permit2/src/interfaces/IEIP712.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity ^0.8.0;\n\ninterface IEIP712 {\n    function DOMAIN_SEPARATOR() external view returns (bytes32);\n}\n"},"@openzeppelin/contracts/utils/Bytes.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.5.0) (utils/Bytes.sol)\n\npragma solidity ^0.8.24;\n\nimport {Math} from \"./math/Math.sol\";\n\n/**\n * @dev Bytes operations.\n */\nlibrary Bytes {\n    /**\n     * @dev Forward search for `s` in `buffer`\n     * * If `s` is present in the buffer, returns the index of the first instance\n     * * If `s` is not present in the buffer, returns type(uint256).max\n     *\n     * NOTE: replicates the behavior of https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/indexOf[Javascript's `Array.indexOf`]\n     */\n    function indexOf(bytes memory buffer, bytes1 s) internal pure returns (uint256) {\n        return indexOf(buffer, s, 0);\n    }\n\n    /**\n     * @dev Forward search for `s` in `buffer` starting at position `pos`\n     * * If `s` is present in the buffer (at or after `pos`), returns the index of the next instance\n     * * If `s` is not present in the buffer (at or after `pos`), returns type(uint256).max\n     *\n     * NOTE: replicates the behavior of https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/indexOf[Javascript's `Array.indexOf`]\n     */\n    function indexOf(bytes memory buffer, bytes1 s, uint256 pos) internal pure returns (uint256) {\n        uint256 length = buffer.length;\n        for (uint256 i = pos; i < length; ++i) {\n            if (bytes1(_unsafeReadBytesOffset(buffer, i)) == s) {\n                return i;\n            }\n        }\n        return type(uint256).max;\n    }\n\n    /**\n     * @dev Backward search for `s` in `buffer`\n     * * If `s` is present in the buffer, returns the index of the last instance\n     * * If `s` is not present in the buffer, returns type(uint256).max\n     *\n     * NOTE: replicates the behavior of https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/lastIndexOf[Javascript's `Array.lastIndexOf`]\n     */\n    function lastIndexOf(bytes memory buffer, bytes1 s) internal pure returns (uint256) {\n        return lastIndexOf(buffer, s, type(uint256).max);\n    }\n\n    /**\n     * @dev Backward search for `s` in `buffer` starting at position `pos`\n     * * If `s` is present in the buffer (at or before `pos`), returns the index of the previous instance\n     * * If `s` is not present in the buffer (at or before `pos`), returns type(uint256).max\n     *\n     * NOTE: replicates the behavior of https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/lastIndexOf[Javascript's `Array.lastIndexOf`]\n     */\n    function lastIndexOf(bytes memory buffer, bytes1 s, uint256 pos) internal pure returns (uint256) {\n        unchecked {\n            uint256 length = buffer.length;\n            for (uint256 i = Math.min(Math.saturatingAdd(pos, 1), length); i > 0; --i) {\n                if (bytes1(_unsafeReadBytesOffset(buffer, i - 1)) == s) {\n                    return i - 1;\n                }\n            }\n            return type(uint256).max;\n        }\n    }\n\n    /**\n     * @dev Copies the content of `buffer`, from `start` (included) to the end of `buffer` into a new bytes object in\n     * memory.\n     *\n     * NOTE: replicates the behavior of https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/slice[Javascript's `Array.slice`]\n     */\n    function slice(bytes memory buffer, uint256 start) internal pure returns (bytes memory) {\n        return slice(buffer, start, buffer.length);\n    }\n\n    /**\n     * @dev Copies the content of `buffer`, from `start` (included) to `end` (excluded) into a new bytes object in\n     * memory. The `end` argument is truncated to the length of the `buffer`.\n     *\n     * NOTE: replicates the behavior of https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/slice[Javascript's `Array.slice`]\n     */\n    function slice(bytes memory buffer, uint256 start, uint256 end) internal pure returns (bytes memory) {\n        // sanitize\n        end = Math.min(end, buffer.length);\n        start = Math.min(start, end);\n\n        // allocate and copy\n        bytes memory result = new bytes(end - start);\n        assembly (\"memory-safe\") {\n            mcopy(add(result, 0x20), add(add(buffer, 0x20), start), sub(end, start))\n        }\n\n        return result;\n    }\n\n    /**\n     * @dev Moves the content of `buffer`, from `start` (included) to the end of `buffer` to the start of that buffer.\n     *\n     * NOTE: This function modifies the provided buffer in place. If you need to preserve the original buffer, use {slice} instead\n     * NOTE: replicates the behavior of https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/splice[Javascript's `Array.splice`]\n     */\n    function splice(bytes memory buffer, uint256 start) internal pure returns (bytes memory) {\n        return splice(buffer, start, buffer.length);\n    }\n\n    /**\n     * @dev Moves the content of `buffer`, from `start` (included) to end (excluded) to the start of that buffer. The\n     * `end` argument is truncated to the length of the `buffer`.\n     *\n     * NOTE: This function modifies the provided buffer in place. If you need to preserve the original buffer, use {slice} instead\n     * NOTE: replicates the behavior of https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/splice[Javascript's `Array.splice`]\n     */\n    function splice(bytes memory buffer, uint256 start, uint256 end) internal pure returns (bytes memory) {\n        // sanitize\n        end = Math.min(end, buffer.length);\n        start = Math.min(start, end);\n\n        // allocate and copy\n        assembly (\"memory-safe\") {\n            mcopy(add(buffer, 0x20), add(add(buffer, 0x20), start), sub(end, start))\n            mstore(buffer, sub(end, start))\n        }\n\n        return buffer;\n    }\n\n    /**\n     * @dev Replaces bytes in `buffer` starting at `pos` with all bytes from `replacement`.\n     *\n     * Parameters are clamped to valid ranges (i.e. `pos` is clamped to `[0, buffer.length]`).\n     * If `pos >= buffer.length`, no replacement occurs and the buffer is returned unchanged.\n     *\n     * NOTE: This function modifies the provided buffer in place.\n     */\n    function replace(bytes memory buffer, uint256 pos, bytes memory replacement) internal pure returns (bytes memory) {\n        return replace(buffer, pos, replacement, 0, replacement.length);\n    }\n\n    /**\n     * @dev Replaces bytes in `buffer` starting at `pos` with bytes from `replacement` starting at `offset`.\n     * Copies at most `length` bytes from `replacement` to `buffer`.\n     *\n     * Parameters are clamped to valid ranges (i.e. `pos` is clamped to `[0, buffer.length]`, `offset` is\n     * clamped to `[0, replacement.length]`, and `length` is clamped to `min(length, replacement.length - offset,\n     * buffer.length - pos))`. If `pos >= buffer.length` or `offset >= replacement.length`, no replacement occurs\n     * and the buffer is returned unchanged.\n     *\n     * NOTE: This function modifies the provided buffer in place.\n     */\n    function replace(\n        bytes memory buffer,\n        uint256 pos,\n        bytes memory replacement,\n        uint256 offset,\n        uint256 length\n    ) internal pure returns (bytes memory) {\n        // sanitize\n        pos = Math.min(pos, buffer.length);\n        offset = Math.min(offset, replacement.length);\n        length = Math.min(length, Math.min(replacement.length - offset, buffer.length - pos));\n\n        // allocate and copy\n        assembly (\"memory-safe\") {\n            mcopy(add(add(buffer, 0x20), pos), add(add(replacement, 0x20), offset), length)\n        }\n\n        return buffer;\n    }\n\n    /**\n     * @dev Concatenate an array of bytes into a single bytes object.\n     *\n     * For fixed bytes types, we recommend using the solidity built-in `bytes.concat` or (equivalent)\n     * `abi.encodePacked`.\n     *\n     * NOTE: this could be done in assembly with a single loop that expands starting at the FMP, but that would be\n     * significantly less readable. It might be worth benchmarking the savings of the full-assembly approach.\n     */\n    function concat(bytes[] memory buffers) internal pure returns (bytes memory) {\n        uint256 length = 0;\n        for (uint256 i = 0; i < buffers.length; ++i) {\n            length += buffers[i].length;\n        }\n\n        bytes memory result = new bytes(length);\n\n        uint256 offset = 0x20;\n        for (uint256 i = 0; i < buffers.length; ++i) {\n            bytes memory input = buffers[i];\n            assembly (\"memory-safe\") {\n                mcopy(add(result, offset), add(input, 0x20), mload(input))\n            }\n            unchecked {\n                offset += input.length;\n            }\n        }\n\n        return result;\n    }\n\n    /**\n     * @dev Split each byte in `input` into two nibbles (4 bits each)\n     *\n     * Example: hex\"01234567\" → hex\"0001020304050607\"\n     */\n    function toNibbles(bytes memory input) internal pure returns (bytes memory output) {\n        assembly (\"memory-safe\") {\n            let length := mload(input)\n            output := mload(0x40)\n            mstore(0x40, add(add(output, 0x20), mul(length, 2)))\n            mstore(output, mul(length, 2))\n            for {\n                let i := 0\n            } lt(i, length) {\n                i := add(i, 0x10)\n            } {\n                let chunk := shr(128, mload(add(add(input, 0x20), i)))\n                chunk := and(\n                    0x0000000000000000ffffffffffffffff0000000000000000ffffffffffffffff,\n                    or(shl(64, chunk), chunk)\n                )\n                chunk := and(\n                    0x00000000ffffffff00000000ffffffff00000000ffffffff00000000ffffffff,\n                    or(shl(32, chunk), chunk)\n                )\n                chunk := and(\n                    0x0000ffff0000ffff0000ffff0000ffff0000ffff0000ffff0000ffff0000ffff,\n                    or(shl(16, chunk), chunk)\n                )\n                chunk := and(\n                    0x00ff00ff00ff00ff00ff00ff00ff00ff00ff00ff00ff00ff00ff00ff00ff00ff,\n                    or(shl(8, chunk), chunk)\n                )\n                chunk := and(\n                    0x0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f,\n                    or(shl(4, chunk), chunk)\n                )\n                mstore(add(add(output, 0x20), mul(i, 2)), chunk)\n            }\n        }\n    }\n\n    /**\n     * @dev Returns true if the two byte buffers are equal.\n     */\n    function equal(bytes memory a, bytes memory b) internal pure returns (bool) {\n        return a.length == b.length && keccak256(a) == keccak256(b);\n    }\n\n    /**\n     * @dev Reverses the byte order of a bytes32 value, converting between little-endian and big-endian.\n     * Inspired by https://graphics.stanford.edu/~seander/bithacks.html#ReverseParallel[Reverse Parallel]\n     */\n    function reverseBytes32(bytes32 value) internal pure returns (bytes32) {\n        value = // swap bytes\n            ((value >> 8) & 0x00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF) |\n            ((value & 0x00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF) << 8);\n        value = // swap 2-byte long pairs\n            ((value >> 16) & 0x0000FFFF0000FFFF0000FFFF0000FFFF0000FFFF0000FFFF0000FFFF0000FFFF) |\n            ((value & 0x0000FFFF0000FFFF0000FFFF0000FFFF0000FFFF0000FFFF0000FFFF0000FFFF) << 16);\n        value = // swap 4-byte long pairs\n            ((value >> 32) & 0x00000000FFFFFFFF00000000FFFFFFFF00000000FFFFFFFF00000000FFFFFFFF) |\n            ((value & 0x00000000FFFFFFFF00000000FFFFFFFF00000000FFFFFFFF00000000FFFFFFFF) << 32);\n        value = // swap 8-byte long pairs\n            ((value >> 64) & 0x0000000000000000FFFFFFFFFFFFFFFF0000000000000000FFFFFFFFFFFFFFFF) |\n            ((value & 0x0000000000000000FFFFFFFFFFFFFFFF0000000000000000FFFFFFFFFFFFFFFF) << 64);\n        return (value >> 128) | (value << 128); // swap 16-byte long pairs\n    }\n\n    /// @dev Same as {reverseBytes32} but optimized for 128-bit values.\n    function reverseBytes16(bytes16 value) internal pure returns (bytes16) {\n        value = // swap bytes\n            ((value & 0xFF00FF00FF00FF00FF00FF00FF00FF00) >> 8) |\n            ((value & 0x00FF00FF00FF00FF00FF00FF00FF00FF) << 8);\n        value = // swap 2-byte long pairs\n            ((value & 0xFFFF0000FFFF0000FFFF0000FFFF0000) >> 16) |\n            ((value & 0x0000FFFF0000FFFF0000FFFF0000FFFF) << 16);\n        value = // swap 4-byte long pairs\n            ((value & 0xFFFFFFFF00000000FFFFFFFF00000000) >> 32) |\n            ((value & 0x00000000FFFFFFFF00000000FFFFFFFF) << 32);\n        return (value >> 64) | (value << 64); // swap 8-byte long pairs\n    }\n\n    /// @dev Same as {reverseBytes32} but optimized for 64-bit values.\n    function reverseBytes8(bytes8 value) internal pure returns (bytes8) {\n        value = ((value & 0xFF00FF00FF00FF00) >> 8) | ((value & 0x00FF00FF00FF00FF) << 8); // swap bytes\n        value = ((value & 0xFFFF0000FFFF0000) >> 16) | ((value & 0x0000FFFF0000FFFF) << 16); // swap 2-byte long pairs\n        return (value >> 32) | (value << 32); // swap 4-byte long pairs\n    }\n\n    /// @dev Same as {reverseBytes32} but optimized for 32-bit values.\n    function reverseBytes4(bytes4 value) internal pure returns (bytes4) {\n        value = ((value & 0xFF00FF00) >> 8) | ((value & 0x00FF00FF) << 8); // swap bytes\n        return (value >> 16) | (value << 16); // swap 2-byte long pairs\n    }\n\n    /// @dev Same as {reverseBytes32} but optimized for 16-bit values.\n    function reverseBytes2(bytes2 value) internal pure returns (bytes2) {\n        return (value >> 8) | (value << 8);\n    }\n\n    /**\n     * @dev Counts the number of leading zero bits a bytes array. Returns `8 * buffer.length`\n     * if the buffer is all zeros.\n     */\n    function clz(bytes memory buffer) internal pure returns (uint256) {\n        for (uint256 i = 0; i < buffer.length; i += 0x20) {\n            bytes32 chunk = _unsafeReadBytesOffset(buffer, i);\n            if (chunk != bytes32(0)) {\n                return Math.min(8 * i + Math.clz(uint256(chunk)), 8 * buffer.length);\n            }\n        }\n        return 8 * buffer.length;\n    }\n\n    /**\n     * @dev Reads a bytes32 from a bytes array without bounds checking.\n     *\n     * NOTE: making this function internal would mean it could be used with memory unsafe offset, and marking the\n     * assembly block as such would prevent some optimizations.\n     */\n    function _unsafeReadBytesOffset(bytes memory buffer, uint256 offset) private pure returns (bytes32 value) {\n        // This is not memory safe in the general case, but all calls to this private function are within bounds.\n        assembly (\"memory-safe\") {\n            value := mload(add(add(buffer, 0x20), offset))\n        }\n    }\n}\n"},"@openzeppelin/contracts/utils/Panic.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.1.0) (utils/Panic.sol)\n\npragma solidity ^0.8.20;\n\n/**\n * @dev Helper library for emitting standardized panic codes.\n *\n * ```solidity\n * contract Example {\n *      using Panic for uint256;\n *\n *      // Use any of the declared internal constants\n *      function foo() { Panic.GENERIC.panic(); }\n *\n *      // Alternatively\n *      function foo() { Panic.panic(Panic.GENERIC); }\n * }\n * ```\n *\n * Follows the list from https://github.com/ethereum/solidity/blob/v0.8.24/libsolutil/ErrorCodes.h[libsolutil].\n *\n * _Available since v5.1._\n */\n// slither-disable-next-line unused-state\nlibrary Panic {\n    /// @dev generic / unspecified error\n    uint256 internal constant GENERIC = 0x00;\n    /// @dev used by the assert() builtin\n    uint256 internal constant ASSERT = 0x01;\n    /// @dev arithmetic underflow or overflow\n    uint256 internal constant UNDER_OVERFLOW = 0x11;\n    /// @dev division or modulo by zero\n    uint256 internal constant DIVISION_BY_ZERO = 0x12;\n    /// @dev enum conversion error\n    uint256 internal constant ENUM_CONVERSION_ERROR = 0x21;\n    /// @dev invalid encoding in storage\n    uint256 internal constant STORAGE_ENCODING_ERROR = 0x22;\n    /// @dev empty array pop\n    uint256 internal constant EMPTY_ARRAY_POP = 0x31;\n    /// @dev array out of bounds access\n    uint256 internal constant ARRAY_OUT_OF_BOUNDS = 0x32;\n    /// @dev resource error (too large allocation or too large array)\n    uint256 internal constant RESOURCE_ERROR = 0x41;\n    /// @dev calling invalid internal function\n    uint256 internal constant INVALID_INTERNAL_FUNCTION = 0x51;\n\n    /// @dev Reverts with a panic code. Recommended to use with\n    /// the internal constants with predefined codes.\n    function panic(uint256 code) internal pure {\n        assembly (\"memory-safe\") {\n            mstore(0x00, 0x4e487b71)\n            mstore(0x20, code)\n            revert(0x1c, 0x24)\n        }\n    }\n}\n"},"@openzeppelin/contracts/utils/Errors.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.1.0) (utils/Errors.sol)\n\npragma solidity ^0.8.20;\n\n/**\n * @dev Collection of common custom errors used in multiple contracts\n *\n * IMPORTANT: Backwards compatibility is not guaranteed in future versions of the library.\n * It is recommended to avoid relying on the error API for critical functionality.\n *\n * _Available since v5.1._\n */\nlibrary Errors {\n    /**\n     * @dev The ETH balance of the account is not enough to perform the operation.\n     */\n    error InsufficientBalance(uint256 balance, uint256 needed);\n\n    /**\n     * @dev A call to an address target failed. The target may have reverted.\n     */\n    error FailedCall();\n\n    /**\n     * @dev The deployment failed.\n     */\n    error FailedDeployment();\n\n    /**\n     * @dev A necessary precompile is missing.\n     */\n    error MissingPrecompile(address);\n}\n"},"@openzeppelin/contracts/utils/Address.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.5.0) (utils/Address.sol)\n\npragma solidity ^0.8.20;\n\nimport {Errors} from \"./Errors.sol\";\nimport {LowLevelCall} from \"./LowLevelCall.sol\";\n\n/**\n * @dev Collection of functions related to the address type\n */\nlibrary Address {\n    /**\n     * @dev There's no code at `target` (it is not a contract).\n     */\n    error AddressEmptyCode(address target);\n\n    /**\n     * @dev Replacement for Solidity's `transfer`: sends `amount` wei to\n     * `recipient`, forwarding all available gas and reverting on errors.\n     *\n     * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost\n     * of certain opcodes, possibly making contracts go over the 2300 gas limit\n     * imposed by `transfer`, making them unable to receive funds via\n     * `transfer`. {sendValue} removes this limitation.\n     *\n     * https://consensys.net/diligence/blog/2019/09/stop-using-soliditys-transfer-now/[Learn more].\n     *\n     * IMPORTANT: because control is transferred to `recipient`, care must be\n     * taken to not create reentrancy vulnerabilities. Consider using\n     * {ReentrancyGuard} or the\n     * https://solidity.readthedocs.io/en/v0.8.20/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern].\n     */\n    function sendValue(address payable recipient, uint256 amount) internal {\n        if (address(this).balance < amount) {\n            revert Errors.InsufficientBalance(address(this).balance, amount);\n        }\n        if (LowLevelCall.callNoReturn(recipient, amount, \"\")) {\n            // call successful, nothing to do\n            return;\n        } else if (LowLevelCall.returnDataSize() > 0) {\n            LowLevelCall.bubbleRevert();\n        } else {\n            revert Errors.FailedCall();\n        }\n    }\n\n    /**\n     * @dev Performs a Solidity function call using a low level `call`. A\n     * plain `call` is an unsafe replacement for a function call: use this\n     * function instead.\n     *\n     * If `target` reverts with a revert reason or custom error, it is bubbled\n     * up by this function (like regular Solidity function calls). However, if\n     * the call reverted with no returned reason, this function reverts with a\n     * {Errors.FailedCall} error.\n     *\n     * Returns the raw returned data. To convert to the expected return value,\n     * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`].\n     *\n     * Requirements:\n     *\n     * - `target` must be a contract.\n     * - calling `target` with `data` must not revert.\n     */\n    function functionCall(address target, bytes memory data) internal returns (bytes memory) {\n        return functionCallWithValue(target, data, 0);\n    }\n\n    /**\n     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],\n     * but also transferring `value` wei to `target`.\n     *\n     * Requirements:\n     *\n     * - the calling contract must have an ETH balance of at least `value`.\n     * - the called Solidity function must be `payable`.\n     */\n    function functionCallWithValue(address target, bytes memory data, uint256 value) internal returns (bytes memory) {\n        if (address(this).balance < value) {\n            revert Errors.InsufficientBalance(address(this).balance, value);\n        }\n        bool success = LowLevelCall.callNoReturn(target, value, data);\n        if (success && (LowLevelCall.returnDataSize() > 0 || target.code.length > 0)) {\n            return LowLevelCall.returnData();\n        } else if (success) {\n            revert AddressEmptyCode(target);\n        } else if (LowLevelCall.returnDataSize() > 0) {\n            LowLevelCall.bubbleRevert();\n        } else {\n            revert Errors.FailedCall();\n        }\n    }\n\n    /**\n     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],\n     * but performing a static call.\n     */\n    function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) {\n        bool success = LowLevelCall.staticcallNoReturn(target, data);\n        if (success && (LowLevelCall.returnDataSize() > 0 || target.code.length > 0)) {\n            return LowLevelCall.returnData();\n        } else if (success) {\n            revert AddressEmptyCode(target);\n        } else if (LowLevelCall.returnDataSize() > 0) {\n            LowLevelCall.bubbleRevert();\n        } else {\n            revert Errors.FailedCall();\n        }\n    }\n\n    /**\n     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],\n     * but performing a delegate call.\n     */\n    function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) {\n        bool success = LowLevelCall.delegatecallNoReturn(target, data);\n        if (success && (LowLevelCall.returnDataSize() > 0 || target.code.length > 0)) {\n            return LowLevelCall.returnData();\n        } else if (success) {\n            revert AddressEmptyCode(target);\n        } else if (LowLevelCall.returnDataSize() > 0) {\n            LowLevelCall.bubbleRevert();\n        } else {\n            revert Errors.FailedCall();\n        }\n    }\n\n    /**\n     * @dev Tool to verify that a low level call to smart-contract was successful, and reverts if the target\n     * was not a contract or bubbling up the revert reason (falling back to {Errors.FailedCall}) in case\n     * of an unsuccessful call.\n     *\n     * NOTE: This function is DEPRECATED and may be removed in the next major release.\n     */\n    function verifyCallResultFromTarget(\n        address target,\n        bool success,\n        bytes memory returndata\n    ) internal view returns (bytes memory) {\n        // only check if target is a contract if the call was successful and the return data is empty\n        // otherwise we already know that it was a contract\n        if (success && (returndata.length > 0 || target.code.length > 0)) {\n            return returndata;\n        } else if (success) {\n            revert AddressEmptyCode(target);\n        } else if (returndata.length > 0) {\n            LowLevelCall.bubbleRevert(returndata);\n        } else {\n            revert Errors.FailedCall();\n        }\n    }\n\n    /**\n     * @dev Tool to verify that a low level call was successful, and reverts if it wasn't, either by bubbling the\n     * revert reason or with a default {Errors.FailedCall} error.\n     */\n    function verifyCallResult(bool success, bytes memory returndata) internal pure returns (bytes memory) {\n        if (success) {\n            return returndata;\n        } else if (returndata.length > 0) {\n            LowLevelCall.bubbleRevert(returndata);\n        } else {\n            revert Errors.FailedCall();\n        }\n    }\n}\n"},"@openzeppelin/contracts/utils/Context.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.0.1) (utils/Context.sol)\n\npragma solidity ^0.8.20;\n\n/**\n * @dev Provides information about the current execution context, including the\n * sender of the transaction and its data. While these are generally available\n * via msg.sender and msg.data, they should not be accessed in such a direct\n * manner, since when dealing with meta-transactions the account sending and\n * paying for execution may not be the actual sender (as far as an application\n * is concerned).\n *\n * This contract is only required for intermediate, library-like contracts.\n */\nabstract contract Context {\n    function _msgSender() internal view virtual returns (address) {\n        return msg.sender;\n    }\n\n    function _msgData() internal view virtual returns (bytes calldata) {\n        return msg.data;\n    }\n\n    function _contextSuffixLength() internal view virtual returns (uint256) {\n        return 0;\n    }\n}\n"},"@openzeppelin/contracts/utils/Strings.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.5.0) (utils/Strings.sol)\n\npragma solidity ^0.8.24;\n\nimport {Math} from \"./math/Math.sol\";\nimport {SafeCast} from \"./math/SafeCast.sol\";\nimport {SignedMath} from \"./math/SignedMath.sol\";\nimport {Bytes} from \"./Bytes.sol\";\n\n/**\n * @dev String operations.\n */\nlibrary Strings {\n    using SafeCast for *;\n\n    bytes16 private constant HEX_DIGITS = \"0123456789abcdef\";\n    uint8 private constant ADDRESS_LENGTH = 20;\n    uint256 private constant SPECIAL_CHARS_LOOKUP =\n        (1 << 0x08) | // backspace\n            (1 << 0x09) | // tab\n            (1 << 0x0a) | // newline\n            (1 << 0x0c) | // form feed\n            (1 << 0x0d) | // carriage return\n            (1 << 0x22) | // double quote\n            (1 << 0x5c); // backslash\n\n    /**\n     * @dev The `value` string doesn't fit in the specified `length`.\n     */\n    error StringsInsufficientHexLength(uint256 value, uint256 length);\n\n    /**\n     * @dev The string being parsed contains characters that are not in scope of the given base.\n     */\n    error StringsInvalidChar();\n\n    /**\n     * @dev The string being parsed is not a properly formatted address.\n     */\n    error StringsInvalidAddressFormat();\n\n    /**\n     * @dev Converts a `uint256` to its ASCII `string` decimal representation.\n     */\n    function toString(uint256 value) internal pure returns (string memory) {\n        unchecked {\n            uint256 length = Math.log10(value) + 1;\n            string memory buffer = new string(length);\n            uint256 ptr;\n            assembly (\"memory-safe\") {\n                ptr := add(add(buffer, 0x20), length)\n            }\n            while (true) {\n                ptr--;\n                assembly (\"memory-safe\") {\n                    mstore8(ptr, byte(mod(value, 10), HEX_DIGITS))\n                }\n                value /= 10;\n                if (value == 0) break;\n            }\n            return buffer;\n        }\n    }\n\n    /**\n     * @dev Converts a `int256` to its ASCII `string` decimal representation.\n     */\n    function toStringSigned(int256 value) internal pure returns (string memory) {\n        return string.concat(value < 0 ? \"-\" : \"\", toString(SignedMath.abs(value)));\n    }\n\n    /**\n     * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation.\n     */\n    function toHexString(uint256 value) internal pure returns (string memory) {\n        unchecked {\n            return toHexString(value, Math.log256(value) + 1);\n        }\n    }\n\n    /**\n     * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length.\n     */\n    function toHexString(uint256 value, uint256 length) internal pure returns (string memory) {\n        uint256 localValue = value;\n        bytes memory buffer = new bytes(2 * length + 2);\n        buffer[0] = \"0\";\n        buffer[1] = \"x\";\n        for (uint256 i = 2 * length + 1; i > 1; --i) {\n            buffer[i] = HEX_DIGITS[localValue & 0xf];\n            localValue >>= 4;\n        }\n        if (localValue != 0) {\n            revert StringsInsufficientHexLength(value, length);\n        }\n        return string(buffer);\n    }\n\n    /**\n     * @dev Converts an `address` with fixed length of 20 bytes to its not checksummed ASCII `string` hexadecimal\n     * representation.\n     */\n    function toHexString(address addr) internal pure returns (string memory) {\n        return toHexString(uint256(uint160(addr)), ADDRESS_LENGTH);\n    }\n\n    /**\n     * @dev Converts an `address` with fixed length of 20 bytes to its checksummed ASCII `string` hexadecimal\n     * representation, according to EIP-55.\n     */\n    function toChecksumHexString(address addr) internal pure returns (string memory) {\n        bytes memory buffer = bytes(toHexString(addr));\n\n        // hash the hex part of buffer (skip length + 2 bytes, length 40)\n        uint256 hashValue;\n        assembly (\"memory-safe\") {\n            hashValue := shr(96, keccak256(add(buffer, 0x22), 40))\n        }\n\n        for (uint256 i = 41; i > 1; --i) {\n            // possible values for buffer[i] are 48 (0) to 57 (9) and 97 (a) to 102 (f)\n            if (hashValue & 0xf > 7 && uint8(buffer[i]) > 96) {\n                // case shift by xoring with 0x20\n                buffer[i] ^= 0x20;\n            }\n            hashValue >>= 4;\n        }\n        return string(buffer);\n    }\n\n    /**\n     * @dev Converts a `bytes` buffer to its ASCII `string` hexadecimal representation.\n     */\n    function toHexString(bytes memory input) internal pure returns (string memory) {\n        unchecked {\n            bytes memory buffer = new bytes(2 * input.length + 2);\n            buffer[0] = \"0\";\n            buffer[1] = \"x\";\n            for (uint256 i = 0; i < input.length; ++i) {\n                uint8 v = uint8(input[i]);\n                buffer[2 * i + 2] = HEX_DIGITS[v >> 4];\n                buffer[2 * i + 3] = HEX_DIGITS[v & 0xf];\n            }\n            return string(buffer);\n        }\n    }\n\n    /**\n     * @dev Returns true if the two strings are equal.\n     */\n    function equal(string memory a, string memory b) internal pure returns (bool) {\n        return Bytes.equal(bytes(a), bytes(b));\n    }\n\n    /**\n     * @dev Parse a decimal string and returns the value as a `uint256`.\n     *\n     * Requirements:\n     * - The string must be formatted as `[0-9]*`\n     * - The result must fit into an `uint256` type\n     */\n    function parseUint(string memory input) internal pure returns (uint256) {\n        return parseUint(input, 0, bytes(input).length);\n    }\n\n    /**\n     * @dev Variant of {parseUint-string} that parses a substring of `input` located between position `begin` (included) and\n     * `end` (excluded).\n     *\n     * Requirements:\n     * - The substring must be formatted as `[0-9]*`\n     * - The result must fit into an `uint256` type\n     */\n    function parseUint(string memory input, uint256 begin, uint256 end) internal pure returns (uint256) {\n        (bool success, uint256 value) = tryParseUint(input, begin, end);\n        if (!success) revert StringsInvalidChar();\n        return value;\n    }\n\n    /**\n     * @dev Variant of {parseUint-string} that returns false if the parsing fails because of an invalid character.\n     *\n     * NOTE: This function will revert if the result does not fit in a `uint256`.\n     */\n    function tryParseUint(string memory input) internal pure returns (bool success, uint256 value) {\n        return _tryParseUintUncheckedBounds(input, 0, bytes(input).length);\n    }\n\n    /**\n     * @dev Variant of {parseUint-string-uint256-uint256} that returns false if the parsing fails because of an invalid\n     * character.\n     *\n     * NOTE: This function will revert if the result does not fit in a `uint256`.\n     */\n    function tryParseUint(\n        string memory input,\n        uint256 begin,\n        uint256 end\n    ) internal pure returns (bool success, uint256 value) {\n        if (end > bytes(input).length || begin > end) return (false, 0);\n        return _tryParseUintUncheckedBounds(input, begin, end);\n    }\n\n    /**\n     * @dev Implementation of {tryParseUint-string-uint256-uint256} that does not check bounds. Caller should make sure that\n     * `begin <= end <= input.length`. Other inputs would result in undefined behavior.\n     */\n    function _tryParseUintUncheckedBounds(\n        string memory input,\n        uint256 begin,\n        uint256 end\n    ) private pure returns (bool success, uint256 value) {\n        bytes memory buffer = bytes(input);\n\n        uint256 result = 0;\n        for (uint256 i = begin; i < end; ++i) {\n            uint8 chr = _tryParseChr(bytes1(_unsafeReadBytesOffset(buffer, i)));\n            if (chr > 9) return (false, 0);\n            result *= 10;\n            result += chr;\n        }\n        return (true, result);\n    }\n\n    /**\n     * @dev Parse a decimal string and returns the value as a `int256`.\n     *\n     * Requirements:\n     * - The string must be formatted as `[-+]?[0-9]*`\n     * - The result must fit in an `int256` type.\n     */\n    function parseInt(string memory input) internal pure returns (int256) {\n        return parseInt(input, 0, bytes(input).length);\n    }\n\n    /**\n     * @dev Variant of {parseInt-string} that parses a substring of `input` located between position `begin` (included) and\n     * `end` (excluded).\n     *\n     * Requirements:\n     * - The substring must be formatted as `[-+]?[0-9]*`\n     * - The result must fit in an `int256` type.\n     */\n    function parseInt(string memory input, uint256 begin, uint256 end) internal pure returns (int256) {\n        (bool success, int256 value) = tryParseInt(input, begin, end);\n        if (!success) revert StringsInvalidChar();\n        return value;\n    }\n\n    /**\n     * @dev Variant of {parseInt-string} that returns false if the parsing fails because of an invalid character or if\n     * the result does not fit in a `int256`.\n     *\n     * NOTE: This function will revert if the absolute value of the result does not fit in a `uint256`.\n     */\n    function tryParseInt(string memory input) internal pure returns (bool success, int256 value) {\n        return _tryParseIntUncheckedBounds(input, 0, bytes(input).length);\n    }\n\n    uint256 private constant ABS_MIN_INT256 = 2 ** 255;\n\n    /**\n     * @dev Variant of {parseInt-string-uint256-uint256} that returns false if the parsing fails because of an invalid\n     * character or if the result does not fit in a `int256`.\n     *\n     * NOTE: This function will revert if the absolute value of the result does not fit in a `uint256`.\n     */\n    function tryParseInt(\n        string memory input,\n        uint256 begin,\n        uint256 end\n    ) internal pure returns (bool success, int256 value) {\n        if (end > bytes(input).length || begin > end) return (false, 0);\n        return _tryParseIntUncheckedBounds(input, begin, end);\n    }\n\n    /**\n     * @dev Implementation of {tryParseInt-string-uint256-uint256} that does not check bounds. Caller should make sure that\n     * `begin <= end <= input.length`. Other inputs would result in undefined behavior.\n     */\n    function _tryParseIntUncheckedBounds(\n        string memory input,\n        uint256 begin,\n        uint256 end\n    ) private pure returns (bool success, int256 value) {\n        bytes memory buffer = bytes(input);\n\n        // Check presence of a negative sign.\n        bytes1 sign = begin == end ? bytes1(0) : bytes1(_unsafeReadBytesOffset(buffer, begin)); // don't do out-of-bound (possibly unsafe) read if sub-string is empty\n        bool positiveSign = sign == bytes1(\"+\");\n        bool negativeSign = sign == bytes1(\"-\");\n        uint256 offset = (positiveSign || negativeSign).toUint();\n\n        (bool absSuccess, uint256 absValue) = tryParseUint(input, begin + offset, end);\n\n        if (absSuccess && absValue < ABS_MIN_INT256) {\n            return (true, negativeSign ? -int256(absValue) : int256(absValue));\n        } else if (absSuccess && negativeSign && absValue == ABS_MIN_INT256) {\n            return (true, type(int256).min);\n        } else return (false, 0);\n    }\n\n    /**\n     * @dev Parse a hexadecimal string (with or without \"0x\" prefix), and returns the value as a `uint256`.\n     *\n     * Requirements:\n     * - The string must be formatted as `(0x)?[0-9a-fA-F]*`\n     * - The result must fit in an `uint256` type.\n     */\n    function parseHexUint(string memory input) internal pure returns (uint256) {\n        return parseHexUint(input, 0, bytes(input).length);\n    }\n\n    /**\n     * @dev Variant of {parseHexUint-string} that parses a substring of `input` located between position `begin` (included) and\n     * `end` (excluded).\n     *\n     * Requirements:\n     * - The substring must be formatted as `(0x)?[0-9a-fA-F]*`\n     * - The result must fit in an `uint256` type.\n     */\n    function parseHexUint(string memory input, uint256 begin, uint256 end) internal pure returns (uint256) {\n        (bool success, uint256 value) = tryParseHexUint(input, begin, end);\n        if (!success) revert StringsInvalidChar();\n        return value;\n    }\n\n    /**\n     * @dev Variant of {parseHexUint-string} that returns false if the parsing fails because of an invalid character.\n     *\n     * NOTE: This function will revert if the result does not fit in a `uint256`.\n     */\n    function tryParseHexUint(string memory input) internal pure returns (bool success, uint256 value) {\n        return _tryParseHexUintUncheckedBounds(input, 0, bytes(input).length);\n    }\n\n    /**\n     * @dev Variant of {parseHexUint-string-uint256-uint256} that returns false if the parsing fails because of an\n     * invalid character.\n     *\n     * NOTE: This function will revert if the result does not fit in a `uint256`.\n     */\n    function tryParseHexUint(\n        string memory input,\n        uint256 begin,\n        uint256 end\n    ) internal pure returns (bool success, uint256 value) {\n        if (end > bytes(input).length || begin > end) return (false, 0);\n        return _tryParseHexUintUncheckedBounds(input, begin, end);\n    }\n\n    /**\n     * @dev Implementation of {tryParseHexUint-string-uint256-uint256} that does not check bounds. Caller should make sure that\n     * `begin <= end <= input.length`. Other inputs would result in undefined behavior.\n     */\n    function _tryParseHexUintUncheckedBounds(\n        string memory input,\n        uint256 begin,\n        uint256 end\n    ) private pure returns (bool success, uint256 value) {\n        bytes memory buffer = bytes(input);\n\n        // skip 0x prefix if present\n        bool hasPrefix = (end > begin + 1) && bytes2(_unsafeReadBytesOffset(buffer, begin)) == bytes2(\"0x\"); // don't do out-of-bound (possibly unsafe) read if sub-string is empty\n        uint256 offset = hasPrefix.toUint() * 2;\n\n        uint256 result = 0;\n        for (uint256 i = begin + offset; i < end; ++i) {\n            uint8 chr = _tryParseChr(bytes1(_unsafeReadBytesOffset(buffer, i)));\n            if (chr > 15) return (false, 0);\n            result *= 16;\n            unchecked {\n                // Multiplying by 16 is equivalent to a shift of 4 bits (with additional overflow check).\n                // This guarantees that adding a value < 16 will not cause an overflow, hence the unchecked.\n                result += chr;\n            }\n        }\n        return (true, result);\n    }\n\n    /**\n     * @dev Parse a hexadecimal string (with or without \"0x\" prefix), and returns the value as an `address`.\n     *\n     * Requirements:\n     * - The string must be formatted as `(0x)?[0-9a-fA-F]{40}`\n     */\n    function parseAddress(string memory input) internal pure returns (address) {\n        return parseAddress(input, 0, bytes(input).length);\n    }\n\n    /**\n     * @dev Variant of {parseAddress-string} that parses a substring of `input` located between position `begin` (included) and\n     * `end` (excluded).\n     *\n     * Requirements:\n     * - The substring must be formatted as `(0x)?[0-9a-fA-F]{40}`\n     */\n    function parseAddress(string memory input, uint256 begin, uint256 end) internal pure returns (address) {\n        (bool success, address value) = tryParseAddress(input, begin, end);\n        if (!success) revert StringsInvalidAddressFormat();\n        return value;\n    }\n\n    /**\n     * @dev Variant of {parseAddress-string} that returns false if the parsing fails because the input is not a properly\n     * formatted address. See {parseAddress-string} requirements.\n     */\n    function tryParseAddress(string memory input) internal pure returns (bool success, address value) {\n        return tryParseAddress(input, 0, bytes(input).length);\n    }\n\n    /**\n     * @dev Variant of {parseAddress-string-uint256-uint256} that returns false if the parsing fails because input is not a properly\n     * formatted address. See {parseAddress-string-uint256-uint256} requirements.\n     */\n    function tryParseAddress(\n        string memory input,\n        uint256 begin,\n        uint256 end\n    ) internal pure returns (bool success, address value) {\n        if (end > bytes(input).length || begin > end) return (false, address(0));\n\n        bool hasPrefix = (end > begin + 1) && bytes2(_unsafeReadBytesOffset(bytes(input), begin)) == bytes2(\"0x\"); // don't do out-of-bound (possibly unsafe) read if sub-string is empty\n        uint256 expectedLength = 40 + hasPrefix.toUint() * 2;\n\n        // check that input is the correct length\n        if (end - begin == expectedLength) {\n            // length guarantees that this does not overflow, and value is at most type(uint160).max\n            (bool s, uint256 v) = _tryParseHexUintUncheckedBounds(input, begin, end);\n            return (s, address(uint160(v)));\n        } else {\n            return (false, address(0));\n        }\n    }\n\n    function _tryParseChr(bytes1 chr) private pure returns (uint8) {\n        uint8 value = uint8(chr);\n\n        // Try to parse `chr`:\n        // - Case 1: [0-9]\n        // - Case 2: [a-f]\n        // - Case 3: [A-F]\n        // - otherwise not supported\n        unchecked {\n            if (value > 47 && value < 58) value -= 48;\n            else if (value > 96 && value < 103) value -= 87;\n            else if (value > 64 && value < 71) value -= 55;\n            else return type(uint8).max;\n        }\n\n        return value;\n    }\n\n    /**\n     * @dev Escape special characters in JSON strings. This can be useful to prevent JSON injection in NFT metadata.\n     *\n     * WARNING: This function should only be used in double quoted JSON strings. Single quotes are not escaped.\n     *\n     * NOTE: This function escapes all unicode characters, and not just the ones in ranges defined in section 2.5 of\n     * RFC-4627 (U+0000 to U+001F, U+0022 and U+005C). ECMAScript's `JSON.parse` does recover escaped unicode\n     * characters that are not in this range, but other tooling may provide different results.\n     */\n    function escapeJSON(string memory input) internal pure returns (string memory) {\n        bytes memory buffer = bytes(input);\n        bytes memory output = new bytes(2 * buffer.length); // worst case scenario\n        uint256 outputLength = 0;\n\n        for (uint256 i = 0; i < buffer.length; ++i) {\n            bytes1 char = bytes1(_unsafeReadBytesOffset(buffer, i));\n            if (((SPECIAL_CHARS_LOOKUP & (1 << uint8(char))) != 0)) {\n                output[outputLength++] = \"\\\\\";\n                if (char == 0x08) output[outputLength++] = \"b\";\n                else if (char == 0x09) output[outputLength++] = \"t\";\n                else if (char == 0x0a) output[outputLength++] = \"n\";\n                else if (char == 0x0c) output[outputLength++] = \"f\";\n                else if (char == 0x0d) output[outputLength++] = \"r\";\n                else if (char == 0x5c) output[outputLength++] = \"\\\\\";\n                else if (char == 0x22) {\n                    // solhint-disable-next-line quotes\n                    output[outputLength++] = '\"';\n                }\n            } else {\n                output[outputLength++] = char;\n            }\n        }\n        // write the actual length and deallocate unused memory\n        assembly (\"memory-safe\") {\n            mstore(output, outputLength)\n            mstore(0x40, add(output, shl(5, shr(5, add(outputLength, 63)))))\n        }\n\n        return string(output);\n    }\n\n    /**\n     * @dev Reads a bytes32 from a bytes array without bounds checking.\n     *\n     * NOTE: making this function internal would mean it could be used with memory unsafe offset, and marking the\n     * assembly block as such would prevent some optimizations.\n     */\n    function _unsafeReadBytesOffset(bytes memory buffer, uint256 offset) private pure returns (bytes32 value) {\n        // This is not memory safe in the general case, but all calls to this private function are within bounds.\n        assembly (\"memory-safe\") {\n            value := mload(add(add(buffer, 0x20), offset))\n        }\n    }\n}\n"},"@openzeppelin/contracts/utils/Pausable.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.3.0) (utils/Pausable.sol)\n\npragma solidity ^0.8.20;\n\nimport {Context} from \"../utils/Context.sol\";\n\n/**\n * @dev Contract module which allows children to implement an emergency stop\n * mechanism that can be triggered by an authorized account.\n *\n * This module is used through inheritance. It will make available the\n * modifiers `whenNotPaused` and `whenPaused`, which can be applied to\n * the functions of your contract. Note that they will not be pausable by\n * simply including this module, only once the modifiers are put in place.\n */\nabstract contract Pausable is Context {\n    bool private _paused;\n\n    /**\n     * @dev Emitted when the pause is triggered by `account`.\n     */\n    event Paused(address account);\n\n    /**\n     * @dev Emitted when the pause is lifted by `account`.\n     */\n    event Unpaused(address account);\n\n    /**\n     * @dev The operation failed because the contract is paused.\n     */\n    error EnforcedPause();\n\n    /**\n     * @dev The operation failed because the contract is not paused.\n     */\n    error ExpectedPause();\n\n    /**\n     * @dev Modifier to make a function callable only when the contract is not paused.\n     *\n     * Requirements:\n     *\n     * - The contract must not be paused.\n     */\n    modifier whenNotPaused() {\n        _requireNotPaused();\n        _;\n    }\n\n    /**\n     * @dev Modifier to make a function callable only when the contract is paused.\n     *\n     * Requirements:\n     *\n     * - The contract must be paused.\n     */\n    modifier whenPaused() {\n        _requirePaused();\n        _;\n    }\n\n    /**\n     * @dev Returns true if the contract is paused, and false otherwise.\n     */\n    function paused() public view virtual returns (bool) {\n        return _paused;\n    }\n\n    /**\n     * @dev Throws if the contract is paused.\n     */\n    function _requireNotPaused() internal view virtual {\n        if (paused()) {\n            revert EnforcedPause();\n        }\n    }\n\n    /**\n     * @dev Throws if the contract is not paused.\n     */\n    function _requirePaused() internal view virtual {\n        if (!paused()) {\n            revert ExpectedPause();\n        }\n    }\n\n    /**\n     * @dev Triggers stopped state.\n     *\n     * Requirements:\n     *\n     * - The contract must not be paused.\n     */\n    function _pause() internal virtual whenNotPaused {\n        _paused = true;\n        emit Paused(_msgSender());\n    }\n\n    /**\n     * @dev Returns to normal state.\n     *\n     * Requirements:\n     *\n     * - The contract must be paused.\n     */\n    function _unpause() internal virtual whenPaused {\n        _paused = false;\n        emit Unpaused(_msgSender());\n    }\n}\n"},"@openzeppelin/contracts/utils/math/Math.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.5.0) (utils/math/Math.sol)\n\npragma solidity ^0.8.20;\n\nimport {Panic} from \"../Panic.sol\";\nimport {SafeCast} from \"./SafeCast.sol\";\n\n/**\n * @dev Standard math utilities missing in the Solidity language.\n */\nlibrary Math {\n    enum Rounding {\n        Floor, // Toward negative infinity\n        Ceil, // Toward positive infinity\n        Trunc, // Toward zero\n        Expand // Away from zero\n    }\n\n    /**\n     * @dev Return the 512-bit addition of two uint256.\n     *\n     * The result is stored in two 256 variables such that sum = high * 2²⁵⁶ + low.\n     */\n    function add512(uint256 a, uint256 b) internal pure returns (uint256 high, uint256 low) {\n        assembly (\"memory-safe\") {\n            low := add(a, b)\n            high := lt(low, a)\n        }\n    }\n\n    /**\n     * @dev Return the 512-bit multiplication of two uint256.\n     *\n     * The result is stored in two 256 variables such that product = high * 2²⁵⁶ + low.\n     */\n    function mul512(uint256 a, uint256 b) internal pure returns (uint256 high, uint256 low) {\n        // 512-bit multiply [high low] = x * y. Compute the product mod 2²⁵⁶ and mod 2²⁵⁶ - 1, then use\n        // the Chinese Remainder Theorem to reconstruct the 512 bit result. The result is stored in two 256\n        // variables such that product = high * 2²⁵⁶ + low.\n        assembly (\"memory-safe\") {\n            let mm := mulmod(a, b, not(0))\n            low := mul(a, b)\n            high := sub(sub(mm, low), lt(mm, low))\n        }\n    }\n\n    /**\n     * @dev Returns the addition of two unsigned integers, with a success flag (no overflow).\n     */\n    function tryAdd(uint256 a, uint256 b) internal pure returns (bool success, uint256 result) {\n        unchecked {\n            uint256 c = a + b;\n            success = c >= a;\n            result = c * SafeCast.toUint(success);\n        }\n    }\n\n    /**\n     * @dev Returns the subtraction of two unsigned integers, with a success flag (no overflow).\n     */\n    function trySub(uint256 a, uint256 b) internal pure returns (bool success, uint256 result) {\n        unchecked {\n            uint256 c = a - b;\n            success = c <= a;\n            result = c * SafeCast.toUint(success);\n        }\n    }\n\n    /**\n     * @dev Returns the multiplication of two unsigned integers, with a success flag (no overflow).\n     */\n    function tryMul(uint256 a, uint256 b) internal pure returns (bool success, uint256 result) {\n        unchecked {\n            uint256 c = a * b;\n            assembly (\"memory-safe\") {\n                // Only true when the multiplication doesn't overflow\n                // (c / a == b) || (a == 0)\n                success := or(eq(div(c, a), b), iszero(a))\n            }\n            // equivalent to: success ? c : 0\n            result = c * SafeCast.toUint(success);\n        }\n    }\n\n    /**\n     * @dev Returns the division of two unsigned integers, with a success flag (no division by zero).\n     */\n    function tryDiv(uint256 a, uint256 b) internal pure returns (bool success, uint256 result) {\n        unchecked {\n            success = b > 0;\n            assembly (\"memory-safe\") {\n                // The `DIV` opcode returns zero when the denominator is 0.\n                result := div(a, b)\n            }\n        }\n    }\n\n    /**\n     * @dev Returns the remainder of dividing two unsigned integers, with a success flag (no division by zero).\n     */\n    function tryMod(uint256 a, uint256 b) internal pure returns (bool success, uint256 result) {\n        unchecked {\n            success = b > 0;\n            assembly (\"memory-safe\") {\n                // The `MOD` opcode returns zero when the denominator is 0.\n                result := mod(a, b)\n            }\n        }\n    }\n\n    /**\n     * @dev Unsigned saturating addition, bounds to `2²⁵⁶ - 1` instead of overflowing.\n     */\n    function saturatingAdd(uint256 a, uint256 b) internal pure returns (uint256) {\n        (bool success, uint256 result) = tryAdd(a, b);\n        return ternary(success, result, type(uint256).max);\n    }\n\n    /**\n     * @dev Unsigned saturating subtraction, bounds to zero instead of overflowing.\n     */\n    function saturatingSub(uint256 a, uint256 b) internal pure returns (uint256) {\n        (, uint256 result) = trySub(a, b);\n        return result;\n    }\n\n    /**\n     * @dev Unsigned saturating multiplication, bounds to `2²⁵⁶ - 1` instead of overflowing.\n     */\n    function saturatingMul(uint256 a, uint256 b) internal pure returns (uint256) {\n        (bool success, uint256 result) = tryMul(a, b);\n        return ternary(success, result, type(uint256).max);\n    }\n\n    /**\n     * @dev Branchless ternary evaluation for `condition ? a : b`. Gas costs are constant.\n     *\n     * IMPORTANT: This function may reduce bytecode size and consume less gas when used standalone.\n     * However, the compiler may optimize Solidity ternary operations (i.e. `condition ? a : b`) to only compute\n     * one branch when needed, making this function more expensive.\n     */\n    function ternary(bool condition, uint256 a, uint256 b) internal pure returns (uint256) {\n        unchecked {\n            // branchless ternary works because:\n            // b ^ (a ^ b) == a\n            // b ^ 0 == b\n            return b ^ ((a ^ b) * SafeCast.toUint(condition));\n        }\n    }\n\n    /**\n     * @dev Returns the largest of two numbers.\n     */\n    function max(uint256 a, uint256 b) internal pure returns (uint256) {\n        return ternary(a > b, a, b);\n    }\n\n    /**\n     * @dev Returns the smallest of two numbers.\n     */\n    function min(uint256 a, uint256 b) internal pure returns (uint256) {\n        return ternary(a < b, a, b);\n    }\n\n    /**\n     * @dev Returns the average of two numbers. The result is rounded towards\n     * zero.\n     */\n    function average(uint256 a, uint256 b) internal pure returns (uint256) {\n        unchecked {\n            // (a + b) / 2 can overflow.\n            return (a & b) + (a ^ b) / 2;\n        }\n    }\n\n    /**\n     * @dev Returns the ceiling of the division of two numbers.\n     *\n     * This differs from standard division with `/` in that it rounds towards infinity instead\n     * of rounding towards zero.\n     */\n    function ceilDiv(uint256 a, uint256 b) internal pure returns (uint256) {\n        if (b == 0) {\n            // Guarantee the same behavior as in a regular Solidity division.\n            Panic.panic(Panic.DIVISION_BY_ZERO);\n        }\n\n        // The following calculation ensures accurate ceiling division without overflow.\n        // Since a is non-zero, (a - 1) / b will not overflow.\n        // The largest possible result occurs when (a - 1) / b is type(uint256).max,\n        // but the largest value we can obtain is type(uint256).max - 1, which happens\n        // when a = type(uint256).max and b = 1.\n        unchecked {\n            return SafeCast.toUint(a > 0) * ((a - 1) / b + 1);\n        }\n    }\n\n    /**\n     * @dev Calculates floor(x * y / denominator) with full precision. Throws if result overflows a uint256 or\n     * denominator == 0.\n     *\n     * Original credit to Remco Bloemen under MIT license (https://xn--2-umb.com/21/muldiv) with further edits by\n     * Uniswap Labs also under MIT license.\n     */\n    function mulDiv(uint256 x, uint256 y, uint256 denominator) internal pure returns (uint256 result) {\n        unchecked {\n            (uint256 high, uint256 low) = mul512(x, y);\n\n            // Handle non-overflow cases, 256 by 256 division.\n            if (high == 0) {\n                // Solidity will revert if denominator == 0, unlike the div opcode on its own.\n                // The surrounding unchecked block does not change this fact.\n                // See https://docs.soliditylang.org/en/latest/control-structures.html#checked-or-unchecked-arithmetic.\n                return low / denominator;\n            }\n\n            // Make sure the result is less than 2²⁵⁶. Also prevents denominator == 0.\n            if (denominator <= high) {\n                Panic.panic(ternary(denominator == 0, Panic.DIVISION_BY_ZERO, Panic.UNDER_OVERFLOW));\n            }\n\n            ///////////////////////////////////////////////\n            // 512 by 256 division.\n            ///////////////////////////////////////////////\n\n            // Make division exact by subtracting the remainder from [high low].\n            uint256 remainder;\n            assembly (\"memory-safe\") {\n                // Compute remainder using mulmod.\n                remainder := mulmod(x, y, denominator)\n\n                // Subtract 256 bit number from 512 bit number.\n                high := sub(high, gt(remainder, low))\n                low := sub(low, remainder)\n            }\n\n            // Factor powers of two out of denominator and compute largest power of two divisor of denominator.\n            // Always >= 1. See https://cs.stackexchange.com/q/138556/92363.\n\n            uint256 twos = denominator & (0 - denominator);\n            assembly (\"memory-safe\") {\n                // Divide denominator by twos.\n                denominator := div(denominator, twos)\n\n                // Divide [high low] by twos.\n                low := div(low, twos)\n\n                // Flip twos such that it is 2²⁵⁶ / twos. If twos is zero, then it becomes one.\n                twos := add(div(sub(0, twos), twos), 1)\n            }\n\n            // Shift in bits from high into low.\n            low |= high * twos;\n\n            // Invert denominator mod 2²⁵⁶. Now that denominator is an odd number, it has an inverse modulo 2²⁵⁶ such\n            // that denominator * inv ≡ 1 mod 2²⁵⁶. Compute the inverse by starting with a seed that is correct for\n            // four bits. That is, denominator * inv ≡ 1 mod 2⁴.\n            uint256 inverse = (3 * denominator) ^ 2;\n\n            // Use the Newton-Raphson iteration to improve the precision. Thanks to Hensel's lifting lemma, this also\n            // works in modular arithmetic, doubling the correct bits in each step.\n            inverse *= 2 - denominator * inverse; // inverse mod 2⁸\n            inverse *= 2 - denominator * inverse; // inverse mod 2¹⁶\n            inverse *= 2 - denominator * inverse; // inverse mod 2³²\n            inverse *= 2 - denominator * inverse; // inverse mod 2⁶⁴\n            inverse *= 2 - denominator * inverse; // inverse mod 2¹²⁸\n            inverse *= 2 - denominator * inverse; // inverse mod 2²⁵⁶\n\n            // Because the division is now exact we can divide by multiplying with the modular inverse of denominator.\n            // This will give us the correct result modulo 2²⁵⁶. Since the preconditions guarantee that the outcome is\n            // less than 2²⁵⁶, this is the final result. We don't need to compute the high bits of the result and high\n            // is no longer required.\n            result = low * inverse;\n            return result;\n        }\n    }\n\n    /**\n     * @dev Calculates x * y / denominator with full precision, following the selected rounding direction.\n     */\n    function mulDiv(uint256 x, uint256 y, uint256 denominator, Rounding rounding) internal pure returns (uint256) {\n        return mulDiv(x, y, denominator) + SafeCast.toUint(unsignedRoundsUp(rounding) && mulmod(x, y, denominator) > 0);\n    }\n\n    /**\n     * @dev Calculates floor(x * y >> n) with full precision. Throws if result overflows a uint256.\n     */\n    function mulShr(uint256 x, uint256 y, uint8 n) internal pure returns (uint256 result) {\n        unchecked {\n            (uint256 high, uint256 low) = mul512(x, y);\n            if (high >= 1 << n) {\n                Panic.panic(Panic.UNDER_OVERFLOW);\n            }\n            return (high << (256 - n)) | (low >> n);\n        }\n    }\n\n    /**\n     * @dev Calculates x * y >> n with full precision, following the selected rounding direction.\n     */\n    function mulShr(uint256 x, uint256 y, uint8 n, Rounding rounding) internal pure returns (uint256) {\n        return mulShr(x, y, n) + SafeCast.toUint(unsignedRoundsUp(rounding) && mulmod(x, y, 1 << n) > 0);\n    }\n\n    /**\n     * @dev Calculate the modular multiplicative inverse of a number in Z/nZ.\n     *\n     * If n is a prime, then Z/nZ is a field. In that case all elements are inversible, except 0.\n     * If n is not a prime, then Z/nZ is not a field, and some elements might not be inversible.\n     *\n     * If the input value is not inversible, 0 is returned.\n     *\n     * NOTE: If you know for sure that n is (big) a prime, it may be cheaper to use Fermat's little theorem and get the\n     * inverse using `Math.modExp(a, n - 2, n)`. See {invModPrime}.\n     */\n    function invMod(uint256 a, uint256 n) internal pure returns (uint256) {\n        unchecked {\n            if (n == 0) return 0;\n\n            // The inverse modulo is calculated using the Extended Euclidean Algorithm (iterative version)\n            // Used to compute integers x and y such that: ax + ny = gcd(a, n).\n            // When the gcd is 1, then the inverse of a modulo n exists and it's x.\n            // ax + ny = 1\n            // ax = 1 + (-y)n\n            // ax ≡ 1 (mod n) # x is the inverse of a modulo n\n\n            // If the remainder is 0 the gcd is n right away.\n            uint256 remainder = a % n;\n            uint256 gcd = n;\n\n            // Therefore the initial coefficients are:\n            // ax + ny = gcd(a, n) = n\n            // 0a + 1n = n\n            int256 x = 0;\n            int256 y = 1;\n\n            while (remainder != 0) {\n                uint256 quotient = gcd / remainder;\n\n                (gcd, remainder) = (\n                    // The old remainder is the next gcd to try.\n                    remainder,\n                    // Compute the next remainder.\n                    // Can't overflow given that (a % gcd) * (gcd // (a % gcd)) <= gcd\n                    // where gcd is at most n (capped to type(uint256).max)\n                    gcd - remainder * quotient\n                );\n\n                (x, y) = (\n                    // Increment the coefficient of a.\n                    y,\n                    // Decrement the coefficient of n.\n                    // Can overflow, but the result is casted to uint256 so that the\n                    // next value of y is \"wrapped around\" to a value between 0 and n - 1.\n                    x - y * int256(quotient)\n                );\n            }\n\n            if (gcd != 1) return 0; // No inverse exists.\n            return ternary(x < 0, n - uint256(-x), uint256(x)); // Wrap the result if it's negative.\n        }\n    }\n\n    /**\n     * @dev Variant of {invMod}. More efficient, but only works if `p` is known to be a prime greater than `2`.\n     *\n     * From https://en.wikipedia.org/wiki/Fermat%27s_little_theorem[Fermat's little theorem], we know that if p is\n     * prime, then `a**(p-1) ≡ 1 mod p`. As a consequence, we have `a * a**(p-2) ≡ 1 mod p`, which means that\n     * `a**(p-2)` is the modular multiplicative inverse of a in Fp.\n     *\n     * NOTE: this function does NOT check that `p` is a prime greater than `2`.\n     */\n    function invModPrime(uint256 a, uint256 p) internal view returns (uint256) {\n        unchecked {\n            return Math.modExp(a, p - 2, p);\n        }\n    }\n\n    /**\n     * @dev Returns the modular exponentiation of the specified base, exponent and modulus (b ** e % m)\n     *\n     * Requirements:\n     * - modulus can't be zero\n     * - underlying staticcall to precompile must succeed\n     *\n     * IMPORTANT: The result is only valid if the underlying call succeeds. When using this function, make\n     * sure the chain you're using it on supports the precompiled contract for modular exponentiation\n     * at address 0x05 as specified in https://eips.ethereum.org/EIPS/eip-198[EIP-198]. Otherwise,\n     * the underlying function will succeed given the lack of a revert, but the result may be incorrectly\n     * interpreted as 0.\n     */\n    function modExp(uint256 b, uint256 e, uint256 m) internal view returns (uint256) {\n        (bool success, uint256 result) = tryModExp(b, e, m);\n        if (!success) {\n            Panic.panic(Panic.DIVISION_BY_ZERO);\n        }\n        return result;\n    }\n\n    /**\n     * @dev Returns the modular exponentiation of the specified base, exponent and modulus (b ** e % m).\n     * It includes a success flag indicating if the operation succeeded. Operation will be marked as failed if trying\n     * to operate modulo 0 or if the underlying precompile reverted.\n     *\n     * IMPORTANT: The result is only valid if the success flag is true. When using this function, make sure the chain\n     * you're using it on supports the precompiled contract for modular exponentiation at address 0x05 as specified in\n     * https://eips.ethereum.org/EIPS/eip-198[EIP-198]. Otherwise, the underlying function will succeed given the lack\n     * of a revert, but the result may be incorrectly interpreted as 0.\n     */\n    function tryModExp(uint256 b, uint256 e, uint256 m) internal view returns (bool success, uint256 result) {\n        if (m == 0) return (false, 0);\n        assembly (\"memory-safe\") {\n            let ptr := mload(0x40)\n            // | Offset    | Content    | Content (Hex)                                                      |\n            // |-----------|------------|--------------------------------------------------------------------|\n            // | 0x00:0x1f | size of b  | 0x0000000000000000000000000000000000000000000000000000000000000020 |\n            // | 0x20:0x3f | size of e  | 0x0000000000000000000000000000000000000000000000000000000000000020 |\n            // | 0x40:0x5f | size of m  | 0x0000000000000000000000000000000000000000000000000000000000000020 |\n            // | 0x60:0x7f | value of b | 0x<.............................................................b> |\n            // | 0x80:0x9f | value of e | 0x<.............................................................e> |\n            // | 0xa0:0xbf | value of m | 0x<.............................................................m> |\n            mstore(ptr, 0x20)\n            mstore(add(ptr, 0x20), 0x20)\n            mstore(add(ptr, 0x40), 0x20)\n            mstore(add(ptr, 0x60), b)\n            mstore(add(ptr, 0x80), e)\n            mstore(add(ptr, 0xa0), m)\n\n            // Given the result < m, it's guaranteed to fit in 32 bytes,\n            // so we can use the memory scratch space located at offset 0.\n            success := staticcall(gas(), 0x05, ptr, 0xc0, 0x00, 0x20)\n            result := mload(0x00)\n        }\n    }\n\n    /**\n     * @dev Variant of {modExp} that supports inputs of arbitrary length.\n     */\n    function modExp(bytes memory b, bytes memory e, bytes memory m) internal view returns (bytes memory) {\n        (bool success, bytes memory result) = tryModExp(b, e, m);\n        if (!success) {\n            Panic.panic(Panic.DIVISION_BY_ZERO);\n        }\n        return result;\n    }\n\n    /**\n     * @dev Variant of {tryModExp} that supports inputs of arbitrary length.\n     */\n    function tryModExp(\n        bytes memory b,\n        bytes memory e,\n        bytes memory m\n    ) internal view returns (bool success, bytes memory result) {\n        if (_zeroBytes(m)) return (false, new bytes(0));\n\n        uint256 mLen = m.length;\n\n        // Encode call args in result and move the free memory pointer\n        result = abi.encodePacked(b.length, e.length, mLen, b, e, m);\n\n        assembly (\"memory-safe\") {\n            let dataPtr := add(result, 0x20)\n            // Write result on top of args to avoid allocating extra memory.\n            success := staticcall(gas(), 0x05, dataPtr, mload(result), dataPtr, mLen)\n            // Overwrite the length.\n            // result.length > returndatasize() is guaranteed because returndatasize() == m.length\n            mstore(result, mLen)\n            // Set the memory pointer after the returned data.\n            mstore(0x40, add(dataPtr, mLen))\n        }\n    }\n\n    /**\n     * @dev Returns whether the provided byte array is zero.\n     */\n    function _zeroBytes(bytes memory buffer) private pure returns (bool) {\n        uint256 chunk;\n        for (uint256 i = 0; i < buffer.length; i += 0x20) {\n            // See _unsafeReadBytesOffset from utils/Bytes.sol\n            assembly (\"memory-safe\") {\n                chunk := mload(add(add(buffer, 0x20), i))\n            }\n            if (chunk >> (8 * saturatingSub(i + 0x20, buffer.length)) != 0) {\n                return false;\n            }\n        }\n        return true;\n    }\n\n    /**\n     * @dev Returns the square root of a number. If the number is not a perfect square, the value is rounded\n     * towards zero.\n     *\n     * This method is based on Newton's method for computing square roots; the algorithm is restricted to only\n     * using integer operations.\n     */\n    function sqrt(uint256 a) internal pure returns (uint256) {\n        unchecked {\n            // Take care of easy edge cases when a == 0 or a == 1\n            if (a <= 1) {\n                return a;\n            }\n\n            // In this function, we use Newton's method to get a root of `f(x) := x² - a`. It involves building a\n            // sequence x_n that converges toward sqrt(a). For each iteration x_n, we also define the error between\n            // the current value as `ε_n = | x_n - sqrt(a) |`.\n            //\n            // For our first estimation, we consider `e` the smallest power of 2 which is bigger than the square root\n            // of the target. (i.e. `2**(e-1) ≤ sqrt(a) < 2**e`). We know that `e ≤ 128` because `(2¹²⁸)² = 2²⁵⁶` is\n            // bigger than any uint256.\n            //\n            // By noticing that\n            // `2**(e-1) ≤ sqrt(a) < 2**e → (2**(e-1))² ≤ a < (2**e)² → 2**(2*e-2) ≤ a < 2**(2*e)`\n            // we can deduce that `e - 1` is `log2(a) / 2`. We can thus compute `x_n = 2**(e-1)` using a method similar\n            // to the msb function.\n            uint256 aa = a;\n            uint256 xn = 1;\n\n            if (aa >= (1 << 128)) {\n                aa >>= 128;\n                xn <<= 64;\n            }\n            if (aa >= (1 << 64)) {\n                aa >>= 64;\n                xn <<= 32;\n            }\n            if (aa >= (1 << 32)) {\n                aa >>= 32;\n                xn <<= 16;\n            }\n            if (aa >= (1 << 16)) {\n                aa >>= 16;\n                xn <<= 8;\n            }\n            if (aa >= (1 << 8)) {\n                aa >>= 8;\n                xn <<= 4;\n            }\n            if (aa >= (1 << 4)) {\n                aa >>= 4;\n                xn <<= 2;\n            }\n            if (aa >= (1 << 2)) {\n                xn <<= 1;\n            }\n\n            // We now have x_n such that `x_n = 2**(e-1) ≤ sqrt(a) < 2**e = 2 * x_n`. This implies ε_n ≤ 2**(e-1).\n            //\n            // We can refine our estimation by noticing that the middle of that interval minimizes the error.\n            // If we move x_n to equal 2**(e-1) + 2**(e-2), then we reduce the error to ε_n ≤ 2**(e-2).\n            // This is going to be our x_0 (and ε_0)\n            xn = (3 * xn) >> 1; // ε_0 := | x_0 - sqrt(a) | ≤ 2**(e-2)\n\n            // From here, Newton's method give us:\n            // x_{n+1} = (x_n + a / x_n) / 2\n            //\n            // One should note that:\n            // x_{n+1}² - a = ((x_n + a / x_n) / 2)² - a\n            //              = ((x_n² + a) / (2 * x_n))² - a\n            //              = (x_n⁴ + 2 * a * x_n² + a²) / (4 * x_n²) - a\n            //              = (x_n⁴ + 2 * a * x_n² + a² - 4 * a * x_n²) / (4 * x_n²)\n            //              = (x_n⁴ - 2 * a * x_n² + a²) / (4 * x_n²)\n            //              = (x_n² - a)² / (2 * x_n)²\n            //              = ((x_n² - a) / (2 * x_n))²\n            //              ≥ 0\n            // Which proves that for all n ≥ 1, sqrt(a) ≤ x_n\n            //\n            // This gives us the proof of quadratic convergence of the sequence:\n            // ε_{n+1} = | x_{n+1} - sqrt(a) |\n            //         = | (x_n + a / x_n) / 2 - sqrt(a) |\n            //         = | (x_n² + a - 2*x_n*sqrt(a)) / (2 * x_n) |\n            //         = | (x_n - sqrt(a))² / (2 * x_n) |\n            //         = | ε_n² / (2 * x_n) |\n            //         = ε_n² / | (2 * x_n) |\n            //\n            // For the first iteration, we have a special case where x_0 is known:\n            // ε_1 = ε_0² / | (2 * x_0) |\n            //     ≤ (2**(e-2))² / (2 * (2**(e-1) + 2**(e-2)))\n            //     ≤ 2**(2*e-4) / (3 * 2**(e-1))\n            //     ≤ 2**(e-3) / 3\n            //     ≤ 2**(e-3-log2(3))\n            //     ≤ 2**(e-4.5)\n            //\n            // For the following iterations, we use the fact that, 2**(e-1) ≤ sqrt(a) ≤ x_n:\n            // ε_{n+1} = ε_n² / | (2 * x_n) |\n            //         ≤ (2**(e-k))² / (2 * 2**(e-1))\n            //         ≤ 2**(2*e-2*k) / 2**e\n            //         ≤ 2**(e-2*k)\n            xn = (xn + a / xn) >> 1; // ε_1 := | x_1 - sqrt(a) | ≤ 2**(e-4.5)  -- special case, see above\n            xn = (xn + a / xn) >> 1; // ε_2 := | x_2 - sqrt(a) | ≤ 2**(e-9)    -- general case with k = 4.5\n            xn = (xn + a / xn) >> 1; // ε_3 := | x_3 - sqrt(a) | ≤ 2**(e-18)   -- general case with k = 9\n            xn = (xn + a / xn) >> 1; // ε_4 := | x_4 - sqrt(a) | ≤ 2**(e-36)   -- general case with k = 18\n            xn = (xn + a / xn) >> 1; // ε_5 := | x_5 - sqrt(a) | ≤ 2**(e-72)   -- general case with k = 36\n            xn = (xn + a / xn) >> 1; // ε_6 := | x_6 - sqrt(a) | ≤ 2**(e-144)  -- general case with k = 72\n\n            // Because e ≤ 128 (as discussed during the first estimation phase), we know have reached a precision\n            // ε_6 ≤ 2**(e-144) < 1. Given we're operating on integers, then we can ensure that xn is now either\n            // sqrt(a) or sqrt(a) + 1.\n            return xn - SafeCast.toUint(xn > a / xn);\n        }\n    }\n\n    /**\n     * @dev Calculates sqrt(a), following the selected rounding direction.\n     */\n    function sqrt(uint256 a, Rounding rounding) internal pure returns (uint256) {\n        unchecked {\n            uint256 result = sqrt(a);\n            return result + SafeCast.toUint(unsignedRoundsUp(rounding) && result * result < a);\n        }\n    }\n\n    /**\n     * @dev Return the log in base 2 of a positive value rounded towards zero.\n     * Returns 0 if given 0.\n     */\n    function log2(uint256 x) internal pure returns (uint256 r) {\n        // If value has upper 128 bits set, log2 result is at least 128\n        r = SafeCast.toUint(x > 0xffffffffffffffffffffffffffffffff) << 7;\n        // If upper 64 bits of 128-bit half set, add 64 to result\n        r |= SafeCast.toUint((x >> r) > 0xffffffffffffffff) << 6;\n        // If upper 32 bits of 64-bit half set, add 32 to result\n        r |= SafeCast.toUint((x >> r) > 0xffffffff) << 5;\n        // If upper 16 bits of 32-bit half set, add 16 to result\n        r |= SafeCast.toUint((x >> r) > 0xffff) << 4;\n        // If upper 8 bits of 16-bit half set, add 8 to result\n        r |= SafeCast.toUint((x >> r) > 0xff) << 3;\n        // If upper 4 bits of 8-bit half set, add 4 to result\n        r |= SafeCast.toUint((x >> r) > 0xf) << 2;\n\n        // Shifts value right by the current result and use it as an index into this lookup table:\n        //\n        // | x (4 bits) |  index  | table[index] = MSB position |\n        // |------------|---------|-----------------------------|\n        // |    0000    |    0    |        table[0] = 0         |\n        // |    0001    |    1    |        table[1] = 0         |\n        // |    0010    |    2    |        table[2] = 1         |\n        // |    0011    |    3    |        table[3] = 1         |\n        // |    0100    |    4    |        table[4] = 2         |\n        // |    0101    |    5    |        table[5] = 2         |\n        // |    0110    |    6    |        table[6] = 2         |\n        // |    0111    |    7    |        table[7] = 2         |\n        // |    1000    |    8    |        table[8] = 3         |\n        // |    1001    |    9    |        table[9] = 3         |\n        // |    1010    |   10    |        table[10] = 3        |\n        // |    1011    |   11    |        table[11] = 3        |\n        // |    1100    |   12    |        table[12] = 3        |\n        // |    1101    |   13    |        table[13] = 3        |\n        // |    1110    |   14    |        table[14] = 3        |\n        // |    1111    |   15    |        table[15] = 3        |\n        //\n        // The lookup table is represented as a 32-byte value with the MSB positions for 0-15 in the first 16 bytes (most significant half).\n        assembly (\"memory-safe\") {\n            r := or(r, byte(shr(r, x), 0x0000010102020202030303030303030300000000000000000000000000000000))\n        }\n    }\n\n    /**\n     * @dev Return the log in base 2, following the selected rounding direction, of a positive value.\n     * Returns 0 if given 0.\n     */\n    function log2(uint256 value, Rounding rounding) internal pure returns (uint256) {\n        unchecked {\n            uint256 result = log2(value);\n            return result + SafeCast.toUint(unsignedRoundsUp(rounding) && 1 << result < value);\n        }\n    }\n\n    /**\n     * @dev Return the log in base 10 of a positive value rounded towards zero.\n     * Returns 0 if given 0.\n     */\n    function log10(uint256 value) internal pure returns (uint256) {\n        uint256 result = 0;\n        unchecked {\n            if (value >= 10 ** 64) {\n                value /= 10 ** 64;\n                result += 64;\n            }\n            if (value >= 10 ** 32) {\n                value /= 10 ** 32;\n                result += 32;\n            }\n            if (value >= 10 ** 16) {\n                value /= 10 ** 16;\n                result += 16;\n            }\n            if (value >= 10 ** 8) {\n                value /= 10 ** 8;\n                result += 8;\n            }\n            if (value >= 10 ** 4) {\n                value /= 10 ** 4;\n                result += 4;\n            }\n            if (value >= 10 ** 2) {\n                value /= 10 ** 2;\n                result += 2;\n            }\n            if (value >= 10 ** 1) {\n                result += 1;\n            }\n        }\n        return result;\n    }\n\n    /**\n     * @dev Return the log in base 10, following the selected rounding direction, of a positive value.\n     * Returns 0 if given 0.\n     */\n    function log10(uint256 value, Rounding rounding) internal pure returns (uint256) {\n        unchecked {\n            uint256 result = log10(value);\n            return result + SafeCast.toUint(unsignedRoundsUp(rounding) && 10 ** result < value);\n        }\n    }\n\n    /**\n     * @dev Return the log in base 256 of a positive value rounded towards zero.\n     * Returns 0 if given 0.\n     *\n     * Adding one to the result gives the number of pairs of hex symbols needed to represent `value` as a hex string.\n     */\n    function log256(uint256 x) internal pure returns (uint256 r) {\n        // If value has upper 128 bits set, log2 result is at least 128\n        r = SafeCast.toUint(x > 0xffffffffffffffffffffffffffffffff) << 7;\n        // If upper 64 bits of 128-bit half set, add 64 to result\n        r |= SafeCast.toUint((x >> r) > 0xffffffffffffffff) << 6;\n        // If upper 32 bits of 64-bit half set, add 32 to result\n        r |= SafeCast.toUint((x >> r) > 0xffffffff) << 5;\n        // If upper 16 bits of 32-bit half set, add 16 to result\n        r |= SafeCast.toUint((x >> r) > 0xffff) << 4;\n        // Add 1 if upper 8 bits of 16-bit half set, and divide accumulated result by 8\n        return (r >> 3) | SafeCast.toUint((x >> r) > 0xff);\n    }\n\n    /**\n     * @dev Return the log in base 256, following the selected rounding direction, of a positive value.\n     * Returns 0 if given 0.\n     */\n    function log256(uint256 value, Rounding rounding) internal pure returns (uint256) {\n        unchecked {\n            uint256 result = log256(value);\n            return result + SafeCast.toUint(unsignedRoundsUp(rounding) && 1 << (result << 3) < value);\n        }\n    }\n\n    /**\n     * @dev Returns whether a provided rounding mode is considered rounding up for unsigned integers.\n     */\n    function unsignedRoundsUp(Rounding rounding) internal pure returns (bool) {\n        return uint8(rounding) % 2 == 1;\n    }\n\n    /**\n     * @dev Counts the number of leading zero bits in a uint256.\n     */\n    function clz(uint256 x) internal pure returns (uint256) {\n        return ternary(x == 0, 256, 255 - log2(x));\n    }\n}\n"},"@openzeppelin/contracts/interfaces/IERC20.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.4.0) (interfaces/IERC20.sol)\n\npragma solidity >=0.4.16;\n\nimport {IERC20} from \"../token/ERC20/IERC20.sol\";\n"},"@openzeppelin/contracts/utils/StorageSlot.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.1.0) (utils/StorageSlot.sol)\n// This file was procedurally generated from scripts/generate/templates/StorageSlot.js.\n\npragma solidity ^0.8.20;\n\n/**\n * @dev Library for reading and writing primitive types to specific storage slots.\n *\n * Storage slots are often used to avoid storage conflict when dealing with upgradeable contracts.\n * This library helps with reading and writing to such slots without the need for inline assembly.\n *\n * The functions in this library return Slot structs that contain a `value` member that can be used to read or write.\n *\n * Example usage to set ERC-1967 implementation slot:\n * ```solidity\n * contract ERC1967 {\n *     // Define the slot. Alternatively, use the SlotDerivation library to derive the slot.\n *     bytes32 internal constant _IMPLEMENTATION_SLOT = 0x360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc;\n *\n *     function _getImplementation() internal view returns (address) {\n *         return StorageSlot.getAddressSlot(_IMPLEMENTATION_SLOT).value;\n *     }\n *\n *     function _setImplementation(address newImplementation) internal {\n *         require(newImplementation.code.length > 0);\n *         StorageSlot.getAddressSlot(_IMPLEMENTATION_SLOT).value = newImplementation;\n *     }\n * }\n * ```\n *\n * TIP: Consider using this library along with {SlotDerivation}.\n */\nlibrary StorageSlot {\n    struct AddressSlot {\n        address value;\n    }\n\n    struct BooleanSlot {\n        bool value;\n    }\n\n    struct Bytes32Slot {\n        bytes32 value;\n    }\n\n    struct Uint256Slot {\n        uint256 value;\n    }\n\n    struct Int256Slot {\n        int256 value;\n    }\n\n    struct StringSlot {\n        string value;\n    }\n\n    struct BytesSlot {\n        bytes value;\n    }\n\n    /**\n     * @dev Returns an `AddressSlot` with member `value` located at `slot`.\n     */\n    function getAddressSlot(bytes32 slot) internal pure returns (AddressSlot storage r) {\n        assembly (\"memory-safe\") {\n            r.slot := slot\n        }\n    }\n\n    /**\n     * @dev Returns a `BooleanSlot` with member `value` located at `slot`.\n     */\n    function getBooleanSlot(bytes32 slot) internal pure returns (BooleanSlot storage r) {\n        assembly (\"memory-safe\") {\n            r.slot := slot\n        }\n    }\n\n    /**\n     * @dev Returns a `Bytes32Slot` with member `value` located at `slot`.\n     */\n    function getBytes32Slot(bytes32 slot) internal pure returns (Bytes32Slot storage r) {\n        assembly (\"memory-safe\") {\n            r.slot := slot\n        }\n    }\n\n    /**\n     * @dev Returns a `Uint256Slot` with member `value` located at `slot`.\n     */\n    function getUint256Slot(bytes32 slot) internal pure returns (Uint256Slot storage r) {\n        assembly (\"memory-safe\") {\n            r.slot := slot\n        }\n    }\n\n    /**\n     * @dev Returns a `Int256Slot` with member `value` located at `slot`.\n     */\n    function getInt256Slot(bytes32 slot) internal pure returns (Int256Slot storage r) {\n        assembly (\"memory-safe\") {\n            r.slot := slot\n        }\n    }\n\n    /**\n     * @dev Returns a `StringSlot` with member `value` located at `slot`.\n     */\n    function getStringSlot(bytes32 slot) internal pure returns (StringSlot storage r) {\n        assembly (\"memory-safe\") {\n            r.slot := slot\n        }\n    }\n\n    /**\n     * @dev Returns an `StringSlot` representation of the string storage pointer `store`.\n     */\n    function getStringSlot(string storage store) internal pure returns (StringSlot storage r) {\n        assembly (\"memory-safe\") {\n            r.slot := store.slot\n        }\n    }\n\n    /**\n     * @dev Returns a `BytesSlot` with member `value` located at `slot`.\n     */\n    function getBytesSlot(bytes32 slot) internal pure returns (BytesSlot storage r) {\n        assembly (\"memory-safe\") {\n            r.slot := slot\n        }\n    }\n\n    /**\n     * @dev Returns an `BytesSlot` representation of the bytes storage pointer `store`.\n     */\n    function getBytesSlot(bytes storage store) internal pure returns (BytesSlot storage r) {\n        assembly (\"memory-safe\") {\n            r.slot := store.slot\n        }\n    }\n}\n"},"lib/bytes/LibPrefixLengthEncodedByteArray.sol":{"content":"// SPDX-License-Identifier: BUSL-1.1\npragma solidity ^0.8.26;\n\n/**\n * @title Propellerheads PrefixLengthEncoded Byte Array Library\n * @author PropellerHeads Developers\n * @dev Provide a gas efficient encoding for bytes array.\n *\n * Array of bytes are encoded as a single bytes like this :\n *       16 bits      ??bits       16bits        ??bits ...\n *   [length(elem1)]  [elem1]  [length(elem2)]  [elem2] ...\n *\n * This is much more efficient and compact than default solidity encoding.\n */\nlibrary LibPrefixLengthEncodedByteArray {\n    /**\n     * @dev Pop the first element of an array and returns it with the remaining data.\n     */\n    function next(\n        bytes calldata encoded\n    ) internal pure returns (bytes calldata elem, bytes calldata res) {\n        assembly {\n            switch iszero(encoded.length)\n            case 1 {\n                elem.offset := 0\n                elem.length := 0\n                res.offset := 0\n                res.length := 0\n            }\n            default {\n                let l := shr(240, calldataload(encoded.offset))\n                elem.offset := add(encoded.offset, 2)\n                elem.length := l\n                res.offset := add(elem.offset, l)\n                res.length := sub(sub(encoded.length, l), 2)\n            }\n        }\n    }\n\n    /**\n     * @dev Gets the size of the encoded array.\n     */\n    function size(bytes calldata encoded) internal pure returns (uint256 s) {\n        assembly {\n            let offset := encoded.offset\n            let end := add(encoded.offset, encoded.length)\n            for {\n\n            } lt(offset, end) {\n\n            } {\n                offset := add(offset, add(shr(240, calldataload(offset)), 2))\n                s := add(s, 1)\n            }\n        }\n    }\n\n    /**\n     * @dev Cast an encoded array into a Solidity array.\n     */\n    function toArray(\n        bytes calldata encoded\n    ) internal pure returns (bytes[] memory arr) {\n        bytes calldata elem;\n        uint256 idx = 0;\n        arr = new bytes[](LibPrefixLengthEncodedByteArray.size(encoded));\n        while (encoded.length > 0) {\n            (elem, encoded) = LibPrefixLengthEncodedByteArray.next(encoded);\n            arr[idx] = elem;\n            idx++;\n        }\n    }\n}\n"},"@openzeppelin/contracts/interfaces/IERC165.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.4.0) (interfaces/IERC165.sol)\n\npragma solidity >=0.4.16;\n\nimport {IERC165} from \"../utils/introspection/IERC165.sol\";\n"},"@openzeppelin/contracts/token/ERC20/IERC20.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.4.0) (token/ERC20/IERC20.sol)\n\npragma solidity >=0.4.16;\n\n/**\n * @dev Interface of the ERC-20 standard as defined in the ERC.\n */\ninterface IERC20 {\n    /**\n     * @dev Emitted when `value` tokens are moved from one account (`from`) to\n     * another (`to`).\n     *\n     * Note that `value` may be zero.\n     */\n    event Transfer(address indexed from, address indexed to, uint256 value);\n\n    /**\n     * @dev Emitted when the allowance of a `spender` for an `owner` is set by\n     * a call to {approve}. `value` is the new allowance.\n     */\n    event Approval(address indexed owner, address indexed spender, uint256 value);\n\n    /**\n     * @dev Returns the value of tokens in existence.\n     */\n    function totalSupply() external view returns (uint256);\n\n    /**\n     * @dev Returns the value of tokens owned by `account`.\n     */\n    function balanceOf(address account) external view returns (uint256);\n\n    /**\n     * @dev Moves a `value` amount of tokens from the caller's account to `to`.\n     *\n     * Returns a boolean value indicating whether the operation succeeded.\n     *\n     * Emits a {Transfer} event.\n     */\n    function transfer(address to, uint256 value) external returns (bool);\n\n    /**\n     * @dev Returns the remaining number of tokens that `spender` will be\n     * allowed to spend on behalf of `owner` through {transferFrom}. This is\n     * zero by default.\n     *\n     * This value changes when {approve} or {transferFrom} are called.\n     */\n    function allowance(address owner, address spender) external view returns (uint256);\n\n    /**\n     * @dev Sets a `value` amount of tokens as the allowance of `spender` over the\n     * caller's tokens.\n     *\n     * Returns a boolean value indicating whether the operation succeeded.\n     *\n     * IMPORTANT: Beware that changing an allowance with this method brings the risk\n     * that someone may use both the old and the new allowance by unfortunate\n     * transaction ordering. One possible solution to mitigate this race\n     * condition is to first reduce the spender's allowance to 0 and set the\n     * desired value afterwards:\n     * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729\n     *\n     * Emits an {Approval} event.\n     */\n    function approve(address spender, uint256 value) external returns (bool);\n\n    /**\n     * @dev Moves a `value` amount of tokens from `from` to `to` using the\n     * allowance mechanism. `value` is then deducted from the caller's\n     * allowance.\n     *\n     * Returns a boolean value indicating whether the operation succeeded.\n     *\n     * Emits a {Transfer} event.\n     */\n    function transferFrom(address from, address to, uint256 value) external returns (bool);\n}\n"},"@openzeppelin/contracts/utils/LowLevelCall.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.5.0) (utils/LowLevelCall.sol)\n\npragma solidity ^0.8.20;\n\n/**\n * @dev Library of low level call functions that implement different calling strategies to deal with the return data.\n *\n * WARNING: Using this library requires an advanced understanding of Solidity and how the EVM works. It is recommended\n * to use the {Address} library instead.\n */\nlibrary LowLevelCall {\n    /// @dev Performs a Solidity function call using a low level `call` and ignoring the return data.\n    function callNoReturn(address target, bytes memory data) internal returns (bool success) {\n        return callNoReturn(target, 0, data);\n    }\n\n    /// @dev Same as {callNoReturn-address-bytes}, but allows specifying the value to be sent in the call.\n    function callNoReturn(address target, uint256 value, bytes memory data) internal returns (bool success) {\n        assembly (\"memory-safe\") {\n            success := call(gas(), target, value, add(data, 0x20), mload(data), 0x00, 0x00)\n        }\n    }\n\n    /// @dev Performs a Solidity function call using a low level `call` and returns the first 64 bytes of the result\n    /// in the scratch space of memory. Useful for functions that return a tuple of single-word values.\n    ///\n    /// WARNING: Do not assume that the results are zero if `success` is false. Memory can be already allocated\n    /// and this function doesn't zero it out.\n    function callReturn64Bytes(\n        address target,\n        bytes memory data\n    ) internal returns (bool success, bytes32 result1, bytes32 result2) {\n        return callReturn64Bytes(target, 0, data);\n    }\n\n    /// @dev Same as {callReturn64Bytes-address-bytes}, but allows specifying the value to be sent in the call.\n    function callReturn64Bytes(\n        address target,\n        uint256 value,\n        bytes memory data\n    ) internal returns (bool success, bytes32 result1, bytes32 result2) {\n        assembly (\"memory-safe\") {\n            success := call(gas(), target, value, add(data, 0x20), mload(data), 0x00, 0x40)\n            result1 := mload(0x00)\n            result2 := mload(0x20)\n        }\n    }\n\n    /// @dev Performs a Solidity function call using a low level `staticcall` and ignoring the return data.\n    function staticcallNoReturn(address target, bytes memory data) internal view returns (bool success) {\n        assembly (\"memory-safe\") {\n            success := staticcall(gas(), target, add(data, 0x20), mload(data), 0x00, 0x00)\n        }\n    }\n\n    /// @dev Performs a Solidity function call using a low level `staticcall` and returns the first 64 bytes of the result\n    /// in the scratch space of memory. Useful for functions that return a tuple of single-word values.\n    ///\n    /// WARNING: Do not assume that the results are zero if `success` is false. Memory can be already allocated\n    /// and this function doesn't zero it out.\n    function staticcallReturn64Bytes(\n        address target,\n        bytes memory data\n    ) internal view returns (bool success, bytes32 result1, bytes32 result2) {\n        assembly (\"memory-safe\") {\n            success := staticcall(gas(), target, add(data, 0x20), mload(data), 0x00, 0x40)\n            result1 := mload(0x00)\n            result2 := mload(0x20)\n        }\n    }\n\n    /// @dev Performs a Solidity function call using a low level `delegatecall` and ignoring the return data.\n    function delegatecallNoReturn(address target, bytes memory data) internal returns (bool success) {\n        assembly (\"memory-safe\") {\n            success := delegatecall(gas(), target, add(data, 0x20), mload(data), 0x00, 0x00)\n        }\n    }\n\n    /// @dev Performs a Solidity function call using a low level `delegatecall` and returns the first 64 bytes of the result\n    /// in the scratch space of memory. Useful for functions that return a tuple of single-word values.\n    ///\n    /// WARNING: Do not assume that the results are zero if `success` is false. Memory can be already allocated\n    /// and this function doesn't zero it out.\n    function delegatecallReturn64Bytes(\n        address target,\n        bytes memory data\n    ) internal returns (bool success, bytes32 result1, bytes32 result2) {\n        assembly (\"memory-safe\") {\n            success := delegatecall(gas(), target, add(data, 0x20), mload(data), 0x00, 0x40)\n            result1 := mload(0x00)\n            result2 := mload(0x20)\n        }\n    }\n\n    /// @dev Returns the size of the return data buffer.\n    function returnDataSize() internal pure returns (uint256 size) {\n        assembly (\"memory-safe\") {\n            size := returndatasize()\n        }\n    }\n\n    /// @dev Returns a buffer containing the return data from the last call.\n    function returnData() internal pure returns (bytes memory result) {\n        assembly (\"memory-safe\") {\n            result := mload(0x40)\n            mstore(result, returndatasize())\n            returndatacopy(add(result, 0x20), 0x00, returndatasize())\n            mstore(0x40, add(result, add(0x20, returndatasize())))\n        }\n    }\n\n    /// @dev Revert with the return data from the last call.\n    function bubbleRevert() internal pure {\n        assembly (\"memory-safe\") {\n            let fmp := mload(0x40)\n            returndatacopy(fmp, 0x00, returndatasize())\n            revert(fmp, returndatasize())\n        }\n    }\n\n    function bubbleRevert(bytes memory returndata) internal pure {\n        assembly (\"memory-safe\") {\n            revert(add(returndata, 0x20), mload(returndata))\n        }\n    }\n}\n"},"@openzeppelin/contracts/utils/ShortStrings.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.5.0) (utils/ShortStrings.sol)\n\npragma solidity ^0.8.20;\n\nimport {StorageSlot} from \"./StorageSlot.sol\";\n\n// | string  | 0xAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA   |\n// | length  | 0x                                                              BB |\ntype ShortString is bytes32;\n\n/**\n * @dev This library provides functions to convert short memory strings\n * into a `ShortString` type that can be used as an immutable variable.\n *\n * Strings of arbitrary length can be optimized using this library if\n * they are short enough (up to 31 bytes) by packing them with their\n * length (1 byte) in a single EVM word (32 bytes). Additionally, a\n * fallback mechanism can be used for every other case.\n *\n * Usage example:\n *\n * ```solidity\n * contract Named {\n *     using ShortStrings for *;\n *\n *     ShortString private immutable _name;\n *     string private _nameFallback;\n *\n *     constructor(string memory contractName) {\n *         _name = contractName.toShortStringWithFallback(_nameFallback);\n *     }\n *\n *     function name() external view returns (string memory) {\n *         return _name.toStringWithFallback(_nameFallback);\n *     }\n * }\n * ```\n */\nlibrary ShortStrings {\n    // Used as an identifier for strings longer than 31 bytes.\n    bytes32 private constant FALLBACK_SENTINEL = 0x00000000000000000000000000000000000000000000000000000000000000FF;\n\n    error StringTooLong(string str);\n    error InvalidShortString();\n\n    /**\n     * @dev Encode a string of at most 31 chars into a `ShortString`.\n     *\n     * This will trigger a `StringTooLong` error is the input string is too long.\n     */\n    function toShortString(string memory str) internal pure returns (ShortString) {\n        bytes memory bstr = bytes(str);\n        if (bstr.length > 0x1f) {\n            revert StringTooLong(str);\n        }\n        return ShortString.wrap(bytes32(uint256(bytes32(bstr)) | bstr.length));\n    }\n\n    /**\n     * @dev Decode a `ShortString` back to a \"normal\" string.\n     */\n    function toString(ShortString sstr) internal pure returns (string memory) {\n        uint256 len = byteLength(sstr);\n        // using `new string(len)` would work locally but is not memory safe.\n        string memory str = new string(0x20);\n        assembly (\"memory-safe\") {\n            mstore(str, len)\n            mstore(add(str, 0x20), sstr)\n        }\n        return str;\n    }\n\n    /**\n     * @dev Return the length of a `ShortString`.\n     */\n    function byteLength(ShortString sstr) internal pure returns (uint256) {\n        uint256 result = uint256(ShortString.unwrap(sstr)) & 0xFF;\n        if (result > 0x1f) {\n            revert InvalidShortString();\n        }\n        return result;\n    }\n\n    /**\n     * @dev Encode a string into a `ShortString`, or write it to storage if it is too long.\n     */\n    function toShortStringWithFallback(string memory value, string storage store) internal returns (ShortString) {\n        if (bytes(value).length < 0x20) {\n            return toShortString(value);\n        } else {\n            StorageSlot.getStringSlot(store).value = value;\n            return ShortString.wrap(FALLBACK_SENTINEL);\n        }\n    }\n\n    /**\n     * @dev Decode a string that was encoded to `ShortString` or written to storage using {toShortStringWithFallback}.\n     */\n    function toStringWithFallback(ShortString value, string storage store) internal pure returns (string memory) {\n        if (ShortString.unwrap(value) != FALLBACK_SENTINEL) {\n            return toString(value);\n        } else {\n            return store;\n        }\n    }\n\n    /**\n     * @dev Return the length of a string that was encoded to `ShortString` or written to storage using\n     * {toShortStringWithFallback}.\n     *\n     * WARNING: This will return the \"byte length\" of the string. This may not reflect the actual length in terms of\n     * actual characters as the UTF-8 encoding of a single character can span over multiple bytes.\n     */\n    function byteLengthWithFallback(ShortString value, string storage store) internal view returns (uint256) {\n        if (ShortString.unwrap(value) != FALLBACK_SENTINEL) {\n            return byteLength(value);\n        } else {\n            return bytes(store).length;\n        }\n    }\n}\n"},"@permit2/src/interfaces/IAllowanceTransfer.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity ^0.8.0;\n\nimport {IEIP712} from \"./IEIP712.sol\";\n\n/// @title AllowanceTransfer\n/// @notice Handles ERC20 token permissions through signature based allowance setting and ERC20 token transfers by checking allowed amounts\n/// @dev Requires user's token approval on the Permit2 contract\ninterface IAllowanceTransfer is IEIP712 {\n    /// @notice Thrown when an allowance on a token has expired.\n    /// @param deadline The timestamp at which the allowed amount is no longer valid\n    error AllowanceExpired(uint256 deadline);\n\n    /// @notice Thrown when an allowance on a token has been depleted.\n    /// @param amount The maximum amount allowed\n    error InsufficientAllowance(uint256 amount);\n\n    /// @notice Thrown when too many nonces are invalidated.\n    error ExcessiveInvalidation();\n\n    /// @notice Emits an event when the owner successfully invalidates an ordered nonce.\n    event NonceInvalidation(\n        address indexed owner, address indexed token, address indexed spender, uint48 newNonce, uint48 oldNonce\n    );\n\n    /// @notice Emits an event when the owner successfully sets permissions on a token for the spender.\n    event Approval(\n        address indexed owner, address indexed token, address indexed spender, uint160 amount, uint48 expiration\n    );\n\n    /// @notice Emits an event when the owner successfully sets permissions using a permit signature on a token for the spender.\n    event Permit(\n        address indexed owner,\n        address indexed token,\n        address indexed spender,\n        uint160 amount,\n        uint48 expiration,\n        uint48 nonce\n    );\n\n    /// @notice Emits an event when the owner sets the allowance back to 0 with the lockdown function.\n    event Lockdown(address indexed owner, address token, address spender);\n\n    /// @notice The permit data for a token\n    struct PermitDetails {\n        // ERC20 token address\n        address token;\n        // the maximum amount allowed to spend\n        uint160 amount;\n        // timestamp at which a spender's token allowances become invalid\n        uint48 expiration;\n        // an incrementing value indexed per owner,token,and spender for each signature\n        uint48 nonce;\n    }\n\n    /// @notice The permit message signed for a single token allowance\n    struct PermitSingle {\n        // the permit data for a single token alownce\n        PermitDetails details;\n        // address permissioned on the allowed tokens\n        address spender;\n        // deadline on the permit signature\n        uint256 sigDeadline;\n    }\n\n    /// @notice The permit message signed for multiple token allowances\n    struct PermitBatch {\n        // the permit data for multiple token allowances\n        PermitDetails[] details;\n        // address permissioned on the allowed tokens\n        address spender;\n        // deadline on the permit signature\n        uint256 sigDeadline;\n    }\n\n    /// @notice The saved permissions\n    /// @dev This info is saved per owner, per token, per spender and all signed over in the permit message\n    /// @dev Setting amount to type(uint160).max sets an unlimited approval\n    struct PackedAllowance {\n        // amount allowed\n        uint160 amount;\n        // permission expiry\n        uint48 expiration;\n        // an incrementing value indexed per owner,token,and spender for each signature\n        uint48 nonce;\n    }\n\n    /// @notice A token spender pair.\n    struct TokenSpenderPair {\n        // the token the spender is approved\n        address token;\n        // the spender address\n        address spender;\n    }\n\n    /// @notice Details for a token transfer.\n    struct AllowanceTransferDetails {\n        // the owner of the token\n        address from;\n        // the recipient of the token\n        address to;\n        // the amount of the token\n        uint160 amount;\n        // the token to be transferred\n        address token;\n    }\n\n    /// @notice A mapping from owner address to token address to spender address to PackedAllowance struct, which contains details and conditions of the approval.\n    /// @notice The mapping is indexed in the above order see: allowance[ownerAddress][tokenAddress][spenderAddress]\n    /// @dev The packed slot holds the allowed amount, expiration at which the allowed amount is no longer valid, and current nonce thats updated on any signature based approvals.\n    function allowance(address user, address token, address spender)\n        external\n        view\n        returns (uint160 amount, uint48 expiration, uint48 nonce);\n\n    /// @notice Approves the spender to use up to amount of the specified token up until the expiration\n    /// @param token The token to approve\n    /// @param spender The spender address to approve\n    /// @param amount The approved amount of the token\n    /// @param expiration The timestamp at which the approval is no longer valid\n    /// @dev The packed allowance also holds a nonce, which will stay unchanged in approve\n    /// @dev Setting amount to type(uint160).max sets an unlimited approval\n    function approve(address token, address spender, uint160 amount, uint48 expiration) external;\n\n    /// @notice Permit a spender to a given amount of the owners token via the owner's EIP-712 signature\n    /// @dev May fail if the owner's nonce was invalidated in-flight by invalidateNonce\n    /// @param owner The owner of the tokens being approved\n    /// @param permitSingle Data signed over by the owner specifying the terms of approval\n    /// @param signature The owner's signature over the permit data\n    function permit(address owner, PermitSingle memory permitSingle, bytes calldata signature) external;\n\n    /// @notice Permit a spender to the signed amounts of the owners tokens via the owner's EIP-712 signature\n    /// @dev May fail if the owner's nonce was invalidated in-flight by invalidateNonce\n    /// @param owner The owner of the tokens being approved\n    /// @param permitBatch Data signed over by the owner specifying the terms of approval\n    /// @param signature The owner's signature over the permit data\n    function permit(address owner, PermitBatch memory permitBatch, bytes calldata signature) external;\n\n    /// @notice Transfer approved tokens from one address to another\n    /// @param from The address to transfer from\n    /// @param to The address of the recipient\n    /// @param amount The amount of the token to transfer\n    /// @param token The token address to transfer\n    /// @dev Requires the from address to have approved at least the desired amount\n    /// of tokens to msg.sender.\n    function transferFrom(address from, address to, uint160 amount, address token) external;\n\n    /// @notice Transfer approved tokens in a batch\n    /// @param transferDetails Array of owners, recipients, amounts, and tokens for the transfers\n    /// @dev Requires the from addresses to have approved at least the desired amount\n    /// of tokens to msg.sender.\n    function transferFrom(AllowanceTransferDetails[] calldata transferDetails) external;\n\n    /// @notice Enables performing a \"lockdown\" of the sender's Permit2 identity\n    /// by batch revoking approvals\n    /// @param approvals Array of approvals to revoke.\n    function lockdown(TokenSpenderPair[] calldata approvals) external;\n\n    /// @notice Invalidate nonces for a given (token, spender) pair\n    /// @param token The token to invalidate nonces for\n    /// @param spender The spender to invalidate nonces for\n    /// @param newNonce The new nonce to set. Invalidates all nonces less than it.\n    /// @dev Can't invalidate more than 2**16 nonces per transaction.\n    function invalidateNonces(address token, address spender, uint48 newNonce) external;\n}\n"},"@openzeppelin/contracts/interfaces/IERC1271.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.4.0) (interfaces/IERC1271.sol)\n\npragma solidity >=0.5.0;\n\n/**\n * @dev Interface of the ERC-1271 standard signature validation method for\n * contracts as defined in https://eips.ethereum.org/EIPS/eip-1271[ERC-1271].\n */\ninterface IERC1271 {\n    /**\n     * @dev Should return whether the signature provided is valid for the provided data\n     * @param hash      Hash of the data to be signed\n     * @param signature Signature byte array associated with `hash`\n     */\n    function isValidSignature(bytes32 hash, bytes calldata signature) external view returns (bytes4 magicValue);\n}\n"},"@openzeppelin/contracts/interfaces/IERC1363.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.4.0) (interfaces/IERC1363.sol)\n\npragma solidity >=0.6.2;\n\nimport {IERC20} from \"./IERC20.sol\";\nimport {IERC165} from \"./IERC165.sol\";\n\n/**\n * @title IERC1363\n * @dev Interface of the ERC-1363 standard as defined in the https://eips.ethereum.org/EIPS/eip-1363[ERC-1363].\n *\n * Defines an extension interface for ERC-20 tokens that supports executing code on a recipient contract\n * after `transfer` or `transferFrom`, or code on a spender contract after `approve`, in a single transaction.\n */\ninterface IERC1363 is IERC20, IERC165 {\n    /*\n     * Note: the ERC-165 identifier for this interface is 0xb0202a11.\n     * 0xb0202a11 ===\n     *   bytes4(keccak256('transferAndCall(address,uint256)')) ^\n     *   bytes4(keccak256('transferAndCall(address,uint256,bytes)')) ^\n     *   bytes4(keccak256('transferFromAndCall(address,address,uint256)')) ^\n     *   bytes4(keccak256('transferFromAndCall(address,address,uint256,bytes)')) ^\n     *   bytes4(keccak256('approveAndCall(address,uint256)')) ^\n     *   bytes4(keccak256('approveAndCall(address,uint256,bytes)'))\n     */\n\n    /**\n     * @dev Moves a `value` amount of tokens from the caller's account to `to`\n     * and then calls {IERC1363Receiver-onTransferReceived} on `to`.\n     * @param to The address which you want to transfer to.\n     * @param value The amount of tokens to be transferred.\n     * @return A boolean value indicating whether the operation succeeded unless throwing.\n     */\n    function transferAndCall(address to, uint256 value) external returns (bool);\n\n    /**\n     * @dev Moves a `value` amount of tokens from the caller's account to `to`\n     * and then calls {IERC1363Receiver-onTransferReceived} on `to`.\n     * @param to The address which you want to transfer to.\n     * @param value The amount of tokens to be transferred.\n     * @param data Additional data with no specified format, sent in call to `to`.\n     * @return A boolean value indicating whether the operation succeeded unless throwing.\n     */\n    function transferAndCall(address to, uint256 value, bytes calldata data) external returns (bool);\n\n    /**\n     * @dev Moves a `value` amount of tokens from `from` to `to` using the allowance mechanism\n     * and then calls {IERC1363Receiver-onTransferReceived} on `to`.\n     * @param from The address which you want to send tokens from.\n     * @param to The address which you want to transfer to.\n     * @param value The amount of tokens to be transferred.\n     * @return A boolean value indicating whether the operation succeeded unless throwing.\n     */\n    function transferFromAndCall(address from, address to, uint256 value) external returns (bool);\n\n    /**\n     * @dev Moves a `value` amount of tokens from `from` to `to` using the allowance mechanism\n     * and then calls {IERC1363Receiver-onTransferReceived} on `to`.\n     * @param from The address which you want to send tokens from.\n     * @param to The address which you want to transfer to.\n     * @param value The amount of tokens to be transferred.\n     * @param data Additional data with no specified format, sent in call to `to`.\n     * @return A boolean value indicating whether the operation succeeded unless throwing.\n     */\n    function transferFromAndCall(address from, address to, uint256 value, bytes calldata data) external returns (bool);\n\n    /**\n     * @dev Sets a `value` amount of tokens as the allowance of `spender` over the\n     * caller's tokens and then calls {IERC1363Spender-onApprovalReceived} on `spender`.\n     * @param spender The address which will spend the funds.\n     * @param value The amount of tokens to be spent.\n     * @return A boolean value indicating whether the operation succeeded unless throwing.\n     */\n    function approveAndCall(address spender, uint256 value) external returns (bool);\n\n    /**\n     * @dev Sets a `value` amount of tokens as the allowance of `spender` over the\n     * caller's tokens and then calls {IERC1363Spender-onApprovalReceived} on `spender`.\n     * @param spender The address which will spend the funds.\n     * @param value The amount of tokens to be spent.\n     * @param data Additional data with no specified format, sent in call to `spender`.\n     * @return A boolean value indicating whether the operation succeeded unless throwing.\n     */\n    function approveAndCall(address spender, uint256 value, bytes calldata data) external returns (bool);\n}\n"},"@openzeppelin/contracts/interfaces/IERC5267.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.4.0) (interfaces/IERC5267.sol)\n\npragma solidity >=0.4.16;\n\ninterface IERC5267 {\n    /**\n     * @dev MAY be emitted to signal that the domain could have changed.\n     */\n    event EIP712DomainChanged();\n\n    /**\n     * @dev returns the fields and values that describe the domain separator used by this contract for EIP-712\n     * signature.\n     */\n    function eip712Domain()\n        external\n        view\n        returns (\n            bytes1 fields,\n            string memory name,\n            string memory version,\n            uint256 chainId,\n            address verifyingContract,\n            bytes32 salt,\n            uint256[] memory extensions\n        );\n}\n"},"@openzeppelin/contracts/interfaces/IERC6909.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.5.0) (interfaces/IERC6909.sol)\n\npragma solidity >=0.6.2;\n\nimport {IERC165} from \"../utils/introspection/IERC165.sol\";\n\n/**\n * @dev Required interface of an ERC-6909 compliant contract, as defined in the\n * https://eips.ethereum.org/EIPS/eip-6909[ERC].\n */\ninterface IERC6909 is IERC165 {\n    /**\n     * @dev Emitted when the allowance of a `spender` for an `owner` is set for a token of type `id`.\n     * The new allowance is `amount`.\n     */\n    event Approval(address indexed owner, address indexed spender, uint256 indexed id, uint256 amount);\n\n    /**\n     * @dev Emitted when `owner` grants or revokes operator status for a `spender`.\n     */\n    event OperatorSet(address indexed owner, address indexed spender, bool approved);\n\n    /**\n     * @dev Emitted when `amount` tokens of type `id` are moved from `sender` to `receiver` initiated by `caller`.\n     */\n    event Transfer(\n        address caller,\n        address indexed sender,\n        address indexed receiver,\n        uint256 indexed id,\n        uint256 amount\n    );\n\n    /**\n     * @dev Returns the amount of tokens of type `id` owned by `owner`.\n     */\n    function balanceOf(address owner, uint256 id) external view returns (uint256);\n\n    /**\n     * @dev Returns the amount of tokens of type `id` that `spender` is allowed to spend on behalf of `owner`.\n     *\n     * NOTE: Does not include operator allowances.\n     */\n    function allowance(address owner, address spender, uint256 id) external view returns (uint256);\n\n    /**\n     * @dev Returns true if `spender` is set as an operator for `owner`.\n     */\n    function isOperator(address owner, address spender) external view returns (bool);\n\n    /**\n     * @dev Sets an approval to `spender` for `amount` of tokens of type `id` from the caller's tokens. An `amount` of\n     * `type(uint256).max` signifies an unlimited approval.\n     *\n     * Must return true.\n     */\n    function approve(address spender, uint256 id, uint256 amount) external returns (bool);\n\n    /**\n     * @dev Grants or revokes unlimited transfer permission of any token id to `spender` for the caller's tokens.\n     *\n     * Must return true.\n     */\n    function setOperator(address spender, bool approved) external returns (bool);\n\n    /**\n     * @dev Transfers `amount` of token type `id` from the caller's account to `receiver`.\n     *\n     * Must return true.\n     */\n    function transfer(address receiver, uint256 id, uint256 amount) external returns (bool);\n\n    /**\n     * @dev Transfers `amount` of token type `id` from `sender` to `receiver`.\n     *\n     * Must return true.\n     */\n    function transferFrom(address sender, address receiver, uint256 id, uint256 amount) external returns (bool);\n}\n\n/**\n * @dev Optional extension of {IERC6909} that adds metadata functions.\n */\ninterface IERC6909Metadata is IERC6909 {\n    /**\n     * @dev Returns the name of the token of type `id`.\n     */\n    function name(uint256 id) external view returns (string memory);\n\n    /**\n     * @dev Returns the ticker symbol of the token of type `id`.\n     */\n    function symbol(uint256 id) external view returns (string memory);\n\n    /**\n     * @dev Returns the number of decimals for the token of type `id`.\n     */\n    function decimals(uint256 id) external view returns (uint8);\n}\n\n/**\n * @dev Optional extension of {IERC6909} that adds content URI functions.\n */\ninterface IERC6909ContentURI is IERC6909 {\n    /**\n     * @dev Returns URI for the contract.\n     */\n    function contractURI() external view returns (string memory);\n\n    /**\n     * @dev Returns the URI for the token of type `id`.\n     */\n    function tokenURI(uint256 id) external view returns (string memory);\n}\n\n/**\n * @dev Optional extension of {IERC6909} that adds a token supply function.\n */\ninterface IERC6909TokenSupply is IERC6909 {\n    /**\n     * @dev Returns the total supply of the token of type `id`.\n     */\n    function totalSupply(uint256 id) external view returns (uint256);\n}\n"},"@openzeppelin/contracts/interfaces/IERC7913.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.4.0) (interfaces/IERC7913.sol)\n\npragma solidity >=0.5.0;\n\n/**\n * @dev Signature verifier interface.\n */\ninterface IERC7913SignatureVerifier {\n    /**\n     * @dev Verifies `signature` as a valid signature of `hash` by `key`.\n     *\n     * MUST return the bytes4 magic value IERC7913SignatureVerifier.verify.selector if the signature is valid.\n     * SHOULD return 0xffffffff or revert if the signature is not valid.\n     * SHOULD return 0xffffffff or revert if the key is empty\n     */\n    function verify(bytes calldata key, bytes32 hash, bytes calldata signature) external view returns (bytes4);\n}\n"},"@openzeppelin/contracts/utils/math/SafeCast.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.1.0) (utils/math/SafeCast.sol)\n// This file was procedurally generated from scripts/generate/templates/SafeCast.js.\n\npragma solidity ^0.8.20;\n\n/**\n * @dev Wrappers over Solidity's uintXX/intXX/bool casting operators with added overflow\n * checks.\n *\n * Downcasting from uint256/int256 in Solidity does not revert on overflow. This can\n * easily result in undesired exploitation or bugs, since developers usually\n * assume that overflows raise errors. `SafeCast` restores this intuition by\n * reverting the transaction when such an operation overflows.\n *\n * Using this library instead of the unchecked operations eliminates an entire\n * class of bugs, so it's recommended to use it always.\n */\nlibrary SafeCast {\n    /**\n     * @dev Value doesn't fit in a uint of `bits` size.\n     */\n    error SafeCastOverflowedUintDowncast(uint8 bits, uint256 value);\n\n    /**\n     * @dev An int value doesn't fit in a uint of `bits` size.\n     */\n    error SafeCastOverflowedIntToUint(int256 value);\n\n    /**\n     * @dev Value doesn't fit in an int of `bits` size.\n     */\n    error SafeCastOverflowedIntDowncast(uint8 bits, int256 value);\n\n    /**\n     * @dev A uint value doesn't fit in an int of `bits` size.\n     */\n    error SafeCastOverflowedUintToInt(uint256 value);\n\n    /**\n     * @dev Returns the downcasted uint248 from uint256, reverting on\n     * overflow (when the input is greater than largest uint248).\n     *\n     * Counterpart to Solidity's `uint248` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 248 bits\n     */\n    function toUint248(uint256 value) internal pure returns (uint248) {\n        if (value > type(uint248).max) {\n            revert SafeCastOverflowedUintDowncast(248, value);\n        }\n        return uint248(value);\n    }\n\n    /**\n     * @dev Returns the downcasted uint240 from uint256, reverting on\n     * overflow (when the input is greater than largest uint240).\n     *\n     * Counterpart to Solidity's `uint240` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 240 bits\n     */\n    function toUint240(uint256 value) internal pure returns (uint240) {\n        if (value > type(uint240).max) {\n            revert SafeCastOverflowedUintDowncast(240, value);\n        }\n        return uint240(value);\n    }\n\n    /**\n     * @dev Returns the downcasted uint232 from uint256, reverting on\n     * overflow (when the input is greater than largest uint232).\n     *\n     * Counterpart to Solidity's `uint232` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 232 bits\n     */\n    function toUint232(uint256 value) internal pure returns (uint232) {\n        if (value > type(uint232).max) {\n            revert SafeCastOverflowedUintDowncast(232, value);\n        }\n        return uint232(value);\n    }\n\n    /**\n     * @dev Returns the downcasted uint224 from uint256, reverting on\n     * overflow (when the input is greater than largest uint224).\n     *\n     * Counterpart to Solidity's `uint224` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 224 bits\n     */\n    function toUint224(uint256 value) internal pure returns (uint224) {\n        if (value > type(uint224).max) {\n            revert SafeCastOverflowedUintDowncast(224, value);\n        }\n        return uint224(value);\n    }\n\n    /**\n     * @dev Returns the downcasted uint216 from uint256, reverting on\n     * overflow (when the input is greater than largest uint216).\n     *\n     * Counterpart to Solidity's `uint216` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 216 bits\n     */\n    function toUint216(uint256 value) internal pure returns (uint216) {\n        if (value > type(uint216).max) {\n            revert SafeCastOverflowedUintDowncast(216, value);\n        }\n        return uint216(value);\n    }\n\n    /**\n     * @dev Returns the downcasted uint208 from uint256, reverting on\n     * overflow (when the input is greater than largest uint208).\n     *\n     * Counterpart to Solidity's `uint208` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 208 bits\n     */\n    function toUint208(uint256 value) internal pure returns (uint208) {\n        if (value > type(uint208).max) {\n            revert SafeCastOverflowedUintDowncast(208, value);\n        }\n        return uint208(value);\n    }\n\n    /**\n     * @dev Returns the downcasted uint200 from uint256, reverting on\n     * overflow (when the input is greater than largest uint200).\n     *\n     * Counterpart to Solidity's `uint200` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 200 bits\n     */\n    function toUint200(uint256 value) internal pure returns (uint200) {\n        if (value > type(uint200).max) {\n            revert SafeCastOverflowedUintDowncast(200, value);\n        }\n        return uint200(value);\n    }\n\n    /**\n     * @dev Returns the downcasted uint192 from uint256, reverting on\n     * overflow (when the input is greater than largest uint192).\n     *\n     * Counterpart to Solidity's `uint192` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 192 bits\n     */\n    function toUint192(uint256 value) internal pure returns (uint192) {\n        if (value > type(uint192).max) {\n            revert SafeCastOverflowedUintDowncast(192, value);\n        }\n        return uint192(value);\n    }\n\n    /**\n     * @dev Returns the downcasted uint184 from uint256, reverting on\n     * overflow (when the input is greater than largest uint184).\n     *\n     * Counterpart to Solidity's `uint184` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 184 bits\n     */\n    function toUint184(uint256 value) internal pure returns (uint184) {\n        if (value > type(uint184).max) {\n            revert SafeCastOverflowedUintDowncast(184, value);\n        }\n        return uint184(value);\n    }\n\n    /**\n     * @dev Returns the downcasted uint176 from uint256, reverting on\n     * overflow (when the input is greater than largest uint176).\n     *\n     * Counterpart to Solidity's `uint176` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 176 bits\n     */\n    function toUint176(uint256 value) internal pure returns (uint176) {\n        if (value > type(uint176).max) {\n            revert SafeCastOverflowedUintDowncast(176, value);\n        }\n        return uint176(value);\n    }\n\n    /**\n     * @dev Returns the downcasted uint168 from uint256, reverting on\n     * overflow (when the input is greater than largest uint168).\n     *\n     * Counterpart to Solidity's `uint168` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 168 bits\n     */\n    function toUint168(uint256 value) internal pure returns (uint168) {\n        if (value > type(uint168).max) {\n            revert SafeCastOverflowedUintDowncast(168, value);\n        }\n        return uint168(value);\n    }\n\n    /**\n     * @dev Returns the downcasted uint160 from uint256, reverting on\n     * overflow (when the input is greater than largest uint160).\n     *\n     * Counterpart to Solidity's `uint160` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 160 bits\n     */\n    function toUint160(uint256 value) internal pure returns (uint160) {\n        if (value > type(uint160).max) {\n            revert SafeCastOverflowedUintDowncast(160, value);\n        }\n        return uint160(value);\n    }\n\n    /**\n     * @dev Returns the downcasted uint152 from uint256, reverting on\n     * overflow (when the input is greater than largest uint152).\n     *\n     * Counterpart to Solidity's `uint152` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 152 bits\n     */\n    function toUint152(uint256 value) internal pure returns (uint152) {\n        if (value > type(uint152).max) {\n            revert SafeCastOverflowedUintDowncast(152, value);\n        }\n        return uint152(value);\n    }\n\n    /**\n     * @dev Returns the downcasted uint144 from uint256, reverting on\n     * overflow (when the input is greater than largest uint144).\n     *\n     * Counterpart to Solidity's `uint144` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 144 bits\n     */\n    function toUint144(uint256 value) internal pure returns (uint144) {\n        if (value > type(uint144).max) {\n            revert SafeCastOverflowedUintDowncast(144, value);\n        }\n        return uint144(value);\n    }\n\n    /**\n     * @dev Returns the downcasted uint136 from uint256, reverting on\n     * overflow (when the input is greater than largest uint136).\n     *\n     * Counterpart to Solidity's `uint136` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 136 bits\n     */\n    function toUint136(uint256 value) internal pure returns (uint136) {\n        if (value > type(uint136).max) {\n            revert SafeCastOverflowedUintDowncast(136, value);\n        }\n        return uint136(value);\n    }\n\n    /**\n     * @dev Returns the downcasted uint128 from uint256, reverting on\n     * overflow (when the input is greater than largest uint128).\n     *\n     * Counterpart to Solidity's `uint128` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 128 bits\n     */\n    function toUint128(uint256 value) internal pure returns (uint128) {\n        if (value > type(uint128).max) {\n            revert SafeCastOverflowedUintDowncast(128, value);\n        }\n        return uint128(value);\n    }\n\n    /**\n     * @dev Returns the downcasted uint120 from uint256, reverting on\n     * overflow (when the input is greater than largest uint120).\n     *\n     * Counterpart to Solidity's `uint120` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 120 bits\n     */\n    function toUint120(uint256 value) internal pure returns (uint120) {\n        if (value > type(uint120).max) {\n            revert SafeCastOverflowedUintDowncast(120, value);\n        }\n        return uint120(value);\n    }\n\n    /**\n     * @dev Returns the downcasted uint112 from uint256, reverting on\n     * overflow (when the input is greater than largest uint112).\n     *\n     * Counterpart to Solidity's `uint112` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 112 bits\n     */\n    function toUint112(uint256 value) internal pure returns (uint112) {\n        if (value > type(uint112).max) {\n            revert SafeCastOverflowedUintDowncast(112, value);\n        }\n        return uint112(value);\n    }\n\n    /**\n     * @dev Returns the downcasted uint104 from uint256, reverting on\n     * overflow (when the input is greater than largest uint104).\n     *\n     * Counterpart to Solidity's `uint104` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 104 bits\n     */\n    function toUint104(uint256 value) internal pure returns (uint104) {\n        if (value > type(uint104).max) {\n            revert SafeCastOverflowedUintDowncast(104, value);\n        }\n        return uint104(value);\n    }\n\n    /**\n     * @dev Returns the downcasted uint96 from uint256, reverting on\n     * overflow (when the input is greater than largest uint96).\n     *\n     * Counterpart to Solidity's `uint96` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 96 bits\n     */\n    function toUint96(uint256 value) internal pure returns (uint96) {\n        if (value > type(uint96).max) {\n            revert SafeCastOverflowedUintDowncast(96, value);\n        }\n        return uint96(value);\n    }\n\n    /**\n     * @dev Returns the downcasted uint88 from uint256, reverting on\n     * overflow (when the input is greater than largest uint88).\n     *\n     * Counterpart to Solidity's `uint88` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 88 bits\n     */\n    function toUint88(uint256 value) internal pure returns (uint88) {\n        if (value > type(uint88).max) {\n            revert SafeCastOverflowedUintDowncast(88, value);\n        }\n        return uint88(value);\n    }\n\n    /**\n     * @dev Returns the downcasted uint80 from uint256, reverting on\n     * overflow (when the input is greater than largest uint80).\n     *\n     * Counterpart to Solidity's `uint80` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 80 bits\n     */\n    function toUint80(uint256 value) internal pure returns (uint80) {\n        if (value > type(uint80).max) {\n            revert SafeCastOverflowedUintDowncast(80, value);\n        }\n        return uint80(value);\n    }\n\n    /**\n     * @dev Returns the downcasted uint72 from uint256, reverting on\n     * overflow (when the input is greater than largest uint72).\n     *\n     * Counterpart to Solidity's `uint72` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 72 bits\n     */\n    function toUint72(uint256 value) internal pure returns (uint72) {\n        if (value > type(uint72).max) {\n            revert SafeCastOverflowedUintDowncast(72, value);\n        }\n        return uint72(value);\n    }\n\n    /**\n     * @dev Returns the downcasted uint64 from uint256, reverting on\n     * overflow (when the input is greater than largest uint64).\n     *\n     * Counterpart to Solidity's `uint64` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 64 bits\n     */\n    function toUint64(uint256 value) internal pure returns (uint64) {\n        if (value > type(uint64).max) {\n            revert SafeCastOverflowedUintDowncast(64, value);\n        }\n        return uint64(value);\n    }\n\n    /**\n     * @dev Returns the downcasted uint56 from uint256, reverting on\n     * overflow (when the input is greater than largest uint56).\n     *\n     * Counterpart to Solidity's `uint56` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 56 bits\n     */\n    function toUint56(uint256 value) internal pure returns (uint56) {\n        if (value > type(uint56).max) {\n            revert SafeCastOverflowedUintDowncast(56, value);\n        }\n        return uint56(value);\n    }\n\n    /**\n     * @dev Returns the downcasted uint48 from uint256, reverting on\n     * overflow (when the input is greater than largest uint48).\n     *\n     * Counterpart to Solidity's `uint48` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 48 bits\n     */\n    function toUint48(uint256 value) internal pure returns (uint48) {\n        if (value > type(uint48).max) {\n            revert SafeCastOverflowedUintDowncast(48, value);\n        }\n        return uint48(value);\n    }\n\n    /**\n     * @dev Returns the downcasted uint40 from uint256, reverting on\n     * overflow (when the input is greater than largest uint40).\n     *\n     * Counterpart to Solidity's `uint40` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 40 bits\n     */\n    function toUint40(uint256 value) internal pure returns (uint40) {\n        if (value > type(uint40).max) {\n            revert SafeCastOverflowedUintDowncast(40, value);\n        }\n        return uint40(value);\n    }\n\n    /**\n     * @dev Returns the downcasted uint32 from uint256, reverting on\n     * overflow (when the input is greater than largest uint32).\n     *\n     * Counterpart to Solidity's `uint32` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 32 bits\n     */\n    function toUint32(uint256 value) internal pure returns (uint32) {\n        if (value > type(uint32).max) {\n            revert SafeCastOverflowedUintDowncast(32, value);\n        }\n        return uint32(value);\n    }\n\n    /**\n     * @dev Returns the downcasted uint24 from uint256, reverting on\n     * overflow (when the input is greater than largest uint24).\n     *\n     * Counterpart to Solidity's `uint24` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 24 bits\n     */\n    function toUint24(uint256 value) internal pure returns (uint24) {\n        if (value > type(uint24).max) {\n            revert SafeCastOverflowedUintDowncast(24, value);\n        }\n        return uint24(value);\n    }\n\n    /**\n     * @dev Returns the downcasted uint16 from uint256, reverting on\n     * overflow (when the input is greater than largest uint16).\n     *\n     * Counterpart to Solidity's `uint16` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 16 bits\n     */\n    function toUint16(uint256 value) internal pure returns (uint16) {\n        if (value > type(uint16).max) {\n            revert SafeCastOverflowedUintDowncast(16, value);\n        }\n        return uint16(value);\n    }\n\n    /**\n     * @dev Returns the downcasted uint8 from uint256, reverting on\n     * overflow (when the input is greater than largest uint8).\n     *\n     * Counterpart to Solidity's `uint8` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 8 bits\n     */\n    function toUint8(uint256 value) internal pure returns (uint8) {\n        if (value > type(uint8).max) {\n            revert SafeCastOverflowedUintDowncast(8, value);\n        }\n        return uint8(value);\n    }\n\n    /**\n     * @dev Converts a signed int256 into an unsigned uint256.\n     *\n     * Requirements:\n     *\n     * - input must be greater than or equal to 0.\n     */\n    function toUint256(int256 value) internal pure returns (uint256) {\n        if (value < 0) {\n            revert SafeCastOverflowedIntToUint(value);\n        }\n        return uint256(value);\n    }\n\n    /**\n     * @dev Returns the downcasted int248 from int256, reverting on\n     * overflow (when the input is less than smallest int248 or\n     * greater than largest int248).\n     *\n     * Counterpart to Solidity's `int248` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 248 bits\n     */\n    function toInt248(int256 value) internal pure returns (int248 downcasted) {\n        downcasted = int248(value);\n        if (downcasted != value) {\n            revert SafeCastOverflowedIntDowncast(248, value);\n        }\n    }\n\n    /**\n     * @dev Returns the downcasted int240 from int256, reverting on\n     * overflow (when the input is less than smallest int240 or\n     * greater than largest int240).\n     *\n     * Counterpart to Solidity's `int240` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 240 bits\n     */\n    function toInt240(int256 value) internal pure returns (int240 downcasted) {\n        downcasted = int240(value);\n        if (downcasted != value) {\n            revert SafeCastOverflowedIntDowncast(240, value);\n        }\n    }\n\n    /**\n     * @dev Returns the downcasted int232 from int256, reverting on\n     * overflow (when the input is less than smallest int232 or\n     * greater than largest int232).\n     *\n     * Counterpart to Solidity's `int232` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 232 bits\n     */\n    function toInt232(int256 value) internal pure returns (int232 downcasted) {\n        downcasted = int232(value);\n        if (downcasted != value) {\n            revert SafeCastOverflowedIntDowncast(232, value);\n        }\n    }\n\n    /**\n     * @dev Returns the downcasted int224 from int256, reverting on\n     * overflow (when the input is less than smallest int224 or\n     * greater than largest int224).\n     *\n     * Counterpart to Solidity's `int224` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 224 bits\n     */\n    function toInt224(int256 value) internal pure returns (int224 downcasted) {\n        downcasted = int224(value);\n        if (downcasted != value) {\n            revert SafeCastOverflowedIntDowncast(224, value);\n        }\n    }\n\n    /**\n     * @dev Returns the downcasted int216 from int256, reverting on\n     * overflow (when the input is less than smallest int216 or\n     * greater than largest int216).\n     *\n     * Counterpart to Solidity's `int216` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 216 bits\n     */\n    function toInt216(int256 value) internal pure returns (int216 downcasted) {\n        downcasted = int216(value);\n        if (downcasted != value) {\n            revert SafeCastOverflowedIntDowncast(216, value);\n        }\n    }\n\n    /**\n     * @dev Returns the downcasted int208 from int256, reverting on\n     * overflow (when the input is less than smallest int208 or\n     * greater than largest int208).\n     *\n     * Counterpart to Solidity's `int208` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 208 bits\n     */\n    function toInt208(int256 value) internal pure returns (int208 downcasted) {\n        downcasted = int208(value);\n        if (downcasted != value) {\n            revert SafeCastOverflowedIntDowncast(208, value);\n        }\n    }\n\n    /**\n     * @dev Returns the downcasted int200 from int256, reverting on\n     * overflow (when the input is less than smallest int200 or\n     * greater than largest int200).\n     *\n     * Counterpart to Solidity's `int200` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 200 bits\n     */\n    function toInt200(int256 value) internal pure returns (int200 downcasted) {\n        downcasted = int200(value);\n        if (downcasted != value) {\n            revert SafeCastOverflowedIntDowncast(200, value);\n        }\n    }\n\n    /**\n     * @dev Returns the downcasted int192 from int256, reverting on\n     * overflow (when the input is less than smallest int192 or\n     * greater than largest int192).\n     *\n     * Counterpart to Solidity's `int192` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 192 bits\n     */\n    function toInt192(int256 value) internal pure returns (int192 downcasted) {\n        downcasted = int192(value);\n        if (downcasted != value) {\n            revert SafeCastOverflowedIntDowncast(192, value);\n        }\n    }\n\n    /**\n     * @dev Returns the downcasted int184 from int256, reverting on\n     * overflow (when the input is less than smallest int184 or\n     * greater than largest int184).\n     *\n     * Counterpart to Solidity's `int184` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 184 bits\n     */\n    function toInt184(int256 value) internal pure returns (int184 downcasted) {\n        downcasted = int184(value);\n        if (downcasted != value) {\n            revert SafeCastOverflowedIntDowncast(184, value);\n        }\n    }\n\n    /**\n     * @dev Returns the downcasted int176 from int256, reverting on\n     * overflow (when the input is less than smallest int176 or\n     * greater than largest int176).\n     *\n     * Counterpart to Solidity's `int176` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 176 bits\n     */\n    function toInt176(int256 value) internal pure returns (int176 downcasted) {\n        downcasted = int176(value);\n        if (downcasted != value) {\n            revert SafeCastOverflowedIntDowncast(176, value);\n        }\n    }\n\n    /**\n     * @dev Returns the downcasted int168 from int256, reverting on\n     * overflow (when the input is less than smallest int168 or\n     * greater than largest int168).\n     *\n     * Counterpart to Solidity's `int168` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 168 bits\n     */\n    function toInt168(int256 value) internal pure returns (int168 downcasted) {\n        downcasted = int168(value);\n        if (downcasted != value) {\n            revert SafeCastOverflowedIntDowncast(168, value);\n        }\n    }\n\n    /**\n     * @dev Returns the downcasted int160 from int256, reverting on\n     * overflow (when the input is less than smallest int160 or\n     * greater than largest int160).\n     *\n     * Counterpart to Solidity's `int160` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 160 bits\n     */\n    function toInt160(int256 value) internal pure returns (int160 downcasted) {\n        downcasted = int160(value);\n        if (downcasted != value) {\n            revert SafeCastOverflowedIntDowncast(160, value);\n        }\n    }\n\n    /**\n     * @dev Returns the downcasted int152 from int256, reverting on\n     * overflow (when the input is less than smallest int152 or\n     * greater than largest int152).\n     *\n     * Counterpart to Solidity's `int152` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 152 bits\n     */\n    function toInt152(int256 value) internal pure returns (int152 downcasted) {\n        downcasted = int152(value);\n        if (downcasted != value) {\n            revert SafeCastOverflowedIntDowncast(152, value);\n        }\n    }\n\n    /**\n     * @dev Returns the downcasted int144 from int256, reverting on\n     * overflow (when the input is less than smallest int144 or\n     * greater than largest int144).\n     *\n     * Counterpart to Solidity's `int144` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 144 bits\n     */\n    function toInt144(int256 value) internal pure returns (int144 downcasted) {\n        downcasted = int144(value);\n        if (downcasted != value) {\n            revert SafeCastOverflowedIntDowncast(144, value);\n        }\n    }\n\n    /**\n     * @dev Returns the downcasted int136 from int256, reverting on\n     * overflow (when the input is less than smallest int136 or\n     * greater than largest int136).\n     *\n     * Counterpart to Solidity's `int136` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 136 bits\n     */\n    function toInt136(int256 value) internal pure returns (int136 downcasted) {\n        downcasted = int136(value);\n        if (downcasted != value) {\n            revert SafeCastOverflowedIntDowncast(136, value);\n        }\n    }\n\n    /**\n     * @dev Returns the downcasted int128 from int256, reverting on\n     * overflow (when the input is less than smallest int128 or\n     * greater than largest int128).\n     *\n     * Counterpart to Solidity's `int128` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 128 bits\n     */\n    function toInt128(int256 value) internal pure returns (int128 downcasted) {\n        downcasted = int128(value);\n        if (downcasted != value) {\n            revert SafeCastOverflowedIntDowncast(128, value);\n        }\n    }\n\n    /**\n     * @dev Returns the downcasted int120 from int256, reverting on\n     * overflow (when the input is less than smallest int120 or\n     * greater than largest int120).\n     *\n     * Counterpart to Solidity's `int120` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 120 bits\n     */\n    function toInt120(int256 value) internal pure returns (int120 downcasted) {\n        downcasted = int120(value);\n        if (downcasted != value) {\n            revert SafeCastOverflowedIntDowncast(120, value);\n        }\n    }\n\n    /**\n     * @dev Returns the downcasted int112 from int256, reverting on\n     * overflow (when the input is less than smallest int112 or\n     * greater than largest int112).\n     *\n     * Counterpart to Solidity's `int112` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 112 bits\n     */\n    function toInt112(int256 value) internal pure returns (int112 downcasted) {\n        downcasted = int112(value);\n        if (downcasted != value) {\n            revert SafeCastOverflowedIntDowncast(112, value);\n        }\n    }\n\n    /**\n     * @dev Returns the downcasted int104 from int256, reverting on\n     * overflow (when the input is less than smallest int104 or\n     * greater than largest int104).\n     *\n     * Counterpart to Solidity's `int104` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 104 bits\n     */\n    function toInt104(int256 value) internal pure returns (int104 downcasted) {\n        downcasted = int104(value);\n        if (downcasted != value) {\n            revert SafeCastOverflowedIntDowncast(104, value);\n        }\n    }\n\n    /**\n     * @dev Returns the downcasted int96 from int256, reverting on\n     * overflow (when the input is less than smallest int96 or\n     * greater than largest int96).\n     *\n     * Counterpart to Solidity's `int96` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 96 bits\n     */\n    function toInt96(int256 value) internal pure returns (int96 downcasted) {\n        downcasted = int96(value);\n        if (downcasted != value) {\n            revert SafeCastOverflowedIntDowncast(96, value);\n        }\n    }\n\n    /**\n     * @dev Returns the downcasted int88 from int256, reverting on\n     * overflow (when the input is less than smallest int88 or\n     * greater than largest int88).\n     *\n     * Counterpart to Solidity's `int88` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 88 bits\n     */\n    function toInt88(int256 value) internal pure returns (int88 downcasted) {\n        downcasted = int88(value);\n        if (downcasted != value) {\n            revert SafeCastOverflowedIntDowncast(88, value);\n        }\n    }\n\n    /**\n     * @dev Returns the downcasted int80 from int256, reverting on\n     * overflow (when the input is less than smallest int80 or\n     * greater than largest int80).\n     *\n     * Counterpart to Solidity's `int80` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 80 bits\n     */\n    function toInt80(int256 value) internal pure returns (int80 downcasted) {\n        downcasted = int80(value);\n        if (downcasted != value) {\n            revert SafeCastOverflowedIntDowncast(80, value);\n        }\n    }\n\n    /**\n     * @dev Returns the downcasted int72 from int256, reverting on\n     * overflow (when the input is less than smallest int72 or\n     * greater than largest int72).\n     *\n     * Counterpart to Solidity's `int72` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 72 bits\n     */\n    function toInt72(int256 value) internal pure returns (int72 downcasted) {\n        downcasted = int72(value);\n        if (downcasted != value) {\n            revert SafeCastOverflowedIntDowncast(72, value);\n        }\n    }\n\n    /**\n     * @dev Returns the downcasted int64 from int256, reverting on\n     * overflow (when the input is less than smallest int64 or\n     * greater than largest int64).\n     *\n     * Counterpart to Solidity's `int64` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 64 bits\n     */\n    function toInt64(int256 value) internal pure returns (int64 downcasted) {\n        downcasted = int64(value);\n        if (downcasted != value) {\n            revert SafeCastOverflowedIntDowncast(64, value);\n        }\n    }\n\n    /**\n     * @dev Returns the downcasted int56 from int256, reverting on\n     * overflow (when the input is less than smallest int56 or\n     * greater than largest int56).\n     *\n     * Counterpart to Solidity's `int56` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 56 bits\n     */\n    function toInt56(int256 value) internal pure returns (int56 downcasted) {\n        downcasted = int56(value);\n        if (downcasted != value) {\n            revert SafeCastOverflowedIntDowncast(56, value);\n        }\n    }\n\n    /**\n     * @dev Returns the downcasted int48 from int256, reverting on\n     * overflow (when the input is less than smallest int48 or\n     * greater than largest int48).\n     *\n     * Counterpart to Solidity's `int48` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 48 bits\n     */\n    function toInt48(int256 value) internal pure returns (int48 downcasted) {\n        downcasted = int48(value);\n        if (downcasted != value) {\n            revert SafeCastOverflowedIntDowncast(48, value);\n        }\n    }\n\n    /**\n     * @dev Returns the downcasted int40 from int256, reverting on\n     * overflow (when the input is less than smallest int40 or\n     * greater than largest int40).\n     *\n     * Counterpart to Solidity's `int40` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 40 bits\n     */\n    function toInt40(int256 value) internal pure returns (int40 downcasted) {\n        downcasted = int40(value);\n        if (downcasted != value) {\n            revert SafeCastOverflowedIntDowncast(40, value);\n        }\n    }\n\n    /**\n     * @dev Returns the downcasted int32 from int256, reverting on\n     * overflow (when the input is less than smallest int32 or\n     * greater than largest int32).\n     *\n     * Counterpart to Solidity's `int32` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 32 bits\n     */\n    function toInt32(int256 value) internal pure returns (int32 downcasted) {\n        downcasted = int32(value);\n        if (downcasted != value) {\n            revert SafeCastOverflowedIntDowncast(32, value);\n        }\n    }\n\n    /**\n     * @dev Returns the downcasted int24 from int256, reverting on\n     * overflow (when the input is less than smallest int24 or\n     * greater than largest int24).\n     *\n     * Counterpart to Solidity's `int24` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 24 bits\n     */\n    function toInt24(int256 value) internal pure returns (int24 downcasted) {\n        downcasted = int24(value);\n        if (downcasted != value) {\n            revert SafeCastOverflowedIntDowncast(24, value);\n        }\n    }\n\n    /**\n     * @dev Returns the downcasted int16 from int256, reverting on\n     * overflow (when the input is less than smallest int16 or\n     * greater than largest int16).\n     *\n     * Counterpart to Solidity's `int16` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 16 bits\n     */\n    function toInt16(int256 value) internal pure returns (int16 downcasted) {\n        downcasted = int16(value);\n        if (downcasted != value) {\n            revert SafeCastOverflowedIntDowncast(16, value);\n        }\n    }\n\n    /**\n     * @dev Returns the downcasted int8 from int256, reverting on\n     * overflow (when the input is less than smallest int8 or\n     * greater than largest int8).\n     *\n     * Counterpart to Solidity's `int8` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 8 bits\n     */\n    function toInt8(int256 value) internal pure returns (int8 downcasted) {\n        downcasted = int8(value);\n        if (downcasted != value) {\n            revert SafeCastOverflowedIntDowncast(8, value);\n        }\n    }\n\n    /**\n     * @dev Converts an unsigned uint256 into a signed int256.\n     *\n     * Requirements:\n     *\n     * - input must be less than or equal to maxInt256.\n     */\n    function toInt256(uint256 value) internal pure returns (int256) {\n        // Note: Unsafe cast below is okay because `type(int256).max` is guaranteed to be positive\n        if (value > uint256(type(int256).max)) {\n            revert SafeCastOverflowedUintToInt(value);\n        }\n        return int256(value);\n    }\n\n    /**\n     * @dev Cast a boolean (false or true) to a uint256 (0 or 1) with no jump.\n     */\n    function toUint(bool b) internal pure returns (uint256 u) {\n        assembly (\"memory-safe\") {\n            u := iszero(iszero(b))\n        }\n    }\n}\n"},"@openzeppelin/contracts/access/AccessControl.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.4.0) (access/AccessControl.sol)\n\npragma solidity ^0.8.20;\n\nimport {IAccessControl} from \"./IAccessControl.sol\";\nimport {Context} from \"../utils/Context.sol\";\nimport {ERC165} from \"../utils/introspection/ERC165.sol\";\n\n/**\n * @dev Contract module that allows children to implement role-based access\n * control mechanisms. This is a lightweight version that doesn't allow enumerating role\n * members except through off-chain means by accessing the contract event logs. Some\n * applications may benefit from on-chain enumerability, for those cases see\n * {AccessControlEnumerable}.\n *\n * Roles are referred to by their `bytes32` identifier. These should be exposed\n * in the external API and be unique. The best way to achieve this is by\n * using `public constant` hash digests:\n *\n * ```solidity\n * bytes32 public constant MY_ROLE = keccak256(\"MY_ROLE\");\n * ```\n *\n * Roles can be used to represent a set of permissions. To restrict access to a\n * function call, use {hasRole}:\n *\n * ```solidity\n * function foo() public {\n *     require(hasRole(MY_ROLE, msg.sender));\n *     ...\n * }\n * ```\n *\n * Roles can be granted and revoked dynamically via the {grantRole} and\n * {revokeRole} functions. Each role has an associated admin role, and only\n * accounts that have a role's admin role can call {grantRole} and {revokeRole}.\n *\n * By default, the admin role for all roles is `DEFAULT_ADMIN_ROLE`, which means\n * that only accounts with this role will be able to grant or revoke other\n * roles. More complex role relationships can be created by using\n * {_setRoleAdmin}.\n *\n * WARNING: The `DEFAULT_ADMIN_ROLE` is also its own admin: it has permission to\n * grant and revoke this role. Extra precautions should be taken to secure\n * accounts that have been granted it. We recommend using {AccessControlDefaultAdminRules}\n * to enforce additional security measures for this role.\n */\nabstract contract AccessControl is Context, IAccessControl, ERC165 {\n    struct RoleData {\n        mapping(address account => bool) hasRole;\n        bytes32 adminRole;\n    }\n\n    mapping(bytes32 role => RoleData) private _roles;\n\n    bytes32 public constant DEFAULT_ADMIN_ROLE = 0x00;\n\n    /**\n     * @dev Modifier that checks that an account has a specific role. Reverts\n     * with an {AccessControlUnauthorizedAccount} error including the required role.\n     */\n    modifier onlyRole(bytes32 role) {\n        _checkRole(role);\n        _;\n    }\n\n    /// @inheritdoc ERC165\n    function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {\n        return interfaceId == type(IAccessControl).interfaceId || super.supportsInterface(interfaceId);\n    }\n\n    /**\n     * @dev Returns `true` if `account` has been granted `role`.\n     */\n    function hasRole(bytes32 role, address account) public view virtual returns (bool) {\n        return _roles[role].hasRole[account];\n    }\n\n    /**\n     * @dev Reverts with an {AccessControlUnauthorizedAccount} error if `_msgSender()`\n     * is missing `role`. Overriding this function changes the behavior of the {onlyRole} modifier.\n     */\n    function _checkRole(bytes32 role) internal view virtual {\n        _checkRole(role, _msgSender());\n    }\n\n    /**\n     * @dev Reverts with an {AccessControlUnauthorizedAccount} error if `account`\n     * is missing `role`.\n     */\n    function _checkRole(bytes32 role, address account) internal view virtual {\n        if (!hasRole(role, account)) {\n            revert AccessControlUnauthorizedAccount(account, role);\n        }\n    }\n\n    /**\n     * @dev Returns the admin role that controls `role`. See {grantRole} and\n     * {revokeRole}.\n     *\n     * To change a role's admin, use {_setRoleAdmin}.\n     */\n    function getRoleAdmin(bytes32 role) public view virtual returns (bytes32) {\n        return _roles[role].adminRole;\n    }\n\n    /**\n     * @dev Grants `role` to `account`.\n     *\n     * If `account` had not been already granted `role`, emits a {RoleGranted}\n     * event.\n     *\n     * Requirements:\n     *\n     * - the caller must have ``role``'s admin role.\n     *\n     * May emit a {RoleGranted} event.\n     */\n    function grantRole(bytes32 role, address account) public virtual onlyRole(getRoleAdmin(role)) {\n        _grantRole(role, account);\n    }\n\n    /**\n     * @dev Revokes `role` from `account`.\n     *\n     * If `account` had been granted `role`, emits a {RoleRevoked} event.\n     *\n     * Requirements:\n     *\n     * - the caller must have ``role``'s admin role.\n     *\n     * May emit a {RoleRevoked} event.\n     */\n    function revokeRole(bytes32 role, address account) public virtual onlyRole(getRoleAdmin(role)) {\n        _revokeRole(role, account);\n    }\n\n    /**\n     * @dev Revokes `role` from the calling account.\n     *\n     * Roles are often managed via {grantRole} and {revokeRole}: this function's\n     * purpose is to provide a mechanism for accounts to lose their privileges\n     * if they are compromised (such as when a trusted device is misplaced).\n     *\n     * If the calling account had been revoked `role`, emits a {RoleRevoked}\n     * event.\n     *\n     * Requirements:\n     *\n     * - the caller must be `callerConfirmation`.\n     *\n     * May emit a {RoleRevoked} event.\n     */\n    function renounceRole(bytes32 role, address callerConfirmation) public virtual {\n        if (callerConfirmation != _msgSender()) {\n            revert AccessControlBadConfirmation();\n        }\n\n        _revokeRole(role, callerConfirmation);\n    }\n\n    /**\n     * @dev Sets `adminRole` as ``role``'s admin role.\n     *\n     * Emits a {RoleAdminChanged} event.\n     */\n    function _setRoleAdmin(bytes32 role, bytes32 adminRole) internal virtual {\n        bytes32 previousAdminRole = getRoleAdmin(role);\n        _roles[role].adminRole = adminRole;\n        emit RoleAdminChanged(role, previousAdminRole, adminRole);\n    }\n\n    /**\n     * @dev Attempts to grant `role` to `account` and returns a boolean indicating if `role` was granted.\n     *\n     * Internal function without access restriction.\n     *\n     * May emit a {RoleGranted} event.\n     */\n    function _grantRole(bytes32 role, address account) internal virtual returns (bool) {\n        if (!hasRole(role, account)) {\n            _roles[role].hasRole[account] = true;\n            emit RoleGranted(role, account, _msgSender());\n            return true;\n        } else {\n            return false;\n        }\n    }\n\n    /**\n     * @dev Attempts to revoke `role` from `account` and returns a boolean indicating if `role` was revoked.\n     *\n     * Internal function without access restriction.\n     *\n     * May emit a {RoleRevoked} event.\n     */\n    function _revokeRole(bytes32 role, address account) internal virtual returns (bool) {\n        if (hasRole(role, account)) {\n            _roles[role].hasRole[account] = false;\n            emit RoleRevoked(role, account, _msgSender());\n            return true;\n        } else {\n            return false;\n        }\n    }\n}\n"},"@openzeppelin/contracts/access/IAccessControl.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.4.0) (access/IAccessControl.sol)\n\npragma solidity >=0.8.4;\n\n/**\n * @dev External interface of AccessControl declared to support ERC-165 detection.\n */\ninterface IAccessControl {\n    /**\n     * @dev The `account` is missing a role.\n     */\n    error AccessControlUnauthorizedAccount(address account, bytes32 neededRole);\n\n    /**\n     * @dev The caller of a function is not the expected one.\n     *\n     * NOTE: Don't confuse with {AccessControlUnauthorizedAccount}.\n     */\n    error AccessControlBadConfirmation();\n\n    /**\n     * @dev Emitted when `newAdminRole` is set as ``role``'s admin role, replacing `previousAdminRole`\n     *\n     * `DEFAULT_ADMIN_ROLE` is the starting admin for all roles, despite\n     * {RoleAdminChanged} not being emitted to signal this.\n     */\n    event RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole);\n\n    /**\n     * @dev Emitted when `account` is granted `role`.\n     *\n     * `sender` is the account that originated the contract call. This account bears the admin role (for the granted role).\n     * Expected in cases where the role was granted using the internal {AccessControl-_grantRole}.\n     */\n    event RoleGranted(bytes32 indexed role, address indexed account, address indexed sender);\n\n    /**\n     * @dev Emitted when `account` is revoked `role`.\n     *\n     * `sender` is the account that originated the contract call:\n     *   - if using `revokeRole`, it is the admin role bearer\n     *   - if using `renounceRole`, it is the role bearer (i.e. `account`)\n     */\n    event RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender);\n\n    /**\n     * @dev Returns `true` if `account` has been granted `role`.\n     */\n    function hasRole(bytes32 role, address account) external view returns (bool);\n\n    /**\n     * @dev Returns the admin role that controls `role`. See {grantRole} and\n     * {revokeRole}.\n     *\n     * To change a role's admin, use {AccessControl-_setRoleAdmin}.\n     */\n    function getRoleAdmin(bytes32 role) external view returns (bytes32);\n\n    /**\n     * @dev Grants `role` to `account`.\n     *\n     * If `account` had not been already granted `role`, emits a {RoleGranted}\n     * event.\n     *\n     * Requirements:\n     *\n     * - the caller must have ``role``'s admin role.\n     */\n    function grantRole(bytes32 role, address account) external;\n\n    /**\n     * @dev Revokes `role` from `account`.\n     *\n     * If `account` had been granted `role`, emits a {RoleRevoked} event.\n     *\n     * Requirements:\n     *\n     * - the caller must have ``role``'s admin role.\n     */\n    function revokeRole(bytes32 role, address account) external;\n\n    /**\n     * @dev Revokes `role` from the calling account.\n     *\n     * Roles are often managed via {grantRole} and {revokeRole}: this function's\n     * purpose is to provide a mechanism for accounts to lose their privileges\n     * if they are compromised (such as when a trusted device is misplaced).\n     *\n     * If the calling account had been granted `role`, emits a {RoleRevoked}\n     * event.\n     *\n     * Requirements:\n     *\n     * - the caller must be `callerConfirmation`.\n     */\n    function renounceRole(bytes32 role, address callerConfirmation) external;\n}\n"},"@openzeppelin/contracts/token/ERC6909/ERC6909.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.5.0) (token/ERC6909/ERC6909.sol)\n\npragma solidity ^0.8.20;\n\nimport {IERC6909} from \"../../interfaces/IERC6909.sol\";\nimport {Context} from \"../../utils/Context.sol\";\nimport {IERC165, ERC165} from \"../../utils/introspection/ERC165.sol\";\n\n/**\n * @dev Implementation of ERC-6909.\n * See https://eips.ethereum.org/EIPS/eip-6909\n */\ncontract ERC6909 is Context, ERC165, IERC6909 {\n    mapping(address owner => mapping(uint256 id => uint256)) private _balances;\n\n    mapping(address owner => mapping(address operator => bool)) private _operatorApprovals;\n\n    mapping(address owner => mapping(address spender => mapping(uint256 id => uint256))) private _allowances;\n\n    error ERC6909InsufficientBalance(address sender, uint256 balance, uint256 needed, uint256 id);\n    error ERC6909InsufficientAllowance(address spender, uint256 allowance, uint256 needed, uint256 id);\n    error ERC6909InvalidApprover(address approver);\n    error ERC6909InvalidReceiver(address receiver);\n    error ERC6909InvalidSender(address sender);\n    error ERC6909InvalidSpender(address spender);\n\n    /// @inheritdoc IERC165\n    function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) {\n        return interfaceId == type(IERC6909).interfaceId || super.supportsInterface(interfaceId);\n    }\n\n    /// @inheritdoc IERC6909\n    function balanceOf(address owner, uint256 id) public view virtual override returns (uint256) {\n        return _balances[owner][id];\n    }\n\n    /// @inheritdoc IERC6909\n    function allowance(address owner, address spender, uint256 id) public view virtual override returns (uint256) {\n        return _allowances[owner][spender][id];\n    }\n\n    /// @inheritdoc IERC6909\n    function isOperator(address owner, address spender) public view virtual override returns (bool) {\n        return _operatorApprovals[owner][spender];\n    }\n\n    /// @inheritdoc IERC6909\n    function approve(address spender, uint256 id, uint256 amount) public virtual override returns (bool) {\n        _approve(_msgSender(), spender, id, amount);\n        return true;\n    }\n\n    /// @inheritdoc IERC6909\n    function setOperator(address spender, bool approved) public virtual override returns (bool) {\n        _setOperator(_msgSender(), spender, approved);\n        return true;\n    }\n\n    /// @inheritdoc IERC6909\n    function transfer(address receiver, uint256 id, uint256 amount) public virtual override returns (bool) {\n        _transfer(_msgSender(), receiver, id, amount);\n        return true;\n    }\n\n    /// @inheritdoc IERC6909\n    function transferFrom(\n        address sender,\n        address receiver,\n        uint256 id,\n        uint256 amount\n    ) public virtual override returns (bool) {\n        address caller = _msgSender();\n        if (sender != caller && !isOperator(sender, caller)) {\n            _spendAllowance(sender, caller, id, amount);\n        }\n        _transfer(sender, receiver, id, amount);\n        return true;\n    }\n\n    /**\n     * @dev Creates `amount` of token `id` and assigns them to `account`, by transferring it from address(0).\n     * Relies on the `_update` mechanism.\n     *\n     * Emits a {Transfer} event with `from` set to the zero address.\n     *\n     * NOTE: This function is not virtual, {_update} should be overridden instead.\n     */\n    function _mint(address to, uint256 id, uint256 amount) internal {\n        if (to == address(0)) {\n            revert ERC6909InvalidReceiver(address(0));\n        }\n        _update(address(0), to, id, amount);\n    }\n\n    /**\n     * @dev Moves `amount` of token `id` from `from` to `to` without checking for approvals. This function verifies\n     * that neither the sender nor the receiver are address(0), which means it cannot mint or burn tokens.\n     * Relies on the `_update` mechanism.\n     *\n     * Emits a {Transfer} event.\n     *\n     * NOTE: This function is not virtual, {_update} should be overridden instead.\n     */\n    function _transfer(address from, address to, uint256 id, uint256 amount) internal {\n        if (from == address(0)) {\n            revert ERC6909InvalidSender(address(0));\n        }\n        if (to == address(0)) {\n            revert ERC6909InvalidReceiver(address(0));\n        }\n        _update(from, to, id, amount);\n    }\n\n    /**\n     * @dev Destroys a `amount` of token `id` from `account`.\n     * Relies on the `_update` mechanism.\n     *\n     * Emits a {Transfer} event with `to` set to the zero address.\n     *\n     * NOTE: This function is not virtual, {_update} should be overridden instead\n     */\n    function _burn(address from, uint256 id, uint256 amount) internal {\n        if (from == address(0)) {\n            revert ERC6909InvalidSender(address(0));\n        }\n        _update(from, address(0), id, amount);\n    }\n\n    /**\n     * @dev Transfers `amount` of token `id` from `from` to `to`, or alternatively mints (or burns) if `from`\n     * (or `to`) is the zero address. All customizations to transfers, mints, and burns should be done by overriding\n     * this function.\n     *\n     * Emits a {Transfer} event.\n     */\n    function _update(address from, address to, uint256 id, uint256 amount) internal virtual {\n        address caller = _msgSender();\n\n        if (from != address(0)) {\n            uint256 fromBalance = _balances[from][id];\n            if (fromBalance < amount) {\n                revert ERC6909InsufficientBalance(from, fromBalance, amount, id);\n            }\n            unchecked {\n                // Overflow not possible: amount <= fromBalance.\n                _balances[from][id] = fromBalance - amount;\n            }\n        }\n        if (to != address(0)) {\n            _balances[to][id] += amount;\n        }\n\n        emit Transfer(caller, from, to, id, amount);\n    }\n\n    /**\n     * @dev Sets `amount` as the allowance of `spender` over the `owner`'s `id` tokens.\n     *\n     * This internal function is equivalent to `approve`, and can be used to e.g. set automatic allowances for certain\n     * subsystems, etc.\n     *\n     * Emits an {Approval} event.\n     *\n     * Requirements:\n     *\n     * - `owner` cannot be the zero address.\n     * - `spender` cannot be the zero address.\n     */\n    function _approve(address owner, address spender, uint256 id, uint256 amount) internal virtual {\n        if (owner == address(0)) {\n            revert ERC6909InvalidApprover(address(0));\n        }\n        if (spender == address(0)) {\n            revert ERC6909InvalidSpender(address(0));\n        }\n        _allowances[owner][spender][id] = amount;\n        emit Approval(owner, spender, id, amount);\n    }\n\n    /**\n     * @dev Approve `spender` to operate on all of `owner`'s tokens\n     *\n     * This internal function is equivalent to `setOperator`, and can be used to e.g. set automatic allowances for\n     * certain subsystems, etc.\n     *\n     * Emits an {OperatorSet} event.\n     *\n     * Requirements:\n     *\n     * - `owner` cannot be the zero address.\n     * - `spender` cannot be the zero address.\n     */\n    function _setOperator(address owner, address spender, bool approved) internal virtual {\n        if (owner == address(0)) {\n            revert ERC6909InvalidApprover(address(0));\n        }\n        if (spender == address(0)) {\n            revert ERC6909InvalidSpender(address(0));\n        }\n        _operatorApprovals[owner][spender] = approved;\n        emit OperatorSet(owner, spender, approved);\n    }\n\n    /**\n     * @dev Updates `owner`'s allowance for `spender` based on spent `amount`.\n     *\n     * Does not update the allowance value in case of infinite allowance.\n     * Revert if not enough allowance is available.\n     *\n     * Does not emit an {Approval} event.\n     */\n    function _spendAllowance(address owner, address spender, uint256 id, uint256 amount) internal virtual {\n        uint256 currentAllowance = allowance(owner, spender, id);\n        if (currentAllowance < type(uint256).max) {\n            if (currentAllowance < amount) {\n                revert ERC6909InsufficientAllowance(spender, currentAllowance, amount, id);\n            }\n            unchecked {\n                _allowances[owner][spender][id] = currentAllowance - amount;\n            }\n        }\n    }\n}\n"},"@openzeppelin/contracts/utils/ReentrancyGuard.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.5.0) (utils/ReentrancyGuard.sol)\n\npragma solidity ^0.8.20;\n\nimport {StorageSlot} from \"./StorageSlot.sol\";\n\n/**\n * @dev Contract module that helps prevent reentrant calls to a function.\n *\n * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier\n * available, which can be applied to functions to make sure there are no nested\n * (reentrant) calls to them.\n *\n * Note that because there is a single `nonReentrant` guard, functions marked as\n * `nonReentrant` may not call one another. This can be worked around by making\n * those functions `private`, and then adding `external` `nonReentrant` entry\n * points to them.\n *\n * TIP: If EIP-1153 (transient storage) is available on the chain you're deploying at,\n * consider using {ReentrancyGuardTransient} instead.\n *\n * TIP: If you would like to learn more about reentrancy and alternative ways\n * to protect against it, check out our blog post\n * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul].\n *\n * IMPORTANT: Deprecated. This storage-based reentrancy guard will be removed and replaced\n * by the {ReentrancyGuardTransient} variant in v6.0.\n *\n * @custom:stateless\n */\nabstract contract ReentrancyGuard {\n    using StorageSlot for bytes32;\n\n    // keccak256(abi.encode(uint256(keccak256(\"openzeppelin.storage.ReentrancyGuard\")) - 1)) & ~bytes32(uint256(0xff))\n    bytes32 private constant REENTRANCY_GUARD_STORAGE =\n        0x9b779b17422d0df92223018b32b4d1fa46e071723d6817e2486d003becc55f00;\n\n    // Booleans are more expensive than uint256 or any type that takes up a full\n    // word because each write operation emits an extra SLOAD to first read the\n    // slot's contents, replace the bits taken up by the boolean, and then write\n    // back. This is the compiler's defense against contract upgrades and\n    // pointer aliasing, and it cannot be disabled.\n\n    // The values being non-zero value makes deployment a bit more expensive,\n    // but in exchange the refund on every call to nonReentrant will be lower in\n    // amount. Since refunds are capped to a percentage of the total\n    // transaction's gas, it is best to keep them low in cases like this one, to\n    // increase the likelihood of the full refund coming into effect.\n    uint256 private constant NOT_ENTERED = 1;\n    uint256 private constant ENTERED = 2;\n\n    /**\n     * @dev Unauthorized reentrant call.\n     */\n    error ReentrancyGuardReentrantCall();\n\n    constructor() {\n        _reentrancyGuardStorageSlot().getUint256Slot().value = NOT_ENTERED;\n    }\n\n    /**\n     * @dev Prevents a contract from calling itself, directly or indirectly.\n     * Calling a `nonReentrant` function from another `nonReentrant`\n     * function is not supported. It is possible to prevent this from happening\n     * by making the `nonReentrant` function external, and making it call a\n     * `private` function that does the actual work.\n     */\n    modifier nonReentrant() {\n        _nonReentrantBefore();\n        _;\n        _nonReentrantAfter();\n    }\n\n    /**\n     * @dev A `view` only version of {nonReentrant}. Use to block view functions\n     * from being called, preventing reading from inconsistent contract state.\n     *\n     * CAUTION: This is a \"view\" modifier and does not change the reentrancy\n     * status. Use it only on view functions. For payable or non-payable functions,\n     * use the standard {nonReentrant} modifier instead.\n     */\n    modifier nonReentrantView() {\n        _nonReentrantBeforeView();\n        _;\n    }\n\n    function _nonReentrantBeforeView() private view {\n        if (_reentrancyGuardEntered()) {\n            revert ReentrancyGuardReentrantCall();\n        }\n    }\n\n    function _nonReentrantBefore() private {\n        // On the first call to nonReentrant, _status will be NOT_ENTERED\n        _nonReentrantBeforeView();\n\n        // Any calls to nonReentrant after this point will fail\n        _reentrancyGuardStorageSlot().getUint256Slot().value = ENTERED;\n    }\n\n    function _nonReentrantAfter() private {\n        // By storing the original value once again, a refund is triggered (see\n        // https://eips.ethereum.org/EIPS/eip-2200)\n        _reentrancyGuardStorageSlot().getUint256Slot().value = NOT_ENTERED;\n    }\n\n    /**\n     * @dev Returns true if the reentrancy guard is currently set to \"entered\", which indicates there is a\n     * `nonReentrant` function in the call stack.\n     */\n    function _reentrancyGuardEntered() internal view returns (bool) {\n        return _reentrancyGuardStorageSlot().getUint256Slot().value == ENTERED;\n    }\n\n    function _reentrancyGuardStorageSlot() internal pure virtual returns (bytes32) {\n        return REENTRANCY_GUARD_STORAGE;\n    }\n}\n"},"@openzeppelin/contracts/utils/math/SignedMath.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.1.0) (utils/math/SignedMath.sol)\n\npragma solidity ^0.8.20;\n\nimport {SafeCast} from \"./SafeCast.sol\";\n\n/**\n * @dev Standard signed math utilities missing in the Solidity language.\n */\nlibrary SignedMath {\n    /**\n     * @dev Branchless ternary evaluation for `a ? b : c`. Gas costs are constant.\n     *\n     * IMPORTANT: This function may reduce bytecode size and consume less gas when used standalone.\n     * However, the compiler may optimize Solidity ternary operations (i.e. `a ? b : c`) to only compute\n     * one branch when needed, making this function more expensive.\n     */\n    function ternary(bool condition, int256 a, int256 b) internal pure returns (int256) {\n        unchecked {\n            // branchless ternary works because:\n            // b ^ (a ^ b) == a\n            // b ^ 0 == b\n            return b ^ ((a ^ b) * int256(SafeCast.toUint(condition)));\n        }\n    }\n\n    /**\n     * @dev Returns the largest of two signed numbers.\n     */\n    function max(int256 a, int256 b) internal pure returns (int256) {\n        return ternary(a > b, a, b);\n    }\n\n    /**\n     * @dev Returns the smallest of two signed numbers.\n     */\n    function min(int256 a, int256 b) internal pure returns (int256) {\n        return ternary(a < b, a, b);\n    }\n\n    /**\n     * @dev Returns the average of two signed numbers without overflow.\n     * The result is rounded towards zero.\n     */\n    function average(int256 a, int256 b) internal pure returns (int256) {\n        // Formula from the book \"Hacker's Delight\"\n        int256 x = (a & b) + ((a ^ b) >> 1);\n        return x + (int256(uint256(x) >> 255) & (a ^ b));\n    }\n\n    /**\n     * @dev Returns the absolute unsigned value of a signed value.\n     */\n    function abs(int256 n) internal pure returns (uint256) {\n        unchecked {\n            // Formula from the \"Bit Twiddling Hacks\" by Sean Eron Anderson.\n            // Since `n` is a signed integer, the generated bytecode will use the SAR opcode to perform the right shift,\n            // taking advantage of the most significant (or \"sign\" bit) in two's complement representation.\n            // This opcode adds new most significant bits set to the value of the previous most significant bit. As a result,\n            // the mask will either be `bytes32(0)` (if n is positive) or `~bytes32(0)` (if n is negative).\n            int256 mask = n >> 255;\n\n            // A `bytes32(0)` mask leaves the input unchanged, while a `~bytes32(0)` mask complements it.\n            return uint256((n + mask) ^ mask);\n        }\n    }\n}\n"},"@openzeppelin/contracts/utils/cryptography/ECDSA.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.5.0) (utils/cryptography/ECDSA.sol)\n\npragma solidity ^0.8.20;\n\n/**\n * @dev Elliptic Curve Digital Signature Algorithm (ECDSA) operations.\n *\n * These functions can be used to verify that a message was signed by the holder\n * of the private keys of a given address.\n */\nlibrary ECDSA {\n    enum RecoverError {\n        NoError,\n        InvalidSignature,\n        InvalidSignatureLength,\n        InvalidSignatureS\n    }\n\n    /**\n     * @dev The signature is invalid.\n     */\n    error ECDSAInvalidSignature();\n\n    /**\n     * @dev The signature has an invalid length.\n     */\n    error ECDSAInvalidSignatureLength(uint256 length);\n\n    /**\n     * @dev The signature has an S value that is in the upper half order.\n     */\n    error ECDSAInvalidSignatureS(bytes32 s);\n\n    /**\n     * @dev Returns the address that signed a hashed message (`hash`) with `signature` or an error. This will not\n     * return address(0) without also returning an error description. Errors are documented using an enum (error type)\n     * and a bytes32 providing additional information about the error.\n     *\n     * If no error is returned, then the address can be used for verification purposes.\n     *\n     * The `ecrecover` EVM precompile allows for malleable (non-unique) signatures:\n     * this function rejects them by requiring the `s` value to be in the lower\n     * half order, and the `v` value to be either 27 or 28.\n     *\n     * NOTE: This function only supports 65-byte signatures. ERC-2098 short signatures are rejected. This restriction\n     * is DEPRECATED and will be removed in v6.0. Developers SHOULD NOT use signatures as unique identifiers; use hash\n     * invalidation or nonces for replay protection.\n     *\n     * IMPORTANT: `hash` _must_ be the result of a hash operation for the\n     * verification to be secure: it is possible to craft signatures that\n     * recover to arbitrary addresses for non-hashed data. A safe way to ensure\n     * this is by receiving a hash of the original message (which may otherwise\n     * be too long), and then calling {MessageHashUtils-toEthSignedMessageHash} on it.\n     *\n     * Documentation for signature generation:\n     *\n     * - with https://web3js.readthedocs.io/en/v1.3.4/web3-eth-accounts.html#sign[Web3.js]\n     * - with https://docs.ethers.io/v5/api/signer/#Signer-signMessage[ethers]\n     */\n    function tryRecover(\n        bytes32 hash,\n        bytes memory signature\n    ) internal pure returns (address recovered, RecoverError err, bytes32 errArg) {\n        if (signature.length == 65) {\n            bytes32 r;\n            bytes32 s;\n            uint8 v;\n            // ecrecover takes the signature parameters, and the only way to get them\n            // currently is to use assembly.\n            assembly (\"memory-safe\") {\n                r := mload(add(signature, 0x20))\n                s := mload(add(signature, 0x40))\n                v := byte(0, mload(add(signature, 0x60)))\n            }\n            return tryRecover(hash, v, r, s);\n        } else {\n            return (address(0), RecoverError.InvalidSignatureLength, bytes32(signature.length));\n        }\n    }\n\n    /**\n     * @dev Variant of {tryRecover} that takes a signature in calldata\n     */\n    function tryRecoverCalldata(\n        bytes32 hash,\n        bytes calldata signature\n    ) internal pure returns (address recovered, RecoverError err, bytes32 errArg) {\n        if (signature.length == 65) {\n            bytes32 r;\n            bytes32 s;\n            uint8 v;\n            // ecrecover takes the signature parameters, calldata slices would work here, but are\n            // significantly more expensive (length check) than using calldataload in assembly.\n            assembly (\"memory-safe\") {\n                r := calldataload(signature.offset)\n                s := calldataload(add(signature.offset, 0x20))\n                v := byte(0, calldataload(add(signature.offset, 0x40)))\n            }\n            return tryRecover(hash, v, r, s);\n        } else {\n            return (address(0), RecoverError.InvalidSignatureLength, bytes32(signature.length));\n        }\n    }\n\n    /**\n     * @dev Returns the address that signed a hashed message (`hash`) with\n     * `signature`. This address can then be used for verification purposes.\n     *\n     * The `ecrecover` EVM precompile allows for malleable (non-unique) signatures:\n     * this function rejects them by requiring the `s` value to be in the lower\n     * half order, and the `v` value to be either 27 or 28.\n     *\n     * NOTE: This function only supports 65-byte signatures. ERC-2098 short signatures are rejected. This restriction\n     * is DEPRECATED and will be removed in v6.0. Developers SHOULD NOT use signatures as unique identifiers; use hash\n     * invalidation or nonces for replay protection.\n     *\n     * IMPORTANT: `hash` _must_ be the result of a hash operation for the\n     * verification to be secure: it is possible to craft signatures that\n     * recover to arbitrary addresses for non-hashed data. A safe way to ensure\n     * this is by receiving a hash of the original message (which may otherwise\n     * be too long), and then calling {MessageHashUtils-toEthSignedMessageHash} on it.\n     */\n    function recover(bytes32 hash, bytes memory signature) internal pure returns (address) {\n        (address recovered, RecoverError error, bytes32 errorArg) = tryRecover(hash, signature);\n        _throwError(error, errorArg);\n        return recovered;\n    }\n\n    /**\n     * @dev Variant of {recover} that takes a signature in calldata\n     */\n    function recoverCalldata(bytes32 hash, bytes calldata signature) internal pure returns (address) {\n        (address recovered, RecoverError error, bytes32 errorArg) = tryRecoverCalldata(hash, signature);\n        _throwError(error, errorArg);\n        return recovered;\n    }\n\n    /**\n     * @dev Overload of {ECDSA-tryRecover} that receives the `r` and `vs` short-signature fields separately.\n     *\n     * See https://eips.ethereum.org/EIPS/eip-2098[ERC-2098 short signatures]\n     */\n    function tryRecover(\n        bytes32 hash,\n        bytes32 r,\n        bytes32 vs\n    ) internal pure returns (address recovered, RecoverError err, bytes32 errArg) {\n        unchecked {\n            bytes32 s = vs & bytes32(0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff);\n            // We do not check for an overflow here since the shift operation results in 0 or 1.\n            uint8 v = uint8((uint256(vs) >> 255) + 27);\n            return tryRecover(hash, v, r, s);\n        }\n    }\n\n    /**\n     * @dev Overload of {ECDSA-recover} that receives the `r` and `vs` short-signature fields separately.\n     */\n    function recover(bytes32 hash, bytes32 r, bytes32 vs) internal pure returns (address) {\n        (address recovered, RecoverError error, bytes32 errorArg) = tryRecover(hash, r, vs);\n        _throwError(error, errorArg);\n        return recovered;\n    }\n\n    /**\n     * @dev Overload of {ECDSA-tryRecover} that receives the `v`,\n     * `r` and `s` signature fields separately.\n     */\n    function tryRecover(\n        bytes32 hash,\n        uint8 v,\n        bytes32 r,\n        bytes32 s\n    ) internal pure returns (address recovered, RecoverError err, bytes32 errArg) {\n        // EIP-2 still allows signature malleability for ecrecover(). Remove this possibility and make the signature\n        // unique. Appendix F in the Ethereum Yellow paper (https://ethereum.github.io/yellowpaper/paper.pdf), defines\n        // the valid range for s in (301): 0 < s < secp256k1n ÷ 2 + 1, and for v in (302): v ∈ {27, 28}. Most\n        // signatures from current libraries generate a unique signature with an s-value in the lower half order.\n        //\n        // If your library generates malleable signatures, such as s-values in the upper range, calculate a new s-value\n        // with 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEBAAEDCE6AF48A03BBFD25E8CD0364141 - s1 and flip v from 27 to 28 or\n        // vice versa. If your library also generates signatures with 0/1 for v instead 27/28, add 27 to v to accept\n        // these malleable signatures as well.\n        if (uint256(s) > 0x7FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF5D576E7357A4501DDFE92F46681B20A0) {\n            return (address(0), RecoverError.InvalidSignatureS, s);\n        }\n\n        // If the signature is valid (and not malleable), return the signer address\n        address signer = ecrecover(hash, v, r, s);\n        if (signer == address(0)) {\n            return (address(0), RecoverError.InvalidSignature, bytes32(0));\n        }\n\n        return (signer, RecoverError.NoError, bytes32(0));\n    }\n\n    /**\n     * @dev Overload of {ECDSA-recover} that receives the `v`,\n     * `r` and `s` signature fields separately.\n     */\n    function recover(bytes32 hash, uint8 v, bytes32 r, bytes32 s) internal pure returns (address) {\n        (address recovered, RecoverError error, bytes32 errorArg) = tryRecover(hash, v, r, s);\n        _throwError(error, errorArg);\n        return recovered;\n    }\n\n    /**\n     * @dev Parse a signature into its `v`, `r` and `s` components. Supports 65-byte and 64-byte (ERC-2098)\n     * formats. Returns (0,0,0) for invalid signatures.\n     *\n     * For 64-byte signatures, `v` is automatically normalized to 27 or 28.\n     * For 65-byte signatures, `v` is returned as-is and MUST already be 27 or 28 for use with ecrecover.\n     *\n     * Consider validating the result before use, or use {tryRecover}/{recover} which perform full validation.\n     */\n    function parse(bytes memory signature) internal pure returns (uint8 v, bytes32 r, bytes32 s) {\n        assembly (\"memory-safe\") {\n            // Check the signature length\n            switch mload(signature)\n            // - case 65: r,s,v signature (standard)\n            case 65 {\n                r := mload(add(signature, 0x20))\n                s := mload(add(signature, 0x40))\n                v := byte(0, mload(add(signature, 0x60)))\n            }\n            // - case 64: r,vs signature (cf https://eips.ethereum.org/EIPS/eip-2098)\n            case 64 {\n                let vs := mload(add(signature, 0x40))\n                r := mload(add(signature, 0x20))\n                s := and(vs, shr(1, not(0)))\n                v := add(shr(255, vs), 27)\n            }\n            default {\n                r := 0\n                s := 0\n                v := 0\n            }\n        }\n    }\n\n    /**\n     * @dev Variant of {parse} that takes a signature in calldata\n     */\n    function parseCalldata(bytes calldata signature) internal pure returns (uint8 v, bytes32 r, bytes32 s) {\n        assembly (\"memory-safe\") {\n            // Check the signature length\n            switch signature.length\n            // - case 65: r,s,v signature (standard)\n            case 65 {\n                r := calldataload(signature.offset)\n                s := calldataload(add(signature.offset, 0x20))\n                v := byte(0, calldataload(add(signature.offset, 0x40)))\n            }\n            // - case 64: r,vs signature (cf https://eips.ethereum.org/EIPS/eip-2098)\n            case 64 {\n                let vs := calldataload(add(signature.offset, 0x20))\n                r := calldataload(signature.offset)\n                s := and(vs, shr(1, not(0)))\n                v := add(shr(255, vs), 27)\n            }\n            default {\n                r := 0\n                s := 0\n                v := 0\n            }\n        }\n    }\n\n    /**\n     * @dev Optionally reverts with the corresponding custom error according to the `error` argument provided.\n     */\n    function _throwError(RecoverError error, bytes32 errorArg) private pure {\n        if (error == RecoverError.NoError) {\n            return; // no error: do nothing\n        } else if (error == RecoverError.InvalidSignature) {\n            revert ECDSAInvalidSignature();\n        } else if (error == RecoverError.InvalidSignatureLength) {\n            revert ECDSAInvalidSignatureLength(uint256(errorArg));\n        } else if (error == RecoverError.InvalidSignatureS) {\n            revert ECDSAInvalidSignatureS(errorArg);\n        }\n    }\n}\n"},"@openzeppelin/contracts/utils/cryptography/EIP712.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.5.0) (utils/cryptography/EIP712.sol)\n\npragma solidity ^0.8.24;\n\nimport {MessageHashUtils} from \"./MessageHashUtils.sol\";\nimport {ShortStrings, ShortString} from \"../ShortStrings.sol\";\nimport {IERC5267} from \"../../interfaces/IERC5267.sol\";\n\n/**\n * @dev https://eips.ethereum.org/EIPS/eip-712[EIP-712] is a standard for hashing and signing of typed structured data.\n *\n * The encoding scheme specified in the EIP requires a domain separator and a hash of the typed structured data, whose\n * encoding is very generic and therefore its implementation in Solidity is not feasible, thus this contract\n * does not implement the encoding itself. Protocols need to implement the type-specific encoding they need in order to\n * produce the hash of their typed data using a combination of `abi.encode` and `keccak256`.\n *\n * This contract implements the EIP-712 domain separator ({_domainSeparatorV4}) that is used as part of the encoding\n * scheme, and the final step of the encoding to obtain the message digest that is then signed via ECDSA\n * ({_hashTypedDataV4}).\n *\n * The implementation of the domain separator was designed to be as efficient as possible while still properly updating\n * the chain id to protect against replay attacks on an eventual fork of the chain.\n *\n * NOTE: This contract implements the version of the encoding known as \"v4\", as implemented by the JSON RPC method\n * https://docs.metamask.io/guide/signing-data.html[`eth_signTypedDataV4` in MetaMask].\n *\n * NOTE: In the upgradeable version of this contract, the cached values will correspond to the address, and the domain\n * separator of the implementation contract. This will cause the {_domainSeparatorV4} function to always rebuild the\n * separator from the immutable values, which is cheaper than accessing a cached version in cold storage.\n *\n * @custom:oz-upgrades-unsafe-allow state-variable-immutable\n */\nabstract contract EIP712 is IERC5267 {\n    using ShortStrings for *;\n\n    bytes32 private constant TYPE_HASH =\n        keccak256(\"EIP712Domain(string name,string version,uint256 chainId,address verifyingContract)\");\n\n    // Cache the domain separator as an immutable value, but also store the chain id that it corresponds to, in order to\n    // invalidate the cached domain separator if the chain id changes.\n    bytes32 private immutable _cachedDomainSeparator;\n    uint256 private immutable _cachedChainId;\n    address private immutable _cachedThis;\n\n    bytes32 private immutable _hashedName;\n    bytes32 private immutable _hashedVersion;\n\n    ShortString private immutable _name;\n    ShortString private immutable _version;\n    // slither-disable-next-line constable-states\n    string private _nameFallback;\n    // slither-disable-next-line constable-states\n    string private _versionFallback;\n\n    /**\n     * @dev Initializes the domain separator and parameter caches.\n     *\n     * The meaning of `name` and `version` is specified in\n     * https://eips.ethereum.org/EIPS/eip-712#definition-of-domainseparator[EIP-712]:\n     *\n     * - `name`: the user readable name of the signing domain, i.e. the name of the DApp or the protocol.\n     * - `version`: the current major version of the signing domain.\n     *\n     * NOTE: These parameters cannot be changed except through a xref:learn::upgrading-smart-contracts.adoc[smart\n     * contract upgrade].\n     */\n    constructor(string memory name, string memory version) {\n        _name = name.toShortStringWithFallback(_nameFallback);\n        _version = version.toShortStringWithFallback(_versionFallback);\n        _hashedName = keccak256(bytes(name));\n        _hashedVersion = keccak256(bytes(version));\n\n        _cachedChainId = block.chainid;\n        _cachedDomainSeparator = _buildDomainSeparator();\n        _cachedThis = address(this);\n    }\n\n    /**\n     * @dev Returns the domain separator for the current chain.\n     */\n    function _domainSeparatorV4() internal view returns (bytes32) {\n        if (address(this) == _cachedThis && block.chainid == _cachedChainId) {\n            return _cachedDomainSeparator;\n        } else {\n            return _buildDomainSeparator();\n        }\n    }\n\n    function _buildDomainSeparator() private view returns (bytes32) {\n        return keccak256(abi.encode(TYPE_HASH, _hashedName, _hashedVersion, block.chainid, address(this)));\n    }\n\n    /**\n     * @dev Given an already https://eips.ethereum.org/EIPS/eip-712#definition-of-hashstruct[hashed struct], this\n     * function returns the hash of the fully encoded EIP712 message for this domain.\n     *\n     * This hash can be used together with {ECDSA-recover} to obtain the signer of a message. For example:\n     *\n     * ```solidity\n     * bytes32 digest = _hashTypedDataV4(keccak256(abi.encode(\n     *     keccak256(\"Mail(address to,string contents)\"),\n     *     mailTo,\n     *     keccak256(bytes(mailContents))\n     * )));\n     * address signer = ECDSA.recover(digest, signature);\n     * ```\n     */\n    function _hashTypedDataV4(bytes32 structHash) internal view virtual returns (bytes32) {\n        return MessageHashUtils.toTypedDataHash(_domainSeparatorV4(), structHash);\n    }\n\n    /// @inheritdoc IERC5267\n    function eip712Domain()\n        public\n        view\n        virtual\n        returns (\n            bytes1 fields,\n            string memory name,\n            string memory version,\n            uint256 chainId,\n            address verifyingContract,\n            bytes32 salt,\n            uint256[] memory extensions\n        )\n    {\n        return (\n            hex\"0f\", // 01111\n            _EIP712Name(),\n            _EIP712Version(),\n            block.chainid,\n            address(this),\n            bytes32(0),\n            new uint256[](0)\n        );\n    }\n\n    /**\n     * @dev The name parameter for the EIP712 domain.\n     *\n     * NOTE: By default this function reads _name which is an immutable value.\n     * It only reads from storage if necessary (in case the value is too large to fit in a ShortString).\n     */\n    // solhint-disable-next-line func-name-mixedcase\n    function _EIP712Name() internal view returns (string memory) {\n        return _name.toStringWithFallback(_nameFallback);\n    }\n\n    /**\n     * @dev The version parameter for the EIP712 domain.\n     *\n     * NOTE: By default this function reads _version which is an immutable value.\n     * It only reads from storage if necessary (in case the value is too large to fit in a ShortString).\n     */\n    // solhint-disable-next-line func-name-mixedcase\n    function _EIP712Version() internal view returns (string memory) {\n        return _version.toStringWithFallback(_versionFallback);\n    }\n}\n"},"@openzeppelin/contracts/utils/introspection/ERC165.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.4.0) (utils/introspection/ERC165.sol)\n\npragma solidity ^0.8.20;\n\nimport {IERC165} from \"./IERC165.sol\";\n\n/**\n * @dev Implementation of the {IERC165} interface.\n *\n * Contracts that want to implement ERC-165 should inherit from this contract and override {supportsInterface} to check\n * for the additional interface id that will be supported. For example:\n *\n * ```solidity\n * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {\n *     return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId);\n * }\n * ```\n */\nabstract contract ERC165 is IERC165 {\n    /// @inheritdoc IERC165\n    function supportsInterface(bytes4 interfaceId) public view virtual returns (bool) {\n        return interfaceId == type(IERC165).interfaceId;\n    }\n}\n"},"@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.5.0) (token/ERC20/utils/SafeERC20.sol)\n\npragma solidity ^0.8.20;\n\nimport {IERC20} from \"../IERC20.sol\";\nimport {IERC1363} from \"../../../interfaces/IERC1363.sol\";\n\n/**\n * @title SafeERC20\n * @dev Wrappers around ERC-20 operations that throw on failure (when the token\n * contract returns false). Tokens that return no value (and instead revert or\n * throw on failure) are also supported, non-reverting calls are assumed to be\n * successful.\n * To use this library you can add a `using SafeERC20 for IERC20;` statement to your contract,\n * which allows you to call the safe operations as `token.safeTransfer(...)`, etc.\n */\nlibrary SafeERC20 {\n    /**\n     * @dev An operation with an ERC-20 token failed.\n     */\n    error SafeERC20FailedOperation(address token);\n\n    /**\n     * @dev Indicates a failed `decreaseAllowance` request.\n     */\n    error SafeERC20FailedDecreaseAllowance(address spender, uint256 currentAllowance, uint256 requestedDecrease);\n\n    /**\n     * @dev Transfer `value` amount of `token` from the calling contract to `to`. If `token` returns no value,\n     * non-reverting calls are assumed to be successful.\n     */\n    function safeTransfer(IERC20 token, address to, uint256 value) internal {\n        if (!_safeTransfer(token, to, value, true)) {\n            revert SafeERC20FailedOperation(address(token));\n        }\n    }\n\n    /**\n     * @dev Transfer `value` amount of `token` from `from` to `to`, spending the approval given by `from` to the\n     * calling contract. If `token` returns no value, non-reverting calls are assumed to be successful.\n     */\n    function safeTransferFrom(IERC20 token, address from, address to, uint256 value) internal {\n        if (!_safeTransferFrom(token, from, to, value, true)) {\n            revert SafeERC20FailedOperation(address(token));\n        }\n    }\n\n    /**\n     * @dev Variant of {safeTransfer} that returns a bool instead of reverting if the operation is not successful.\n     */\n    function trySafeTransfer(IERC20 token, address to, uint256 value) internal returns (bool) {\n        return _safeTransfer(token, to, value, false);\n    }\n\n    /**\n     * @dev Variant of {safeTransferFrom} that returns a bool instead of reverting if the operation is not successful.\n     */\n    function trySafeTransferFrom(IERC20 token, address from, address to, uint256 value) internal returns (bool) {\n        return _safeTransferFrom(token, from, to, value, false);\n    }\n\n    /**\n     * @dev Increase the calling contract's allowance toward `spender` by `value`. If `token` returns no value,\n     * non-reverting calls are assumed to be successful.\n     *\n     * IMPORTANT: If the token implements ERC-7674 (ERC-20 with temporary allowance), and if the \"client\"\n     * smart contract uses ERC-7674 to set temporary allowances, then the \"client\" smart contract should avoid using\n     * this function. Performing a {safeIncreaseAllowance} or {safeDecreaseAllowance} operation on a token contract\n     * that has a non-zero temporary allowance (for that particular owner-spender) will result in unexpected behavior.\n     */\n    function safeIncreaseAllowance(IERC20 token, address spender, uint256 value) internal {\n        uint256 oldAllowance = token.allowance(address(this), spender);\n        forceApprove(token, spender, oldAllowance + value);\n    }\n\n    /**\n     * @dev Decrease the calling contract's allowance toward `spender` by `requestedDecrease`. If `token` returns no\n     * value, non-reverting calls are assumed to be successful.\n     *\n     * IMPORTANT: If the token implements ERC-7674 (ERC-20 with temporary allowance), and if the \"client\"\n     * smart contract uses ERC-7674 to set temporary allowances, then the \"client\" smart contract should avoid using\n     * this function. Performing a {safeIncreaseAllowance} or {safeDecreaseAllowance} operation on a token contract\n     * that has a non-zero temporary allowance (for that particular owner-spender) will result in unexpected behavior.\n     */\n    function safeDecreaseAllowance(IERC20 token, address spender, uint256 requestedDecrease) internal {\n        unchecked {\n            uint256 currentAllowance = token.allowance(address(this), spender);\n            if (currentAllowance < requestedDecrease) {\n                revert SafeERC20FailedDecreaseAllowance(spender, currentAllowance, requestedDecrease);\n            }\n            forceApprove(token, spender, currentAllowance - requestedDecrease);\n        }\n    }\n\n    /**\n     * @dev Set the calling contract's allowance toward `spender` to `value`. If `token` returns no value,\n     * non-reverting calls are assumed to be successful. Meant to be used with tokens that require the approval\n     * to be set to zero before setting it to a non-zero value, such as USDT.\n     *\n     * NOTE: If the token implements ERC-7674, this function will not modify any temporary allowance. This function\n     * only sets the \"standard\" allowance. Any temporary allowance will remain active, in addition to the value being\n     * set here.\n     */\n    function forceApprove(IERC20 token, address spender, uint256 value) internal {\n        if (!_safeApprove(token, spender, value, false)) {\n            if (!_safeApprove(token, spender, 0, true)) revert SafeERC20FailedOperation(address(token));\n            if (!_safeApprove(token, spender, value, true)) revert SafeERC20FailedOperation(address(token));\n        }\n    }\n\n    /**\n     * @dev Performs an {ERC1363} transferAndCall, with a fallback to the simple {ERC20} transfer if the target has no\n     * code. This can be used to implement an {ERC721}-like safe transfer that relies on {ERC1363} checks when\n     * targeting contracts.\n     *\n     * Reverts if the returned value is other than `true`.\n     */\n    function transferAndCallRelaxed(IERC1363 token, address to, uint256 value, bytes memory data) internal {\n        if (to.code.length == 0) {\n            safeTransfer(token, to, value);\n        } else if (!token.transferAndCall(to, value, data)) {\n            revert SafeERC20FailedOperation(address(token));\n        }\n    }\n\n    /**\n     * @dev Performs an {ERC1363} transferFromAndCall, with a fallback to the simple {ERC20} transferFrom if the target\n     * has no code. This can be used to implement an {ERC721}-like safe transfer that relies on {ERC1363} checks when\n     * targeting contracts.\n     *\n     * Reverts if the returned value is other than `true`.\n     */\n    function transferFromAndCallRelaxed(\n        IERC1363 token,\n        address from,\n        address to,\n        uint256 value,\n        bytes memory data\n    ) internal {\n        if (to.code.length == 0) {\n            safeTransferFrom(token, from, to, value);\n        } else if (!token.transferFromAndCall(from, to, value, data)) {\n            revert SafeERC20FailedOperation(address(token));\n        }\n    }\n\n    /**\n     * @dev Performs an {ERC1363} approveAndCall, with a fallback to the simple {ERC20} approve if the target has no\n     * code. This can be used to implement an {ERC721}-like safe transfer that rely on {ERC1363} checks when\n     * targeting contracts.\n     *\n     * NOTE: When the recipient address (`to`) has no code (i.e. is an EOA), this function behaves as {forceApprove}.\n     * Oppositely, when the recipient address (`to`) has code, this function only attempts to call {ERC1363-approveAndCall}\n     * once without retrying, and relies on the returned value to be true.\n     *\n     * Reverts if the returned value is other than `true`.\n     */\n    function approveAndCallRelaxed(IERC1363 token, address to, uint256 value, bytes memory data) internal {\n        if (to.code.length == 0) {\n            forceApprove(token, to, value);\n        } else if (!token.approveAndCall(to, value, data)) {\n            revert SafeERC20FailedOperation(address(token));\n        }\n    }\n\n    /**\n     * @dev Imitates a Solidity `token.transfer(to, value)` call, relaxing the requirement on the return value: the\n     * return value is optional (but if data is returned, it must not be false).\n     *\n     * @param token The token targeted by the call.\n     * @param to The recipient of the tokens\n     * @param value The amount of token to transfer\n     * @param bubble Behavior switch if the transfer call reverts: bubble the revert reason or return a false boolean.\n     */\n    function _safeTransfer(IERC20 token, address to, uint256 value, bool bubble) private returns (bool success) {\n        bytes4 selector = IERC20.transfer.selector;\n\n        assembly (\"memory-safe\") {\n            let fmp := mload(0x40)\n            mstore(0x00, selector)\n            mstore(0x04, and(to, shr(96, not(0))))\n            mstore(0x24, value)\n            success := call(gas(), token, 0, 0x00, 0x44, 0x00, 0x20)\n            // if call success and return is true, all is good.\n            // otherwise (not success or return is not true), we need to perform further checks\n            if iszero(and(success, eq(mload(0x00), 1))) {\n                // if the call was a failure and bubble is enabled, bubble the error\n                if and(iszero(success), bubble) {\n                    returndatacopy(fmp, 0x00, returndatasize())\n                    revert(fmp, returndatasize())\n                }\n                // if the return value is not true, then the call is only successful if:\n                // - the token address has code\n                // - the returndata is empty\n                success := and(success, and(iszero(returndatasize()), gt(extcodesize(token), 0)))\n            }\n            mstore(0x40, fmp)\n        }\n    }\n\n    /**\n     * @dev Imitates a Solidity `token.transferFrom(from, to, value)` call, relaxing the requirement on the return\n     * value: the return value is optional (but if data is returned, it must not be false).\n     *\n     * @param token The token targeted by the call.\n     * @param from The sender of the tokens\n     * @param to The recipient of the tokens\n     * @param value The amount of token to transfer\n     * @param bubble Behavior switch if the transfer call reverts: bubble the revert reason or return a false boolean.\n     */\n    function _safeTransferFrom(\n        IERC20 token,\n        address from,\n        address to,\n        uint256 value,\n        bool bubble\n    ) private returns (bool success) {\n        bytes4 selector = IERC20.transferFrom.selector;\n\n        assembly (\"memory-safe\") {\n            let fmp := mload(0x40)\n            mstore(0x00, selector)\n            mstore(0x04, and(from, shr(96, not(0))))\n            mstore(0x24, and(to, shr(96, not(0))))\n            mstore(0x44, value)\n            success := call(gas(), token, 0, 0x00, 0x64, 0x00, 0x20)\n            // if call success and return is true, all is good.\n            // otherwise (not success or return is not true), we need to perform further checks\n            if iszero(and(success, eq(mload(0x00), 1))) {\n                // if the call was a failure and bubble is enabled, bubble the error\n                if and(iszero(success), bubble) {\n                    returndatacopy(fmp, 0x00, returndatasize())\n                    revert(fmp, returndatasize())\n                }\n                // if the return value is not true, then the call is only successful if:\n                // - the token address has code\n                // - the returndata is empty\n                success := and(success, and(iszero(returndatasize()), gt(extcodesize(token), 0)))\n            }\n            mstore(0x40, fmp)\n            mstore(0x60, 0)\n        }\n    }\n\n    /**\n     * @dev Imitates a Solidity `token.approve(spender, value)` call, relaxing the requirement on the return value:\n     * the return value is optional (but if data is returned, it must not be false).\n     *\n     * @param token The token targeted by the call.\n     * @param spender The spender of the tokens\n     * @param value The amount of token to transfer\n     * @param bubble Behavior switch if the transfer call reverts: bubble the revert reason or return a false boolean.\n     */\n    function _safeApprove(IERC20 token, address spender, uint256 value, bool bubble) private returns (bool success) {\n        bytes4 selector = IERC20.approve.selector;\n\n        assembly (\"memory-safe\") {\n            let fmp := mload(0x40)\n            mstore(0x00, selector)\n            mstore(0x04, and(spender, shr(96, not(0))))\n            mstore(0x24, value)\n            success := call(gas(), token, 0, 0x00, 0x44, 0x00, 0x20)\n            // if call success and return is true, all is good.\n            // otherwise (not success or return is not true), we need to perform further checks\n            if iszero(and(success, eq(mload(0x00), 1))) {\n                // if the call was a failure and bubble is enabled, bubble the error\n                if and(iszero(success), bubble) {\n                    returndatacopy(fmp, 0x00, returndatasize())\n                    revert(fmp, returndatasize())\n                }\n                // if the return value is not true, then the call is only successful if:\n                // - the token address has code\n                // - the returndata is empty\n                success := and(success, and(iszero(returndatasize()), gt(extcodesize(token), 0)))\n            }\n            mstore(0x40, fmp)\n        }\n    }\n}\n"},"@openzeppelin/contracts/utils/introspection/IERC165.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.4.0) (utils/introspection/IERC165.sol)\n\npragma solidity >=0.4.16;\n\n/**\n * @dev Interface of the ERC-165 standard, as defined in the\n * https://eips.ethereum.org/EIPS/eip-165[ERC].\n *\n * Implementers can declare support of contract interfaces, which can then be\n * queried by others ({ERC165Checker}).\n *\n * For an implementation, see {ERC165}.\n */\ninterface IERC165 {\n    /**\n     * @dev Returns true if this contract implements the interface defined by\n     * `interfaceId`. See the corresponding\n     * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[ERC section]\n     * to learn more about how these ids are created.\n     *\n     * This function call must use less than 30 000 gas.\n     */\n    function supportsInterface(bytes4 interfaceId) external view returns (bool);\n}\n"},"@openzeppelin/contracts/utils/cryptography/MessageHashUtils.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.5.0) (utils/cryptography/MessageHashUtils.sol)\n\npragma solidity ^0.8.24;\n\nimport {Strings} from \"../Strings.sol\";\n\n/**\n * @dev Signature message hash utilities for producing digests to be consumed by {ECDSA} recovery or signing.\n *\n * The library provides methods for generating a hash of a message that conforms to the\n * https://eips.ethereum.org/EIPS/eip-191[ERC-191] and https://eips.ethereum.org/EIPS/eip-712[EIP 712]\n * specifications.\n */\nlibrary MessageHashUtils {\n    error ERC5267ExtensionsNotSupported();\n\n    /**\n     * @dev Returns the keccak256 digest of an ERC-191 signed data with version\n     * `0x45` (`personal_sign` messages).\n     *\n     * The digest is calculated by prefixing a bytes32 `messageHash` with\n     * `\"\\x19Ethereum Signed Message:\\n32\"` and hashing the result. It corresponds with the\n     * hash signed when using the https://ethereum.org/en/developers/docs/apis/json-rpc/#eth_sign[`eth_sign`] JSON-RPC method.\n     *\n     * NOTE: The `messageHash` parameter is intended to be the result of hashing a raw message with\n     * keccak256, although any bytes32 value can be safely used because the final digest will\n     * be re-hashed.\n     *\n     * See {ECDSA-recover}.\n     */\n    function toEthSignedMessageHash(bytes32 messageHash) internal pure returns (bytes32 digest) {\n        assembly (\"memory-safe\") {\n            mstore(0x00, \"\\x19Ethereum Signed Message:\\n32\") // 32 is the bytes-length of messageHash\n            mstore(0x1c, messageHash) // 0x1c (28) is the length of the prefix\n            digest := keccak256(0x00, 0x3c) // 0x3c is the length of the prefix (0x1c) + messageHash (0x20)\n        }\n    }\n\n    /**\n     * @dev Returns the keccak256 digest of an ERC-191 signed data with version\n     * `0x45` (`personal_sign` messages).\n     *\n     * The digest is calculated by prefixing an arbitrary `message` with\n     * `\"\\x19Ethereum Signed Message:\\n\" + len(message)` and hashing the result. It corresponds with the\n     * hash signed when using the https://ethereum.org/en/developers/docs/apis/json-rpc/#eth_sign[`eth_sign`] JSON-RPC method.\n     *\n     * See {ECDSA-recover}.\n     */\n    function toEthSignedMessageHash(bytes memory message) internal pure returns (bytes32) {\n        return\n            keccak256(bytes.concat(\"\\x19Ethereum Signed Message:\\n\", bytes(Strings.toString(message.length)), message));\n    }\n\n    /**\n     * @dev Returns the keccak256 digest of an ERC-191 signed data with version\n     * `0x00` (data with intended validator).\n     *\n     * The digest is calculated by prefixing an arbitrary `data` with `\"\\x19\\x00\"` and the intended\n     * `validator` address. Then hashing the result.\n     *\n     * See {ECDSA-recover}.\n     */\n    function toDataWithIntendedValidatorHash(address validator, bytes memory data) internal pure returns (bytes32) {\n        return keccak256(abi.encodePacked(hex\"19_00\", validator, data));\n    }\n\n    /**\n     * @dev Variant of {toDataWithIntendedValidatorHash-address-bytes} optimized for cases where `data` is a bytes32.\n     */\n    function toDataWithIntendedValidatorHash(\n        address validator,\n        bytes32 messageHash\n    ) internal pure returns (bytes32 digest) {\n        assembly (\"memory-safe\") {\n            mstore(0x00, hex\"19_00\")\n            mstore(0x02, shl(96, validator))\n            mstore(0x16, messageHash)\n            digest := keccak256(0x00, 0x36)\n        }\n    }\n\n    /**\n     * @dev Returns the keccak256 digest of an EIP-712 typed data (ERC-191 version `0x01`).\n     *\n     * The digest is calculated from a `domainSeparator` and a `structHash`, by prefixing them with\n     * `\\x19\\x01` and hashing the result. It corresponds to the hash signed by the\n     * https://eips.ethereum.org/EIPS/eip-712[`eth_signTypedData`] JSON-RPC method as part of EIP-712.\n     *\n     * See {ECDSA-recover}.\n     */\n    function toTypedDataHash(bytes32 domainSeparator, bytes32 structHash) internal pure returns (bytes32 digest) {\n        assembly (\"memory-safe\") {\n            let ptr := mload(0x40)\n            mstore(ptr, hex\"19_01\")\n            mstore(add(ptr, 0x02), domainSeparator)\n            mstore(add(ptr, 0x22), structHash)\n            digest := keccak256(ptr, 0x42)\n        }\n    }\n\n    /**\n     * @dev Returns the EIP-712 domain separator constructed from an `eip712Domain`. See {IERC5267-eip712Domain}\n     *\n     * This function dynamically constructs the domain separator based on which fields are present in the\n     * `fields` parameter. It contains flags that indicate which domain fields are present:\n     *\n     * * Bit 0 (0x01): name\n     * * Bit 1 (0x02): version\n     * * Bit 2 (0x04): chainId\n     * * Bit 3 (0x08): verifyingContract\n     * * Bit 4 (0x10): salt\n     *\n     * Arguments that correspond to fields which are not present in `fields` are ignored. For example, if `fields` is\n     * `0x0f` (`0b01111`), then the `salt` parameter is ignored.\n     */\n    function toDomainSeparator(\n        bytes1 fields,\n        string memory name,\n        string memory version,\n        uint256 chainId,\n        address verifyingContract,\n        bytes32 salt\n    ) internal pure returns (bytes32 hash) {\n        return\n            toDomainSeparator(\n                fields,\n                keccak256(bytes(name)),\n                keccak256(bytes(version)),\n                chainId,\n                verifyingContract,\n                salt\n            );\n    }\n\n    /// @dev Variant of {toDomainSeparator-bytes1-string-string-uint256-address-bytes32} that uses hashed name and version.\n    function toDomainSeparator(\n        bytes1 fields,\n        bytes32 nameHash,\n        bytes32 versionHash,\n        uint256 chainId,\n        address verifyingContract,\n        bytes32 salt\n    ) internal pure returns (bytes32 hash) {\n        bytes32 domainTypeHash = toDomainTypeHash(fields);\n\n        assembly (\"memory-safe\") {\n            // align fields to the right for easy processing\n            fields := shr(248, fields)\n\n            // FMP used as scratch space\n            let fmp := mload(0x40)\n            mstore(fmp, domainTypeHash)\n\n            let ptr := add(fmp, 0x20)\n            if and(fields, 0x01) {\n                mstore(ptr, nameHash)\n                ptr := add(ptr, 0x20)\n            }\n            if and(fields, 0x02) {\n                mstore(ptr, versionHash)\n                ptr := add(ptr, 0x20)\n            }\n            if and(fields, 0x04) {\n                mstore(ptr, chainId)\n                ptr := add(ptr, 0x20)\n            }\n            if and(fields, 0x08) {\n                mstore(ptr, verifyingContract)\n                ptr := add(ptr, 0x20)\n            }\n            if and(fields, 0x10) {\n                mstore(ptr, salt)\n                ptr := add(ptr, 0x20)\n            }\n\n            hash := keccak256(fmp, sub(ptr, fmp))\n        }\n    }\n\n    /// @dev Builds an EIP-712 domain type hash depending on the `fields` provided, following https://eips.ethereum.org/EIPS/eip-5267[ERC-5267]\n    function toDomainTypeHash(bytes1 fields) internal pure returns (bytes32 hash) {\n        if (fields & 0x20 == 0x20) revert ERC5267ExtensionsNotSupported();\n\n        assembly (\"memory-safe\") {\n            // align fields to the right for easy processing\n            fields := shr(248, fields)\n\n            // FMP used as scratch space\n            let fmp := mload(0x40)\n            mstore(fmp, \"EIP712Domain(\")\n\n            let ptr := add(fmp, 0x0d)\n            // name field\n            if and(fields, 0x01) {\n                mstore(ptr, \"string name,\")\n                ptr := add(ptr, 0x0c)\n            }\n            // version field\n            if and(fields, 0x02) {\n                mstore(ptr, \"string version,\")\n                ptr := add(ptr, 0x0f)\n            }\n            // chainId field\n            if and(fields, 0x04) {\n                mstore(ptr, \"uint256 chainId,\")\n                ptr := add(ptr, 0x10)\n            }\n            // verifyingContract field\n            if and(fields, 0x08) {\n                mstore(ptr, \"address verifyingContract,\")\n                ptr := add(ptr, 0x1a)\n            }\n            // salt field\n            if and(fields, 0x10) {\n                mstore(ptr, \"bytes32 salt,\")\n                ptr := add(ptr, 0x0d)\n            }\n            // if any field is enabled, remove the trailing comma\n            ptr := sub(ptr, iszero(iszero(and(fields, 0x1f))))\n            // add the closing brace\n            mstore8(ptr, 0x29) // add closing brace\n            ptr := add(ptr, 1)\n\n            hash := keccak256(fmp, sub(ptr, fmp))\n        }\n    }\n}\n"},"@openzeppelin/contracts/utils/cryptography/SignatureChecker.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.5.0) (utils/cryptography/SignatureChecker.sol)\n\npragma solidity ^0.8.24;\n\nimport {ECDSA} from \"./ECDSA.sol\";\nimport {IERC1271} from \"../../interfaces/IERC1271.sol\";\nimport {IERC7913SignatureVerifier} from \"../../interfaces/IERC7913.sol\";\nimport {Bytes} from \"../Bytes.sol\";\n\n/**\n * @dev Signature verification helper that can be used instead of `ECDSA.recover` to seamlessly support:\n *\n * * ECDSA signatures from externally owned accounts (EOAs)\n * * ERC-1271 signatures from smart contract wallets like Argent and Safe Wallet (previously Gnosis Safe)\n * * ERC-7913 signatures from keys that do not have an Ethereum address of their own\n *\n * See https://eips.ethereum.org/EIPS/eip-1271[ERC-1271] and https://eips.ethereum.org/EIPS/eip-7913[ERC-7913].\n */\nlibrary SignatureChecker {\n    using Bytes for bytes;\n\n    /**\n     * @dev Checks if a signature is valid for a given signer and data hash. If the signer has code, the\n     * signature is validated against it using ERC-1271, otherwise it's validated using `ECDSA.recover`.\n     *\n     * NOTE: Unlike ECDSA signatures, contract signatures are revocable, and the outcome of this function can thus\n     * change through time. It could return true at block N and false at block N+1 (or the opposite).\n     *\n     * NOTE: For an extended version of this function that supports ERC-7913 signatures, see {isValidSignatureNow-bytes-bytes32-bytes-}.\n     */\n    function isValidSignatureNow(address signer, bytes32 hash, bytes memory signature) internal view returns (bool) {\n        if (signer.code.length == 0) {\n            (address recovered, ECDSA.RecoverError err, ) = ECDSA.tryRecover(hash, signature);\n            return err == ECDSA.RecoverError.NoError && recovered == signer;\n        } else {\n            return isValidERC1271SignatureNow(signer, hash, signature);\n        }\n    }\n\n    /**\n     * @dev Variant of {isValidSignatureNow} that takes a signature in calldata\n     */\n    function isValidSignatureNowCalldata(\n        address signer,\n        bytes32 hash,\n        bytes calldata signature\n    ) internal view returns (bool) {\n        if (signer.code.length == 0) {\n            (address recovered, ECDSA.RecoverError err, ) = ECDSA.tryRecoverCalldata(hash, signature);\n            return err == ECDSA.RecoverError.NoError && recovered == signer;\n        } else {\n            return isValidERC1271SignatureNowCalldata(signer, hash, signature);\n        }\n    }\n\n    /**\n     * @dev Checks if a signature is valid for a given signer and data hash. The signature is validated\n     * against the signer smart contract using ERC-1271.\n     *\n     * NOTE: Unlike ECDSA signatures, contract signatures are revocable, and the outcome of this function can thus\n     * change through time. It could return true at block N and false at block N+1 (or the opposite).\n     */\n    function isValidERC1271SignatureNow(\n        address signer,\n        bytes32 hash,\n        bytes memory signature\n    ) internal view returns (bool result) {\n        bytes4 selector = IERC1271.isValidSignature.selector;\n        uint256 length = signature.length;\n\n        assembly (\"memory-safe\") {\n            // Encoded calldata is :\n            // [ 0x00 - 0x03 ] <selector>\n            // [ 0x04 - 0x23 ] <hash>\n            // [ 0x24 - 0x43 ] <signature offset> (0x40)\n            // [ 0x44 - 0x63 ] <signature length>\n            // [ 0x64 - ...  ] <signature data>\n            let ptr := mload(0x40)\n            mstore(ptr, selector)\n            mstore(add(ptr, 0x04), hash)\n            mstore(add(ptr, 0x24), 0x40)\n            mcopy(add(ptr, 0x44), signature, add(length, 0x20))\n\n            let success := staticcall(gas(), signer, ptr, add(length, 0x64), 0x00, 0x20)\n            result := and(success, and(gt(returndatasize(), 0x1f), eq(mload(0x00), selector)))\n        }\n    }\n\n    function isValidERC1271SignatureNowCalldata(\n        address signer,\n        bytes32 hash,\n        bytes calldata signature\n    ) internal view returns (bool result) {\n        bytes4 selector = IERC1271.isValidSignature.selector;\n        uint256 length = signature.length;\n\n        assembly (\"memory-safe\") {\n            // Encoded calldata is :\n            // [ 0x00 - 0x03 ] <selector>\n            // [ 0x04 - 0x23 ] <hash>\n            // [ 0x24 - 0x43 ] <signature offset> (0x40)\n            // [ 0x44 - 0x63 ] <signature length>\n            // [ 0x64 - ...  ] <signature data>\n            let ptr := mload(0x40)\n            mstore(ptr, selector)\n            mstore(add(ptr, 0x04), hash)\n            mstore(add(ptr, 0x24), 0x40)\n            mstore(add(ptr, 0x44), length)\n            calldatacopy(add(ptr, 0x64), signature.offset, length)\n\n            let success := staticcall(gas(), signer, ptr, add(length, 0x64), 0x00, 0x20)\n            result := and(success, and(gt(returndatasize(), 0x1f), eq(mload(0x00), selector)))\n        }\n    }\n\n    /**\n     * @dev Verifies a signature for a given ERC-7913 signer and hash.\n     *\n     * The signer is a `bytes` object that is the concatenation of an address and optionally a key:\n     * `verifier || key`. A signer must be at least 20 bytes long.\n     *\n     * Verification is done as follows:\n     *\n     * * If `signer.length < 20`: verification fails\n     * * If `signer.length == 20`: verification is done using {isValidSignatureNow}\n     * * Otherwise: verification is done using {IERC7913SignatureVerifier}\n     *\n     * NOTE: Unlike ECDSA signatures, contract signatures are revocable, and the outcome of this function can thus\n     * change through time. It could return true at block N and false at block N+1 (or the opposite).\n     */\n    function isValidSignatureNow(\n        bytes memory signer,\n        bytes32 hash,\n        bytes memory signature\n    ) internal view returns (bool) {\n        if (signer.length < 20) {\n            return false;\n        } else if (signer.length == 20) {\n            return isValidSignatureNow(address(bytes20(signer)), hash, signature);\n        } else {\n            (bool success, bytes memory result) = address(bytes20(signer)).staticcall(\n                abi.encodeCall(IERC7913SignatureVerifier.verify, (signer.slice(20), hash, signature))\n            );\n            return (success &&\n                result.length >= 32 &&\n                abi.decode(result, (bytes32)) == bytes32(IERC7913SignatureVerifier.verify.selector));\n        }\n    }\n\n    /**\n     * @dev Verifies multiple ERC-7913 `signatures` for a given `hash` using a set of `signers`.\n     * Returns `false` if the number of signers and signatures is not the same.\n     *\n     * The signers should be ordered by their `keccak256` hash to ensure efficient duplication check. Unordered\n     * signers are supported, but the uniqueness check will be more expensive.\n     *\n     * NOTE: Unlike ECDSA signatures, contract signatures are revocable, and the outcome of this function can thus\n     * change through time. It could return true at block N and false at block N+1 (or the opposite).\n     */\n    function areValidSignaturesNow(\n        bytes32 hash,\n        bytes[] memory signers,\n        bytes[] memory signatures\n    ) internal view returns (bool) {\n        if (signers.length != signatures.length) return false;\n\n        bytes32 lastId = bytes32(0);\n\n        for (uint256 i = 0; i < signers.length; ++i) {\n            bytes memory signer = signers[i];\n\n            // If one of the signatures is invalid, reject the batch\n            if (!isValidSignatureNow(signer, hash, signatures[i])) return false;\n\n            bytes32 id = keccak256(signer);\n            // If the current signer ID is greater than all previous IDs, then this is a new signer.\n            if (lastId < id) {\n                lastId = id;\n            } else {\n                // If this signer id is not greater than all the previous ones, verify that it is not a duplicate of a previous one\n                // This loop is never executed if the signers are ordered by id.\n                for (uint256 j = 0; j < i; ++j) {\n                    if (id == keccak256(signers[j])) return false;\n                }\n            }\n        }\n\n        return true;\n    }\n}\n"}},"language":"Solidity","settings":{"viaIR":true,"optimizer":{"runs":1000,"enabled":true},"evmVersion":"cancun"}},"stdJsonOutput":{"sources":{"src/Vault.sol":{"id":44},"lib/LibSwap.sol":{"id":38},"lib/NativeETH.sol":{"id":39},"lib/FeeStructs.sol":{"id":37},"src/Dispatcher.sol":{"id":41},"src/TychoRouterV3.sol":{"id":43},"src/TransferManager.sol":{"id":42},"@interfaces/ICallback.sol":{"id":0},"@interfaces/IExecutor.sol":{"id":1},"@interfaces/IFeeCalculator.sol":{"id":2},"@permit2/src/interfaces/IEIP712.sol":{"id":36},"@openzeppelin/contracts/utils/Bytes.sol":{"id":16},"@openzeppelin/contracts/utils/Panic.sol":{"id":20},"@openzeppelin/contracts/utils/Errors.sol":{"id":18},"@openzeppelin/contracts/utils/Address.sol":{"id":15},"@openzeppelin/contracts/utils/Context.sol":{"id":17},"@openzeppelin/contracts/utils/Strings.sol":{"id":25},"@openzeppelin/contracts/utils/Pausable.sol":{"id":21},"@openzeppelin/contracts/utils/math/Math.sol":{"id":32},"@openzeppelin/contracts/interfaces/IERC20.sol":{"id":8},"@openzeppelin/contracts/utils/StorageSlot.sol":{"id":24},"lib/bytes/LibPrefixLengthEncodedByteArray.sol":{"id":40},"@openzeppelin/contracts/interfaces/IERC165.sol":{"id":7},"@openzeppelin/contracts/token/ERC20/IERC20.sol":{"id":12},"@openzeppelin/contracts/utils/LowLevelCall.sol":{"id":19},"@openzeppelin/contracts/utils/ShortStrings.sol":{"id":23},"@permit2/src/interfaces/IAllowanceTransfer.sol":{"id":35},"@openzeppelin/contracts/interfaces/IERC1271.sol":{"id":5},"@openzeppelin/contracts/interfaces/IERC1363.sol":{"id":6},"@openzeppelin/contracts/interfaces/IERC5267.sol":{"id":9},"@openzeppelin/contracts/interfaces/IERC6909.sol":{"id":10},"@openzeppelin/contracts/interfaces/IERC7913.sol":{"id":11},"@openzeppelin/contracts/utils/math/SafeCast.sol":{"id":33},"@openzeppelin/contracts/access/AccessControl.sol":{"id":3},"@openzeppelin/contracts/access/IAccessControl.sol":{"id":4},"@openzeppelin/contracts/token/ERC6909/ERC6909.sol":{"id":14},"@openzeppelin/contracts/utils/ReentrancyGuard.sol":{"id":22},"@openzeppelin/contracts/utils/math/SignedMath.sol":{"id":34},"@openzeppelin/contracts/utils/cryptography/ECDSA.sol":{"id":26},"@openzeppelin/contracts/utils/cryptography/EIP712.sol":{"id":27},"@openzeppelin/contracts/utils/introspection/ERC165.sol":{"id":30},"@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol":{"id":13},"@openzeppelin/contracts/utils/introspection/IERC165.sol":{"id":31},"@openzeppelin/contracts/utils/cryptography/MessageHashUtils.sol":{"id":28},"@openzeppelin/contracts/utils/cryptography/SignatureChecker.sol":{"id":29}},"contracts":{"src/TychoRouterV3.sol":{"TychoRouterV3":{"abi":[{"type":"constructor","inputs":[{"name":"permit2_","type":"address","internalType":"address"},{"name":"feeCalculator","type":"address","internalType":"address"},{"name":"pauserAdmin","type":"address","internalType":"address"},{"name":"unpauserAdmin","type":"address","internalType":"address"},{"name":"executorSetterAdmin","type":"address","internalType":"address"},{"name":"routerFeeSetterAdmin","type":"address","internalType":"address"}],"stateMutability":"nonpayable"},{"name":"AccessControlBadConfirmation","type":"error","inputs":[]},{"name":"AccessControlUnauthorizedAccount","type":"error","inputs":[{"name":"account","type":"address","internalType":"address"},{"name":"neededRole","type":"bytes32","internalType":"bytes32"}]},{"name":"Dispatcher__CallbackReverted","type":"error","inputs":[{"name":"executor","type":"address","internalType":"address"}]},{"name":"Dispatcher__ExecutorAlreadyExists","type":"error","inputs":[{"name":"executor","type":"address","internalType":"address"}]},{"name":"Dispatcher__ExecutorIsTimelocked","type":"error","inputs":[{"name":"executor","type":"address","internalType":"address"}]},{"name":"Dispatcher__NonContractExecutor","type":"error","inputs":[]},{"name":"Dispatcher__SwapReverted","type":"error","inputs":[{"name":"executor","type":"address","internalType":"address"}]},{"name":"Dispatcher__UnapprovedExecutor","type":"error","inputs":[{"name":"executor","type":"address","internalType":"address"}]},{"name":"Dispatcher__UnsupportedSingleHopCycle","type":"error","inputs":[{"name":"token","type":"address","internalType":"address"}]},{"name":"ERC6909InsufficientAllowance","type":"error","inputs":[{"name":"spender","type":"address","internalType":"address"},{"name":"allowance","type":"uint256","internalType":"uint256"},{"name":"needed","type":"uint256","internalType":"uint256"},{"name":"id","type":"uint256","internalType":"uint256"}]},{"name":"ERC6909InsufficientBalance","type":"error","inputs":[{"name":"sender","type":"address","internalType":"address"},{"name":"balance","type":"uint256","internalType":"uint256"},{"name":"needed","type":"uint256","internalType":"uint256"},{"name":"id","type":"uint256","internalType":"uint256"}]},{"name":"ERC6909InvalidApprover","type":"error","inputs":[{"name":"approver","type":"address","internalType":"address"}]},{"name":"ERC6909InvalidReceiver","type":"error","inputs":[{"name":"receiver","type":"address","internalType":"address"}]},{"name":"ERC6909InvalidSender","type":"error","inputs":[{"name":"sender","type":"address","internalType":"address"}]},{"name":"ERC6909InvalidSpender","type":"error","inputs":[{"name":"spender","type":"address","internalType":"address"}]},{"name":"EnforcedPause","type":"error","inputs":[]},{"name":"ExpectedPause","type":"error","inputs":[]},{"name":"FailedCall","type":"error","inputs":[]},{"name":"InsufficientBalance","type":"error","inputs":[{"name":"balance","type":"uint256","internalType":"uint256"},{"name":"needed","type":"uint256","internalType":"uint256"}]},{"name":"InvalidShortString","type":"error","inputs":[]},{"name":"ReentrancyGuardReentrantCall","type":"error","inputs":[]},{"name":"SafeERC20FailedOperation","type":"error","inputs":[{"name":"token","type":"address","internalType":"address"}]},{"name":"StringTooLong","type":"error","inputs":[{"name":"str","type":"string","internalType":"string"}]},{"name":"TransferManager__DifferentTokenIn","type":"error","inputs":[{"name":"tokenIn","type":"address","internalType":"address"},{"name":"tokenInStorage","type":"address","internalType":"address"}]},{"name":"TransferManager__ExceededTransferFromAllowance","type":"error","inputs":[{"name":"allowedAmount","type":"uint256","internalType":"uint256"},{"name":"amountAttempted","type":"uint256","internalType":"uint256"}]},{"name":"TransferManager__NotAContract","type":"error","inputs":[{"name":"addr","type":"address","internalType":"address"}]},{"name":"TransferManager__UnknownTransferType","type":"error","inputs":[]},{"name":"TychoRouter__AddressZero","type":"error","inputs":[]},{"name":"TychoRouter__AmountOutZero","type":"error","inputs":[]},{"name":"TychoRouter__EmptySwaps","type":"error","inputs":[]},{"name":"TychoRouter__ExpiredClientSignature","type":"error","inputs":[{"name":"deadline","type":"uint256","internalType":"uint256"},{"name":"blockTimestamp","type":"uint256","internalType":"uint256"}]},{"name":"TychoRouter__FeesExceedOutput","type":"error","inputs":[{"name":"totalFees","type":"uint256","internalType":"uint256"},{"name":"actualAmountOut","type":"uint256","internalType":"uint256"}]},{"name":"TychoRouter__InvalidClientSignature","type":"error","inputs":[]},{"name":"TychoRouter__InvalidMinAmountOut","type":"error","inputs":[{"name":"minAmountOut","type":"uint256","internalType":"uint256"},{"name":"expectedAmountOut","type":"uint256","internalType":"uint256"}]},{"name":"TychoRouter__MsgValueDoesNotMatchAmountIn","type":"error","inputs":[{"name":"msgValue","type":"uint256","internalType":"uint256"},{"name":"amountIn","type":"uint256","internalType":"uint256"}]},{"name":"TychoRouter__NegativeOutputDelta","type":"error","inputs":[{"name":"amount","type":"int256","internalType":"int256"}]},{"name":"TychoRouter__NegativeSlippage","type":"error","inputs":[{"name":"amount","type":"uint256","internalType":"uint256"},{"name":"minAmount","type":"uint256","internalType":"uint256"}]},{"name":"TychoRouter__NoPendingFeeCalculator","type":"error","inputs":[]},{"name":"TychoRouter__NotAContract","type":"error","inputs":[{"name":"addr","type":"address","internalType":"address"}]},{"name":"TychoRouter__TimelockNotExpired","type":"error","inputs":[{"name":"activationTimestamp","type":"uint256","internalType":"uint256"},{"name":"blockTimestamp","type":"uint256","internalType":"uint256"}]},{"name":"TychoRouter__ZeroInput","type":"error","inputs":[]},{"name":"Vault__AddressZero","type":"error","inputs":[]},{"name":"Vault__AmountZero","type":"error","inputs":[]},{"name":"Vault__InsufficientBalance","type":"error","inputs":[{"name":"user","type":"address","internalType":"address"},{"name":"token","type":"address","internalType":"address"},{"name":"requested","type":"uint256","internalType":"uint256"},{"name":"available","type":"uint256","internalType":"uint256"}]},{"name":"Vault__UnexpectedInputDelta","type":"error","inputs":[{"name":"inputDelta","type":"int256","internalType":"int256"}]},{"name":"Vault__UnexpectedNonZeroCount","type":"error","inputs":[{"name":"nonZeroCount","type":"uint256","internalType":"uint256"}]},{"name":"Approval","type":"event","inputs":[{"name":"owner","type":"address","indexed":true,"internalType":"address"},{"name":"spender","type":"address","indexed":true,"internalType":"address"},{"name":"id","type":"uint256","indexed":true,"internalType":"uint256"},{"name":"amount","type":"uint256","indexed":false,"internalType":"uint256"}],"anonymous":false},{"name":"EIP712DomainChanged","type":"event","inputs":[],"anonymous":false},{"name":"ExecutorRemoved","type":"event","inputs":[{"name":"executor","type":"address","indexed":true,"internalType":"address"}],"anonymous":false},{"name":"ExecutorSet","type":"event","inputs":[{"name":"executor","type":"address","indexed":true,"internalType":"address"},{"name":"timelockExpiresAt","type":"uint256","indexed":false,"internalType":"uint256"}],"anonymous":false},{"name":"FeeCalculatorActivated","type":"event","inputs":[{"name":"oldCalculator","type":"address","indexed":true,"internalType":"address"},{"name":"newCalculator","type":"address","indexed":true,"internalType":"address"}],"anonymous":false},{"name":"FeeCalculatorSet","type":"event","inputs":[{"name":"feeCalculator","type":"address","indexed":true,"internalType":"address"},{"name":"timelockExpiresAt","type":"uint256","indexed":false,"internalType":"uint256"}],"anonymous":false},{"name":"FeesTaken","type":"event","inputs":[{"name":"token","type":"address","indexed":true,"internalType":"address"},{"name":"fees","type":"tuple[]","indexed":false,"components":[{"name":"recipient","type":"address","internalType":"address"},{"name":"feeAmount","type":"uint256","internalType":"uint256"}],"internalType":"struct FeeRecipient[]"}],"anonymous":false},{"name":"OperatorSet","type":"event","inputs":[{"name":"owner","type":"address","indexed":true,"internalType":"address"},{"name":"spender","type":"address","indexed":true,"internalType":"address"},{"name":"approved","type":"bool","indexed":false,"internalType":"bool"}],"anonymous":false},{"name":"Paused","type":"event","inputs":[{"name":"account","type":"address","indexed":false,"internalType":"address"}],"anonymous":false},{"name":"RoleAdminChanged","type":"event","inputs":[{"name":"role","type":"bytes32","indexed":true,"internalType":"bytes32"},{"name":"previousAdminRole","type":"bytes32","indexed":true,"internalType":"bytes32"},{"name":"newAdminRole","type":"bytes32","indexed":true,"internalType":"bytes32"}],"anonymous":false},{"name":"RoleGranted","type":"event","inputs":[{"name":"role","type":"bytes32","indexed":true,"internalType":"bytes32"},{"name":"account","type":"address","indexed":true,"internalType":"address"},{"name":"sender","type":"address","indexed":true,"internalType":"address"}],"anonymous":false},{"name":"RoleRevoked","type":"event","inputs":[{"name":"role","type":"bytes32","indexed":true,"internalType":"bytes32"},{"name":"account","type":"address","indexed":true,"internalType":"address"},{"name":"sender","type":"address","indexed":true,"internalType":"address"}],"anonymous":false},{"name":"Transfer","type":"event","inputs":[{"name":"caller","type":"address","indexed":false,"internalType":"address"},{"name":"sender","type":"address","indexed":true,"internalType":"address"},{"name":"receiver","type":"address","indexed":true,"internalType":"address"},{"name":"id","type":"uint256","indexed":true,"internalType":"uint256"},{"name":"amount","type":"uint256","indexed":false,"internalType":"uint256"}],"anonymous":false},{"name":"Unpaused","type":"event","inputs":[{"name":"account","type":"address","indexed":false,"internalType":"address"}],"anonymous":false},{"name":"Withdrawal","type":"event","inputs":[{"name":"token","type":"address","indexed":true,"internalType":"address"},{"name":"amount","type":"uint256","indexed":false,"internalType":"uint256"},{"name":"receiver","type":"address","indexed":true,"internalType":"address"}],"anonymous":false},{"type":"fallback","stateMutability":"nonpayable"},{"name":"CLIENT_FEE_TYPEHASH","type":"function","inputs":[],"outputs":[{"name":"","type":"bytes32","internalType":"bytes32"}],"stateMutability":"view"},{"name":"DEFAULT_ADMIN_ROLE","type":"function","inputs":[],"outputs":[{"name":"","type":"bytes32","internalType":"bytes32"}],"stateMutability":"view"},{"name":"DELAY_EXECUTOR_ACTIVATION","type":"function","inputs":[],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"DELAY_FEE_CALCULATOR_ACTIVATION","type":"function","inputs":[],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"EXECUTOR_SETTER_ROLE","type":"function","inputs":[],"outputs":[{"name":"","type":"bytes32","internalType":"bytes32"}],"stateMutability":"view"},{"name":"PAUSER_ROLE","type":"function","inputs":[],"outputs":[{"name":"","type":"bytes32","internalType":"bytes32"}],"stateMutability":"view"},{"name":"ROUTER_FEE_SETTER_ROLE","type":"function","inputs":[],"outputs":[{"name":"","type":"bytes32","internalType":"bytes32"}],"stateMutability":"view"},{"name":"UNPAUSER_ROLE","type":"function","inputs":[],"outputs":[{"name":"","type":"bytes32","internalType":"bytes32"}],"stateMutability":"view"},{"name":"activateFeeCalculator","type":"function","inputs":[],"outputs":[],"stateMutability":"nonpayable"},{"name":"allowance","type":"function","inputs":[{"name":"owner","type":"address","internalType":"address"},{"name":"spender","type":"address","internalType":"address"},{"name":"id","type":"uint256","internalType":"uint256"}],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"approve","type":"function","inputs":[{"name":"spender","type":"address","internalType":"address"},{"name":"id","type":"uint256","internalType":"uint256"},{"name":"amount","type":"uint256","internalType":"uint256"}],"outputs":[{"name":"","type":"bool","internalType":"bool"}],"stateMutability":"nonpayable"},{"name":"balanceOf","type":"function","inputs":[{"name":"owner","type":"address","internalType":"address"},{"name":"id","type":"uint256","internalType":"uint256"}],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"deposit","type":"function","inputs":[{"name":"token","type":"address","internalType":"address"},{"name":"amount","type":"uint256","internalType":"uint256"}],"outputs":[],"stateMutability":"payable"},{"name":"eip712Domain","type":"function","inputs":[],"outputs":[{"name":"fields","type":"bytes1","internalType":"bytes1"},{"name":"name","type":"string","internalType":"string"},{"name":"version","type":"string","internalType":"string"},{"name":"chainId","type":"uint256","internalType":"uint256"},{"name":"verifyingContract","type":"address","internalType":"address"},{"name":"salt","type":"bytes32","internalType":"bytes32"},{"name":"extensions","type":"uint256[]","internalType":"uint256[]"}],"stateMutability":"view"},{"name":"executorsActivationTimestamp","type":"function","inputs":[{"name":"","type":"address","internalType":"address"}],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"getFeeCalculator","type":"function","inputs":[],"outputs":[{"name":"","type":"address","internalType":"address"}],"stateMutability":"view"},{"name":"getPendingFeeCalculator","type":"function","inputs":[],"outputs":[{"name":"","type":"address","internalType":"address"},{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"getRoleAdmin","type":"function","inputs":[{"name":"role","type":"bytes32","internalType":"bytes32"}],"outputs":[{"name":"","type":"bytes32","internalType":"bytes32"}],"stateMutability":"view"},{"name":"grantRole","type":"function","inputs":[{"name":"role","type":"bytes32","internalType":"bytes32"},{"name":"account","type":"address","internalType":"address"}],"outputs":[],"stateMutability":"nonpayable"},{"name":"hasRole","type":"function","inputs":[{"name":"role","type":"bytes32","internalType":"bytes32"},{"name":"account","type":"address","internalType":"address"}],"outputs":[{"name":"","type":"bool","internalType":"bool"}],"stateMutability":"view"},{"name":"isOperator","type":"function","inputs":[{"name":"owner","type":"address","internalType":"address"},{"name":"spender","type":"address","internalType":"address"}],"outputs":[{"name":"","type":"bool","internalType":"bool"}],"stateMutability":"view"},{"name":"pause","type":"function","inputs":[],"outputs":[],"stateMutability":"nonpayable"},{"name":"paused","type":"function","inputs":[],"outputs":[{"name":"","type":"bool","internalType":"bool"}],"stateMutability":"view"},{"name":"permit2","type":"function","inputs":[],"outputs":[{"name":"","type":"address","internalType":"contract IAllowanceTransfer"}],"stateMutability":"view"},{"name":"removeExecutor","type":"function","inputs":[{"name":"target","type":"address","internalType":"address"}],"outputs":[],"stateMutability":"nonpayable"},{"name":"renounceRole","type":"function","inputs":[{"name":"role","type":"bytes32","internalType":"bytes32"},{"name":"callerConfirmation","type":"address","internalType":"address"}],"outputs":[],"stateMutability":"nonpayable"},{"name":"revokeRole","type":"function","inputs":[{"name":"role","type":"bytes32","internalType":"bytes32"},{"name":"account","type":"address","internalType":"address"}],"outputs":[],"stateMutability":"nonpayable"},{"name":"sequentialSwap","type":"function","inputs":[{"name":"amountIn","type":"uint256","internalType":"uint256"},{"name":"tokenIn","type":"address","internalType":"address"},{"name":"tokenOut","type":"address","internalType":"address"},{"name":"expectedAmountOut","type":"uint256","internalType":"uint256"},{"name":"minAmountOut","type":"uint256","internalType":"uint256"},{"name":"receiver","type":"address","internalType":"address"},{"name":"clientFeeParams","type":"tuple","components":[{"name":"clientFeeBps","type":"uint32","internalType":"uint32"},{"name":"clientFeeReceiver","type":"address","internalType":"address"},{"name":"maxClientContribution","type":"uint256","internalType":"uint256"},{"name":"deadline","type":"uint256","internalType":"uint256"},{"name":"clientSignature","type":"bytes","internalType":"bytes"}],"internalType":"struct ClientFeeParams"},{"name":"swaps","type":"bytes","internalType":"bytes"}],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"payable"},{"name":"sequentialSwapPermit2","type":"function","inputs":[{"name":"amountIn","type":"uint256","internalType":"uint256"},{"name":"tokenIn","type":"address","internalType":"address"},{"name":"tokenOut","type":"address","internalType":"address"},{"name":"expectedAmountOut","type":"uint256","internalType":"uint256"},{"name":"minAmountOut","type":"uint256","internalType":"uint256"},{"name":"receiver","type":"address","internalType":"address"},{"name":"clientFeeParams","type":"tuple","components":[{"name":"clientFeeBps","type":"uint32","internalType":"uint32"},{"name":"clientFeeReceiver","type":"address","internalType":"address"},{"name":"maxClientContribution","type":"uint256","internalType":"uint256"},{"name":"deadline","type":"uint256","internalType":"uint256"},{"name":"clientSignature","type":"bytes","internalType":"bytes"}],"internalType":"struct ClientFeeParams"},{"name":"permitSingle","type":"tuple","components":[{"name":"details","type":"tuple","components":[{"name":"token","type":"address","internalType":"address"},{"name":"amount","type":"uint160","internalType":"uint160"},{"name":"expiration","type":"uint48","internalType":"uint48"},{"name":"nonce","type":"uint48","internalType":"uint48"}],"internalType":"struct IAllowanceTransfer.PermitDetails"},{"name":"spender","type":"address","internalType":"address"},{"name":"sigDeadline","type":"uint256","internalType":"uint256"}],"internalType":"struct IAllowanceTransfer.PermitSingle"},{"name":"signature","type":"bytes","internalType":"bytes"},{"name":"swaps","type":"bytes","internalType":"bytes"}],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"nonpayable"},{"name":"sequentialSwapUsingVault","type":"function","inputs":[{"name":"amountIn","type":"uint256","internalType":"uint256"},{"name":"tokenIn","type":"address","internalType":"address"},{"name":"tokenOut","type":"address","internalType":"address"},{"name":"expectedAmountOut","type":"uint256","internalType":"uint256"},{"name":"minAmountOut","type":"uint256","internalType":"uint256"},{"name":"receiver","type":"address","internalType":"address"},{"name":"clientFeeParams","type":"tuple","components":[{"name":"clientFeeBps","type":"uint32","internalType":"uint32"},{"name":"clientFeeReceiver","type":"address","internalType":"address"},{"name":"maxClientContribution","type":"uint256","internalType":"uint256"},{"name":"deadline","type":"uint256","internalType":"uint256"},{"name":"clientSignature","type":"bytes","internalType":"bytes"}],"internalType":"struct ClientFeeParams"},{"name":"swaps","type":"bytes","internalType":"bytes"}],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"nonpayable"},{"name":"setExecutors","type":"function","inputs":[{"name":"targets","type":"address[]","internalType":"address[]"}],"outputs":[],"stateMutability":"nonpayable"},{"name":"setFeeCalculator","type":"function","inputs":[{"name":"feeCalculator","type":"address","internalType":"address"}],"outputs":[],"stateMutability":"nonpayable"},{"name":"setOperator","type":"function","inputs":[{"name":"spender","type":"address","internalType":"address"},{"name":"approved","type":"bool","internalType":"bool"}],"outputs":[{"name":"","type":"bool","internalType":"bool"}],"stateMutability":"nonpayable"},{"name":"singleSwap","type":"function","inputs":[{"name":"amountIn","type":"uint256","internalType":"uint256"},{"name":"tokenIn","type":"address","internalType":"address"},{"name":"tokenOut","type":"address","internalType":"address"},{"name":"expectedAmountOut","type":"uint256","internalType":"uint256"},{"name":"minAmountOut","type":"uint256","internalType":"uint256"},{"name":"receiver","type":"address","internalType":"address"},{"name":"clientFeeParams","type":"tuple","components":[{"name":"clientFeeBps","type":"uint32","internalType":"uint32"},{"name":"clientFeeReceiver","type":"address","internalType":"address"},{"name":"maxClientContribution","type":"uint256","internalType":"uint256"},{"name":"deadline","type":"uint256","internalType":"uint256"},{"name":"clientSignature","type":"bytes","internalType":"bytes"}],"internalType":"struct ClientFeeParams"},{"name":"swapData","type":"bytes","internalType":"bytes"}],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"payable"},{"name":"singleSwapPermit2","type":"function","inputs":[{"name":"amountIn","type":"uint256","internalType":"uint256"},{"name":"tokenIn","type":"address","internalType":"address"},{"name":"tokenOut","type":"address","internalType":"address"},{"name":"expectedAmountOut","type":"uint256","internalType":"uint256"},{"name":"minAmountOut","type":"uint256","internalType":"uint256"},{"name":"receiver","type":"address","internalType":"address"},{"name":"clientFeeParams","type":"tuple","components":[{"name":"clientFeeBps","type":"uint32","internalType":"uint32"},{"name":"clientFeeReceiver","type":"address","internalType":"address"},{"name":"maxClientContribution","type":"uint256","internalType":"uint256"},{"name":"deadline","type":"uint256","internalType":"uint256"},{"name":"clientSignature","type":"bytes","internalType":"bytes"}],"internalType":"struct ClientFeeParams"},{"name":"permitSingle","type":"tuple","components":[{"name":"details","type":"tuple","components":[{"name":"token","type":"address","internalType":"address"},{"name":"amount","type":"uint160","internalType":"uint160"},{"name":"expiration","type":"uint48","internalType":"uint48"},{"name":"nonce","type":"uint48","internalType":"uint48"}],"internalType":"struct IAllowanceTransfer.PermitDetails"},{"name":"spender","type":"address","internalType":"address"},{"name":"sigDeadline","type":"uint256","internalType":"uint256"}],"internalType":"struct IAllowanceTransfer.PermitSingle"},{"name":"signature","type":"bytes","internalType":"bytes"},{"name":"swapData","type":"bytes","internalType":"bytes"}],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"nonpayable"},{"name":"singleSwapUsingVault","type":"function","inputs":[{"name":"amountIn","type":"uint256","internalType":"uint256"},{"name":"tokenIn","type":"address","internalType":"address"},{"name":"tokenOut","type":"address","internalType":"address"},{"name":"expectedAmountOut","type":"uint256","internalType":"uint256"},{"name":"minAmountOut","type":"uint256","internalType":"uint256"},{"name":"receiver","type":"address","internalType":"address"},{"name":"clientFeeParams","type":"tuple","components":[{"name":"clientFeeBps","type":"uint32","internalType":"uint32"},{"name":"clientFeeReceiver","type":"address","internalType":"address"},{"name":"maxClientContribution","type":"uint256","internalType":"uint256"},{"name":"deadline","type":"uint256","internalType":"uint256"},{"name":"clientSignature","type":"bytes","internalType":"bytes"}],"internalType":"struct ClientFeeParams"},{"name":"swapData","type":"bytes","internalType":"bytes"}],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"nonpayable"},{"name":"splitSwap","type":"function","inputs":[{"name":"amountIn","type":"uint256","internalType":"uint256"},{"name":"tokenIn","type":"address","internalType":"address"},{"name":"tokenOut","type":"address","internalType":"address"},{"name":"expectedAmountOut","type":"uint256","internalType":"uint256"},{"name":"minAmountOut","type":"uint256","internalType":"uint256"},{"name":"nTokens","type":"uint256","internalType":"uint256"},{"name":"receiver","type":"address","internalType":"address"},{"name":"clientFeeParams","type":"tuple","components":[{"name":"clientFeeBps","type":"uint32","internalType":"uint32"},{"name":"clientFeeReceiver","type":"address","internalType":"address"},{"name":"maxClientContribution","type":"uint256","internalType":"uint256"},{"name":"deadline","type":"uint256","internalType":"uint256"},{"name":"clientSignature","type":"bytes","internalType":"bytes"}],"internalType":"struct ClientFeeParams"},{"name":"swaps","type":"bytes","internalType":"bytes"}],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"payable"},{"name":"splitSwapPermit2","type":"function","inputs":[{"name":"amountIn","type":"uint256","internalType":"uint256"},{"name":"tokenIn","type":"address","internalType":"address"},{"name":"tokenOut","type":"address","internalType":"address"},{"name":"expectedAmountOut","type":"uint256","internalType":"uint256"},{"name":"minAmountOut","type":"uint256","internalType":"uint256"},{"name":"nTokens","type":"uint256","internalType":"uint256"},{"name":"receiver","type":"address","internalType":"address"},{"name":"clientFeeParams","type":"tuple","components":[{"name":"clientFeeBps","type":"uint32","internalType":"uint32"},{"name":"clientFeeReceiver","type":"address","internalType":"address"},{"name":"maxClientContribution","type":"uint256","internalType":"uint256"},{"name":"deadline","type":"uint256","internalType":"uint256"},{"name":"clientSignature","type":"bytes","internalType":"bytes"}],"internalType":"struct ClientFeeParams"},{"name":"permitSingle","type":"tuple","components":[{"name":"details","type":"tuple","components":[{"name":"token","type":"address","internalType":"address"},{"name":"amount","type":"uint160","internalType":"uint160"},{"name":"expiration","type":"uint48","internalType":"uint48"},{"name":"nonce","type":"uint48","internalType":"uint48"}],"internalType":"struct IAllowanceTransfer.PermitDetails"},{"name":"spender","type":"address","internalType":"address"},{"name":"sigDeadline","type":"uint256","internalType":"uint256"}],"internalType":"struct IAllowanceTransfer.PermitSingle"},{"name":"signature","type":"bytes","internalType":"bytes"},{"name":"swaps","type":"bytes","internalType":"bytes"}],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"nonpayable"},{"name":"splitSwapUsingVault","type":"function","inputs":[{"name":"amountIn","type":"uint256","internalType":"uint256"},{"name":"tokenIn","type":"address","internalType":"address"},{"name":"tokenOut","type":"address","internalType":"address"},{"name":"expectedAmountOut","type":"uint256","internalType":"uint256"},{"name":"minAmountOut","type":"uint256","internalType":"uint256"},{"name":"nTokens","type":"uint256","internalType":"uint256"},{"name":"receiver","type":"address","internalType":"address"},{"name":"clientFeeParams","type":"tuple","components":[{"name":"clientFeeBps","type":"uint32","internalType":"uint32"},{"name":"clientFeeReceiver","type":"address","internalType":"address"},{"name":"maxClientContribution","type":"uint256","internalType":"uint256"},{"name":"deadline","type":"uint256","internalType":"uint256"},{"name":"clientSignature","type":"bytes","internalType":"bytes"}],"internalType":"struct ClientFeeParams"},{"name":"swaps","type":"bytes","internalType":"bytes"}],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"nonpayable"},{"name":"supportsInterface","type":"function","inputs":[{"name":"interfaceId","type":"bytes4","internalType":"bytes4"}],"outputs":[{"name":"","type":"bool","internalType":"bool"}],"stateMutability":"view"},{"name":"transfer","type":"function","inputs":[{"name":"receiver","type":"address","internalType":"address"},{"name":"id","type":"uint256","internalType":"uint256"},{"name":"amount","type":"uint256","internalType":"uint256"}],"outputs":[{"name":"","type":"bool","internalType":"bool"}],"stateMutability":"nonpayable"},{"name":"transferFrom","type":"function","inputs":[{"name":"sender","type":"address","internalType":"address"},{"name":"receiver","type":"address","internalType":"address"},{"name":"id","type":"uint256","internalType":"uint256"},{"name":"amount","type":"uint256","internalType":"uint256"}],"outputs":[{"name":"","type":"bool","internalType":"bool"}],"stateMutability":"nonpayable"},{"name":"unpause","type":"function","inputs":[],"outputs":[],"stateMutability":"nonpayable"},{"name":"withdraw","type":"function","inputs":[{"name":"token","type":"address","internalType":"address"},{"name":"amount","type":"uint256","internalType":"uint256"}],"outputs":[],"stateMutability":"nonpayable"},{"type":"receive","stateMutability":"payable"}],"metadata":"{\"compiler\":{\"version\":\"0.8.33+commit.64118f21\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[{\"internalType\":\"address\",\"name\":\"permit2_\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"feeCalculator\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"pauserAdmin\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"unpauserAdmin\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"executorSetterAdmin\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"routerFeeSetterAdmin\",\"type\":\"address\"}],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"inputs\":[],\"name\":\"AccessControlBadConfirmation\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"},{\"internalType\":\"bytes32\",\"name\":\"neededRole\",\"type\":\"bytes32\"}],\"name\":\"AccessControlUnauthorizedAccount\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"executor\",\"type\":\"address\"}],\"name\":\"Dispatcher__CallbackReverted\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"executor\",\"type\":\"address\"}],\"name\":\"Dispatcher__ExecutorAlreadyExists\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"executor\",\"type\":\"address\"}],\"name\":\"Dispatcher__ExecutorIsTimelocked\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"Dispatcher__NonContractExecutor\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"executor\",\"type\":\"address\"}],\"name\":\"Dispatcher__SwapReverted\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"executor\",\"type\":\"address\"}],\"name\":\"Dispatcher__UnapprovedExecutor\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"}],\"name\":\"Dispatcher__UnsupportedSingleHopCycle\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"allowance\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"needed\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"id\",\"type\":\"uint256\"}],\"name\":\"ERC6909InsufficientAllowance\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"balance\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"needed\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"id\",\"type\":\"uint256\"}],\"name\":\"ERC6909InsufficientBalance\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"approver\",\"type\":\"address\"}],\"name\":\"ERC6909InvalidApprover\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"receiver\",\"type\":\"address\"}],\"name\":\"ERC6909InvalidReceiver\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"}],\"name\":\"ERC6909InvalidSender\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"}],\"name\":\"ERC6909InvalidSpender\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"EnforcedPause\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"ExpectedPause\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"FailedCall\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"balance\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"needed\",\"type\":\"uint256\"}],\"name\":\"InsufficientBalance\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InvalidShortString\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"ReentrancyGuardReentrantCall\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"}],\"name\":\"SafeERC20FailedOperation\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"str\",\"type\":\"string\"}],\"name\":\"StringTooLong\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"tokenIn\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"tokenInStorage\",\"type\":\"address\"}],\"name\":\"TransferManager__DifferentTokenIn\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"allowedAmount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amountAttempted\",\"type\":\"uint256\"}],\"name\":\"TransferManager__ExceededTransferFromAllowance\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"addr\",\"type\":\"address\"}],\"name\":\"TransferManager__NotAContract\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"TransferManager__UnknownTransferType\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"TychoRouter__AddressZero\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"TychoRouter__AmountOutZero\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"TychoRouter__EmptySwaps\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"deadline\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"blockTimestamp\",\"type\":\"uint256\"}],\"name\":\"TychoRouter__ExpiredClientSignature\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"totalFees\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"actualAmountOut\",\"type\":\"uint256\"}],\"name\":\"TychoRouter__FeesExceedOutput\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"TychoRouter__InvalidClientSignature\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"minAmountOut\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"expectedAmountOut\",\"type\":\"uint256\"}],\"name\":\"TychoRouter__InvalidMinAmountOut\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"msgValue\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amountIn\",\"type\":\"uint256\"}],\"name\":\"TychoRouter__MsgValueDoesNotMatchAmountIn\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"int256\",\"name\":\"amount\",\"type\":\"int256\"}],\"name\":\"TychoRouter__NegativeOutputDelta\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"minAmount\",\"type\":\"uint256\"}],\"name\":\"TychoRouter__NegativeSlippage\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"TychoRouter__NoPendingFeeCalculator\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"addr\",\"type\":\"address\"}],\"name\":\"TychoRouter__NotAContract\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"activationTimestamp\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"blockTimestamp\",\"type\":\"uint256\"}],\"name\":\"TychoRouter__TimelockNotExpired\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"TychoRouter__ZeroInput\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"Vault__AddressZero\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"Vault__AmountZero\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"user\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"requested\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"available\",\"type\":\"uint256\"}],\"name\":\"Vault__InsufficientBalance\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"int256\",\"name\":\"inputDelta\",\"type\":\"int256\"}],\"name\":\"Vault__UnexpectedInputDelta\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"nonZeroCount\",\"type\":\"uint256\"}],\"name\":\"Vault__UnexpectedNonZeroCount\",\"type\":\"error\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"id\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"Approval\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[],\"name\":\"EIP712DomainChanged\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"executor\",\"type\":\"address\"}],\"name\":\"ExecutorRemoved\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"executor\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"timelockExpiresAt\",\"type\":\"uint256\"}],\"name\":\"ExecutorSet\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"oldCalculator\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"newCalculator\",\"type\":\"address\"}],\"name\":\"FeeCalculatorActivated\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"feeCalculator\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"timelockExpiresAt\",\"type\":\"uint256\"}],\"name\":\"FeeCalculatorSet\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"},{\"components\":[{\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"feeAmount\",\"type\":\"uint256\"}],\"indexed\":false,\"internalType\":\"struct FeeRecipient[]\",\"name\":\"fees\",\"type\":\"tuple[]\"}],\"name\":\"FeesTaken\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"bool\",\"name\":\"approved\",\"type\":\"bool\"}],\"name\":\"OperatorSet\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"Paused\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"previousAdminRole\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"newAdminRole\",\"type\":\"bytes32\"}],\"name\":\"RoleAdminChanged\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"}],\"name\":\"RoleGranted\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"}],\"name\":\"RoleRevoked\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"caller\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"receiver\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"id\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"Transfer\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"Unpaused\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"receiver\",\"type\":\"address\"}],\"name\":\"Withdrawal\",\"type\":\"event\"},{\"stateMutability\":\"nonpayable\",\"type\":\"fallback\"},{\"inputs\":[],\"name\":\"CLIENT_FEE_TYPEHASH\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"DEFAULT_ADMIN_ROLE\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"DELAY_EXECUTOR_ACTIVATION\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"DELAY_FEE_CALCULATOR_ACTIVATION\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"EXECUTOR_SETTER_ROLE\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"PAUSER_ROLE\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"ROUTER_FEE_SETTER_ROLE\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"UNPAUSER_ROLE\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"activateFeeCalculator\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"id\",\"type\":\"uint256\"}],\"name\":\"allowance\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"id\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"approve\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"id\",\"type\":\"uint256\"}],\"name\":\"balanceOf\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"deposit\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"eip712Domain\",\"outputs\":[{\"internalType\":\"bytes1\",\"name\":\"fields\",\"type\":\"bytes1\"},{\"internalType\":\"string\",\"name\":\"name\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"version\",\"type\":\"string\"},{\"internalType\":\"uint256\",\"name\":\"chainId\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"verifyingContract\",\"type\":\"address\"},{\"internalType\":\"bytes32\",\"name\":\"salt\",\"type\":\"bytes32\"},{\"internalType\":\"uint256[]\",\"name\":\"extensions\",\"type\":\"uint256[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"executorsActivationTimestamp\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getFeeCalculator\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getPendingFeeCalculator\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"}],\"name\":\"getRoleAdmin\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"grantRole\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"hasRole\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"}],\"name\":\"isOperator\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"pause\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"paused\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"permit2\",\"outputs\":[{\"internalType\":\"contract IAllowanceTransfer\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"target\",\"type\":\"address\"}],\"name\":\"removeExecutor\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"callerConfirmation\",\"type\":\"address\"}],\"name\":\"renounceRole\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"revokeRole\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"amountIn\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"tokenIn\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"tokenOut\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"expectedAmountOut\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"minAmountOut\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"receiver\",\"type\":\"address\"},{\"components\":[{\"internalType\":\"uint32\",\"name\":\"clientFeeBps\",\"type\":\"uint32\"},{\"internalType\":\"address\",\"name\":\"clientFeeReceiver\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"maxClientContribution\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"deadline\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"clientSignature\",\"type\":\"bytes\"}],\"internalType\":\"struct ClientFeeParams\",\"name\":\"clientFeeParams\",\"type\":\"tuple\"},{\"internalType\":\"bytes\",\"name\":\"swaps\",\"type\":\"bytes\"}],\"name\":\"sequentialSwap\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"amountIn\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"tokenIn\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"tokenOut\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"expectedAmountOut\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"minAmountOut\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"receiver\",\"type\":\"address\"},{\"components\":[{\"internalType\":\"uint32\",\"name\":\"clientFeeBps\",\"type\":\"uint32\"},{\"internalType\":\"address\",\"name\":\"clientFeeReceiver\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"maxClientContribution\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"deadline\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"clientSignature\",\"type\":\"bytes\"}],\"internalType\":\"struct ClientFeeParams\",\"name\":\"clientFeeParams\",\"type\":\"tuple\"},{\"components\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"},{\"internalType\":\"uint160\",\"name\":\"amount\",\"type\":\"uint160\"},{\"internalType\":\"uint48\",\"name\":\"expiration\",\"type\":\"uint48\"},{\"internalType\":\"uint48\",\"name\":\"nonce\",\"type\":\"uint48\"}],\"internalType\":\"struct IAllowanceTransfer.PermitDetails\",\"name\":\"details\",\"type\":\"tuple\"},{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"sigDeadline\",\"type\":\"uint256\"}],\"internalType\":\"struct IAllowanceTransfer.PermitSingle\",\"name\":\"permitSingle\",\"type\":\"tuple\"},{\"internalType\":\"bytes\",\"name\":\"signature\",\"type\":\"bytes\"},{\"internalType\":\"bytes\",\"name\":\"swaps\",\"type\":\"bytes\"}],\"name\":\"sequentialSwapPermit2\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"amountIn\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"tokenIn\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"tokenOut\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"expectedAmountOut\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"minAmountOut\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"receiver\",\"type\":\"address\"},{\"components\":[{\"internalType\":\"uint32\",\"name\":\"clientFeeBps\",\"type\":\"uint32\"},{\"internalType\":\"address\",\"name\":\"clientFeeReceiver\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"maxClientContribution\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"deadline\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"clientSignature\",\"type\":\"bytes\"}],\"internalType\":\"struct ClientFeeParams\",\"name\":\"clientFeeParams\",\"type\":\"tuple\"},{\"internalType\":\"bytes\",\"name\":\"swaps\",\"type\":\"bytes\"}],\"name\":\"sequentialSwapUsingVault\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address[]\",\"name\":\"targets\",\"type\":\"address[]\"}],\"name\":\"setExecutors\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"feeCalculator\",\"type\":\"address\"}],\"name\":\"setFeeCalculator\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"internalType\":\"bool\",\"name\":\"approved\",\"type\":\"bool\"}],\"name\":\"setOperator\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"amountIn\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"tokenIn\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"tokenOut\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"expectedAmountOut\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"minAmountOut\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"receiver\",\"type\":\"address\"},{\"components\":[{\"internalType\":\"uint32\",\"name\":\"clientFeeBps\",\"type\":\"uint32\"},{\"internalType\":\"address\",\"name\":\"clientFeeReceiver\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"maxClientContribution\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"deadline\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"clientSignature\",\"type\":\"bytes\"}],\"internalType\":\"struct ClientFeeParams\",\"name\":\"clientFeeParams\",\"type\":\"tuple\"},{\"internalType\":\"bytes\",\"name\":\"swapData\",\"type\":\"bytes\"}],\"name\":\"singleSwap\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"amountIn\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"tokenIn\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"tokenOut\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"expectedAmountOut\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"minAmountOut\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"receiver\",\"type\":\"address\"},{\"components\":[{\"internalType\":\"uint32\",\"name\":\"clientFeeBps\",\"type\":\"uint32\"},{\"internalType\":\"address\",\"name\":\"clientFeeReceiver\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"maxClientContribution\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"deadline\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"clientSignature\",\"type\":\"bytes\"}],\"internalType\":\"struct ClientFeeParams\",\"name\":\"clientFeeParams\",\"type\":\"tuple\"},{\"components\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"},{\"internalType\":\"uint160\",\"name\":\"amount\",\"type\":\"uint160\"},{\"internalType\":\"uint48\",\"name\":\"expiration\",\"type\":\"uint48\"},{\"internalType\":\"uint48\",\"name\":\"nonce\",\"type\":\"uint48\"}],\"internalType\":\"struct IAllowanceTransfer.PermitDetails\",\"name\":\"details\",\"type\":\"tuple\"},{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"sigDeadline\",\"type\":\"uint256\"}],\"internalType\":\"struct IAllowanceTransfer.PermitSingle\",\"name\":\"permitSingle\",\"type\":\"tuple\"},{\"internalType\":\"bytes\",\"name\":\"signature\",\"type\":\"bytes\"},{\"internalType\":\"bytes\",\"name\":\"swapData\",\"type\":\"bytes\"}],\"name\":\"singleSwapPermit2\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"amountIn\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"tokenIn\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"tokenOut\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"expectedAmountOut\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"minAmountOut\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"receiver\",\"type\":\"address\"},{\"components\":[{\"internalType\":\"uint32\",\"name\":\"clientFeeBps\",\"type\":\"uint32\"},{\"internalType\":\"address\",\"name\":\"clientFeeReceiver\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"maxClientContribution\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"deadline\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"clientSignature\",\"type\":\"bytes\"}],\"internalType\":\"struct ClientFeeParams\",\"name\":\"clientFeeParams\",\"type\":\"tuple\"},{\"internalType\":\"bytes\",\"name\":\"swapData\",\"type\":\"bytes\"}],\"name\":\"singleSwapUsingVault\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"amountIn\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"tokenIn\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"tokenOut\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"expectedAmountOut\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"minAmountOut\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"nTokens\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"receiver\",\"type\":\"address\"},{\"components\":[{\"internalType\":\"uint32\",\"name\":\"clientFeeBps\",\"type\":\"uint32\"},{\"internalType\":\"address\",\"name\":\"clientFeeReceiver\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"maxClientContribution\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"deadline\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"clientSignature\",\"type\":\"bytes\"}],\"internalType\":\"struct ClientFeeParams\",\"name\":\"clientFeeParams\",\"type\":\"tuple\"},{\"internalType\":\"bytes\",\"name\":\"swaps\",\"type\":\"bytes\"}],\"name\":\"splitSwap\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"amountIn\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"tokenIn\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"tokenOut\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"expectedAmountOut\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"minAmountOut\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"nTokens\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"receiver\",\"type\":\"address\"},{\"components\":[{\"internalType\":\"uint32\",\"name\":\"clientFeeBps\",\"type\":\"uint32\"},{\"internalType\":\"address\",\"name\":\"clientFeeReceiver\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"maxClientContribution\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"deadline\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"clientSignature\",\"type\":\"bytes\"}],\"internalType\":\"struct ClientFeeParams\",\"name\":\"clientFeeParams\",\"type\":\"tuple\"},{\"components\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"},{\"internalType\":\"uint160\",\"name\":\"amount\",\"type\":\"uint160\"},{\"internalType\":\"uint48\",\"name\":\"expiration\",\"type\":\"uint48\"},{\"internalType\":\"uint48\",\"name\":\"nonce\",\"type\":\"uint48\"}],\"internalType\":\"struct IAllowanceTransfer.PermitDetails\",\"name\":\"details\",\"type\":\"tuple\"},{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"sigDeadline\",\"type\":\"uint256\"}],\"internalType\":\"struct IAllowanceTransfer.PermitSingle\",\"name\":\"permitSingle\",\"type\":\"tuple\"},{\"internalType\":\"bytes\",\"name\":\"signature\",\"type\":\"bytes\"},{\"internalType\":\"bytes\",\"name\":\"swaps\",\"type\":\"bytes\"}],\"name\":\"splitSwapPermit2\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"amountIn\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"tokenIn\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"tokenOut\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"expectedAmountOut\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"minAmountOut\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"nTokens\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"receiver\",\"type\":\"address\"},{\"components\":[{\"internalType\":\"uint32\",\"name\":\"clientFeeBps\",\"type\":\"uint32\"},{\"internalType\":\"address\",\"name\":\"clientFeeReceiver\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"maxClientContribution\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"deadline\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"clientSignature\",\"type\":\"bytes\"}],\"internalType\":\"struct ClientFeeParams\",\"name\":\"clientFeeParams\",\"type\":\"tuple\"},{\"internalType\":\"bytes\",\"name\":\"swaps\",\"type\":\"bytes\"}],\"name\":\"splitSwapUsingVault\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes4\",\"name\":\"interfaceId\",\"type\":\"bytes4\"}],\"name\":\"supportsInterface\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"receiver\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"id\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"transfer\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"receiver\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"id\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"transferFrom\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"unpause\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"withdraw\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"stateMutability\":\"payable\",\"type\":\"receive\"}],\"devdoc\":{\"errors\":{\"AccessControlBadConfirmation()\":[{\"details\":\"The caller of a function is not the expected one. NOTE: Don't confuse with {AccessControlUnauthorizedAccount}.\"}],\"AccessControlUnauthorizedAccount(address,bytes32)\":[{\"details\":\"The `account` is missing a role.\"}],\"EnforcedPause()\":[{\"details\":\"The operation failed because the contract is paused.\"}],\"ExpectedPause()\":[{\"details\":\"The operation failed because the contract is not paused.\"}],\"FailedCall()\":[{\"details\":\"A call to an address target failed. The target may have reverted.\"}],\"InsufficientBalance(uint256,uint256)\":[{\"details\":\"The ETH balance of the account is not enough to perform the operation.\"}],\"ReentrancyGuardReentrantCall()\":[{\"details\":\"Unauthorized reentrant call.\"}],\"SafeERC20FailedOperation(address)\":[{\"details\":\"An operation with an ERC-20 token failed.\"}]},\"events\":{\"Approval(address,address,uint256,uint256)\":{\"details\":\"Emitted when the allowance of a `spender` for an `owner` is set for a token of type `id`. The new allowance is `amount`.\"},\"EIP712DomainChanged()\":{\"details\":\"MAY be emitted to signal that the domain could have changed.\"},\"OperatorSet(address,address,bool)\":{\"details\":\"Emitted when `owner` grants or revokes operator status for a `spender`.\"},\"Paused(address)\":{\"details\":\"Emitted when the pause is triggered by `account`.\"},\"RoleAdminChanged(bytes32,bytes32,bytes32)\":{\"details\":\"Emitted when `newAdminRole` is set as ``role``'s admin role, replacing `previousAdminRole` `DEFAULT_ADMIN_ROLE` is the starting admin for all roles, despite {RoleAdminChanged} not being emitted to signal this.\"},\"RoleGranted(bytes32,address,address)\":{\"details\":\"Emitted when `account` is granted `role`. `sender` is the account that originated the contract call. This account bears the admin role (for the granted role). Expected in cases where the role was granted using the internal {AccessControl-_grantRole}.\"},\"RoleRevoked(bytes32,address,address)\":{\"details\":\"Emitted when `account` is revoked `role`. `sender` is the account that originated the contract call:   - if using `revokeRole`, it is the admin role bearer   - if using `renounceRole`, it is the role bearer (i.e. `account`)\"},\"Transfer(address,address,address,uint256,uint256)\":{\"details\":\"Emitted when `amount` tokens of type `id` are moved from `sender` to `receiver` initiated by `caller`.\"},\"Unpaused(address)\":{\"details\":\"Emitted when the pause is lifted by `account`.\"}},\"kind\":\"dev\",\"methods\":{\"allowance(address,address,uint256)\":{\"details\":\"Returns the amount of tokens of type `id` that `spender` is allowed to spend on behalf of `owner`. NOTE: Does not include operator allowances.\"},\"approve(address,uint256,uint256)\":{\"details\":\"Sets an approval to `spender` for `amount` of tokens of type `id` from the caller's tokens. An `amount` of `type(uint256).max` signifies an unlimited approval. Must return true.\"},\"balanceOf(address,uint256)\":{\"details\":\"Override balanceOf to use our own mapping instead of ERC6909's\"},\"deposit(address,uint256)\":{\"params\":{\"amount\":\"The amount to deposit\",\"token\":\"The token address to deposit (use ETH_ADDRESS for native ETH)\"}},\"eip712Domain()\":{\"details\":\"returns the fields and values that describe the domain separator used by this contract for EIP-712 signature.\"},\"getFeeCalculator()\":{\"details\":\"Returns the current fee calculator address\"},\"getPendingFeeCalculator()\":{\"details\":\"Returns the pending fee calculator and activation timestamp\"},\"getRoleAdmin(bytes32)\":{\"details\":\"Returns the admin role that controls `role`. See {grantRole} and {revokeRole}. To change a role's admin, use {_setRoleAdmin}.\"},\"grantRole(bytes32,address)\":{\"details\":\"Grants `role` to `account`. If `account` had not been already granted `role`, emits a {RoleGranted} event. Requirements: - the caller must have ``role``'s admin role. May emit a {RoleGranted} event.\"},\"hasRole(bytes32,address)\":{\"details\":\"Returns `true` if `account` has been granted `role`.\"},\"isOperator(address,address)\":{\"details\":\"Returns true if `spender` is set as an operator for `owner`.\"},\"pause()\":{\"details\":\"Pauses the contract\"},\"paused()\":{\"details\":\"Returns true if the contract is paused, and false otherwise.\"},\"removeExecutor(address)\":{\"details\":\"Entrypoint to remove an approved executor contract address\",\"params\":{\"target\":\"address of the executor contract\"}},\"renounceRole(bytes32,address)\":{\"details\":\"Revokes `role` from the calling account. Roles are often managed via {grantRole} and {revokeRole}: this function's purpose is to provide a mechanism for accounts to lose their privileges if they are compromised (such as when a trusted device is misplaced). If the calling account had been revoked `role`, emits a {RoleRevoked} event. Requirements: - the caller must be `callerConfirmation`. May emit a {RoleRevoked} event.\"},\"revokeRole(bytes32,address)\":{\"details\":\"Revokes `role` from `account`. If `account` had been granted `role`, emits a {RoleRevoked} event. Requirements: - the caller must have ``role``'s admin role. May emit a {RoleRevoked} event.\"},\"sequentialSwap(uint256,address,address,uint256,uint256,address,(uint32,address,uint256,uint256,bytes),bytes)\":{\"details\":\"- Swaps are executed sequentially using the `_swap` function. - Reverts with `TychoRouter__NegativeSlippage` if the final output is below `minAmountOut`.\",\"params\":{\"amountIn\":\"The input token amount to be swapped.\",\"clientFeeParams\":\"Client fee parameters including fee bps, receiver, max contribution, deadline and signature.\",\"expectedAmountOut\":\"The quoted output amount; used to detect positive slippage.\",\"minAmountOut\":\"The minimum acceptable output amount (revert guardrail). Must be non-zero and not exceed `expectedAmountOut`.\",\"receiver\":\"The address to receive the output tokens.\",\"swaps\":\"Encoded swap graph data containing details of each swap.\",\"tokenIn\":\"The address of the input token. Use `ETH_ADDRESS` for native ETH\",\"tokenOut\":\"The address of the output token. Use `ETH_ADDRESS` for native ETH\"},\"returns\":{\"_0\":\"The total amount of the output token received by the receiver.\"}},\"sequentialSwapPermit2(uint256,address,address,uint256,uint256,address,(uint32,address,uint256,uint256,bytes),((address,uint160,uint48,uint48),address,uint256),bytes,bytes)\":{\"details\":\"- For ERC20 tokens, Permit2 is used to approve and transfer tokens from the caller to the router. - Reverts with `TychoRouter__NegativeSlippage` if the final output is below `minAmountOut`.\",\"params\":{\"amountIn\":\"The input token amount to be swapped.\",\"clientFeeParams\":\"Client fee parameters including fee bps, receiver, max contribution, deadline and signature.\",\"expectedAmountOut\":\"The quoted output amount; used to detect positive slippage.\",\"minAmountOut\":\"The minimum acceptable output amount (revert guardrail). Must be non-zero and not exceed `expectedAmountOut`.\",\"permitSingle\":\"A Permit2 structure containing token approval details for the input token.\",\"receiver\":\"The address to receive the output tokens.\",\"signature\":\"A valid signature authorizing the Permit2 approval.\",\"swaps\":\"Encoded swap graph data containing details of each swap.\",\"tokenIn\":\"The address of the input token. Use `ETH_ADDRESS` for native ETH\",\"tokenOut\":\"The address of the output token. Use `ETH_ADDRESS` for native ETH\"},\"returns\":{\"_0\":\"The total amount of the output token received by the receiver.\"}},\"sequentialSwapUsingVault(uint256,address,address,uint256,uint256,address,(uint32,address,uint256,uint256,bytes),bytes)\":{\"details\":\"- Swaps are executed sequentially using the `_swap` function. - Reverts with `TychoRouter__NegativeSlippage` if the final output is below `minAmountOut`.\",\"params\":{\"amountIn\":\"The input token amount to be swapped.\",\"clientFeeParams\":\"Client fee parameters including fee bps, receiver, max contribution, deadline and signature.\",\"expectedAmountOut\":\"The quoted output amount; used to detect positive slippage.\",\"minAmountOut\":\"The minimum acceptable output amount (revert guardrail). Must be non-zero and not exceed `expectedAmountOut`.\",\"receiver\":\"The address to receive the output tokens.\",\"swaps\":\"Encoded swap graph data containing details of each swap.\",\"tokenIn\":\"The address of the input token. Use `ETH_ADDRESS` for native ETH\",\"tokenOut\":\"The address of the output token. Use `ETH_ADDRESS` for native ETH\"},\"returns\":{\"_0\":\"The total amount of the output token received by the receiver.\"}},\"setExecutors(address[])\":{\"details\":\"Entrypoint to add or replace an approved executor contract address\",\"params\":{\"targets\":\"address of the executor contract\"}},\"setFeeCalculator(address)\":{\"params\":{\"feeCalculator\":\"The address of the fee calculator contract\"}},\"setOperator(address,bool)\":{\"details\":\"Grants or revokes unlimited transfer permission of any token id to `spender` for the caller's tokens. Must return true.\"},\"singleSwap(uint256,address,address,uint256,uint256,address,(uint32,address,uint256,uint256,bytes),bytes)\":{\"details\":\"- Reverts with `TychoRouter__NegativeSlippage` if the final output is below `minAmountOut`.\",\"params\":{\"amountIn\":\"The input token amount to be swapped.\",\"clientFeeParams\":\"Client fee parameters including fee bps, receiver, max contribution, deadline and signature.\",\"expectedAmountOut\":\"The quoted output amount; used to detect positive slippage.\",\"minAmountOut\":\"The minimum acceptable output amount (revert guardrail). Must be non-zero and not exceed `expectedAmountOut`.\",\"receiver\":\"The address to receive the output tokens.\",\"swapData\":\"Encoded swap details.\",\"tokenIn\":\"The address of the input token. Use `ETH_ADDRESS` for native ETH\",\"tokenOut\":\"The address of the output token. Use `ETH_ADDRESS` for native ETH\"},\"returns\":{\"_0\":\"The total amount of the output token received by the receiver.\"}},\"singleSwapPermit2(uint256,address,address,uint256,uint256,address,(uint32,address,uint256,uint256,bytes),((address,uint160,uint48,uint48),address,uint256),bytes,bytes)\":{\"details\":\"- For ERC20 tokens, Permit2 is used to approve and transfer tokens from the caller to the router. - Reverts with `TychoRouter__NegativeSlippage` if the final output is below `minAmountOut`.\",\"params\":{\"amountIn\":\"The input token amount to be swapped.\",\"clientFeeParams\":\"Client fee parameters including fee bps, receiver, max contribution, deadline and signature.\",\"expectedAmountOut\":\"The quoted output amount; used to detect positive slippage.\",\"minAmountOut\":\"The minimum acceptable output amount (revert guardrail). Must be non-zero and not exceed `expectedAmountOut`.\",\"permitSingle\":\"A Permit2 structure containing token approval details for the input token.\",\"receiver\":\"The address to receive the output tokens.\",\"signature\":\"A valid signature authorizing the Permit2 approval.\",\"swapData\":\"Encoded swap details.\",\"tokenIn\":\"The address of the input token. Use `ETH_ADDRESS` for native ETH\",\"tokenOut\":\"The address of the output token. Use `ETH_ADDRESS` for native ETH\"},\"returns\":{\"_0\":\"The total amount of the output token received by the receiver.\"}},\"singleSwapUsingVault(uint256,address,address,uint256,uint256,address,(uint32,address,uint256,uint256,bytes),bytes)\":{\"details\":\"- Reverts with `TychoRouter__NegativeSlippage` if the final output is below `minAmountOut`.\",\"params\":{\"amountIn\":\"The input token amount to be swapped.\",\"clientFeeParams\":\"Client fee parameters including fee bps, receiver, max contribution, deadline and signature.\",\"expectedAmountOut\":\"The quoted output amount; used to detect positive slippage.\",\"minAmountOut\":\"The minimum acceptable output amount (revert guardrail). Must be non-zero and not exceed `expectedAmountOut`.\",\"receiver\":\"The address to receive the output tokens.\",\"swapData\":\"Encoded swap details.\",\"tokenIn\":\"The address of the input token. Use `ETH_ADDRESS` for native ETH\",\"tokenOut\":\"The address of the output token. Use `ETH_ADDRESS` for native ETH\"},\"returns\":{\"_0\":\"The total amount of the output token received by the receiver.\"}},\"splitSwap(uint256,address,address,uint256,uint256,uint256,address,(uint32,address,uint256,uint256,bytes),bytes)\":{\"details\":\"- Swaps are executed sequentially using the `_swap` function. - Reverts with `TychoRouter__NegativeSlippage` if the final output is below `minAmountOut`\",\"params\":{\"amountIn\":\"The input token amount to be swapped.\",\"clientFeeParams\":\"Client fee parameters including fee bps, receiver, max contribution, deadline and signature.\",\"expectedAmountOut\":\"The quoted output amount; used to detect positive slippage.\",\"minAmountOut\":\"The minimum acceptable output amount (revert guardrail). Must be non-zero and not exceed `expectedAmountOut`.\",\"nTokens\":\"The total number of tokens involved in the swap graph (used to initialize arrays for internal calculations).\",\"receiver\":\"The address to receive the output tokens.\",\"swaps\":\"Encoded swap graph data containing details of each swap.\",\"tokenIn\":\"The address of the input token. Use `ETH_ADDRESS` for native ETH\",\"tokenOut\":\"The address of the output token. Use `ETH_ADDRESS` for native ETH\"},\"returns\":{\"_0\":\"The total amount of the output token received by the receiver.\"}},\"splitSwapPermit2(uint256,address,address,uint256,uint256,uint256,address,(uint32,address,uint256,uint256,bytes),((address,uint160,uint48,uint48),address,uint256),bytes,bytes)\":{\"details\":\"- For ERC20 tokens, Permit2 is used to approve and transfer tokens from the caller to the router. - Swaps are executed sequentially using the `_swap` function. - Reverts with `TychoRouter__NegativeSlippage` if the final output is below `minAmountOut`.\",\"params\":{\"amountIn\":\"The input token amount to be swapped.\",\"clientFeeParams\":\"Client fee parameters including fee bps, receiver, max contribution, deadline and signature.\",\"expectedAmountOut\":\"The quoted output amount; used to detect positive slippage.\",\"minAmountOut\":\"The minimum acceptable output amount (revert guardrail). Must be non-zero and not exceed `expectedAmountOut`.\",\"nTokens\":\"The total number of tokens involved in the swap graph (used to initialize arrays for internal calculations).\",\"permitSingle\":\"A Permit2 structure containing token approval details for the input token.\",\"receiver\":\"The address to receive the output tokens.\",\"signature\":\"A valid signature authorizing the Permit2 approval.\",\"swaps\":\"Encoded swap graph data containing details of each swap.\",\"tokenIn\":\"The address of the input token. Use `ETH_ADDRESS` for native ETH\",\"tokenOut\":\"The address of the output token. Use `ETH_ADDRESS` for native ETH\"},\"returns\":{\"_0\":\"The total amount of the output token received by the receiver.\"}},\"splitSwapUsingVault(uint256,address,address,uint256,uint256,uint256,address,(uint32,address,uint256,uint256,bytes),bytes)\":{\"details\":\"- Swaps are executed sequentially using the `_swap` function. - Reverts with `TychoRouter__NegativeSlippage` if the final output is below `minAmountOut`.\",\"params\":{\"amountIn\":\"The input token amount to be swapped.\",\"clientFeeParams\":\"Client fee parameters including fee bps, receiver, max contribution, deadline and signature.\",\"expectedAmountOut\":\"The quoted output amount; used to detect positive slippage.\",\"minAmountOut\":\"The minimum acceptable output amount (revert guardrail). Must be non-zero and not exceed `expectedAmountOut`.\",\"nTokens\":\"The total number of tokens involved in the swap graph (used to initialize arrays for internal calculations).\",\"receiver\":\"The address to receive the output tokens.\",\"swaps\":\"Encoded swap graph data containing details of each swap.\",\"tokenIn\":\"The address of the input token. Use `ETH_ADDRESS` for native ETH\",\"tokenOut\":\"The address of the output token. Use `ETH_ADDRESS` for native ETH\"},\"returns\":{\"_0\":\"The total amount of the output token received by the receiver.\"}},\"transfer(address,uint256,uint256)\":{\"details\":\"Transfers `amount` of token type `id` from the caller's account to `receiver`. Must return true.\"},\"transferFrom(address,address,uint256,uint256)\":{\"details\":\"Transfers `amount` of token type `id` from `sender` to `receiver`. Must return true.\"},\"unpause()\":{\"details\":\"Unpauses the contract\"},\"withdraw(address,uint256)\":{\"params\":{\"amount\":\"The amount to withdraw\",\"token\":\"The token to withdraw\"}}},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{\"activateFeeCalculator()\":{\"notice\":\"Activates the pending fee calculator once the timelock has expired.\"},\"deposit(address,uint256)\":{\"notice\":\"Deposit tokens into the vault for the caller\"},\"sequentialSwap(uint256,address,address,uint256,uint256,address,(uint32,address,uint256,uint256,bytes),bytes)\":{\"notice\":\"Executes a swap operation based on a predefined swap graph with no split routes.         This function enables multi-step swaps and validates the output amount against a user-specified minimum.         Takes funds from the user's wallet using transferFrom.\"},\"sequentialSwapPermit2(uint256,address,address,uint256,uint256,address,(uint32,address,uint256,uint256,bytes),((address,uint160,uint48,uint48),address,uint256),bytes,bytes)\":{\"notice\":\"Executes a swap operation based on a predefined swap graph with no split routes.         This function enables multi-step swaps and validates the output amount against a user-specified minimum.\"},\"sequentialSwapUsingVault(uint256,address,address,uint256,uint256,address,(uint32,address,uint256,uint256,bytes),bytes)\":{\"notice\":\"Executes a swap operation based on a predefined swap graph with no split routes.         This function enables multi-step swaps and validates the output amount against a user-specified minimum.         Takes funds from the user's vault balance.\"},\"setFeeCalculator(address)\":{\"notice\":\"Queues a new fee calculator with a timelock delay.\"},\"singleSwap(uint256,address,address,uint256,uint256,address,(uint32,address,uint256,uint256,bytes),bytes)\":{\"notice\":\"Executes a single swap operation.         This function validates the output amount against a user-specified minimum.         Takes funds from the user's wallet using transferFrom.\"},\"singleSwapPermit2(uint256,address,address,uint256,uint256,address,(uint32,address,uint256,uint256,bytes),((address,uint160,uint48,uint48),address,uint256),bytes,bytes)\":{\"notice\":\"Executes a single swap operation.         This function validates the output amount against a user-specified minimum.\"},\"singleSwapUsingVault(uint256,address,address,uint256,uint256,address,(uint32,address,uint256,uint256,bytes),bytes)\":{\"notice\":\"Executes a single swap operation.         This function validates the output amount against a user-specified minimum.         Takes funds from the user's vault balance.\"},\"splitSwap(uint256,address,address,uint256,uint256,uint256,address,(uint32,address,uint256,uint256,bytes),bytes)\":{\"notice\":\"Executes a swap operation based on a predefined swap graph, supporting internal token amount splits.         This function enables multi-step swaps and validates the output amount against a user-specified minimum.         Takes funds from the user's wallet using transferFrom.\"},\"splitSwapPermit2(uint256,address,address,uint256,uint256,uint256,address,(uint32,address,uint256,uint256,bytes),((address,uint160,uint48,uint48),address,uint256),bytes,bytes)\":{\"notice\":\"Executes a swap operation based on a predefined swap graph, supporting internal token amount splits.         This function enables multi-step swaps and validates the output amount against a user-specified minimum.\"},\"splitSwapUsingVault(uint256,address,address,uint256,uint256,uint256,address,(uint32,address,uint256,uint256,bytes),bytes)\":{\"notice\":\"Executes a swap operation based on a predefined swap graph, supporting internal token amount splits.         This function enables multi-step swaps and validates the output amount against a user-specified minimum.         Takes funds from the user's vault balance.\"},\"supportsInterface(bytes4)\":{\"notice\":\"Override supportsInterface to resolve conflict between AccessControl and ERC6909\"},\"withdraw(address,uint256)\":{\"notice\":\"Withdraw tokens from the vault\"}},\"version\":1}},\"settings\":{\"compilationTarget\":{\"src/TychoRouterV3.sol\":\"TychoRouterV3\"},\"evmVersion\":\"cancun\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":1000},\"remappings\":[],\"viaIR\":true},\"sources\":{\"@interfaces/ICallback.sol\":{\"keccak256\":\"0xa37cfc9f61eb217f22421eaa9f037b6d8df356281f94555fd79e79a97c417242\",\"license\":\"BUSL-1.1\",\"urls\":[\"bzz-raw://7aa9622345bb1cfaf47f56649b2d31c5d505ef695430c0cd2d54f47c6a887291\",\"dweb:/ipfs/QmWXBZYfSr2rotFS7HzhCf8iRDGnS6T3s8s2RUxx9yc7cj\"]},\"@interfaces/IExecutor.sol\":{\"keccak256\":\"0xb28ad54118809d105a89f953e4a21d5cc38914868356b9c08149c33fd3431b89\",\"license\":\"BUSL-1.1\",\"urls\":[\"bzz-raw://510b29068ed0abbf55a4175d26cf4a0bb26f55d552b3a61e3379f7370ddd1227\",\"dweb:/ipfs/QmUxvtf9yR62CejzbLPn3rqQo1NwShpNYbX1jJcSWdtccG\"]},\"@interfaces/IFeeCalculator.sol\":{\"keccak256\":\"0xb2b93d61524aa37b58363ef5812f0a781141c2a0c4c6b7a8ce2e1b1f5c40ad64\",\"license\":\"BUSL-1.1\",\"urls\":[\"bzz-raw://0d4349ea3153b8515ee9a6c5f1e9fd0c4fa651f51ab4e114b14b958515fef660\",\"dweb:/ipfs/QmWZxv2Euqq15SnpVU9mEB3onUWNmstYvK349F8zS9N9kH\"]},\"@openzeppelin/contracts/access/AccessControl.sol\":{\"keccak256\":\"0x4c495fa0e9911eadb6cc2d0f4a52b4d77e5eaecccc2e111f3a2fb8c0885bfa0a\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://5c94563a8c5a52f2b893c581f3f722629c10d2cf759431ce8a4c91c89c39848d\",\"dweb:/ipfs/QmUXtoc5qPX8KW3aZcmHMmJwuEcxxteJwFURQxJzYogPms\"]},\"@openzeppelin/contracts/access/IAccessControl.sol\":{\"keccak256\":\"0xbff9f59c84e5337689161ce7641c0ef8e872d6a7536fbc1f5133f128887aba3c\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://b308f882e796f7b79c9502deacb0a62983035c6f6f4e962b319ba6a1f4a77d3d\",\"dweb:/ipfs/QmaWCW7ahEQqFjwhSUhV7Ae7WhfNvzSpE7DQ58hvEooqPL\"]},\"@openzeppelin/contracts/interfaces/IERC1271.sol\":{\"keccak256\":\"0x66c7ec42c6c43712be2107a50ab4529379bc76a632b425babec698d9da921ac6\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://dce2778f0b638adfc5ba29c2c618c855fe725fa74a16846386aa1d56a834aa04\",\"dweb:/ipfs/QmPV9oWnzQdi58od266j62xvviavLNHqKLZfm6k2K1qy9E\"]},\"@openzeppelin/contracts/interfaces/IERC1363.sol\":{\"keccak256\":\"0xd5ea07362ab630a6a3dee4285a74cf2377044ca2e4be472755ad64d7c5d4b69d\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://da5e832b40fc5c3145d3781e2e5fa60ac2052c9d08af7e300dc8ab80c4343100\",\"dweb:/ipfs/QmTzf7N5ZUdh5raqtzbM11yexiUoLC9z3Ws632MCuycq1d\"]},\"@openzeppelin/contracts/interfaces/IERC165.sol\":{\"keccak256\":\"0x0afcb7e740d1537b252cb2676f600465ce6938398569f09ba1b9ca240dde2dfc\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://1c299900ac4ec268d4570ecef0d697a3013cd11a6eb74e295ee3fbc945056037\",\"dweb:/ipfs/Qmab9owJoxcA7vJT5XNayCMaUR1qxqj1NDzzisduwaJMcZ\"]},\"@openzeppelin/contracts/interfaces/IERC20.sol\":{\"keccak256\":\"0x1a6221315ce0307746c2c4827c125d821ee796c74a676787762f4778671d4f44\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://1bb2332a7ee26dd0b0de9b7fe266749f54820c99ab6a3bcb6f7e6b751d47ee2d\",\"dweb:/ipfs/QmcRWpaBeCYkhy68PR3B4AgD7asuQk7PwkWxrvJbZcikLF\"]},\"@openzeppelin/contracts/interfaces/IERC5267.sol\":{\"keccak256\":\"0xfb223a85dd0b2175cfbbaa325a744e2cd74ecd17c3df2b77b0722f991d2725ee\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://84bf1dea0589ec49c8d15d559cc6d86ee493048a89b2d4adb60fbe705a3d89ae\",\"dweb:/ipfs/Qmd56n556d529wk2pRMhYhm5nhMDhviwereodDikjs68w1\"]},\"@openzeppelin/contracts/interfaces/IERC6909.sol\":{\"keccak256\":\"0xbf2cf047ac33a5a52782c2ef8bfbd0322a78d75a3606e81bfabea9663b8e0afe\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://3c6561cb9403f37ef5d2b686bb287134a0208668222c3176d4eda4eb25317bdc\",\"dweb:/ipfs/QmeQqv8r3PPRU1r53kWWqXc6rxNE7jr6xBVQ3Fh5zySLsA\"]},\"@openzeppelin/contracts/interfaces/IERC7913.sol\":{\"keccak256\":\"0xe5a126930df1d54e4a6dd5fea09010c4a7db0ea974c6c17a1e6082879f5a032b\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://2f58f5a90328536a6c68289916bfa4ed653d871319c7b2a416ab3f6263c4f2f5\",\"dweb:/ipfs/Qmaa9DmgUA16Urz5fuF4RbFz2NaVpNLV41ddwykSdasFUd\"]},\"@openzeppelin/contracts/token/ERC20/IERC20.sol\":{\"keccak256\":\"0x74ed01eb66b923d0d0cfe3be84604ac04b76482a55f9dd655e1ef4d367f95bc2\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://5282825a626cfe924e504274b864a652b0023591fa66f06a067b25b51ba9b303\",\"dweb:/ipfs/QmeCfPykghhMc81VJTrHTC7sF6CRvaA1FXVq2pJhwYp1dV\"]},\"@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol\":{\"keccak256\":\"0x304d732678032a9781ae85c8f204c8fba3d3a5e31c02616964e75cfdc5049098\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://299ced486011781dc98f638059678323c03079fefae1482abaa2135b22fa92d0\",\"dweb:/ipfs/QmbZNbcPTBxNvwChavN2kkZZs7xHhYL7mv51KrxMhsMs3j\"]},\"@openzeppelin/contracts/token/ERC6909/ERC6909.sol\":{\"keccak256\":\"0x9dea2346adc277bc3356f02f5c5ee1bb47682737b696698adb4e5cec4a22c52b\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://5b944472089ae008e2ace7855dbc63d5c215dcbe502343ad0f77eb1ef89baff8\",\"dweb:/ipfs/QmXjBoF8DgKah7m97hzuFF7LycxKg3mgcdEQ16RxtviyEA\"]},\"@openzeppelin/contracts/utils/Address.sol\":{\"keccak256\":\"0x0fa9e0d3a859900b5a46f70a03c73adf259603d5e05027a37fe0b45529d85346\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://c2add4da0240c9f2ce47649c8bb6b11b40e98cf6f88b8bdc76b2704e89391710\",\"dweb:/ipfs/QmNQTwF2uVzu4CRtNxr8bxyP9XuW6VsZuo2Nr4KR2bZr3d\"]},\"@openzeppelin/contracts/utils/Bytes.sol\":{\"keccak256\":\"0x27f63b5ce607636a96671512eaad8149f65198a78c0c05b341423f1522d523cd\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://2c8befbed6f99c5eda71dd55de3492cbef73f67f7f6e778ed33aa74485103cb3\",\"dweb:/ipfs/QmS4uYzbCH32Ct5AFZYahSURDUcmT24zFMsfkfpywFJPtW\"]},\"@openzeppelin/contracts/utils/Context.sol\":{\"keccak256\":\"0x493033a8d1b176a037b2cc6a04dad01a5c157722049bbecf632ca876224dd4b2\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://6a708e8a5bdb1011c2c381c9a5cfd8a9a956d7d0a9dc1bd8bcdaf52f76ef2f12\",\"dweb:/ipfs/Qmax9WHBnVsZP46ZxEMNRQpLQnrdE4dK8LehML1Py8FowF\"]},\"@openzeppelin/contracts/utils/Errors.sol\":{\"keccak256\":\"0x6afa713bfd42cf0f7656efa91201007ac465e42049d7de1d50753a373648c123\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://ba1d02f4847670a1b83dec9f7d37f0b0418d6043447b69f3a29a5f9efc547fcf\",\"dweb:/ipfs/QmQ7iH2keLNUKgq2xSWcRmuBE5eZ3F5whYAkAGzCNNoEWB\"]},\"@openzeppelin/contracts/utils/LowLevelCall.sol\":{\"keccak256\":\"0x48939a28e8337bdb215bf7146eef5b9e71c7385c49e30a07f9e6b96465d09f61\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://26cbee4fd1a8fa286be698635addfa12df5c917cbf609ea9ea2bc8f9c60666e7\",\"dweb:/ipfs/QmSH5USnRBU3G4EZ2MryVdJMA5S61fTppZzZ3JsLg6WZjs\"]},\"@openzeppelin/contracts/utils/Panic.sol\":{\"keccak256\":\"0xf7fe324703a64fc51702311dc51562d5cb1497734f074e4f483bfb6717572d7a\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://c6a5ff4f9fd8649b7ee20800b7fa387d3465bd77cf20c2d1068cd5c98e1ed57a\",\"dweb:/ipfs/QmVSaVJf9FXFhdYEYeCEfjMVHrxDh5qL4CGkxdMWpQCrqG\"]},\"@openzeppelin/contracts/utils/Pausable.sol\":{\"keccak256\":\"0xdb484371dfbb848cb6f5d70464e9ac9b2900e4164ead76bbce4fef0b44bcc68f\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://f9d6f6f6600a2bec622f699081b58350873b5e63ce05464d17d674a290bb8a7c\",\"dweb:/ipfs/QmQKVzSQY1PM3Bid4QhgVVZyx6B4Jx7XgaQzLKHj38vJz8\"]},\"@openzeppelin/contracts/utils/ReentrancyGuard.sol\":{\"keccak256\":\"0xa516cbf1c7d15d3517c2d668601ce016c54395bf5171918a14e2686977465f53\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://1e1d079e8edfb58efd23a311e315a4807b01b5d1cf153f8fa2d0608b9dec3e99\",\"dweb:/ipfs/QmTBExeX2SDTkn5xbk5ssbYSx7VqRp9H4Ux1CY4uQM4b9N\"]},\"@openzeppelin/contracts/utils/ShortStrings.sol\":{\"keccak256\":\"0x0768b3bdb701fe4994b3be932ca8635551dfebe04c645f77500322741bebf57c\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://a2059f9ca8d3c11c49ca49fc9c5fb070f18cc85d12a7688e45322ed0e2a1cb99\",\"dweb:/ipfs/QmS2gwX51RAvSw4tYbjHccY2CKbh2uvDzqHLAFXdsddgia\"]},\"@openzeppelin/contracts/utils/StorageSlot.sol\":{\"keccak256\":\"0xcf74f855663ce2ae00ed8352666b7935f6cddea2932fdf2c3ecd30a9b1cd0e97\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://9f660b1f351b757dfe01438e59888f31f33ded3afcf5cb5b0d9bf9aa6f320a8b\",\"dweb:/ipfs/QmarDJ5hZEgBtCmmrVzEZWjub9769eD686jmzb2XpSU1cM\"]},\"@openzeppelin/contracts/utils/Strings.sol\":{\"keccak256\":\"0x36d1750bf1aa5fee9c52adb2f7857ab652daca722fc05dff533b364f67a1139a\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://2e5e7052539b7849d02f3ce25acc1dce29373c11cfae9f0bc918c54b780c549a\",\"dweb:/ipfs/QmRGE32xNkMTo6i4pHHMxjpiu77yPwnTA25SFngw2NXJys\"]},\"@openzeppelin/contracts/utils/cryptography/ECDSA.sol\":{\"keccak256\":\"0x3c16b6d0a08ef430daec8b70bbb3ea6ccfa515d10504aec0bf91719d2e62229a\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://4743e34a1f4db83ab4ce779ca9549dfa2ec0dfda209180cea5c59160d3c1723b\",\"dweb:/ipfs/QmTRCzC22X66SzC4raDnUTdWoaLs1cgBgnWY8hFhJTw2s9\"]},\"@openzeppelin/contracts/utils/cryptography/EIP712.sol\":{\"keccak256\":\"0x8440117ea216b97a7bad690a67449fd372c840d073c8375822667e14702782b4\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://ebb6645995b8290d0b9121825e2533e4e28977b2c6befee76e15e58f0feb61d4\",\"dweb:/ipfs/QmVR72j6kL5R2txuihieDev1FeTi4KWJS1Z6ABbwL3Qtph\"]},\"@openzeppelin/contracts/utils/cryptography/MessageHashUtils.sol\":{\"keccak256\":\"0x9ebedd4bbc89d2743004cf27c1e3fb77a329c746d7c71b8cebc766c0230461a5\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://f47360b41c8c61eaff43e7c4823f742a83d550b85f716ea3d13c72a0ae4c3ab9\",\"dweb:/ipfs/QmV2GLXYRqU1S2tbDkgq5e8EnGkm84m2oGJPy7JNX9dDPg\"]},\"@openzeppelin/contracts/utils/cryptography/SignatureChecker.sol\":{\"keccak256\":\"0xc564fadf65c0b52c1ae3e289010f862362c1a71d1bb9487252e0a1e93318ef00\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://eae1451d667358f8b9283690cb88c656884331faf3a9f1980dd17516d8d92570\",\"dweb:/ipfs/QmeQhBMNGBDdY1dpbsPPrXsfRo1DguQy66JJXkBtxcZAzK\"]},\"@openzeppelin/contracts/utils/introspection/ERC165.sol\":{\"keccak256\":\"0x2d9dc2fe26180f74c11c13663647d38e259e45f95eb88f57b61d2160b0109d3e\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://81233d1f98060113d9922180bb0f14f8335856fe9f339134b09335e9f678c377\",\"dweb:/ipfs/QmWh6R35SarhAn4z2wH8SU456jJSYL2FgucfTFgbHJJN4E\"]},\"@openzeppelin/contracts/utils/introspection/IERC165.sol\":{\"keccak256\":\"0x8891738ffe910f0cf2da09566928589bf5d63f4524dd734fd9cedbac3274dd5c\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://971f954442df5c2ef5b5ebf1eb245d7105d9fbacc7386ee5c796df1d45b21617\",\"dweb:/ipfs/QmadRjHbkicwqwwh61raUEapaVEtaLMcYbQZWs9gUkgj3u\"]},\"@openzeppelin/contracts/utils/math/Math.sol\":{\"keccak256\":\"0xe7b82bf9ab6d5016033e5cd2b1d4320a9c12551551d4c57650b5ddebfa47ff07\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://57dd5fbf78e3866b8988cfada7592de8a285cd14e6b42c694526971481bf23d2\",\"dweb:/ipfs/Qmf6Lu6k74k6vgj5kTNYqh2eSHx72urgiD5yYrw7MTY7JT\"]},\"@openzeppelin/contracts/utils/math/SafeCast.sol\":{\"keccak256\":\"0x340b2f51e4c8aa4e3b2c4e3e12a34ac86f4383ecda2bdbad2e263b5a2d3444a3\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://f7ce09e887e3407bcfc09de5e263143cc44c8bcc4162a32acdb3144eafd89ce2\",\"dweb:/ipfs/QmXda4wEQSWT5xQrETZdBXP2M67LH4F49QxQ16rTj6zZ99\"]},\"@openzeppelin/contracts/utils/math/SignedMath.sol\":{\"keccak256\":\"0xb1970fac7b64e6c09611e6691791e848d5e3fe410fa5899e7df2e0afd77a99e3\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://db5fbb3dddd8b7047465b62575d96231ba8a2774d37fb4737fbf23340fabbb03\",\"dweb:/ipfs/QmVUSvooZKEdEdap619tcJjTLcAuH6QBdZqAzWwnAXZAWJ\"]},\"@permit2/src/interfaces/IAllowanceTransfer.sol\":{\"keccak256\":\"0x37f0ac203b6ef605c9533e1a739477e8e9dcea90710b40e645a367f8a21ace29\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://e0104d72aeaec1cd66cc232e7de7b7ead08608efcc179491b8a66387614670b0\",\"dweb:/ipfs/QmfAZDyuNC9FXXbnJUwqHNwmAK6uRrXxtWEytLsxjskPsN\"]},\"@permit2/src/interfaces/IEIP712.sol\":{\"keccak256\":\"0xfdccf2b9639070803cd0e4198427fb0df3cc452ca59bd3b8a0d957a9a4254138\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://f7c936ac42ce89e827db905a1544397f8bdf46db34cdb6aa1b90dea42fdb4c72\",\"dweb:/ipfs/QmVgurxo1N31qZqkPBirw9Z7S9tLYmv6jSwQp8R8ur2cBk\"]},\"lib/FeeStructs.sol\":{\"keccak256\":\"0xc827bb2d5fe67d07f2c27743fb83579960b09dfb80f3d7538fc9202a8d603e8e\",\"license\":\"BUSL-1.1\",\"urls\":[\"bzz-raw://19ea9f4eb8a45be93040969956bce310b78bc095a3323c17f8e3bc8bd17881a1\",\"dweb:/ipfs/QmQkPq3PZLTtouvWmuhVoTirs1KS3DXB1chtuNBN3qbVPz\"]},\"lib/LibSwap.sol\":{\"keccak256\":\"0x30070d4897cb6305f95c93b27dced95f0f9b607e25527c7e963e74c85068620f\",\"license\":\"BUSL-1.1\",\"urls\":[\"bzz-raw://c761ad3a70c8b1d49a9b0d692106a7b3fbbf1b85a894ffed4ed85a02096d79b2\",\"dweb:/ipfs/QmPDKKtPzq4DwuS8M268nikAh9xLdNxQoesSUhM7JCLxUb\"]},\"lib/NativeETH.sol\":{\"keccak256\":\"0xbb98131bbe9fd5e045a2ee98cce87f6f1860169293455d673a78dbf5bb5a741d\",\"license\":\"BUSL-1.1\",\"urls\":[\"bzz-raw://a4fae145664fd7ebd7c067e8d2860e1f78e79c88d6741d054c0bc02d71d14429\",\"dweb:/ipfs/QmX3V6xSnnbbCucrJ8uQ2pZku6dAwhirysbp78pxJgsX2j\"]},\"lib/bytes/LibPrefixLengthEncodedByteArray.sol\":{\"keccak256\":\"0xbe8199dcbe40af65a1e584a88e96ea4b2e2c6b78e678e4c1746f880e3561c53e\",\"license\":\"BUSL-1.1\",\"urls\":[\"bzz-raw://d9697d942cec363153f02b14fc736b90da4fd4645380cdf3868d6e846c99f382\",\"dweb:/ipfs/Qmd5C5eZ5ZoYbKrACLig71mPdUY1SD6zizjTGry5uyBw7o\"]},\"src/Dispatcher.sol\":{\"keccak256\":\"0x98575a2f6360a29902922d0cd8281c265e3ad34397f30c2a0e771f1cd18b3538\",\"license\":\"BUSL-1.1\",\"urls\":[\"bzz-raw://a374f5730fd716523bd42b493d3d832bc5c1ecab3a6dbbc6b2d30a93c10c23b0\",\"dweb:/ipfs/QmbkrsuZTDqCdorQ5J8ct4ZDLdsVKnU21maFtyi5E5LGs5\"]},\"src/TransferManager.sol\":{\"keccak256\":\"0x3b732d236c9b1bd6e723f1b2843b4c5641540e2c7aff4490f792272047ecc35d\",\"license\":\"BUSL-1.1\",\"urls\":[\"bzz-raw://c8d442a80f17d5e567fa3961756544a86eafd2b84259425811b5bca6c1eb886b\",\"dweb:/ipfs/QmcdFYpUtxW86FxmCso9puEV4cfY2ooA5yckQPaBBXVWnL\"]},\"src/TychoRouterV3.sol\":{\"keccak256\":\"0xdcb0de867ab9d79c4cf73ff26d0903c0a61cf891d8278b5afcc5d5f84064457f\",\"license\":\"BUSL-1.1\",\"urls\":[\"bzz-raw://e5f2e2656533497f3a1f72a56237ea60a47b30928a0640fb8153a6365d7af075\",\"dweb:/ipfs/Qme4ft9U8pi2E4vaTMp4BV7fp3W2eyUmAYttdfmmzTF4gH\"]},\"src/Vault.sol\":{\"keccak256\":\"0x8988263eb7d70082038316b77e5652b572bfc87437764504c6138873c8956b6c\",\"license\":\"BUSL-1.1\",\"urls\":[\"bzz-raw://d6d907d4f94c144935546a0188e8857da2e9f6a21c65c0671ffed8a30abb0b9e\",\"dweb:/ipfs/QmVbKwLmi9Ws6UHZ3z8iNaFLzems27eUV8mBEJptnNUufX\"]}},\"version\":1}","userdoc":{"kind":"user","methods":{"activateFeeCalculator()":{"notice":"Activates the pending fee calculator once the timelock has expired."},"deposit(address,uint256)":{"notice":"Deposit tokens into the vault for the caller"},"setFeeCalculator(address)":{"notice":"Queues a new fee calculator with a timelock delay."},"supportsInterface(bytes4)":{"notice":"Override supportsInterface to resolve conflict between AccessControl and ERC6909"},"withdraw(address,uint256)":{"notice":"Withdraw tokens from the vault"},"singleSwap(uint256,address,address,uint256,uint256,address,(uint32,address,uint256,uint256,bytes),bytes)":{"notice":"Executes a single swap operation.         This function validates the output amount against a user-specified minimum.         Takes funds from the user's wallet using transferFrom."},"sequentialSwap(uint256,address,address,uint256,uint256,address,(uint32,address,uint256,uint256,bytes),bytes)":{"notice":"Executes a swap operation based on a predefined swap graph with no split routes.         This function enables multi-step swaps and validates the output amount against a user-specified minimum.         Takes funds from the user's wallet using transferFrom."},"splitSwap(uint256,address,address,uint256,uint256,uint256,address,(uint32,address,uint256,uint256,bytes),bytes)":{"notice":"Executes a swap operation based on a predefined swap graph, supporting internal token amount splits.         This function enables multi-step swaps and validates the output amount against a user-specified minimum.         Takes funds from the user's wallet using transferFrom."},"singleSwapUsingVault(uint256,address,address,uint256,uint256,address,(uint32,address,uint256,uint256,bytes),bytes)":{"notice":"Executes a single swap operation.         This function validates the output amount against a user-specified minimum.         Takes funds from the user's vault balance."},"sequentialSwapUsingVault(uint256,address,address,uint256,uint256,address,(uint32,address,uint256,uint256,bytes),bytes)":{"notice":"Executes a swap operation based on a predefined swap graph with no split routes.         This function enables multi-step swaps and validates the output amount against a user-specified minimum.         Takes funds from the user's vault balance."},"splitSwapUsingVault(uint256,address,address,uint256,uint256,uint256,address,(uint32,address,uint256,uint256,bytes),bytes)":{"notice":"Executes a swap operation based on a predefined swap graph, supporting internal token amount splits.         This function enables multi-step swaps and validates the output amount against a user-specified minimum.         Takes funds from the user's vault balance."},"singleSwapPermit2(uint256,address,address,uint256,uint256,address,(uint32,address,uint256,uint256,bytes),((address,uint160,uint48,uint48),address,uint256),bytes,bytes)":{"notice":"Executes a single swap operation.         This function validates the output amount against a user-specified minimum."},"sequentialSwapPermit2(uint256,address,address,uint256,uint256,address,(uint32,address,uint256,uint256,bytes),((address,uint160,uint48,uint48),address,uint256),bytes,bytes)":{"notice":"Executes a swap operation based on a predefined swap graph with no split routes.         This function enables multi-step swaps and validates the output amount against a user-specified minimum."},"splitSwapPermit2(uint256,address,address,uint256,uint256,uint256,address,(uint32,address,uint256,uint256,bytes),((address,uint160,uint48,uint48),address,uint256),bytes,bytes)":{"notice":"Executes a swap operation based on a predefined swap graph, supporting internal token amount splits.         This function enables multi-step swaps and validates the output amount against a user-specified minimum."}},"version":1},"devdoc":{"kind":"dev","errors":{"FailedCall()":[{"details":"A call to an address target failed. The target may have reverted."}],"EnforcedPause()":[{"details":"The operation failed because the contract is paused."}],"ExpectedPause()":[{"details":"The operation failed because the contract is not paused."}],"AccessControlBadConfirmation()":[{"details":"The caller of a function is not the expected one. NOTE: Don't confuse with {AccessControlUnauthorizedAccount}."}],"ReentrancyGuardReentrantCall()":[{"details":"Unauthorized reentrant call."}],"SafeERC20FailedOperation(address)":[{"details":"An operation with an ERC-20 token failed."}],"InsufficientBalance(uint256,uint256)":[{"details":"The ETH balance of the account is not enough to perform the operation."}],"AccessControlUnauthorizedAccount(address,bytes32)":[{"details":"The `account` is missing a role."}]},"events":{"Paused(address)":{"details":"Emitted when the pause is triggered by `account`."},"Unpaused(address)":{"details":"Emitted when the pause is lifted by `account`."},"EIP712DomainChanged()":{"details":"MAY be emitted to signal that the domain could have changed."},"OperatorSet(address,address,bool)":{"details":"Emitted when `owner` grants or revokes operator status for a `spender`."},"RoleGranted(bytes32,address,address)":{"details":"Emitted when `account` is granted `role`. `sender` is the account that originated the contract call. This account bears the admin role (for the granted role). Expected in cases where the role was granted using the internal {AccessControl-_grantRole}."},"RoleRevoked(bytes32,address,address)":{"details":"Emitted when `account` is revoked `role`. `sender` is the account that originated the contract call:   - if using `revokeRole`, it is the admin role bearer   - if using `renounceRole`, it is the role bearer (i.e. `account`)"},"Approval(address,address,uint256,uint256)":{"details":"Emitted when the allowance of a `spender` for an `owner` is set for a token of type `id`. The new allowance is `amount`."},"RoleAdminChanged(bytes32,bytes32,bytes32)":{"details":"Emitted when `newAdminRole` is set as ``role``'s admin role, replacing `previousAdminRole` `DEFAULT_ADMIN_ROLE` is the starting admin for all roles, despite {RoleAdminChanged} not being emitted to signal this."},"Transfer(address,address,address,uint256,uint256)":{"details":"Emitted when `amount` tokens of type `id` are moved from `sender` to `receiver` initiated by `caller`."}},"methods":{"pause()":{"details":"Pauses the contract"},"paused()":{"details":"Returns true if the contract is paused, and false otherwise."},"unpause()":{"details":"Unpauses the contract"},"eip712Domain()":{"details":"returns the fields and values that describe the domain separator used by this contract for EIP-712 signature."},"getFeeCalculator()":{"details":"Returns the current fee calculator address"},"getRoleAdmin(bytes32)":{"details":"Returns the admin role that controls `role`. See {grantRole} and {revokeRole}. To change a role's admin, use {_setRoleAdmin}."},"removeExecutor(address)":{"params":{"target":"address of the executor contract"},"details":"Entrypoint to remove an approved executor contract address"},"setExecutors(address[])":{"params":{"targets":"address of the executor contract"},"details":"Entrypoint to add or replace an approved executor contract address"},"deposit(address,uint256)":{"params":{"token":"The token address to deposit (use ETH_ADDRESS for native ETH)","amount":"The amount to deposit"}},"hasRole(bytes32,address)":{"details":"Returns `true` if `account` has been granted `role`."},"getPendingFeeCalculator()":{"details":"Returns the pending fee calculator and activation timestamp"},"setFeeCalculator(address)":{"params":{"feeCalculator":"The address of the fee calculator contract"}},"setOperator(address,bool)":{"details":"Grants or revokes unlimited transfer permission of any token id to `spender` for the caller's tokens. Must return true."},"withdraw(address,uint256)":{"params":{"token":"The token to withdraw","amount":"The amount to withdraw"}},"balanceOf(address,uint256)":{"details":"Override balanceOf to use our own mapping instead of ERC6909's"},"grantRole(bytes32,address)":{"details":"Grants `role` to `account`. If `account` had not been already granted `role`, emits a {RoleGranted} event. Requirements: - the caller must have ``role``'s admin role. May emit a {RoleGranted} event."},"isOperator(address,address)":{"details":"Returns true if `spender` is set as an operator for `owner`."},"revokeRole(bytes32,address)":{"details":"Revokes `role` from `account`. If `account` had been granted `role`, emits a {RoleRevoked} event. Requirements: - the caller must have ``role``'s admin role. May emit a {RoleRevoked} event."},"renounceRole(bytes32,address)":{"details":"Revokes `role` from the calling account. Roles are often managed via {grantRole} and {revokeRole}: this function's purpose is to provide a mechanism for accounts to lose their privileges if they are compromised (such as when a trusted device is misplaced). If the calling account had been revoked `role`, emits a {RoleRevoked} event. Requirements: - the caller must be `callerConfirmation`. May emit a {RoleRevoked} event."},"approve(address,uint256,uint256)":{"details":"Sets an approval to `spender` for `amount` of tokens of type `id` from the caller's tokens. An `amount` of `type(uint256).max` signifies an unlimited approval. Must return true."},"transfer(address,uint256,uint256)":{"details":"Transfers `amount` of token type `id` from the caller's account to `receiver`. Must return true."},"allowance(address,address,uint256)":{"details":"Returns the amount of tokens of type `id` that `spender` is allowed to spend on behalf of `owner`. NOTE: Does not include operator allowances."},"transferFrom(address,address,uint256,uint256)":{"details":"Transfers `amount` of token type `id` from `sender` to `receiver`. Must return true."},"singleSwap(uint256,address,address,uint256,uint256,address,(uint32,address,uint256,uint256,bytes),bytes)":{"params":{"tokenIn":"The address of the input token. Use `ETH_ADDRESS` for native ETH","amountIn":"The input token amount to be swapped.","receiver":"The address to receive the output tokens.","swapData":"Encoded swap details.","tokenOut":"The address of the output token. Use `ETH_ADDRESS` for native ETH","minAmountOut":"The minimum acceptable output amount (revert guardrail). Must be non-zero and not exceed `expectedAmountOut`.","clientFeeParams":"Client fee parameters including fee bps, receiver, max contribution, deadline and signature.","expectedAmountOut":"The quoted output amount; used to detect positive slippage."},"details":"- Reverts with `TychoRouter__NegativeSlippage` if the final output is below `minAmountOut`.","returns":{"_0":"The total amount of the output token received by the receiver."}},"sequentialSwap(uint256,address,address,uint256,uint256,address,(uint32,address,uint256,uint256,bytes),bytes)":{"params":{"swaps":"Encoded swap graph data containing details of each swap.","tokenIn":"The address of the input token. Use `ETH_ADDRESS` for native ETH","amountIn":"The input token amount to be swapped.","receiver":"The address to receive the output tokens.","tokenOut":"The address of the output token. Use `ETH_ADDRESS` for native ETH","minAmountOut":"The minimum acceptable output amount (revert guardrail). Must be non-zero and not exceed `expectedAmountOut`.","clientFeeParams":"Client fee parameters including fee bps, receiver, max contribution, deadline and signature.","expectedAmountOut":"The quoted output amount; used to detect positive slippage."},"details":"- Swaps are executed sequentially using the `_swap` function. - Reverts with `TychoRouter__NegativeSlippage` if the final output is below `minAmountOut`.","returns":{"_0":"The total amount of the output token received by the receiver."}},"splitSwap(uint256,address,address,uint256,uint256,uint256,address,(uint32,address,uint256,uint256,bytes),bytes)":{"params":{"swaps":"Encoded swap graph data containing details of each swap.","nTokens":"The total number of tokens involved in the swap graph (used to initialize arrays for internal calculations).","tokenIn":"The address of the input token. Use `ETH_ADDRESS` for native ETH","amountIn":"The input token amount to be swapped.","receiver":"The address to receive the output tokens.","tokenOut":"The address of the output token. Use `ETH_ADDRESS` for native ETH","minAmountOut":"The minimum acceptable output amount (revert guardrail). Must be non-zero and not exceed `expectedAmountOut`.","clientFeeParams":"Client fee parameters including fee bps, receiver, max contribution, deadline and signature.","expectedAmountOut":"The quoted output amount; used to detect positive slippage."},"details":"- Swaps are executed sequentially using the `_swap` function. - Reverts with `TychoRouter__NegativeSlippage` if the final output is below `minAmountOut`","returns":{"_0":"The total amount of the output token received by the receiver."}},"singleSwapUsingVault(uint256,address,address,uint256,uint256,address,(uint32,address,uint256,uint256,bytes),bytes)":{"params":{"tokenIn":"The address of the input token. Use `ETH_ADDRESS` for native ETH","amountIn":"The input token amount to be swapped.","receiver":"The address to receive the output tokens.","swapData":"Encoded swap details.","tokenOut":"The address of the output token. Use `ETH_ADDRESS` for native ETH","minAmountOut":"The minimum acceptable output amount (revert guardrail). Must be non-zero and not exceed `expectedAmountOut`.","clientFeeParams":"Client fee parameters including fee bps, receiver, max contribution, deadline and signature.","expectedAmountOut":"The quoted output amount; used to detect positive slippage."},"details":"- Reverts with `TychoRouter__NegativeSlippage` if the final output is below `minAmountOut`.","returns":{"_0":"The total amount of the output token received by the receiver."}},"sequentialSwapUsingVault(uint256,address,address,uint256,uint256,address,(uint32,address,uint256,uint256,bytes),bytes)":{"params":{"swaps":"Encoded swap graph data containing details of each swap.","tokenIn":"The address of the input token. Use `ETH_ADDRESS` for native ETH","amountIn":"The input token amount to be swapped.","receiver":"The address to receive the output tokens.","tokenOut":"The address of the output token. Use `ETH_ADDRESS` for native ETH","minAmountOut":"The minimum acceptable output amount (revert guardrail). Must be non-zero and not exceed `expectedAmountOut`.","clientFeeParams":"Client fee parameters including fee bps, receiver, max contribution, deadline and signature.","expectedAmountOut":"The quoted output amount; used to detect positive slippage."},"details":"- Swaps are executed sequentially using the `_swap` function. - Reverts with `TychoRouter__NegativeSlippage` if the final output is below `minAmountOut`.","returns":{"_0":"The total amount of the output token received by the receiver."}},"splitSwapUsingVault(uint256,address,address,uint256,uint256,uint256,address,(uint32,address,uint256,uint256,bytes),bytes)":{"params":{"swaps":"Encoded swap graph data containing details of each swap.","nTokens":"The total number of tokens involved in the swap graph (used to initialize arrays for internal calculations).","tokenIn":"The address of the input token. Use `ETH_ADDRESS` for native ETH","amountIn":"The input token amount to be swapped.","receiver":"The address to receive the output tokens.","tokenOut":"The address of the output token. Use `ETH_ADDRESS` for native ETH","minAmountOut":"The minimum acceptable output amount (revert guardrail). Must be non-zero and not exceed `expectedAmountOut`.","clientFeeParams":"Client fee parameters including fee bps, receiver, max contribution, deadline and signature.","expectedAmountOut":"The quoted output amount; used to detect positive slippage."},"details":"- Swaps are executed sequentially using the `_swap` function. - Reverts with `TychoRouter__NegativeSlippage` if the final output is below `minAmountOut`.","returns":{"_0":"The total amount of the output token received by the receiver."}},"singleSwapPermit2(uint256,address,address,uint256,uint256,address,(uint32,address,uint256,uint256,bytes),((address,uint160,uint48,uint48),address,uint256),bytes,bytes)":{"params":{"tokenIn":"The address of the input token. Use `ETH_ADDRESS` for native ETH","amountIn":"The input token amount to be swapped.","receiver":"The address to receive the output tokens.","swapData":"Encoded swap details.","tokenOut":"The address of the output token. Use `ETH_ADDRESS` for native ETH","signature":"A valid signature authorizing the Permit2 approval.","minAmountOut":"The minimum acceptable output amount (revert guardrail). Must be non-zero and not exceed `expectedAmountOut`.","permitSingle":"A Permit2 structure containing token approval details for the input token.","clientFeeParams":"Client fee parameters including fee bps, receiver, max contribution, deadline and signature.","expectedAmountOut":"The quoted output amount; used to detect positive slippage."},"details":"- For ERC20 tokens, Permit2 is used to approve and transfer tokens from the caller to the router. - Reverts with `TychoRouter__NegativeSlippage` if the final output is below `minAmountOut`.","returns":{"_0":"The total amount of the output token received by the receiver."}},"sequentialSwapPermit2(uint256,address,address,uint256,uint256,address,(uint32,address,uint256,uint256,bytes),((address,uint160,uint48,uint48),address,uint256),bytes,bytes)":{"params":{"swaps":"Encoded swap graph data containing details of each swap.","tokenIn":"The address of the input token. Use `ETH_ADDRESS` for native ETH","amountIn":"The input token amount to be swapped.","receiver":"The address to receive the output tokens.","tokenOut":"The address of the output token. Use `ETH_ADDRESS` for native ETH","signature":"A valid signature authorizing the Permit2 approval.","minAmountOut":"The minimum acceptable output amount (revert guardrail). Must be non-zero and not exceed `expectedAmountOut`.","permitSingle":"A Permit2 structure containing token approval details for the input token.","clientFeeParams":"Client fee parameters including fee bps, receiver, max contribution, deadline and signature.","expectedAmountOut":"The quoted output amount; used to detect positive slippage."},"details":"- For ERC20 tokens, Permit2 is used to approve and transfer tokens from the caller to the router. - Reverts with `TychoRouter__NegativeSlippage` if the final output is below `minAmountOut`.","returns":{"_0":"The total amount of the output token received by the receiver."}},"splitSwapPermit2(uint256,address,address,uint256,uint256,uint256,address,(uint32,address,uint256,uint256,bytes),((address,uint160,uint48,uint48),address,uint256),bytes,bytes)":{"params":{"swaps":"Encoded swap graph data containing details of each swap.","nTokens":"The total number of tokens involved in the swap graph (used to initialize arrays for internal calculations).","tokenIn":"The address of the input token. Use `ETH_ADDRESS` for native ETH","amountIn":"The input token amount to be swapped.","receiver":"The address to receive the output tokens.","tokenOut":"The address of the output token. Use `ETH_ADDRESS` for native ETH","signature":"A valid signature authorizing the Permit2 approval.","minAmountOut":"The minimum acceptable output amount (revert guardrail). Must be non-zero and not exceed `expectedAmountOut`.","permitSingle":"A Permit2 structure containing token approval details for the input token.","clientFeeParams":"Client fee parameters including fee bps, receiver, max contribution, deadline and signature.","expectedAmountOut":"The quoted output amount; used to detect positive slippage."},"details":"- For ERC20 tokens, Permit2 is used to approve and transfer tokens from the caller to the router. - Swaps are executed sequentially using the `_swap` function. - Reverts with `TychoRouter__NegativeSlippage` if the final output is below `minAmountOut`.","returns":{"_0":"The total amount of the output token received by the receiver."}}},"version":1},"storageLayout":{"types":{"t_bool":{"label":"bool","encoding":"inplace","numberOfBytes":"1"},"t_uint48":{"label":"uint48","encoding":"inplace","numberOfBytes":"6"},"t_address":{"label":"address","encoding":"inplace","numberOfBytes":"20"},"t_bytes32":{"label":"bytes32","encoding":"inplace","numberOfBytes":"32"},"t_uint256":{"label":"uint256","encoding":"inplace","numberOfBytes":"32"},"t_string_storage":{"label":"string","encoding":"bytes","numberOfBytes":"32"},"t_mapping(t_address,t_bool)":{"key":"t_address","label":"mapping(address => bool)","value":"t_bool","encoding":"mapping","numberOfBytes":"32"},"t_struct(RoleData)150_storage":{"label":"struct AccessControl.RoleData","members":[{"slot":"0","type":"t_mapping(t_address,t_bool)","astId":147,"label":"hasRole","offset":0,"contract":"src/TychoRouterV3.sol:TychoRouterV3"},{"slot":"1","type":"t_bytes32","astId":149,"label":"adminRole","offset":0,"contract":"src/TychoRouterV3.sol:TychoRouterV3"}],"encoding":"inplace","numberOfBytes":"64"},"t_mapping(t_address,t_uint256)":{"key":"t_address","label":"mapping(address => uint256)","value":"t_uint256","encoding":"mapping","numberOfBytes":"32"},"t_mapping(t_uint256,t_uint256)":{"key":"t_uint256","label":"mapping(uint256 => uint256)","value":"t_uint256","encoding":"mapping","numberOfBytes":"32"},"t_mapping(t_address,t_mapping(t_address,t_bool))":{"key":"t_address","label":"mapping(address => mapping(address => bool))","value":"t_mapping(t_address,t_bool)","encoding":"mapping","numberOfBytes":"32"},"t_mapping(t_bytes32,t_struct(RoleData)150_storage)":{"key":"t_bytes32","label":"mapping(bytes32 => struct AccessControl.RoleData)","value":"t_struct(RoleData)150_storage","encoding":"mapping","numberOfBytes":"32"},"t_mapping(t_address,t_mapping(t_uint256,t_uint256))":{"key":"t_address","label":"mapping(address => mapping(uint256 => uint256))","value":"t_mapping(t_uint256,t_uint256)","encoding":"mapping","numberOfBytes":"32"},"t_mapping(t_address,t_mapping(t_address,t_mapping(t_uint256,t_uint256)))":{"key":"t_address","label":"mapping(address => mapping(address => mapping(uint256 => uint256)))","value":"t_mapping(t_address,t_mapping(t_uint256,t_uint256))","encoding":"mapping","numberOfBytes":"32"}},"storage":[{"slot":"0","type":"t_mapping(t_bytes32,t_struct(RoleData)150_storage)","astId":155,"label":"_roles","offset":0,"contract":"src/TychoRouterV3.sol:TychoRouterV3"},{"slot":"1","type":"t_mapping(t_address,t_mapping(t_uint256,t_uint256))","astId":1386,"label":"_balances","offset":0,"contract":"src/TychoRouterV3.sol:TychoRouterV3"},{"slot":"2","type":"t_mapping(t_address,t_mapping(t_address,t_bool))","astId":1392,"label":"_operatorApprovals","offset":0,"contract":"src/TychoRouterV3.sol:TychoRouterV3"},{"slot":"3","type":"t_mapping(t_address,t_mapping(t_address,t_mapping(t_uint256,t_uint256)))","astId":1400,"label":"_allowances","offset":0,"contract":"src/TychoRouterV3.sol:TychoRouterV3"},{"slot":"4","type":"t_bool","astId":3472,"label":"_paused","offset":0,"contract":"src/TychoRouterV3.sol:TychoRouterV3"},{"slot":"5","type":"t_mapping(t_address,t_mapping(t_uint256,t_uint256))","astId":14178,"label":"_vaultBalances","offset":0,"contract":"src/TychoRouterV3.sol:TychoRouterV3"},{"slot":"6","type":"t_mapping(t_address,t_uint256)","astId":10831,"label":"executorsActivationTimestamp","offset":0,"contract":"src/TychoRouterV3.sol:TychoRouterV3"},{"slot":"7","type":"t_string_storage","astId":6001,"label":"_nameFallback","offset":0,"contract":"src/TychoRouterV3.sol:TychoRouterV3"},{"slot":"8","type":"t_string_storage","astId":6003,"label":"_versionFallback","offset":0,"contract":"src/TychoRouterV3.sol:TychoRouterV3"},{"slot":"9","type":"t_address","astId":11877,"label":"_feeCalculator","offset":0,"contract":"src/TychoRouterV3.sol:TychoRouterV3"},{"slot":"10","type":"t_address","astId":11879,"label":"_pendingFeeCalculator","offset":0,"contract":"src/TychoRouterV3.sol:TychoRouterV3"},{"slot":"10","type":"t_uint48","astId":11881,"label":"_feeCalculatorActivationTimestamp","offset":20,"contract":"src/TychoRouterV3.sol:TychoRouterV3"}]},"transientStorageLayout":{"types":null,"storage":[]},"evm":{"bytecode":{"object":"61018080604052346103c95760c0816161bf803803809161002082856103cd565b8339810103126103c95761003381610404565b61003f60208301610404565b9161004c60408201610404565b61005860608301610404565b9061007160a061006a60808601610404565b9401610404565b93604051906100816040836103cd565b600b8252602082016a2a3cb1b437a937baba32b960a91b8152604051926100a96040856103cd565b600184526020840192603160f81b845260017f9b779b17422d0df92223018b32b4d1fa46e071723d6817e2486d003becc55f0055803b156103a9576001600160a01b03166080526100f98161061d565b61014052610106846107c4565b6101605251902091826101005251902080610120524660c0526040519060208201927f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f8452604083015260608201524660808201523060a082015260a0815261017060c0826103cd565b51902060a0523060e052843b1561038b57600980546001600160a01b0319166001600160a01b03909616959095179094555f51602061613f5f395f51905f525f81815260208190527ff7c9542c591017a21c74b6f3fab6263c7952fc0aaf9db4c22a2a04ddc7f867508054908390556103139661030d9594610307949093610301939082905f51602061609f5f395f51905f529080a45f51602061611f5f395f51905f525f81815260208190527f770bdc288ee5ebd346714a4f85d8d94878b226ea302eab9b7e299fdec2bb0a428054908390559082905f51602061609f5f395f51905f529080a45f51602061615f5f395f51905f525f81815260208190527ffad11248e1247cf2be78b2297df0a99e014395bebbed387f9305d245195f092e8054908390559082905f51602061609f5f395f51905f529080a45f5160206160df5f395f51905f525f81815260208190527fcd92a47a49af88ea215f843a7acddba636c1123555e1f5f07a13c3e84b9691d88054908390559082905f51602061609f5f395f51905f529080a4610418565b5061049d565b5061051d565b5061059d565b506040516157769081610909823960805181818161061601528181611106015281816118210152818161204c01526153e5015260a051816149ff015260c05181614abc015260e051816149d001526101005181614a4e01526101205181614a74015261014051816113ec015261016051816114150152f35b6324da307760e21b5f9081526001600160a01b038616600452602490fd5b63beed1af760e01b5f9081526001600160a01b0391909116600452602490fd5b5f80fd5b601f909101601f19168101906001600160401b038211908210176103f057604052565b634e487b7160e01b5f52604160045260245ffd5b51906001600160a01b03821682036103c957565b6001600160a01b0381165f9081525f5160206160ff5f395f51905f52602052604090205460ff16610498576001600160a01b03165f8181525f5160206160ff5f395f51905f5260205260408120805460ff191660011790553391905f51602061613f5f395f51905f52905f51602061607f5f395f51905f529080a4600190565b505f90565b6001600160a01b0381165f9081525f5160206160bf5f395f51905f52602052604090205460ff16610498576001600160a01b03165f8181525f5160206160bf5f395f51905f5260205260408120805460ff191660011790553391905f51602061611f5f395f51905f52905f51602061607f5f395f51905f529080a4600190565b6001600160a01b0381165f9081525f51602061619f5f395f51905f52602052604090205460ff16610498576001600160a01b03165f8181525f51602061619f5f395f51905f5260205260408120805460ff191660011790553391905f51602061615f5f395f51905f52905f51602061607f5f395f51905f529080a4600190565b6001600160a01b0381165f9081525f51602061617f5f395f51905f52602052604090205460ff16610498576001600160a01b03165f8181525f51602061617f5f395f51905f5260205260408120805460ff191660011790553391905f5160206160df5f395f51905f52905f51602061607f5f395f51905f529080a4600190565b908151602081105f14610697575090601f815111610657576020815191015160208210610648571790565b5f198260200360031b1b161790565b604460209160405192839163305a27a960e01b83528160048401528051918291826024860152018484015e5f828201840152601f01601f19168101030190fd5b6001600160401b0381116103f057600754600181811c911680156107ba575b60208210146107a657601f8111610767575b50602092601f821160011461070657928192935f926106fb575b50508160011b915f199060031b1c19161760075560ff90565b015190505f806106e2565b601f1982169360075f52805f20915f5b86811061074f5750836001959610610737575b505050811b0160075560ff90565b01515f1960f88460031b161c191690555f8080610729565b91926020600181928685015181550194019201610716565b818111156106c85760075f5260205f20601f80840160051c809201920160051c03905f5b8281106107995750506106c8565b5f8282015560010161078b565b634e487b7160e01b5f52602260045260245ffd5b90607f16906106b6565b908151602081105f146107ef575090601f815111610657576020815191015160208210610648571790565b6001600160401b0381116103f057600854600181811c911680156108fe575b60208210146107a657601f81116108bf575b50602092601f821160011461085e57928192935f92610853575b50508160011b915f199060031b1c19161760085560ff90565b015190505f8061083a565b601f1982169360085f52805f20915f5b8681106108a7575083600195961061088f575b505050811b0160085560ff90565b01515f1960f88460031b161c191690555f8080610881565b9192602060018192868501518155019401920161086e565b818111156108205760085f5260205f20601f80840160051c809201920160051c03905f5b8281106108f1575050610820565b5f828201556001016108e3565b90607f169061080e56fe60806040526004361015610038575b361561002e573461002a57610022366120d8565b602081519101f35b5f80fd5b6100366120c7565b005b5f3560e01c8062fdd58e146102f157806301ffc9a7146102ec578063095bcdb6146102e75780630c1a0ee7146102e257806312261ee7146102dd5780631d452e46146102d857806321bd166a1461023357806324788429146102d3578063248a9ca3146102ce5780632f2ff15d146102c957806333967285146102c457806336568abe146102bf5780633c226834146102ba5780633f4ba83a146102b5578063409b68bf146102b0578063426a8493146102ab57806346f177ec146102a657806347e7ef24146102a15780634e573d091461029c5780634e66ab2014610297578063558a729714610292578063598af9e71461028d5780635c975abb14610288578063631eecea146102835780636aad98381461027e5780638456cb591461027957806384b0196e146102745780638c66d04f1461026f57806391d148541461026a5780639b67606914610265578063a217fddf14610260578063ae890e771461025b578063b131b93414610256578063b6363cf214610251578063ca9310731461024c578063d547741f14610247578063e63ab1e914610242578063ef7008ea1461023d578063f3fef3a314610238578063f78800f914610233578063f8cdfc4f1461022e578063fb1bb9de14610229578063fe745a0f146102245763fe99049a0361000e57611acd565b611aa9565b611a6f565b611a36565b61074a565b611945565b611925565b6118eb565b6118ab565b6117bd565b611763565b611727565b611707565b6116ed565b611635565b6115e3565b6114dd565b6113d4565b6112f2565b611196565b611049565b610f5c565b610eed565b610e36565b610df2565b610db8565b610bcc565b610ba6565b610aae565b610a6c565b610904565b6108db565b61087a565b610840565b6107fb565b6107c9565b610767565b6106b8565b6105f7565b61056f565b61048c565b610385565b61033b565b6001600160a01b0381160361002a57565b60243590610314826102f6565b565b60443590610314826102f6565b60c43590610314826102f6565b3590610314826102f6565b3461002a57604036600319011261002a57600435610358816102f6565b6001600160a01b0360243591165f52600560205260405f20905f52602052602060405f2054604051908152f35b3461002a57602036600319011261002a576004357fffffffff00000000000000000000000000000000000000000000000000000000811680910361002a576020907f7965db0b0000000000000000000000000000000000000000000000000000000081148015610440575b80918115610405575b50506040519015158152f35b7f0f632fb3000000000000000000000000000000000000000000000000000000001491508115610438575b505f806103f9565b90505f610430565b507f01ffc9a70000000000000000000000000000000000000000000000000000000081146103f0565b606090600319011261002a57600435610481816102f6565b906024359060443590565b3461002a576104a461049d36610469565b913361238e565b602060405160018152f35b908160a091031261002a5790565b9181601f8401121561002a5782359167ffffffffffffffff831161002a576020838186019501011161002a57565b9061010060031983011261002a5760043591602435610509816102f6565b91604435610516816102f6565b91606435916084359160a43561052b816102f6565b9160c43567ffffffffffffffff811161002a578261054b916004016104af565b9160e4359067ffffffffffffffff821161002a5761056b916004016104bd565b9091565b60206105c16105a9610580366104eb565b9889828587898b8d8f989f8a9f9a9b9e9b61059c9e9d9e612458565b6105a461248c565b6125c1565b6105b281612819565b6105bc8183612861565b612a88565b60017f9b779b17422d0df92223018b32b4d1fa46e071723d6817e2486d003becc55f0055604051908152f35b5f91031261002a57565b3461002a575f36600319011261002a5760206040516001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000168152f35b634e487b7160e01b5f52604160045260245ffd5b6040810190811067ffffffffffffffff82111761066a57604052565b61063a565b90601f8019910116810190811067ffffffffffffffff82111761066a57604052565b6040519061031460e08361066f565b67ffffffffffffffff811161066a5760051b60200190565b3461002a57602036600319011261002a5760043567ffffffffffffffff811161002a573660238201121561002a578060040135906106f5826106a0565b91610703604051938461066f565b8083526024602084019160051b8301019136831161002a57602401905b8282106107305761003684611c23565b60208091833561073f816102f6565b815201910190610720565b3461002a575f36600319011261002a576020604051620151808152f35b3461002a57602036600319011261002a576001600160a01b0360043561078c816102f6565b610794612be8565b16805f5260066020525f60408120557f4a2cf608bfb427f53279ec7f0eadf48913b9346ccefc3af138dbdec14ea0907d5f80a2005b3461002a57602036600319011261002a5760206107f36004355f525f602052600160405f20015490565b604051908152f35b3461002a57604036600319011261002a5761003660243560043561081e826102f6565b61083b610836825f525f602052600160405f20015490565b612cc6565b612d0d565b3461002a575f36600319011261002a5760206040517f9939157be7760e9462f1d5a0dcad88b616ddc64138e317108b40b1cf556013488152f35b3461002a57604036600319011261002a5760043560243561089a816102f6565b336001600160a01b038216036108b35761003691612da5565b7f6697b232000000000000000000000000000000000000000000000000000000005f5260045ffd5b60206105c16108ec610580366104eb565b6108f581612819565b6108ff8183612861565b612e35565b3461002a575f36600319011261002a57335f9081527f770bdc288ee5ebd346714a4f85d8d94878b226ea302eab9b7e299fdec2bb0a41602052604090205460ff16156109b15760045460ff8116156109895760ff19166004557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa6020604051338152a1005b7f8dfc202b000000000000000000000000000000000000000000000000000000005f5260045ffd5b63e2517d3f60e01b5f52336004527f427da25fe773164f88948d3e215c94b6554e2ed5e5f203a821c9f2f6131cf75a60245260445ffd5b61012060031982011261002a5760043591602435610a05816102f6565b91604435610a12816102f6565b91606435916084359160a4359160c435610a2b816102f6565b9160e43567ffffffffffffffff811161002a5782610a4b916004016104af565b91610104359067ffffffffffffffff821161002a5761056b916004016104bd565b3461002a5760206105c1610a9f610a82366109e8565b998a8285888a8c8f979f9e899f9a9e9a819a9c9e9c61059c612458565b610aa98183612910565b612ee7565b3461002a57610abc36610469565b9190913315610b7a576001600160a01b038216918215610b4e57610b0e84610b018493335f52600360205260405f20906001600160a01b03165f5260205260405f2090565b905f5260205260405f2090565b5560405190815233907fb3fd5071835887567a0671151121894ddccc2842f1d10bedad13e0d17cace9a790602090a46040516001815280602081015b0390f35b7f6f65f465000000000000000000000000000000000000000000000000000000005f525f60045260245ffd5b7fcc766a98000000000000000000000000000000000000000000000000000000005f525f60045260245ffd5b3461002a575f36600319011261002a5760206001600160a01b0360095416604051908152f35b604036600319011261002a57600435610be4816102f6565b60243590610bf0612458565b610bf861248c565b6001600160a01b038116908115610d90578215610d6857610c29906001600160a01b03165b6001600160a01b031690565b9073eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee8103610c85575090610c5c91610c56823414611e1c565b33613079565b61003660017f9b779b17422d0df92223018b32b4d1fa46e071723d6817e2486d003becc55f0055565b610c8f3415611d62565b6040516370a0823160e01b815230600482015292602084602481855afa938415610d3e575f94610d43575b50610cc790303384612fd6565b6040516370a0823160e01b815230600482015290602090829060249082905afa928315610d3e57610d0a93610d03925f91610d0f575b50611e0f565b9033613079565b610c5c565b610d31915060203d602011610d37575b610d29818361066f565b810190611dd3565b5f610cfd565b503d610d1f565b611de2565b610cc7919450610d619060203d602011610d3757610d29818361066f565b9390610cba565b7fa6b14c81000000000000000000000000000000000000000000000000000000005f5260045ffd5b7f33356531000000000000000000000000000000000000000000000000000000005f5260045ffd5b3461002a575f36600319011261002a5760206040517f6a1dd52dcad5bd732e45b6af4e7344fa284e2d7d4b23b5b09cb55d36b0685c878152f35b3461002a575f36600319011261002a5760206040517fcaeeb59f261880532f82b8abef24d6c0b351a4a6c52f09c7e78629661602a36a8152f35b8015150361002a57565b3461002a57604036600319011261002a57600435610e53816102f6565b602435610e5f81610e2c565b3315610b7a576001600160a01b038216918215610b4e5781610ea0610eb192335f52600260205260405f20906001600160a01b03165f5260205260405f2090565b9060ff801983541691151516179055565b604051901515815233907fceb576d9f15e4e200fdb5096d64d5dfd667e16def20c1eefd14256d8e3faa26790602090a360405160018152602090f35b3461002a57606036600319011261002a57600435610f0a816102f6565b610f47602435610f19816102f6565b6001600160a01b0360443593165f52600360205260405f20906001600160a01b03165f5260205260405f2090565b905f52602052602060405f2054604051908152f35b3461002a575f36600319011261002a57602060ff600454166040519015158152f35b60c09061010319011261002a5761010490565b908160c091031261002a5790565b6101e060031982011261002a5760043591610fba6024610330565b91610fc56044610330565b916064359160843591610fd860a4610330565b9160c43567ffffffffffffffff811161002a5781610ff8916004016104af565b916110048260e4610f91565b916101a43567ffffffffffffffff811161002a5781611025916004016104bd565b929092916101c4359067ffffffffffffffff821161002a5761056b916004016104bd565b3461002a5761107a61105a36610f9f565b9b8c82888a8f989796959f9c8a9f9a9e809c9f829e9f8d9161059c612458565b73eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee6001600160a01b038616036110f1575b610b4a6110b88d8d8d8d8d8d8d8d8d6108ff81836129c3565b6110e160017f9b779b17422d0df92223018b32b4d1fa46e071723d6817e2486d003becc55f0055565b6040519081529081906020820190565b6001600160a01b039b999795939a989694929b7f00000000000000000000000000000000000000000000000000000000000000001691823b1561002a576040516302b67b5760e41b81529c8d92839261114e923360048601611e9a565b03815a5f948591f1988915610d3e57610b4a9a6110b89a61117c575b81939597999b50829496989a5061109f565b8061118a5f6111909361066f565b806105ed565b5f61116a565b3461002a575f36600319011261002a576111ae612c57565b600a5465ffffffffffff8160a01c1680156112ca5780421061129b57506001600160a01b03806111f66111e96009546001600160a01b031690565b936001600160a01b031690565b611223816001600160a01b031673ffffffffffffffffffffffffffffffffffffffff196009541617600955565b61124573ffffffffffffffffffffffffffffffffffffffff19600a5416600a55565b6112727fffffffffffff000000000000ffffffffffffffffffffffffffffffffffffffff600a5416600a55565b1691167f153538becce9737e2efc6b51d64464392a325d0368e402aa8ff9f7f14e4c09e65f80a3005b7f017c6456000000000000000000000000000000000000000000000000000000005f526004524260245260445ffd5b7fc8e301b6000000000000000000000000000000000000000000000000000000005f5260045ffd5b3461002a575f36600319011261002a57335f9081527ff7c9542c591017a21c74b6f3fab6263c7952fc0aaf9db4c22a2a04ddc7f8674f602052604090205460ff161561137957611340612458565b600160ff1960045416176004557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a2586020604051338152a1005b63e2517d3f60e01b5f52336004527f65d7a28e3265b37a6474929f336521b332c1681b933f6cb9f3376673440d862a60245260445ffd5b805180835260209291819084018484015e5f828201840152601f01601f1916010190565b3461002a575f36600319011261002a5761147f6114107f00000000000000000000000000000000000000000000000000000000000000006143ba565b6114397f00000000000000000000000000000000000000000000000000000000000000006144a0565b61148d611444611f49565b916040519485947f0f00000000000000000000000000000000000000000000000000000000000000865260e0602087015260e08601906113b0565b9084820360408601526113b0565b4660608401523060808401525f60a084015282810360c0840152602080835192838152019201905f5b8181106114c4575050500390f35b82518452859450602093840193909201916001016114b6565b3461002a57602036600319011261002a576004356114fa816102f6565b611502612c57565b61150a612458565b803b156115ae57620151804201908142116115a957600a80547fffffffffffff0000000000000000000000000000000000000000000000000000166001600160a01b039290921691821760a084901b79ffffffffffff000000000000000000000000000000000000000016179055907fdf65d81a0133f384ea0402f18ad9df44c14b2105c60c85914d79b21dfd3261eb906115a4906110e1565b0390a2005b611ded565b6001600160a01b03907f9368c1dc000000000000000000000000000000000000000000000000000000005f521660045260245ffd5b3461002a57604036600319011261002a57602060ff61162960243560043561160a826102f6565b5f525f845260405f20906001600160a01b03165f5260205260405f2090565b54166040519015158152f35b3461002a5761020036600319011261002a57600435611652610307565b9061165b610316565b916064359160a43560843561166e610323565b60e43567ffffffffffffffff811161002a5761168e9036906004016104af565b61169736610f7e565b916101c43567ffffffffffffffff811161002a576116b99036906004016104bd565b9590946101e4359967ffffffffffffffff8b1161002a57610b4a9b6116e56110e19c36906004016104bd565b9b909a611fc1565b3461002a575f36600319011261002a5760206040515f8152f35b3461002a5760206105c161171d610580366104eb565b6108ff8183612910565b3461002a57602036600319011261002a576001600160a01b0360043561174c816102f6565b165f526006602052602060405f2054604051908152f35b3461002a57604036600319011261002a57602060ff611629600435611787816102f6565b6001600160a01b036024359161179c836102f6565b165f526002845260405f20906001600160a01b03165f5260205260405f2090565b3461002a576117ce61105a36610f9f565b73eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee6001600160a01b0386160361180c575b610b4a6110b88d8d8d8d8d8d8d8d8d6105bc81836129c3565b6001600160a01b039b999795939a989694929b7f00000000000000000000000000000000000000000000000000000000000000001691823b1561002a576040516302b67b5760e41b81529c8d928392611869923360048601611e9a565b03815a5f948591f1988915610d3e57610b4a9a6110b89a611897575b81939597999b50829496989a506117f3565b8061118a5f6118a59361066f565b5f611885565b3461002a57604036600319011261002a576100366024356004356118ce826102f6565b6118e6610836825f525f602052600160405f20015490565b612da5565b3461002a575f36600319011261002a5760206040517f65d7a28e3265b37a6474929f336521b332c1681b933f6cb9f3376673440d862a8152f35b3461002a5760206105c161193b610580366104eb565b6105bc8183612910565b3461002a57604036600319011261002a57600435611962816102f6565b60243561196d61248c565b6001600160a01b038216918215610d90578115610d68576119966001600160a01b038216610c1d565b906119b682610b01336001600160a01b03165f52600560205260405f2090565b548381106119fc575050816119cb91336130bf565b73eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee82036119f157610c5c915033613174565b610d0a913390613104565b6040516369dc250160e11b81523360048201526001600160a01b039290921660248301526044820193909352606481019290925250608490fd5b3461002a575f36600319011261002a57600a54604080516001600160a01b038316815260a09290921c65ffffffffffff16602083015290f35b3461002a575f36600319011261002a5760206040517f427da25fe773164f88948d3e215c94b6554e2ed5e5f203a821c9f2f6131cf75a8152f35b60206105c1611aba610a82366109e8565b611ac381612819565b610aa98183612861565b3461002a57608036600319011261002a57600435611aea816102f6565b602435611af6816102f6565b604435606435916001600160a01b038416933385141580611bf2575b611b2d575b611b21945061238e565b60405160018152602090f35b845f526003602052611b533360405f20906001600160a01b03165f5260205260405f2090565b835f5260205260405f20545f198110611b6d575b50611b17565b848110611bab578490611b21965f52600360205203611ba484610b013360405f20906001600160a01b03165f5260205260405f2090565b555f611b67565b6040517f58a3fd5a00000000000000000000000000000000000000000000000000000000815233600482015260248101919091526044810185905260648101849052608490fd5b50845f52600260205260ff611c1b3360405f20906001600160a01b03165f5260205260405f2090565b541615611b12565b611c2b612be8565b611c33612458565b5f5b8151811015611d24576001600160a01b03611c508284611d4e565b5116803b15611cfc57805f52600660205260405f2054611cd157906001917f8d569bcfa0f17e03872f15644187df4676d61a9e71e934211c2781c94d0c9f37611cc8611c9b42611f96565b80611cb7856001600160a01b03165f52600660205260405f2090565b556040519081529081906020820190565b0390a201611c35565b7f1124faeb000000000000000000000000000000000000000000000000000000005f5260045260245ffd5b7f931cf050000000000000000000000000000000000000000000000000000000005f5260045ffd5b5050565b634e487b7160e01b5f52603260045260245ffd5b805115611d495760200190565b611d28565b8051821015611d495760209160051b010190565b15611d6957565b608460405162461bcd60e51b815260206004820152602260248201527f455448206e6f7420616363657074656420666f72204552433230206465706f7360448201527f69740000000000000000000000000000000000000000000000000000000000006064820152fd5b9081602091031261002a575190565b6040513d5f823e3d90fd5b634e487b7160e01b5f52601160045260245ffd5b5f198101919082116115a957565b919082039182116115a957565b15611e2357565b606460405162461bcd60e51b815260206004820152600e60248201527f56616c7565206d69736d617463680000000000000000000000000000000000006044820152fd5b359065ffffffffffff8216820361002a57565b908060209392818452848401375f828201840152601f01601f1916010190565b60a0611f4695936001600160a01b03610100941683526001600160a01b038135611ec3816102f6565b1660208401526001600160a01b036020820135611edf816102f6565b16604084015265ffffffffffff611ef860408301611e67565b16606084015265ffffffffffff611f1160608301611e67565b1660808401526001600160a01b036080820135611f2d816102f6565b1682840152013560c08201528160e08201520191611e7a565b90565b60405190611f5860208361066f565b5f808352366020840137565b90611f6e826106a0565b611f7b604051918261066f565b8281528092611f8c601f19916106a0565b0190602036910137565b906201518082018092116115a957565b90600182018092116115a957565b919082018092116115a957565b9b9a99611fe38c8c8f9988888d9f98839f98809b9d9f9e829d9f61059c612458565b73eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee6001600160a01b03851603612042575b50505089610aa96120199b836129c3565b611f4660017f9b779b17422d0df92223018b32b4d1fa46e071723d6817e2486d003becc55f0055565b6001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016803b1561002a57612098935f8094604051968795869485936302b67b5760e41b85523360048601611e9a565b03925af18015610d3e576120ae575b8080612008565b806120ba5f809361066f565b80031261002a575f6120a7565b6120cf612458565b333b1561002a57565b906120e1612458565b7f098a7a3b47801589e8cdf9ec791b93ad44273246946c32ef1fc4dbe45390c80e5c7f8c47a7e3f4c2e1b5a6d9f0e8c7b3a2d1e4f5c6b7a8d9e0f1c2b3a4d5e6f7c8d95c927f7b3c4e5f6a8d9e0f1c2b3a4d5e6f7c8d9e0f1c2b3a4d5e6f7c8d9e0f1c2b3a4d5c907fce9e2e8e50d57f2d688020ea7ab16e2039bcf4dc7175eba827e178586597bb395c907f0c22c14aba48b0e26e3b58475c66f358c352532122e537c32e8184c0159e6e105c9261219885614558565b604051967fee3dbf9b000000000000000000000000000000000000000000000000000000008852604088806121d33389885f6004860161323a565b03816001600160a01b038a165afa938415610d3e575f985f9561234a575b505f939192849361220492888c89614600565b5060405161224f8161224160208201947f7003fdf40000000000000000000000000000000000000000000000000000000086528660248401613268565b03601f19810183528261066f565b5190865af49261225d613279565b93156123045750600285612274611f4696976125a3565b146122f4575b50505f7f098a7a3b47801589e8cdf9ec791b93ad44273246946c32ef1fc4dbe45390c80e5d5f7f8c47a7e3f4c2e1b5a6d9f0e8c7b3a2d1e4f5c6b7a8d9e0f1c2b3a4d5e6f7c8d95d5f7f7b3c4e5f6a8d9e0f1c2b3a4d5e6f7c8d9e0f1c2b3a4d5e6f7c8d9e0f1c2b3a4d5d602080825183010191016132a8565b6122fd916147eb565b5f8061227a565b83908151156123165750602081519101fd5b7f39965ec7000000000000000000000000000000000000000000000000000000005f526001600160a01b031660045260245ffd5b5f9492995061220491955092612378859460403d604011612387575b612370818361066f565b810190613217565b9a909a969250929450926121f1565b503d612366565b9291926001600160a01b03811691821561242c576001600160a01b038116938415612400576123e381876123fb947f1b3d7edb2e9c0b0e7c525b20aaaef0f5940d2ed71663c7d39266ecafac728859966148dd565b60408051338152602081019290925290918291820190565b0390a4565b7fb8bbd610000000000000000000000000000000000000000000000000000000005f525f60045260245ffd5b7fa4352080000000000000000000000000000000000000000000000000000000005f525f60045260245ffd5b60ff6004541661246457565b7fd93c0665000000000000000000000000000000000000000000000000000000005f5260045ffd5b60027f9b779b17422d0df92223018b32b4d1fa46e071723d6817e2486d003becc55f0054146124db5760027f9b779b17422d0df92223018b32b4d1fa46e071723d6817e2486d003becc55f0055565b7f3ee5aeb5000000000000000000000000000000000000000000000000000000005f5260045ffd5b35611f46816102f6565b3563ffffffff8116810361002a5790565b67ffffffffffffffff811161066a57601f01601f191660200190565b9291926125468261251e565b91612554604051938461066f565b82948184528183011161002a578281602093845f960137010152565b903590601e198136030182121561002a570180359067ffffffffffffffff821161002a5760200191813603831361002a57565b600411156125ad57565b634e487b7160e01b5f52602160045260245ffd5b969492909795939160208801986001600160a01b036125df8b612503565b16156127b85760608901359687421161278757948994612241948c99946126df9b99946126286126d79a604061261d6126178d61250d565b9f612503565b9b01359c369161253a565b60208151910120966040519b8c9a60208c019e8f98969492909b9a99979593916101808a019c7fcaeeb59f261880532f82b8abef24d6c0b351a4a6c52f09c7e78629661602a36a8b5263ffffffff1660208b01526001600160a01b031660408a01526060890152608088015260a08701526001600160a01b031660c08601526001600160a01b031660e08501526101008401526101208301526001600160a01b03166101408201526101600152565b51902061330b565b60808201916126f86126f18483612570565b908461334c565b50612702816125a3565b159081612768575b50612762576127286127309361272261273496612503565b92612570565b929091613380565b1590565b61273a57565b7f8bd22865000000000000000000000000000000000000000000000000000000005f5260045ffd5b50505050565b90506001600160a01b0361277e610c1d87612503565b9116145f61270a565b7f6b7a0a9e000000000000000000000000000000000000000000000000000000005f5260048890524260245260445ffd5b5050505050505050905060408101351590811591612800575b506127d857565b7fbea0e082000000000000000000000000000000000000000000000000000000005f5260045ffd5b63ffffffff91506128109061250d565b1615155f6127d1565b346128215750565b8034036128325750610314346133c5565b7f5ffb1a5f000000000000000000000000000000000000000000000000000000005f523460045260245260445ffd5b7faf58e9f1b0923d55d0ec6a57763d43cd9bb1d6bd8bad5ce9522fbe772c6ec42b5d7f28d0e2684c9341fec58f816e0c375a4e51f9f34ec034a29c97467df00497c8d95d5f7fd847dc13274ab371f6244234290f56fa8650ec9dceff86e20efe1ddc141bdb035d337f99298391997747e556e81b2d36d99151315b6c1b92e826ca8d37acad5fddaf705d5f7fce5ffa91873ede1b462af74ea59bab3721b06b0ff726b90311437efde20017955d565b90507faf58e9f1b0923d55d0ec6a57763d43cd9bb1d6bd8bad5ce9522fbe772c6ec42b5d5f7f28d0e2684c9341fec58f816e0c375a4e51f9f34ec034a29c97467df00497c8d95d5f7fd847dc13274ab371f6244234290f56fa8650ec9dceff86e20efe1ddc141bdb035d337f99298391997747e556e81b2d36d99151315b6c1b92e826ca8d37acad5fddaf705d60017fce5ffa91873ede1b462af74ea59bab3721b06b0ff726b90311437efde20017955d565b7faf58e9f1b0923d55d0ec6a57763d43cd9bb1d6bd8bad5ce9522fbe772c6ec42b5d7f28d0e2684c9341fec58f816e0c375a4e51f9f34ec034a29c97467df00497c8d95d60017fd847dc13274ab371f6244234290f56fa8650ec9dceff86e20efe1ddc141bdb035d337f99298391997747e556e81b2d36d99151315b6c1b92e826ca8d37acad5fddaf705d5f7fce5ffa91873ede1b462af74ea59bab3721b06b0ff726b90311437efde20017955d565b9081602091031261002a5751611f4681610e2c565b9790612b1396949597939291612a9f87858c6135a1565b612aaa83838b613647565b612ab660208701612503565b94602086612ad2610c1d610c1d6009546001600160a01b031690565b612adb8a61250d565b604051809d819482936359f0aa3960e11b8452600484019092916001600160a01b0360209163ffffffff604085019616845216910152565b03915afa988915610d3e575f99612bad575b50612b4291612b33916136fa565b908a15612ba5578c3093613791565b98612b4c8661250d565b93612b55610691565b9a8b5260208b015260408a01526001600160a01b031660608901526001600160a01b0316608088015263ffffffff1660a08701526001600160a01b031660c08601526040013591611f4694613e2a565b8c8c93613791565b612b3391995091612bd8612b429360203d602011612be1575b612bd0818361066f565b810190612a73565b99915091612b25565b503d612bc6565b335f9081527ffad11248e1247cf2be78b2297df0a99e014395bebbed387f9305d245195f092d602052604090205460ff1615612c2057565b63e2517d3f60e01b5f52336004527f6a1dd52dcad5bd732e45b6af4e7344fa284e2d7d4b23b5b09cb55d36b0685c8760245260445ffd5b335f9081527fcd92a47a49af88ea215f843a7acddba636c1123555e1f5f07a13c3e84b9691d7602052604090205460ff1615612c8f57565b63e2517d3f60e01b5f52336004527f9939157be7760e9462f1d5a0dcad88b616ddc64138e317108b40b1cf5560134860245260445ffd5b805f525f60205260ff612ced3360405f20906001600160a01b03165f5260205260405f2090565b541615612cf75750565b63e2517d3f60e01b5f523360045260245260445ffd5b805f525f60205260ff612d348360405f20906001600160a01b03165f5260205260405f2090565b5416612d9f57805f525f602052612d5f8260405f20906001600160a01b03165f5260205260405f2090565b805460ff1916600117905533916001600160a01b0316907f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d5f80a4600190565b50505f90565b805f525f60205260ff612dcc8360405f20906001600160a01b03165f5260205260405f2090565b541615612d9f57805f525f602052612df88260405f20906001600160a01b03165f5260205260405f2090565b805460ff1916905533916001600160a01b0316907ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b5f80a4600190565b979291909695939496612e4986848b6135a1565b612e5482828a613647565b8315612ebf57612e6a96612ab660208701612503565b03915afa988915610d3e575f99612e98575b50612b4291908915612e915730915b8c614129565b8a91612e8b565b612b4292919950612eb79060203d602011612be157612bd0818361066f565b989091612e7c565b7fbc0c932b000000000000000000000000000000000000000000000000000000005f5260045ffd5b989694612f719098949698612efd88868d6135a1565b612f0884848c613647565b612f1460208801612503565b95602087612f30610c1d610c1d6009546001600160a01b031690565b612f398b61250d565b6040518097819482936359f0aa3960e11b8452600484019092916001600160a01b0360209163ffffffff604085019616845216910152565b03915afa998a15610d3e578c935f9b612fb5575b508a15612fae5730915b6001600160a01b0387166001600160a01b0387161493612b42956141f4565b8b91612f8f565b612fcf919b5060203d602011612be157612bd0818361066f565b995f612f85565b9290916001600160a01b039081604051947f23b872dd000000000000000000000000000000000000000000000000000000005f52166004521660245260445260205f60648180865af160015f511481161561305a575b6040919091525f606052155b61303f5750565b635274afe760e01b5f526001600160a01b031660045260245ffd5b6001811516613070573d15833b1515161661302c565b503d5f823e3d90fd5b9190916001600160a01b038116918215612400576123fb816123e37f1b3d7edb2e9c0b0e7c525b20aaaef0f5940d2ed71663c7d39266ecafac72885993875f96876148dd565b90916001600160a01b03821690811561242c576123fb816123e37f1b3d7edb2e9c0b0e7c525b20aaaef0f5940d2ed71663c7d39266ecafac72885993875f80986148dd565b916001600160a01b03604051927fa9059cbb000000000000000000000000000000000000000000000000000000005f521660045260245260205f60448180865af160015f511481161561315e575b60409190915215613038565b6001811516613070573d15833b15151616613152565b8147106131da575f9182916040519161318e60208461066f565b8383528392602001916001600160a01b03165af1156131a957565b3d15155f03611de2577fd6bda275000000000000000000000000000000000000000000000000000000005f5260045ffd5b50477fcf479181000000000000000000000000000000000000000000000000000000005f5260045260245260445ffd5b5190600482101561002a57565b919082604091031261002a57602061322e8361320a565b920151611f46816102f6565b9294936001600160a01b0361325b8193604095606088526060880191611e7a565b9616602085015216910152565b916020611f46938181520191611e7a565b3d156132a3573d9061328a8261251e565b91613298604051938461066f565b82523d5f602084013e565b606090565b60208183031261002a5780519067ffffffffffffffff821161002a570181601f8201121561002a578051906132dc8261251e565b926132ea604051948561066f565b8284526020838301011161002a57815f9260208093018386015e8301015290565b6042906133166149c6565b90604051917f19010000000000000000000000000000000000000000000000000000000000008352600283015260228201522090565b90604183036133765761336f9250602081013591604082359201355f1a90614ae2565b9192909190565b50505f9160029190565b906064846020955f9560405194630b135d3f60e11b86526004860152604060248601528160448601528385013701915afa630b135d3f60e11b5f5114601f3d11161690565b80156134cc576133e873eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee615513565b5c908082019081125f83129080158216911516176115a95761031491158015806134c4575b1561345f57506134456134407fee3c9c434505299f2450d3624302a27b8a6978e973825330bc744ba925eec1995c611e01565b614b89565b73eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee614bba565b806134bb575b15613445576134947fee3c9c434505299f2450d3624302a27b8a6978e973825330bc744ba925eec1995c611fa6565b7fee3c9c434505299f2450d3624302a27b8a6978e973825330bc744ba925eec1995d613445565b50801515613465565b50811561340d565b50565b908015611d24576134df82615513565b5c918183019182125f84129080158216911516176115a9576103149215801580613599575b1561355b57506135347fee3c9c434505299f2450d3624302a27b8a6978e973825330bc744ba925eec1995c611e01565b7fee3c9c434505299f2450d3624302a27b8a6978e973825330bc744ba925eec1995d614bba565b80613590575b15614bba576135347fee3c9c434505299f2450d3624302a27b8a6978e973825330bc744ba925eec1995c611fa6565b50811515613561565b508215613504565b9190911561361f5781156135f757801580156135ee575b6135c0575050565b7fa6ce01ff000000000000000000000000000000000000000000000000000000005f5260045260245260445ffd5b508181116135b8565b7f6fa417d5000000000000000000000000000000000000000000000000000000005f5260045ffd5b7f40b71e18000000000000000000000000000000000000000000000000000000005f5260045ffd5b6001600160a01b0316159190821561367a575b50811561366857506127d857565b6001600160a01b03915016155f6127d1565b6001600160a01b03161591505f61365a565b9060191161002a5760050190601490565b909291928360191161002a57831161002a57601901916018190190565b356bffffffffffffffffffffffff198116929190601482106136da575050565b6bffffffffffffffffffffffff1960149290920360031b82901b16169150565b918160141161002a57823560601c92601401916013190190565b908160a091031261002a576137288161320a565b916020820151613737816102f6565b916040810151613746816102f6565b9160806060830151613757816102f6565b920151611f4681610e2c565b9260409261378a916001600160a01b03939796978652606060208701526060860191611e7a565b9416910152565b929493919461379f84614558565b837f098a7a3b47801589e8cdf9ec791b93ad44273246946c32ef1fc4dbe45390c80e5d60017f8c47a7e3f4c2e1b5a6d9f0e8c7b3a2d1e4f5c6b7a8d9e0f1c2b3a4d5e6f7c8d95d5f7f7b3c4e5f6a8d9e0f1c2b3a4d5e6f7c8d9e0f1c2b3a4d5e6f7c8d9e0f1c2b3a4d5d817fce9e2e8e50d57f2d688020ea7ab16e2039bcf4dc7175eba827e178586597bb395d604051936314b471d360e31b855260a0858061384c858b60048401613268565b03816001600160a01b0385165afa968715610d3e575f925f915f915f985f9b613ad6575b506001600160a01b0389166001600160a01b03841614613aba575f839281928a8e8d9a9998977f0c22c14aba48b0e26e3b58475c66f358c352532122e537c32e8184c0159e6e105d8414613aa657506139186138dc8460016138d330809e614bc3565b9d898d8c614731565b926122418d60405194859360208501977f6df0e4a800000000000000000000000000000000000000000000000000000000895260248601613763565b5190865af4916002613928613279565b955f7f098a7a3b47801589e8cdf9ec791b93ad44273246946c32ef1fc4dbe45390c80e5d5f7f8c47a7e3f4c2e1b5a6d9f0e8c7b3a2d1e4f5c6b7a8d9e0f1c2b3a4d5e6f7c8d95d5f7f7b3c4e5f6a8d9e0f1c2b3a4d5e6f7c8d9e0f1c2b3a4d5e6f7c8d9e0f1c2b3a4d5d5f7fce9e2e8e50d57f2d688020ea7ab16e2039bcf4dc7175eba827e178586597bb395d5f7f0c22c14aba48b0e26e3b58475c66f358c352532122e537c32e8184c0159e6e105d6139e1816125a3565b14613a96575b505015613a52575050906139fe613a039285614bc3565b611e0f565b9380613a3f575b613a2d575b83906001600160a01b03163014613a24575050565b610314916134cf565b92613a39908483614c3e565b92613a0f565b50306001600160a01b0382161415613a0a565b815115613a625750602081519101fd5b7f2680f8fe000000000000000000000000000000000000000000000000000000005f526001600160a01b031660045260245ffd5b613a9f916147eb565b5f806139e7565b6138dc8460016138d361391894809e614bc3565b63ce89c4bd60e01b5f526001600160a01b03831660045260245ffd5b93509950935050613b0091955060a03d60a011613b0c575b613af8818361066f565b810190613714565b9793949097995f613870565b503d613aee565b9594929395919091613b2481614558565b807f098a7a3b47801589e8cdf9ec791b93ad44273246946c32ef1fc4dbe45390c80e5d867f8c47a7e3f4c2e1b5a6d9f0e8c7b3a2d1e4f5c6b7a8d9e0f1c2b3a4d5e6f7c8d95d5f7f7b3c4e5f6a8d9e0f1c2b3a4d5e6f7c8d9e0f1c2b3a4d5e6f7c8d9e0f1c2b3a4d5d827fce9e2e8e50d57f2d688020ea7ab16e2039bcf4dc7175eba827e178586597bb395d604051946314b471d360e31b865260a08680613bd0848760048401613268565b03816001600160a01b0386165afa978815610d3e575f935f925f925f995f9c613c80575b506001600160a01b038a166001600160a01b03851614613c645783925f926139186138dc8f86958f9c9b9a998f909288937f0c22c14aba48b0e26e3b58475c66f358c352532122e537c32e8184c0159e6e105d8314613c5957506138d330809e614bc3565b6138d390809e614bc3565b63ce89c4bd60e01b5f526001600160a01b03841660045260245ffd5b93509a5094509650613ca1915060a03d60a011613b0c57613af8818361066f565b9891939590929392989a5f613bf4565b9594929395919091613cc281614558565b807f098a7a3b47801589e8cdf9ec791b93ad44273246946c32ef1fc4dbe45390c80e5d867f8c47a7e3f4c2e1b5a6d9f0e8c7b3a2d1e4f5c6b7a8d9e0f1c2b3a4d5e6f7c8d95d60017f7b3c4e5f6a8d9e0f1c2b3a4d5e6f7c8d9e0f1c2b3a4d5e6f7c8d9e0f1c2b3a4d5d827fce9e2e8e50d57f2d688020ea7ab16e2039bcf4dc7175eba827e178586597bb395d604051946314b471d360e31b865260a08680613d6f848760048401613268565b03816001600160a01b0386165afa978815610d3e575f935f925f925f995f9c613df9575b506001600160a01b038a166001600160a01b03851614613c645783925f926139186138dc8f86958f9c9b9a998f90926001937f0c22c14aba48b0e26e3b58475c66f358c352532122e537c32e8184c0159e6e105d8814613c5957506138d330809e614bc3565b93509a5094509650613e1a915060a03d60a011613b0c57613af8818361066f565b9891939590929392989a5f613d93565b9394919392901561411857613e4d610c1d610c1d6009546001600160a01b031690565b604080517f9f6523db000000000000000000000000000000000000000000000000000000008152855160048201526020860151602482015290850151604482015260608501516001600160a01b03908116606483015260808601518116608483015260a086015163ffffffff1660a483015260c08601511660c482015293905f90859060e49082905afa938415610d3e575f946140f4575b508051925f965f975b8651891015613f1a57613f126001916020613f098c8b611d4e565b51015190611fb4565b980197613eee565b9092949750959092958451908181116140c65750505f5b8551811015613ff4576020613f468288611d4e565b510151613f56575b600101613f31565b96613fec600191613fd7888b6020613fce613fc7613fb9613fab858f60800197613fa6613f8a8a516001600160a01b031690565b613fa089613f988686611d4e565b5101516145d4565b906134cf565b611d4e565b51516001600160a01b031690565b94516001600160a01b031690565b928d611d4e565b51015191615565565b6020613fe38b8a611d4e565b51015190611e0f565b979050613f4e565b50929093611f4695929661403e91805161406f575b505b85608084019461402286516001600160a01b031690565b908761403860c08801516001600160a01b031690565b94614d97565b9261406961405b606060408501519401516001600160a01b031690565b93516001600160a01b031690565b93614f53565b7f90d361ec764fa5642d6f3c5dc38434ac048b8ece7df64dcfa2331ea2114f44806140bd6001600160a01b036140af60808801516001600160a01b031690565b169260405191829182614d49565b0390a25f614009565b7ff3603006000000000000000000000000000000000000000000000000000000005f5260045260245260445ffd5b6141119194503d805f833e614109818361066f565b810190614ca3565b925f613ee5565b8261403e611f46959396945161400b565b9392915f91808201815b8181106141cc5750505f935f19840192848411925b8587106141585750505050505050565b9061416991989293949596986150ee565b61417982959394959482966136fa565b90896115a95760019561419b958f958d87036141a857505089945b1593613b13565b9801959493929190614148565b6141b86141c0916141c6936150ee565b5050906136fa565b91615121565b94614194565b60019490940193803560f01c01600201614133565b818102929181159184041417156115a957565b9491939290928115612ebf5761420984611f64565b9161421385611f64565b95815f98806142218a611d3c565b5261422b86611d3c565b525b61425857505050505f1461424057505090565b614254925061424e90611e01565b90611d4e565b5190565b839761427e939462ffffff6142e96142728a968c966150ee565b989299919098996151c0565b9398929a919497909a16918215155f146143a357506142b7916142a86142ae9260ff8a1690611d4e565b516141e1565b62ffffff900490565b945b60ff6142c53095611e01565b97169687148061439b575b801561438b575b614383575b60ff169785891593613cb1565b9282614347579183918161430489989795968f9b9a97611fb4565b9d6143226143419561431c61433a9661432994611d4e565b51611fb4565b918b611d4e565b52614334848a611d4e565b51611e0f565b9187611d4e565b5261422d565b9a96959493916143419181614329614322878f848e8261437d8f9d9a61437761433a9c61431c8361431c99611d4e565b92611d4e565b52611d4e565b8b93506142dc565b508c80156142d7575086156142d7565b508c156142d0565b6143b3925060ff88169150611d4e565b51946142b9565b60ff81146143cb57611f469061521a565b506040515f6007548060011c91600182168015614496575b60208410811461448257838552849260208401919081156144695750600114614414575b50611f469250038261066f565b60075f90815291507fa66cc928b5edb82af9bd49922954155ab7b0942694bea4ce44661d9a8736c6885b8483106144525750611f469350015f614407565b80548284015285935060209092019160010161443e565b60ff1916825250611f4693151560051b0190505f614407565b634e487b7160e01b5f52602260045260245ffd5b92607f16926143e3565b60ff81146144b157611f469061521a565b506040515f6008548060011c9160018216801561454e575b602084108114614482578385528492602084019190811561446957506001146144f95750611f469250038261066f565b60085f90815291507ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee35b8483106145375750611f469350015f614407565b805482840152859350602090920191600101614523565b92607f16926144c9565b6001600160a01b0316805f52600660205260405f205480156145a857421061457d5750565b7f45d4ba96000000000000000000000000000000000000000000000000000000005f5260045260245ffd5b507fa6cdd2a5000000000000000000000000000000000000000000000000000000005f5260045260245ffd5b7f800000000000000000000000000000000000000000000000000000000000000081146115a9575f0390565b929391949061460e816125a3565b600381146147285761461f816125a3565b600181146147165782907fce5ffa91873ede1b462af74ea59bab3721b06b0ff726b90311437efde20017955c8261470d575b5061465b816125a3565b600281146146d35761466c816125a3565b1561468057633fe0a7ad60e01b5f5260045ffd5b1590816146ca575b50806146c3575b6146bc57156146a157611f46926152f0565b611f46926146b76146b1846145d4565b826134cf565b614c3e565b5050905090565b505f61468f565b9050155f614688565b50929493925050156146f657906146ee611f469230836152f0565b928391615271565b8092611f46926147086146b1846145d4565b615271565b1593505f614651565b5050505090611f4690613fa0836145d4565b50505050905090565b929391949061473f816125a3565b6003811461472857614750816125a3565b600181146147165782907fce5ffa91873ede1b462af74ea59bab3721b06b0ff726b90311437efde20017955c826147e2575b5061478c816125a3565b600281146146d35761479d816125a3565b156147b157633fe0a7ad60e01b5f5260045ffd5b1590816147d9575b50806147d1576146bc57156146a157611f46926152f0565b50600161468f565b9050155f6147b9565b1593505f614782565b6001600160a01b0316906040517fdd62ed3e0000000000000000000000000000000000000000000000000000000081523060048201526001600160a01b0382166024820152602081604481865afa908115610d3e575f916148be575b50614850575050565b61485b5f8284615657565b15614864575050565b61486e81836156a5565b156148a2575f61487e9183615704565b156148865750565b6001600160a01b0390635274afe760e01b5f521660045260245ffd5b6001600160a01b0382635274afe760e01b5f521660045260245ffd5b6148d7915060203d602011610d3757610d29818361066f565b5f614847565b6001600160a01b03811680614930575b50506001600160a01b03811661490257505050565b61492c91610b01614924926001600160a01b03165f52600560205260405f2090565b918254611fb4565b9055565b5f52600560205260405f20835f5260205260405f20548481106149775783610b018661496f9303936001600160a01b03165f52600560205260405f2090565b555f806148ed565b6040517fb1b4fec00000000000000000000000000000000000000000000000000000000081526001600160a01b0392909216600483015260248201526044810184905260648101839052608490fd5b6001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016301480614ab9575b15614a21577f000000000000000000000000000000000000000000000000000000000000000090565b60405160208101907f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f82527f000000000000000000000000000000000000000000000000000000000000000060408201527f000000000000000000000000000000000000000000000000000000000000000060608201524660808201523060a082015260a08152614ab360c08261066f565b51902090565b507f000000000000000000000000000000000000000000000000000000000000000046146149f8565b91907f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a08411614b59579160209360809260ff5f9560405194855216868401526040830152606082015282805260015afa15610d3e575f516001600160a01b03811615614b4f57905f905f90565b505f906001905f90565b5050505f9160039190565b5f7fee3c9c434505299f2450d3624302a27b8a6978e973825330bc744ba925eec1995d565b7fee3c9c434505299f2450d3624302a27b8a6978e973825330bc744ba925eec1995d565b614bb75f91615513565b5d565b614bb790615513565b6001600160a01b031673eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee8103614bec57503190565b906001600160a01b03602460209260405194859384926370a0823160e01b84521660048301525afa908115610d3e575f91614c25575090565b611f46915060203d602011610d3757610d29818361066f565b90614c8d91614c4d8282614bc3565b936001600160a01b038216908373eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee8303614c9a57614c8892506001600160a01b0316613174565b614bc3565b9081039081116115a95790565b614c8892613104565b60208183031261002a5780519067ffffffffffffffff821161002a570181601f8201121561002a57805190614cd7826106a0565b92614ce5604051948561066f565b82845260208085019360061b8301019181831161002a57602001925b828410614d0f575050505090565b60408483031261002a5760206040918251614d298161064e565b8651614d34816102f6565b81528287015183820152815201930192614d01565b60206040818301928281528451809452019201905f5b818110614d6c5750505090565b825180516001600160a01b031685526020908101518186015260409094019390920191600101614d5f565b909491939185821015614f4a57614dae8287611e0f565b948511614f31578484614dc0926155b7565b614dc983615513565b5c5f811315614ddf5750505090611f46916134cf565b80614f0657506001600160a01b03821691308303614e055750505090611f46913361563b565b9091926001600160a01b031673eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee81145f14614e3b5750505090611f4691613174565b6040516370a0823160e01b81526001600160a01b038316600482015295509193909250602085602481855afa948515610d3e575f95614ed8575b509181614e88614eb39483602095613104565b60405180809581946370a0823160e01b8352600483019190916001600160a01b036020820193169052565b03915afa928315610d3e57611f4693614ed2925f91610d0f5750611e0f565b90611fb4565b614eb39391955091614e88614efb602094853d8711610d3757610d29818361066f565b969294505091614e75565b7fad778f04000000000000000000000000000000000000000000000000000000005f5260045260245ffd5b633f559c2360e21b5f526004829052602486905260445ffd5b50935050505090565b93909291945f614f6283615513565b5c136150a8575b50507fee3c9c434505299f2450d3624302a27b8a6978e973825330bc744ba925eec1995c937fce5ffa91873ede1b462af74ea59bab3721b06b0ff726b90311437efde20017955c600103615087576001851115614fd4576367521f4b60e01b5f52600485905260245ffd5b90919293600114615006575b50505b808210614fee575090565b633f559c2360e21b5f5260049190915260245260445ffd5b61500f82615513565b5c80158015615075575b61504a57509061503661503b926001600160a01b038316336130bf565b614bad565b615043614b64565b5f80614fe0565b7f955ec055000000000000000000000000000000000000000000000000000000005f5260045260245ffd5b5061507f826145d4565b811415615019565b50509091806150965750614fe3565b6367521f4b60e01b5f5260045260245ffd5b6150ba6150b4866145d4565b836134cf565b6001600160a01b03811630036150dd5750836150d6913361563b565b5f80614f69565b6150e8929491614c3e565b916150d6565b9091821560011461511557813560f01c906002830193600283809501019260011991030190565b5f925082915081908190565b906020916151759361513282614558565b6001600160a01b036040518096819582947fa44abc5300000000000000000000000000000000000000000000000000000000845288600485018181520191611e7a565b0392165afa908115610d3e575f9161518b575090565b90506020813d6020116151b8575b816151a66020938361066f565b8101031261002a5751611f46816102f6565b3d9150615199565b91908015611d4957823560f81c928160011015611d4957600181013560f81c928260051161002a5761056b600283013560e81c9380615214610c1d61520e615208848961368c565b906136ba565b60601c90565b9461369d565b60ff811690601f8211615249576040519161523660408461066f565b6020808452838101919036833783525290565b7fb3512b0c000000000000000000000000000000000000000000000000000000005f5260045ffd5b919091306001600160a01b0384160361528a575b505050565b6001600160a01b03169161529f828285615657565b156152a957505050565b6152b381846156a5565b156152dd57906152c39183615704565b156152cb5750565b635274afe760e01b5f5260045260245ffd5b82635274afe760e01b5f5260045260245ffd5b7f99298391997747e556e81b2d36d99151315b6c1b92e826ca8d37acad5fddaf705c927fd847dc13274ab371f6244234290f56fa8650ec9dceff86e20efe1ddc141bdb035c92907faf58e9f1b0923d55d0ec6a57763d43cd9bb1d6bd8bad5ce9522fbe772c6ec42b5c7f28d0e2684c9341fec58f816e0c375a4e51f9f34ec034a29c97467df00497c8d95c8083116154e3576001600160a01b038516916001600160a01b03811683036154a95750826153a891611e0f565b7f28d0e2684c9341fec58f816e0c375a4e51f9f34ec034a29c97467df00497c8d95d6153d48385614bc3565b941561549657506001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001690813b1561002a576040517f36c785160000000000000000000000000000000000000000000000000000000081526001600160a01b0396871660048201528387166024820152908616604482015294831660648601525f908590608490829084905af1918215610d3e57611f46946139fe93615482575b50614bc3565b8061118a5f6154909361066f565b5f61547c565b6139fe939183611f4697614c8893612fd6565b7f358c73f1000000000000000000000000000000000000000000000000000000005f526001600160a01b038087166004521660245260445ffd5b7fae0626b3000000000000000000000000000000000000000000000000000000005f52600452602482905260445ffd5b60405160208101916bffffffffffffffffffffffff199060601b1682527f547963686f5661756c742344454c544100000000000000000000000000000000603482015260248152614ab360448261066f565b8215615285576001600160a01b038116156124005761559d6001600160a01b03916001600160a01b03165f52600560205260405f2090565b91165f5260205260405f2080549182018092116115a95755565b929190928115615635576001600160a01b038416906001600160a01b0381165f52600560205260405f20825f5260205260405f20548381106155ff57506103149394506130bf565b6040516369dc250160e11b81526001600160a01b0392831660048201529186166024830152604482018490526064820152608490fd5b50509050565b9190918115615285576001600160a01b03610314931690613079565b92916001600160a01b036040519263095ea7b360e01b5f521660045260245260205f60448180875af19260015f5114841615615694575b50604052565b3d15903b151516909216915f61568e565b91906001600160a01b036040519163095ea7b360e01b5f52166004525f60245260205f60448180875af19260015f51148416156156e25750604052565b600184929415166156fb573b15153d151616915f61568e565b833d5f823e3d90fd5b92916001600160a01b036040519263095ea7b360e01b5f521660045260245260205f60448180875af19260015f51148416156156e2575060405256fea26469706673582212200c335e6f0a1338a4b8b162db37e93a73acd31afc3f8e0e82893981f48e58443264736f6c634300082100332f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0dbd79b86ffe0ab8e8776151514217cd7cacd52c909f66475c3af44e129f0b00ff770bdc288ee5ebd346714a4f85d8d94878b226ea302eab9b7e299fdec2bb0a419939157be7760e9462f1d5a0dcad88b616ddc64138e317108b40b1cf55601348f7c9542c591017a21c74b6f3fab6263c7952fc0aaf9db4c22a2a04ddc7f8674f427da25fe773164f88948d3e215c94b6554e2ed5e5f203a821c9f2f6131cf75a65d7a28e3265b37a6474929f336521b332c1681b933f6cb9f3376673440d862a6a1dd52dcad5bd732e45b6af4e7344fa284e2d7d4b23b5b09cb55d36b0685c87cd92a47a49af88ea215f843a7acddba636c1123555e1f5f07a13c3e84b9691d7fad11248e1247cf2be78b2297df0a99e014395bebbed387f9305d245195f092d","sourceMap":"10290:52495:43:-:0;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;:::i;:::-;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;:::i;:::-;;;;;;;;;:::i;:::-;;;;:::i;:::-;;;;;;;;;:::i;:::-;;;;;;;-1:-1:-1;;;10290:52495:43;;;;;;;;;:::i;:::-;;;;;;;;-1:-1:-1;;;10290:52495:43;;;1505:66:22;2365:1;2986:20:42;;:25;2982:102;;-1:-1:-1;;;;;10290:52495:43;;3093:38:42;3501:45:27;;;:::i;:::-;3493:53;;3567:51;;;:::i;:::-;3556:62;;10290:52495:43;3642:22:27;;3628:36;;;;10290:52495:43;3691:25:27;;3674:42;;;3744:13;10290:52495:43;3727:30:27;10290:52495:43;;4304:80:27;10290:52495:43;4304:80:27;;2079:95;;;;10290:52495:43;2079:95:27;;;10290:52495:43;2079:95:27;;;3744:13;10290:52495:43;2079:95:27;;;4378:4;10290:52495:43;2079:95:27;;10290:52495:43;;4304:80:27;;;10290:52495:43;4304:80:27;;:::i;:::-;10290:52495:43;4294:91:27;;10290:52495:43;3767:48:27;4378:4;3825:27;;12246:25:43;;:30;12242:108;;12359:30;10290:52495;;-1:-1:-1;;;;;;10290:52495:43;-1:-1:-1;;;;;10290:52495:43;;;;;;;;;;-1:-1:-1;;;;;;;;;;;;10290:52495:43;;;;;;;3867:22:3;10290:52495:43;;2365:1:22;;;;12967:56:43;;12904:53;;10290:52495;12854:40;;10290:52495;;12808:36;;10290:52495;10862:66;;-1:-1:-1;;;;;;;;;;;5852:52:3;-1:-1:-1;5852:52:3;-1:-1:-1;;;;;;;;;;;;10290:52495:43;;;;;;;3867:22:3;10290:52495:43;;2365:1:22;;;;10290:52495:43;10982:66;;-1:-1:-1;;;;;;;;;;;5852:52:3;-1:-1:-1;5852:52:3;-1:-1:-1;;;;;;;;;;;;10290:52495:43;;;;;;;3867:22:3;10290:52495:43;;2365:1:22;;;;10290:52495:43;10744:66;;-1:-1:-1;;;;;;;;;;;5852:52:3;-1:-1:-1;5852:52:3;-1:-1:-1;;;;;;;;;;;;10290:52495:43;;;;;;;3867:22:3;10290:52495:43;;2365:1:22;;;;10290:52495:43;11111:66;;-1:-1:-1;;;;;;;;;;;5852:52:3;-1:-1:-1;5852:52:3;12808:36:43;:::i;:::-;;12854:40;:::i;:::-;;12904:53;:::i;:::-;;12967:56;:::i;:::-;;10290:52495;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3825:27:27;10290:52495:43;;;;;3628:36:27;10290:52495:43;;;;;3674:42:27;10290:52495:43;;;;;3493:53:27;10290:52495:43;;;;;3556:62:27;10290:52495:43;;;;;;12242:108;-1:-1:-1;;;;12299:40:43;;;-1:-1:-1;;;;;10290:52495:43;;12299:40;10290:52495;;;12299:40;2982:102:42;-1:-1:-1;;;;3034:39:42;;;-1:-1:-1;;;;;10290:52495:43;;;;3034:39:42;10290:52495:43;;;3034:39:42;10290:52495:43;-1:-1:-1;10290:52495:43;;;;;;;-1:-1:-1;;10290:52495:43;;;;-1:-1:-1;;;;;10290:52495:43;;;;;;;;;;:::o;:::-;;;;-1:-1:-1;10290:52495:43;;;;;-1:-1:-1;10290:52495:43;;;;-1:-1:-1;;;;;10290:52495:43;;;;;;:::o;6145:316:3:-;-1:-1:-1;;;;;10290:52495:43;;;;;;-1:-1:-1;;;;;;;;;;;10290:52495:43;;;;;;;;;;-1:-1:-1;;;;;10290:52495:43;;;;;-1:-1:-1;;;;;;;;;;;10290:52495:43;;;;;;;-1:-1:-1;;10290:52495:43;;;;;735:10:17;;10290:52495:43;-1:-1:-1;;;;;;;;;;;10862:66:43;-1:-1:-1;;;;;;;;;;;6336:40:3;10290:52495:43;6336:40:3;6313:4;6390:11;:::o;6238:217::-;6432:12;10290:52495:43;6432:12:3;:::o;6145:316::-;-1:-1:-1;;;;;10290:52495:43;;;;;;-1:-1:-1;;;;;;;;;;;10290:52495:43;;;;;;;;;;-1:-1:-1;;;;;10290:52495:43;;;;;-1:-1:-1;;;;;;;;;;;10290:52495:43;;;;;;;-1:-1:-1;;10290:52495:43;;;;;735:10:17;;10290:52495:43;-1:-1:-1;;;;;;;;;;;10982:66:43;-1:-1:-1;;;;;;;;;;;6336:40:3;10290:52495:43;6336:40:3;6313:4;6390:11;:::o;6145:316::-;-1:-1:-1;;;;;10290:52495:43;;;;;;-1:-1:-1;;;;;;;;;;;10290:52495:43;;;;;;;;;;-1:-1:-1;;;;;10290:52495:43;;;;;-1:-1:-1;;;;;;;;;;;10290:52495:43;;;;;;;-1:-1:-1;;10290:52495:43;;;;;735:10:17;;10290:52495:43;-1:-1:-1;;;;;;;;;;;10744:66:43;-1:-1:-1;;;;;;;;;;;6336:40:3;10290:52495:43;6336:40:3;6313:4;6390:11;:::o;6145:316::-;-1:-1:-1;;;;;10290:52495:43;;;;;;-1:-1:-1;;;;;;;;;;;10290:52495:43;;;;;;;;;;-1:-1:-1;;;;;10290:52495:43;;;;;-1:-1:-1;;;;;;;;;;;10290:52495:43;;;;;;;-1:-1:-1;;10290:52495:43;;;;;735:10:17;;10290:52495:43;-1:-1:-1;;;;;;;;;;;11111:66:43;-1:-1:-1;;;;;;;;;;;6336:40:3;10290:52495:43;6336:40:3;6313:4;6390:11;:::o;2893:342:23:-;;10290:52495:43;;3038:4:23;3016:26;;3012:217;3038:4;;;10290:52495:43;;1854:4:23;10290:52495:43;;1840:18:23;1836:74;;3038:4;10290:52495:43;;;;2079:95:27;3038:4:23;10290:52495:43;;;;1951:36:23;3058:27;:::o;10290:52495:43:-;;;;3038:4:23;10290:52495:43;;;;;1951:36:23;3058:27;:::o;1836:74::-;10290:52495:43;3038:4:23;10290:52495:43;;;1881:18:23;;;;;;;;;;;;10290:52495:43;;;;;;;;;;;;;;;;;;;;;;;1854:4:23;10290:52495:43;-1:-1:-1;;10290:52495:43;;;1881:18:23;;;;3012:217;-1:-1:-1;;;;;10290:52495:43;;;;3532:13:27;10290:52495:43;;;;;;;;;;;3012:217:23;3038:4;10290:52495:43;;;;;;;;;;3012:217:23;10290:52495:43;3038:4:23;10290:52495:43;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3532:13:27;10290:52495:43;1390:66:23;3176:42;:::o;10290:52495:43:-;;;;-1:-1:-1;10290:52495:43;;;;;;;;;;3532:13:27;10290:52495:43;;;;;;;;;;;;;;;;;;;;;;;;;;;;3532:13:27;10290:52495:43;1390:66:23;3176:42;:::o;10290:52495:43:-;;;;;;;;;;;;;;;;;;;;;;;3038:4:23;10290:52495:43;;;;;;;;;;;;;;;;;;;;;;;3532:13:27;10290:52495:43;;3038:4:23;10290:52495:43;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2893:342:23;;10290:52495:43;;3038:4:23;3016:26;;3012:217;3038:4;;;10290:52495:43;;1854:4:23;10290:52495:43;;1840:18:23;1836:74;;3038:4;10290:52495:43;;;;2079:95:27;3038:4:23;10290:52495:43;;;;1951:36:23;3058:27;:::o;3012:217::-;-1:-1:-1;;;;;10290:52495:43;;;;3601:16:27;10290:52495:43;;;;;;;;;;;3012:217:23;3038:4;10290:52495:43;;;;;;;;;;3012:217:23;10290:52495:43;3038:4:23;10290:52495:43;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3601:16:27;10290:52495:43;1390:66:23;3176:42;:::o;10290:52495:43:-;;;;-1:-1:-1;10290:52495:43;;;;;;;;;;3601:16:27;10290:52495:43;;;;;;;;;;;;;;;;;;;;;;;;;;;;3601:16:27;10290:52495:43;1390:66:23;3176:42;:::o;10290:52495:43:-;;;;;;;;;;;;;;;;;;;;;;;3038:4:23;10290:52495:43;;;;;;;;;;;;;;;;;;;;;;;3601:16:27;10290:52495:43;;3038:4:23;10290:52495:43;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","linkReferences":{}},"deployedBytecode":{"object":"60806040526004361015610038575b361561002e573461002a57610022366120d8565b602081519101f35b5f80fd5b6100366120c7565b005b5f3560e01c8062fdd58e146102f157806301ffc9a7146102ec578063095bcdb6146102e75780630c1a0ee7146102e257806312261ee7146102dd5780631d452e46146102d857806321bd166a1461023357806324788429146102d3578063248a9ca3146102ce5780632f2ff15d146102c957806333967285146102c457806336568abe146102bf5780633c226834146102ba5780633f4ba83a146102b5578063409b68bf146102b0578063426a8493146102ab57806346f177ec146102a657806347e7ef24146102a15780634e573d091461029c5780634e66ab2014610297578063558a729714610292578063598af9e71461028d5780635c975abb14610288578063631eecea146102835780636aad98381461027e5780638456cb591461027957806384b0196e146102745780638c66d04f1461026f57806391d148541461026a5780639b67606914610265578063a217fddf14610260578063ae890e771461025b578063b131b93414610256578063b6363cf214610251578063ca9310731461024c578063d547741f14610247578063e63ab1e914610242578063ef7008ea1461023d578063f3fef3a314610238578063f78800f914610233578063f8cdfc4f1461022e578063fb1bb9de14610229578063fe745a0f146102245763fe99049a0361000e57611acd565b611aa9565b611a6f565b611a36565b61074a565b611945565b611925565b6118eb565b6118ab565b6117bd565b611763565b611727565b611707565b6116ed565b611635565b6115e3565b6114dd565b6113d4565b6112f2565b611196565b611049565b610f5c565b610eed565b610e36565b610df2565b610db8565b610bcc565b610ba6565b610aae565b610a6c565b610904565b6108db565b61087a565b610840565b6107fb565b6107c9565b610767565b6106b8565b6105f7565b61056f565b61048c565b610385565b61033b565b6001600160a01b0381160361002a57565b60243590610314826102f6565b565b60443590610314826102f6565b60c43590610314826102f6565b3590610314826102f6565b3461002a57604036600319011261002a57600435610358816102f6565b6001600160a01b0360243591165f52600560205260405f20905f52602052602060405f2054604051908152f35b3461002a57602036600319011261002a576004357fffffffff00000000000000000000000000000000000000000000000000000000811680910361002a576020907f7965db0b0000000000000000000000000000000000000000000000000000000081148015610440575b80918115610405575b50506040519015158152f35b7f0f632fb3000000000000000000000000000000000000000000000000000000001491508115610438575b505f806103f9565b90505f610430565b507f01ffc9a70000000000000000000000000000000000000000000000000000000081146103f0565b606090600319011261002a57600435610481816102f6565b906024359060443590565b3461002a576104a461049d36610469565b913361238e565b602060405160018152f35b908160a091031261002a5790565b9181601f8401121561002a5782359167ffffffffffffffff831161002a576020838186019501011161002a57565b9061010060031983011261002a5760043591602435610509816102f6565b91604435610516816102f6565b91606435916084359160a43561052b816102f6565b9160c43567ffffffffffffffff811161002a578261054b916004016104af565b9160e4359067ffffffffffffffff821161002a5761056b916004016104bd565b9091565b60206105c16105a9610580366104eb565b9889828587898b8d8f989f8a9f9a9b9e9b61059c9e9d9e612458565b6105a461248c565b6125c1565b6105b281612819565b6105bc8183612861565b612a88565b60017f9b779b17422d0df92223018b32b4d1fa46e071723d6817e2486d003becc55f0055604051908152f35b5f91031261002a57565b3461002a575f36600319011261002a5760206040516001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000168152f35b634e487b7160e01b5f52604160045260245ffd5b6040810190811067ffffffffffffffff82111761066a57604052565b61063a565b90601f8019910116810190811067ffffffffffffffff82111761066a57604052565b6040519061031460e08361066f565b67ffffffffffffffff811161066a5760051b60200190565b3461002a57602036600319011261002a5760043567ffffffffffffffff811161002a573660238201121561002a578060040135906106f5826106a0565b91610703604051938461066f565b8083526024602084019160051b8301019136831161002a57602401905b8282106107305761003684611c23565b60208091833561073f816102f6565b815201910190610720565b3461002a575f36600319011261002a576020604051620151808152f35b3461002a57602036600319011261002a576001600160a01b0360043561078c816102f6565b610794612be8565b16805f5260066020525f60408120557f4a2cf608bfb427f53279ec7f0eadf48913b9346ccefc3af138dbdec14ea0907d5f80a2005b3461002a57602036600319011261002a5760206107f36004355f525f602052600160405f20015490565b604051908152f35b3461002a57604036600319011261002a5761003660243560043561081e826102f6565b61083b610836825f525f602052600160405f20015490565b612cc6565b612d0d565b3461002a575f36600319011261002a5760206040517f9939157be7760e9462f1d5a0dcad88b616ddc64138e317108b40b1cf556013488152f35b3461002a57604036600319011261002a5760043560243561089a816102f6565b336001600160a01b038216036108b35761003691612da5565b7f6697b232000000000000000000000000000000000000000000000000000000005f5260045ffd5b60206105c16108ec610580366104eb565b6108f581612819565b6108ff8183612861565b612e35565b3461002a575f36600319011261002a57335f9081527f770bdc288ee5ebd346714a4f85d8d94878b226ea302eab9b7e299fdec2bb0a41602052604090205460ff16156109b15760045460ff8116156109895760ff19166004557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa6020604051338152a1005b7f8dfc202b000000000000000000000000000000000000000000000000000000005f5260045ffd5b63e2517d3f60e01b5f52336004527f427da25fe773164f88948d3e215c94b6554e2ed5e5f203a821c9f2f6131cf75a60245260445ffd5b61012060031982011261002a5760043591602435610a05816102f6565b91604435610a12816102f6565b91606435916084359160a4359160c435610a2b816102f6565b9160e43567ffffffffffffffff811161002a5782610a4b916004016104af565b91610104359067ffffffffffffffff821161002a5761056b916004016104bd565b3461002a5760206105c1610a9f610a82366109e8565b998a8285888a8c8f979f9e899f9a9e9a819a9c9e9c61059c612458565b610aa98183612910565b612ee7565b3461002a57610abc36610469565b9190913315610b7a576001600160a01b038216918215610b4e57610b0e84610b018493335f52600360205260405f20906001600160a01b03165f5260205260405f2090565b905f5260205260405f2090565b5560405190815233907fb3fd5071835887567a0671151121894ddccc2842f1d10bedad13e0d17cace9a790602090a46040516001815280602081015b0390f35b7f6f65f465000000000000000000000000000000000000000000000000000000005f525f60045260245ffd5b7fcc766a98000000000000000000000000000000000000000000000000000000005f525f60045260245ffd5b3461002a575f36600319011261002a5760206001600160a01b0360095416604051908152f35b604036600319011261002a57600435610be4816102f6565b60243590610bf0612458565b610bf861248c565b6001600160a01b038116908115610d90578215610d6857610c29906001600160a01b03165b6001600160a01b031690565b9073eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee8103610c85575090610c5c91610c56823414611e1c565b33613079565b61003660017f9b779b17422d0df92223018b32b4d1fa46e071723d6817e2486d003becc55f0055565b610c8f3415611d62565b6040516370a0823160e01b815230600482015292602084602481855afa938415610d3e575f94610d43575b50610cc790303384612fd6565b6040516370a0823160e01b815230600482015290602090829060249082905afa928315610d3e57610d0a93610d03925f91610d0f575b50611e0f565b9033613079565b610c5c565b610d31915060203d602011610d37575b610d29818361066f565b810190611dd3565b5f610cfd565b503d610d1f565b611de2565b610cc7919450610d619060203d602011610d3757610d29818361066f565b9390610cba565b7fa6b14c81000000000000000000000000000000000000000000000000000000005f5260045ffd5b7f33356531000000000000000000000000000000000000000000000000000000005f5260045ffd5b3461002a575f36600319011261002a5760206040517f6a1dd52dcad5bd732e45b6af4e7344fa284e2d7d4b23b5b09cb55d36b0685c878152f35b3461002a575f36600319011261002a5760206040517fcaeeb59f261880532f82b8abef24d6c0b351a4a6c52f09c7e78629661602a36a8152f35b8015150361002a57565b3461002a57604036600319011261002a57600435610e53816102f6565b602435610e5f81610e2c565b3315610b7a576001600160a01b038216918215610b4e5781610ea0610eb192335f52600260205260405f20906001600160a01b03165f5260205260405f2090565b9060ff801983541691151516179055565b604051901515815233907fceb576d9f15e4e200fdb5096d64d5dfd667e16def20c1eefd14256d8e3faa26790602090a360405160018152602090f35b3461002a57606036600319011261002a57600435610f0a816102f6565b610f47602435610f19816102f6565b6001600160a01b0360443593165f52600360205260405f20906001600160a01b03165f5260205260405f2090565b905f52602052602060405f2054604051908152f35b3461002a575f36600319011261002a57602060ff600454166040519015158152f35b60c09061010319011261002a5761010490565b908160c091031261002a5790565b6101e060031982011261002a5760043591610fba6024610330565b91610fc56044610330565b916064359160843591610fd860a4610330565b9160c43567ffffffffffffffff811161002a5781610ff8916004016104af565b916110048260e4610f91565b916101a43567ffffffffffffffff811161002a5781611025916004016104bd565b929092916101c4359067ffffffffffffffff821161002a5761056b916004016104bd565b3461002a5761107a61105a36610f9f565b9b8c82888a8f989796959f9c8a9f9a9e809c9f829e9f8d9161059c612458565b73eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee6001600160a01b038616036110f1575b610b4a6110b88d8d8d8d8d8d8d8d8d6108ff81836129c3565b6110e160017f9b779b17422d0df92223018b32b4d1fa46e071723d6817e2486d003becc55f0055565b6040519081529081906020820190565b6001600160a01b039b999795939a989694929b7f00000000000000000000000000000000000000000000000000000000000000001691823b1561002a576040516302b67b5760e41b81529c8d92839261114e923360048601611e9a565b03815a5f948591f1988915610d3e57610b4a9a6110b89a61117c575b81939597999b50829496989a5061109f565b8061118a5f6111909361066f565b806105ed565b5f61116a565b3461002a575f36600319011261002a576111ae612c57565b600a5465ffffffffffff8160a01c1680156112ca5780421061129b57506001600160a01b03806111f66111e96009546001600160a01b031690565b936001600160a01b031690565b611223816001600160a01b031673ffffffffffffffffffffffffffffffffffffffff196009541617600955565b61124573ffffffffffffffffffffffffffffffffffffffff19600a5416600a55565b6112727fffffffffffff000000000000ffffffffffffffffffffffffffffffffffffffff600a5416600a55565b1691167f153538becce9737e2efc6b51d64464392a325d0368e402aa8ff9f7f14e4c09e65f80a3005b7f017c6456000000000000000000000000000000000000000000000000000000005f526004524260245260445ffd5b7fc8e301b6000000000000000000000000000000000000000000000000000000005f5260045ffd5b3461002a575f36600319011261002a57335f9081527ff7c9542c591017a21c74b6f3fab6263c7952fc0aaf9db4c22a2a04ddc7f8674f602052604090205460ff161561137957611340612458565b600160ff1960045416176004557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a2586020604051338152a1005b63e2517d3f60e01b5f52336004527f65d7a28e3265b37a6474929f336521b332c1681b933f6cb9f3376673440d862a60245260445ffd5b805180835260209291819084018484015e5f828201840152601f01601f1916010190565b3461002a575f36600319011261002a5761147f6114107f00000000000000000000000000000000000000000000000000000000000000006143ba565b6114397f00000000000000000000000000000000000000000000000000000000000000006144a0565b61148d611444611f49565b916040519485947f0f00000000000000000000000000000000000000000000000000000000000000865260e0602087015260e08601906113b0565b9084820360408601526113b0565b4660608401523060808401525f60a084015282810360c0840152602080835192838152019201905f5b8181106114c4575050500390f35b82518452859450602093840193909201916001016114b6565b3461002a57602036600319011261002a576004356114fa816102f6565b611502612c57565b61150a612458565b803b156115ae57620151804201908142116115a957600a80547fffffffffffff0000000000000000000000000000000000000000000000000000166001600160a01b039290921691821760a084901b79ffffffffffff000000000000000000000000000000000000000016179055907fdf65d81a0133f384ea0402f18ad9df44c14b2105c60c85914d79b21dfd3261eb906115a4906110e1565b0390a2005b611ded565b6001600160a01b03907f9368c1dc000000000000000000000000000000000000000000000000000000005f521660045260245ffd5b3461002a57604036600319011261002a57602060ff61162960243560043561160a826102f6565b5f525f845260405f20906001600160a01b03165f5260205260405f2090565b54166040519015158152f35b3461002a5761020036600319011261002a57600435611652610307565b9061165b610316565b916064359160a43560843561166e610323565b60e43567ffffffffffffffff811161002a5761168e9036906004016104af565b61169736610f7e565b916101c43567ffffffffffffffff811161002a576116b99036906004016104bd565b9590946101e4359967ffffffffffffffff8b1161002a57610b4a9b6116e56110e19c36906004016104bd565b9b909a611fc1565b3461002a575f36600319011261002a5760206040515f8152f35b3461002a5760206105c161171d610580366104eb565b6108ff8183612910565b3461002a57602036600319011261002a576001600160a01b0360043561174c816102f6565b165f526006602052602060405f2054604051908152f35b3461002a57604036600319011261002a57602060ff611629600435611787816102f6565b6001600160a01b036024359161179c836102f6565b165f526002845260405f20906001600160a01b03165f5260205260405f2090565b3461002a576117ce61105a36610f9f565b73eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee6001600160a01b0386160361180c575b610b4a6110b88d8d8d8d8d8d8d8d8d6105bc81836129c3565b6001600160a01b039b999795939a989694929b7f00000000000000000000000000000000000000000000000000000000000000001691823b1561002a576040516302b67b5760e41b81529c8d928392611869923360048601611e9a565b03815a5f948591f1988915610d3e57610b4a9a6110b89a611897575b81939597999b50829496989a506117f3565b8061118a5f6118a59361066f565b5f611885565b3461002a57604036600319011261002a576100366024356004356118ce826102f6565b6118e6610836825f525f602052600160405f20015490565b612da5565b3461002a575f36600319011261002a5760206040517f65d7a28e3265b37a6474929f336521b332c1681b933f6cb9f3376673440d862a8152f35b3461002a5760206105c161193b610580366104eb565b6105bc8183612910565b3461002a57604036600319011261002a57600435611962816102f6565b60243561196d61248c565b6001600160a01b038216918215610d90578115610d68576119966001600160a01b038216610c1d565b906119b682610b01336001600160a01b03165f52600560205260405f2090565b548381106119fc575050816119cb91336130bf565b73eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee82036119f157610c5c915033613174565b610d0a913390613104565b6040516369dc250160e11b81523360048201526001600160a01b039290921660248301526044820193909352606481019290925250608490fd5b3461002a575f36600319011261002a57600a54604080516001600160a01b038316815260a09290921c65ffffffffffff16602083015290f35b3461002a575f36600319011261002a5760206040517f427da25fe773164f88948d3e215c94b6554e2ed5e5f203a821c9f2f6131cf75a8152f35b60206105c1611aba610a82366109e8565b611ac381612819565b610aa98183612861565b3461002a57608036600319011261002a57600435611aea816102f6565b602435611af6816102f6565b604435606435916001600160a01b038416933385141580611bf2575b611b2d575b611b21945061238e565b60405160018152602090f35b845f526003602052611b533360405f20906001600160a01b03165f5260205260405f2090565b835f5260205260405f20545f198110611b6d575b50611b17565b848110611bab578490611b21965f52600360205203611ba484610b013360405f20906001600160a01b03165f5260205260405f2090565b555f611b67565b6040517f58a3fd5a00000000000000000000000000000000000000000000000000000000815233600482015260248101919091526044810185905260648101849052608490fd5b50845f52600260205260ff611c1b3360405f20906001600160a01b03165f5260205260405f2090565b541615611b12565b611c2b612be8565b611c33612458565b5f5b8151811015611d24576001600160a01b03611c508284611d4e565b5116803b15611cfc57805f52600660205260405f2054611cd157906001917f8d569bcfa0f17e03872f15644187df4676d61a9e71e934211c2781c94d0c9f37611cc8611c9b42611f96565b80611cb7856001600160a01b03165f52600660205260405f2090565b556040519081529081906020820190565b0390a201611c35565b7f1124faeb000000000000000000000000000000000000000000000000000000005f5260045260245ffd5b7f931cf050000000000000000000000000000000000000000000000000000000005f5260045ffd5b5050565b634e487b7160e01b5f52603260045260245ffd5b805115611d495760200190565b611d28565b8051821015611d495760209160051b010190565b15611d6957565b608460405162461bcd60e51b815260206004820152602260248201527f455448206e6f7420616363657074656420666f72204552433230206465706f7360448201527f69740000000000000000000000000000000000000000000000000000000000006064820152fd5b9081602091031261002a575190565b6040513d5f823e3d90fd5b634e487b7160e01b5f52601160045260245ffd5b5f198101919082116115a957565b919082039182116115a957565b15611e2357565b606460405162461bcd60e51b815260206004820152600e60248201527f56616c7565206d69736d617463680000000000000000000000000000000000006044820152fd5b359065ffffffffffff8216820361002a57565b908060209392818452848401375f828201840152601f01601f1916010190565b60a0611f4695936001600160a01b03610100941683526001600160a01b038135611ec3816102f6565b1660208401526001600160a01b036020820135611edf816102f6565b16604084015265ffffffffffff611ef860408301611e67565b16606084015265ffffffffffff611f1160608301611e67565b1660808401526001600160a01b036080820135611f2d816102f6565b1682840152013560c08201528160e08201520191611e7a565b90565b60405190611f5860208361066f565b5f808352366020840137565b90611f6e826106a0565b611f7b604051918261066f565b8281528092611f8c601f19916106a0565b0190602036910137565b906201518082018092116115a957565b90600182018092116115a957565b919082018092116115a957565b9b9a99611fe38c8c8f9988888d9f98839f98809b9d9f9e829d9f61059c612458565b73eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee6001600160a01b03851603612042575b50505089610aa96120199b836129c3565b611f4660017f9b779b17422d0df92223018b32b4d1fa46e071723d6817e2486d003becc55f0055565b6001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016803b1561002a57612098935f8094604051968795869485936302b67b5760e41b85523360048601611e9a565b03925af18015610d3e576120ae575b8080612008565b806120ba5f809361066f565b80031261002a575f6120a7565b6120cf612458565b333b1561002a57565b906120e1612458565b7f098a7a3b47801589e8cdf9ec791b93ad44273246946c32ef1fc4dbe45390c80e5c7f8c47a7e3f4c2e1b5a6d9f0e8c7b3a2d1e4f5c6b7a8d9e0f1c2b3a4d5e6f7c8d95c927f7b3c4e5f6a8d9e0f1c2b3a4d5e6f7c8d9e0f1c2b3a4d5e6f7c8d9e0f1c2b3a4d5c907fce9e2e8e50d57f2d688020ea7ab16e2039bcf4dc7175eba827e178586597bb395c907f0c22c14aba48b0e26e3b58475c66f358c352532122e537c32e8184c0159e6e105c9261219885614558565b604051967fee3dbf9b000000000000000000000000000000000000000000000000000000008852604088806121d33389885f6004860161323a565b03816001600160a01b038a165afa938415610d3e575f985f9561234a575b505f939192849361220492888c89614600565b5060405161224f8161224160208201947f7003fdf40000000000000000000000000000000000000000000000000000000086528660248401613268565b03601f19810183528261066f565b5190865af49261225d613279565b93156123045750600285612274611f4696976125a3565b146122f4575b50505f7f098a7a3b47801589e8cdf9ec791b93ad44273246946c32ef1fc4dbe45390c80e5d5f7f8c47a7e3f4c2e1b5a6d9f0e8c7b3a2d1e4f5c6b7a8d9e0f1c2b3a4d5e6f7c8d95d5f7f7b3c4e5f6a8d9e0f1c2b3a4d5e6f7c8d9e0f1c2b3a4d5e6f7c8d9e0f1c2b3a4d5d602080825183010191016132a8565b6122fd916147eb565b5f8061227a565b83908151156123165750602081519101fd5b7f39965ec7000000000000000000000000000000000000000000000000000000005f526001600160a01b031660045260245ffd5b5f9492995061220491955092612378859460403d604011612387575b612370818361066f565b810190613217565b9a909a969250929450926121f1565b503d612366565b9291926001600160a01b03811691821561242c576001600160a01b038116938415612400576123e381876123fb947f1b3d7edb2e9c0b0e7c525b20aaaef0f5940d2ed71663c7d39266ecafac728859966148dd565b60408051338152602081019290925290918291820190565b0390a4565b7fb8bbd610000000000000000000000000000000000000000000000000000000005f525f60045260245ffd5b7fa4352080000000000000000000000000000000000000000000000000000000005f525f60045260245ffd5b60ff6004541661246457565b7fd93c0665000000000000000000000000000000000000000000000000000000005f5260045ffd5b60027f9b779b17422d0df92223018b32b4d1fa46e071723d6817e2486d003becc55f0054146124db5760027f9b779b17422d0df92223018b32b4d1fa46e071723d6817e2486d003becc55f0055565b7f3ee5aeb5000000000000000000000000000000000000000000000000000000005f5260045ffd5b35611f46816102f6565b3563ffffffff8116810361002a5790565b67ffffffffffffffff811161066a57601f01601f191660200190565b9291926125468261251e565b91612554604051938461066f565b82948184528183011161002a578281602093845f960137010152565b903590601e198136030182121561002a570180359067ffffffffffffffff821161002a5760200191813603831361002a57565b600411156125ad57565b634e487b7160e01b5f52602160045260245ffd5b969492909795939160208801986001600160a01b036125df8b612503565b16156127b85760608901359687421161278757948994612241948c99946126df9b99946126286126d79a604061261d6126178d61250d565b9f612503565b9b01359c369161253a565b60208151910120966040519b8c9a60208c019e8f98969492909b9a99979593916101808a019c7fcaeeb59f261880532f82b8abef24d6c0b351a4a6c52f09c7e78629661602a36a8b5263ffffffff1660208b01526001600160a01b031660408a01526060890152608088015260a08701526001600160a01b031660c08601526001600160a01b031660e08501526101008401526101208301526001600160a01b03166101408201526101600152565b51902061330b565b60808201916126f86126f18483612570565b908461334c565b50612702816125a3565b159081612768575b50612762576127286127309361272261273496612503565b92612570565b929091613380565b1590565b61273a57565b7f8bd22865000000000000000000000000000000000000000000000000000000005f5260045ffd5b50505050565b90506001600160a01b0361277e610c1d87612503565b9116145f61270a565b7f6b7a0a9e000000000000000000000000000000000000000000000000000000005f5260048890524260245260445ffd5b5050505050505050905060408101351590811591612800575b506127d857565b7fbea0e082000000000000000000000000000000000000000000000000000000005f5260045ffd5b63ffffffff91506128109061250d565b1615155f6127d1565b346128215750565b8034036128325750610314346133c5565b7f5ffb1a5f000000000000000000000000000000000000000000000000000000005f523460045260245260445ffd5b7faf58e9f1b0923d55d0ec6a57763d43cd9bb1d6bd8bad5ce9522fbe772c6ec42b5d7f28d0e2684c9341fec58f816e0c375a4e51f9f34ec034a29c97467df00497c8d95d5f7fd847dc13274ab371f6244234290f56fa8650ec9dceff86e20efe1ddc141bdb035d337f99298391997747e556e81b2d36d99151315b6c1b92e826ca8d37acad5fddaf705d5f7fce5ffa91873ede1b462af74ea59bab3721b06b0ff726b90311437efde20017955d565b90507faf58e9f1b0923d55d0ec6a57763d43cd9bb1d6bd8bad5ce9522fbe772c6ec42b5d5f7f28d0e2684c9341fec58f816e0c375a4e51f9f34ec034a29c97467df00497c8d95d5f7fd847dc13274ab371f6244234290f56fa8650ec9dceff86e20efe1ddc141bdb035d337f99298391997747e556e81b2d36d99151315b6c1b92e826ca8d37acad5fddaf705d60017fce5ffa91873ede1b462af74ea59bab3721b06b0ff726b90311437efde20017955d565b7faf58e9f1b0923d55d0ec6a57763d43cd9bb1d6bd8bad5ce9522fbe772c6ec42b5d7f28d0e2684c9341fec58f816e0c375a4e51f9f34ec034a29c97467df00497c8d95d60017fd847dc13274ab371f6244234290f56fa8650ec9dceff86e20efe1ddc141bdb035d337f99298391997747e556e81b2d36d99151315b6c1b92e826ca8d37acad5fddaf705d5f7fce5ffa91873ede1b462af74ea59bab3721b06b0ff726b90311437efde20017955d565b9081602091031261002a5751611f4681610e2c565b9790612b1396949597939291612a9f87858c6135a1565b612aaa83838b613647565b612ab660208701612503565b94602086612ad2610c1d610c1d6009546001600160a01b031690565b612adb8a61250d565b604051809d819482936359f0aa3960e11b8452600484019092916001600160a01b0360209163ffffffff604085019616845216910152565b03915afa988915610d3e575f99612bad575b50612b4291612b33916136fa565b908a15612ba5578c3093613791565b98612b4c8661250d565b93612b55610691565b9a8b5260208b015260408a01526001600160a01b031660608901526001600160a01b0316608088015263ffffffff1660a08701526001600160a01b031660c08601526040013591611f4694613e2a565b8c8c93613791565b612b3391995091612bd8612b429360203d602011612be1575b612bd0818361066f565b810190612a73565b99915091612b25565b503d612bc6565b335f9081527ffad11248e1247cf2be78b2297df0a99e014395bebbed387f9305d245195f092d602052604090205460ff1615612c2057565b63e2517d3f60e01b5f52336004527f6a1dd52dcad5bd732e45b6af4e7344fa284e2d7d4b23b5b09cb55d36b0685c8760245260445ffd5b335f9081527fcd92a47a49af88ea215f843a7acddba636c1123555e1f5f07a13c3e84b9691d7602052604090205460ff1615612c8f57565b63e2517d3f60e01b5f52336004527f9939157be7760e9462f1d5a0dcad88b616ddc64138e317108b40b1cf5560134860245260445ffd5b805f525f60205260ff612ced3360405f20906001600160a01b03165f5260205260405f2090565b541615612cf75750565b63e2517d3f60e01b5f523360045260245260445ffd5b805f525f60205260ff612d348360405f20906001600160a01b03165f5260205260405f2090565b5416612d9f57805f525f602052612d5f8260405f20906001600160a01b03165f5260205260405f2090565b805460ff1916600117905533916001600160a01b0316907f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d5f80a4600190565b50505f90565b805f525f60205260ff612dcc8360405f20906001600160a01b03165f5260205260405f2090565b541615612d9f57805f525f602052612df88260405f20906001600160a01b03165f5260205260405f2090565b805460ff1916905533916001600160a01b0316907ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b5f80a4600190565b979291909695939496612e4986848b6135a1565b612e5482828a613647565b8315612ebf57612e6a96612ab660208701612503565b03915afa988915610d3e575f99612e98575b50612b4291908915612e915730915b8c614129565b8a91612e8b565b612b4292919950612eb79060203d602011612be157612bd0818361066f565b989091612e7c565b7fbc0c932b000000000000000000000000000000000000000000000000000000005f5260045ffd5b989694612f719098949698612efd88868d6135a1565b612f0884848c613647565b612f1460208801612503565b95602087612f30610c1d610c1d6009546001600160a01b031690565b612f398b61250d565b6040518097819482936359f0aa3960e11b8452600484019092916001600160a01b0360209163ffffffff604085019616845216910152565b03915afa998a15610d3e578c935f9b612fb5575b508a15612fae5730915b6001600160a01b0387166001600160a01b0387161493612b42956141f4565b8b91612f8f565b612fcf919b5060203d602011612be157612bd0818361066f565b995f612f85565b9290916001600160a01b039081604051947f23b872dd000000000000000000000000000000000000000000000000000000005f52166004521660245260445260205f60648180865af160015f511481161561305a575b6040919091525f606052155b61303f5750565b635274afe760e01b5f526001600160a01b031660045260245ffd5b6001811516613070573d15833b1515161661302c565b503d5f823e3d90fd5b9190916001600160a01b038116918215612400576123fb816123e37f1b3d7edb2e9c0b0e7c525b20aaaef0f5940d2ed71663c7d39266ecafac72885993875f96876148dd565b90916001600160a01b03821690811561242c576123fb816123e37f1b3d7edb2e9c0b0e7c525b20aaaef0f5940d2ed71663c7d39266ecafac72885993875f80986148dd565b916001600160a01b03604051927fa9059cbb000000000000000000000000000000000000000000000000000000005f521660045260245260205f60448180865af160015f511481161561315e575b60409190915215613038565b6001811516613070573d15833b15151616613152565b8147106131da575f9182916040519161318e60208461066f565b8383528392602001916001600160a01b03165af1156131a957565b3d15155f03611de2577fd6bda275000000000000000000000000000000000000000000000000000000005f5260045ffd5b50477fcf479181000000000000000000000000000000000000000000000000000000005f5260045260245260445ffd5b5190600482101561002a57565b919082604091031261002a57602061322e8361320a565b920151611f46816102f6565b9294936001600160a01b0361325b8193604095606088526060880191611e7a565b9616602085015216910152565b916020611f46938181520191611e7a565b3d156132a3573d9061328a8261251e565b91613298604051938461066f565b82523d5f602084013e565b606090565b60208183031261002a5780519067ffffffffffffffff821161002a570181601f8201121561002a578051906132dc8261251e565b926132ea604051948561066f565b8284526020838301011161002a57815f9260208093018386015e8301015290565b6042906133166149c6565b90604051917f19010000000000000000000000000000000000000000000000000000000000008352600283015260228201522090565b90604183036133765761336f9250602081013591604082359201355f1a90614ae2565b9192909190565b50505f9160029190565b906064846020955f9560405194630b135d3f60e11b86526004860152604060248601528160448601528385013701915afa630b135d3f60e11b5f5114601f3d11161690565b80156134cc576133e873eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee615513565b5c908082019081125f83129080158216911516176115a95761031491158015806134c4575b1561345f57506134456134407fee3c9c434505299f2450d3624302a27b8a6978e973825330bc744ba925eec1995c611e01565b614b89565b73eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee614bba565b806134bb575b15613445576134947fee3c9c434505299f2450d3624302a27b8a6978e973825330bc744ba925eec1995c611fa6565b7fee3c9c434505299f2450d3624302a27b8a6978e973825330bc744ba925eec1995d613445565b50801515613465565b50811561340d565b50565b908015611d24576134df82615513565b5c918183019182125f84129080158216911516176115a9576103149215801580613599575b1561355b57506135347fee3c9c434505299f2450d3624302a27b8a6978e973825330bc744ba925eec1995c611e01565b7fee3c9c434505299f2450d3624302a27b8a6978e973825330bc744ba925eec1995d614bba565b80613590575b15614bba576135347fee3c9c434505299f2450d3624302a27b8a6978e973825330bc744ba925eec1995c611fa6565b50811515613561565b508215613504565b9190911561361f5781156135f757801580156135ee575b6135c0575050565b7fa6ce01ff000000000000000000000000000000000000000000000000000000005f5260045260245260445ffd5b508181116135b8565b7f6fa417d5000000000000000000000000000000000000000000000000000000005f5260045ffd5b7f40b71e18000000000000000000000000000000000000000000000000000000005f5260045ffd5b6001600160a01b0316159190821561367a575b50811561366857506127d857565b6001600160a01b03915016155f6127d1565b6001600160a01b03161591505f61365a565b9060191161002a5760050190601490565b909291928360191161002a57831161002a57601901916018190190565b356bffffffffffffffffffffffff198116929190601482106136da575050565b6bffffffffffffffffffffffff1960149290920360031b82901b16169150565b918160141161002a57823560601c92601401916013190190565b908160a091031261002a576137288161320a565b916020820151613737816102f6565b916040810151613746816102f6565b9160806060830151613757816102f6565b920151611f4681610e2c565b9260409261378a916001600160a01b03939796978652606060208701526060860191611e7a565b9416910152565b929493919461379f84614558565b837f098a7a3b47801589e8cdf9ec791b93ad44273246946c32ef1fc4dbe45390c80e5d60017f8c47a7e3f4c2e1b5a6d9f0e8c7b3a2d1e4f5c6b7a8d9e0f1c2b3a4d5e6f7c8d95d5f7f7b3c4e5f6a8d9e0f1c2b3a4d5e6f7c8d9e0f1c2b3a4d5e6f7c8d9e0f1c2b3a4d5d817fce9e2e8e50d57f2d688020ea7ab16e2039bcf4dc7175eba827e178586597bb395d604051936314b471d360e31b855260a0858061384c858b60048401613268565b03816001600160a01b0385165afa968715610d3e575f925f915f915f985f9b613ad6575b506001600160a01b0389166001600160a01b03841614613aba575f839281928a8e8d9a9998977f0c22c14aba48b0e26e3b58475c66f358c352532122e537c32e8184c0159e6e105d8414613aa657506139186138dc8460016138d330809e614bc3565b9d898d8c614731565b926122418d60405194859360208501977f6df0e4a800000000000000000000000000000000000000000000000000000000895260248601613763565b5190865af4916002613928613279565b955f7f098a7a3b47801589e8cdf9ec791b93ad44273246946c32ef1fc4dbe45390c80e5d5f7f8c47a7e3f4c2e1b5a6d9f0e8c7b3a2d1e4f5c6b7a8d9e0f1c2b3a4d5e6f7c8d95d5f7f7b3c4e5f6a8d9e0f1c2b3a4d5e6f7c8d9e0f1c2b3a4d5e6f7c8d9e0f1c2b3a4d5d5f7fce9e2e8e50d57f2d688020ea7ab16e2039bcf4dc7175eba827e178586597bb395d5f7f0c22c14aba48b0e26e3b58475c66f358c352532122e537c32e8184c0159e6e105d6139e1816125a3565b14613a96575b505015613a52575050906139fe613a039285614bc3565b611e0f565b9380613a3f575b613a2d575b83906001600160a01b03163014613a24575050565b610314916134cf565b92613a39908483614c3e565b92613a0f565b50306001600160a01b0382161415613a0a565b815115613a625750602081519101fd5b7f2680f8fe000000000000000000000000000000000000000000000000000000005f526001600160a01b031660045260245ffd5b613a9f916147eb565b5f806139e7565b6138dc8460016138d361391894809e614bc3565b63ce89c4bd60e01b5f526001600160a01b03831660045260245ffd5b93509950935050613b0091955060a03d60a011613b0c575b613af8818361066f565b810190613714565b9793949097995f613870565b503d613aee565b9594929395919091613b2481614558565b807f098a7a3b47801589e8cdf9ec791b93ad44273246946c32ef1fc4dbe45390c80e5d867f8c47a7e3f4c2e1b5a6d9f0e8c7b3a2d1e4f5c6b7a8d9e0f1c2b3a4d5e6f7c8d95d5f7f7b3c4e5f6a8d9e0f1c2b3a4d5e6f7c8d9e0f1c2b3a4d5e6f7c8d9e0f1c2b3a4d5d827fce9e2e8e50d57f2d688020ea7ab16e2039bcf4dc7175eba827e178586597bb395d604051946314b471d360e31b865260a08680613bd0848760048401613268565b03816001600160a01b0386165afa978815610d3e575f935f925f925f995f9c613c80575b506001600160a01b038a166001600160a01b03851614613c645783925f926139186138dc8f86958f9c9b9a998f909288937f0c22c14aba48b0e26e3b58475c66f358c352532122e537c32e8184c0159e6e105d8314613c5957506138d330809e614bc3565b6138d390809e614bc3565b63ce89c4bd60e01b5f526001600160a01b03841660045260245ffd5b93509a5094509650613ca1915060a03d60a011613b0c57613af8818361066f565b9891939590929392989a5f613bf4565b9594929395919091613cc281614558565b807f098a7a3b47801589e8cdf9ec791b93ad44273246946c32ef1fc4dbe45390c80e5d867f8c47a7e3f4c2e1b5a6d9f0e8c7b3a2d1e4f5c6b7a8d9e0f1c2b3a4d5e6f7c8d95d60017f7b3c4e5f6a8d9e0f1c2b3a4d5e6f7c8d9e0f1c2b3a4d5e6f7c8d9e0f1c2b3a4d5d827fce9e2e8e50d57f2d688020ea7ab16e2039bcf4dc7175eba827e178586597bb395d604051946314b471d360e31b865260a08680613d6f848760048401613268565b03816001600160a01b0386165afa978815610d3e575f935f925f925f995f9c613df9575b506001600160a01b038a166001600160a01b03851614613c645783925f926139186138dc8f86958f9c9b9a998f90926001937f0c22c14aba48b0e26e3b58475c66f358c352532122e537c32e8184c0159e6e105d8814613c5957506138d330809e614bc3565b93509a5094509650613e1a915060a03d60a011613b0c57613af8818361066f565b9891939590929392989a5f613d93565b9394919392901561411857613e4d610c1d610c1d6009546001600160a01b031690565b604080517f9f6523db000000000000000000000000000000000000000000000000000000008152855160048201526020860151602482015290850151604482015260608501516001600160a01b03908116606483015260808601518116608483015260a086015163ffffffff1660a483015260c08601511660c482015293905f90859060e49082905afa938415610d3e575f946140f4575b508051925f965f975b8651891015613f1a57613f126001916020613f098c8b611d4e565b51015190611fb4565b980197613eee565b9092949750959092958451908181116140c65750505f5b8551811015613ff4576020613f468288611d4e565b510151613f56575b600101613f31565b96613fec600191613fd7888b6020613fce613fc7613fb9613fab858f60800197613fa6613f8a8a516001600160a01b031690565b613fa089613f988686611d4e565b5101516145d4565b906134cf565b611d4e565b51516001600160a01b031690565b94516001600160a01b031690565b928d611d4e565b51015191615565565b6020613fe38b8a611d4e565b51015190611e0f565b979050613f4e565b50929093611f4695929661403e91805161406f575b505b85608084019461402286516001600160a01b031690565b908761403860c08801516001600160a01b031690565b94614d97565b9261406961405b606060408501519401516001600160a01b031690565b93516001600160a01b031690565b93614f53565b7f90d361ec764fa5642d6f3c5dc38434ac048b8ece7df64dcfa2331ea2114f44806140bd6001600160a01b036140af60808801516001600160a01b031690565b169260405191829182614d49565b0390a25f614009565b7ff3603006000000000000000000000000000000000000000000000000000000005f5260045260245260445ffd5b6141119194503d805f833e614109818361066f565b810190614ca3565b925f613ee5565b8261403e611f46959396945161400b565b9392915f91808201815b8181106141cc5750505f935f19840192848411925b8587106141585750505050505050565b9061416991989293949596986150ee565b61417982959394959482966136fa565b90896115a95760019561419b958f958d87036141a857505089945b1593613b13565b9801959493929190614148565b6141b86141c0916141c6936150ee565b5050906136fa565b91615121565b94614194565b60019490940193803560f01c01600201614133565b818102929181159184041417156115a957565b9491939290928115612ebf5761420984611f64565b9161421385611f64565b95815f98806142218a611d3c565b5261422b86611d3c565b525b61425857505050505f1461424057505090565b614254925061424e90611e01565b90611d4e565b5190565b839761427e939462ffffff6142e96142728a968c966150ee565b989299919098996151c0565b9398929a919497909a16918215155f146143a357506142b7916142a86142ae9260ff8a1690611d4e565b516141e1565b62ffffff900490565b945b60ff6142c53095611e01565b97169687148061439b575b801561438b575b614383575b60ff169785891593613cb1565b9282614347579183918161430489989795968f9b9a97611fb4565b9d6143226143419561431c61433a9661432994611d4e565b51611fb4565b918b611d4e565b52614334848a611d4e565b51611e0f565b9187611d4e565b5261422d565b9a96959493916143419181614329614322878f848e8261437d8f9d9a61437761433a9c61431c8361431c99611d4e565b92611d4e565b52611d4e565b8b93506142dc565b508c80156142d7575086156142d7565b508c156142d0565b6143b3925060ff88169150611d4e565b51946142b9565b60ff81146143cb57611f469061521a565b506040515f6007548060011c91600182168015614496575b60208410811461448257838552849260208401919081156144695750600114614414575b50611f469250038261066f565b60075f90815291507fa66cc928b5edb82af9bd49922954155ab7b0942694bea4ce44661d9a8736c6885b8483106144525750611f469350015f614407565b80548284015285935060209092019160010161443e565b60ff1916825250611f4693151560051b0190505f614407565b634e487b7160e01b5f52602260045260245ffd5b92607f16926143e3565b60ff81146144b157611f469061521a565b506040515f6008548060011c9160018216801561454e575b602084108114614482578385528492602084019190811561446957506001146144f95750611f469250038261066f565b60085f90815291507ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee35b8483106145375750611f469350015f614407565b805482840152859350602090920191600101614523565b92607f16926144c9565b6001600160a01b0316805f52600660205260405f205480156145a857421061457d5750565b7f45d4ba96000000000000000000000000000000000000000000000000000000005f5260045260245ffd5b507fa6cdd2a5000000000000000000000000000000000000000000000000000000005f5260045260245ffd5b7f800000000000000000000000000000000000000000000000000000000000000081146115a9575f0390565b929391949061460e816125a3565b600381146147285761461f816125a3565b600181146147165782907fce5ffa91873ede1b462af74ea59bab3721b06b0ff726b90311437efde20017955c8261470d575b5061465b816125a3565b600281146146d35761466c816125a3565b1561468057633fe0a7ad60e01b5f5260045ffd5b1590816146ca575b50806146c3575b6146bc57156146a157611f46926152f0565b611f46926146b76146b1846145d4565b826134cf565b614c3e565b5050905090565b505f61468f565b9050155f614688565b50929493925050156146f657906146ee611f469230836152f0565b928391615271565b8092611f46926147086146b1846145d4565b615271565b1593505f614651565b5050505090611f4690613fa0836145d4565b50505050905090565b929391949061473f816125a3565b6003811461472857614750816125a3565b600181146147165782907fce5ffa91873ede1b462af74ea59bab3721b06b0ff726b90311437efde20017955c826147e2575b5061478c816125a3565b600281146146d35761479d816125a3565b156147b157633fe0a7ad60e01b5f5260045ffd5b1590816147d9575b50806147d1576146bc57156146a157611f46926152f0565b50600161468f565b9050155f6147b9565b1593505f614782565b6001600160a01b0316906040517fdd62ed3e0000000000000000000000000000000000000000000000000000000081523060048201526001600160a01b0382166024820152602081604481865afa908115610d3e575f916148be575b50614850575050565b61485b5f8284615657565b15614864575050565b61486e81836156a5565b156148a2575f61487e9183615704565b156148865750565b6001600160a01b0390635274afe760e01b5f521660045260245ffd5b6001600160a01b0382635274afe760e01b5f521660045260245ffd5b6148d7915060203d602011610d3757610d29818361066f565b5f614847565b6001600160a01b03811680614930575b50506001600160a01b03811661490257505050565b61492c91610b01614924926001600160a01b03165f52600560205260405f2090565b918254611fb4565b9055565b5f52600560205260405f20835f5260205260405f20548481106149775783610b018661496f9303936001600160a01b03165f52600560205260405f2090565b555f806148ed565b6040517fb1b4fec00000000000000000000000000000000000000000000000000000000081526001600160a01b0392909216600483015260248201526044810184905260648101839052608490fd5b6001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016301480614ab9575b15614a21577f000000000000000000000000000000000000000000000000000000000000000090565b60405160208101907f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f82527f000000000000000000000000000000000000000000000000000000000000000060408201527f000000000000000000000000000000000000000000000000000000000000000060608201524660808201523060a082015260a08152614ab360c08261066f565b51902090565b507f000000000000000000000000000000000000000000000000000000000000000046146149f8565b91907f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a08411614b59579160209360809260ff5f9560405194855216868401526040830152606082015282805260015afa15610d3e575f516001600160a01b03811615614b4f57905f905f90565b505f906001905f90565b5050505f9160039190565b5f7fee3c9c434505299f2450d3624302a27b8a6978e973825330bc744ba925eec1995d565b7fee3c9c434505299f2450d3624302a27b8a6978e973825330bc744ba925eec1995d565b614bb75f91615513565b5d565b614bb790615513565b6001600160a01b031673eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee8103614bec57503190565b906001600160a01b03602460209260405194859384926370a0823160e01b84521660048301525afa908115610d3e575f91614c25575090565b611f46915060203d602011610d3757610d29818361066f565b90614c8d91614c4d8282614bc3565b936001600160a01b038216908373eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee8303614c9a57614c8892506001600160a01b0316613174565b614bc3565b9081039081116115a95790565b614c8892613104565b60208183031261002a5780519067ffffffffffffffff821161002a570181601f8201121561002a57805190614cd7826106a0565b92614ce5604051948561066f565b82845260208085019360061b8301019181831161002a57602001925b828410614d0f575050505090565b60408483031261002a5760206040918251614d298161064e565b8651614d34816102f6565b81528287015183820152815201930192614d01565b60206040818301928281528451809452019201905f5b818110614d6c5750505090565b825180516001600160a01b031685526020908101518186015260409094019390920191600101614d5f565b909491939185821015614f4a57614dae8287611e0f565b948511614f31578484614dc0926155b7565b614dc983615513565b5c5f811315614ddf5750505090611f46916134cf565b80614f0657506001600160a01b03821691308303614e055750505090611f46913361563b565b9091926001600160a01b031673eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee81145f14614e3b5750505090611f4691613174565b6040516370a0823160e01b81526001600160a01b038316600482015295509193909250602085602481855afa948515610d3e575f95614ed8575b509181614e88614eb39483602095613104565b60405180809581946370a0823160e01b8352600483019190916001600160a01b036020820193169052565b03915afa928315610d3e57611f4693614ed2925f91610d0f5750611e0f565b90611fb4565b614eb39391955091614e88614efb602094853d8711610d3757610d29818361066f565b969294505091614e75565b7fad778f04000000000000000000000000000000000000000000000000000000005f5260045260245ffd5b633f559c2360e21b5f526004829052602486905260445ffd5b50935050505090565b93909291945f614f6283615513565b5c136150a8575b50507fee3c9c434505299f2450d3624302a27b8a6978e973825330bc744ba925eec1995c937fce5ffa91873ede1b462af74ea59bab3721b06b0ff726b90311437efde20017955c600103615087576001851115614fd4576367521f4b60e01b5f52600485905260245ffd5b90919293600114615006575b50505b808210614fee575090565b633f559c2360e21b5f5260049190915260245260445ffd5b61500f82615513565b5c80158015615075575b61504a57509061503661503b926001600160a01b038316336130bf565b614bad565b615043614b64565b5f80614fe0565b7f955ec055000000000000000000000000000000000000000000000000000000005f5260045260245ffd5b5061507f826145d4565b811415615019565b50509091806150965750614fe3565b6367521f4b60e01b5f5260045260245ffd5b6150ba6150b4866145d4565b836134cf565b6001600160a01b03811630036150dd5750836150d6913361563b565b5f80614f69565b6150e8929491614c3e565b916150d6565b9091821560011461511557813560f01c906002830193600283809501019260011991030190565b5f925082915081908190565b906020916151759361513282614558565b6001600160a01b036040518096819582947fa44abc5300000000000000000000000000000000000000000000000000000000845288600485018181520191611e7a565b0392165afa908115610d3e575f9161518b575090565b90506020813d6020116151b8575b816151a66020938361066f565b8101031261002a5751611f46816102f6565b3d9150615199565b91908015611d4957823560f81c928160011015611d4957600181013560f81c928260051161002a5761056b600283013560e81c9380615214610c1d61520e615208848961368c565b906136ba565b60601c90565b9461369d565b60ff811690601f8211615249576040519161523660408461066f565b6020808452838101919036833783525290565b7fb3512b0c000000000000000000000000000000000000000000000000000000005f5260045ffd5b919091306001600160a01b0384160361528a575b505050565b6001600160a01b03169161529f828285615657565b156152a957505050565b6152b381846156a5565b156152dd57906152c39183615704565b156152cb5750565b635274afe760e01b5f5260045260245ffd5b82635274afe760e01b5f5260045260245ffd5b7f99298391997747e556e81b2d36d99151315b6c1b92e826ca8d37acad5fddaf705c927fd847dc13274ab371f6244234290f56fa8650ec9dceff86e20efe1ddc141bdb035c92907faf58e9f1b0923d55d0ec6a57763d43cd9bb1d6bd8bad5ce9522fbe772c6ec42b5c7f28d0e2684c9341fec58f816e0c375a4e51f9f34ec034a29c97467df00497c8d95c8083116154e3576001600160a01b038516916001600160a01b03811683036154a95750826153a891611e0f565b7f28d0e2684c9341fec58f816e0c375a4e51f9f34ec034a29c97467df00497c8d95d6153d48385614bc3565b941561549657506001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001690813b1561002a576040517f36c785160000000000000000000000000000000000000000000000000000000081526001600160a01b0396871660048201528387166024820152908616604482015294831660648601525f908590608490829084905af1918215610d3e57611f46946139fe93615482575b50614bc3565b8061118a5f6154909361066f565b5f61547c565b6139fe939183611f4697614c8893612fd6565b7f358c73f1000000000000000000000000000000000000000000000000000000005f526001600160a01b038087166004521660245260445ffd5b7fae0626b3000000000000000000000000000000000000000000000000000000005f52600452602482905260445ffd5b60405160208101916bffffffffffffffffffffffff199060601b1682527f547963686f5661756c742344454c544100000000000000000000000000000000603482015260248152614ab360448261066f565b8215615285576001600160a01b038116156124005761559d6001600160a01b03916001600160a01b03165f52600560205260405f2090565b91165f5260205260405f2080549182018092116115a95755565b929190928115615635576001600160a01b038416906001600160a01b0381165f52600560205260405f20825f5260205260405f20548381106155ff57506103149394506130bf565b6040516369dc250160e11b81526001600160a01b0392831660048201529186166024830152604482018490526064820152608490fd5b50509050565b9190918115615285576001600160a01b03610314931690613079565b92916001600160a01b036040519263095ea7b360e01b5f521660045260245260205f60448180875af19260015f5114841615615694575b50604052565b3d15903b151516909216915f61568e565b91906001600160a01b036040519163095ea7b360e01b5f52166004525f60245260205f60448180875af19260015f51148416156156e25750604052565b600184929415166156fb573b15153d151616915f61568e565b833d5f823e3d90fd5b92916001600160a01b036040519263095ea7b360e01b5f521660045260245260205f60448180875af19260015f51148416156156e2575060405256fea26469706673582212200c335e6f0a1338a4b8b162db37e93a73acd31afc3f8e0e82893981f48e58443264736f6c63430008210033","sourceMap":"10290:52495:43:-:0;;;;;;;;;-1:-1:-1;10290:52495:43;;;;;;;51318:12;10290:52495;51318:12;:::i;:::-;10290:52495;;;;;;;;;;;56234:94;;:::i;:::-;10290:52495;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;-1:-1:-1;;;;;10290:52495:43;;;;;:::o;:::-;;;;;;;:::i;:::-;:::o;:::-;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;:::i;:::-;;;;;;-1:-1:-1;;10290:52495:43;;;;;;;;;:::i;:::-;-1:-1:-1;;;;;10290:52495:43;;;;-1:-1:-1;10290:52495:43;2158:14:44;10290:52495:43;;;-1:-1:-1;10290:52495:43;;-1:-1:-1;10290:52495:43;;;;;-1:-1:-1;10290:52495:43;;;;;;;;;;;;;;-1:-1:-1;;10290:52495:43;;;;;;;;;;;;;;;13324:44;2654:32:3;2639:47;;:87;;;;10290:52495:43;13324:98;;;;;;10290:52495;;;;;;;;;;;13324:98;1313:26:14;1298:41;;-1:-1:-1;1298:81:14;;;;13324:98:43;;;;;;1298:81:14;;;;;;2639:87:3;829:40:30;844:25;829:40;;2639:87:3;;10290:52495:43;;;;;;;;;;;;;;:::i;:::-;;;;;;;;:::o;:::-;;;;2560:6:14;10290:52495:43;;;:::i;:::-;735:10:17;;2560:6:14;:::i;:::-;10290:52495:43;;;2584:4:14;10290:52495:43;;;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;:::-;;;-1:-1:-1;;10290:52495:43;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;30090:216;29940:8;10290:52495;;;:::i;:::-;1315:72:21;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;2989:103:22;;:::i;:::-;29940:8:43;:::i;:::-;29997;;;:::i;:::-;30066:5;;;;:::i;:::-;30090:216;:::i;:::-;2365:1:22;1505:66;2407:1;10290:52495:43;;;;;;;;;;;;;:::o;:::-;;;;;;-1:-1:-1;;10290:52495:43;;;;;;;-1:-1:-1;;;;;2192:43:42;10290:52495:43;;;;;-1:-1:-1;;;10290:52495:43;;;;;;;;;;;;;;;;;;;;;;;:::o;:::-;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;:::o;:::-;;;;;94:42:39;10290:52495:43;;:::i;:::-;;;;;;;;;;;:::o;:::-;;;;;;-1:-1:-1;;10290:52495:43;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;51825:240;;;:::i;10290:52495::-;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;-1:-1:-1;;10290:52495:43;;;;;;;11242:6;10290:52495;;;;;;;;;-1:-1:-1;;10290:52495:43;;;;-1:-1:-1;;;;;10290:52495:43;;;;;:::i;:::-;2475:4:3;;:::i;:::-;10290:52495:43;;-1:-1:-1;10290:52495:43;3552:28:41;10290:52495:43;;-1:-1:-1;10290:52495:43;;;;3603:23:41;-1:-1:-1;3603:23:41;;10290:52495:43;;;;;;;-1:-1:-1;;10290:52495:43;;;;;;;;3867:6:3;10290:52495:43;3867:6:3;10290:52495:43;;3867:22:3;10290:52495:43;3867:6:3;10290:52495:43;3867:22:3;10290:52495:43;3776:120:3;;10290:52495:43;;;;;;;;;;;;;-1:-1:-1;;10290:52495:43;;;;4296:25:3;10290:52495:43;;;;;;;:::i;:::-;2475:4:3;4266:18;;3867:6;10290:52495:43;3867:6:3;10290:52495:43;;3867:22:3;10290:52495:43;3867:6:3;10290:52495:43;3867:22:3;10290:52495:43;3776:120:3;;4266:18;2475:4;:::i;:::-;4296:25;:::i;10290:52495:43:-;;;;;;-1:-1:-1;;10290:52495:43;;;;;;;11111:66;10290:52495;;;;;;;;;-1:-1:-1;;10290:52495:43;;;;;;;;;;;:::i;:::-;735:10:17;-1:-1:-1;;;;;10290:52495:43;;5387:34:3;5383:102;;5495:37;;;:::i;5383:102::-;5444:30;-1:-1:-1;5444:30:3;10290:52495:43;-1:-1:-1;5444:30:3;10290:52495:43;;23172:224;23025:5;10290:52495;;;:::i;23025:5::-;23079:8;;;:::i;:::-;23148:5;;;;:::i;:::-;23172:224;:::i;10290:52495::-;;;;;;-1:-1:-1;;10290:52495:43;;;;735:10:17;10290:52495:43;;;;;;;;;;;;;3485:23:3;3481:108;;10290:52495:43;;;;;2140:9:21;2136:62;;10290:52495:43;;;;;2674:22:21;10290:52495:43;;;735:10:17;10290:52495:43;;2674:22:21;10290:52495:43;2136:62:21;2172:15;10290:52495:43;2172:15:21;10290:52495:43;;2172:15:21;3481:108:3;-1:-1:-1;;;10290:52495:43;3531:47:3;735:10:17;10290:52495:43;;10982:66;10290:52495;;;;3531:47:3;10290:52495:43;;-1:-1:-1;;10290:52495:43;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;:::i;:::-;;;;;18002:240;17904:5;10290:52495;;;:::i;:::-;1315:72:21;;;;;;;;;;;;;;;;;;;;;;;:::i;17904:5:43:-;17979:4;;;;:::i;:::-;18002:240;:::i;10290:52495::-;;;;;;;:::i;:::-;735:10:17;;;;6353:19:14;6349:91;;-1:-1:-1;;;;;10290:52495:43;;6453:21:14;;;6449:92;;6550:31;735:10:17;6550:27:14;735:10:17;;;-1:-1:-1;10290:52495:43;6550:11:14;10290:52495:43;;;-1:-1:-1;10290:52495:43;;-1:-1:-1;;;;;10290:52495:43;;;;;;;;;;6550:27:14;10290:52495:43;;;;;;;;;;6550:31:14;2407:1:22;10290:52495:43;;;;;735:10:17;;6605:36:14;;10290:52495:43;;6605:36:14;10290:52495:43;;2153:4:14;10290:52495:43;;;;;;;;;;6449:92:14;6497:33;-1:-1:-1;6497:33:14;-1:-1:-1;10290:52495:43;;;-1:-1:-1;6497:33:14;6349:91;6395:34;-1:-1:-1;6395:34:14;-1:-1:-1;10290:52495:43;;;-1:-1:-1;6395:34:14;10290:52495:43;;;;;;-1:-1:-1;;10290:52495:43;;;;;-1:-1:-1;;;;;53161:14:43;10290:52495;;;;;;;;;;;-1:-1:-1;;10290:52495:43;;;;;;;;;:::i;:::-;;;1315:72:21;;;:::i;:::-;2989:103:22;;:::i;:::-;-1:-1:-1;;;;;10290:52495:43;;4316:19:44;;;4312:77;;4402:11;;4398:68;;13180:23;;-1:-1:-1;;;;;10290:52495:43;13188:14:44;-1:-1:-1;;;;;10290:52495:43;;;13180:23:44;4516:20;94:42:39;4516:20:44;;94:42:39;;4594:9:44;;4668:6;4594:9;4586:46;4594:9;;:19;4586:46;:::i;:::-;4652:10;4668:6;:::i;:::-;3054:1:22;2365;1505:66;2407:1;4047:253;4512:723:44;4706:61;4714:9;:14;4706:61;:::i;:::-;10290:52495:43;;-1:-1:-1;;;4959:38:44;;4991:4;10290:52495:43;4959:38:44;;10290:52495:43;;;;;;4959:38:44;;;;;;;;-1:-1:-1;4959:38:44;;;4512:723;4991:4;5069:6;4991:4;;5042:10;5069:6;;:::i;:::-;10290:52495:43;;-1:-1:-1;;;5125:38:44;;4991:4;10290:52495:43;5125:38:44;;10290:52495:43;;;;;;;;;;5125:38:44;;;;;;;5215:8;5125:38;:54;:38;-1:-1:-1;5125:38:44;;;4512:723;5125:54;;:::i;:::-;5042:10;;5215:8;:::i;:::-;4512:723;;5125:38;;;;10290:52495:43;5125:38:44;10290:52495:43;5125:38:44;;;;;;;;:::i;:::-;;;;;:::i;:::-;;;;;;;;;;;:::i;4959:::-;5069:6;4959:38;;;;;10290:52495:43;4959:38:44;10290:52495:43;4959:38:44;;;;;;;:::i;:::-;;;;;4398:68;4436:19;-1:-1:-1;4436:19:44;10290:52495:43;-1:-1:-1;4436:19:44;4312:77;4358:20;-1:-1:-1;4358:20:44;10290:52495:43;-1:-1:-1;4358:20:44;10290:52495:43;;;;;;-1:-1:-1;;10290:52495:43;;;;;;;10744:66;10290:52495;;;;;;;;;-1:-1:-1;;10290:52495:43;;;;;;;11301:289;10290:52495;;;;;;;;;;:::o;:::-;;;;;;-1:-1:-1;;10290:52495:43;;;;;;;;;:::i;:::-;;;;;;:::i;:::-;735:10:17;7163:19:14;7159:91;;-1:-1:-1;;;;;10290:52495:43;;7263:21:14;;;7259:92;;735:10:17;7360:34:14;:45;735:10:17;;-1:-1:-1;10290:52495:43;7360:18:14;10290:52495:43;;;-1:-1:-1;10290:52495:43;;-1:-1:-1;;;;;10290:52495:43;;;;;;;;;;7360:34:14;10290:52495:43;;;;;;;;;;;;;;;7360:45:14;10290:52495:43;;;;;;;735:10:17;;7420:37:14;;10290:52495:43;;7420:37:14;10290:52495:43;;2153:4:14;10290:52495:43;;;;;;;;;;;-1:-1:-1;;10290:52495:43;;;;;;;;;:::i;:::-;1720:27:14;10290:52495:43;;;;;:::i;:::-;-1:-1:-1;;;;;10290:52495:43;;;;-1:-1:-1;10290:52495:43;1720:11:14;10290:52495:43;;;-1:-1:-1;10290:52495:43;;-1:-1:-1;;;;;10290:52495:43;;;;;;;;;;1720:27:14;10290:52495:43;-1:-1:-1;10290:52495:43;;;;;-1:-1:-1;10290:52495:43;;;;;;;;;;;;;;-1:-1:-1;;10290:52495:43;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;;;;:::o;:::-;;-1:-1:-1;;10290:52495:43;;;;;;;;;;;:::i;:::-;;;;;:::i;:::-;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;:::i;:::-;;;;;;:::i;:::-;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;:::i;:::-;;;;27714:5;10290:52495;;;:::i;:::-;1315:72:21;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;27714:5:43:-;94:42:39;-1:-1:-1;;;;;10290:52495:43;;27829:22;27825:104;;10290:52495;;28012:224;27988:5;;;;;;;;;;;;;:::i;28012:224::-;3054:1:22;2365;1505:66;2407:1;4047:253;3054:1;10290:52495:43;;;;;;;;;;;;;27825:104;-1:-1:-1;;;;;27867:7:43;;;;;;;;;;;;10290:52495;27867:51;;;;;;10290:52495;;-1:-1:-1;;;27867:51:43;;10290:52495;;;;;27867:51;;27882:10;10290:52495;27867:51;;;:::i;:::-;;;;-1:-1:-1;27867:51:43;;;;;;;;;10290:52495;27867:51;28012:224;27867:51;;;27825:104;;;;;;;;;;;;;;;;27867:51;;;-1:-1:-1;27867:51:43;;;:::i;:::-;;;:::i;:::-;;;;10290:52495;;;;;;-1:-1:-1;;10290:52495:43;;;;2475:4:3;;:::i;:::-;53674:33:43;10290:52495;;;;;;53777:17;;53773:92;;53925:15;;:30;53921:160;;10290:52495;-1:-1:-1;;;;;10290:52495:43;;;54108:14;10290:52495;-1:-1:-1;;;;;10290:52495:43;;;;;-1:-1:-1;;;;;10290:52495:43;;;;54181:24;;-1:-1:-1;;;;;10290:52495:43;-1:-1:-1;;54108:14:43;10290:52495;;;54108:14;10290:52495;;54181:24;54215:34;-1:-1:-1;;53674:33:43;10290:52495;;53674:33;10290:52495;;54215:34;54259:37;10290:52495;53674:33;10290:52495;;53674:33;10290:52495;;54259:37;10290:52495;;;54311:40;10290:52495;54311:40;;10290:52495;53921:160;53978:92;10290:52495;53978:92;10290:52495;;53925:15;10290:52495;;;;53978:92;53773;53817:37;10290:52495;53817:37;10290:52495;;53817:37;10290:52495;;;;;;-1:-1:-1;;10290:52495:43;;;;735:10:17;10290:52495:43;;;;;;;;;;;;;3485:23:3;3481:108;;1315:72:21;;:::i;:::-;2408:4;10290:52495:43;;;;;;;;2427:20:21;10290:52495:43;;;735:10:17;10290:52495:43;;2427:20:21;10290:52495:43;3481:108:3;-1:-1:-1;;;10290:52495:43;3531:47:3;735:10:17;10290:52495:43;;10862:66;10290:52495;;;;3531:47:3;10290:52495:43;;;;;;;;;;;;;;;;;-1:-1:-1;10290:52495:43;;;;;;;;-1:-1:-1;;10290:52495:43;;;;:::o;:::-;;;;;;-1:-1:-1;;10290:52495:43;;;;;6183:41:27;:5;:41;:::i;:::-;6638:47;:8;:47;:::i;:::-;10290:52495:43;5752:16:27;;:::i;:::-;10290:52495:43;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;:::i;:::-;5674:13:27;10290:52495:43;;;;5709:4:27;10290:52495:43;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;10290:52495:43;;;;;;;;;;;;;;;;;;;-1:-1:-1;;10290:52495:43;;;;;;;;;:::i;:::-;2475:4:3;;:::i;:::-;1315:72:21;;:::i;:::-;52658:25:43;;:30;52654:108;;11242:6;52789:15;10290:52495;52789:15;;;10290:52495;;;52849:37;10290:52495;;;;-1:-1:-1;;;;;10290:52495:43;;;;;;;;;;;;;;;;;52961:39;;;;52896:50;10290:52495;52961:39;;;;10290:52495;;;:::i;52654:108::-;-1:-1:-1;;;;;52711:40:43;;-1:-1:-1;52711:40:43;10290:52495;;;;-1:-1:-1;52711:40:43;10290:52495;;;;;;-1:-1:-1;;10290:52495:43;;;;;;2920:29:3;10290:52495:43;;;;;;;:::i;:::-;-1:-1:-1;10290:52495:43;-1:-1:-1;10290:52495:43;;;-1:-1:-1;10290:52495:43;;-1:-1:-1;;;;;10290:52495:43;;;;;;;;;;2920:29:3;10290:52495:43;;;;;;;;;;;;;;;;-1:-1:-1;;10290:52495:43;;;;;;;;:::i;:::-;;;;:::i;:::-;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;:::i;:::-;;;;:::i;:::-;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;20378:7;10290:52495;;;;;;:::i;:::-;20378:7;;;;:::i;10290:52495::-;;;;;;-1:-1:-1;;10290:52495:43;;;;;;;;;;;;;;;;25366:224;25268:5;10290:52495;;;:::i;25268:5::-;25343:4;;;;:::i;10290:52495::-;;;;;;-1:-1:-1;;10290:52495:43;;;;-1:-1:-1;;;;;10290:52495:43;;;;;:::i;:::-;;-1:-1:-1;10290:52495:43;1413:63:41;10290:52495:43;;;;-1:-1:-1;10290:52495:43;;;;;;;;;;;;;;-1:-1:-1;;10290:52495:43;;;;;;1906:34:14;10290:52495:43;;;;;:::i;:::-;-1:-1:-1;;;;;10290:52495:43;;;;;;:::i;:::-;;-1:-1:-1;10290:52495:43;1906:18:14;10290:52495:43;;;-1:-1:-1;10290:52495:43;;-1:-1:-1;;;;;10290:52495:43;;;;;;;;;;;;;;34332:8;10290:52495;;;:::i;34332:8::-;94:42:39;-1:-1:-1;;;;;10290:52495:43;;34450:22;34446:104;;10290:52495;;34632:216;34608:5;;;;;;;;;;;;;:::i;34446:104::-;-1:-1:-1;;;;;34488:7:43;;;;;;;;;;;;10290:52495;34488:51;;;;;;10290:52495;;-1:-1:-1;;;34488:51:43;;10290:52495;;;;;34488:51;;34503:10;10290:52495;34488:51;;;:::i;:::-;;;;-1:-1:-1;34488:51:43;;;;;;;;;10290:52495;34488:51;34632:216;34488:51;;;34446:104;;;;;;;;;;;;;;;;34488:51;;;-1:-1:-1;34488:51:43;;;:::i;:::-;;;;10290:52495;;;;;;-1:-1:-1;;10290:52495:43;;;;4713:26:3;10290:52495:43;;;;;;;:::i;:::-;2475:4:3;4683:18;;3867:6;10290:52495:43;3867:6:3;10290:52495:43;;3867:22:3;10290:52495:43;3867:6:3;10290:52495:43;3867:22:3;10290:52495:43;3776:120:3;;2475:4;4713:26;:::i;10290:52495:43:-;;;;;;-1:-1:-1;;10290:52495:43;;;;;;;10862:66;10290:52495;;;;;;;;32101:216;32000:8;10290:52495;;;:::i;32000:8::-;32078:4;;;;:::i;10290:52495::-;;;;;;-1:-1:-1;;10290:52495:43;;;;;;;;;:::i;:::-;;;2989:103:22;;:::i;:::-;-1:-1:-1;;;;;10290:52495:43;;5480:19:44;;;5476:77;;5566:11;;5562:68;;13180:23;-1:-1:-1;;;;;10290:52495:43;;13188:14:44;10290:52495:43;13180:23:44;5703:10;2158:25;5703:10;2158:21;5703:10;-1:-1:-1;;;;;10290:52495:43;;;2158:14:44;10290:52495:43;;;;;;;2158:25:44;10290:52495:43;5732:16:44;;;5728:146;;5703:10;;;5906:6;5703:10;;5906:6;:::i;:::-;94:42:39;5977:20:44;;94:42:39;;6052:6:44;5703:10;;;6052:6;:::i;5973:174::-;6129:6;5703:10;;6129:6;;:::i;5728:146::-;10290:52495:43;;-1:-1:-1;;;5771:92:44;;5703:10;10290:52495:43;5771:92:44;;10290:52495:43;-1:-1:-1;;;;;10290:52495:43;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;10290:52495:43;;5771:92:44;10290:52495:43;;;;;;-1:-1:-1;;10290:52495:43;;;;53398:21;10290:52495;;;;-1:-1:-1;;;;;10290:52495:43;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;10290:52495:43;;;;;;;10982:66;10290:52495;;;;;15621:240;15474:5;10290:52495;;;:::i;15474:5::-;15528:8;;;:::i;:::-;15597:5;;;;:::i;10290:52495::-;;;;;;-1:-1:-1;;10290:52495:43;;;;;;;;;:::i;:::-;;;;;;:::i;:::-;;;;;;-1:-1:-1;;;;;10290:52495:43;;735:10:17;;2844:16:14;;;:47;;;10290:52495:43;2840:121:14;;10290:52495:43;3002:6:14;;;;:::i;:::-;10290:52495:43;;2153:4:14;10290:52495:43;;;;;2840:121:14;10290:52495:43;-1:-1:-1;10290:52495:43;1720:11:14;10290:52495:43;;1720:27:14;735:10:17;10290:52495:43;-1:-1:-1;10290:52495:43;;-1:-1:-1;;;;;10290:52495:43;;;;;;;;;;1720:27:14;10290:52495:43;-1:-1:-1;10290:52495:43;;;;-1:-1:-1;10290:52495:43;;7948:17:14;;7929:36;;7925:319;;2840:121;;;;7925:319;7985:25;;;7981:138;;10290:52495:43;;3002:6:14;10290:52495:43;-1:-1:-1;10290:52495:43;1720:11:14;10290:52495:43;;;8160:31:14;735:10:17;8160:27:14;735:10:17;10290:52495:43;-1:-1:-1;10290:52495:43;;-1:-1:-1;;;;;10290:52495:43;;;;;;;;;;8160:31:14;2407:1:22;7925:319:14;;;7981:138;10290:52495:43;;8037:67:14;;;735:10:17;10290:52495:43;8037:67:14;;10290:52495:43;;;;;;;;;;;;;;;;;;;;;;5771:92:44;2844:47:14;10290:52495:43;;-1:-1:-1;10290:52495:43;1906:18:14;10290:52495:43;;;1906:34:14;735:10:17;10290:52495:43;-1:-1:-1;10290:52495:43;;-1:-1:-1;;;;;10290:52495:43;;;;;;;;;;1906:34:14;10290:52495:43;;2864:27:14;2844:47;;2422:76:3;2475:4;;:::i;:::-;1315:72:21;;:::i;:::-;51982:1:43;52005:3;10290:52495;;51985:18;;;;;-1:-1:-1;;;;;52037:10:43;;;;:::i;:::-;10290:52495;;2877:18:41;;:23;2873:94;;10290:52495:43;51982:1;10290:52495;3028:28:41;10290:52495:43;;;51982:1;10290:52495;;3024:120:41;;3182:15;10290:52495:43;3182:15:41;3306:38;;3182:43;:15;:43;:::i;:::-;3235:36;;;-1:-1:-1;;;;;10290:52495:43;;;3028:28:41;10290:52495:43;;;;;;;3235:36:41;2407:1:22;10290:52495:43;;;;;;;;;;;;;3306:38:41;;;;10290:52495:43;51970:13;;3024:120:41;3092:41;51982:1:43;3092:41:41;;10290:52495:43;;51982:1;3092:41:41;2873:94;2923:33;51982:1:43;2923:33:41;;51982:1:43;2923:33:41;51985:18:43;;;2422:76:3:o;10290:52495:43:-;-1:-1:-1;;;10290:52495:43;;;;;;;;;;;;;;;;;:::o;:::-;;:::i;:::-;;;;;;;;;;;;;;;:::o;94:42:39:-;;;;:::o;:::-;;10290:52495:43;;-1:-1:-1;;;94:42:39;;;;;;;;;;;10290:52495:43;94:42:39;10290:52495:43;;;94:42:39;;;;;;;;;;;;;;;;;;:::o;:::-;10290:52495:43;;94:42:39;;;;;;;;-1:-1:-1;;;94:42:39;;;;;;;;;-1:-1:-1;;94:42:39;;;;;;;;:::o;:::-;;;;;;;;;;:::o;:::-;;;;:::o;:::-;;10290:52495:43;;-1:-1:-1;;;94:42:39;;;;;;;;;;;10290:52495:43;94:42:39;10290:52495:43;;;94:42:39;;10290:52495:43;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;-1:-1:-1;10290:52495:43;;;;;;;;-1:-1:-1;;10290:52495:43;;;;:::o;:::-;;;;;-1:-1:-1;;;;;10290:52495:43;;;;;-1:-1:-1;;;;;10290:52495:43;;;;;:::i;:::-;;;;;;-1:-1:-1;;;;;10290:52495:43;;;;;;;:::i;:::-;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;:::i;:::-;;;;;;-1:-1:-1;;;;;10290:52495:43;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::o;:::-;;;;;;;;:::i;:::-;;;;;;;;;;:::o;:::-;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;;;;:::i;:::-;;;;;;;;:::o;:::-;;11242:6;10290:52495;;;;;;;:::o;:::-;;9614:1:44;10290:52495:43;;;;;;;:::o;:::-;;;;;;;;;;:::o;1315:72:21:-;;;;20606:5:43;1315:72:21;;;;;;;;;;;;;;;;;;;;;;:::i;20606:5:43:-;94:42:39;-1:-1:-1;;;;;10290:52495:43;;20721:22;20717:104;;1315:72:21;20879:5:43;;;;;20903:240;20879:5;;;:::i;20903:240::-;3054:1:22;2365;1505:66;2407:1;4047:253;20717:104:43;-1:-1:-1;;;;;20759:7:43;10290:52495;20759:51;;;;;;10290:52495;;;;;;20759:51;;;;;;;-1:-1:-1;;;20759:51:43;;20774:10;20759:51;;;;:::i;:::-;;;;;;;;;;;20717:104;;;;;20759:51;;;10290:52495;20759:51;;;:::i;:::-;10290:52495;;;;;20759:51;;;1315:72:21;;;:::i;:::-;56293:10:43;:22;:27;10290:52495;;1315:72:21:o;:::-;;;;:::i;:::-;7786:299:41;;;;;;;;;;;;;8113:8;;;;:::i;:::-;10290:52495:43;;8209:66:41;94:42:39;8209:66:41;;10290:52495:43;51389:10;;8209:66:41;51389:10:43;8209:66:41;;10290:52495:43;8209:66:41;;;;:::i;:::-;;10290:52495:43;-1:-1:-1;;;;;10290:52495:43;;8209:66:41;;;;;;;10290:52495:43;;;8209:66:41;;;1315:72:21;8286:176:41;10290:52495:43;8286:176:41;;;;;;;;;;;:::i;:::-;;10290:52495:43;;8623:63:41;;;;;;;8646:33;8623:63;;;;;;;:::i;:::-;;10290:52495:43;;8623:63:41;;;;;;:::i;:::-;8588:108;;;;;;;;:::i;:::-;8711:8;;8707:436;;10290:52495:43;9244:30:41;10290:52495:43;;9846:27:41;10290:52495:43;;;:::i;:::-;9228:46:41;9224:121;;1315:72:21;9396:163:41;;10290:52495:43;7786:299:41;9396:163;10290:52495:43;7786:299:41;9396:163;10290:52495:43;7786:299:41;9396:163;8623:63;10290:52495:43;;;9846:27:41;;;;;;:::i;9224:121::-;9325:8;;;:::i;:::-;9224:121;;;;8707:436;10290:52495:43;;;;8799:18:41;8795:102;;9052:81;8623:63;9052:81;;;;;8795:102;8844:38;10290:52495:43;8844:38:41;-1:-1:-1;;;;;10290:52495:43;8209:66:41;10290:52495:43;;;8844:38:41;8209:66;10290:52495:43;8209:66:41;;;;8286:176;8209:66;;;;;;;10290:52495:43;8209:66:41;10290:52495:43;8209:66:41;;;;;;;;:::i;:::-;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;4007:322:14;;;;-1:-1:-1;;;;;10290:52495:43;;4103:18:14;;;4099:88;;-1:-1:-1;;;;;10290:52495:43;;4200:16:14;;;4196:88;;3407:6:44;;;3429:42;3407:6;3429:42;3407:6;;:::i;:::-;10290:52495:43;;;3438:10:44;10290:52495:43;;;;;;;;;;;;;;;;;3429:42:44;;;;4007:322:14:o;4196:88::-;4239:34;4119:1;4239:34;4119:1;4239:34;10290:52495:43;;4119:1:14;4239:34;4099:88;4144:32;4119:1;4144:32;4119:1;4144:32;10290:52495:43;;4119:1:14;4144:32;1878:128:21;10290:52495:43;1796:7:21;10290:52495:43;;1939:61:21;;1878:128::o;1939:61::-;1974:15;-1:-1:-1;1974:15:21;1796:7;-1:-1:-1;1974:15:21;3749:292:22;2407:1;1505:66;10290:52495:43;4560:63:22;3644:93;;2407:1;1505:66;2407:1;3749:292::o;3644:93::-;3696:30;-1:-1:-1;3696:30:22;;-1:-1:-1;3696:30:22;10290:52495:43;;;;;:::i;:::-;;;;;;;;;;:::o;:::-;;;;;;;;-1:-1:-1;;10290:52495:43;;;;:::o;:::-;;;;;;;:::i;:::-;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;-1:-1:-1;10290:52495:43;;;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;:::-;;-1:-1:-1;10290:52495:43;;;:::o;:::-;-1:-1:-1;;;10290:52495:43;;;;;;;;60670:2113;;;;;;;;;60973:19;;;;-1:-1:-1;;;;;60973:19:43;;;:::i;:::-;10290:52495;60973:33;60969:204;;61251:10;;;10290:52495;61233:15;;;:28;61229:160;;61545:14;;;61472:456;61545:14;;;;61415:537;61545:14;;;10290:52495;61472:456;61545:14;61622:23;61581:19;61545:14;;;:::i;:::-;61581:19;;:::i;:::-;61622:23;;10290:52495;;;;;:::i;:::-;60973:19;10290:52495;;;;61891:19;10290:52495;61622:23;10290:52495;61472:456;;;60973:19;61472:456;;;;10290:52495;;;;;;;;;;;;;;;;11301:289;10290:52495;;;;;;;;-1:-1:-1;;;;;10290:52495:43;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;10290:52495:43;;;;;-1:-1:-1;;;;;10290:52495:43;;;;;;;;;;;;;-1:-1:-1;;;;;10290:52495:43;;;;;;;;;61472:456;10290:52495;61445:497;;61415:537;:::i;:::-;62332:17;;;;62299:51;62332:17;;;;:::i;:::-;62299:51;;;:::i;:::-;10290:52495;;;;:::i;:::-;62377:33;:85;;;;60670:2113;62360:144;;;62675:17;62577:129;62646:19;;62576:130;62646:19;;:::i;:::-;62675:17;;:::i;:::-;62577:129;;;;:::i;:::-;62576:130;;10290:52495;62576:130;62572:205;;60670:2113::o;62572:205::-;62729:37;61004:1;62729:37;;61004:1;62729:37;62360:144;62487:7;;;;:::o;62377:85::-;62443:19;;-1:-1:-1;;;;;62430:32:43;62443:19;;;:::i;62430:32::-;10290:52495;;62430:32;62377:85;;;61229:160;61284:94;61004:1;61284:94;;10290:52495;;;61233:15;10290:52495;;;;8844:38:41;60969:204:43;61026:23;;;;;;;;;;;;;10290:52495;61026:27;;;;:49;;;60969:204;61022:121;;;61156:7::o;61022:121::-;61102:26;61004:1;61102:26;;61004:1;61102:26;61026:49;10290:52495;61057:14;;;;;:::i;:::-;10290:52495;61057:18;;61026:49;;;56519:484;56598:9;56594:403;;56519:484;:::o;56594:403::-;56598:9;;56756:21;56752:167;;56598:9;56968:17;56598:9;56968:17;:::i;56752:167::-;56804:100;56610:1;56804:100;56598:9;56804:100;10290:52495;;;;56610:1;56804:100;3496:476:42;3709:257;;;;10290:52495:43;3709:257:42;;;;;10290:52495:43;3709:257:42;;3496:476::o;:::-;;;3709:257;;10290:52495:43;3709:257:42;;10290:52495:43;3709:257:42;;;;;17979:4:43;3709:257:42;;3496:476::o;:::-;3709:257;;;;27982:4:43;3709:257:42;;;;;10290:52495:43;3709:257:42;;3496:476::o;10290:52495:43:-;;;;;;;;;;;;;:::i;37647:1577::-;;;38185:105;37647:1577;;;;;;;38024:12;;;;;:::i;:::-;38085:8;;;;;:::i;:::-;38122:33;;;;;:::i;:::-;10290:52495;38122:33;10290:52495;38185:67;:30;10290:52495;38200:14;10290:52495;-1:-1:-1;;;;;10290:52495:43;;;38185:67;38253:28;;;:::i;:::-;10290:52495;;38185:105;;;;;;-1:-1:-1;;;38185:105:43;;;;;10290:52495;;;-1:-1:-1;;;;;10290:52495:43;;;;;;;;;;;;;;;38185:105;;;;;;;;;;38253:28;38185:105;;;37647:1577;38414:24;38470:217;38414:24;;;;:::i;:::-;38634:39;;;;;38657:4;;38634:39;38470:217;:::i;:::-;39007:28;;;;:::i;:::-;10290:52495;;;:::i;:::-;;;;38122:33;38756:326;;10290:52495;;38756:326;;10290:52495;-1:-1:-1;;;;;10290:52495:43;38756:326;;;10290:52495;-1:-1:-1;;;;;10290:52495:43;38756:326;;;10290:52495;;;38756:326;;;10290:52495;-1:-1:-1;;;;;10290:52495:43;38756:326;;;10290:52495;;39148:37;10290:52495;38729:488;;;;:::i;38634:39::-;;;;38470:217;:::i;38185:105::-;38414:24;38185:105;;;;;38470:217;38185:105;38122:33;38185:105;38122:33;38185:105;;;;;;;;:::i;:::-;;;;;:::i;:::-;;;;;;;;;;;;3165:103:3;735:10:17;2920:6:3;10290:52495:43;;;;;;;;;;;;3485:23:3;3481:108;;3165:103::o;3481:108::-;-1:-1:-1;;;2920:6:3;3531:47;735:10:17;3531:47:3;10290:52495:43;10744:66;10290:52495;;;2920:6:3;3531:47;3165:103;735:10:17;2920:6:3;10290:52495:43;;;;;;;;;;;;3485:23:3;3481:108;;3165:103::o;3481:108::-;-1:-1:-1;;;2920:6:3;3531:47;735:10:17;3531:47:3;10290:52495:43;11111:66;10290:52495;;;2920:6:3;3531:47;3165:103;10290:52495:43;2920:6:3;10290:52495:43;2920:6:3;10290:52495:43;;;2920:29:3;735:10:17;10290:52495:43;2920:6:3;10290:52495:43;;-1:-1:-1;;;;;10290:52495:43;;;;;;;;;;2920:29:3;10290:52495:43;;3485:23:3;3481:108;;3165:103;:::o;3481:108::-;-1:-1:-1;;;2920:6:3;3531:47;735:10:17;3531:47:3;10290:52495:43;;;;2920:6:3;3531:47;6145:316;10290:52495:43;;;;;;;2920:29:3;10290:52495:43;;;;;-1:-1:-1;;;;;10290:52495:43;;;;;;;;;;2920:29:3;10290:52495:43;;;;;;;;;;6281:29:3;10290:52495:43;;;;;-1:-1:-1;;;;;10290:52495:43;;;;;;;;;;6281:29:3;10290:52495:43;;-1:-1:-1;;10290:52495:43;6313:4:3;10290:52495:43;;;735:10:17;;-1:-1:-1;;;;;10290:52495:43;;6336:40:3;-1:-1:-1;;6336:40:3;6313:4;6390:11;:::o;6238:217::-;6432:12;;10290:52495:43;6432:12:3;:::o;6698:317::-;10290:52495:43;;;;;;;2920:29:3;10290:52495:43;;;;;-1:-1:-1;;;;;10290:52495:43;;;;;;;;;;2920:29:3;10290:52495:43;;;;;;;;;;;6834:29:3;10290:52495:43;;;;;-1:-1:-1;;;;;10290:52495:43;;;;;;;;;;6834:29:3;10290:52495:43;;-1:-1:-1;;10290:52495:43;;;735:10:17;;-1:-1:-1;;;;;10290:52495:43;;6890:40:3;-1:-1:-1;;6890:40:3;10290:52495:43;6944:11:3;:::o;39781:1402:43:-;;;;;;;;;;40169:12;;;;;:::i;:::-;40230:8;;;;;:::i;:::-;40253:17;;40249:80;;40419:105;40356:33;;;;;;:::i;40419:105::-;;;;;;;;;;40269:1;40419:105;;;39781:1402;-1:-1:-1;40561:95:43;;40607:39;;;;;40630:4;40607:39;;40561:95;;:::i;40607:39::-;;;;;40419:105;40561:95;40419:105;;;;;;40356:33;40419:105;40356:33;40419:105;;;;;;;:::i;:::-;;;;;;40249:80;40293:25;40269:1;40293:25;;40269:1;40293:25;35392:1714;;;;36131:105;35392:1714;;;;;35800:12;;;;;:::i;:::-;35861:8;;;;;:::i;:::-;35898:33;;;;;:::i;:::-;10290:52495;35898:33;10290:52495;36131:67;:30;10290:52495;36146:14;10290:52495;-1:-1:-1;;;;;10290:52495:43;;;36131:67;36199:28;;;:::i;:::-;10290:52495;;36131:105;;;;;;-1:-1:-1;;;36131:105:43;;;;;10290:52495;;;-1:-1:-1;;;;;10290:52495:43;;;;;;;;;;;;;;;36131:105;;;;;;;;;;;;36199:28;36131:105;;;35392:1714;-1:-1:-1;36318:39:43;;;;36341:4;36318:39;;-1:-1:-1;;;;;10290:52495:43;;-1:-1:-1;;;;;10290:52495:43;;36522:19;36389:180;;;;:::i;36318:39::-;;;;;36131:105;;;;;35898:33;36131:105;35898:33;36131:105;;;;;;;:::i;:::-;;;;;1662:232:13;;;;-1:-1:-1;;;;;1662:232:13;10404:1148;;;;10365:28;-1:-1:-1;10404:1148:13;;;;;;;;;;-1:-1:-1;10404:1148:13;;;;;;1809:4;-1:-1:-1;10404:1148:13;;;;;;;1662:232;10404:1148;;;;;-1:-1:-1;10404:1148:13;;1766:48;;1762:126;;1662:232;:::o;1762:126::-;-1:-1:-1;;;;1837:40:13;-1:-1:-1;;;;;10290:52495:43;8209:66:41;10290:52495:43;;;8844:38:41;10404:1148:13;1809:4;10404:1148;;;;;;;;;;;;;;;;;;-1:-1:-1;10404:1148:13;;;;;3377:213:14;;;;-1:-1:-1;;;;;10290:52495:43;;3455:16:14;;;3451:88;;3429:42:44;3407:6;;3429:42;3407:6;;3469:1:14;3407:6:44;;;:::i;4618:217:14:-;;;-1:-1:-1;;;;;10290:52495:43;;4698:18:14;;;4694:88;;3429:42:44;3407:6;;3429:42;3407:6;;4714:1:14;3407:6:44;;;:::i;1219:204:13:-;;-1:-1:-1;;;;;8544:1067:13;;;8509:24;-1:-1:-1;8544:1067:13;;;;;;;-1:-1:-1;8544:1067:13;;;;;;1338:4;-1:-1:-1;8544:1067:13;;;;;;;1219:204;8544:1067;;;;;1305:38;;10290:52495:43;8544:1067:13;1338:4;8544:1067;;;;;;;;;;;;;;;1339:506:15;1424:21;;:30;1420:125;;-1:-1:-1;10290:52495:43;;;;;;;;;;:::i;:::-;;;;;;;919:128:19;;-1:-1:-1;;;;;10290:52495:43;919:128:19;;1558:48:15;;;1668:7::o;1554:285::-;4560:73:19;1695:33:15;;1691:148;4560:73:19;1744:12:15;4560:73:19;1809:19:15;10290:52495:43;1809:19:15;;10290:52495:43;1809:19:15;1420:125;1504:21;;1477:57;;;;10290:52495:43;;;;1477:57:15;;10290:52495:43;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;-1:-1:-1;;;;;10290:52495:43;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;:::o;:::-;;;;;;;;;;;:::i;:::-;;;;;;;;;;:::i;:::-;;;;;;;;:::i;:::-;;;;-1:-1:-1;10290:52495:43;;;;:::o;:::-;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;:::i;:::-;;;;;;;;;;;;;-1:-1:-1;10290:52495:43;;;;;;;;;;;;;;:::o;5017:176:27:-;4037:249:28;5017:176:27;5153:20;;:::i;:::-;4037:249:28;;;;;;;;;;;;;;;;5017:176:27;:::o;3290:882:26:-;;3490:2;3470:22;;3490:2;;4016:25;3769:227;;;;;;;;;;;;;-1:-1:-1;3769:227:26;4016:25;;:::i;:::-;4009:32;;;;;:::o;3466:700::-;4072:83;;4088:1;4072:83;4092:35;4072:83;;:::o;3900:1042:29:-;;4182:754;3900:1042;4182:754;3900:1042;4182:754;3900:1042;4182:754;;;-1:-1:-1;;;4182:754:29;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;4182:754:29;;;;;;;;3900:1042;:::o;8803:867:44:-;8977:16;;8973:29;;6928:20;94:42:39;6928:20:44;:::i;:::-;7004:53;10290:52495:43;;;;;;;8992:1:44;10290:52495:43;;;;;;;;;;;;;9654:8:44;9229:13;;;;:30;;;8803:867;9225:402;;;7690:75;9354:27;;7690:75;;9354:27;:::i;:::-;;:::i;:::-;94:42:39;9654:8:44;:::i;9225:402::-;9463:30;;;9225:402;9459:168;9225:402;9459:168;9588:27;7690:75;;9588:27;:::i;:::-;8029:74;;9225:402;;9463:30;9480:13;;;;9463:30;;9229;9246:13;;;9229:30;;8973:29;8995:7;:::o;8803:867::-;;8977:16;;8973:29;;6928:20;;;:::i;:::-;7004:53;10290:52495:43;;;;;;;8992:1:44;10290:52495:43;;;;;;;;;;;;;9654:8:44;9229:13;;;;:30;;;8803:867;9225:402;;;7690:75;9354:27;7690:75;;9354:27;:::i;:::-;8029:74;;9654:8;:::i;9225:402::-;9463:30;;;9225:402;9459:168;9654:8;9459:168;9588:27;7690:75;;9588:27;:::i;9463:30::-;9480:13;;;;9463:30;;9229;9246:13;;;9229:30;;41413:520:43;;;;41564:13;41560:75;;41648:22;;41644:88;;41745:17;;:53;;;;41413:520;41741:186;;41413:520;;:::o;41741:186::-;41821:95;41576:1;41821:95;;10290:52495;;;;41576:1;41821:95;41745:53;41766:32;;;;41745:53;;41644:88;41693:28;41576:1;41693:28;;41576:1;41693:28;41560:75;41600:24;41576:1;41600:24;;41576:1;41600:24;42027:316;-1:-1:-1;;;;;10290:52495:43;42179:22;;42027:316;42179:47;;;;42027:316;42179:89;;;;;42162:175;;;42027:316::o;42179:89::-;-1:-1:-1;;;;;10290:52495:43;;;42246:22;42179:89;;;:47;-1:-1:-1;;;;;10290:52495:43;42205:21;;-1:-1:-1;42179:47:43;;;10290:52495;;1205:2:38;10290:52495:43;;;1149:1:38;10290:52495:43;;;;:::o;:::-;;;;;;1205:2:38;10290:52495:43;;;;;;;1205:2:38;10290:52495:43;;-1:-1:-1;;10290:52495:43;;:::o;:::-;;-1:-1:-1;;10290:52495:43;;;;;;;;;;;;:::o;:::-;-1:-1:-1;;10290:52495:43;;;;;;;;;;;;;-1:-1:-1;10290:52495:43:o;165:244:38:-;;10290:52495:43;362:2:38;10290:52495:43;;;;;;;;362:2:38;10290:52495:43;;-1:-1:-1;;10290:52495:43;;165:244:38:o;10290:52495:43:-;;;;;;;;;;;;:::i;:::-;;;;;;;;;:::i;:::-;;;;;;;;;:::i;:::-;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;-1:-1:-1;;;;;10290:52495:43;;;;;;;;;;;;;;;;:::i;:::-;;;;;;:::o;3884:3589:41:-;;;;;;4141:8;;;:::i;:::-;4161:242;;;38589:4:43;4161:242:41;;38253:28:43;4161:242:41;;;;;10290:52495:43;;4659:41:41;-1:-1:-1;;;4659:41:41;;;;;;;;;;;;:::i;:::-;;10290:52495:43;-1:-1:-1;;;;;10290:52495:43;;4659:41:41;;;;;;;38253:28:43;;;;;;;;;4659:41:41;;;3884:3589;10290:52495:43;-1:-1:-1;;;;;10290:52495:43;;-1:-1:-1;;;;;10290:52495:43;;4715:19:41;4711:231;;38253:28:43;5073:72:41;;;;;;;;;;;;;5302:41;;;;5327:4;5808:101;5432:185;5327:4;38589::43;5381:31:41;5327:4;5302:41;;5381:31;:::i;:::-;5432:185;;;;;:::i;:::-;10290:52495:43;5808:101:41;10290:52495:43;;;5808:101:41;;;;;;;5848:23;5808:101;;;;;;:::i;:::-;5773:146;;;;;;6356:30;5773:146;;:::i;:::-;5999:256;38253:28:43;4161:242:41;5999:256;38253:28:43;4161:242:41;5999:256;38253:28:43;4161:242:41;5999:256;38253:28:43;4161:242:41;5999:256;38253:28:43;5073:72:41;5999:256;10290:52495:43;;;:::i;:::-;6340:46:41;6336:129;;5302:41;6479:8;;;6475:432;;6944:31;;;;6997:36;6944:31;;;:::i;:::-;6997:36;:::i;:::-;7120:43;;;;5302:41;7116:129;;5302:41;7332:4;;-1:-1:-1;;;;;10290:52495:43;7332:4:41;7312:25;7308:159;;3884:3589;;:::o;7308:159::-;7438:17;;;:::i;7116:129::-;7191:43;;;;;;:::i;:::-;7116:129;;;7120:43;7158:4;;-1:-1:-1;;;;;10290:52495:43;;7138:25:41;;7120:43;;6475:432;10290:52495:43;;6567:18:41;6563:98;;6816:81;5808:101;6816:81;;;;;6563:98;6612:34;38253:28:43;6612:34:41;-1:-1:-1;;;;;10290:52495:43;8209:66:41;10290:52495:43;;;8844:38:41;6336:129;6437:16;;;:::i;:::-;6336:129;;;;5302:41;5432:185;5302:41;38589:4:43;5381:31:41;5808:101;5302:41;;;5381:31;:::i;4711:231::-;-1:-1:-1;;;38253:28:43;4885:46:41;-1:-1:-1;;;;;10290:52495:43;;8209:66:41;10290:52495:43;;;8844:38:41;4659:41;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;:::i;:::-;;;;;;;;;;;;;;;3884:3589;;;;;;;;;4141:8;;;:::i;:::-;4161:242;;;;;;50051:1:43;4161:242:41;;;;;10290:52495:43;;4659:41:41;-1:-1:-1;;;4659:41:41;;;;;;;;;;;;:::i;:::-;;10290:52495:43;-1:-1:-1;;;;;10290:52495:43;;4659:41:41;;;;;;;50051:1:43;;;;;;;;;4659:41:41;;;3884:3589;10290:52495:43;-1:-1:-1;;;;;10290:52495:43;;-1:-1:-1;;;;;10290:52495:43;;4715:19:41;4711:231;;5073:72;;50051:1:43;5073:72:41;5808:101;5432:185;5073:72;;;;;;;;;;;;;;;5302:41;;;;5327:4;5381:31;5327:4;5302:41;;5381:31;:::i;5302:41::-;5381:31;5302:41;;;5381:31;:::i;4711:231::-;-1:-1:-1;;;50051:1:43;4885:46:41;-1:-1:-1;;;;;10290:52495:43;;8209:66:41;10290:52495:43;;;8844:38:41;4659:41;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;3884:3589;;;;;;;;;4141:8;;;:::i;:::-;4161:242;;;;;;48265:1:43;4161:242:41;;;;;10290:52495:43;;4659:41:41;-1:-1:-1;;;4659:41:41;;;;;;;;;;;;:::i;:::-;;10290:52495:43;-1:-1:-1;;;;;10290:52495:43;;4659:41:41;;;;;;;-1:-1:-1;;;;;;;;;4659:41:41;;;3884:3589;10290:52495:43;-1:-1:-1;;;;;10290:52495:43;;-1:-1:-1;;;;;10290:52495:43;;4715:19:41;4711:231;;5073:72;;-1:-1:-1;5073:72:41;5808:101;5432:185;5073:72;;;;;;;;;;;48265:1:43;5073:72:41;;;5302:41;;;;5327:4;5381:31;5327:4;5302:41;;5381:31;:::i;4659:41::-;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;42848:825:43;;;;;;;43110:85;;;54751:43;:30;10290:52495;54766:14;10290:52495;-1:-1:-1;;;;;10290:52495:43;;;54751:43;10290:52495;;;94:42:39;54751:53:43;;10290:52495;;54751:53;;;10290:52495;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;10290:52495:43;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;10290:52495:43;;;;;;54751:53;;;;;;;-1:-1:-1;54751:53:43;;;43110:85;10290:52495;;;54870:21;-1:-1:-1;54906:13:43;-1:-1:-1;54901:97:43;54938:3;10290:52495;;54921:15;;;;;54957:30;10290:52495;54970:7;:17;:7;;;;:::i;:::-;;:17;10290:52495;54957:30;;:::i;:::-;54938:3;10290:52495;54906:13;;;54921:15;;;;;;;;;;10290:52495;;55011:36;;;;55007:170;;55192:13;;-1:-1:-1;55224:3:43;10290:52495;;55207:15;;;;;54970:17;55247:7;;;;:::i;:::-;;:17;10290:52495;55243:767;;55224:3;10290:52495;;55192:13;;55243:767;55743:17;55956:39;10290:52495;55743:17;55903;55743;;54970;55903:7;10290:52495;55865:17;:7;55743:17;;;;10290:52495;55762:26;10290:52495;;;-1:-1:-1;;;;;10290:52495:43;;;;55762:26;55770:7;;;;;:::i;:::-;;:17;10290:52495;55762:26;:::i;:::-;;;:::i;:::-;55865:7;:::i;:::-;;10290:52495;-1:-1:-1;;;;;10290:52495:43;;;55865:17;10290:52495;;-1:-1:-1;;;;;10290:52495:43;;;;55903:7;;;:::i;:::-;;:17;10290:52495;55903:17;;:::i;:::-;54970;55978:7;;;;:::i;:::-;;:17;10290:52495;55956:39;;:::i;:::-;55243:767;;;;;55207:15;;;;;43471:195;55207:15;;;43227:212;55207:15;10290:52495;;56029:85;;55187:833;43110:85;;43361:17;;;;10290:52495;;;;-1:-1:-1;;;;;10290:52495:43;;;;43414:15;;10290:52495;43414:15;;;10290:52495;-1:-1:-1;;;;;10290:52495:43;;;;43227:212;;:::i;:::-;43556:17;10290:52495;;43587:16;43556:17;;;10290:52495;43587:16;;10290:52495;-1:-1:-1;;;;;10290:52495:43;;;;;;-1:-1:-1;;;;;10290:52495:43;;;;43471:195;;:::i;56029:85::-;56069:34;;-1:-1:-1;;;;;10290:52495:43;56079:17;;;10290:52495;-1:-1:-1;;;;;10290:52495:43;;;;;;;;56069:34;;;;;:::i;:::-;;;;56029:85;;;55007:170;55070:96;-1:-1:-1;55070:96:43;61284:94;10290:52495;;;;;8844:38:41;54751:53:43;;;;;;;-1:-1:-1;54751:53:43;;;;;;:::i;:::-;;;;;:::i;:::-;;;;;43110:85;10290:52495;43227:212;43471:195;10290:52495;;;;;43110:85;;49732:1403;;;;-1:-1:-1;;1448:311:40;;;;;;;;;;49985:38:43;;-1:-1:-1;7948:17:14;;;94:42:39;;;;;;50034:1095:43;50054:13;;;;;;49732:1403;;;;;;;:::o;50069:3::-;50160:21;;;;;;;;;;;:::i;:::-;50262:34;50128:53;;;;;;;50262:34;;:::i;:::-;50311:16;;94:42:39;;1448:311:40;;50907:211:43;;50360:18;;;;;;;50428:24;;;50394:480;;51034:6;50907:211;;:::i;:::-;50069:3;10290:52495;50039:13;;;;;;;;50394:480;50605:21;50722:31;50605:21;50802:57;50605:21;;:::i;:::-;50722:31;;;;:::i;:::-;50802:57;;:::i;:::-;50394:480;;;1448:311:40;;;;;;;;;;;;;;;;10290:52495:43;;;;;;;;;;;;;;;;:::o;47113:2158::-;;;;;;;47313:18;;47309:81;;47436:22;;;:::i;:::-;47495;;;;:::i;:::-;47527:31;;47330:1;47568:21;;;;;:::i;:::-;10290:52495;47599:30;;;:::i;:::-;10290:52495;47647:13;;;49209:55;;;;;;;;;;47113:2158;:::o;49209:55::-;49244:20;49252:11;;;;;:::i;:::-;49244:20;;:::i;:::-;10290:52495;47113:2158;:::o;47640:1423::-;47738:13;;47965:26;47738:13;;10290:52495;48452:209;47738:13;;;;;;:::i;:::-;47717:34;;;;;;47965:26;;:::i;:::-;10290:52495;;;;;;;;;;48032:119;:9;;;:119;10290:52495;;;;48060:42;10290:52495;48061:21;:29;10290:52495;;;;48061:21;;:::i;:::-;10290:52495;48061:29;:::i;:::-;10290:52495;;;;;48060:42;48032:119;;10290:52495;48255:11;48197:4;48255:11;;:::i;:::-;10290:52495;;48238:28;;;:43;;;48032:119;48237:103;;;;48032:119;48216:195;;48032:119;10290:52495;;48578:17;;;;48452:209;;:::i;:::-;48752:18;;10290:52495;;48790:39;;;;;;;;;;;;;;;:::i;:::-;48748:177;48938:51;49003:49;48748:177;48938:51;49003:49;48748:177;48938:51;48748:177;48938:51;:::i;:::-;10290:52495;48938:51;:::i;:::-;;;;:::i;:::-;10290:52495;49003:49;;;;:::i;:::-;10290:52495;49003:49;:::i;:::-;;;;:::i;:::-;10290:52495;47640:1423;;48748:177;48868:42;;;;;;49003:49;48868:42;;48938:51;;48868:42;;;;;;;;;;49003:49;48868:42;;;48938:51;48868:42;;:::i;:::-;;;:::i;:::-;10290:52495;48938:51;:::i;48216:195::-;48373:23;;-1:-1:-1;48216:195:43;;48237:103;48307:32;;;;48237:103;48307:32;48321:18;;;48237:103;;48238:43;48270:11;;;48238:43;;48032:119;48121:30;;-1:-1:-1;10290:52495:43;;;;-1:-1:-1;48121:30:43;:::i;:::-;10290:52495;48032:119;;;3376:267:23;1390:66;3499:46;;1390:66;;3568:15;;;:::i;3495:142::-;10290:52495:43;;;-1:-1:-1;6210:13:27;1390:66:23;;;;;;;;;;;;3495:142;1390:66;;;;;;;10290:52495:43;;;1390:66:23;;10290:52495:43;;;1390:66:23;;;;;;;;;;;;;;;;;;;:::i;:::-;6210:13:27;1390:66:23;;;;;-1:-1:-1;1390:66:23;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;1390:66:23;;;;;;;;;;-1:-1:-1;;1390:66:23;;;-1:-1:-1;1390:66:23;;;;;;;;-1:-1:-1;1390:66:23;;;;-1:-1:-1;;;;1390:66:23;;;;;-1:-1:-1;1390:66:23;;;;;;;;3376:267;1390:66;3499:46;;1390:66;;3568:15;;;:::i;3495:142::-;10290:52495:43;;;-1:-1:-1;6668:16:27;1390:66:23;;;;;;;;;;;;3495:142;1390:66;;;;;;;10290:52495:43;;;1390:66:23;;10290:52495:43;;;1390:66:23;;;;;;;;;;;;;;;;;;:::i;:::-;6668:16:27;1390:66:23;;;;;-1:-1:-1;1390:66:23;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;1390:66:23;;;;;;;;;;;;;;;;10225:484:41;-1:-1:-1;;;;;10290:52495:43;;-1:-1:-1;10290:52495:43;10323:28:41;10290:52495:43;;;-1:-1:-1;10290:52495:43;;10432:24:41;;10428:102;;10590:15;:37;10586:117;;10225:484;:::o;10586:117::-;10650:42;-1:-1:-1;10650:42:41;;10290:52495:43;;-1:-1:-1;10650:42:41;10428:102;10479:40;;-1:-1:-1;10479:40:41;;10290:52495:43;;-1:-1:-1;10479:40:41;10290:52495:43;;;;;;;;;:::o;5084:3374:42:-;;;;;;10290:52495:43;;;:::i;:::-;5539:17:42;5523:33;;5519:77;;10290:52495:43;;;:::i;:::-;8448:4:41;5680:53:42;;5676:315;;6162:67;;;;;6267:24;;5084:3374;10290:52495:43;;;;:::i;:::-;6388:30:42;6372:46;;6368:608;;10290:52495:43;;;:::i;:::-;6990:37:42;6986:1410;;-1:-1:-1;;;10290:52495:43;8413:38:42;;10290:52495:43;8413:38:42;6986:1410;7618:12;:28;;;;6986:1410;7618:43;;;;6986:1410;7675:84;;7773:586;;;7913:44;;;:::i;7773:586::-;8305:39;8262:15;;;;;:::i;:::-;;;:::i;:::-;8305:39;:::i;7675:84::-;7731:13;;;;;:::o;7618:43::-;;10290:52495:43;7618:43:42;;:28;7634:12;;;7618:28;;;6368:608;-1:-1:-1;6434:505:42;;;;-1:-1:-1;;6434:505:42;;;6616:4;6581:49;6684:6;6616:4;;6581:49;;:::i;:::-;6684:6;;;;:::i;6434:505::-;6847:15;;6917:6;6847:15;;;;;:::i;:::-;6917:6;:::i;6267:24::-;6282:9;;-1:-1:-1;6267:24:42;;;5676:315;5937:15;;;;;;;;;;:::i;5519:77::-;5572:13;;;;;;;:::o;5084:3374::-;;;;;;10290:52495:43;;;:::i;:::-;5539:17:42;5523:33;;5519:77;;10290:52495:43;;;:::i;:::-;5696:37:42;5680:53;;5676:315;;6162:67;;;;;6267:24;;5084:3374;10290:52495:43;;;;:::i;:::-;6388:30:42;6372:46;;6368:608;;10290:52495:43;;;:::i;:::-;6990:37:42;6986:1410;;-1:-1:-1;;;;8413:38:42;;-1:-1:-1;8413:38:42;6986:1410;7618:12;:28;;;;6986:1410;7618:43;;;;7675:84;;7773:586;;;7913:44;;;:::i;7618:43::-;;5696:37;7618:43;;:28;7634:12;;;7618:28;;;6267:24;6282:9;;-1:-1:-1;6267:24:42;;;9205:224;-1:-1:-1;;;;;10290:52495:43;;;;94:42:39;9307:47:42;;9339:4;9307:47;;;10290:52495:43;-1:-1:-1;;;;;10290:52495:43;;;;;;;9307:47:42;;;;;;;;;;;-1:-1:-1;9307:47:42;;;9205:224;9307:51;9303:120;;9205:224;;:::o;9303:120::-;5190:42:13;-1:-1:-1;5190:42:13;;;:::i;:::-;5189:43;5185:274;;9205:224:42;;:::o;5185:274:13:-;5253:37;;;;:::i;:::-;5252:38;5248:91;;-1:-1:-1;5358:41:13;;;;:::i;:::-;5357:42;5353:95;;51985:18:43;2422:76:3:o;5353:95:13:-;-1:-1:-1;;;;;5408:40:13;-1:-1:-1;;;;5408:40:13;10290:52495:43;5408:40:13;10290:52495:43;;-1:-1:-1;5408:40:13;5248:91;-1:-1:-1;;;;;5299:40:13;-1:-1:-1;;;;5299:40:13;10290:52495:43;5299:40:13;10290:52495:43;;-1:-1:-1;5299:40:13;9307:47:42;;;;10290:52495:43;9307:47:42;10290:52495:43;9307:47:42;;;;;;;:::i;:::-;;;;2298:761:44;-1:-1:-1;;;;;10290:52495:43;;2450:18:44;2446:445;;2298:761;10290:52495:43;;-1:-1:-1;;;;;10290:52495:43;;2900:79:44;;2298:761;;;:::o;2900:79::-;2936:32;:18;;:22;:18;-1:-1:-1;;;;;10290:52495:43;;;2158:14:44;10290:52495:43;;;;;;;2936:22:44;10290:52495:43;;;2936:32:44;:::i;:::-;2407:1:22;;2298:761:44:o;2446:445::-;2466:1;10290:52495:43;2506:14:44;10290:52495:43;;;2466:1:44;10290:52495:43;;-1:-1:-1;10290:52495:43;;;;-1:-1:-1;10290:52495:43;;2548:20:44;;;2544:169;;10290:52495:43;2819:20:44;10290:52495:43;2819:24:44;10290:52495:43;;2819:20:44;-1:-1:-1;;;;;10290:52495:43;;;2158:14:44;10290:52495:43;;;;;;;2819:24:44;2407:1:22;2446:445:44;;;;2544:169;10290:52495:43;;2595:103:44;;;-1:-1:-1;;;;;10290:52495:43;;;;2595:103:44;;;10290:52495:43;;;;;;;;;;;;;;;;;;;5771:92:44;3945:262:27;-1:-1:-1;;;;;4038:11:27;10290:52495:43;4029:4:27;4021:28;:63;;;3945:262;4017:184;;;4107:22;4100:29;:::o;4017:184::-;10290:52495:43;;4304:80:27;;;10290:52495:43;2079:95:27;10290:52495:43;;4326:11:27;10290:52495:43;2079:95:27;;10290:52495:43;4339:14:27;2079:95;;;10290:52495:43;4355:13:27;2079:95;;;10290:52495:43;4029:4:27;2079:95;;;10290:52495:43;2079:95:27;4304:80;;;;;;:::i;:::-;10290:52495:43;4294:91:27;;4160:30;:::o;4021:63::-;4070:14;;4053:13;:31;4021:63;;7129:1551:26;;;8209:66;8196:79;;8192:164;;10290:52495:43;;;;;;-1:-1:-1;10290:52495:43;;;;;;;;;;;;;;;;;;;8467:24:26;;;;;;;;;-1:-1:-1;8467:24:26;-1:-1:-1;;;;;10290:52495:43;;8505:20:26;8501:113;;8624:49;-1:-1:-1;8624:49:26;-1:-1:-1;7129:1551:26;:::o;8501:113::-;8541:62;-1:-1:-1;8541:62:26;8467:24;8541:62;-1:-1:-1;8541:62:26;:::o;8192:164::-;8291:54;;;8307:1;8291:54;8311:30;8291:54;;:::o;7918:191:44:-;44118:1:43;8029:74:44;;7918:191::o;:::-;8029:74;;7918:191::o;7199:216::-;7281:20;44118:1:43;7199:216:44;7281:20;:::i;:::-;7357:52;7199:216::o;:::-;7281:20;7199:216;7281:20;:::i;11676:295:42:-;-1:-1:-1;;;;;10290:52495:43;94:42:39;11863:20:42;;94:42:39;;11902:13:42;;11676:295;:::o;11863:101::-;10290:52495:43;-1:-1:-1;;;;;11934:30:42;10290:52495:43;;;;11934:30:42;;;;;-1:-1:-1;;;11934:30:42;;10290:52495:43;11934:30:42;;;10290:52495:43;11934:30:42;;;;;;;-1:-1:-1;11934:30:42;;;11863:101;11676:295;:::o;11934:30::-;;;;10290:52495:43;11934:30:42;10290:52495:43;11934:30:42;;;;;;;:::i;12347:440::-;;12714:21;12347:440;12493:21;;;;:::i;:::-;10290:52495:43;-1:-1:-1;;;;;10290:52495:43;;;12528:20:42;94:42:39;12528:20:42;;94:42:39;;12595:6:42;10290:52495:43;;-1:-1:-1;;;;;10290:52495:43;12595:6:42;:::i;:::-;12714:21;:::i;:::-;94:42:39;;;;;;;;12347:440:42;:::o;12524:158::-;12664:6;;;:::i;10290:52495:43:-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;;:::i;:::-;;;;;;:::i;:::-;;;;;;94:42:39;10290:52495:43;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;:::-;;;;;-1:-1:-1;;;;;10290:52495:43;;;;;;;;;;;;;;;;;;;;;;;;;57434:2265;;;;;;57697:24;;;;;;57784;;;;:::i;:::-;57826:44;;;57822:144;;58057:20;;;;;:::i;:::-;6928::44;;;:::i;:::-;7004:53;10290:52495:43;58150:15;;10290:52495;;;58470:28;;;;;;;:::i;58146:1453::-;58588:16;;;-1:-1:-1;;;;;;10290:52495:43;;;58648:4;58628:25;;58648:4;;58690:10;;;;58712:20;58690:10;;58712:20;:::i;58624:795::-;10290:52495;;;-1:-1:-1;;;;;10290:52495:43;94:42:39;58762:23:43;;58758:661;94:42:39;;;58846:20:43;;;;;;;:::i;58758:661::-;10290:52495;;-1:-1:-1;;;59070:36:43;;-1:-1:-1;;;;;10290:52495:43;;59070:36;;;10290:52495;;-1:-1:-1;10290:52495:43;;;;-1:-1:-1;59070:36:43;10290:52495;;;;59070:36;;;;;;;10290:52495;59070:36;;;58758:661;59193:20;;;;59289:36;59193:20;;59070:36;59193:20;;:::i;:::-;10290:52495;;59289:36;;;;;-1:-1:-1;;;59289:36:43;;59070;59289;;10290:52495;;;-1:-1:-1;;;;;10290:52495:43;;;;;;;;59289:36;;;;;;;;;;59370:30;59289:36;:52;:36;10290:52495;59289:36;;;:52;;:::i;:::-;59370:30;;:::i;59070:36::-;59289;59070;;;;;59193:20;59070:36;;;;;;;;;;;;;:::i;:::-;;;;;;;;;58584:1015;59539:45;10290:52495;59539:45;12903:43:44;10290:52495:43;;;8844:38:41;57822:144:43;-1:-1:-1;;;10290:52495:43;57897:54;61284:94;10290:52495;;;;;;;;;8844:38:41;57693:2000:43;59664:18;;;;;;57693:2000;57434:2265::o;43824:1110::-;;;;;;44118:1;6928:20:44;;;:::i;:::-;7004:53;44104:15:43;44100:541;;43824:1110;-1:-1:-1;;7690:75:44;;;8398:67;;8493:1;8481:13;11938:14;;12160:1;12145:16;;12160:1;;;-1:-1:-1;;;44118:1:43;12188:43:44;12903;10290:52495:43;;;;;8844:38:41;12141:613:44;12256:17;;;;12160:1;12256:17;12252:502;;12141:613;;;11963:1008;44789:24:43;;;44785:116;;44911:16;43824:1110;:::o;44785:116::-;-1:-1:-1;;;44118:1:43;44836:54;61284:94;10290:52495;;;;;;;;8844:38:41;12252:502:44;6928:20;;;:::i;:::-;7004:53;12420:15;;:53;;;;12252:502;12416:146;;10290:52495:43;;12643:11:44;12673:24;10290:52495:43;-1:-1:-1;;;;;10290:52495:43;;44669:10;12643:11:44;:::i;:::-;12673:24;:::i;:::-;12715;;:::i;:::-;12252:502;;;;12416:146;12504:39;44118:1:43;12504:39:44;12903:43;10290:52495:43;;;8844:38:41;12420:53:44;12453:20;;;;:::i;:::-;12439:34;;;12420:53;;11963:1008;12860:16;;;;;12856:105;;11963:1008;;;12856:105;-1:-1:-1;;;44118:1:43;12903:43:44;;10290:52495:43;;;8844:38:41;44100:541:43;44168:18;;;;:::i;:::-;;;:::i;:::-;-1:-1:-1;;;;;10290:52495:43;;44357:4;44337:25;44357:4;;44395:10;;44417:9;44395:10;;44417:9;:::i;:::-;44100:541;;;;44333:298;44573:43;;;;;:::i;:::-;44333:298;;;639:657:40;;;765:525;;;;;;;;;;;;;;;;;;;;;;10290:52495:43;765:525:40;;;;;639:657::o;765:525::-;;;-1:-1:-1;765:525:40;;-1:-1:-1;765:525:40;;;;639:657::o;9916:303:41:-;;10166:46;9916:303;10290:52495:43;9916:303:41;10087:8;;;:::i;:::-;-1:-1:-1;;;;;10290:52495:43;;10166:46:41;;;;;;94:42:39;10166:46:41;;;;;;10290:52495:43;;;;;;:::i;:::-;10166:46:41;10290:52495:43;;10166:46:41;;;;;;;-1:-1:-1;10166:46:41;;;10155:57;9916:303;:::o;10166:46::-;;;;;;;;;;;;;;;;;:::i;:::-;;;10290:52495:43;;;;;;;;:::i;10166:46:41:-;;;-1:-1:-1;10166:46:41;;832:420:38;;;10290:52495:43;;;;1062:7:38;;10290:52495:43;;;;1107:1:38;10290:52495:43;;;;1107:1:38;10290:52495:43;;1102:7:38;10290:52495:43;;1142:9:38;10290:52495:43;1149:1:38;10290:52495:43;;;1236:9:38;1147:1;10290:52495:43;;;;;1198:10:38;;1174:37;1182:28;1190:19;1198:10;;;;:::i;:::-;1190:19;;:::i;:::-;10290:52495:43;;;;1174:37:38;1236:9;;:::i;2080:380:23:-;2665:4;2629:40;;2683:13;2692:4;2683:13;;2679:71;;10290:52495:43;;;;;;;:::i;:::-;2313:4:23;10290:52495:43;;;;;;;;;;;2328:106:23;;;2080:380;:::o;2679:71::-;2719:20;-1:-1:-1;2719:20:23;;-1:-1:-1;2719:20:23;8742:212:42;;;;8872:4;-1:-1:-1;;;;;10290:52495:43;;8852:25:42;8848:100;;8742:212;;;;:::o;8848:100::-;-1:-1:-1;;;;;10290:52495:43;5190:42:13;;;;;;:::i;:::-;5189:43;5185:274;;8742:212:42;;;:::o;5185:274:13:-;5253:37;;;;:::i;:::-;5252:38;5248:91;;5358:41;;;;;:::i;:::-;5357:42;5353:95;;8742:212:42;:::o;5353:95:13:-;-1:-1:-1;;;5226:5:13;5408:40;;10290:52495:43;;5226:5:13;5408:40;5248:91;5299:40;-1:-1:-1;;;5226:5:13;5299:40;;10290:52495:43;;5226:5:13;5299:40;9844:1710:42;10287:220;;;;;;9844:1710;10287:220;;;;10521:22;;;10517:159;;-1:-1:-1;;;;;10290:52495:43;;;-1:-1:-1;;;;;10290:52495:43;;10689:23:42;;10685:117;;10850:23;;;;;:::i;:::-;10287:220;10883:76;10993:27;;;;:::i;:::-;11069:374;;;;11221:7;-1:-1:-1;;;;;11221:7:42;10290:52495:43;11221:62:42;;;;;;10290:52495:43;;94:42:39;11221:62:42;;-1:-1:-1;;;;;10290:52495:43;;;11221:62:42;;;10290:52495:43;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;10290:52495:43;;;;;;-1:-1:-1;;11221:62:42;;;;;;;11519:28;11221:62;11475:27;11221:62;;;11069:374;;11475:27;:::i;11221:62::-;;;-1:-1:-1;11221:62:42;;;:::i;:::-;;;;11069:374;11475:27;11425:6;;;11519:28;11425:6;;;;:::i;10685:117::-;10735:56;-1:-1:-1;10735:56:42;-1:-1:-1;;;;;10290:52495:43;;;10735:56:42;10290:52495:43;;;;;;8844:38:41;10517:159:42;10566:99;-1:-1:-1;10566:99:42;61284:94:43;10290:52495;;;;;;;8844:38:41;6407:182:44;10290:52495:43;;6516:43:44;;;10290:52495:43;;;;;;;;;;;;;;6516:43:44;;;;;;;:::i;11095:289::-;11276:11;;11272:24;;-1:-1:-1;;;;;10290:52495:43;;3762:16:44;3758:88;;2936:18;-1:-1:-1;;;;;2936:18:44;-1:-1:-1;;;;;10290:52495:43;;;2158:14:44;10290:52495:43;;;;;;;2936:18:44;:22;10290:52495:43;-1:-1:-1;10290:52495:43;;;;-1:-1:-1;10290:52495:43;;;2936:32:44;10290:52495:43;;;;;;;2407:1:22;11095:289:44:o;9912:435::-;;;;;10085:11;;10081:24;;-1:-1:-1;;;;;10290:52495:43;;;-1:-1:-1;;;;;10290:52495:43;;10095:1:44;10290:52495:43;2158:14:44;10290:52495:43;;;10095:1:44;10290:52495:43;;10095:1:44;10290:52495:43;;;;10095:1:44;10290:52495:43;;10202:16:44;;;10198:110;;10333:6;;;;;;:::i;10198:110::-;10290:52495:43;;-1:-1:-1;;;10241:56:44;;-1:-1:-1;;;;;10290:52495:43;;;10241:56:44;;;10290:52495:43;;;;;;;;;;;;;;;;;;;;5771:92:44;10081:24;10098:7;;;;:::o;10540:270::-;;;;10714:11;;10710:24;;-1:-1:-1;;;;;10796:6:44;10290:52495:43;;10796:6:44;;:::i;12059:1252:13:-;;;-1:-1:-1;;;;;12233:1072:13;;;-1:-1:-1;;;5226:5:13;12233:1072;;;;;;;5226:5;12233:1072;;;;;;;;5226:5;12233:1072;;;;;;;12059:1252;12233:1072;;;12059:1252::o;12233:1072::-;;;;;;;;;;;;5226:5;12233:1072;;12059:1252;;;-1:-1:-1;;;;;12233:1072:13;;;-1:-1:-1;;;5226:5:13;12233:1072;;;;5226:5;12233:1072;;;5226:5;12233:1072;;;;;;;5285:4;5226:5;12233:1072;;;;;;;;;;12059:1252::o;12233:1072::-;5285:4;12233:1072;;;;;;;;;;;;;;;;;;;;;5226:5;12233:1072;;;;;12059:1252;;;-1:-1:-1;;;;;12233:1072:13;;;-1:-1:-1;;;12233:1072:13;;;;;;;;;;;;;;;;5285:4;12233:1072;;;;;;;;;;;12059:1252::o","linkReferences":{},"immutableReferences":{"5985":[{"start":18943,"length":32}],"5987":[{"start":19132,"length":32}],"5989":[{"start":18896,"length":32}],"5991":[{"start":19022,"length":32}],"5993":[{"start":19060,"length":32}],"5996":[{"start":5100,"length":32}],"5999":[{"start":5141,"length":32}],"11312":[{"start":1558,"length":32},{"start":4358,"length":32},{"start":6177,"length":32},{"start":8268,"length":32},{"start":21477,"length":32}]}}}}}}},"signatures":{"function":[{"signature":"activateFeeCalculator()","signatureHash4":"0x6aad9838","signatureHash32":"0x6aad98384b725f3103f9739fd825c853652086e0135963895f4ebe53b9fd05e1"},{"signature":"allowance(address,address,uint256)","signatureHash4":"0x598af9e7","signatureHash32":"0x598af9e790663e2ec4a910f5dc1004d5ec88d554e4f7184c3ed634ba7b371805"},{"signature":"approve(address,uint256,uint256)","signatureHash4":"0x426a8493","signatureHash32":"0x426a84935784c86892dc96a3146f2fd6c33e2458fd4351b418ad4b7ed492e93a"},{"signature":"balanceOf(address,uint256)","signatureHash4":"0x00fdd58e","signatureHash32":"0x00fdd58ea0325fd79f486f8008ad3fad17dcb1cd2ee8474215c114771d87863e"},{"signature":"CLIENT_FEE_TYPEHASH()","signatureHash4":"0x4e66ab20","signatureHash32":"0x4e66ab2053f304b0b679f6b51e061ae15c136323c98e98c69fd1e288b16ed7a3"},{"signature":"DEFAULT_ADMIN_ROLE()","signatureHash4":"0xa217fddf","signatureHash32":"0xa217fddfde7807bb766525e432eeeecaaf4de889a05e8df9fb827257fb978cf4"},{"signature":"DELAY_EXECUTOR_ACTIVATION()","signatureHash4":"0xf78800f9","signatureHash32":"0xf78800f94cc201a6c8fb6bada63842305c07ac707e42cd3dfe1ac098ce5c42fe"},{"signature":"DELAY_FEE_CALCULATOR_ACTIVATION()","signatureHash4":"0x21bd166a","signatureHash32":"0x21bd166a7b2c042d177a919db5e639d9686ef63be5c6629a78f2dd0841b252da"},{"signature":"deposit(address,uint256)","signatureHash4":"0x47e7ef24","signatureHash32":"0x47e7ef24b3022e382e65b1298581281f0ae273ac4f76464efcf5b06769264f2f"},{"signature":"eip712Domain()","signatureHash4":"0x84b0196e","signatureHash32":"0x84b0196e4b78e1918928c3b71e1f57a2bfc6d4a368fe07990ccc1367172719fb"},{"signature":"executorsActivationTimestamp(address)","signatureHash4":"0xb131b934","signatureHash32":"0xb131b93424874f458ba2c73b10963bd7fb86e3cc535e0748a10c14ba33428b78"},{"signature":"EXECUTOR_SETTER_ROLE()","signatureHash4":"0x4e573d09","signatureHash32":"0x4e573d095c4cd68c673e6bb62931861a27683b481ca92b8726cf1f2d0a3f9244"},{"signature":"getFeeCalculator()","signatureHash4":"0x46f177ec","signatureHash32":"0x46f177eca1d2b39eb16900102ed941051811bcd1494fc1552dac457bf8887ae4"},{"signature":"getPendingFeeCalculator()","signatureHash4":"0xf8cdfc4f","signatureHash32":"0xf8cdfc4f2eef737e0b9af6e2c839a215b449d1940bb199d4322412bccfd3b644"},{"signature":"getRoleAdmin(bytes32)","signatureHash4":"0x248a9ca3","signatureHash32":"0x248a9ca39e7e298ea3bbd193e7d36b87492efea84ff513fd03940aaa5bc0d98f"},{"signature":"grantRole(bytes32,address)","signatureHash4":"0x2f2ff15d","signatureHash32":"0x2f2ff15deca029b64bbc0874ae59c8f39be024a95aa718b4c13ca407db350be8"},{"signature":"hasRole(bytes32,address)","signatureHash4":"0x91d14854","signatureHash32":"0x91d1485424b278bc736d5d34907ed48280c7188845bc82b33370da2b4dc1194e"},{"signature":"isOperator(address,address)","signatureHash4":"0xb6363cf2","signatureHash32":"0xb6363cf22a903ddb0252d3040be13c800f50968777d79e703cc14d831ed9690c"},{"signature":"pause()","signatureHash4":"0x8456cb59","signatureHash32":"0x8456cb591a934d53f6ccc6332123a165a1f3562907bf11330d847a29ca49eb89"},{"signature":"paused()","signatureHash4":"0x5c975abb","signatureHash32":"0x5c975abbf8c4d6efa68fc896e233763eb503f2318260b7bf59b19412913788b2"},{"signature":"PAUSER_ROLE()","signatureHash4":"0xe63ab1e9","signatureHash32":"0xe63ab1e9105047561658ac3165e1299fe26595759c1b0c4013fb9a4343523ad1"},{"signature":"permit2()","signatureHash4":"0x12261ee7","signatureHash32":"0x12261ee76a5bb07fbe973e2b852670881866842c39ea966156148e7b2b39443d"},{"signature":"removeExecutor(address)","signatureHash4":"0x24788429","signatureHash32":"0x24788429072f51a727adf89e05d93aa4e3107cdfd2f34c07fbbcef370cb44dbd"},{"signature":"renounceRole(bytes32,address)","signatureHash4":"0x36568abe","signatureHash32":"0x36568abe2c7e6c1d662bad0fe1760ac72cf2f9478a86be824d68ec83895c49e9"},{"signature":"revokeRole(bytes32,address)","signatureHash4":"0xd547741f","signatureHash32":"0xd547741fd8d55981251e167708119763c372f2b41e85a1468b0a759b055a009f"},{"signature":"ROUTER_FEE_SETTER_ROLE()","signatureHash4":"0x33967285","signatureHash32":"0x339672856563839baece861744c4d694d35c064460fac3db3d15ce84f8c47449"},{"signature":"sequentialSwapPermit2(uint256,address,address,uint256,uint256,address,(uint32,address,uint256,uint256,bytes),((address,uint160,uint48,uint48),address,uint256),bytes,bytes)","signatureHash4":"0x631eecea","signatureHash32":"0x631eeceaa41cca64be1a77efc2f21aa805fa523fb100a720c60b428f6beeccbd"},{"signature":"sequentialSwap(uint256,address,address,uint256,uint256,address,(uint32,address,uint256,uint256,bytes),bytes)","signatureHash4":"0x3c226834","signatureHash32":"0x3c226834d7d6ca357c9a12310914a00beda75b3e23e1b9dd6ad40af64f5c3b49"},{"signature":"sequentialSwapUsingVault(uint256,address,address,uint256,uint256,address,(uint32,address,uint256,uint256,bytes),bytes)","signatureHash4":"0xae890e77","signatureHash32":"0xae890e7789ee20b5d1f82755336900337869c86dee8ce36afbece493df6179d0"},{"signature":"setExecutors(address[])","signatureHash4":"0x1d452e46","signatureHash32":"0x1d452e46eebb2ff62656591ebda9fd31a39e5e8cbde219bc1f314e66bbb12b50"},{"signature":"setFeeCalculator(address)","signatureHash4":"0x8c66d04f","signatureHash32":"0x8c66d04fcb04c8f272f086759eee2283630f8db34b9e172f48503703eef83760"},{"signature":"setOperator(address,bool)","signatureHash4":"0x558a7297","signatureHash32":"0x558a7297e60ce7d5583faecd6aae4a6ab582122664c6d398de0fd446fc6bd50c"},{"signature":"singleSwapPermit2(uint256,address,address,uint256,uint256,address,(uint32,address,uint256,uint256,bytes),((address,uint160,uint48,uint48),address,uint256),bytes,bytes)","signatureHash4":"0xca931073","signatureHash32":"0xca931073a44ff0ec072adcf37f01befdaac1748f08a6531c43f4b62b3c5e8dd8"},{"signature":"singleSwap(uint256,address,address,uint256,uint256,address,(uint32,address,uint256,uint256,bytes),bytes)","signatureHash4":"0x0c1a0ee7","signatureHash32":"0x0c1a0ee781fae0a3131d10dea95a612289d26ae0956d8f6a9037ae8ebae74f4e"},{"signature":"singleSwapUsingVault(uint256,address,address,uint256,uint256,address,(uint32,address,uint256,uint256,bytes),bytes)","signatureHash4":"0xef7008ea","signatureHash32":"0xef7008ea132f5a410272069a2204721a3b03f84c13473a9e2f2c872e47bbeb9e"},{"signature":"splitSwapPermit2(uint256,address,address,uint256,uint256,uint256,address,(uint32,address,uint256,uint256,bytes),((address,uint160,uint48,uint48),address,uint256),bytes,bytes)","signatureHash4":"0x9b676069","signatureHash32":"0x9b676069f13b3ad6fa0647426c0f21843134a7eaee4ab6fbd9cae64204f41488"},{"signature":"splitSwap(uint256,address,address,uint256,uint256,uint256,address,(uint32,address,uint256,uint256,bytes),bytes)","signatureHash4":"0xfe745a0f","signatureHash32":"0xfe745a0ff2a6111f310aa817e2e50c669437763331d8d3a5433c6d1a84e73dec"},{"signature":"splitSwapUsingVault(uint256,address,address,uint256,uint256,uint256,address,(uint32,address,uint256,uint256,bytes),bytes)","signatureHash4":"0x409b68bf","signatureHash32":"0x409b68bf0c442831e13917f80cd48dca810718db38107cb060dc167ac6e7c732"},{"signature":"supportsInterface(bytes4)","signatureHash4":"0x01ffc9a7","signatureHash32":"0x01ffc9a7a5cef8baa21ed3c5c0d7e23accb804b619e9333b597f47a0d84076e2"},{"signature":"transfer(address,uint256,uint256)","signatureHash4":"0x095bcdb6","signatureHash32":"0x095bcdb627e21ee89c38dc5069f89166d365b3cd89be90dff87796149e866e2f"},{"signature":"transferFrom(address,address,uint256,uint256)","signatureHash4":"0xfe99049a","signatureHash32":"0xfe99049a9a891a3a7b948d65ebb3fcf78f9e719f4934b6a4d22f78fc9c099d20"},{"signature":"unpause()","signatureHash4":"0x3f4ba83a","signatureHash32":"0x3f4ba83af89dc9793996d9e56b8abe6dc88cd97c9c2bb23027806e9c1ffd54dc"},{"signature":"UNPAUSER_ROLE()","signatureHash4":"0xfb1bb9de","signatureHash32":"0xfb1bb9deb26a3c692418358c98b278daecf3c2e17dd030303a645645e7472ab6"},{"signature":"withdraw(address,uint256)","signatureHash4":"0xf3fef3a3","signatureHash32":"0xf3fef3a3f44f9c277339b67d54f015748bd8d6b77a985b0ab6e71126b018c34a"}],"event":[{"signature":"Approval(address,address,uint256,uint256)","signatureHash4":"0xb3fd5071","signatureHash32":"0xb3fd5071835887567a0671151121894ddccc2842f1d10bedad13e0d17cace9a7"},{"signature":"EIP712DomainChanged()","signatureHash4":"0x0a6387c9","signatureHash32":"0x0a6387c9ea3628b88a633bb4f3b151770f70085117a15f9bf3787cda53f13d31"},{"signature":"ExecutorRemoved(address)","signatureHash4":"0x4a2cf608","signatureHash32":"0x4a2cf608bfb427f53279ec7f0eadf48913b9346ccefc3af138dbdec14ea0907d"},{"signature":"ExecutorSet(address,uint256)","signatureHash4":"0x8d569bcf","signatureHash32":"0x8d569bcfa0f17e03872f15644187df4676d61a9e71e934211c2781c94d0c9f37"},{"signature":"FeeCalculatorActivated(address,address)","signatureHash4":"0x153538be","signatureHash32":"0x153538becce9737e2efc6b51d64464392a325d0368e402aa8ff9f7f14e4c09e6"},{"signature":"FeeCalculatorSet(address,uint256)","signatureHash4":"0xdf65d81a","signatureHash32":"0xdf65d81a0133f384ea0402f18ad9df44c14b2105c60c85914d79b21dfd3261eb"},{"signature":"FeesTaken(address,(address,uint256)[])","signatureHash4":"0x90d361ec","signatureHash32":"0x90d361ec764fa5642d6f3c5dc38434ac048b8ece7df64dcfa2331ea2114f4480"},{"signature":"OperatorSet(address,address,bool)","signatureHash4":"0xceb576d9","signatureHash32":"0xceb576d9f15e4e200fdb5096d64d5dfd667e16def20c1eefd14256d8e3faa267"},{"signature":"Paused(address)","signatureHash4":"0x62e78cea","signatureHash32":"0x62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258"},{"signature":"RoleAdminChanged(bytes32,bytes32,bytes32)","signatureHash4":"0xbd79b86f","signatureHash32":"0xbd79b86ffe0ab8e8776151514217cd7cacd52c909f66475c3af44e129f0b00ff"},{"signature":"RoleGranted(bytes32,address,address)","signatureHash4":"0x2f878811","signatureHash32":"0x2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d"},{"signature":"RoleRevoked(bytes32,address,address)","signatureHash4":"0xf6391f5c","signatureHash32":"0xf6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b"},{"signature":"Transfer(address,address,address,uint256,uint256)","signatureHash4":"0x1b3d7edb","signatureHash32":"0x1b3d7edb2e9c0b0e7c525b20aaaef0f5940d2ed71663c7d39266ecafac728859"},{"signature":"Unpaused(address)","signatureHash4":"0x5db9ee0a","signatureHash32":"0x5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa"},{"signature":"Withdrawal(address,uint256,address)","signatureHash4":"0x001a143d","signatureHash32":"0x001a143d5b175701cb3246058ffac3d63945192075a926ff73a19930f09d587a"}],"error":[{"signature":"AccessControlBadConfirmation()","signatureHash4":"0x6697b232","signatureHash32":"0x6697b23232a647058342c0724fe7c415cab25915b54e5dbc03f233173d37b41c"},{"signature":"AccessControlUnauthorizedAccount(address,bytes32)","signatureHash4":"0xe2517d3f","signatureHash32":"0xe2517d3fbfae6f8515ef5ff1ccedc3933ab0cbbda0b492c06eb54ad10ef03b3e"},{"signature":"Dispatcher__CallbackReverted(address)","signatureHash4":"0x39965ec7","signatureHash32":"0x39965ec7c4a671c1a170b773fd392751218bd8dbd6ac669d8fda09fdf8ac98d8"},{"signature":"Dispatcher__ExecutorAlreadyExists(address)","signatureHash4":"0x1124faeb","signatureHash32":"0x1124faebb9e7ecdc8e88d1b5675e8c5ff3452122984e3a73dd969412448c0c70"},{"signature":"Dispatcher__ExecutorIsTimelocked(address)","signatureHash4":"0x45d4ba96","signatureHash32":"0x45d4ba966f0a6faebc37aecba74276343049edde9671da6ab338397f52e3c814"},{"signature":"Dispatcher__NonContractExecutor()","signatureHash4":"0x931cf050","signatureHash32":"0x931cf0500cc8ffa78a30752f58732b383cec0a54a857a3931a1bf14691292dd4"},{"signature":"Dispatcher__SwapReverted(address)","signatureHash4":"0x2680f8fe","signatureHash32":"0x2680f8fed3a8e748342acf062955e82545dc127881f686b3ca29ae11a27a0a14"},{"signature":"Dispatcher__UnapprovedExecutor(address)","signatureHash4":"0xa6cdd2a5","signatureHash32":"0xa6cdd2a5b3aad31aee81465491577412f32d5134f0118ac21548426f65c95501"},{"signature":"Dispatcher__UnsupportedSingleHopCycle(address)","signatureHash4":"0xce89c4bd","signatureHash32":"0xce89c4bd837b6ff5bcfc8b5f2830830a2c3afbc11c53fbbfb83faa38be80b779"},{"signature":"EnforcedPause()","signatureHash4":"0xd93c0665","signatureHash32":"0xd93c0665d6c96d04a8f174024fc4ddd66c250604aff22bbec808de86dd3637e3"},{"signature":"ERC6909InsufficientAllowance(address,uint256,uint256,uint256)","signatureHash4":"0x58a3fd5a","signatureHash32":"0x58a3fd5a99a365968b2afe75b168e4a0c636bfe943fa3cba7dd6c037aeb37ddb"},{"signature":"ERC6909InsufficientBalance(address,uint256,uint256,uint256)","signatureHash4":"0xb1b4fec0","signatureHash32":"0xb1b4fec01ccc876da99e31a97d27a2b2da4b326806e0e2a1f8de64a4739f3d21"},{"signature":"ERC6909InvalidApprover(address)","signatureHash4":"0xcc766a98","signatureHash32":"0xcc766a989e09ce7f2b83ad6b543ce431d3bdbea49275169bc13897545c4b760b"},{"signature":"ERC6909InvalidReceiver(address)","signatureHash4":"0xb8bbd610","signatureHash32":"0xb8bbd61059d40b759e11c736160c0171055b0f19a1220c88323cf790bf4011d5"},{"signature":"ERC6909InvalidSender(address)","signatureHash4":"0xa4352080","signatureHash32":"0xa43520801c79f05995aea0a9640781bc2fbb95c42f884bcb28cea03ffcac4803"},{"signature":"ERC6909InvalidSpender(address)","signatureHash4":"0x6f65f465","signatureHash32":"0x6f65f4655a43ab782d11ec7829bd2d4c8cab96d0f80296d8344a599c23be213f"},{"signature":"ExpectedPause()","signatureHash4":"0x8dfc202b","signatureHash32":"0x8dfc202bcfe9a735b559bee70674422512bc5c30f687046ae8778315fb81da44"},{"signature":"FailedCall()","signatureHash4":"0xd6bda275","signatureHash32":"0xd6bda27508c0fb6d8a39b4b122878dab26f731a7d4e4abe711dd3731899052a4"},{"signature":"InsufficientBalance(uint256,uint256)","signatureHash4":"0xcf479181","signatureHash32":"0xcf4791818fba6e019216eb4864093b4947f674afada5d305e57d598b641dad1d"},{"signature":"InvalidShortString()","signatureHash4":"0xb3512b0c","signatureHash32":"0xb3512b0c6163e5f0bafab72bb631b9d58cd7a731b082f910338aa21c83d5c274"},{"signature":"ReentrancyGuardReentrantCall()","signatureHash4":"0x3ee5aeb5","signatureHash32":"0x3ee5aeb571de7fc460830b4d0017439a1ca56fb0bc39062227ade4fe4a24c1ca"},{"signature":"SafeERC20FailedOperation(address)","signatureHash4":"0x5274afe7","signatureHash32":"0x5274afe73c98b4749fc91ffae6b7b574e7842cb2144a159e9377a5f20b32edf9"},{"signature":"StringTooLong(string)","signatureHash4":"0x305a27a9","signatureHash32":"0x305a27a93f8e33b7392df0a0f91d6fc63847395853c45991eec52dbf24d72381"},{"signature":"TransferManager__DifferentTokenIn(address,address)","signatureHash4":"0x358c73f1","signatureHash32":"0x358c73f129291fd4a96ff108185148d2c5dade7a62c287bacb9680e09a612b1b"},{"signature":"TransferManager__ExceededTransferFromAllowance(uint256,uint256)","signatureHash4":"0xae0626b3","signatureHash32":"0xae0626b34f428a95c57f25c3c2cf5d4ae9225a892634f824799ec5cdb50d3bdc"},{"signature":"TransferManager__NotAContract(address)","signatureHash4":"0xbeed1af7","signatureHash32":"0xbeed1af7634027ce90085ff4c365fcf18a1230e2196b3cc3767ef042fa5dbcee"},{"signature":"TransferManager__UnknownTransferType()","signatureHash4":"0x3fe0a7ad","signatureHash32":"0x3fe0a7ad0ae64c7549315a9d3e8815f922dd67eaa949d2b50b5ad695a909b484"},{"signature":"TychoRouter__AddressZero()","signatureHash4":"0xbea0e082","signatureHash32":"0xbea0e0824413c94aaedb80c6b36d7d79d7bcf8accc64c4de13455f4f8a00e13a"},{"signature":"TychoRouter__AmountOutZero()","signatureHash4":"0x6fa417d5","signatureHash32":"0x6fa417d54ebd5161a5e3ea410f92a9d4326208b66141e48f1939f1bd28c250ab"},{"signature":"TychoRouter__EmptySwaps()","signatureHash4":"0xbc0c932b","signatureHash32":"0xbc0c932bae9c819d7848299aa9765785c1e5079ea6ad9ab14f2d951d2c74ad3d"},{"signature":"TychoRouter__ExpiredClientSignature(uint256,uint256)","signatureHash4":"0x6b7a0a9e","signatureHash32":"0x6b7a0a9eae8764f1bfc86c086d1450b6625e9a0f3627ae3e0701ac73f6a024ad"},{"signature":"TychoRouter__FeesExceedOutput(uint256,uint256)","signatureHash4":"0xf3603006","signatureHash32":"0xf3603006082279df3e6b3733410f8fe7148699a50d09e8e507055bd4f1b770c4"},{"signature":"TychoRouter__InvalidClientSignature()","signatureHash4":"0x8bd22865","signatureHash32":"0x8bd22865446aac60793703535dc09f828c8a871565ebafe9ec60a584f61de34e"},{"signature":"TychoRouter__InvalidMinAmountOut(uint256,uint256)","signatureHash4":"0xa6ce01ff","signatureHash32":"0xa6ce01ff07be7b13e2b00aa427c0aeb887ab7082c34741b5f6017a3f399675d3"},{"signature":"TychoRouter__MsgValueDoesNotMatchAmountIn(uint256,uint256)","signatureHash4":"0x5ffb1a5f","signatureHash32":"0x5ffb1a5fd6bd54bbfbe20d87d224c4841e2423b2dc873bd03dc9f46f72466b4d"},{"signature":"TychoRouter__NegativeOutputDelta(int256)","signatureHash4":"0xad778f04","signatureHash32":"0xad778f040b8061772fc2196b43fde09e1fb7f53d1ab4d9f63130b7fe34c7e659"},{"signature":"TychoRouter__NegativeSlippage(uint256,uint256)","signatureHash4":"0xfd56708c","signatureHash32":"0xfd56708c00a23170393d14b26704779393c00d24743b93dbd368d6a1d87e5970"},{"signature":"TychoRouter__NoPendingFeeCalculator()","signatureHash4":"0xc8e301b6","signatureHash32":"0xc8e301b63c26d80121e20e543ed876c82d6baa2cb409746b8a353746d266f793"},{"signature":"TychoRouter__NotAContract(address)","signatureHash4":"0x9368c1dc","signatureHash32":"0x9368c1dcd9f08ae0e718307e7c6645a45d44facf43e2a0bb56f3e1b55d6c6e18"},{"signature":"TychoRouter__TimelockNotExpired(uint256,uint256)","signatureHash4":"0x017c6456","signatureHash32":"0x017c64563c3efaac33025be7a84150686b1229cae815d84ea279fa84b309142c"},{"signature":"TychoRouter__ZeroInput()","signatureHash4":"0x40b71e18","signatureHash32":"0x40b71e1862500007e9447e9a94c35e1c356df0da72adfed3cfa2f34d904abd87"},{"signature":"Vault__AddressZero()","signatureHash4":"0x33356531","signatureHash32":"0x33356531f43e0e5b9cbd65d0e5b69864a136dfe1c914b7c42c49c37dc7d14b66"},{"signature":"Vault__AmountZero()","signatureHash4":"0xa6b14c81","signatureHash32":"0xa6b14c813ffec0fc497d4794f7332d9817bc76143af3f9e89d2ae84c8eb867eb"},{"signature":"Vault__InsufficientBalance(address,address,uint256,uint256)","signatureHash4":"0xd3b84a02","signatureHash32":"0xd3b84a02ac784e7e6f7c176ecac99162deabcda1a41e35fe24f462c2c0974a1b"},{"signature":"Vault__UnexpectedInputDelta(int256)","signatureHash4":"0x955ec055","signatureHash32":"0x955ec055f9d31675d99439c2e753b31316bc8289f8dbb71ef586f07d111012bb"},{"signature":"Vault__UnexpectedNonZeroCount(uint256)","signatureHash4":"0x67521f4b","signatureHash32":"0x67521f4b96172903e0a73d28c1a2e5f2be4dac9d5d6bb029f520b4025c509682"}]},"proxyResolution":{"isProxy":false,"proxyType":null,"implementations":[]},"match":"exact_match","chainId":"1","address":"0x1644D2477f809cc2C71bCCFd6Dc9497E3F83210d"}