{"matchId":"28804667","creationMatch":"match","runtimeMatch":"match","verifiedAt":"2026-05-12T19:28:24Z","creationBytecode":{"onchainBytecode":"0x60a060405234801561000f575f5ffd5b5060405161605b38038061605b83398101604081905261002e916100fe565b808061003861004c565b6001600160a01b03166080525061012b9050565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00805468010000000000000000900460ff161561009c5760405163f92ee8a960e01b815260040160405180910390fd5b80546001600160401b03908116146100fb5780546001600160401b0319166001600160401b0390811782556040519081527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b50565b5f6020828403121561010e575f5ffd5b81516001600160a01b0381168114610124575f5ffd5b9392505050565b608051615efc61015f5f395f8181610abe01528181610e6c0152818161165a015281816118760152612a500152615efc5ff3fe608060405234801561000f575f5ffd5b50600436106104a6575f3560e01c80637d3fdf011161026e578063b3d7f6b911610156578063ca15c873116100ca578063d905777e1161008f578063d905777e14610b47578063dbb1fc0d14610b5a578063dd62ed3e14610b62578063e045f2e014610b75578063ef8b30f714610b88578063f2fde38b14610b9b575f5ffd5b8063ca15c87314610af3578063cdd5f2c814610b06578063ce96cb7714610b0e578063d547741f14610b21578063d87826c914610b34575f5ffd5b8063bf2460001161011b578063bf24600014610a8b578063c10af4c714610a93578063c39a93eb14610aa6578063c45a015514610ab9578063c63d75b61461071d578063c6e6f59214610ae0575f5ffd5b8063b3d7f6b914610a37578063b460af9414610a4a578063b49a60bb14610a5d578063ba08765214610a65578063ba73664614610a78575f5ffd5b806394bf804d116101ed578063a3246ad3116101b2578063a3246ad3146109a8578063a6f7f5d6146109bb578063a9059cbb146109f1578063acd078e014610a04578063b15fd3b114610a0c578063b19c2c7014610a2f575f5ffd5b806394bf804d1461090857806395d89b411461091b57806398b3abb4146109235780639e51f5cc1461094d578063a217fddf146109a1575f5ffd5b8063887344ff11610233578063887344ff146108b45780638c7f67c1146108c75780638da5cb5b146108da5780639010d07c146108e257806391d14854146108f5575f5ffd5b80637d3fdf01146108525780637f414cf81461086557806382299a5c1461086d578063859844fc14610875578063877887821461088a575f5ffd5b80632f2ff15d1161039157806354fd4d501161031057806367881fd0116102d557806367881fd0146107f65780636e553f6514610809578063709ac1c31461081c57806370a082311461082f578063715018a61461084257806372c5291c1461084a575f5ffd5b806354fd4d501461075757806357ec83cc146107775780635aef467a1461078a5780635e30d7fe1461079d5780635fbbc0d2146107b0575f5ffd5b806338d52e0f1161035657806338d52e0f146106ea5780633c256b981461070a578063402d267d1461071d5780634cdad506146107315780634eddea0614610744575f5ffd5b80632f2ff15d146106775780633015394c1461068a5780633033bc101461069d578063313ce567146106bd57806336568abe146106d7575f5ffd5b80630a28a47711610428578063223e5479116103ed578063223e5479146105f8578063227475de1461060b57806323b872dd1461061e578063248a9ca3146106315780632968676e146106445780632b060a6814610664575f5ffd5b80630a28a477146105a357806312526a48146105b657806315b6c1ea146105c9578063175188e8146105dd57806318160ddd146105f0575f5ffd5b806306e566001161046e57806306e566001461053857806306fdde031461054b57806307a2d13a146105605780630900cf6c14610573578063095ea7b314610590575f5ffd5b806301e1d114146104aa57806301ffc9a7146104c557806304fb78b6146104e8578063052aa633146104f2578063059d9c7514610530575b5f5ffd5b6104b2610bae565b6040519081526020015b60405180910390f35b6104d86104d33660046151cc565b610bbd565b60405190151581526020016104bc565b6104f0610be7565b005b6104b26105003660046151f3565b5f9081527f0ada5b606f7944319310c49c0f9f30d6272793a991bd2b9c3db8049867746702602052604090205490565b6104f0610c7b565b6104f061054636600461521e565b610c96565b610553610d3f565b6040516104bc9190615239565b6104b261056e3660046151f3565b610dff565b61057b610e0a565b604080519283526020830191909152016104bc565b6104d861059e36600461526e565b610e1c565b6104b26105b13660046151f3565b610e33565b6104f06105c436600461521e565b610e59565b5f516020615dc75f395f51905f52546104b2565b6104f06105eb36600461521e565b610f8e565b6104b2611031565b6104f061060636600461521e565b611056565b6104b261061936600461526e565b611160565b6104d861062c366004615298565b611191565b6104b261063f3660046151f3565b6111b6565b61065761065236600461521e565b6111d6565b6040516104bc91906152ea565b6104f061067236600461531e565b61125d565b6104f061068536600461533e565b6112f0565b6104f06106983660046151f3565b611312565b6106b06106ab3660046151f3565b61137b565b6040516104bc919061536c565b6106c56113ef565b60405160ff90911681526020016104bc565b6104f06106e536600461533e565b611431565b6106f2611469565b6040516001600160a01b0390911681526020016104bc565b6104f06107183660046153cd565b61149d565b6104b261072b36600461521e565b505f1990565b6104b261073f3660046151f3565b611508565b6104f061075236600461531e565b611525565b61075f611583565b6040516001600160401b0390911681526020016104bc565b6104f0610785366004615463565b6115a7565b6104f06107983660046154c1565b611748565b6104f06107ab3660046154f3565b6117f0565b6107b8611936565b6040805161ffff96871681526001600160a01b03958616602082015263ffffffff90941690840152931660608201529116608082015260a0016104bc565b6104f0610804366004615541565b61198a565b6104b261081736600461533e565b611a65565b6104f061082a366004615584565b611bcd565b6104b261083d36600461521e565b611c30565b6104f0611c56565b6104b2611c67565b6104f06108603660046155b9565b611c7d565b61057b611d2e565b6104b2611d4b565b61087d611dd3565b6040516104bc9190615622565b610892611e3c565b604080516001600160a01b03909316835261ffff9091166020830152016104bc565b6104f06108c236600461526e565b611e69565b6104f06108d53660046153cd565b611f1a565b6106f2611f85565b6106f26108f036600461531e565b611fad565b6104d861090336600461533e565b611fd2565b6104b261091636600461533e565b612008565b610553612152565b7f0ada5b606f7944319310c49c0f9f30d6272793a991bd2b9c3db80498677467055460ff166104d8565b6104b261095b36600461526e565b6001600160a01b03919091165f9081527f0ada5b606f7944319310c49c0f9f30d6272793a991bd2b9c3db804986774670360209081526040808320938352929052205490565b6104b25f81565b61087d6109b63660046151f3565b612190565b6109c36121b9565b604080516001600160a01b03909416845261ffff909216602084015263ffffffff16908201526060016104bc565b6104d86109ff36600461526e565b6121f6565b61057b612203565b610a14612223565b604080519384526020840192909252908201526060016104bc565b6104f061229c565b6104b2610a453660046151f3565b6123e1565b6104b2610a5836600461566d565b6123ff565b61087d6125a2565b6104b2610a7336600461566d565b6125b7565b6104b2610a863660046151f3565b612746565b6106f261278d565b6104f0610aa1366004615584565b6127a8565b6104f0610ab43660046156ac565b61280b565b6106f27f000000000000000000000000000000000000000000000000000000000000000081565b6104b2610aee3660046151f3565b61288d565b6104b2610b013660046151f3565b612898565b6104f06128bc565b6104b2610b1c36600461521e565b612915565b6104f0610b2f36600461533e565b612928565b6104f0610b4236600461521e565b612944565b6104b2610b5536600461521e565b6129b6565b6104b26129e0565b6104b2610b703660046156f3565b6129f4565b6104f0610b8336600461521e565b612a3d565b6104b2610b963660046151f3565b612b3f565b6104f0610ba936600461521e565b612b5c565b5f610bb7612b96565b50919050565b5f6001600160e01b03198216635a05180f60e01b1480610be15750610be182612c14565b92915050565b5f516020615e075f395f51905f52610bfe81612c48565b7f0ada5b606f7944319310c49c0f9f30d6272793a991bd2b9c3db8049867746705805460ff19811660ff909116159081179091556040805182815290515f516020615e675f395f51905f5292917f622ac9e7dfefe4b395a61df3b2d570aa753a3c9febd3ad24f919322920895fce919081900360200190a1505050565b610c83612c52565b610c8b612c9c565b50610c94612e99565b565b5f516020615e875f395f51905f52610cad81612c48565b6001600160a01b038216610cd45760405163d92e233d60e01b815260040160405180910390fd5b604051620372b360e91b81526001600160a01b0383166004820152735cc3c3cea2e885f1870f3cae1eb9601d5d278d4a906306e56600906024015b5f6040518083038186803b158015610d25575f5ffd5b505af4158015610d37573d5f5f3e3d5ffd5b505050505050565b7f52c63247e1f47db19d5ce0460030c497f067ca4cebf71ba98eeadabe20bace0380546060915f516020615de75f395f51905f5291610d7d9061571f565b80601f0160208091040260200160405190810160405280929190818152602001828054610da99061571f565b8015610df45780601f10610dcb57610100808354040283529160200191610df4565b820191905f5260205f20905b815481529060010190602001808311610dd757829003601f168201915b505050505091505090565b5f610be1825f612ebf565b5f5f610e14612b96565b915091509091565b5f33610e29818585612f01565b5060019392505050565b5f5f5f610e3e612b96565b9092509050610e5184828460015f612f0e565b949350505050565b610e61612c52565b610e69612c9c565b507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316638da5cb5b6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610ec6573d5f5f3e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610eea9190615751565b6001600160a01b0316336001600160a01b031614610f1b5760405163d29ecfe160e01b815260040160405180910390fd5b60405163024a4d4960e31b81526001600160a01b0382166004820152735d433d113c211891d3c2bae6cd3b39adeffd64cc906312526a48906024015b5f6040518083038186803b158015610f6d575f5ffd5b505af4158015610f7f573d5f5f3e3d5ffd5b50505050610f8b612e99565b50565b610f96612c52565b7f1893e1a169e79f2fe8aa327b1bceb2fede7a1b76a54824f95ea0e737720954ae610fc081612c48565b6040516302ea311d60e31b81526001600160a01b0383166004820152735d433d113c211891d3c2bae6cd3b39adeffd64cc9063175188e8906024015b5f6040518083038186803b158015611012575f5ffd5b505af4158015611024573d5f5f3e3d5ffd5b5050505050610f8b612e99565b7f52c63247e1f47db19d5ce0460030c497f067ca4cebf71ba98eeadabe20bace025490565b61105e612c52565b7f1893e1a169e79f2fe8aa327b1bceb2fede7a1b76a54824f95ea0e737720954ae61108881612c48565b611090611469565b6001600160a01b0316826001600160a01b03166338d52e0f6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156110d5573d5f5f3e3d5ffd5b505050506040513d601f19601f820116820180604052508101906110f99190615751565b6001600160a01b0316146111205760405163e76673ef60e01b815260040160405180910390fd5b60405163223e547960e01b81526001600160a01b0383166004820152735d433d113c211891d3c2bae6cd3b39adeffd64cc9063223e547990602401610ffc565b5f805f516020615e675f395f51905f529050610e518484835f015461118487612746565b61118c6113ef565b612f5c565b5f3361119e858285612fec565b6111a9858585613037565b60019150505b9392505050565b5f9081525f516020615e275f395f51905f52602052604090206001015490565b604080518082019091525f80825260208201526111f1613094565b6001600160a01b0383165f90815260089190910160205260409081902081518083019092528054829060ff16600281111561122e5761122e6152d6565b600281111561123f5761123f6152d6565b8152905461010090046001600160781b031660209091015292915050565b611265612c52565b5f516020615e075f395f51905f5261127c81612c48565b604051630560c14d60e31b81526004810184905260248101839052735d433d113c211891d3c2bae6cd3b39adeffd64cc90632b060a68906044015b5f6040518083038186803b1580156112cd575f5ffd5b505af41580156112df573d5f5f3e3d5ffd5b50505050506112ec612e99565b5050565b6112f9826111b6565b61130281612c48565b61130c83836130b8565b50505050565b60405163887344ff60e01b815233600482015260248101829052735cc3c3cea2e885f1870f3cae1eb9601d5d278d4a9063887344ff906044015b5f6040518083038186803b158015611362575f5ffd5b505af4158015611374573d5f5f3e3d5ffd5b5050505050565b6040516303033bc160e41b8152600481018290525f90735cc3c3cea2e885f1870f3cae1eb9601d5d278d4a90633033bc1090602401602060405180830381865af41580156113cb573d5f5f3e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610be1919061576c565b5f807f0773e532dfede91f04b12a73d3d2acd361424f41f76b4fb79f090161e36b4e0090505f815461142b9190600160a01b900460ff1661579e565b91505090565b6001600160a01b038116331461145a5760405163334bd91960e11b815260040160405180910390fd5b61146482826130fa565b505050565b5f807f0773e532dfede91f04b12a73d3d2acd361424f41f76b4fb79f090161e36b4e005b546001600160a01b031692915050565b806114bb5760405163dae42f1960e01b815260040160405180910390fd5b735cc3c3cea2e885f1870f3cae1eb9601d5d278d4a63bed0dc336114dd611469565b3385856114e86113ef565b6040518663ffffffff1660e01b8152600401610d0f9594939291906157b7565b5f5f5f611513612b96565b9092509050610e518482845f80613133565b61152d612c52565b5f516020615e075f395f51905f5261154481612c48565b60405163276ef50360e11b81526004810184905260248101839052735d433d113c211891d3c2bae6cd3b39adeffd64cc90634eddea06906044016112b7565b5f6115a25f516020615ea75f395f51905f52546001600160401b031690565b905090565b5f516020615ea75f395f51905f52546001600160401b0316156115dc5760405162dc149f60e41b815260040160405180910390fd5b5f516020615ea75f395f51905f528054859190600160401b900460ff1680611611575080546001600160401b03808416911610155b1561162f5760405163f92ee8a960e01b815260040160405180910390fd5b805468ffffffffffffffffff19166001600160401b03831617600160401b1781556001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000166116813390565b6001600160a01b0316146116a857604051631966391b60e11b815260040160405180910390fd5b6116b0613178565b6116b985613188565b6116f9868686868080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061319992505050565b805460ff60401b191681556040516001600160401b03831681527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a1505050505050565b61175282826131b2565b5f516020615dc75f395f51905f5254611769611469565b6040516370a0823160e01b81523060048201526001600160a01b0391909116906370a0823190602401602060405180830381865afa1580156117ad573d5f5f3e3d5ffd5b505050506040513d601f19601f820116820180604052508101906117d19190615810565b10156112ec57604051631e9acf1760e31b815260040160405180910390fd5b6117f8612c52565b5f516020615ea75f395f51905f528054849190600160401b900460ff168061182d575080546001600160401b03808416911610155b1561184b5760405163f92ee8a960e01b815260040160405180910390fd5b805468ffffffffffffffffff19166001600160401b03831617600160401b1781556001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001661189d3390565b6001600160a01b0316146118c457604051631966391b60e11b815260040160405180910390fd5b6118e5610f8b5f516020615ea75f395f51905f52546001600160401b031690565b805460ff60401b191681556040516001600160401b03831681527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15050611464612e99565b5f5f5f5f5f5f611944613094565b6005810154600690910154600160a01b80830461ffff9081169a6001600160a01b038086169b50600160b01b90950463ffffffff16995091830416965091169350915050565b5f516020615e875f395f51905f526119a181612c48565b6001600160a01b0384166119c85760405163d92e233d60e01b815260040160405180910390fd5b816119e65760405163dae42f1960e01b815260040160405180910390fd5b735cc3c3cea2e885f1870f3cae1eb9601d5d278d4a63bed0dc33611a08611469565b868686611a136113ef565b6040518663ffffffff1660e01b8152600401611a339594939291906157b7565b5f6040518083038186803b158015611a49575f5ffd5b505af4158015611a5b573d5f5f3e3d5ffd5b5050505050505050565b5f611a6e612c52565b611a76612c9c565b506001600160a01b038216611a9e57604051631e4ec46b60e01b815260040160405180910390fd5b5f611aa7613094565b60408051808201909152600c91909101546001600160a01b0381168252600160a01b90046001600160601b0316602082015290505f611ae46129e0565b9050611af1826001613301565b15611b0357611b038233878785613335565b5f19611b13565b60405180910390fd5b5f611b2a611b1f611031565b8890855f6001612f0e565b90505f5f611b36611d2e565b909250905081611b46868b615848565b11158015611b545750808910155b338a838590919293611b7d57604051630cd147c960e31b8152600401611b0a949392919061585b565b50505050611b93611b8b3390565b898b866133ac565b611b9e866002613301565b15611bbd57611bbd338a858b611bb26129e0565b8b9493929190613449565b5090945050505050610be1612e99565b611bd5612c52565b5f516020615e075f395f51905f52611bec81612c48565b611bf4612c9c565b5060405163709ac1c360e01b815261ffff83166004820152735d433d113c211891d3c2bae6cd3b39adeffd64cc9063709ac1c390602401610ffc565b6001600160a01b03165f9081525f516020615de75f395f51905f52602052604090205490565b611c5e6134b5565b610c945f6134e7565b5f5f516020615e675f395f51905f525b54919050565b611c85612c52565b7f233f5edd266b4c1e845863cec156a09138880d786ad44f83338de5088db7bf00611caf81612c48565b5f611cb8613094565b8351602080860180516001600160601b03908116600160a01b026001600160a01b03909416938417600c86015560408051948552915116918301919091529192507fdf54464c1716ef505e744140e0952c7818e8fca244bda3dae5d2f971860aef0d910160405180910390a15050610f8b612e99565b5f5f5f611d39613094565b80546002909101549094909350915050565b5f5f611d55613094565b90505f611d6482600901613557565b90505f5b8151811015611dcd57826008015f838381518110611d8857611d88615881565b6020908102919091018101516001600160a01b031682528101919091526040015f2054611dc39061010090046001600160781b031685615848565b9350600101611d68565b50505090565b6060611ddd613094565b600b01805480602002602001604051908101604052809291908181526020018280548015611e3257602002820191905f5260205f20905b81546001600160a01b03168152600190910190602001808311611e14575b5050505050905090565b5f5f5f611e47613094565b600601546001600160a01b03811694600160a01b90910461ffff169350915050565b5f516020615e875f395f51905f52611e8081612c48565b6001600160a01b038316611ea75760405163d92e233d60e01b815260040160405180910390fd5b60405163887344ff60e01b81526001600160a01b038416600482015260248101839052735cc3c3cea2e885f1870f3cae1eb9601d5d278d4a9063887344ff906044015f6040518083038186803b158015611eff575f5ffd5b505af4158015611f11573d5f5f3e3d5ffd5b50505050505050565b611f22612c52565b7fdcac51f5d253e2787a458cfb1d6b8faf248cf16367710f9e3b6bd5644d23f8db611f4c81612c48565b604051638c7f67c160e01b8152735d433d113c211891d3c2bae6cd3b39adeffd64cc90638c7f67c1906112b790869086906004016158dd565b5f807f9016d09d72d40fdae2fd8ceac6b6234c7706214fd39c1cd1e609a0528c19930061148d565b5f8281525f516020615da75f395f51905f52602081905260408220610e519084613563565b5f9182525f516020615e275f395f51905f52602090815260408084206001600160a01b0393909316845291905290205460ff1690565b5f612011612c52565b612019612c9c565b506001600160a01b03821661204157604051631e4ec46b60e01b815260040160405180910390fd5b5f61204a613094565b60408051808201909152600c91909101546001600160a01b0381168252600160a01b90046001600160601b0316602082015290505f6120876129e0565b9050612094826003613301565b156120a6576120a6823387878561356e565b5f195f6120bf6120b4611031565b889085600180613133565b90505f5f6120cb611d2e565b9092509050816120db8685615848565b111580156120e95750808310155b338483859091929361211257604051630cd147c960e31b8152600401611b0a949392919061585b565b505050506121286121203390565b89858c6133ac565b612133866004613301565b15611bbd57611bbd33848b8b6121476129e0565b8b94939291906135b5565b7f52c63247e1f47db19d5ce0460030c497f067ca4cebf71ba98eeadabe20bace0480546060915f516020615de75f395f51905f5291610d7d9061571f565b5f8181525f516020615da75f395f51905f5260208190526040909120606091906111af90613557565b5f5f5f5f6121c5613094565b600501546001600160a01b03811695600160a01b820461ffff169550600160b01b90910463ffffffff169350915050565b5f33610e29818585613037565b5f5f5f61220e613094565b90508060010154816003015492509250509091565b5f5f5f735cc3c3cea2e885f1870f3cae1eb9601d5d278d4a63b15fd3b16040518163ffffffff1660e01b8152600401606060405180830381865af415801561226d573d5f5f3e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061229191906158f0565b925092509250909192565b6122a4612c9c565b506122ad612c52565b5f516020615e875f395f51905f526122c481612c48565b5f6122cd6113ef565b9050735cc3c3cea2e885f1870f3cae1eb9601d5d278d4a6323818cb961230e6122f784600a6159fe565b6122ff611031565b6123076129e0565b5f5f613133565b612316611469565b6040516370a0823160e01b81523060048201526001600160a01b0391909116906370a0823190602401602060405180830381865afa15801561235a573d5f5f3e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061237e9190615810565b6040516001600160e01b031960e085901b1681526004810192909252602482015260ff841660448201526064015f6040518083038186803b1580156123c1575f5ffd5b505af41580156123d3573d5f5f3e3d5ffd5b505050505050610c94612e99565b5f5f5f6123ec612b96565b9092509050610e5184828460015f613133565b5f612408612c52565b612410612c9c565b506001600160a01b03831661243857604051631e4ec46b60e01b815260040160405180910390fd5b5f612441613094565b60408051808201909152600c91909101546001600160a01b0381168252600160a01b90046001600160601b0316602082015290505f61247e6129e0565b905061248b826005613301565b1561249e5761249e8233888888866135ec565b5f6124a7611031565b90505f6124c382845f5f6124ba8b611c30565b93929190613133565b90505f6124d4898486600180612f0e565b9050818911806124ef5750886124ed338a8a8d8661363b565b105b1561251357868983604051633fa733bb60e21b8152600401611b0a93929190615827565b5f5f61251d612203565b91509150818b111580156125315750808b10155b338c83859091929361255a57604051630cd147c960e31b8152600401611b0a949392919061585b565b5050505061257260068861330190919063ffffffff16565b1561259157612591338c858d6125866129e0565b8c9493929190613796565b5090955050505050506111af612e99565b60606115a26125af613094565b600901613557565b5f6125c0612c52565b6125c8612c9c565b506001600160a01b0383166125f057604051631e4ec46b60e01b815260040160405180910390fd5b5f6125f9613094565b60408051808201909152600c91909101546001600160a01b0381168252600160a01b90046001600160601b0316602082015290505f6126366129e0565b9050612643826007613301565b15612656576126568233888888866137cd565b5f61266085611c30565b90505f61267961266e611031565b8990855f6001613133565b905081881180612694575080612692338989858d61363b565b105b156126b857858883604051632e52afbb60e21b8152600401611b0a93929190615827565b5f5f6126c2612203565b915091508183111580156126d65750808310155b33848385909192936126ff57604051630cd147c960e31b8152600401611b0a949392919061585b565b5050505061271760088761330190919063ffffffff16565b156127365761273633848c8c61272b6129e0565b8b949392919061381f565b50909450505050506111af612e99565b5f8181527f0ada5b606f7944319310c49c0f9f30d6272793a991bd2b9c3db8049867746704602052604081205480820361278257505f92915050565b6111af600182615a0c565b5f612796613094565b600401546001600160a01b0316919050565b6127b0612c52565b5f516020615e075f395f51905f526127c781612c48565b6127cf612c9c565b5060405163c10af4c760e01b815261ffff83166004820152735d433d113c211891d3c2bae6cd3b39adeffd64cc9063c10af4c790602401610ffc565b5f516020615e875f395f51905f5261282281612c48565b8261284057604051636d2d9ea160e11b815260040160405180910390fd5b735cc3c3cea2e885f1870f3cae1eb9601d5d278d4a633e19d9fd612862611469565b86868661286d6113ef565b6040518663ffffffff1660e01b8152600401611a33959493929190615a1f565b5f610be1825f613856565b5f8181525f516020615da75f395f51905f526020819052604082206111af90613898565b5f516020615e875f395f51905f526128d381612c48565b735cc3c3cea2e885f1870f3cae1eb9601d5d278d4a63cdd5f2c86040518163ffffffff1660e01b81526004015f6040518083038186803b158015611362575f5ffd5b5f61291f826138a1565b50909392505050565b612931826111b6565b61293a81612c48565b61130c83836130fa565b61294c612c52565b7f1893e1a169e79f2fe8aa327b1bceb2fede7a1b76a54824f95ea0e737720954ae61297681612c48565b60405163d87826c960e01b81526001600160a01b0383166004820152735d433d113c211891d3c2bae6cd3b39adeffd64cc9063d87826c990602401610ffc565b5f5f5f5f6129c3856138a1565b919450925090506129d78382845f80612f0e565b95945050505050565b5f5f516020615e475f395f51905f52611c77565b6001600160a01b039182165f9081527f52c63247e1f47db19d5ce0460030c497f067ca4cebf71ba98eeadabe20bace016020908152604080832093909416825291909152205490565b612a45612c52565b612a4d612c9c565b507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316638da5cb5b6040518163ffffffff1660e01b8152600401602060405180830381865afa158015612aaa573d5f5f3e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612ace9190615751565b6001600160a01b0316336001600160a01b031614612aff5760405163d29ecfe160e01b815260040160405180910390fd5b6040516307022f9760e51b81526001600160a01b0382166004820152735d433d113c211891d3c2bae6cd3b39adeffd64cc9063e045f2e090602401610f57565b5f5f5f612b4a612b96565b9092509050610e518482845f80612f0e565b612b646134b5565b6001600160a01b038116612b8d57604051631e4fbdf760e01b81525f6004820152602401611b0a565b610f8b816134e7565b5f5f5f5f612ba26138e9565b915091505f612baf611031565b90505f8284612bbc6129e0565b612bc69190615848565b612bd09190615a0c565b90505f612bdc8261395f565b509050612be98184615848565b92505f612bf883878787613a6f565b509050612c058185615848565b92989297509195505050505050565b5f6001600160e01b03198216637965db0b60e01b1480610be157506301ffc9a760e01b6001600160e01b0319831614610be1565b610f8b8133613b1a565b7f9b779b17422d0df92223018b32b4d1fa46e071723d6817e2486d003becc55f00805460011901612c9657604051633ee5aeb560e01b815260040160405180910390fd5b60029055565b5f5f612ca6613094565b90505f5f5f612cb784600901613557565b80519091505f5b81811015612e09575f5f5f612ceb868581518110612cde57612cde615881565b6020026020010151613b53565b925092509250825f141580612cff57508115155b15612dfb57612d0d81613cab565b896008015f888781518110612d2457612d24615881565b60200260200101516001600160a01b03166001600160a01b031681526020019081526020015f205f0160016101000a8154816001600160781b0302191690836001600160781b031602179055508288612d7d9190615848565b9750612d898288615848565b9650858481518110612d9d57612d9d615881565b60200260200101516001600160a01b03167fe11daacdf6490767a003932f47d7701165c31eb98ae03312422400522e33b11d828585604051612df2939291909283526020830191909152604082015260600190565b60405180910390a25b505050806001019050612cbe565b5050505f612e215f516020615e475f395f51905f5290565b90505f8284835f0154612e349190615848565b612e3e9190615a0c565b8083559050612e4c81613ce2565b612e57818585613da8565b60408051858152602081018590527ffe2ebf53456a69d7b70affc98b9021c791a9bce3af6fa5d24dfbc2db0f817b54910160405180910390a195945050505050565b60017f9b779b17422d0df92223018b32b4d1fa46e071723d6817e2486d003becc55f0055565b5f5f5f612eca6138e9565b915091506129d7612ed9611031565b8284612ee36129e0565b612eed9190615848565b612ef79190615a0c565b879190875f613133565b6114648383836001613e46565b5f612f31612f1d866001615848565b612f28866001615848565b88919086613f29565b9050818015612f3e575080155b156129d757604051633999656760e01b815260040160405180910390fd5b5f821580612f6a5750838510155b15612f7657505f6129d7565b6001600160a01b0386165f9081527f0ada5b606f7944319310c49c0f9f30d6272793a991bd2b9c3db80498677467036020908152604080832088845290915281205490819003612fc9575f9150506129d7565b612fe184612fd885600a6159fe565b8391905f613f29565b979650505050505050565b5f612ff784846129f4565b90505f1981101561130c578181101561302957828183604051637dc7a0d960e11b8152600401611b0a93929190615827565b61130c84848484035f613e46565b6001600160a01b03831661306057604051634b637e8f60e11b81525f6004820152602401611b0a565b6001600160a01b0382166130895760405163ec442f0560e01b81525f6004820152602401611b0a565b611464838383613f6b565b7fe74d828616eceb28be4a8cf3f9eeee868e1f44ce928ee17a9d7ad296fa52be0090565b5f5f516020615da75f395f51905f52816130d28585614083565b90508015610e51575f8581526020839052604090206130f19085614124565b50949350505050565b5f5f516020615da75f395f51905f52816131148585614138565b90508015610e51575f8581526020839052604090206130f190856141b1565b5f61314d613142856001615848565b612f28876001615848565b905081801561315a575080155b156129d7576040516396d8043360e01b815260040160405180910390fd5b6131806141c5565b610c946141fb565b6131906141c5565b610f8b81614203565b6131a483838361420b565b606081015161130c81614388565b6131ba612c52565b7fdcac51f5d253e2787a458cfb1d6b8faf248cf16367710f9e3b6bd5644d23f8db6131e481612c48565b6131ec612c9c565b505f638f5d2a4760e01b8484604051602401613209929190615a5e565b60408051601f198184030181529190526020810180516001600160e01b03166001600160e01b03199093169290921790915290506132588161324961278d565b6001600160a01b0316906143d6565b505f516020615dc75f395f51905f5254613270611469565b6040516370a0823160e01b81523060048201526001600160a01b0391909116906370a0823190602401602060405180830381865afa1580156132b4573d5f5f3e3d5ffd5b505050506040513d601f19601f820116820180604052508101906132d89190615810565b10156132f757604051631e9acf1760e31b815260040160405180910390fd5b50506112ec612e99565b5f61330c838361443f565b1580613320575082516001600160a01b0316155b1561332c57505f610be1565b50600192915050565b84516040516384a88ad560e01b81526001600160a01b03868116600483015260248201869052848116604483015260648201849052909116906384a88ad5906084015b5f604051808303815f87803b15801561338f575f5ffd5b505af11580156133a1573d5f5f3e3d5ffd5b505050505050505050565b6133bf6133b7611469565b853085614471565b815f516020615e475f395f51905f5280545f906133dd908490615848565b909155506133ed905083826144d8565b826001600160a01b0316846001600160a01b03167fdcbc1c05240f31ff3ad067ef1ee35ce4997762752e3a095284754544f4c709d7848460405161343b929190918252602082015260400190565b60405180910390a350505050565b8551604051635121af7560e01b81526001600160a01b0390911690635121af75906134809088908890889088908890600401615a8c565b5f604051808303815f87803b158015613497575f5ffd5b505af11580156134a9573d5f5f3e3d5ffd5b50505050505050505050565b336134be611f85565b6001600160a01b031614610c945760405163118cdaa760e01b8152336004820152602401611b0a565b7f9016d09d72d40fdae2fd8ceac6b6234c7706214fd39c1cd1e609a0528c19930080546001600160a01b031981166001600160a01b03848116918217845560405192169182907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0905f90a3505050565b60605f6111af8361450c565b5f6111af8383614565565b84516040516398377f0360e01b81526001600160a01b03868116600483015260248201869052848116604483015260648201849052909116906398377f0390608401613378565b855160405163b4e1167360e01b81526001600160a01b039091169063b4e11673906134809088908890889088908890600401615a8c565b855160405163dd3a450b60e01b81526001600160a01b0387811660048301526024820187905285811660448301528481166064830152608482018490529091169063dd3a450b9060a401613480565b5f5f821161365c57604051639811e0c760e01b815260040160405180910390fd5b7f0ada5b606f7944319310c49c0f9f30d6272793a991bd2b9c3db8049867746705545f516020615e675f395f51905f529060ff161561378157846001600160a01b0316876001600160a01b0316146136b9576136b9858885612fec565b6136c4853085613037565b80546001600160a01b0387165f9081526003830160209081526040808320848452909152812080548692906136fa908490615848565b90915550505f8181526002830160205260408120805486929061371e908490615848565b909155505060408051868152602081018690529081018290526001600160a01b0380881691898216918b16907f0cddd4f59848797de89e03b9d9afb2b9ffbb42b032a976132b69b165a988d91d9060600160405180910390a484925050506129d7565b61378e878787878761458b565b9150506129d7565b85516040516328ea381560e21b81526001600160a01b039091169063a3a8e054906134809088908890889088908890600401615a8c565b8551604051600162c2788160e01b031981526001600160a01b0387811660048301526024820187905285811660448301528481166064830152608482018490529091169063ff3d877f9060a401613480565b855160405163a4940aed60e01b81526001600160a01b039091169063a4940aed906134809088908890889088908890600401615a8c565b5f5f5f6138616138e9565b915091506129d7613870611031565b828461387a6129e0565b6138849190615848565b61388e9190615a0c565b879190875f612f0e565b5f610be1825490565b5f5f5f5f6138ae85611c30565b90505f5f6138ba612b96565b90925090505f6138cd8483858480613133565b90506138d88161493a565b9650919450925050505b9193909250565b5f5f5f6138f76125af613094565b80519091505f5b81811015613958575f5f61391d858481518110612cde57612cde615881565b5091509150815f14158061393057508015155b1561394e5761393f8288615848565b965061394b8187615848565b95505b50506001016138fe565b5050509091565b5f5f5f61396a613094565b6005810154909150600160a01b900461ffff165f0361398e57505f93849350915050565b5f613997614b86565b600583015490915063ffffffff600160b01b90910481169082168190036139c557505f958695509350505050565b5f6139d08284615abf565b600585015463ffffffff9190911691505f90612710906139fb90600160a01b900461ffff168a615adb565b613a059190615b06565b90506301e13380613a168383615adb565b613a209190615b06565b9550855f03613a3857505f9788975095505050505050565b87861115613a44578795505b613a63613a4f611031565b613a59888b615a0c565b8891905f80612f0e565b96505050505050915091565b5f5f5f613a7a613094565b6006810154909150600160a01b900461ffff161580613a995750858510155b15613aaa575f5f9250925050613b11565b5f613ab58688615a0c565b60068301549091505f90613ad8908390600160a01b900461ffff16612710614b90565b9050805f03613aef575f5f94509450505050613b11565b5f613b0887613afe848d615a0c565b8491905f80612f0e565b95509093505050505b94509492505050565b613b248282611fd2565b6112ec5760405163e2517d3f60e01b81526001600160a01b038216600482015260248101839052604401611b0a565b5f5f5f5f613b5f613094565b6001600160a01b0386165f9081526008820160205260409020549091506001600160781b036101008204169060019060ff166002811115613ba257613ba26152d6565b14613bb7575f5f5f94509450945050506138e2565b5f866001600160a01b031663538a018f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015613bf4573d5f5f3e3d5ffd5b505050506040513d601f19601f82011682018060405250810190613c189190615810565b90506001600160781b03811015613c2f5780613c38565b6001600160781b035b90505f5f836001600160781b03168303613c5b57909650945092506138e2915050565b836001600160781b0316831115613c8657613c7f6001600160781b03851684615a0c565b9150613c9c565b613c99836001600160781b038616615a0c565b90505b90989097509095509350505050565b5f6001600160781b03821115613cde576040516306dfcc6560e41b81526078600482015260248101839052604401611b0a565b5090565b5f5f613ced8361395f565b915091505f613cfa613094565b9050613d04614b86565b60058201805463ffffffff92909216600160b01b0263ffffffff60b01b19831681179091556001600160a01b039081169116178315801590613d4e57506001600160a01b03811615155b1561137457613d5d81856144d8565b60408051858152602081018590526001600160a01b038316917fe0a6c0d2df19a90b154d31618f7d6897e3b5bc6d509af23fb86c4f5395d31b8d910160405180910390a25050505050565b5f5f613dbd858585613db8611031565b613a6f565b91509150815f03613dcf575050505050565b5f613dd8613094565b60068101549091506001600160a01b03168015611f1157613df981856144d8565b60408051858152602081018590526001600160a01b038316917f71dd3803aa05c93645074cd325b45c8dd9dcc3396f538083f54611df04ebe9a9910160405180910390a250505050505050565b5f516020615de75f395f51905f526001600160a01b038516613e7d5760405163e602df0560e01b81525f6004820152602401611b0a565b6001600160a01b038416613ea657604051634a1406b160e11b81525f6004820152602401611b0a565b6001600160a01b038086165f9081526001830160209081526040808320938816835292905220839055811561137457836001600160a01b0316856001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92585604051613f1a91815260200190565b60405180910390a35050505050565b5f613f56613f3683614c46565b8015613f5157505f8480613f4c57613f4c615af2565b868809115b151590565b613f61868686614b90565b6129d79190615848565b5f516020615de75f395f51905f526001600160a01b038416613fa55781816002015f828254613f9a9190615848565b909155506140029050565b6001600160a01b0384165f9081526020829052604090205482811015613fe45784818460405163391434e360e21b8152600401611b0a93929190615827565b6001600160a01b0385165f9081526020839052604090209083900390555b6001600160a01b03831661402057600281018054839003905561403e565b6001600160a01b0383165f9081526020829052604090208054830190555b826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8460405161343b91815260200190565b5f5f516020615e275f395f51905f5261409c8484611fd2565b61411b575f848152602082815260408083206001600160a01b03871684529091529020805460ff191660011790556140d13390565b6001600160a01b0316836001600160a01b0316857f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a46001915050610be1565b5f915050610be1565b5f6111af836001600160a01b038416614c72565b5f5f516020615e275f395f51905f526141518484611fd2565b1561411b575f848152602082815260408083206001600160a01b0387168085529252808320805460ff1916905551339287917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a46001915050610be1565b5f6111af836001600160a01b038416614cbe565b5f516020615ea75f395f51905f5254600160401b900460ff16610c9457604051631afcd79f60e31b815260040160405180910390fd5b612e996141c5565b612b646141c5565b5f5f5f5f5f858060200190518101906142249190615ba2565b9398509196509450925090506001600160a01b03851661425757604051638f16646d60e01b815260040160405180910390fd5b6001600160a01b03841661427e57604051636448d6e960e11b815260040160405180910390fd5b6001600160a01b0383166142a5576040516320fb0c8560e21b815260040160405180910390fd5b5f8251116142c65760405163430f13b360e01b815260040160405180910390fd5b5f8151116142e75760405163010466f160e21b815260040160405180910390fd5b6142f18282614d98565b6142fa84614de8565b614302614e6b565b60408051636da12bef60e01b81526001600160a01b038088166004830152851660248201523360448201529051738d5d294fd63ee3b16abdca4b59597719a576e55191636da12bef916064808301925f929190829003018186803b158015614368575f5ffd5b505af415801561437a573d5f5f3e3d5ffd5b505050505050505050505050565b6143906141c5565b60405163b64bdb0160e01b81526001600160a01b0382166004820152336024820152738d5d294fd63ee3b16abdca4b59597719a576e5519063b64bdb019060440161134c565b60605f5f846001600160a01b0316846040516143f29190615c3e565b5f60405180830381855af49150503d805f811461442a576040519150601f19603f3d011682016040523d82523d5f602084013e61442f565b606091505b50915091506129d7858383614e73565b5f60608260ff161061445257505f610be1565b506020820151600160ff83161b166001600160601b0316151592915050565b6040516001600160a01b03848116602483015283811660448301526064820183905261130c9186918216906323b872dd906084015b604051602081830303815290604052915060e01b6020820180516001600160e01b038381831617835250505050614ecf565b6001600160a01b0382166145015760405163ec442f0560e01b81525f6004820152602401611b0a565b6112ec5f8383613f6b565b6060815f0180548060200260200160405190810160405280929190818152602001828054801561455957602002820191905f5260205f20905b815481526020019060010190808311614545575b50505050509050919050565b5f825f01828154811061457a5761457a615881565b905f5260205f200154905092915050565b5f5f614595613094565b90505f6145a0611469565b6040516370a0823160e01b81523060048201526001600160a01b0391909116906370a0823190602401602060405180830381865afa1580156145e4573d5f5f3e3d5ffd5b505050506040513d601f19601f820116820180604052508101906146089190615810565b90505f6146205f516020615dc75f395f51905f525490565b90505f81831015614631575f61463b565b61463b8284615a0c565b905086811015614920575f84600b0180548060200260200160405190810160405280929190818152602001828054801561469c57602002820191905f5260205f20905b81546001600160a01b0316815260019091019060200180831161467e575b505050505090505f815190505f5f5b8281101561491b576001886008015f8684815181106146cc576146cc615881565b6020908102919091018101516001600160a01b031682528101919091526040015f205460ff166002811115614703576147036152d6565b14158061473c575061473a84828151811061472057614720615881565b602002602001015189600901614f3b90919063ffffffff16565b155b61491357848b0391505f84828151811061475857614758615881565b60200260200101516001600160a01b031663ac7a1b5b6040518163ffffffff1660e01b8152600401602060405180830381865afa15801561479b573d5f5f3e3d5ffd5b505050506040513d601f19601f820116820180604052508101906147bf9190615810565b90505f838210156147d057816147d2565b835b90508015614902575f8684815181106147ed576147ed615881565b60200260200101516001600160a01b0316634b6d39f5836040518263ffffffff1660e01b815260040161482291815260200190565b6020604051808303815f875af115801561483e573d5f5f3e3d5ffd5b505050506040513d601f19601f820116820180604052508101906148629190615810565b905061486d81613cab565b8b6008015f89878151811061488457614884615881565b60200260200101516001600160a01b03166001600160a01b031681526020019081526020015f205f0160018282829054906101000a90046001600160781b03166148ce9190615c54565b92506101000a8154816001600160781b0302191690836001600160781b0316021790555080886148fe9190615848565b9750505b8c871061491057505061491b565b50505b6001016146ab565b505050505b61492d8a8a8a8a8a614f5c565b9998505050505050505050565b5f5f614944613094565b90505f61494f611469565b6040516370a0823160e01b81523060048201526001600160a01b0391909116906370a0823190602401602060405180830381865afa158015614993573d5f5f3e3d5ffd5b505050506040513d601f19601f820116820180604052508101906149b79190615810565b905083811015614b7e575f82600b01805480602002602001604051908101604052809291908181526020018280548015614a1857602002820191905f5260205f20905b81546001600160a01b031681526001909101906020018083116149fa575b505083519394505f925050505b81811015614b76576001856008015f858481518110614a4657614a46615881565b6020908102919091018101516001600160a01b031682528101919091526040015f205460ff166002811115614a7d57614a7d6152d6565b141580614ab65750614ab4838281518110614a9a57614a9a615881565b602002602001015186600901614f3b90919063ffffffff16565b155b614b6e575f84880390505f848381518110614ad357614ad3615881565b60200260200101516001600160a01b031663ac7a1b5b6040518163ffffffff1660e01b8152600401602060405180830381865afa158015614b16573d5f5f3e3d5ffd5b505050506040513d601f19601f82011682018060405250810190614b3a9190615810565b90505f82821015614b4b5781614b4d565b825b9050614b598188615848565b9650898710614b6a57505050614b76565b5050505b600101614a25565b5050506111af565b509192915050565b5f6115a242615027565b5f838302815f1985870982811083820303915050805f03614bc457838281614bba57614bba615af2565b04925050506111af565b808411614bdb57614bdb6003851502601118615057565b5f848688095f868103871696879004966002600389028118808a02820302808a02820302808a02820302808a02820302808a02820302808a02909103029181900381900460010186841190950394909402919094039290920491909117919091029150509392505050565b5f6002826003811115614c5b57614c5b6152d6565b614c659190615c73565b60ff166001149050919050565b5f818152600183016020526040812054614cb757508154600181810184555f848152602080822090930184905584548482528286019093526040902091909155610be1565b505f610be1565b5f818152600183016020526040812054801561411b575f614ce0600183615a0c565b85549091505f90614cf390600190615a0c565b9050808214614d52575f865f018281548110614d1157614d11615881565b905f5260205f200154905080875f018481548110614d3157614d31615881565b5f918252602080832090910192909255918252600188019052604090208390555b8554869080614d6357614d63615c94565b600190038181905f5260205f20015f90559055856001015f8681526020019081526020015f205f905560019350505050610be1565b614da06141c5565b5f516020615de75f395f51905f527f52c63247e1f47db19d5ce0460030c497f067ca4cebf71ba98eeadabe20bace03614dd98482615cec565b506004810161130c8382615cec565b614df06141c5565b7f0773e532dfede91f04b12a73d3d2acd361424f41f76b4fb79f090161e36b4e005f80614e1c84615068565b9150915081614e2c576012614e2e565b805b83546001600160a81b031916600160a01b60ff92909216919091026001600160a01b031916176001600160a01b0394909416939093179091555050565b610c946141c5565b606082614e8857614e838261513e565b6111af565b8151158015614e9f57506001600160a01b0384163b155b15614ec857604051639996b31560e01b81526001600160a01b0385166004820152602401611b0a565b50806111af565b5f5f60205f8451602086015f885af180614eee576040513d5f823e3d81fd5b50505f513d91508115614f05578060011415614f12565b6001600160a01b0384163b155b1561130c57604051635274afe760e01b81526001600160a01b0385166004820152602401611b0a565b6001600160a01b0381165f90815260018301602052604081205415156111af565b826001600160a01b0316856001600160a01b031614614f8057614f80838683612fec565b815f516020615e475f395f51905f5280545f90614f9e908490615a0c565b90915550614fae90508382615167565b614fc0614fb9611469565b858461519b565b826001600160a01b0316846001600160a01b0316866001600160a01b03167ffbde797d201c681b91056529119e0b02407c7bb96a4a2c75c01fc9667232c8db8585604051615018929190918252602082015260400190565b60405180910390a45050505050565b5f63ffffffff821115613cde576040516306dfcc6560e41b81526020600482015260248101839052604401611b0a565b634e487b715f52806020526024601cfd5b60408051600481526024810182526020810180516001600160e01b031663313ce56760e01b17905290515f918291829182916001600160a01b038716916150ae91615c3e565b5f60405180830381855afa9150503d805f81146150e6576040519150601f19603f3d011682016040523d82523d5f602084013e6150eb565b606091505b50915091508180156150ff57506020815110155b15615132575f818060200190518101906151199190615810565b905060ff8111615130576001969095509350505050565b505b505f9485945092505050565b80511561514e5780518082602001fd5b60405163d6bda27560e01b815260040160405180910390fd5b6001600160a01b03821661519057604051634b637e8f60e11b81525f6004820152602401611b0a565b6112ec825f83613f6b565b6040516001600160a01b0383811660248301526044820183905261146491859182169063a9059cbb906064016144a6565b5f602082840312156151dc575f5ffd5b81356001600160e01b0319811681146111af575f5ffd5b5f60208284031215615203575f5ffd5b5035919050565b6001600160a01b0381168114610f8b575f5ffd5b5f6020828403121561522e575f5ffd5b81356111af8161520a565b602081525f82518060208401528060208501604085015e5f604082850101526040601f19601f83011684010191505092915050565b5f5f6040838503121561527f575f5ffd5b823561528a8161520a565b946020939093013593505050565b5f5f5f606084860312156152aa575f5ffd5b83356152b58161520a565b925060208401356152c58161520a565b929592945050506040919091013590565b634e487b7160e01b5f52602160045260245ffd5b8151604082019060038110615301576153016152d6565b808352506001600160781b03602084015116602083015292915050565b5f5f6040838503121561532f575f5ffd5b50508035926020909101359150565b5f5f6040838503121561534f575f5ffd5b8235915060208301356153618161520a565b809150509250929050565b6020810160048310615380576153806152d6565b91905290565b5f5f83601f840112615396575f5ffd5b5081356001600160401b038111156153ac575f5ffd5b6020830191508360208260051b85010111156153c6575f5ffd5b9250929050565b5f5f602083850312156153de575f5ffd5b82356001600160401b038111156153f3575f5ffd5b6153ff85828601615386565b90969095509350505050565b80356001600160401b0381168114615421575f5ffd5b919050565b5f5f83601f840112615436575f5ffd5b5081356001600160401b0381111561544c575f5ffd5b6020830191508360208285010111156153c6575f5ffd5b5f5f5f5f60608587031215615476575f5ffd5b61547f8561540b565b9350602085013561548f8161520a565b925060408501356001600160401b038111156154a9575f5ffd5b6154b587828801615426565b95989497509550505050565b5f5f602083850312156154d2575f5ffd5b82356001600160401b038111156154e7575f5ffd5b6153ff85828601615426565b5f5f5f60408486031215615505575f5ffd5b61550e8461540b565b925060208401356001600160401b03811115615528575f5ffd5b61553486828701615426565b9497909650939450505050565b5f5f5f60408486031215615553575f5ffd5b833561555e8161520a565b925060208401356001600160401b03811115615578575f5ffd5b61553486828701615386565b5f60208284031215615594575f5ffd5b813561ffff811681146111af575f5ffd5b634e487b7160e01b5f52604160045260245ffd5b5f60408284031280156155ca575f5ffd5b50604080519081016001600160401b03811182821017156155ed576155ed6155a5565b60405282356155fb8161520a565b815260208301356001600160601b0381168114615616575f5ffd5b60208201529392505050565b602080825282518282018190525f918401906040840190835b818110156156625783516001600160a01b031683526020938401939092019160010161563b565b509095945050505050565b5f5f5f6060848603121561567f575f5ffd5b8335925060208401356156918161520a565b915060408401356156a18161520a565b809150509250925092565b5f5f5f604084860312156156be575f5ffd5b83356001600160401b038111156156d3575f5ffd5b6156df86828701615386565b909790965060209590950135949350505050565b5f5f60408385031215615704575f5ffd5b823561570f8161520a565b915060208301356153618161520a565b600181811c9082168061573357607f821691505b602082108103610bb757634e487b7160e01b5f52602260045260245ffd5b5f60208284031215615761575f5ffd5b81516111af8161520a565b5f6020828403121561577c575f5ffd5b8151600481106111af575f5ffd5b634e487b7160e01b5f52601160045260245ffd5b60ff8181168382160190811115610be157610be161578a565b6001600160a01b0386811682528516602082015260806040820181905281018390525f6001600160fb1b038411156157ed575f5ffd5b8360051b808660a085013760ff939093166060830152500160a001949350505050565b5f60208284031215615820575f5ffd5b5051919050565b6001600160a01b039390931683526020830191909152604082015260600190565b80820180821115610be157610be161578a565b6001600160a01b0394909416845260208401929092526040830152606082015260800190565b634e487b7160e01b5f52603260045260245ffd5b8183526020830192505f815f5b848110156158d35781356158b58161520a565b6001600160a01b0316865260209586019591909101906001016158a2565b5093949350505050565b602081525f610e51602083018486615895565b5f5f5f60608486031215615902575f5ffd5b5050815160208301516040909301519094929350919050565b6001815b60018411156159565780850481111561593a5761593a61578a565b600184161561594857908102905b60019390931c92800261591f565b935093915050565b5f8261596c57506001610be1565b8161597857505f610be1565b816001811461598e5760028114615998576159b4565b6001915050610be1565b60ff8411156159a9576159a961578a565b50506001821b610be1565b5060208310610133831016604e8410600b84101617156159d7575081810a610be1565b6159e35f19848461591b565b805f19048211156159f6576159f661578a565b029392505050565b5f6111af60ff84168361595e565b81810381811115610be157610be161578a565b6001600160a01b03861681526080602082018190525f90615a439083018688615895565b905083604083015260ff831660608301529695505050505050565b60208152816020820152818360408301375f818301604090810191909152601f909201601f19160101919050565b6001600160a01b039586168152602081019490945260408401929092529092166060820152608081019190915260a00190565b63ffffffff8281168282160390811115610be157610be161578a565b8082028115828204841417610be157610be161578a565b634e487b7160e01b5f52601260045260245ffd5b5f82615b1457615b14615af2565b500490565b5f82601f830112615b28575f5ffd5b81516001600160401b03811115615b4157615b416155a5565b604051601f8201601f19908116603f011681016001600160401b0381118282101715615b6f57615b6f6155a5565b604052818152838201602001851015615b86575f5ffd5b8160208501602083015e5f918101602001919091529392505050565b5f5f5f5f5f60a08688031215615bb6575f5ffd5b8551615bc18161520a565b6020870151909550615bd28161520a565b6040870151909450615be38161520a565b60608701519093506001600160401b03811115615bfe575f5ffd5b615c0a88828901615b19565b92505060808601516001600160401b03811115615c25575f5ffd5b615c3188828901615b19565b9150509295509295909350565b5f82518060208501845e5f920191825250919050565b6001600160781b038281168282160390811115610be157610be161578a565b5f60ff831680615c8557615c85615af2565b8060ff84160691505092915050565b634e487b7160e01b5f52603160045260245ffd5b601f82111561146457805f5260205f20601f840160051c81016020851015615ccd5750805b601f840160051c820191505b81811015611374575f8155600101615cd9565b81516001600160401b03811115615d0557615d056155a5565b615d1981615d13845461571f565b84615ca8565b6020601f821160018114615d4b575f8315615d345750848201515b5f19600385901b1c1916600184901b178455611374565b5f84815260208120601f198516915b82811015615d7a5787850151825560209485019460019092019101615d5a565b5084821015615d9757868401515f19600387901b60f8161c191681555b50505050600190811b0190555056fec1f6fe24621ce81ec5827caf0253cadb74709b061630e6b55e823717059320000ada5b606f7944319310c49c0f9f30d6272793a991bd2b9c3db804986774670152c63247e1f47db19d5ce0460030c497f067ca4cebf71ba98eeadabe20bace007d6d8b9b446e2d961101099c17de9758016a0de4ad2bd37ba4da59dcd2a1e69a02dd7bc7dec4dceedda775e58dd541e08a116c6c53815c0bd028192f7b62680031b60059595cae2ebab32b53f301cf68fb9c4eef322a90dbc8487ddf3a1979000ada5b606f7944319310c49c0f9f30d6272793a991bd2b9c3db80498677467008c2448210e908fe94c15d486079b8c1daacbaa9169018ef9ea35bf02aeeb558df0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00a2646970667358221220d9f82b10ad215475a868a872baa8488dde9ed45b294ab03be2db76bd44d168a364736f6c634300081b0033000000000000000000000000e613d983e7e8ba1de30fd3b08435cd36764f27fe","recompiledBytecode":"0x60a060405234801561000f575f5ffd5b5060405161605b38038061605b83398101604081905261002e916100fe565b808061003861004c565b6001600160a01b03166080525061012b9050565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00805468010000000000000000900460ff161561009c5760405163f92ee8a960e01b815260040160405180910390fd5b80546001600160401b03908116146100fb5780546001600160401b0319166001600160401b0390811782556040519081527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b50565b5f6020828403121561010e575f5ffd5b81516001600160a01b0381168114610124575f5ffd5b9392505050565b608051615efc61015f5f395f8181610abe01528181610e6c0152818161165a015281816118760152612a500152615efc5ff3fe608060405234801561000f575f5ffd5b50600436106104a6575f3560e01c80637d3fdf011161026e578063b3d7f6b911610156578063ca15c873116100ca578063d905777e1161008f578063d905777e14610b47578063dbb1fc0d14610b5a578063dd62ed3e14610b62578063e045f2e014610b75578063ef8b30f714610b88578063f2fde38b14610b9b575f5ffd5b8063ca15c87314610af3578063cdd5f2c814610b06578063ce96cb7714610b0e578063d547741f14610b21578063d87826c914610b34575f5ffd5b8063bf2460001161011b578063bf24600014610a8b578063c10af4c714610a93578063c39a93eb14610aa6578063c45a015514610ab9578063c63d75b61461071d578063c6e6f59214610ae0575f5ffd5b8063b3d7f6b914610a37578063b460af9414610a4a578063b49a60bb14610a5d578063ba08765214610a65578063ba73664614610a78575f5ffd5b806394bf804d116101ed578063a3246ad3116101b2578063a3246ad3146109a8578063a6f7f5d6146109bb578063a9059cbb146109f1578063acd078e014610a04578063b15fd3b114610a0c578063b19c2c7014610a2f575f5ffd5b806394bf804d1461090857806395d89b411461091b57806398b3abb4146109235780639e51f5cc1461094d578063a217fddf146109a1575f5ffd5b8063887344ff11610233578063887344ff146108b45780638c7f67c1146108c75780638da5cb5b146108da5780639010d07c146108e257806391d14854146108f5575f5ffd5b80637d3fdf01146108525780637f414cf81461086557806382299a5c1461086d578063859844fc14610875578063877887821461088a575f5ffd5b80632f2ff15d1161039157806354fd4d501161031057806367881fd0116102d557806367881fd0146107f65780636e553f6514610809578063709ac1c31461081c57806370a082311461082f578063715018a61461084257806372c5291c1461084a575f5ffd5b806354fd4d501461075757806357ec83cc146107775780635aef467a1461078a5780635e30d7fe1461079d5780635fbbc0d2146107b0575f5ffd5b806338d52e0f1161035657806338d52e0f146106ea5780633c256b981461070a578063402d267d1461071d5780634cdad506146107315780634eddea0614610744575f5ffd5b80632f2ff15d146106775780633015394c1461068a5780633033bc101461069d578063313ce567146106bd57806336568abe146106d7575f5ffd5b80630a28a47711610428578063223e5479116103ed578063223e5479146105f8578063227475de1461060b57806323b872dd1461061e578063248a9ca3146106315780632968676e146106445780632b060a6814610664575f5ffd5b80630a28a477146105a357806312526a48146105b657806315b6c1ea146105c9578063175188e8146105dd57806318160ddd146105f0575f5ffd5b806306e566001161046e57806306e566001461053857806306fdde031461054b57806307a2d13a146105605780630900cf6c14610573578063095ea7b314610590575f5ffd5b806301e1d114146104aa57806301ffc9a7146104c557806304fb78b6146104e8578063052aa633146104f2578063059d9c7514610530575b5f5ffd5b6104b2610bae565b6040519081526020015b60405180910390f35b6104d86104d33660046151cc565b610bbd565b60405190151581526020016104bc565b6104f0610be7565b005b6104b26105003660046151f3565b5f9081527f0ada5b606f7944319310c49c0f9f30d6272793a991bd2b9c3db8049867746702602052604090205490565b6104f0610c7b565b6104f061054636600461521e565b610c96565b610553610d3f565b6040516104bc9190615239565b6104b261056e3660046151f3565b610dff565b61057b610e0a565b604080519283526020830191909152016104bc565b6104d861059e36600461526e565b610e1c565b6104b26105b13660046151f3565b610e33565b6104f06105c436600461521e565b610e59565b5f516020615dc75f395f51905f52546104b2565b6104f06105eb36600461521e565b610f8e565b6104b2611031565b6104f061060636600461521e565b611056565b6104b261061936600461526e565b611160565b6104d861062c366004615298565b611191565b6104b261063f3660046151f3565b6111b6565b61065761065236600461521e565b6111d6565b6040516104bc91906152ea565b6104f061067236600461531e565b61125d565b6104f061068536600461533e565b6112f0565b6104f06106983660046151f3565b611312565b6106b06106ab3660046151f3565b61137b565b6040516104bc919061536c565b6106c56113ef565b60405160ff90911681526020016104bc565b6104f06106e536600461533e565b611431565b6106f2611469565b6040516001600160a01b0390911681526020016104bc565b6104f06107183660046153cd565b61149d565b6104b261072b36600461521e565b505f1990565b6104b261073f3660046151f3565b611508565b6104f061075236600461531e565b611525565b61075f611583565b6040516001600160401b0390911681526020016104bc565b6104f0610785366004615463565b6115a7565b6104f06107983660046154c1565b611748565b6104f06107ab3660046154f3565b6117f0565b6107b8611936565b6040805161ffff96871681526001600160a01b03958616602082015263ffffffff90941690840152931660608201529116608082015260a0016104bc565b6104f0610804366004615541565b61198a565b6104b261081736600461533e565b611a65565b6104f061082a366004615584565b611bcd565b6104b261083d36600461521e565b611c30565b6104f0611c56565b6104b2611c67565b6104f06108603660046155b9565b611c7d565b61057b611d2e565b6104b2611d4b565b61087d611dd3565b6040516104bc9190615622565b610892611e3c565b604080516001600160a01b03909316835261ffff9091166020830152016104bc565b6104f06108c236600461526e565b611e69565b6104f06108d53660046153cd565b611f1a565b6106f2611f85565b6106f26108f036600461531e565b611fad565b6104d861090336600461533e565b611fd2565b6104b261091636600461533e565b612008565b610553612152565b7f0ada5b606f7944319310c49c0f9f30d6272793a991bd2b9c3db80498677467055460ff166104d8565b6104b261095b36600461526e565b6001600160a01b03919091165f9081527f0ada5b606f7944319310c49c0f9f30d6272793a991bd2b9c3db804986774670360209081526040808320938352929052205490565b6104b25f81565b61087d6109b63660046151f3565b612190565b6109c36121b9565b604080516001600160a01b03909416845261ffff909216602084015263ffffffff16908201526060016104bc565b6104d86109ff36600461526e565b6121f6565b61057b612203565b610a14612223565b604080519384526020840192909252908201526060016104bc565b6104f061229c565b6104b2610a453660046151f3565b6123e1565b6104b2610a5836600461566d565b6123ff565b61087d6125a2565b6104b2610a7336600461566d565b6125b7565b6104b2610a863660046151f3565b612746565b6106f261278d565b6104f0610aa1366004615584565b6127a8565b6104f0610ab43660046156ac565b61280b565b6106f27f000000000000000000000000000000000000000000000000000000000000000081565b6104b2610aee3660046151f3565b61288d565b6104b2610b013660046151f3565b612898565b6104f06128bc565b6104b2610b1c36600461521e565b612915565b6104f0610b2f36600461533e565b612928565b6104f0610b4236600461521e565b612944565b6104b2610b5536600461521e565b6129b6565b6104b26129e0565b6104b2610b703660046156f3565b6129f4565b6104f0610b8336600461521e565b612a3d565b6104b2610b963660046151f3565b612b3f565b6104f0610ba936600461521e565b612b5c565b5f610bb7612b96565b50919050565b5f6001600160e01b03198216635a05180f60e01b1480610be15750610be182612c14565b92915050565b5f516020615e075f395f51905f52610bfe81612c48565b7f0ada5b606f7944319310c49c0f9f30d6272793a991bd2b9c3db8049867746705805460ff19811660ff909116159081179091556040805182815290515f516020615e675f395f51905f5292917f622ac9e7dfefe4b395a61df3b2d570aa753a3c9febd3ad24f919322920895fce919081900360200190a1505050565b610c83612c52565b610c8b612c9c565b50610c94612e99565b565b5f516020615e875f395f51905f52610cad81612c48565b6001600160a01b038216610cd45760405163d92e233d60e01b815260040160405180910390fd5b604051620372b360e91b81526001600160a01b0383166004820152730000000000000000000000000000000000000000906306e56600906024015b5f6040518083038186803b158015610d25575f5ffd5b505af4158015610d37573d5f5f3e3d5ffd5b505050505050565b7f52c63247e1f47db19d5ce0460030c497f067ca4cebf71ba98eeadabe20bace0380546060915f516020615de75f395f51905f5291610d7d9061571f565b80601f0160208091040260200160405190810160405280929190818152602001828054610da99061571f565b8015610df45780601f10610dcb57610100808354040283529160200191610df4565b820191905f5260205f20905b815481529060010190602001808311610dd757829003601f168201915b505050505091505090565b5f610be1825f612ebf565b5f5f610e14612b96565b915091509091565b5f33610e29818585612f01565b5060019392505050565b5f5f5f610e3e612b96565b9092509050610e5184828460015f612f0e565b949350505050565b610e61612c52565b610e69612c9c565b507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316638da5cb5b6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610ec6573d5f5f3e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610eea9190615751565b6001600160a01b0316336001600160a01b031614610f1b5760405163d29ecfe160e01b815260040160405180910390fd5b60405163024a4d4960e31b81526001600160a01b0382166004820152730000000000000000000000000000000000000000906312526a48906024015b5f6040518083038186803b158015610f6d575f5ffd5b505af4158015610f7f573d5f5f3e3d5ffd5b50505050610f8b612e99565b50565b610f96612c52565b7f1893e1a169e79f2fe8aa327b1bceb2fede7a1b76a54824f95ea0e737720954ae610fc081612c48565b6040516302ea311d60e31b81526001600160a01b03831660048201527300000000000000000000000000000000000000009063175188e8906024015b5f6040518083038186803b158015611012575f5ffd5b505af4158015611024573d5f5f3e3d5ffd5b5050505050610f8b612e99565b7f52c63247e1f47db19d5ce0460030c497f067ca4cebf71ba98eeadabe20bace025490565b61105e612c52565b7f1893e1a169e79f2fe8aa327b1bceb2fede7a1b76a54824f95ea0e737720954ae61108881612c48565b611090611469565b6001600160a01b0316826001600160a01b03166338d52e0f6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156110d5573d5f5f3e3d5ffd5b505050506040513d601f19601f820116820180604052508101906110f99190615751565b6001600160a01b0316146111205760405163e76673ef60e01b815260040160405180910390fd5b60405163223e547960e01b81526001600160a01b03831660048201527300000000000000000000000000000000000000009063223e547990602401610ffc565b5f805f516020615e675f395f51905f529050610e518484835f015461118487612746565b61118c6113ef565b612f5c565b5f3361119e858285612fec565b6111a9858585613037565b60019150505b9392505050565b5f9081525f516020615e275f395f51905f52602052604090206001015490565b604080518082019091525f80825260208201526111f1613094565b6001600160a01b0383165f90815260089190910160205260409081902081518083019092528054829060ff16600281111561122e5761122e6152d6565b600281111561123f5761123f6152d6565b8152905461010090046001600160781b031660209091015292915050565b611265612c52565b5f516020615e075f395f51905f5261127c81612c48565b604051630560c14d60e31b8152600481018490526024810183905273000000000000000000000000000000000000000090632b060a68906044015b5f6040518083038186803b1580156112cd575f5ffd5b505af41580156112df573d5f5f3e3d5ffd5b50505050506112ec612e99565b5050565b6112f9826111b6565b61130281612c48565b61130c83836130b8565b50505050565b60405163887344ff60e01b8152336004820152602481018290527300000000000000000000000000000000000000009063887344ff906044015b5f6040518083038186803b158015611362575f5ffd5b505af4158015611374573d5f5f3e3d5ffd5b5050505050565b6040516303033bc160e41b8152600481018290525f9073000000000000000000000000000000000000000090633033bc1090602401602060405180830381865af41580156113cb573d5f5f3e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610be1919061576c565b5f807f0773e532dfede91f04b12a73d3d2acd361424f41f76b4fb79f090161e36b4e0090505f815461142b9190600160a01b900460ff1661579e565b91505090565b6001600160a01b038116331461145a5760405163334bd91960e11b815260040160405180910390fd5b61146482826130fa565b505050565b5f807f0773e532dfede91f04b12a73d3d2acd361424f41f76b4fb79f090161e36b4e005b546001600160a01b031692915050565b806114bb5760405163dae42f1960e01b815260040160405180910390fd5b73000000000000000000000000000000000000000063bed0dc336114dd611469565b3385856114e86113ef565b6040518663ffffffff1660e01b8152600401610d0f9594939291906157b7565b5f5f5f611513612b96565b9092509050610e518482845f80613133565b61152d612c52565b5f516020615e075f395f51905f5261154481612c48565b60405163276ef50360e11b8152600481018490526024810183905273000000000000000000000000000000000000000090634eddea06906044016112b7565b5f6115a25f516020615ea75f395f51905f52546001600160401b031690565b905090565b5f516020615ea75f395f51905f52546001600160401b0316156115dc5760405162dc149f60e41b815260040160405180910390fd5b5f516020615ea75f395f51905f528054859190600160401b900460ff1680611611575080546001600160401b03808416911610155b1561162f5760405163f92ee8a960e01b815260040160405180910390fd5b805468ffffffffffffffffff19166001600160401b03831617600160401b1781556001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000166116813390565b6001600160a01b0316146116a857604051631966391b60e11b815260040160405180910390fd5b6116b0613178565b6116b985613188565b6116f9868686868080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061319992505050565b805460ff60401b191681556040516001600160401b03831681527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a1505050505050565b61175282826131b2565b5f516020615dc75f395f51905f5254611769611469565b6040516370a0823160e01b81523060048201526001600160a01b0391909116906370a0823190602401602060405180830381865afa1580156117ad573d5f5f3e3d5ffd5b505050506040513d601f19601f820116820180604052508101906117d19190615810565b10156112ec57604051631e9acf1760e31b815260040160405180910390fd5b6117f8612c52565b5f516020615ea75f395f51905f528054849190600160401b900460ff168061182d575080546001600160401b03808416911610155b1561184b5760405163f92ee8a960e01b815260040160405180910390fd5b805468ffffffffffffffffff19166001600160401b03831617600160401b1781556001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001661189d3390565b6001600160a01b0316146118c457604051631966391b60e11b815260040160405180910390fd5b6118e5610f8b5f516020615ea75f395f51905f52546001600160401b031690565b805460ff60401b191681556040516001600160401b03831681527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15050611464612e99565b5f5f5f5f5f5f611944613094565b6005810154600690910154600160a01b80830461ffff9081169a6001600160a01b038086169b50600160b01b90950463ffffffff16995091830416965091169350915050565b5f516020615e875f395f51905f526119a181612c48565b6001600160a01b0384166119c85760405163d92e233d60e01b815260040160405180910390fd5b816119e65760405163dae42f1960e01b815260040160405180910390fd5b73000000000000000000000000000000000000000063bed0dc33611a08611469565b868686611a136113ef565b6040518663ffffffff1660e01b8152600401611a339594939291906157b7565b5f6040518083038186803b158015611a49575f5ffd5b505af4158015611a5b573d5f5f3e3d5ffd5b5050505050505050565b5f611a6e612c52565b611a76612c9c565b506001600160a01b038216611a9e57604051631e4ec46b60e01b815260040160405180910390fd5b5f611aa7613094565b60408051808201909152600c91909101546001600160a01b0381168252600160a01b90046001600160601b0316602082015290505f611ae46129e0565b9050611af1826001613301565b15611b0357611b038233878785613335565b5f19611b13565b60405180910390fd5b5f611b2a611b1f611031565b8890855f6001612f0e565b90505f5f611b36611d2e565b909250905081611b46868b615848565b11158015611b545750808910155b338a838590919293611b7d57604051630cd147c960e31b8152600401611b0a949392919061585b565b50505050611b93611b8b3390565b898b866133ac565b611b9e866002613301565b15611bbd57611bbd338a858b611bb26129e0565b8b9493929190613449565b5090945050505050610be1612e99565b611bd5612c52565b5f516020615e075f395f51905f52611bec81612c48565b611bf4612c9c565b5060405163709ac1c360e01b815261ffff831660048201527300000000000000000000000000000000000000009063709ac1c390602401610ffc565b6001600160a01b03165f9081525f516020615de75f395f51905f52602052604090205490565b611c5e6134b5565b610c945f6134e7565b5f5f516020615e675f395f51905f525b54919050565b611c85612c52565b7f233f5edd266b4c1e845863cec156a09138880d786ad44f83338de5088db7bf00611caf81612c48565b5f611cb8613094565b8351602080860180516001600160601b03908116600160a01b026001600160a01b03909416938417600c86015560408051948552915116918301919091529192507fdf54464c1716ef505e744140e0952c7818e8fca244bda3dae5d2f971860aef0d910160405180910390a15050610f8b612e99565b5f5f5f611d39613094565b80546002909101549094909350915050565b5f5f611d55613094565b90505f611d6482600901613557565b90505f5b8151811015611dcd57826008015f838381518110611d8857611d88615881565b6020908102919091018101516001600160a01b031682528101919091526040015f2054611dc39061010090046001600160781b031685615848565b9350600101611d68565b50505090565b6060611ddd613094565b600b01805480602002602001604051908101604052809291908181526020018280548015611e3257602002820191905f5260205f20905b81546001600160a01b03168152600190910190602001808311611e14575b5050505050905090565b5f5f5f611e47613094565b600601546001600160a01b03811694600160a01b90910461ffff169350915050565b5f516020615e875f395f51905f52611e8081612c48565b6001600160a01b038316611ea75760405163d92e233d60e01b815260040160405180910390fd5b60405163887344ff60e01b81526001600160a01b0384166004820152602481018390527300000000000000000000000000000000000000009063887344ff906044015f6040518083038186803b158015611eff575f5ffd5b505af4158015611f11573d5f5f3e3d5ffd5b50505050505050565b611f22612c52565b7fdcac51f5d253e2787a458cfb1d6b8faf248cf16367710f9e3b6bd5644d23f8db611f4c81612c48565b604051638c7f67c160e01b815273000000000000000000000000000000000000000090638c7f67c1906112b790869086906004016158dd565b5f807f9016d09d72d40fdae2fd8ceac6b6234c7706214fd39c1cd1e609a0528c19930061148d565b5f8281525f516020615da75f395f51905f52602081905260408220610e519084613563565b5f9182525f516020615e275f395f51905f52602090815260408084206001600160a01b0393909316845291905290205460ff1690565b5f612011612c52565b612019612c9c565b506001600160a01b03821661204157604051631e4ec46b60e01b815260040160405180910390fd5b5f61204a613094565b60408051808201909152600c91909101546001600160a01b0381168252600160a01b90046001600160601b0316602082015290505f6120876129e0565b9050612094826003613301565b156120a6576120a6823387878561356e565b5f195f6120bf6120b4611031565b889085600180613133565b90505f5f6120cb611d2e565b9092509050816120db8685615848565b111580156120e95750808310155b338483859091929361211257604051630cd147c960e31b8152600401611b0a949392919061585b565b505050506121286121203390565b89858c6133ac565b612133866004613301565b15611bbd57611bbd33848b8b6121476129e0565b8b94939291906135b5565b7f52c63247e1f47db19d5ce0460030c497f067ca4cebf71ba98eeadabe20bace0480546060915f516020615de75f395f51905f5291610d7d9061571f565b5f8181525f516020615da75f395f51905f5260208190526040909120606091906111af90613557565b5f5f5f5f6121c5613094565b600501546001600160a01b03811695600160a01b820461ffff169550600160b01b90910463ffffffff169350915050565b5f33610e29818585613037565b5f5f5f61220e613094565b90508060010154816003015492509250509091565b5f5f5f73000000000000000000000000000000000000000063b15fd3b16040518163ffffffff1660e01b8152600401606060405180830381865af415801561226d573d5f5f3e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061229191906158f0565b925092509250909192565b6122a4612c9c565b506122ad612c52565b5f516020615e875f395f51905f526122c481612c48565b5f6122cd6113ef565b90507300000000000000000000000000000000000000006323818cb961230e6122f784600a6159fe565b6122ff611031565b6123076129e0565b5f5f613133565b612316611469565b6040516370a0823160e01b81523060048201526001600160a01b0391909116906370a0823190602401602060405180830381865afa15801561235a573d5f5f3e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061237e9190615810565b6040516001600160e01b031960e085901b1681526004810192909252602482015260ff841660448201526064015f6040518083038186803b1580156123c1575f5ffd5b505af41580156123d3573d5f5f3e3d5ffd5b505050505050610c94612e99565b5f5f5f6123ec612b96565b9092509050610e5184828460015f613133565b5f612408612c52565b612410612c9c565b506001600160a01b03831661243857604051631e4ec46b60e01b815260040160405180910390fd5b5f612441613094565b60408051808201909152600c91909101546001600160a01b0381168252600160a01b90046001600160601b0316602082015290505f61247e6129e0565b905061248b826005613301565b1561249e5761249e8233888888866135ec565b5f6124a7611031565b90505f6124c382845f5f6124ba8b611c30565b93929190613133565b90505f6124d4898486600180612f0e565b9050818911806124ef5750886124ed338a8a8d8661363b565b105b1561251357868983604051633fa733bb60e21b8152600401611b0a93929190615827565b5f5f61251d612203565b91509150818b111580156125315750808b10155b338c83859091929361255a57604051630cd147c960e31b8152600401611b0a949392919061585b565b5050505061257260068861330190919063ffffffff16565b1561259157612591338c858d6125866129e0565b8c9493929190613796565b5090955050505050506111af612e99565b60606115a26125af613094565b600901613557565b5f6125c0612c52565b6125c8612c9c565b506001600160a01b0383166125f057604051631e4ec46b60e01b815260040160405180910390fd5b5f6125f9613094565b60408051808201909152600c91909101546001600160a01b0381168252600160a01b90046001600160601b0316602082015290505f6126366129e0565b9050612643826007613301565b15612656576126568233888888866137cd565b5f61266085611c30565b90505f61267961266e611031565b8990855f6001613133565b905081881180612694575080612692338989858d61363b565b105b156126b857858883604051632e52afbb60e21b8152600401611b0a93929190615827565b5f5f6126c2612203565b915091508183111580156126d65750808310155b33848385909192936126ff57604051630cd147c960e31b8152600401611b0a949392919061585b565b5050505061271760088761330190919063ffffffff16565b156127365761273633848c8c61272b6129e0565b8b949392919061381f565b50909450505050506111af612e99565b5f8181527f0ada5b606f7944319310c49c0f9f30d6272793a991bd2b9c3db8049867746704602052604081205480820361278257505f92915050565b6111af600182615a0c565b5f612796613094565b600401546001600160a01b0316919050565b6127b0612c52565b5f516020615e075f395f51905f526127c781612c48565b6127cf612c9c565b5060405163c10af4c760e01b815261ffff831660048201527300000000000000000000000000000000000000009063c10af4c790602401610ffc565b5f516020615e875f395f51905f5261282281612c48565b8261284057604051636d2d9ea160e11b815260040160405180910390fd5b730000000000000000000000000000000000000000633e19d9fd612862611469565b86868661286d6113ef565b6040518663ffffffff1660e01b8152600401611a33959493929190615a1f565b5f610be1825f613856565b5f8181525f516020615da75f395f51905f526020819052604082206111af90613898565b5f516020615e875f395f51905f526128d381612c48565b73000000000000000000000000000000000000000063cdd5f2c86040518163ffffffff1660e01b81526004015f6040518083038186803b158015611362575f5ffd5b5f61291f826138a1565b50909392505050565b612931826111b6565b61293a81612c48565b61130c83836130fa565b61294c612c52565b7f1893e1a169e79f2fe8aa327b1bceb2fede7a1b76a54824f95ea0e737720954ae61297681612c48565b60405163d87826c960e01b81526001600160a01b03831660048201527300000000000000000000000000000000000000009063d87826c990602401610ffc565b5f5f5f5f6129c3856138a1565b919450925090506129d78382845f80612f0e565b95945050505050565b5f5f516020615e475f395f51905f52611c77565b6001600160a01b039182165f9081527f52c63247e1f47db19d5ce0460030c497f067ca4cebf71ba98eeadabe20bace016020908152604080832093909416825291909152205490565b612a45612c52565b612a4d612c9c565b507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316638da5cb5b6040518163ffffffff1660e01b8152600401602060405180830381865afa158015612aaa573d5f5f3e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612ace9190615751565b6001600160a01b0316336001600160a01b031614612aff5760405163d29ecfe160e01b815260040160405180910390fd5b6040516307022f9760e51b81526001600160a01b03821660048201527300000000000000000000000000000000000000009063e045f2e090602401610f57565b5f5f5f612b4a612b96565b9092509050610e518482845f80612f0e565b612b646134b5565b6001600160a01b038116612b8d57604051631e4fbdf760e01b81525f6004820152602401611b0a565b610f8b816134e7565b5f5f5f5f612ba26138e9565b915091505f612baf611031565b90505f8284612bbc6129e0565b612bc69190615848565b612bd09190615a0c565b90505f612bdc8261395f565b509050612be98184615848565b92505f612bf883878787613a6f565b509050612c058185615848565b92989297509195505050505050565b5f6001600160e01b03198216637965db0b60e01b1480610be157506301ffc9a760e01b6001600160e01b0319831614610be1565b610f8b8133613b1a565b7f9b779b17422d0df92223018b32b4d1fa46e071723d6817e2486d003becc55f00805460011901612c9657604051633ee5aeb560e01b815260040160405180910390fd5b60029055565b5f5f612ca6613094565b90505f5f5f612cb784600901613557565b80519091505f5b81811015612e09575f5f5f612ceb868581518110612cde57612cde615881565b6020026020010151613b53565b925092509250825f141580612cff57508115155b15612dfb57612d0d81613cab565b896008015f888781518110612d2457612d24615881565b60200260200101516001600160a01b03166001600160a01b031681526020019081526020015f205f0160016101000a8154816001600160781b0302191690836001600160781b031602179055508288612d7d9190615848565b9750612d898288615848565b9650858481518110612d9d57612d9d615881565b60200260200101516001600160a01b03167fe11daacdf6490767a003932f47d7701165c31eb98ae03312422400522e33b11d828585604051612df2939291909283526020830191909152604082015260600190565b60405180910390a25b505050806001019050612cbe565b5050505f612e215f516020615e475f395f51905f5290565b90505f8284835f0154612e349190615848565b612e3e9190615a0c565b8083559050612e4c81613ce2565b612e57818585613da8565b60408051858152602081018590527ffe2ebf53456a69d7b70affc98b9021c791a9bce3af6fa5d24dfbc2db0f817b54910160405180910390a195945050505050565b60017f9b779b17422d0df92223018b32b4d1fa46e071723d6817e2486d003becc55f0055565b5f5f5f612eca6138e9565b915091506129d7612ed9611031565b8284612ee36129e0565b612eed9190615848565b612ef79190615a0c565b879190875f613133565b6114648383836001613e46565b5f612f31612f1d866001615848565b612f28866001615848565b88919086613f29565b9050818015612f3e575080155b156129d757604051633999656760e01b815260040160405180910390fd5b5f821580612f6a5750838510155b15612f7657505f6129d7565b6001600160a01b0386165f9081527f0ada5b606f7944319310c49c0f9f30d6272793a991bd2b9c3db80498677467036020908152604080832088845290915281205490819003612fc9575f9150506129d7565b612fe184612fd885600a6159fe565b8391905f613f29565b979650505050505050565b5f612ff784846129f4565b90505f1981101561130c578181101561302957828183604051637dc7a0d960e11b8152600401611b0a93929190615827565b61130c84848484035f613e46565b6001600160a01b03831661306057604051634b637e8f60e11b81525f6004820152602401611b0a565b6001600160a01b0382166130895760405163ec442f0560e01b81525f6004820152602401611b0a565b611464838383613f6b565b7fe74d828616eceb28be4a8cf3f9eeee868e1f44ce928ee17a9d7ad296fa52be0090565b5f5f516020615da75f395f51905f52816130d28585614083565b90508015610e51575f8581526020839052604090206130f19085614124565b50949350505050565b5f5f516020615da75f395f51905f52816131148585614138565b90508015610e51575f8581526020839052604090206130f190856141b1565b5f61314d613142856001615848565b612f28876001615848565b905081801561315a575080155b156129d7576040516396d8043360e01b815260040160405180910390fd5b6131806141c5565b610c946141fb565b6131906141c5565b610f8b81614203565b6131a483838361420b565b606081015161130c81614388565b6131ba612c52565b7fdcac51f5d253e2787a458cfb1d6b8faf248cf16367710f9e3b6bd5644d23f8db6131e481612c48565b6131ec612c9c565b505f638f5d2a4760e01b8484604051602401613209929190615a5e565b60408051601f198184030181529190526020810180516001600160e01b03166001600160e01b03199093169290921790915290506132588161324961278d565b6001600160a01b0316906143d6565b505f516020615dc75f395f51905f5254613270611469565b6040516370a0823160e01b81523060048201526001600160a01b0391909116906370a0823190602401602060405180830381865afa1580156132b4573d5f5f3e3d5ffd5b505050506040513d601f19601f820116820180604052508101906132d89190615810565b10156132f757604051631e9acf1760e31b815260040160405180910390fd5b50506112ec612e99565b5f61330c838361443f565b1580613320575082516001600160a01b0316155b1561332c57505f610be1565b50600192915050565b84516040516384a88ad560e01b81526001600160a01b03868116600483015260248201869052848116604483015260648201849052909116906384a88ad5906084015b5f604051808303815f87803b15801561338f575f5ffd5b505af11580156133a1573d5f5f3e3d5ffd5b505050505050505050565b6133bf6133b7611469565b853085614471565b815f516020615e475f395f51905f5280545f906133dd908490615848565b909155506133ed905083826144d8565b826001600160a01b0316846001600160a01b03167fdcbc1c05240f31ff3ad067ef1ee35ce4997762752e3a095284754544f4c709d7848460405161343b929190918252602082015260400190565b60405180910390a350505050565b8551604051635121af7560e01b81526001600160a01b0390911690635121af75906134809088908890889088908890600401615a8c565b5f604051808303815f87803b158015613497575f5ffd5b505af11580156134a9573d5f5f3e3d5ffd5b50505050505050505050565b336134be611f85565b6001600160a01b031614610c945760405163118cdaa760e01b8152336004820152602401611b0a565b7f9016d09d72d40fdae2fd8ceac6b6234c7706214fd39c1cd1e609a0528c19930080546001600160a01b031981166001600160a01b03848116918217845560405192169182907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0905f90a3505050565b60605f6111af8361450c565b5f6111af8383614565565b84516040516398377f0360e01b81526001600160a01b03868116600483015260248201869052848116604483015260648201849052909116906398377f0390608401613378565b855160405163b4e1167360e01b81526001600160a01b039091169063b4e11673906134809088908890889088908890600401615a8c565b855160405163dd3a450b60e01b81526001600160a01b0387811660048301526024820187905285811660448301528481166064830152608482018490529091169063dd3a450b9060a401613480565b5f5f821161365c57604051639811e0c760e01b815260040160405180910390fd5b7f0ada5b606f7944319310c49c0f9f30d6272793a991bd2b9c3db8049867746705545f516020615e675f395f51905f529060ff161561378157846001600160a01b0316876001600160a01b0316146136b9576136b9858885612fec565b6136c4853085613037565b80546001600160a01b0387165f9081526003830160209081526040808320848452909152812080548692906136fa908490615848565b90915550505f8181526002830160205260408120805486929061371e908490615848565b909155505060408051868152602081018690529081018290526001600160a01b0380881691898216918b16907f0cddd4f59848797de89e03b9d9afb2b9ffbb42b032a976132b69b165a988d91d9060600160405180910390a484925050506129d7565b61378e878787878761458b565b9150506129d7565b85516040516328ea381560e21b81526001600160a01b039091169063a3a8e054906134809088908890889088908890600401615a8c565b8551604051600162c2788160e01b031981526001600160a01b0387811660048301526024820187905285811660448301528481166064830152608482018490529091169063ff3d877f9060a401613480565b855160405163a4940aed60e01b81526001600160a01b039091169063a4940aed906134809088908890889088908890600401615a8c565b5f5f5f6138616138e9565b915091506129d7613870611031565b828461387a6129e0565b6138849190615848565b61388e9190615a0c565b879190875f612f0e565b5f610be1825490565b5f5f5f5f6138ae85611c30565b90505f5f6138ba612b96565b90925090505f6138cd8483858480613133565b90506138d88161493a565b9650919450925050505b9193909250565b5f5f5f6138f76125af613094565b80519091505f5b81811015613958575f5f61391d858481518110612cde57612cde615881565b5091509150815f14158061393057508015155b1561394e5761393f8288615848565b965061394b8187615848565b95505b50506001016138fe565b5050509091565b5f5f5f61396a613094565b6005810154909150600160a01b900461ffff165f0361398e57505f93849350915050565b5f613997614b86565b600583015490915063ffffffff600160b01b90910481169082168190036139c557505f958695509350505050565b5f6139d08284615abf565b600585015463ffffffff9190911691505f90612710906139fb90600160a01b900461ffff168a615adb565b613a059190615b06565b90506301e13380613a168383615adb565b613a209190615b06565b9550855f03613a3857505f9788975095505050505050565b87861115613a44578795505b613a63613a4f611031565b613a59888b615a0c565b8891905f80612f0e565b96505050505050915091565b5f5f5f613a7a613094565b6006810154909150600160a01b900461ffff161580613a995750858510155b15613aaa575f5f9250925050613b11565b5f613ab58688615a0c565b60068301549091505f90613ad8908390600160a01b900461ffff16612710614b90565b9050805f03613aef575f5f94509450505050613b11565b5f613b0887613afe848d615a0c565b8491905f80612f0e565b95509093505050505b94509492505050565b613b248282611fd2565b6112ec5760405163e2517d3f60e01b81526001600160a01b038216600482015260248101839052604401611b0a565b5f5f5f5f613b5f613094565b6001600160a01b0386165f9081526008820160205260409020549091506001600160781b036101008204169060019060ff166002811115613ba257613ba26152d6565b14613bb7575f5f5f94509450945050506138e2565b5f866001600160a01b031663538a018f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015613bf4573d5f5f3e3d5ffd5b505050506040513d601f19601f82011682018060405250810190613c189190615810565b90506001600160781b03811015613c2f5780613c38565b6001600160781b035b90505f5f836001600160781b03168303613c5b57909650945092506138e2915050565b836001600160781b0316831115613c8657613c7f6001600160781b03851684615a0c565b9150613c9c565b613c99836001600160781b038616615a0c565b90505b90989097509095509350505050565b5f6001600160781b03821115613cde576040516306dfcc6560e41b81526078600482015260248101839052604401611b0a565b5090565b5f5f613ced8361395f565b915091505f613cfa613094565b9050613d04614b86565b60058201805463ffffffff92909216600160b01b0263ffffffff60b01b19831681179091556001600160a01b039081169116178315801590613d4e57506001600160a01b03811615155b1561137457613d5d81856144d8565b60408051858152602081018590526001600160a01b038316917fe0a6c0d2df19a90b154d31618f7d6897e3b5bc6d509af23fb86c4f5395d31b8d910160405180910390a25050505050565b5f5f613dbd858585613db8611031565b613a6f565b91509150815f03613dcf575050505050565b5f613dd8613094565b60068101549091506001600160a01b03168015611f1157613df981856144d8565b60408051858152602081018590526001600160a01b038316917f71dd3803aa05c93645074cd325b45c8dd9dcc3396f538083f54611df04ebe9a9910160405180910390a250505050505050565b5f516020615de75f395f51905f526001600160a01b038516613e7d5760405163e602df0560e01b81525f6004820152602401611b0a565b6001600160a01b038416613ea657604051634a1406b160e11b81525f6004820152602401611b0a565b6001600160a01b038086165f9081526001830160209081526040808320938816835292905220839055811561137457836001600160a01b0316856001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92585604051613f1a91815260200190565b60405180910390a35050505050565b5f613f56613f3683614c46565b8015613f5157505f8480613f4c57613f4c615af2565b868809115b151590565b613f61868686614b90565b6129d79190615848565b5f516020615de75f395f51905f526001600160a01b038416613fa55781816002015f828254613f9a9190615848565b909155506140029050565b6001600160a01b0384165f9081526020829052604090205482811015613fe45784818460405163391434e360e21b8152600401611b0a93929190615827565b6001600160a01b0385165f9081526020839052604090209083900390555b6001600160a01b03831661402057600281018054839003905561403e565b6001600160a01b0383165f9081526020829052604090208054830190555b826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8460405161343b91815260200190565b5f5f516020615e275f395f51905f5261409c8484611fd2565b61411b575f848152602082815260408083206001600160a01b03871684529091529020805460ff191660011790556140d13390565b6001600160a01b0316836001600160a01b0316857f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a46001915050610be1565b5f915050610be1565b5f6111af836001600160a01b038416614c72565b5f5f516020615e275f395f51905f526141518484611fd2565b1561411b575f848152602082815260408083206001600160a01b0387168085529252808320805460ff1916905551339287917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a46001915050610be1565b5f6111af836001600160a01b038416614cbe565b5f516020615ea75f395f51905f5254600160401b900460ff16610c9457604051631afcd79f60e31b815260040160405180910390fd5b612e996141c5565b612b646141c5565b5f5f5f5f5f858060200190518101906142249190615ba2565b9398509196509450925090506001600160a01b03851661425757604051638f16646d60e01b815260040160405180910390fd5b6001600160a01b03841661427e57604051636448d6e960e11b815260040160405180910390fd5b6001600160a01b0383166142a5576040516320fb0c8560e21b815260040160405180910390fd5b5f8251116142c65760405163430f13b360e01b815260040160405180910390fd5b5f8151116142e75760405163010466f160e21b815260040160405180910390fd5b6142f18282614d98565b6142fa84614de8565b614302614e6b565b60408051636da12bef60e01b81526001600160a01b03808816600483015285166024820152336044820152905173000000000000000000000000000000000000000091636da12bef916064808301925f929190829003018186803b158015614368575f5ffd5b505af415801561437a573d5f5f3e3d5ffd5b505050505050505050505050565b6143906141c5565b60405163b64bdb0160e01b81526001600160a01b03821660048201523360248201527300000000000000000000000000000000000000009063b64bdb019060440161134c565b60605f5f846001600160a01b0316846040516143f29190615c3e565b5f60405180830381855af49150503d805f811461442a576040519150601f19603f3d011682016040523d82523d5f602084013e61442f565b606091505b50915091506129d7858383614e73565b5f60608260ff161061445257505f610be1565b506020820151600160ff83161b166001600160601b0316151592915050565b6040516001600160a01b03848116602483015283811660448301526064820183905261130c9186918216906323b872dd906084015b604051602081830303815290604052915060e01b6020820180516001600160e01b038381831617835250505050614ecf565b6001600160a01b0382166145015760405163ec442f0560e01b81525f6004820152602401611b0a565b6112ec5f8383613f6b565b6060815f0180548060200260200160405190810160405280929190818152602001828054801561455957602002820191905f5260205f20905b815481526020019060010190808311614545575b50505050509050919050565b5f825f01828154811061457a5761457a615881565b905f5260205f200154905092915050565b5f5f614595613094565b90505f6145a0611469565b6040516370a0823160e01b81523060048201526001600160a01b0391909116906370a0823190602401602060405180830381865afa1580156145e4573d5f5f3e3d5ffd5b505050506040513d601f19601f820116820180604052508101906146089190615810565b90505f6146205f516020615dc75f395f51905f525490565b90505f81831015614631575f61463b565b61463b8284615a0c565b905086811015614920575f84600b0180548060200260200160405190810160405280929190818152602001828054801561469c57602002820191905f5260205f20905b81546001600160a01b0316815260019091019060200180831161467e575b505050505090505f815190505f5f5b8281101561491b576001886008015f8684815181106146cc576146cc615881565b6020908102919091018101516001600160a01b031682528101919091526040015f205460ff166002811115614703576147036152d6565b14158061473c575061473a84828151811061472057614720615881565b602002602001015189600901614f3b90919063ffffffff16565b155b61491357848b0391505f84828151811061475857614758615881565b60200260200101516001600160a01b031663ac7a1b5b6040518163ffffffff1660e01b8152600401602060405180830381865afa15801561479b573d5f5f3e3d5ffd5b505050506040513d601f19601f820116820180604052508101906147bf9190615810565b90505f838210156147d057816147d2565b835b90508015614902575f8684815181106147ed576147ed615881565b60200260200101516001600160a01b0316634b6d39f5836040518263ffffffff1660e01b815260040161482291815260200190565b6020604051808303815f875af115801561483e573d5f5f3e3d5ffd5b505050506040513d601f19601f820116820180604052508101906148629190615810565b905061486d81613cab565b8b6008015f89878151811061488457614884615881565b60200260200101516001600160a01b03166001600160a01b031681526020019081526020015f205f0160018282829054906101000a90046001600160781b03166148ce9190615c54565b92506101000a8154816001600160781b0302191690836001600160781b0316021790555080886148fe9190615848565b9750505b8c871061491057505061491b565b50505b6001016146ab565b505050505b61492d8a8a8a8a8a614f5c565b9998505050505050505050565b5f5f614944613094565b90505f61494f611469565b6040516370a0823160e01b81523060048201526001600160a01b0391909116906370a0823190602401602060405180830381865afa158015614993573d5f5f3e3d5ffd5b505050506040513d601f19601f820116820180604052508101906149b79190615810565b905083811015614b7e575f82600b01805480602002602001604051908101604052809291908181526020018280548015614a1857602002820191905f5260205f20905b81546001600160a01b031681526001909101906020018083116149fa575b505083519394505f925050505b81811015614b76576001856008015f858481518110614a4657614a46615881565b6020908102919091018101516001600160a01b031682528101919091526040015f205460ff166002811115614a7d57614a7d6152d6565b141580614ab65750614ab4838281518110614a9a57614a9a615881565b602002602001015186600901614f3b90919063ffffffff16565b155b614b6e575f84880390505f848381518110614ad357614ad3615881565b60200260200101516001600160a01b031663ac7a1b5b6040518163ffffffff1660e01b8152600401602060405180830381865afa158015614b16573d5f5f3e3d5ffd5b505050506040513d601f19601f82011682018060405250810190614b3a9190615810565b90505f82821015614b4b5781614b4d565b825b9050614b598188615848565b9650898710614b6a57505050614b76565b5050505b600101614a25565b5050506111af565b509192915050565b5f6115a242615027565b5f838302815f1985870982811083820303915050805f03614bc457838281614bba57614bba615af2565b04925050506111af565b808411614bdb57614bdb6003851502601118615057565b5f848688095f868103871696879004966002600389028118808a02820302808a02820302808a02820302808a02820302808a02820302808a02909103029181900381900460010186841190950394909402919094039290920491909117919091029150509392505050565b5f6002826003811115614c5b57614c5b6152d6565b614c659190615c73565b60ff166001149050919050565b5f818152600183016020526040812054614cb757508154600181810184555f848152602080822090930184905584548482528286019093526040902091909155610be1565b505f610be1565b5f818152600183016020526040812054801561411b575f614ce0600183615a0c565b85549091505f90614cf390600190615a0c565b9050808214614d52575f865f018281548110614d1157614d11615881565b905f5260205f200154905080875f018481548110614d3157614d31615881565b5f918252602080832090910192909255918252600188019052604090208390555b8554869080614d6357614d63615c94565b600190038181905f5260205f20015f90559055856001015f8681526020019081526020015f205f905560019350505050610be1565b614da06141c5565b5f516020615de75f395f51905f527f52c63247e1f47db19d5ce0460030c497f067ca4cebf71ba98eeadabe20bace03614dd98482615cec565b506004810161130c8382615cec565b614df06141c5565b7f0773e532dfede91f04b12a73d3d2acd361424f41f76b4fb79f090161e36b4e005f80614e1c84615068565b9150915081614e2c576012614e2e565b805b83546001600160a81b031916600160a01b60ff92909216919091026001600160a01b031916176001600160a01b0394909416939093179091555050565b610c946141c5565b606082614e8857614e838261513e565b6111af565b8151158015614e9f57506001600160a01b0384163b155b15614ec857604051639996b31560e01b81526001600160a01b0385166004820152602401611b0a565b50806111af565b5f5f60205f8451602086015f885af180614eee576040513d5f823e3d81fd5b50505f513d91508115614f05578060011415614f12565b6001600160a01b0384163b155b1561130c57604051635274afe760e01b81526001600160a01b0385166004820152602401611b0a565b6001600160a01b0381165f90815260018301602052604081205415156111af565b826001600160a01b0316856001600160a01b031614614f8057614f80838683612fec565b815f516020615e475f395f51905f5280545f90614f9e908490615a0c565b90915550614fae90508382615167565b614fc0614fb9611469565b858461519b565b826001600160a01b0316846001600160a01b0316866001600160a01b03167ffbde797d201c681b91056529119e0b02407c7bb96a4a2c75c01fc9667232c8db8585604051615018929190918252602082015260400190565b60405180910390a45050505050565b5f63ffffffff821115613cde576040516306dfcc6560e41b81526020600482015260248101839052604401611b0a565b634e487b715f52806020526024601cfd5b60408051600481526024810182526020810180516001600160e01b031663313ce56760e01b17905290515f918291829182916001600160a01b038716916150ae91615c3e565b5f60405180830381855afa9150503d805f81146150e6576040519150601f19603f3d011682016040523d82523d5f602084013e6150eb565b606091505b50915091508180156150ff57506020815110155b15615132575f818060200190518101906151199190615810565b905060ff8111615130576001969095509350505050565b505b505f9485945092505050565b80511561514e5780518082602001fd5b60405163d6bda27560e01b815260040160405180910390fd5b6001600160a01b03821661519057604051634b637e8f60e11b81525f6004820152602401611b0a565b6112ec825f83613f6b565b6040516001600160a01b0383811660248301526044820183905261146491859182169063a9059cbb906064016144a6565b5f602082840312156151dc575f5ffd5b81356001600160e01b0319811681146111af575f5ffd5b5f60208284031215615203575f5ffd5b5035919050565b6001600160a01b0381168114610f8b575f5ffd5b5f6020828403121561522e575f5ffd5b81356111af8161520a565b602081525f82518060208401528060208501604085015e5f604082850101526040601f19601f83011684010191505092915050565b5f5f6040838503121561527f575f5ffd5b823561528a8161520a565b946020939093013593505050565b5f5f5f606084860312156152aa575f5ffd5b83356152b58161520a565b925060208401356152c58161520a565b929592945050506040919091013590565b634e487b7160e01b5f52602160045260245ffd5b8151604082019060038110615301576153016152d6565b808352506001600160781b03602084015116602083015292915050565b5f5f6040838503121561532f575f5ffd5b50508035926020909101359150565b5f5f6040838503121561534f575f5ffd5b8235915060208301356153618161520a565b809150509250929050565b6020810160048310615380576153806152d6565b91905290565b5f5f83601f840112615396575f5ffd5b5081356001600160401b038111156153ac575f5ffd5b6020830191508360208260051b85010111156153c6575f5ffd5b9250929050565b5f5f602083850312156153de575f5ffd5b82356001600160401b038111156153f3575f5ffd5b6153ff85828601615386565b90969095509350505050565b80356001600160401b0381168114615421575f5ffd5b919050565b5f5f83601f840112615436575f5ffd5b5081356001600160401b0381111561544c575f5ffd5b6020830191508360208285010111156153c6575f5ffd5b5f5f5f5f60608587031215615476575f5ffd5b61547f8561540b565b9350602085013561548f8161520a565b925060408501356001600160401b038111156154a9575f5ffd5b6154b587828801615426565b95989497509550505050565b5f5f602083850312156154d2575f5ffd5b82356001600160401b038111156154e7575f5ffd5b6153ff85828601615426565b5f5f5f60408486031215615505575f5ffd5b61550e8461540b565b925060208401356001600160401b03811115615528575f5ffd5b61553486828701615426565b9497909650939450505050565b5f5f5f60408486031215615553575f5ffd5b833561555e8161520a565b925060208401356001600160401b03811115615578575f5ffd5b61553486828701615386565b5f60208284031215615594575f5ffd5b813561ffff811681146111af575f5ffd5b634e487b7160e01b5f52604160045260245ffd5b5f60408284031280156155ca575f5ffd5b50604080519081016001600160401b03811182821017156155ed576155ed6155a5565b60405282356155fb8161520a565b815260208301356001600160601b0381168114615616575f5ffd5b60208201529392505050565b602080825282518282018190525f918401906040840190835b818110156156625783516001600160a01b031683526020938401939092019160010161563b565b509095945050505050565b5f5f5f6060848603121561567f575f5ffd5b8335925060208401356156918161520a565b915060408401356156a18161520a565b809150509250925092565b5f5f5f604084860312156156be575f5ffd5b83356001600160401b038111156156d3575f5ffd5b6156df86828701615386565b909790965060209590950135949350505050565b5f5f60408385031215615704575f5ffd5b823561570f8161520a565b915060208301356153618161520a565b600181811c9082168061573357607f821691505b602082108103610bb757634e487b7160e01b5f52602260045260245ffd5b5f60208284031215615761575f5ffd5b81516111af8161520a565b5f6020828403121561577c575f5ffd5b8151600481106111af575f5ffd5b634e487b7160e01b5f52601160045260245ffd5b60ff8181168382160190811115610be157610be161578a565b6001600160a01b0386811682528516602082015260806040820181905281018390525f6001600160fb1b038411156157ed575f5ffd5b8360051b808660a085013760ff939093166060830152500160a001949350505050565b5f60208284031215615820575f5ffd5b5051919050565b6001600160a01b039390931683526020830191909152604082015260600190565b80820180821115610be157610be161578a565b6001600160a01b0394909416845260208401929092526040830152606082015260800190565b634e487b7160e01b5f52603260045260245ffd5b8183526020830192505f815f5b848110156158d35781356158b58161520a565b6001600160a01b0316865260209586019591909101906001016158a2565b5093949350505050565b602081525f610e51602083018486615895565b5f5f5f60608486031215615902575f5ffd5b5050815160208301516040909301519094929350919050565b6001815b60018411156159565780850481111561593a5761593a61578a565b600184161561594857908102905b60019390931c92800261591f565b935093915050565b5f8261596c57506001610be1565b8161597857505f610be1565b816001811461598e5760028114615998576159b4565b6001915050610be1565b60ff8411156159a9576159a961578a565b50506001821b610be1565b5060208310610133831016604e8410600b84101617156159d7575081810a610be1565b6159e35f19848461591b565b805f19048211156159f6576159f661578a565b029392505050565b5f6111af60ff84168361595e565b81810381811115610be157610be161578a565b6001600160a01b03861681526080602082018190525f90615a439083018688615895565b905083604083015260ff831660608301529695505050505050565b60208152816020820152818360408301375f818301604090810191909152601f909201601f19160101919050565b6001600160a01b039586168152602081019490945260408401929092529092166060820152608081019190915260a00190565b63ffffffff8281168282160390811115610be157610be161578a565b8082028115828204841417610be157610be161578a565b634e487b7160e01b5f52601260045260245ffd5b5f82615b1457615b14615af2565b500490565b5f82601f830112615b28575f5ffd5b81516001600160401b03811115615b4157615b416155a5565b604051601f8201601f19908116603f011681016001600160401b0381118282101715615b6f57615b6f6155a5565b604052818152838201602001851015615b86575f5ffd5b8160208501602083015e5f918101602001919091529392505050565b5f5f5f5f5f60a08688031215615bb6575f5ffd5b8551615bc18161520a565b6020870151909550615bd28161520a565b6040870151909450615be38161520a565b60608701519093506001600160401b03811115615bfe575f5ffd5b615c0a88828901615b19565b92505060808601516001600160401b03811115615c25575f5ffd5b615c3188828901615b19565b9150509295509295909350565b5f82518060208501845e5f920191825250919050565b6001600160781b038281168282160390811115610be157610be161578a565b5f60ff831680615c8557615c85615af2565b8060ff84160691505092915050565b634e487b7160e01b5f52603160045260245ffd5b601f82111561146457805f5260205f20601f840160051c81016020851015615ccd5750805b601f840160051c820191505b81811015611374575f8155600101615cd9565b81516001600160401b03811115615d0557615d056155a5565b615d1981615d13845461571f565b84615ca8565b6020601f821160018114615d4b575f8315615d345750848201515b5f19600385901b1c1916600184901b178455611374565b5f84815260208120601f198516915b82811015615d7a5787850151825560209485019460019092019101615d5a565b5084821015615d9757868401515f19600387901b60f8161c191681555b50505050600190811b0190555056fec1f6fe24621ce81ec5827caf0253cadb74709b061630e6b55e823717059320000ada5b606f7944319310c49c0f9f30d6272793a991bd2b9c3db804986774670152c63247e1f47db19d5ce0460030c497f067ca4cebf71ba98eeadabe20bace007d6d8b9b446e2d961101099c17de9758016a0de4ad2bd37ba4da59dcd2a1e69a02dd7bc7dec4dceedda775e58dd541e08a116c6c53815c0bd028192f7b62680031b60059595cae2ebab32b53f301cf68fb9c4eef322a90dbc8487ddf3a1979000ada5b606f7944319310c49c0f9f30d6272793a991bd2b9c3db80498677467008c2448210e908fe94c15d486079b8c1daacbaa9169018ef9ea35bf02aeeb558df0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00a26469706673582212202f318b03784f43c9238166c0e4d407ee2fd305483a03a12c8b18bd2b492f706264736f6c634300081b0033","sourceMap":"4076:8645:29:-:0;;;4261:66;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;4316:7;;1971:22:28;:20;:22::i;:::-;-1:-1:-1;;;;;2004:21:28;;;-1:-1:-1;4076:8645:29;;-1:-1:-1;4076:8645:29;7711:422:3;8870:21;7900:15;;;;;;;7896:76;;;7938:23;;-1:-1:-1;;;7938:23:3;;;;;;;;;;;7896:76;7985:14;;-1:-1:-1;;;;;7985:14:3;;;:34;7981:146;;8035:33;;-1:-1:-1;;;;;;8035:33:3;-1:-1:-1;;;;;8035:33:3;;;;;8087:29;;453:50:51;;;8087:29:3;;441:2:51;426:18;8087:29:3;;;;;;;7981:146;7760:373;7711:422::o;14:290:51:-;84:6;137:2;125:9;116:7;112:23;108:32;105:52;;;153:1;150;143:12;105:52;179:16;;-1:-1:-1;;;;;224:31:51;;214:42;;204:70;;270:1;267;260:12;204:70;293:5;14:290;-1:-1:-1;;;14:290:51:o;309:200::-;4076:8645:29;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","linkReferences":{"src/lib/StateInitLib.sol":{"StateInitLib":[{"start":17552,"length":20},{"start":17683,"length":20}]},"src/lib/StateSetterLib.sol":{"StateSetterLib":[{"start":4248,"length":20},{"start":4413,"length":20},{"start":4765,"length":20},{"start":5112,"length":20},{"start":5824,"length":20},{"start":7533,"length":20},{"start":8378,"length":20},{"start":10568,"length":20},{"start":10995,"length":20},{"start":11388,"length":20}]},"src/lib/AsyncVaultHelperLib.sol":{"AsyncVaultHelperLib":[{"start":3664,"length":20},{"start":5261,"length":20},{"start":5362,"length":20},{"start":5660,"length":20},{"start":6983,"length":20},{"start":8235,"length":20},{"start":9095,"length":20},{"start":9264,"length":20},{"start":10657,"length":20},{"start":10804,"length":20}]}},"cborAuxdata":{"1":{"value":"0xa26469706673582212202f318b03784f43c9238166c0e4d407ee2fd305483a03a12c8b18bd2b492f706264736f6c634300081b0033","offset":24614}},"transformations":[{"id":"src/lib/AsyncVaultHelperLib.sol:AsyncVaultHelperLib","type":"replace","offset":3664,"reason":"library"},{"id":"src/lib/AsyncVaultHelperLib.sol:AsyncVaultHelperLib","type":"replace","offset":5261,"reason":"library"},{"id":"src/lib/AsyncVaultHelperLib.sol:AsyncVaultHelperLib","type":"replace","offset":5362,"reason":"library"},{"id":"src/lib/AsyncVaultHelperLib.sol:AsyncVaultHelperLib","type":"replace","offset":5660,"reason":"library"},{"id":"src/lib/AsyncVaultHelperLib.sol:AsyncVaultHelperLib","type":"replace","offset":6983,"reason":"library"},{"id":"src/lib/AsyncVaultHelperLib.sol:AsyncVaultHelperLib","type":"replace","offset":8235,"reason":"library"},{"id":"src/lib/AsyncVaultHelperLib.sol:AsyncVaultHelperLib","type":"replace","offset":9095,"reason":"library"},{"id":"src/lib/AsyncVaultHelperLib.sol:AsyncVaultHelperLib","type":"replace","offset":9264,"reason":"library"},{"id":"src/lib/AsyncVaultHelperLib.sol:AsyncVaultHelperLib","type":"replace","offset":10657,"reason":"library"},{"id":"src/lib/AsyncVaultHelperLib.sol:AsyncVaultHelperLib","type":"replace","offset":10804,"reason":"library"},{"id":"src/lib/StateInitLib.sol:StateInitLib","type":"replace","offset":17552,"reason":"library"},{"id":"src/lib/StateInitLib.sol:StateInitLib","type":"replace","offset":17683,"reason":"library"},{"id":"src/lib/StateSetterLib.sol:StateSetterLib","type":"replace","offset":4248,"reason":"library"},{"id":"src/lib/StateSetterLib.sol:StateSetterLib","type":"replace","offset":4413,"reason":"library"},{"id":"src/lib/StateSetterLib.sol:StateSetterLib","type":"replace","offset":4765,"reason":"library"},{"id":"src/lib/StateSetterLib.sol:StateSetterLib","type":"replace","offset":5112,"reason":"library"},{"id":"src/lib/StateSetterLib.sol:StateSetterLib","type":"replace","offset":5824,"reason":"library"},{"id":"src/lib/StateSetterLib.sol:StateSetterLib","type":"replace","offset":7533,"reason":"library"},{"id":"src/lib/StateSetterLib.sol:StateSetterLib","type":"replace","offset":8378,"reason":"library"},{"id":"src/lib/StateSetterLib.sol:StateSetterLib","type":"replace","offset":10568,"reason":"library"},{"id":"src/lib/StateSetterLib.sol:StateSetterLib","type":"replace","offset":10995,"reason":"library"},{"id":"src/lib/StateSetterLib.sol:StateSetterLib","type":"replace","offset":11388,"reason":"library"},{"id":"1","type":"replace","offset":24614,"reason":"cborAuxdata"},{"type":"insert","offset":24667,"reason":"constructorArguments"}],"transformationValues":{"libraries":{"src/lib/StateInitLib.sol:StateInitLib":"0x8d5d294fd63ee3b16abdca4b59597719a576e551","src/lib/StateSetterLib.sol:StateSetterLib":"0x5d433d113c211891d3c2bae6cd3b39adeffd64cc","src/lib/AsyncVaultHelperLib.sol:AsyncVaultHelperLib":"0x5cc3c3cea2e885f1870f3cae1eb9601d5d278d4a"},"cborAuxdata":{"1":"0xa2646970667358221220d9f82b10ad215475a868a872baa8488dde9ed45b294ab03be2db76bd44d168a364736f6c634300081b0033"},"constructorArguments":"0x000000000000000000000000e613d983e7e8ba1de30fd3b08435cd36764f27fe"}},"runtimeBytecode":{"onchainBytecode":"0x608060405234801561000f575f5ffd5b50600436106104a6575f3560e01c80637d3fdf011161026e578063b3d7f6b911610156578063ca15c873116100ca578063d905777e1161008f578063d905777e14610b47578063dbb1fc0d14610b5a578063dd62ed3e14610b62578063e045f2e014610b75578063ef8b30f714610b88578063f2fde38b14610b9b575f5ffd5b8063ca15c87314610af3578063cdd5f2c814610b06578063ce96cb7714610b0e578063d547741f14610b21578063d87826c914610b34575f5ffd5b8063bf2460001161011b578063bf24600014610a8b578063c10af4c714610a93578063c39a93eb14610aa6578063c45a015514610ab9578063c63d75b61461071d578063c6e6f59214610ae0575f5ffd5b8063b3d7f6b914610a37578063b460af9414610a4a578063b49a60bb14610a5d578063ba08765214610a65578063ba73664614610a78575f5ffd5b806394bf804d116101ed578063a3246ad3116101b2578063a3246ad3146109a8578063a6f7f5d6146109bb578063a9059cbb146109f1578063acd078e014610a04578063b15fd3b114610a0c578063b19c2c7014610a2f575f5ffd5b806394bf804d1461090857806395d89b411461091b57806398b3abb4146109235780639e51f5cc1461094d578063a217fddf146109a1575f5ffd5b8063887344ff11610233578063887344ff146108b45780638c7f67c1146108c75780638da5cb5b146108da5780639010d07c146108e257806391d14854146108f5575f5ffd5b80637d3fdf01146108525780637f414cf81461086557806382299a5c1461086d578063859844fc14610875578063877887821461088a575f5ffd5b80632f2ff15d1161039157806354fd4d501161031057806367881fd0116102d557806367881fd0146107f65780636e553f6514610809578063709ac1c31461081c57806370a082311461082f578063715018a61461084257806372c5291c1461084a575f5ffd5b806354fd4d501461075757806357ec83cc146107775780635aef467a1461078a5780635e30d7fe1461079d5780635fbbc0d2146107b0575f5ffd5b806338d52e0f1161035657806338d52e0f146106ea5780633c256b981461070a578063402d267d1461071d5780634cdad506146107315780634eddea0614610744575f5ffd5b80632f2ff15d146106775780633015394c1461068a5780633033bc101461069d578063313ce567146106bd57806336568abe146106d7575f5ffd5b80630a28a47711610428578063223e5479116103ed578063223e5479146105f8578063227475de1461060b57806323b872dd1461061e578063248a9ca3146106315780632968676e146106445780632b060a6814610664575f5ffd5b80630a28a477146105a357806312526a48146105b657806315b6c1ea146105c9578063175188e8146105dd57806318160ddd146105f0575f5ffd5b806306e566001161046e57806306e566001461053857806306fdde031461054b57806307a2d13a146105605780630900cf6c14610573578063095ea7b314610590575f5ffd5b806301e1d114146104aa57806301ffc9a7146104c557806304fb78b6146104e8578063052aa633146104f2578063059d9c7514610530575b5f5ffd5b6104b2610bae565b6040519081526020015b60405180910390f35b6104d86104d33660046151cc565b610bbd565b60405190151581526020016104bc565b6104f0610be7565b005b6104b26105003660046151f3565b5f9081527f0ada5b606f7944319310c49c0f9f30d6272793a991bd2b9c3db8049867746702602052604090205490565b6104f0610c7b565b6104f061054636600461521e565b610c96565b610553610d3f565b6040516104bc9190615239565b6104b261056e3660046151f3565b610dff565b61057b610e0a565b604080519283526020830191909152016104bc565b6104d861059e36600461526e565b610e1c565b6104b26105b13660046151f3565b610e33565b6104f06105c436600461521e565b610e59565b5f516020615dc75f395f51905f52546104b2565b6104f06105eb36600461521e565b610f8e565b6104b2611031565b6104f061060636600461521e565b611056565b6104b261061936600461526e565b611160565b6104d861062c366004615298565b611191565b6104b261063f3660046151f3565b6111b6565b61065761065236600461521e565b6111d6565b6040516104bc91906152ea565b6104f061067236600461531e565b61125d565b6104f061068536600461533e565b6112f0565b6104f06106983660046151f3565b611312565b6106b06106ab3660046151f3565b61137b565b6040516104bc919061536c565b6106c56113ef565b60405160ff90911681526020016104bc565b6104f06106e536600461533e565b611431565b6106f2611469565b6040516001600160a01b0390911681526020016104bc565b6104f06107183660046153cd565b61149d565b6104b261072b36600461521e565b505f1990565b6104b261073f3660046151f3565b611508565b6104f061075236600461531e565b611525565b61075f611583565b6040516001600160401b0390911681526020016104bc565b6104f0610785366004615463565b6115a7565b6104f06107983660046154c1565b611748565b6104f06107ab3660046154f3565b6117f0565b6107b8611936565b6040805161ffff96871681526001600160a01b03958616602082015263ffffffff90941690840152931660608201529116608082015260a0016104bc565b6104f0610804366004615541565b61198a565b6104b261081736600461533e565b611a65565b6104f061082a366004615584565b611bcd565b6104b261083d36600461521e565b611c30565b6104f0611c56565b6104b2611c67565b6104f06108603660046155b9565b611c7d565b61057b611d2e565b6104b2611d4b565b61087d611dd3565b6040516104bc9190615622565b610892611e3c565b604080516001600160a01b03909316835261ffff9091166020830152016104bc565b6104f06108c236600461526e565b611e69565b6104f06108d53660046153cd565b611f1a565b6106f2611f85565b6106f26108f036600461531e565b611fad565b6104d861090336600461533e565b611fd2565b6104b261091636600461533e565b612008565b610553612152565b7f0ada5b606f7944319310c49c0f9f30d6272793a991bd2b9c3db80498677467055460ff166104d8565b6104b261095b36600461526e565b6001600160a01b03919091165f9081527f0ada5b606f7944319310c49c0f9f30d6272793a991bd2b9c3db804986774670360209081526040808320938352929052205490565b6104b25f81565b61087d6109b63660046151f3565b612190565b6109c36121b9565b604080516001600160a01b03909416845261ffff909216602084015263ffffffff16908201526060016104bc565b6104d86109ff36600461526e565b6121f6565b61057b612203565b610a14612223565b604080519384526020840192909252908201526060016104bc565b6104f061229c565b6104b2610a453660046151f3565b6123e1565b6104b2610a5836600461566d565b6123ff565b61087d6125a2565b6104b2610a7336600461566d565b6125b7565b6104b2610a863660046151f3565b612746565b6106f261278d565b6104f0610aa1366004615584565b6127a8565b6104f0610ab43660046156ac565b61280b565b6106f27f000000000000000000000000e613d983e7e8ba1de30fd3b08435cd36764f27fe81565b6104b2610aee3660046151f3565b61288d565b6104b2610b013660046151f3565b612898565b6104f06128bc565b6104b2610b1c36600461521e565b612915565b6104f0610b2f36600461533e565b612928565b6104f0610b4236600461521e565b612944565b6104b2610b5536600461521e565b6129b6565b6104b26129e0565b6104b2610b703660046156f3565b6129f4565b6104f0610b8336600461521e565b612a3d565b6104b2610b963660046151f3565b612b3f565b6104f0610ba936600461521e565b612b5c565b5f610bb7612b96565b50919050565b5f6001600160e01b03198216635a05180f60e01b1480610be15750610be182612c14565b92915050565b5f516020615e075f395f51905f52610bfe81612c48565b7f0ada5b606f7944319310c49c0f9f30d6272793a991bd2b9c3db8049867746705805460ff19811660ff909116159081179091556040805182815290515f516020615e675f395f51905f5292917f622ac9e7dfefe4b395a61df3b2d570aa753a3c9febd3ad24f919322920895fce919081900360200190a1505050565b610c83612c52565b610c8b612c9c565b50610c94612e99565b565b5f516020615e875f395f51905f52610cad81612c48565b6001600160a01b038216610cd45760405163d92e233d60e01b815260040160405180910390fd5b604051620372b360e91b81526001600160a01b0383166004820152735cc3c3cea2e885f1870f3cae1eb9601d5d278d4a906306e56600906024015b5f6040518083038186803b158015610d25575f5ffd5b505af4158015610d37573d5f5f3e3d5ffd5b505050505050565b7f52c63247e1f47db19d5ce0460030c497f067ca4cebf71ba98eeadabe20bace0380546060915f516020615de75f395f51905f5291610d7d9061571f565b80601f0160208091040260200160405190810160405280929190818152602001828054610da99061571f565b8015610df45780601f10610dcb57610100808354040283529160200191610df4565b820191905f5260205f20905b815481529060010190602001808311610dd757829003601f168201915b505050505091505090565b5f610be1825f612ebf565b5f5f610e14612b96565b915091509091565b5f33610e29818585612f01565b5060019392505050565b5f5f5f610e3e612b96565b9092509050610e5184828460015f612f0e565b949350505050565b610e61612c52565b610e69612c9c565b507f000000000000000000000000e613d983e7e8ba1de30fd3b08435cd36764f27fe6001600160a01b0316638da5cb5b6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610ec6573d5f5f3e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610eea9190615751565b6001600160a01b0316336001600160a01b031614610f1b5760405163d29ecfe160e01b815260040160405180910390fd5b60405163024a4d4960e31b81526001600160a01b0382166004820152735d433d113c211891d3c2bae6cd3b39adeffd64cc906312526a48906024015b5f6040518083038186803b158015610f6d575f5ffd5b505af4158015610f7f573d5f5f3e3d5ffd5b50505050610f8b612e99565b50565b610f96612c52565b7f1893e1a169e79f2fe8aa327b1bceb2fede7a1b76a54824f95ea0e737720954ae610fc081612c48565b6040516302ea311d60e31b81526001600160a01b0383166004820152735d433d113c211891d3c2bae6cd3b39adeffd64cc9063175188e8906024015b5f6040518083038186803b158015611012575f5ffd5b505af4158015611024573d5f5f3e3d5ffd5b5050505050610f8b612e99565b7f52c63247e1f47db19d5ce0460030c497f067ca4cebf71ba98eeadabe20bace025490565b61105e612c52565b7f1893e1a169e79f2fe8aa327b1bceb2fede7a1b76a54824f95ea0e737720954ae61108881612c48565b611090611469565b6001600160a01b0316826001600160a01b03166338d52e0f6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156110d5573d5f5f3e3d5ffd5b505050506040513d601f19601f820116820180604052508101906110f99190615751565b6001600160a01b0316146111205760405163e76673ef60e01b815260040160405180910390fd5b60405163223e547960e01b81526001600160a01b0383166004820152735d433d113c211891d3c2bae6cd3b39adeffd64cc9063223e547990602401610ffc565b5f805f516020615e675f395f51905f529050610e518484835f015461118487612746565b61118c6113ef565b612f5c565b5f3361119e858285612fec565b6111a9858585613037565b60019150505b9392505050565b5f9081525f516020615e275f395f51905f52602052604090206001015490565b604080518082019091525f80825260208201526111f1613094565b6001600160a01b0383165f90815260089190910160205260409081902081518083019092528054829060ff16600281111561122e5761122e6152d6565b600281111561123f5761123f6152d6565b8152905461010090046001600160781b031660209091015292915050565b611265612c52565b5f516020615e075f395f51905f5261127c81612c48565b604051630560c14d60e31b81526004810184905260248101839052735d433d113c211891d3c2bae6cd3b39adeffd64cc90632b060a68906044015b5f6040518083038186803b1580156112cd575f5ffd5b505af41580156112df573d5f5f3e3d5ffd5b50505050506112ec612e99565b5050565b6112f9826111b6565b61130281612c48565b61130c83836130b8565b50505050565b60405163887344ff60e01b815233600482015260248101829052735cc3c3cea2e885f1870f3cae1eb9601d5d278d4a9063887344ff906044015b5f6040518083038186803b158015611362575f5ffd5b505af4158015611374573d5f5f3e3d5ffd5b5050505050565b6040516303033bc160e41b8152600481018290525f90735cc3c3cea2e885f1870f3cae1eb9601d5d278d4a90633033bc1090602401602060405180830381865af41580156113cb573d5f5f3e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610be1919061576c565b5f807f0773e532dfede91f04b12a73d3d2acd361424f41f76b4fb79f090161e36b4e0090505f815461142b9190600160a01b900460ff1661579e565b91505090565b6001600160a01b038116331461145a5760405163334bd91960e11b815260040160405180910390fd5b61146482826130fa565b505050565b5f807f0773e532dfede91f04b12a73d3d2acd361424f41f76b4fb79f090161e36b4e005b546001600160a01b031692915050565b806114bb5760405163dae42f1960e01b815260040160405180910390fd5b735cc3c3cea2e885f1870f3cae1eb9601d5d278d4a63bed0dc336114dd611469565b3385856114e86113ef565b6040518663ffffffff1660e01b8152600401610d0f9594939291906157b7565b5f5f5f611513612b96565b9092509050610e518482845f80613133565b61152d612c52565b5f516020615e075f395f51905f5261154481612c48565b60405163276ef50360e11b81526004810184905260248101839052735d433d113c211891d3c2bae6cd3b39adeffd64cc90634eddea06906044016112b7565b5f6115a25f516020615ea75f395f51905f52546001600160401b031690565b905090565b5f516020615ea75f395f51905f52546001600160401b0316156115dc5760405162dc149f60e41b815260040160405180910390fd5b5f516020615ea75f395f51905f528054859190600160401b900460ff1680611611575080546001600160401b03808416911610155b1561162f5760405163f92ee8a960e01b815260040160405180910390fd5b805468ffffffffffffffffff19166001600160401b03831617600160401b1781556001600160a01b037f000000000000000000000000e613d983e7e8ba1de30fd3b08435cd36764f27fe166116813390565b6001600160a01b0316146116a857604051631966391b60e11b815260040160405180910390fd5b6116b0613178565b6116b985613188565b6116f9868686868080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061319992505050565b805460ff60401b191681556040516001600160401b03831681527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a1505050505050565b61175282826131b2565b5f516020615dc75f395f51905f5254611769611469565b6040516370a0823160e01b81523060048201526001600160a01b0391909116906370a0823190602401602060405180830381865afa1580156117ad573d5f5f3e3d5ffd5b505050506040513d601f19601f820116820180604052508101906117d19190615810565b10156112ec57604051631e9acf1760e31b815260040160405180910390fd5b6117f8612c52565b5f516020615ea75f395f51905f528054849190600160401b900460ff168061182d575080546001600160401b03808416911610155b1561184b5760405163f92ee8a960e01b815260040160405180910390fd5b805468ffffffffffffffffff19166001600160401b03831617600160401b1781556001600160a01b037f000000000000000000000000e613d983e7e8ba1de30fd3b08435cd36764f27fe1661189d3390565b6001600160a01b0316146118c457604051631966391b60e11b815260040160405180910390fd5b6118e5610f8b5f516020615ea75f395f51905f52546001600160401b031690565b805460ff60401b191681556040516001600160401b03831681527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15050611464612e99565b5f5f5f5f5f5f611944613094565b6005810154600690910154600160a01b80830461ffff9081169a6001600160a01b038086169b50600160b01b90950463ffffffff16995091830416965091169350915050565b5f516020615e875f395f51905f526119a181612c48565b6001600160a01b0384166119c85760405163d92e233d60e01b815260040160405180910390fd5b816119e65760405163dae42f1960e01b815260040160405180910390fd5b735cc3c3cea2e885f1870f3cae1eb9601d5d278d4a63bed0dc33611a08611469565b868686611a136113ef565b6040518663ffffffff1660e01b8152600401611a339594939291906157b7565b5f6040518083038186803b158015611a49575f5ffd5b505af4158015611a5b573d5f5f3e3d5ffd5b5050505050505050565b5f611a6e612c52565b611a76612c9c565b506001600160a01b038216611a9e57604051631e4ec46b60e01b815260040160405180910390fd5b5f611aa7613094565b60408051808201909152600c91909101546001600160a01b0381168252600160a01b90046001600160601b0316602082015290505f611ae46129e0565b9050611af1826001613301565b15611b0357611b038233878785613335565b5f19611b13565b60405180910390fd5b5f611b2a611b1f611031565b8890855f6001612f0e565b90505f5f611b36611d2e565b909250905081611b46868b615848565b11158015611b545750808910155b338a838590919293611b7d57604051630cd147c960e31b8152600401611b0a949392919061585b565b50505050611b93611b8b3390565b898b866133ac565b611b9e866002613301565b15611bbd57611bbd338a858b611bb26129e0565b8b9493929190613449565b5090945050505050610be1612e99565b611bd5612c52565b5f516020615e075f395f51905f52611bec81612c48565b611bf4612c9c565b5060405163709ac1c360e01b815261ffff83166004820152735d433d113c211891d3c2bae6cd3b39adeffd64cc9063709ac1c390602401610ffc565b6001600160a01b03165f9081525f516020615de75f395f51905f52602052604090205490565b611c5e6134b5565b610c945f6134e7565b5f5f516020615e675f395f51905f525b54919050565b611c85612c52565b7f233f5edd266b4c1e845863cec156a09138880d786ad44f83338de5088db7bf00611caf81612c48565b5f611cb8613094565b8351602080860180516001600160601b03908116600160a01b026001600160a01b03909416938417600c86015560408051948552915116918301919091529192507fdf54464c1716ef505e744140e0952c7818e8fca244bda3dae5d2f971860aef0d910160405180910390a15050610f8b612e99565b5f5f5f611d39613094565b80546002909101549094909350915050565b5f5f611d55613094565b90505f611d6482600901613557565b90505f5b8151811015611dcd57826008015f838381518110611d8857611d88615881565b6020908102919091018101516001600160a01b031682528101919091526040015f2054611dc39061010090046001600160781b031685615848565b9350600101611d68565b50505090565b6060611ddd613094565b600b01805480602002602001604051908101604052809291908181526020018280548015611e3257602002820191905f5260205f20905b81546001600160a01b03168152600190910190602001808311611e14575b5050505050905090565b5f5f5f611e47613094565b600601546001600160a01b03811694600160a01b90910461ffff169350915050565b5f516020615e875f395f51905f52611e8081612c48565b6001600160a01b038316611ea75760405163d92e233d60e01b815260040160405180910390fd5b60405163887344ff60e01b81526001600160a01b038416600482015260248101839052735cc3c3cea2e885f1870f3cae1eb9601d5d278d4a9063887344ff906044015f6040518083038186803b158015611eff575f5ffd5b505af4158015611f11573d5f5f3e3d5ffd5b50505050505050565b611f22612c52565b7fdcac51f5d253e2787a458cfb1d6b8faf248cf16367710f9e3b6bd5644d23f8db611f4c81612c48565b604051638c7f67c160e01b8152735d433d113c211891d3c2bae6cd3b39adeffd64cc90638c7f67c1906112b790869086906004016158dd565b5f807f9016d09d72d40fdae2fd8ceac6b6234c7706214fd39c1cd1e609a0528c19930061148d565b5f8281525f516020615da75f395f51905f52602081905260408220610e519084613563565b5f9182525f516020615e275f395f51905f52602090815260408084206001600160a01b0393909316845291905290205460ff1690565b5f612011612c52565b612019612c9c565b506001600160a01b03821661204157604051631e4ec46b60e01b815260040160405180910390fd5b5f61204a613094565b60408051808201909152600c91909101546001600160a01b0381168252600160a01b90046001600160601b0316602082015290505f6120876129e0565b9050612094826003613301565b156120a6576120a6823387878561356e565b5f195f6120bf6120b4611031565b889085600180613133565b90505f5f6120cb611d2e565b9092509050816120db8685615848565b111580156120e95750808310155b338483859091929361211257604051630cd147c960e31b8152600401611b0a949392919061585b565b505050506121286121203390565b89858c6133ac565b612133866004613301565b15611bbd57611bbd33848b8b6121476129e0565b8b94939291906135b5565b7f52c63247e1f47db19d5ce0460030c497f067ca4cebf71ba98eeadabe20bace0480546060915f516020615de75f395f51905f5291610d7d9061571f565b5f8181525f516020615da75f395f51905f5260208190526040909120606091906111af90613557565b5f5f5f5f6121c5613094565b600501546001600160a01b03811695600160a01b820461ffff169550600160b01b90910463ffffffff169350915050565b5f33610e29818585613037565b5f5f5f61220e613094565b90508060010154816003015492509250509091565b5f5f5f735cc3c3cea2e885f1870f3cae1eb9601d5d278d4a63b15fd3b16040518163ffffffff1660e01b8152600401606060405180830381865af415801561226d573d5f5f3e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061229191906158f0565b925092509250909192565b6122a4612c9c565b506122ad612c52565b5f516020615e875f395f51905f526122c481612c48565b5f6122cd6113ef565b9050735cc3c3cea2e885f1870f3cae1eb9601d5d278d4a6323818cb961230e6122f784600a6159fe565b6122ff611031565b6123076129e0565b5f5f613133565b612316611469565b6040516370a0823160e01b81523060048201526001600160a01b0391909116906370a0823190602401602060405180830381865afa15801561235a573d5f5f3e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061237e9190615810565b6040516001600160e01b031960e085901b1681526004810192909252602482015260ff841660448201526064015f6040518083038186803b1580156123c1575f5ffd5b505af41580156123d3573d5f5f3e3d5ffd5b505050505050610c94612e99565b5f5f5f6123ec612b96565b9092509050610e5184828460015f613133565b5f612408612c52565b612410612c9c565b506001600160a01b03831661243857604051631e4ec46b60e01b815260040160405180910390fd5b5f612441613094565b60408051808201909152600c91909101546001600160a01b0381168252600160a01b90046001600160601b0316602082015290505f61247e6129e0565b905061248b826005613301565b1561249e5761249e8233888888866135ec565b5f6124a7611031565b90505f6124c382845f5f6124ba8b611c30565b93929190613133565b90505f6124d4898486600180612f0e565b9050818911806124ef5750886124ed338a8a8d8661363b565b105b1561251357868983604051633fa733bb60e21b8152600401611b0a93929190615827565b5f5f61251d612203565b91509150818b111580156125315750808b10155b338c83859091929361255a57604051630cd147c960e31b8152600401611b0a949392919061585b565b5050505061257260068861330190919063ffffffff16565b1561259157612591338c858d6125866129e0565b8c9493929190613796565b5090955050505050506111af612e99565b60606115a26125af613094565b600901613557565b5f6125c0612c52565b6125c8612c9c565b506001600160a01b0383166125f057604051631e4ec46b60e01b815260040160405180910390fd5b5f6125f9613094565b60408051808201909152600c91909101546001600160a01b0381168252600160a01b90046001600160601b0316602082015290505f6126366129e0565b9050612643826007613301565b15612656576126568233888888866137cd565b5f61266085611c30565b90505f61267961266e611031565b8990855f6001613133565b905081881180612694575080612692338989858d61363b565b105b156126b857858883604051632e52afbb60e21b8152600401611b0a93929190615827565b5f5f6126c2612203565b915091508183111580156126d65750808310155b33848385909192936126ff57604051630cd147c960e31b8152600401611b0a949392919061585b565b5050505061271760088761330190919063ffffffff16565b156127365761273633848c8c61272b6129e0565b8b949392919061381f565b50909450505050506111af612e99565b5f8181527f0ada5b606f7944319310c49c0f9f30d6272793a991bd2b9c3db8049867746704602052604081205480820361278257505f92915050565b6111af600182615a0c565b5f612796613094565b600401546001600160a01b0316919050565b6127b0612c52565b5f516020615e075f395f51905f526127c781612c48565b6127cf612c9c565b5060405163c10af4c760e01b815261ffff83166004820152735d433d113c211891d3c2bae6cd3b39adeffd64cc9063c10af4c790602401610ffc565b5f516020615e875f395f51905f5261282281612c48565b8261284057604051636d2d9ea160e11b815260040160405180910390fd5b735cc3c3cea2e885f1870f3cae1eb9601d5d278d4a633e19d9fd612862611469565b86868661286d6113ef565b6040518663ffffffff1660e01b8152600401611a33959493929190615a1f565b5f610be1825f613856565b5f8181525f516020615da75f395f51905f526020819052604082206111af90613898565b5f516020615e875f395f51905f526128d381612c48565b735cc3c3cea2e885f1870f3cae1eb9601d5d278d4a63cdd5f2c86040518163ffffffff1660e01b81526004015f6040518083038186803b158015611362575f5ffd5b5f61291f826138a1565b50909392505050565b612931826111b6565b61293a81612c48565b61130c83836130fa565b61294c612c52565b7f1893e1a169e79f2fe8aa327b1bceb2fede7a1b76a54824f95ea0e737720954ae61297681612c48565b60405163d87826c960e01b81526001600160a01b0383166004820152735d433d113c211891d3c2bae6cd3b39adeffd64cc9063d87826c990602401610ffc565b5f5f5f5f6129c3856138a1565b919450925090506129d78382845f80612f0e565b95945050505050565b5f5f516020615e475f395f51905f52611c77565b6001600160a01b039182165f9081527f52c63247e1f47db19d5ce0460030c497f067ca4cebf71ba98eeadabe20bace016020908152604080832093909416825291909152205490565b612a45612c52565b612a4d612c9c565b507f000000000000000000000000e613d983e7e8ba1de30fd3b08435cd36764f27fe6001600160a01b0316638da5cb5b6040518163ffffffff1660e01b8152600401602060405180830381865afa158015612aaa573d5f5f3e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612ace9190615751565b6001600160a01b0316336001600160a01b031614612aff5760405163d29ecfe160e01b815260040160405180910390fd5b6040516307022f9760e51b81526001600160a01b0382166004820152735d433d113c211891d3c2bae6cd3b39adeffd64cc9063e045f2e090602401610f57565b5f5f5f612b4a612b96565b9092509050610e518482845f80612f0e565b612b646134b5565b6001600160a01b038116612b8d57604051631e4fbdf760e01b81525f6004820152602401611b0a565b610f8b816134e7565b5f5f5f5f612ba26138e9565b915091505f612baf611031565b90505f8284612bbc6129e0565b612bc69190615848565b612bd09190615a0c565b90505f612bdc8261395f565b509050612be98184615848565b92505f612bf883878787613a6f565b509050612c058185615848565b92989297509195505050505050565b5f6001600160e01b03198216637965db0b60e01b1480610be157506301ffc9a760e01b6001600160e01b0319831614610be1565b610f8b8133613b1a565b7f9b779b17422d0df92223018b32b4d1fa46e071723d6817e2486d003becc55f00805460011901612c9657604051633ee5aeb560e01b815260040160405180910390fd5b60029055565b5f5f612ca6613094565b90505f5f5f612cb784600901613557565b80519091505f5b81811015612e09575f5f5f612ceb868581518110612cde57612cde615881565b6020026020010151613b53565b925092509250825f141580612cff57508115155b15612dfb57612d0d81613cab565b896008015f888781518110612d2457612d24615881565b60200260200101516001600160a01b03166001600160a01b031681526020019081526020015f205f0160016101000a8154816001600160781b0302191690836001600160781b031602179055508288612d7d9190615848565b9750612d898288615848565b9650858481518110612d9d57612d9d615881565b60200260200101516001600160a01b03167fe11daacdf6490767a003932f47d7701165c31eb98ae03312422400522e33b11d828585604051612df2939291909283526020830191909152604082015260600190565b60405180910390a25b505050806001019050612cbe565b5050505f612e215f516020615e475f395f51905f5290565b90505f8284835f0154612e349190615848565b612e3e9190615a0c565b8083559050612e4c81613ce2565b612e57818585613da8565b60408051858152602081018590527ffe2ebf53456a69d7b70affc98b9021c791a9bce3af6fa5d24dfbc2db0f817b54910160405180910390a195945050505050565b60017f9b779b17422d0df92223018b32b4d1fa46e071723d6817e2486d003becc55f0055565b5f5f5f612eca6138e9565b915091506129d7612ed9611031565b8284612ee36129e0565b612eed9190615848565b612ef79190615a0c565b879190875f613133565b6114648383836001613e46565b5f612f31612f1d866001615848565b612f28866001615848565b88919086613f29565b9050818015612f3e575080155b156129d757604051633999656760e01b815260040160405180910390fd5b5f821580612f6a5750838510155b15612f7657505f6129d7565b6001600160a01b0386165f9081527f0ada5b606f7944319310c49c0f9f30d6272793a991bd2b9c3db80498677467036020908152604080832088845290915281205490819003612fc9575f9150506129d7565b612fe184612fd885600a6159fe565b8391905f613f29565b979650505050505050565b5f612ff784846129f4565b90505f1981101561130c578181101561302957828183604051637dc7a0d960e11b8152600401611b0a93929190615827565b61130c84848484035f613e46565b6001600160a01b03831661306057604051634b637e8f60e11b81525f6004820152602401611b0a565b6001600160a01b0382166130895760405163ec442f0560e01b81525f6004820152602401611b0a565b611464838383613f6b565b7fe74d828616eceb28be4a8cf3f9eeee868e1f44ce928ee17a9d7ad296fa52be0090565b5f5f516020615da75f395f51905f52816130d28585614083565b90508015610e51575f8581526020839052604090206130f19085614124565b50949350505050565b5f5f516020615da75f395f51905f52816131148585614138565b90508015610e51575f8581526020839052604090206130f190856141b1565b5f61314d613142856001615848565b612f28876001615848565b905081801561315a575080155b156129d7576040516396d8043360e01b815260040160405180910390fd5b6131806141c5565b610c946141fb565b6131906141c5565b610f8b81614203565b6131a483838361420b565b606081015161130c81614388565b6131ba612c52565b7fdcac51f5d253e2787a458cfb1d6b8faf248cf16367710f9e3b6bd5644d23f8db6131e481612c48565b6131ec612c9c565b505f638f5d2a4760e01b8484604051602401613209929190615a5e565b60408051601f198184030181529190526020810180516001600160e01b03166001600160e01b03199093169290921790915290506132588161324961278d565b6001600160a01b0316906143d6565b505f516020615dc75f395f51905f5254613270611469565b6040516370a0823160e01b81523060048201526001600160a01b0391909116906370a0823190602401602060405180830381865afa1580156132b4573d5f5f3e3d5ffd5b505050506040513d601f19601f820116820180604052508101906132d89190615810565b10156132f757604051631e9acf1760e31b815260040160405180910390fd5b50506112ec612e99565b5f61330c838361443f565b1580613320575082516001600160a01b0316155b1561332c57505f610be1565b50600192915050565b84516040516384a88ad560e01b81526001600160a01b03868116600483015260248201869052848116604483015260648201849052909116906384a88ad5906084015b5f604051808303815f87803b15801561338f575f5ffd5b505af11580156133a1573d5f5f3e3d5ffd5b505050505050505050565b6133bf6133b7611469565b853085614471565b815f516020615e475f395f51905f5280545f906133dd908490615848565b909155506133ed905083826144d8565b826001600160a01b0316846001600160a01b03167fdcbc1c05240f31ff3ad067ef1ee35ce4997762752e3a095284754544f4c709d7848460405161343b929190918252602082015260400190565b60405180910390a350505050565b8551604051635121af7560e01b81526001600160a01b0390911690635121af75906134809088908890889088908890600401615a8c565b5f604051808303815f87803b158015613497575f5ffd5b505af11580156134a9573d5f5f3e3d5ffd5b50505050505050505050565b336134be611f85565b6001600160a01b031614610c945760405163118cdaa760e01b8152336004820152602401611b0a565b7f9016d09d72d40fdae2fd8ceac6b6234c7706214fd39c1cd1e609a0528c19930080546001600160a01b031981166001600160a01b03848116918217845560405192169182907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0905f90a3505050565b60605f6111af8361450c565b5f6111af8383614565565b84516040516398377f0360e01b81526001600160a01b03868116600483015260248201869052848116604483015260648201849052909116906398377f0390608401613378565b855160405163b4e1167360e01b81526001600160a01b039091169063b4e11673906134809088908890889088908890600401615a8c565b855160405163dd3a450b60e01b81526001600160a01b0387811660048301526024820187905285811660448301528481166064830152608482018490529091169063dd3a450b9060a401613480565b5f5f821161365c57604051639811e0c760e01b815260040160405180910390fd5b7f0ada5b606f7944319310c49c0f9f30d6272793a991bd2b9c3db8049867746705545f516020615e675f395f51905f529060ff161561378157846001600160a01b0316876001600160a01b0316146136b9576136b9858885612fec565b6136c4853085613037565b80546001600160a01b0387165f9081526003830160209081526040808320848452909152812080548692906136fa908490615848565b90915550505f8181526002830160205260408120805486929061371e908490615848565b909155505060408051868152602081018690529081018290526001600160a01b0380881691898216918b16907f0cddd4f59848797de89e03b9d9afb2b9ffbb42b032a976132b69b165a988d91d9060600160405180910390a484925050506129d7565b61378e878787878761458b565b9150506129d7565b85516040516328ea381560e21b81526001600160a01b039091169063a3a8e054906134809088908890889088908890600401615a8c565b8551604051600162c2788160e01b031981526001600160a01b0387811660048301526024820187905285811660448301528481166064830152608482018490529091169063ff3d877f9060a401613480565b855160405163a4940aed60e01b81526001600160a01b039091169063a4940aed906134809088908890889088908890600401615a8c565b5f5f5f6138616138e9565b915091506129d7613870611031565b828461387a6129e0565b6138849190615848565b61388e9190615a0c565b879190875f612f0e565b5f610be1825490565b5f5f5f5f6138ae85611c30565b90505f5f6138ba612b96565b90925090505f6138cd8483858480613133565b90506138d88161493a565b9650919450925050505b9193909250565b5f5f5f6138f76125af613094565b80519091505f5b81811015613958575f5f61391d858481518110612cde57612cde615881565b5091509150815f14158061393057508015155b1561394e5761393f8288615848565b965061394b8187615848565b95505b50506001016138fe565b5050509091565b5f5f5f61396a613094565b6005810154909150600160a01b900461ffff165f0361398e57505f93849350915050565b5f613997614b86565b600583015490915063ffffffff600160b01b90910481169082168190036139c557505f958695509350505050565b5f6139d08284615abf565b600585015463ffffffff9190911691505f90612710906139fb90600160a01b900461ffff168a615adb565b613a059190615b06565b90506301e13380613a168383615adb565b613a209190615b06565b9550855f03613a3857505f9788975095505050505050565b87861115613a44578795505b613a63613a4f611031565b613a59888b615a0c565b8891905f80612f0e565b96505050505050915091565b5f5f5f613a7a613094565b6006810154909150600160a01b900461ffff161580613a995750858510155b15613aaa575f5f9250925050613b11565b5f613ab58688615a0c565b60068301549091505f90613ad8908390600160a01b900461ffff16612710614b90565b9050805f03613aef575f5f94509450505050613b11565b5f613b0887613afe848d615a0c565b8491905f80612f0e565b95509093505050505b94509492505050565b613b248282611fd2565b6112ec5760405163e2517d3f60e01b81526001600160a01b038216600482015260248101839052604401611b0a565b5f5f5f5f613b5f613094565b6001600160a01b0386165f9081526008820160205260409020549091506001600160781b036101008204169060019060ff166002811115613ba257613ba26152d6565b14613bb7575f5f5f94509450945050506138e2565b5f866001600160a01b031663538a018f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015613bf4573d5f5f3e3d5ffd5b505050506040513d601f19601f82011682018060405250810190613c189190615810565b90506001600160781b03811015613c2f5780613c38565b6001600160781b035b90505f5f836001600160781b03168303613c5b57909650945092506138e2915050565b836001600160781b0316831115613c8657613c7f6001600160781b03851684615a0c565b9150613c9c565b613c99836001600160781b038616615a0c565b90505b90989097509095509350505050565b5f6001600160781b03821115613cde576040516306dfcc6560e41b81526078600482015260248101839052604401611b0a565b5090565b5f5f613ced8361395f565b915091505f613cfa613094565b9050613d04614b86565b60058201805463ffffffff92909216600160b01b0263ffffffff60b01b19831681179091556001600160a01b039081169116178315801590613d4e57506001600160a01b03811615155b1561137457613d5d81856144d8565b60408051858152602081018590526001600160a01b038316917fe0a6c0d2df19a90b154d31618f7d6897e3b5bc6d509af23fb86c4f5395d31b8d910160405180910390a25050505050565b5f5f613dbd858585613db8611031565b613a6f565b91509150815f03613dcf575050505050565b5f613dd8613094565b60068101549091506001600160a01b03168015611f1157613df981856144d8565b60408051858152602081018590526001600160a01b038316917f71dd3803aa05c93645074cd325b45c8dd9dcc3396f538083f54611df04ebe9a9910160405180910390a250505050505050565b5f516020615de75f395f51905f526001600160a01b038516613e7d5760405163e602df0560e01b81525f6004820152602401611b0a565b6001600160a01b038416613ea657604051634a1406b160e11b81525f6004820152602401611b0a565b6001600160a01b038086165f9081526001830160209081526040808320938816835292905220839055811561137457836001600160a01b0316856001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92585604051613f1a91815260200190565b60405180910390a35050505050565b5f613f56613f3683614c46565b8015613f5157505f8480613f4c57613f4c615af2565b868809115b151590565b613f61868686614b90565b6129d79190615848565b5f516020615de75f395f51905f526001600160a01b038416613fa55781816002015f828254613f9a9190615848565b909155506140029050565b6001600160a01b0384165f9081526020829052604090205482811015613fe45784818460405163391434e360e21b8152600401611b0a93929190615827565b6001600160a01b0385165f9081526020839052604090209083900390555b6001600160a01b03831661402057600281018054839003905561403e565b6001600160a01b0383165f9081526020829052604090208054830190555b826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8460405161343b91815260200190565b5f5f516020615e275f395f51905f5261409c8484611fd2565b61411b575f848152602082815260408083206001600160a01b03871684529091529020805460ff191660011790556140d13390565b6001600160a01b0316836001600160a01b0316857f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a46001915050610be1565b5f915050610be1565b5f6111af836001600160a01b038416614c72565b5f5f516020615e275f395f51905f526141518484611fd2565b1561411b575f848152602082815260408083206001600160a01b0387168085529252808320805460ff1916905551339287917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a46001915050610be1565b5f6111af836001600160a01b038416614cbe565b5f516020615ea75f395f51905f5254600160401b900460ff16610c9457604051631afcd79f60e31b815260040160405180910390fd5b612e996141c5565b612b646141c5565b5f5f5f5f5f858060200190518101906142249190615ba2565b9398509196509450925090506001600160a01b03851661425757604051638f16646d60e01b815260040160405180910390fd5b6001600160a01b03841661427e57604051636448d6e960e11b815260040160405180910390fd5b6001600160a01b0383166142a5576040516320fb0c8560e21b815260040160405180910390fd5b5f8251116142c65760405163430f13b360e01b815260040160405180910390fd5b5f8151116142e75760405163010466f160e21b815260040160405180910390fd5b6142f18282614d98565b6142fa84614de8565b614302614e6b565b60408051636da12bef60e01b81526001600160a01b038088166004830152851660248201523360448201529051738d5d294fd63ee3b16abdca4b59597719a576e55191636da12bef916064808301925f929190829003018186803b158015614368575f5ffd5b505af415801561437a573d5f5f3e3d5ffd5b505050505050505050505050565b6143906141c5565b60405163b64bdb0160e01b81526001600160a01b0382166004820152336024820152738d5d294fd63ee3b16abdca4b59597719a576e5519063b64bdb019060440161134c565b60605f5f846001600160a01b0316846040516143f29190615c3e565b5f60405180830381855af49150503d805f811461442a576040519150601f19603f3d011682016040523d82523d5f602084013e61442f565b606091505b50915091506129d7858383614e73565b5f60608260ff161061445257505f610be1565b506020820151600160ff83161b166001600160601b0316151592915050565b6040516001600160a01b03848116602483015283811660448301526064820183905261130c9186918216906323b872dd906084015b604051602081830303815290604052915060e01b6020820180516001600160e01b038381831617835250505050614ecf565b6001600160a01b0382166145015760405163ec442f0560e01b81525f6004820152602401611b0a565b6112ec5f8383613f6b565b6060815f0180548060200260200160405190810160405280929190818152602001828054801561455957602002820191905f5260205f20905b815481526020019060010190808311614545575b50505050509050919050565b5f825f01828154811061457a5761457a615881565b905f5260205f200154905092915050565b5f5f614595613094565b90505f6145a0611469565b6040516370a0823160e01b81523060048201526001600160a01b0391909116906370a0823190602401602060405180830381865afa1580156145e4573d5f5f3e3d5ffd5b505050506040513d601f19601f820116820180604052508101906146089190615810565b90505f6146205f516020615dc75f395f51905f525490565b90505f81831015614631575f61463b565b61463b8284615a0c565b905086811015614920575f84600b0180548060200260200160405190810160405280929190818152602001828054801561469c57602002820191905f5260205f20905b81546001600160a01b0316815260019091019060200180831161467e575b505050505090505f815190505f5f5b8281101561491b576001886008015f8684815181106146cc576146cc615881565b6020908102919091018101516001600160a01b031682528101919091526040015f205460ff166002811115614703576147036152d6565b14158061473c575061473a84828151811061472057614720615881565b602002602001015189600901614f3b90919063ffffffff16565b155b61491357848b0391505f84828151811061475857614758615881565b60200260200101516001600160a01b031663ac7a1b5b6040518163ffffffff1660e01b8152600401602060405180830381865afa15801561479b573d5f5f3e3d5ffd5b505050506040513d601f19601f820116820180604052508101906147bf9190615810565b90505f838210156147d057816147d2565b835b90508015614902575f8684815181106147ed576147ed615881565b60200260200101516001600160a01b0316634b6d39f5836040518263ffffffff1660e01b815260040161482291815260200190565b6020604051808303815f875af115801561483e573d5f5f3e3d5ffd5b505050506040513d601f19601f820116820180604052508101906148629190615810565b905061486d81613cab565b8b6008015f89878151811061488457614884615881565b60200260200101516001600160a01b03166001600160a01b031681526020019081526020015f205f0160018282829054906101000a90046001600160781b03166148ce9190615c54565b92506101000a8154816001600160781b0302191690836001600160781b0316021790555080886148fe9190615848565b9750505b8c871061491057505061491b565b50505b6001016146ab565b505050505b61492d8a8a8a8a8a614f5c565b9998505050505050505050565b5f5f614944613094565b90505f61494f611469565b6040516370a0823160e01b81523060048201526001600160a01b0391909116906370a0823190602401602060405180830381865afa158015614993573d5f5f3e3d5ffd5b505050506040513d601f19601f820116820180604052508101906149b79190615810565b905083811015614b7e575f82600b01805480602002602001604051908101604052809291908181526020018280548015614a1857602002820191905f5260205f20905b81546001600160a01b031681526001909101906020018083116149fa575b505083519394505f925050505b81811015614b76576001856008015f858481518110614a4657614a46615881565b6020908102919091018101516001600160a01b031682528101919091526040015f205460ff166002811115614a7d57614a7d6152d6565b141580614ab65750614ab4838281518110614a9a57614a9a615881565b602002602001015186600901614f3b90919063ffffffff16565b155b614b6e575f84880390505f848381518110614ad357614ad3615881565b60200260200101516001600160a01b031663ac7a1b5b6040518163ffffffff1660e01b8152600401602060405180830381865afa158015614b16573d5f5f3e3d5ffd5b505050506040513d601f19601f82011682018060405250810190614b3a9190615810565b90505f82821015614b4b5781614b4d565b825b9050614b598188615848565b9650898710614b6a57505050614b76565b5050505b600101614a25565b5050506111af565b509192915050565b5f6115a242615027565b5f838302815f1985870982811083820303915050805f03614bc457838281614bba57614bba615af2565b04925050506111af565b808411614bdb57614bdb6003851502601118615057565b5f848688095f868103871696879004966002600389028118808a02820302808a02820302808a02820302808a02820302808a02820302808a02909103029181900381900460010186841190950394909402919094039290920491909117919091029150509392505050565b5f6002826003811115614c5b57614c5b6152d6565b614c659190615c73565b60ff166001149050919050565b5f818152600183016020526040812054614cb757508154600181810184555f848152602080822090930184905584548482528286019093526040902091909155610be1565b505f610be1565b5f818152600183016020526040812054801561411b575f614ce0600183615a0c565b85549091505f90614cf390600190615a0c565b9050808214614d52575f865f018281548110614d1157614d11615881565b905f5260205f200154905080875f018481548110614d3157614d31615881565b5f918252602080832090910192909255918252600188019052604090208390555b8554869080614d6357614d63615c94565b600190038181905f5260205f20015f90559055856001015f8681526020019081526020015f205f905560019350505050610be1565b614da06141c5565b5f516020615de75f395f51905f527f52c63247e1f47db19d5ce0460030c497f067ca4cebf71ba98eeadabe20bace03614dd98482615cec565b506004810161130c8382615cec565b614df06141c5565b7f0773e532dfede91f04b12a73d3d2acd361424f41f76b4fb79f090161e36b4e005f80614e1c84615068565b9150915081614e2c576012614e2e565b805b83546001600160a81b031916600160a01b60ff92909216919091026001600160a01b031916176001600160a01b0394909416939093179091555050565b610c946141c5565b606082614e8857614e838261513e565b6111af565b8151158015614e9f57506001600160a01b0384163b155b15614ec857604051639996b31560e01b81526001600160a01b0385166004820152602401611b0a565b50806111af565b5f5f60205f8451602086015f885af180614eee576040513d5f823e3d81fd5b50505f513d91508115614f05578060011415614f12565b6001600160a01b0384163b155b1561130c57604051635274afe760e01b81526001600160a01b0385166004820152602401611b0a565b6001600160a01b0381165f90815260018301602052604081205415156111af565b826001600160a01b0316856001600160a01b031614614f8057614f80838683612fec565b815f516020615e475f395f51905f5280545f90614f9e908490615a0c565b90915550614fae90508382615167565b614fc0614fb9611469565b858461519b565b826001600160a01b0316846001600160a01b0316866001600160a01b03167ffbde797d201c681b91056529119e0b02407c7bb96a4a2c75c01fc9667232c8db8585604051615018929190918252602082015260400190565b60405180910390a45050505050565b5f63ffffffff821115613cde576040516306dfcc6560e41b81526020600482015260248101839052604401611b0a565b634e487b715f52806020526024601cfd5b60408051600481526024810182526020810180516001600160e01b031663313ce56760e01b17905290515f918291829182916001600160a01b038716916150ae91615c3e565b5f60405180830381855afa9150503d805f81146150e6576040519150601f19603f3d011682016040523d82523d5f602084013e6150eb565b606091505b50915091508180156150ff57506020815110155b15615132575f818060200190518101906151199190615810565b905060ff8111615130576001969095509350505050565b505b505f9485945092505050565b80511561514e5780518082602001fd5b60405163d6bda27560e01b815260040160405180910390fd5b6001600160a01b03821661519057604051634b637e8f60e11b81525f6004820152602401611b0a565b6112ec825f83613f6b565b6040516001600160a01b0383811660248301526044820183905261146491859182169063a9059cbb906064016144a6565b5f602082840312156151dc575f5ffd5b81356001600160e01b0319811681146111af575f5ffd5b5f60208284031215615203575f5ffd5b5035919050565b6001600160a01b0381168114610f8b575f5ffd5b5f6020828403121561522e575f5ffd5b81356111af8161520a565b602081525f82518060208401528060208501604085015e5f604082850101526040601f19601f83011684010191505092915050565b5f5f6040838503121561527f575f5ffd5b823561528a8161520a565b946020939093013593505050565b5f5f5f606084860312156152aa575f5ffd5b83356152b58161520a565b925060208401356152c58161520a565b929592945050506040919091013590565b634e487b7160e01b5f52602160045260245ffd5b8151604082019060038110615301576153016152d6565b808352506001600160781b03602084015116602083015292915050565b5f5f6040838503121561532f575f5ffd5b50508035926020909101359150565b5f5f6040838503121561534f575f5ffd5b8235915060208301356153618161520a565b809150509250929050565b6020810160048310615380576153806152d6565b91905290565b5f5f83601f840112615396575f5ffd5b5081356001600160401b038111156153ac575f5ffd5b6020830191508360208260051b85010111156153c6575f5ffd5b9250929050565b5f5f602083850312156153de575f5ffd5b82356001600160401b038111156153f3575f5ffd5b6153ff85828601615386565b90969095509350505050565b80356001600160401b0381168114615421575f5ffd5b919050565b5f5f83601f840112615436575f5ffd5b5081356001600160401b0381111561544c575f5ffd5b6020830191508360208285010111156153c6575f5ffd5b5f5f5f5f60608587031215615476575f5ffd5b61547f8561540b565b9350602085013561548f8161520a565b925060408501356001600160401b038111156154a9575f5ffd5b6154b587828801615426565b95989497509550505050565b5f5f602083850312156154d2575f5ffd5b82356001600160401b038111156154e7575f5ffd5b6153ff85828601615426565b5f5f5f60408486031215615505575f5ffd5b61550e8461540b565b925060208401356001600160401b03811115615528575f5ffd5b61553486828701615426565b9497909650939450505050565b5f5f5f60408486031215615553575f5ffd5b833561555e8161520a565b925060208401356001600160401b03811115615578575f5ffd5b61553486828701615386565b5f60208284031215615594575f5ffd5b813561ffff811681146111af575f5ffd5b634e487b7160e01b5f52604160045260245ffd5b5f60408284031280156155ca575f5ffd5b50604080519081016001600160401b03811182821017156155ed576155ed6155a5565b60405282356155fb8161520a565b815260208301356001600160601b0381168114615616575f5ffd5b60208201529392505050565b602080825282518282018190525f918401906040840190835b818110156156625783516001600160a01b031683526020938401939092019160010161563b565b509095945050505050565b5f5f5f6060848603121561567f575f5ffd5b8335925060208401356156918161520a565b915060408401356156a18161520a565b809150509250925092565b5f5f5f604084860312156156be575f5ffd5b83356001600160401b038111156156d3575f5ffd5b6156df86828701615386565b909790965060209590950135949350505050565b5f5f60408385031215615704575f5ffd5b823561570f8161520a565b915060208301356153618161520a565b600181811c9082168061573357607f821691505b602082108103610bb757634e487b7160e01b5f52602260045260245ffd5b5f60208284031215615761575f5ffd5b81516111af8161520a565b5f6020828403121561577c575f5ffd5b8151600481106111af575f5ffd5b634e487b7160e01b5f52601160045260245ffd5b60ff8181168382160190811115610be157610be161578a565b6001600160a01b0386811682528516602082015260806040820181905281018390525f6001600160fb1b038411156157ed575f5ffd5b8360051b808660a085013760ff939093166060830152500160a001949350505050565b5f60208284031215615820575f5ffd5b5051919050565b6001600160a01b039390931683526020830191909152604082015260600190565b80820180821115610be157610be161578a565b6001600160a01b0394909416845260208401929092526040830152606082015260800190565b634e487b7160e01b5f52603260045260245ffd5b8183526020830192505f815f5b848110156158d35781356158b58161520a565b6001600160a01b0316865260209586019591909101906001016158a2565b5093949350505050565b602081525f610e51602083018486615895565b5f5f5f60608486031215615902575f5ffd5b5050815160208301516040909301519094929350919050565b6001815b60018411156159565780850481111561593a5761593a61578a565b600184161561594857908102905b60019390931c92800261591f565b935093915050565b5f8261596c57506001610be1565b8161597857505f610be1565b816001811461598e5760028114615998576159b4565b6001915050610be1565b60ff8411156159a9576159a961578a565b50506001821b610be1565b5060208310610133831016604e8410600b84101617156159d7575081810a610be1565b6159e35f19848461591b565b805f19048211156159f6576159f661578a565b029392505050565b5f6111af60ff84168361595e565b81810381811115610be157610be161578a565b6001600160a01b03861681526080602082018190525f90615a439083018688615895565b905083604083015260ff831660608301529695505050505050565b60208152816020820152818360408301375f818301604090810191909152601f909201601f19160101919050565b6001600160a01b039586168152602081019490945260408401929092529092166060820152608081019190915260a00190565b63ffffffff8281168282160390811115610be157610be161578a565b8082028115828204841417610be157610be161578a565b634e487b7160e01b5f52601260045260245ffd5b5f82615b1457615b14615af2565b500490565b5f82601f830112615b28575f5ffd5b81516001600160401b03811115615b4157615b416155a5565b604051601f8201601f19908116603f011681016001600160401b0381118282101715615b6f57615b6f6155a5565b604052818152838201602001851015615b86575f5ffd5b8160208501602083015e5f918101602001919091529392505050565b5f5f5f5f5f60a08688031215615bb6575f5ffd5b8551615bc18161520a565b6020870151909550615bd28161520a565b6040870151909450615be38161520a565b60608701519093506001600160401b03811115615bfe575f5ffd5b615c0a88828901615b19565b92505060808601516001600160401b03811115615c25575f5ffd5b615c3188828901615b19565b9150509295509295909350565b5f82518060208501845e5f920191825250919050565b6001600160781b038281168282160390811115610be157610be161578a565b5f60ff831680615c8557615c85615af2565b8060ff84160691505092915050565b634e487b7160e01b5f52603160045260245ffd5b601f82111561146457805f5260205f20601f840160051c81016020851015615ccd5750805b601f840160051c820191505b81811015611374575f8155600101615cd9565b81516001600160401b03811115615d0557615d056155a5565b615d1981615d13845461571f565b84615ca8565b6020601f821160018114615d4b575f8315615d345750848201515b5f19600385901b1c1916600184901b178455611374565b5f84815260208120601f198516915b82811015615d7a5787850151825560209485019460019092019101615d5a565b5084821015615d9757868401515f19600387901b60f8161c191681555b50505050600190811b0190555056fec1f6fe24621ce81ec5827caf0253cadb74709b061630e6b55e823717059320000ada5b606f7944319310c49c0f9f30d6272793a991bd2b9c3db804986774670152c63247e1f47db19d5ce0460030c497f067ca4cebf71ba98eeadabe20bace007d6d8b9b446e2d961101099c17de9758016a0de4ad2bd37ba4da59dcd2a1e69a02dd7bc7dec4dceedda775e58dd541e08a116c6c53815c0bd028192f7b62680031b60059595cae2ebab32b53f301cf68fb9c4eef322a90dbc8487ddf3a1979000ada5b606f7944319310c49c0f9f30d6272793a991bd2b9c3db80498677467008c2448210e908fe94c15d486079b8c1daacbaa9169018ef9ea35bf02aeeb558df0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00a2646970667358221220d9f82b10ad215475a868a872baa8488dde9ed45b294ab03be2db76bd44d168a364736f6c634300081b0033","recompiledBytecode":"0x608060405234801561000f575f5ffd5b50600436106104a6575f3560e01c80637d3fdf011161026e578063b3d7f6b911610156578063ca15c873116100ca578063d905777e1161008f578063d905777e14610b47578063dbb1fc0d14610b5a578063dd62ed3e14610b62578063e045f2e014610b75578063ef8b30f714610b88578063f2fde38b14610b9b575f5ffd5b8063ca15c87314610af3578063cdd5f2c814610b06578063ce96cb7714610b0e578063d547741f14610b21578063d87826c914610b34575f5ffd5b8063bf2460001161011b578063bf24600014610a8b578063c10af4c714610a93578063c39a93eb14610aa6578063c45a015514610ab9578063c63d75b61461071d578063c6e6f59214610ae0575f5ffd5b8063b3d7f6b914610a37578063b460af9414610a4a578063b49a60bb14610a5d578063ba08765214610a65578063ba73664614610a78575f5ffd5b806394bf804d116101ed578063a3246ad3116101b2578063a3246ad3146109a8578063a6f7f5d6146109bb578063a9059cbb146109f1578063acd078e014610a04578063b15fd3b114610a0c578063b19c2c7014610a2f575f5ffd5b806394bf804d1461090857806395d89b411461091b57806398b3abb4146109235780639e51f5cc1461094d578063a217fddf146109a1575f5ffd5b8063887344ff11610233578063887344ff146108b45780638c7f67c1146108c75780638da5cb5b146108da5780639010d07c146108e257806391d14854146108f5575f5ffd5b80637d3fdf01146108525780637f414cf81461086557806382299a5c1461086d578063859844fc14610875578063877887821461088a575f5ffd5b80632f2ff15d1161039157806354fd4d501161031057806367881fd0116102d557806367881fd0146107f65780636e553f6514610809578063709ac1c31461081c57806370a082311461082f578063715018a61461084257806372c5291c1461084a575f5ffd5b806354fd4d501461075757806357ec83cc146107775780635aef467a1461078a5780635e30d7fe1461079d5780635fbbc0d2146107b0575f5ffd5b806338d52e0f1161035657806338d52e0f146106ea5780633c256b981461070a578063402d267d1461071d5780634cdad506146107315780634eddea0614610744575f5ffd5b80632f2ff15d146106775780633015394c1461068a5780633033bc101461069d578063313ce567146106bd57806336568abe146106d7575f5ffd5b80630a28a47711610428578063223e5479116103ed578063223e5479146105f8578063227475de1461060b57806323b872dd1461061e578063248a9ca3146106315780632968676e146106445780632b060a6814610664575f5ffd5b80630a28a477146105a357806312526a48146105b657806315b6c1ea146105c9578063175188e8146105dd57806318160ddd146105f0575f5ffd5b806306e566001161046e57806306e566001461053857806306fdde031461054b57806307a2d13a146105605780630900cf6c14610573578063095ea7b314610590575f5ffd5b806301e1d114146104aa57806301ffc9a7146104c557806304fb78b6146104e8578063052aa633146104f2578063059d9c7514610530575b5f5ffd5b6104b2610bae565b6040519081526020015b60405180910390f35b6104d86104d33660046151cc565b610bbd565b60405190151581526020016104bc565b6104f0610be7565b005b6104b26105003660046151f3565b5f9081527f0ada5b606f7944319310c49c0f9f30d6272793a991bd2b9c3db8049867746702602052604090205490565b6104f0610c7b565b6104f061054636600461521e565b610c96565b610553610d3f565b6040516104bc9190615239565b6104b261056e3660046151f3565b610dff565b61057b610e0a565b604080519283526020830191909152016104bc565b6104d861059e36600461526e565b610e1c565b6104b26105b13660046151f3565b610e33565b6104f06105c436600461521e565b610e59565b5f516020615dc75f395f51905f52546104b2565b6104f06105eb36600461521e565b610f8e565b6104b2611031565b6104f061060636600461521e565b611056565b6104b261061936600461526e565b611160565b6104d861062c366004615298565b611191565b6104b261063f3660046151f3565b6111b6565b61065761065236600461521e565b6111d6565b6040516104bc91906152ea565b6104f061067236600461531e565b61125d565b6104f061068536600461533e565b6112f0565b6104f06106983660046151f3565b611312565b6106b06106ab3660046151f3565b61137b565b6040516104bc919061536c565b6106c56113ef565b60405160ff90911681526020016104bc565b6104f06106e536600461533e565b611431565b6106f2611469565b6040516001600160a01b0390911681526020016104bc565b6104f06107183660046153cd565b61149d565b6104b261072b36600461521e565b505f1990565b6104b261073f3660046151f3565b611508565b6104f061075236600461531e565b611525565b61075f611583565b6040516001600160401b0390911681526020016104bc565b6104f0610785366004615463565b6115a7565b6104f06107983660046154c1565b611748565b6104f06107ab3660046154f3565b6117f0565b6107b8611936565b6040805161ffff96871681526001600160a01b03958616602082015263ffffffff90941690840152931660608201529116608082015260a0016104bc565b6104f0610804366004615541565b61198a565b6104b261081736600461533e565b611a65565b6104f061082a366004615584565b611bcd565b6104b261083d36600461521e565b611c30565b6104f0611c56565b6104b2611c67565b6104f06108603660046155b9565b611c7d565b61057b611d2e565b6104b2611d4b565b61087d611dd3565b6040516104bc9190615622565b610892611e3c565b604080516001600160a01b03909316835261ffff9091166020830152016104bc565b6104f06108c236600461526e565b611e69565b6104f06108d53660046153cd565b611f1a565b6106f2611f85565b6106f26108f036600461531e565b611fad565b6104d861090336600461533e565b611fd2565b6104b261091636600461533e565b612008565b610553612152565b7f0ada5b606f7944319310c49c0f9f30d6272793a991bd2b9c3db80498677467055460ff166104d8565b6104b261095b36600461526e565b6001600160a01b03919091165f9081527f0ada5b606f7944319310c49c0f9f30d6272793a991bd2b9c3db804986774670360209081526040808320938352929052205490565b6104b25f81565b61087d6109b63660046151f3565b612190565b6109c36121b9565b604080516001600160a01b03909416845261ffff909216602084015263ffffffff16908201526060016104bc565b6104d86109ff36600461526e565b6121f6565b61057b612203565b610a14612223565b604080519384526020840192909252908201526060016104bc565b6104f061229c565b6104b2610a453660046151f3565b6123e1565b6104b2610a5836600461566d565b6123ff565b61087d6125a2565b6104b2610a7336600461566d565b6125b7565b6104b2610a863660046151f3565b612746565b6106f261278d565b6104f0610aa1366004615584565b6127a8565b6104f0610ab43660046156ac565b61280b565b6106f27f000000000000000000000000000000000000000000000000000000000000000081565b6104b2610aee3660046151f3565b61288d565b6104b2610b013660046151f3565b612898565b6104f06128bc565b6104b2610b1c36600461521e565b612915565b6104f0610b2f36600461533e565b612928565b6104f0610b4236600461521e565b612944565b6104b2610b5536600461521e565b6129b6565b6104b26129e0565b6104b2610b703660046156f3565b6129f4565b6104f0610b8336600461521e565b612a3d565b6104b2610b963660046151f3565b612b3f565b6104f0610ba936600461521e565b612b5c565b5f610bb7612b96565b50919050565b5f6001600160e01b03198216635a05180f60e01b1480610be15750610be182612c14565b92915050565b5f516020615e075f395f51905f52610bfe81612c48565b7f0ada5b606f7944319310c49c0f9f30d6272793a991bd2b9c3db8049867746705805460ff19811660ff909116159081179091556040805182815290515f516020615e675f395f51905f5292917f622ac9e7dfefe4b395a61df3b2d570aa753a3c9febd3ad24f919322920895fce919081900360200190a1505050565b610c83612c52565b610c8b612c9c565b50610c94612e99565b565b5f516020615e875f395f51905f52610cad81612c48565b6001600160a01b038216610cd45760405163d92e233d60e01b815260040160405180910390fd5b604051620372b360e91b81526001600160a01b0383166004820152730000000000000000000000000000000000000000906306e56600906024015b5f6040518083038186803b158015610d25575f5ffd5b505af4158015610d37573d5f5f3e3d5ffd5b505050505050565b7f52c63247e1f47db19d5ce0460030c497f067ca4cebf71ba98eeadabe20bace0380546060915f516020615de75f395f51905f5291610d7d9061571f565b80601f0160208091040260200160405190810160405280929190818152602001828054610da99061571f565b8015610df45780601f10610dcb57610100808354040283529160200191610df4565b820191905f5260205f20905b815481529060010190602001808311610dd757829003601f168201915b505050505091505090565b5f610be1825f612ebf565b5f5f610e14612b96565b915091509091565b5f33610e29818585612f01565b5060019392505050565b5f5f5f610e3e612b96565b9092509050610e5184828460015f612f0e565b949350505050565b610e61612c52565b610e69612c9c565b507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316638da5cb5b6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610ec6573d5f5f3e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610eea9190615751565b6001600160a01b0316336001600160a01b031614610f1b5760405163d29ecfe160e01b815260040160405180910390fd5b60405163024a4d4960e31b81526001600160a01b0382166004820152730000000000000000000000000000000000000000906312526a48906024015b5f6040518083038186803b158015610f6d575f5ffd5b505af4158015610f7f573d5f5f3e3d5ffd5b50505050610f8b612e99565b50565b610f96612c52565b7f1893e1a169e79f2fe8aa327b1bceb2fede7a1b76a54824f95ea0e737720954ae610fc081612c48565b6040516302ea311d60e31b81526001600160a01b03831660048201527300000000000000000000000000000000000000009063175188e8906024015b5f6040518083038186803b158015611012575f5ffd5b505af4158015611024573d5f5f3e3d5ffd5b5050505050610f8b612e99565b7f52c63247e1f47db19d5ce0460030c497f067ca4cebf71ba98eeadabe20bace025490565b61105e612c52565b7f1893e1a169e79f2fe8aa327b1bceb2fede7a1b76a54824f95ea0e737720954ae61108881612c48565b611090611469565b6001600160a01b0316826001600160a01b03166338d52e0f6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156110d5573d5f5f3e3d5ffd5b505050506040513d601f19601f820116820180604052508101906110f99190615751565b6001600160a01b0316146111205760405163e76673ef60e01b815260040160405180910390fd5b60405163223e547960e01b81526001600160a01b03831660048201527300000000000000000000000000000000000000009063223e547990602401610ffc565b5f805f516020615e675f395f51905f529050610e518484835f015461118487612746565b61118c6113ef565b612f5c565b5f3361119e858285612fec565b6111a9858585613037565b60019150505b9392505050565b5f9081525f516020615e275f395f51905f52602052604090206001015490565b604080518082019091525f80825260208201526111f1613094565b6001600160a01b0383165f90815260089190910160205260409081902081518083019092528054829060ff16600281111561122e5761122e6152d6565b600281111561123f5761123f6152d6565b8152905461010090046001600160781b031660209091015292915050565b611265612c52565b5f516020615e075f395f51905f5261127c81612c48565b604051630560c14d60e31b8152600481018490526024810183905273000000000000000000000000000000000000000090632b060a68906044015b5f6040518083038186803b1580156112cd575f5ffd5b505af41580156112df573d5f5f3e3d5ffd5b50505050506112ec612e99565b5050565b6112f9826111b6565b61130281612c48565b61130c83836130b8565b50505050565b60405163887344ff60e01b8152336004820152602481018290527300000000000000000000000000000000000000009063887344ff906044015b5f6040518083038186803b158015611362575f5ffd5b505af4158015611374573d5f5f3e3d5ffd5b5050505050565b6040516303033bc160e41b8152600481018290525f9073000000000000000000000000000000000000000090633033bc1090602401602060405180830381865af41580156113cb573d5f5f3e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610be1919061576c565b5f807f0773e532dfede91f04b12a73d3d2acd361424f41f76b4fb79f090161e36b4e0090505f815461142b9190600160a01b900460ff1661579e565b91505090565b6001600160a01b038116331461145a5760405163334bd91960e11b815260040160405180910390fd5b61146482826130fa565b505050565b5f807f0773e532dfede91f04b12a73d3d2acd361424f41f76b4fb79f090161e36b4e005b546001600160a01b031692915050565b806114bb5760405163dae42f1960e01b815260040160405180910390fd5b73000000000000000000000000000000000000000063bed0dc336114dd611469565b3385856114e86113ef565b6040518663ffffffff1660e01b8152600401610d0f9594939291906157b7565b5f5f5f611513612b96565b9092509050610e518482845f80613133565b61152d612c52565b5f516020615e075f395f51905f5261154481612c48565b60405163276ef50360e11b8152600481018490526024810183905273000000000000000000000000000000000000000090634eddea06906044016112b7565b5f6115a25f516020615ea75f395f51905f52546001600160401b031690565b905090565b5f516020615ea75f395f51905f52546001600160401b0316156115dc5760405162dc149f60e41b815260040160405180910390fd5b5f516020615ea75f395f51905f528054859190600160401b900460ff1680611611575080546001600160401b03808416911610155b1561162f5760405163f92ee8a960e01b815260040160405180910390fd5b805468ffffffffffffffffff19166001600160401b03831617600160401b1781556001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000166116813390565b6001600160a01b0316146116a857604051631966391b60e11b815260040160405180910390fd5b6116b0613178565b6116b985613188565b6116f9868686868080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061319992505050565b805460ff60401b191681556040516001600160401b03831681527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a1505050505050565b61175282826131b2565b5f516020615dc75f395f51905f5254611769611469565b6040516370a0823160e01b81523060048201526001600160a01b0391909116906370a0823190602401602060405180830381865afa1580156117ad573d5f5f3e3d5ffd5b505050506040513d601f19601f820116820180604052508101906117d19190615810565b10156112ec57604051631e9acf1760e31b815260040160405180910390fd5b6117f8612c52565b5f516020615ea75f395f51905f528054849190600160401b900460ff168061182d575080546001600160401b03808416911610155b1561184b5760405163f92ee8a960e01b815260040160405180910390fd5b805468ffffffffffffffffff19166001600160401b03831617600160401b1781556001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001661189d3390565b6001600160a01b0316146118c457604051631966391b60e11b815260040160405180910390fd5b6118e5610f8b5f516020615ea75f395f51905f52546001600160401b031690565b805460ff60401b191681556040516001600160401b03831681527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15050611464612e99565b5f5f5f5f5f5f611944613094565b6005810154600690910154600160a01b80830461ffff9081169a6001600160a01b038086169b50600160b01b90950463ffffffff16995091830416965091169350915050565b5f516020615e875f395f51905f526119a181612c48565b6001600160a01b0384166119c85760405163d92e233d60e01b815260040160405180910390fd5b816119e65760405163dae42f1960e01b815260040160405180910390fd5b73000000000000000000000000000000000000000063bed0dc33611a08611469565b868686611a136113ef565b6040518663ffffffff1660e01b8152600401611a339594939291906157b7565b5f6040518083038186803b158015611a49575f5ffd5b505af4158015611a5b573d5f5f3e3d5ffd5b5050505050505050565b5f611a6e612c52565b611a76612c9c565b506001600160a01b038216611a9e57604051631e4ec46b60e01b815260040160405180910390fd5b5f611aa7613094565b60408051808201909152600c91909101546001600160a01b0381168252600160a01b90046001600160601b0316602082015290505f611ae46129e0565b9050611af1826001613301565b15611b0357611b038233878785613335565b5f19611b13565b60405180910390fd5b5f611b2a611b1f611031565b8890855f6001612f0e565b90505f5f611b36611d2e565b909250905081611b46868b615848565b11158015611b545750808910155b338a838590919293611b7d57604051630cd147c960e31b8152600401611b0a949392919061585b565b50505050611b93611b8b3390565b898b866133ac565b611b9e866002613301565b15611bbd57611bbd338a858b611bb26129e0565b8b9493929190613449565b5090945050505050610be1612e99565b611bd5612c52565b5f516020615e075f395f51905f52611bec81612c48565b611bf4612c9c565b5060405163709ac1c360e01b815261ffff831660048201527300000000000000000000000000000000000000009063709ac1c390602401610ffc565b6001600160a01b03165f9081525f516020615de75f395f51905f52602052604090205490565b611c5e6134b5565b610c945f6134e7565b5f5f516020615e675f395f51905f525b54919050565b611c85612c52565b7f233f5edd266b4c1e845863cec156a09138880d786ad44f83338de5088db7bf00611caf81612c48565b5f611cb8613094565b8351602080860180516001600160601b03908116600160a01b026001600160a01b03909416938417600c86015560408051948552915116918301919091529192507fdf54464c1716ef505e744140e0952c7818e8fca244bda3dae5d2f971860aef0d910160405180910390a15050610f8b612e99565b5f5f5f611d39613094565b80546002909101549094909350915050565b5f5f611d55613094565b90505f611d6482600901613557565b90505f5b8151811015611dcd57826008015f838381518110611d8857611d88615881565b6020908102919091018101516001600160a01b031682528101919091526040015f2054611dc39061010090046001600160781b031685615848565b9350600101611d68565b50505090565b6060611ddd613094565b600b01805480602002602001604051908101604052809291908181526020018280548015611e3257602002820191905f5260205f20905b81546001600160a01b03168152600190910190602001808311611e14575b5050505050905090565b5f5f5f611e47613094565b600601546001600160a01b03811694600160a01b90910461ffff169350915050565b5f516020615e875f395f51905f52611e8081612c48565b6001600160a01b038316611ea75760405163d92e233d60e01b815260040160405180910390fd5b60405163887344ff60e01b81526001600160a01b0384166004820152602481018390527300000000000000000000000000000000000000009063887344ff906044015f6040518083038186803b158015611eff575f5ffd5b505af4158015611f11573d5f5f3e3d5ffd5b50505050505050565b611f22612c52565b7fdcac51f5d253e2787a458cfb1d6b8faf248cf16367710f9e3b6bd5644d23f8db611f4c81612c48565b604051638c7f67c160e01b815273000000000000000000000000000000000000000090638c7f67c1906112b790869086906004016158dd565b5f807f9016d09d72d40fdae2fd8ceac6b6234c7706214fd39c1cd1e609a0528c19930061148d565b5f8281525f516020615da75f395f51905f52602081905260408220610e519084613563565b5f9182525f516020615e275f395f51905f52602090815260408084206001600160a01b0393909316845291905290205460ff1690565b5f612011612c52565b612019612c9c565b506001600160a01b03821661204157604051631e4ec46b60e01b815260040160405180910390fd5b5f61204a613094565b60408051808201909152600c91909101546001600160a01b0381168252600160a01b90046001600160601b0316602082015290505f6120876129e0565b9050612094826003613301565b156120a6576120a6823387878561356e565b5f195f6120bf6120b4611031565b889085600180613133565b90505f5f6120cb611d2e565b9092509050816120db8685615848565b111580156120e95750808310155b338483859091929361211257604051630cd147c960e31b8152600401611b0a949392919061585b565b505050506121286121203390565b89858c6133ac565b612133866004613301565b15611bbd57611bbd33848b8b6121476129e0565b8b94939291906135b5565b7f52c63247e1f47db19d5ce0460030c497f067ca4cebf71ba98eeadabe20bace0480546060915f516020615de75f395f51905f5291610d7d9061571f565b5f8181525f516020615da75f395f51905f5260208190526040909120606091906111af90613557565b5f5f5f5f6121c5613094565b600501546001600160a01b03811695600160a01b820461ffff169550600160b01b90910463ffffffff169350915050565b5f33610e29818585613037565b5f5f5f61220e613094565b90508060010154816003015492509250509091565b5f5f5f73000000000000000000000000000000000000000063b15fd3b16040518163ffffffff1660e01b8152600401606060405180830381865af415801561226d573d5f5f3e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061229191906158f0565b925092509250909192565b6122a4612c9c565b506122ad612c52565b5f516020615e875f395f51905f526122c481612c48565b5f6122cd6113ef565b90507300000000000000000000000000000000000000006323818cb961230e6122f784600a6159fe565b6122ff611031565b6123076129e0565b5f5f613133565b612316611469565b6040516370a0823160e01b81523060048201526001600160a01b0391909116906370a0823190602401602060405180830381865afa15801561235a573d5f5f3e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061237e9190615810565b6040516001600160e01b031960e085901b1681526004810192909252602482015260ff841660448201526064015f6040518083038186803b1580156123c1575f5ffd5b505af41580156123d3573d5f5f3e3d5ffd5b505050505050610c94612e99565b5f5f5f6123ec612b96565b9092509050610e5184828460015f613133565b5f612408612c52565b612410612c9c565b506001600160a01b03831661243857604051631e4ec46b60e01b815260040160405180910390fd5b5f612441613094565b60408051808201909152600c91909101546001600160a01b0381168252600160a01b90046001600160601b0316602082015290505f61247e6129e0565b905061248b826005613301565b1561249e5761249e8233888888866135ec565b5f6124a7611031565b90505f6124c382845f5f6124ba8b611c30565b93929190613133565b90505f6124d4898486600180612f0e565b9050818911806124ef5750886124ed338a8a8d8661363b565b105b1561251357868983604051633fa733bb60e21b8152600401611b0a93929190615827565b5f5f61251d612203565b91509150818b111580156125315750808b10155b338c83859091929361255a57604051630cd147c960e31b8152600401611b0a949392919061585b565b5050505061257260068861330190919063ffffffff16565b1561259157612591338c858d6125866129e0565b8c9493929190613796565b5090955050505050506111af612e99565b60606115a26125af613094565b600901613557565b5f6125c0612c52565b6125c8612c9c565b506001600160a01b0383166125f057604051631e4ec46b60e01b815260040160405180910390fd5b5f6125f9613094565b60408051808201909152600c91909101546001600160a01b0381168252600160a01b90046001600160601b0316602082015290505f6126366129e0565b9050612643826007613301565b15612656576126568233888888866137cd565b5f61266085611c30565b90505f61267961266e611031565b8990855f6001613133565b905081881180612694575080612692338989858d61363b565b105b156126b857858883604051632e52afbb60e21b8152600401611b0a93929190615827565b5f5f6126c2612203565b915091508183111580156126d65750808310155b33848385909192936126ff57604051630cd147c960e31b8152600401611b0a949392919061585b565b5050505061271760088761330190919063ffffffff16565b156127365761273633848c8c61272b6129e0565b8b949392919061381f565b50909450505050506111af612e99565b5f8181527f0ada5b606f7944319310c49c0f9f30d6272793a991bd2b9c3db8049867746704602052604081205480820361278257505f92915050565b6111af600182615a0c565b5f612796613094565b600401546001600160a01b0316919050565b6127b0612c52565b5f516020615e075f395f51905f526127c781612c48565b6127cf612c9c565b5060405163c10af4c760e01b815261ffff831660048201527300000000000000000000000000000000000000009063c10af4c790602401610ffc565b5f516020615e875f395f51905f5261282281612c48565b8261284057604051636d2d9ea160e11b815260040160405180910390fd5b730000000000000000000000000000000000000000633e19d9fd612862611469565b86868661286d6113ef565b6040518663ffffffff1660e01b8152600401611a33959493929190615a1f565b5f610be1825f613856565b5f8181525f516020615da75f395f51905f526020819052604082206111af90613898565b5f516020615e875f395f51905f526128d381612c48565b73000000000000000000000000000000000000000063cdd5f2c86040518163ffffffff1660e01b81526004015f6040518083038186803b158015611362575f5ffd5b5f61291f826138a1565b50909392505050565b612931826111b6565b61293a81612c48565b61130c83836130fa565b61294c612c52565b7f1893e1a169e79f2fe8aa327b1bceb2fede7a1b76a54824f95ea0e737720954ae61297681612c48565b60405163d87826c960e01b81526001600160a01b03831660048201527300000000000000000000000000000000000000009063d87826c990602401610ffc565b5f5f5f5f6129c3856138a1565b919450925090506129d78382845f80612f0e565b95945050505050565b5f5f516020615e475f395f51905f52611c77565b6001600160a01b039182165f9081527f52c63247e1f47db19d5ce0460030c497f067ca4cebf71ba98eeadabe20bace016020908152604080832093909416825291909152205490565b612a45612c52565b612a4d612c9c565b507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316638da5cb5b6040518163ffffffff1660e01b8152600401602060405180830381865afa158015612aaa573d5f5f3e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612ace9190615751565b6001600160a01b0316336001600160a01b031614612aff5760405163d29ecfe160e01b815260040160405180910390fd5b6040516307022f9760e51b81526001600160a01b03821660048201527300000000000000000000000000000000000000009063e045f2e090602401610f57565b5f5f5f612b4a612b96565b9092509050610e518482845f80612f0e565b612b646134b5565b6001600160a01b038116612b8d57604051631e4fbdf760e01b81525f6004820152602401611b0a565b610f8b816134e7565b5f5f5f5f612ba26138e9565b915091505f612baf611031565b90505f8284612bbc6129e0565b612bc69190615848565b612bd09190615a0c565b90505f612bdc8261395f565b509050612be98184615848565b92505f612bf883878787613a6f565b509050612c058185615848565b92989297509195505050505050565b5f6001600160e01b03198216637965db0b60e01b1480610be157506301ffc9a760e01b6001600160e01b0319831614610be1565b610f8b8133613b1a565b7f9b779b17422d0df92223018b32b4d1fa46e071723d6817e2486d003becc55f00805460011901612c9657604051633ee5aeb560e01b815260040160405180910390fd5b60029055565b5f5f612ca6613094565b90505f5f5f612cb784600901613557565b80519091505f5b81811015612e09575f5f5f612ceb868581518110612cde57612cde615881565b6020026020010151613b53565b925092509250825f141580612cff57508115155b15612dfb57612d0d81613cab565b896008015f888781518110612d2457612d24615881565b60200260200101516001600160a01b03166001600160a01b031681526020019081526020015f205f0160016101000a8154816001600160781b0302191690836001600160781b031602179055508288612d7d9190615848565b9750612d898288615848565b9650858481518110612d9d57612d9d615881565b60200260200101516001600160a01b03167fe11daacdf6490767a003932f47d7701165c31eb98ae03312422400522e33b11d828585604051612df2939291909283526020830191909152604082015260600190565b60405180910390a25b505050806001019050612cbe565b5050505f612e215f516020615e475f395f51905f5290565b90505f8284835f0154612e349190615848565b612e3e9190615a0c565b8083559050612e4c81613ce2565b612e57818585613da8565b60408051858152602081018590527ffe2ebf53456a69d7b70affc98b9021c791a9bce3af6fa5d24dfbc2db0f817b54910160405180910390a195945050505050565b60017f9b779b17422d0df92223018b32b4d1fa46e071723d6817e2486d003becc55f0055565b5f5f5f612eca6138e9565b915091506129d7612ed9611031565b8284612ee36129e0565b612eed9190615848565b612ef79190615a0c565b879190875f613133565b6114648383836001613e46565b5f612f31612f1d866001615848565b612f28866001615848565b88919086613f29565b9050818015612f3e575080155b156129d757604051633999656760e01b815260040160405180910390fd5b5f821580612f6a5750838510155b15612f7657505f6129d7565b6001600160a01b0386165f9081527f0ada5b606f7944319310c49c0f9f30d6272793a991bd2b9c3db80498677467036020908152604080832088845290915281205490819003612fc9575f9150506129d7565b612fe184612fd885600a6159fe565b8391905f613f29565b979650505050505050565b5f612ff784846129f4565b90505f1981101561130c578181101561302957828183604051637dc7a0d960e11b8152600401611b0a93929190615827565b61130c84848484035f613e46565b6001600160a01b03831661306057604051634b637e8f60e11b81525f6004820152602401611b0a565b6001600160a01b0382166130895760405163ec442f0560e01b81525f6004820152602401611b0a565b611464838383613f6b565b7fe74d828616eceb28be4a8cf3f9eeee868e1f44ce928ee17a9d7ad296fa52be0090565b5f5f516020615da75f395f51905f52816130d28585614083565b90508015610e51575f8581526020839052604090206130f19085614124565b50949350505050565b5f5f516020615da75f395f51905f52816131148585614138565b90508015610e51575f8581526020839052604090206130f190856141b1565b5f61314d613142856001615848565b612f28876001615848565b905081801561315a575080155b156129d7576040516396d8043360e01b815260040160405180910390fd5b6131806141c5565b610c946141fb565b6131906141c5565b610f8b81614203565b6131a483838361420b565b606081015161130c81614388565b6131ba612c52565b7fdcac51f5d253e2787a458cfb1d6b8faf248cf16367710f9e3b6bd5644d23f8db6131e481612c48565b6131ec612c9c565b505f638f5d2a4760e01b8484604051602401613209929190615a5e565b60408051601f198184030181529190526020810180516001600160e01b03166001600160e01b03199093169290921790915290506132588161324961278d565b6001600160a01b0316906143d6565b505f516020615dc75f395f51905f5254613270611469565b6040516370a0823160e01b81523060048201526001600160a01b0391909116906370a0823190602401602060405180830381865afa1580156132b4573d5f5f3e3d5ffd5b505050506040513d601f19601f820116820180604052508101906132d89190615810565b10156132f757604051631e9acf1760e31b815260040160405180910390fd5b50506112ec612e99565b5f61330c838361443f565b1580613320575082516001600160a01b0316155b1561332c57505f610be1565b50600192915050565b84516040516384a88ad560e01b81526001600160a01b03868116600483015260248201869052848116604483015260648201849052909116906384a88ad5906084015b5f604051808303815f87803b15801561338f575f5ffd5b505af11580156133a1573d5f5f3e3d5ffd5b505050505050505050565b6133bf6133b7611469565b853085614471565b815f516020615e475f395f51905f5280545f906133dd908490615848565b909155506133ed905083826144d8565b826001600160a01b0316846001600160a01b03167fdcbc1c05240f31ff3ad067ef1ee35ce4997762752e3a095284754544f4c709d7848460405161343b929190918252602082015260400190565b60405180910390a350505050565b8551604051635121af7560e01b81526001600160a01b0390911690635121af75906134809088908890889088908890600401615a8c565b5f604051808303815f87803b158015613497575f5ffd5b505af11580156134a9573d5f5f3e3d5ffd5b50505050505050505050565b336134be611f85565b6001600160a01b031614610c945760405163118cdaa760e01b8152336004820152602401611b0a565b7f9016d09d72d40fdae2fd8ceac6b6234c7706214fd39c1cd1e609a0528c19930080546001600160a01b031981166001600160a01b03848116918217845560405192169182907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0905f90a3505050565b60605f6111af8361450c565b5f6111af8383614565565b84516040516398377f0360e01b81526001600160a01b03868116600483015260248201869052848116604483015260648201849052909116906398377f0390608401613378565b855160405163b4e1167360e01b81526001600160a01b039091169063b4e11673906134809088908890889088908890600401615a8c565b855160405163dd3a450b60e01b81526001600160a01b0387811660048301526024820187905285811660448301528481166064830152608482018490529091169063dd3a450b9060a401613480565b5f5f821161365c57604051639811e0c760e01b815260040160405180910390fd5b7f0ada5b606f7944319310c49c0f9f30d6272793a991bd2b9c3db8049867746705545f516020615e675f395f51905f529060ff161561378157846001600160a01b0316876001600160a01b0316146136b9576136b9858885612fec565b6136c4853085613037565b80546001600160a01b0387165f9081526003830160209081526040808320848452909152812080548692906136fa908490615848565b90915550505f8181526002830160205260408120805486929061371e908490615848565b909155505060408051868152602081018690529081018290526001600160a01b0380881691898216918b16907f0cddd4f59848797de89e03b9d9afb2b9ffbb42b032a976132b69b165a988d91d9060600160405180910390a484925050506129d7565b61378e878787878761458b565b9150506129d7565b85516040516328ea381560e21b81526001600160a01b039091169063a3a8e054906134809088908890889088908890600401615a8c565b8551604051600162c2788160e01b031981526001600160a01b0387811660048301526024820187905285811660448301528481166064830152608482018490529091169063ff3d877f9060a401613480565b855160405163a4940aed60e01b81526001600160a01b039091169063a4940aed906134809088908890889088908890600401615a8c565b5f5f5f6138616138e9565b915091506129d7613870611031565b828461387a6129e0565b6138849190615848565b61388e9190615a0c565b879190875f612f0e565b5f610be1825490565b5f5f5f5f6138ae85611c30565b90505f5f6138ba612b96565b90925090505f6138cd8483858480613133565b90506138d88161493a565b9650919450925050505b9193909250565b5f5f5f6138f76125af613094565b80519091505f5b81811015613958575f5f61391d858481518110612cde57612cde615881565b5091509150815f14158061393057508015155b1561394e5761393f8288615848565b965061394b8187615848565b95505b50506001016138fe565b5050509091565b5f5f5f61396a613094565b6005810154909150600160a01b900461ffff165f0361398e57505f93849350915050565b5f613997614b86565b600583015490915063ffffffff600160b01b90910481169082168190036139c557505f958695509350505050565b5f6139d08284615abf565b600585015463ffffffff9190911691505f90612710906139fb90600160a01b900461ffff168a615adb565b613a059190615b06565b90506301e13380613a168383615adb565b613a209190615b06565b9550855f03613a3857505f9788975095505050505050565b87861115613a44578795505b613a63613a4f611031565b613a59888b615a0c565b8891905f80612f0e565b96505050505050915091565b5f5f5f613a7a613094565b6006810154909150600160a01b900461ffff161580613a995750858510155b15613aaa575f5f9250925050613b11565b5f613ab58688615a0c565b60068301549091505f90613ad8908390600160a01b900461ffff16612710614b90565b9050805f03613aef575f5f94509450505050613b11565b5f613b0887613afe848d615a0c565b8491905f80612f0e565b95509093505050505b94509492505050565b613b248282611fd2565b6112ec5760405163e2517d3f60e01b81526001600160a01b038216600482015260248101839052604401611b0a565b5f5f5f5f613b5f613094565b6001600160a01b0386165f9081526008820160205260409020549091506001600160781b036101008204169060019060ff166002811115613ba257613ba26152d6565b14613bb7575f5f5f94509450945050506138e2565b5f866001600160a01b031663538a018f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015613bf4573d5f5f3e3d5ffd5b505050506040513d601f19601f82011682018060405250810190613c189190615810565b90506001600160781b03811015613c2f5780613c38565b6001600160781b035b90505f5f836001600160781b03168303613c5b57909650945092506138e2915050565b836001600160781b0316831115613c8657613c7f6001600160781b03851684615a0c565b9150613c9c565b613c99836001600160781b038616615a0c565b90505b90989097509095509350505050565b5f6001600160781b03821115613cde576040516306dfcc6560e41b81526078600482015260248101839052604401611b0a565b5090565b5f5f613ced8361395f565b915091505f613cfa613094565b9050613d04614b86565b60058201805463ffffffff92909216600160b01b0263ffffffff60b01b19831681179091556001600160a01b039081169116178315801590613d4e57506001600160a01b03811615155b1561137457613d5d81856144d8565b60408051858152602081018590526001600160a01b038316917fe0a6c0d2df19a90b154d31618f7d6897e3b5bc6d509af23fb86c4f5395d31b8d910160405180910390a25050505050565b5f5f613dbd858585613db8611031565b613a6f565b91509150815f03613dcf575050505050565b5f613dd8613094565b60068101549091506001600160a01b03168015611f1157613df981856144d8565b60408051858152602081018590526001600160a01b038316917f71dd3803aa05c93645074cd325b45c8dd9dcc3396f538083f54611df04ebe9a9910160405180910390a250505050505050565b5f516020615de75f395f51905f526001600160a01b038516613e7d5760405163e602df0560e01b81525f6004820152602401611b0a565b6001600160a01b038416613ea657604051634a1406b160e11b81525f6004820152602401611b0a565b6001600160a01b038086165f9081526001830160209081526040808320938816835292905220839055811561137457836001600160a01b0316856001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92585604051613f1a91815260200190565b60405180910390a35050505050565b5f613f56613f3683614c46565b8015613f5157505f8480613f4c57613f4c615af2565b868809115b151590565b613f61868686614b90565b6129d79190615848565b5f516020615de75f395f51905f526001600160a01b038416613fa55781816002015f828254613f9a9190615848565b909155506140029050565b6001600160a01b0384165f9081526020829052604090205482811015613fe45784818460405163391434e360e21b8152600401611b0a93929190615827565b6001600160a01b0385165f9081526020839052604090209083900390555b6001600160a01b03831661402057600281018054839003905561403e565b6001600160a01b0383165f9081526020829052604090208054830190555b826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8460405161343b91815260200190565b5f5f516020615e275f395f51905f5261409c8484611fd2565b61411b575f848152602082815260408083206001600160a01b03871684529091529020805460ff191660011790556140d13390565b6001600160a01b0316836001600160a01b0316857f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a46001915050610be1565b5f915050610be1565b5f6111af836001600160a01b038416614c72565b5f5f516020615e275f395f51905f526141518484611fd2565b1561411b575f848152602082815260408083206001600160a01b0387168085529252808320805460ff1916905551339287917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a46001915050610be1565b5f6111af836001600160a01b038416614cbe565b5f516020615ea75f395f51905f5254600160401b900460ff16610c9457604051631afcd79f60e31b815260040160405180910390fd5b612e996141c5565b612b646141c5565b5f5f5f5f5f858060200190518101906142249190615ba2565b9398509196509450925090506001600160a01b03851661425757604051638f16646d60e01b815260040160405180910390fd5b6001600160a01b03841661427e57604051636448d6e960e11b815260040160405180910390fd5b6001600160a01b0383166142a5576040516320fb0c8560e21b815260040160405180910390fd5b5f8251116142c65760405163430f13b360e01b815260040160405180910390fd5b5f8151116142e75760405163010466f160e21b815260040160405180910390fd5b6142f18282614d98565b6142fa84614de8565b614302614e6b565b60408051636da12bef60e01b81526001600160a01b03808816600483015285166024820152336044820152905173000000000000000000000000000000000000000091636da12bef916064808301925f929190829003018186803b158015614368575f5ffd5b505af415801561437a573d5f5f3e3d5ffd5b505050505050505050505050565b6143906141c5565b60405163b64bdb0160e01b81526001600160a01b03821660048201523360248201527300000000000000000000000000000000000000009063b64bdb019060440161134c565b60605f5f846001600160a01b0316846040516143f29190615c3e565b5f60405180830381855af49150503d805f811461442a576040519150601f19603f3d011682016040523d82523d5f602084013e61442f565b606091505b50915091506129d7858383614e73565b5f60608260ff161061445257505f610be1565b506020820151600160ff83161b166001600160601b0316151592915050565b6040516001600160a01b03848116602483015283811660448301526064820183905261130c9186918216906323b872dd906084015b604051602081830303815290604052915060e01b6020820180516001600160e01b038381831617835250505050614ecf565b6001600160a01b0382166145015760405163ec442f0560e01b81525f6004820152602401611b0a565b6112ec5f8383613f6b565b6060815f0180548060200260200160405190810160405280929190818152602001828054801561455957602002820191905f5260205f20905b815481526020019060010190808311614545575b50505050509050919050565b5f825f01828154811061457a5761457a615881565b905f5260205f200154905092915050565b5f5f614595613094565b90505f6145a0611469565b6040516370a0823160e01b81523060048201526001600160a01b0391909116906370a0823190602401602060405180830381865afa1580156145e4573d5f5f3e3d5ffd5b505050506040513d601f19601f820116820180604052508101906146089190615810565b90505f6146205f516020615dc75f395f51905f525490565b90505f81831015614631575f61463b565b61463b8284615a0c565b905086811015614920575f84600b0180548060200260200160405190810160405280929190818152602001828054801561469c57602002820191905f5260205f20905b81546001600160a01b0316815260019091019060200180831161467e575b505050505090505f815190505f5f5b8281101561491b576001886008015f8684815181106146cc576146cc615881565b6020908102919091018101516001600160a01b031682528101919091526040015f205460ff166002811115614703576147036152d6565b14158061473c575061473a84828151811061472057614720615881565b602002602001015189600901614f3b90919063ffffffff16565b155b61491357848b0391505f84828151811061475857614758615881565b60200260200101516001600160a01b031663ac7a1b5b6040518163ffffffff1660e01b8152600401602060405180830381865afa15801561479b573d5f5f3e3d5ffd5b505050506040513d601f19601f820116820180604052508101906147bf9190615810565b90505f838210156147d057816147d2565b835b90508015614902575f8684815181106147ed576147ed615881565b60200260200101516001600160a01b0316634b6d39f5836040518263ffffffff1660e01b815260040161482291815260200190565b6020604051808303815f875af115801561483e573d5f5f3e3d5ffd5b505050506040513d601f19601f820116820180604052508101906148629190615810565b905061486d81613cab565b8b6008015f89878151811061488457614884615881565b60200260200101516001600160a01b03166001600160a01b031681526020019081526020015f205f0160018282829054906101000a90046001600160781b03166148ce9190615c54565b92506101000a8154816001600160781b0302191690836001600160781b0316021790555080886148fe9190615848565b9750505b8c871061491057505061491b565b50505b6001016146ab565b505050505b61492d8a8a8a8a8a614f5c565b9998505050505050505050565b5f5f614944613094565b90505f61494f611469565b6040516370a0823160e01b81523060048201526001600160a01b0391909116906370a0823190602401602060405180830381865afa158015614993573d5f5f3e3d5ffd5b505050506040513d601f19601f820116820180604052508101906149b79190615810565b905083811015614b7e575f82600b01805480602002602001604051908101604052809291908181526020018280548015614a1857602002820191905f5260205f20905b81546001600160a01b031681526001909101906020018083116149fa575b505083519394505f925050505b81811015614b76576001856008015f858481518110614a4657614a46615881565b6020908102919091018101516001600160a01b031682528101919091526040015f205460ff166002811115614a7d57614a7d6152d6565b141580614ab65750614ab4838281518110614a9a57614a9a615881565b602002602001015186600901614f3b90919063ffffffff16565b155b614b6e575f84880390505f848381518110614ad357614ad3615881565b60200260200101516001600160a01b031663ac7a1b5b6040518163ffffffff1660e01b8152600401602060405180830381865afa158015614b16573d5f5f3e3d5ffd5b505050506040513d601f19601f82011682018060405250810190614b3a9190615810565b90505f82821015614b4b5781614b4d565b825b9050614b598188615848565b9650898710614b6a57505050614b76565b5050505b600101614a25565b5050506111af565b509192915050565b5f6115a242615027565b5f838302815f1985870982811083820303915050805f03614bc457838281614bba57614bba615af2565b04925050506111af565b808411614bdb57614bdb6003851502601118615057565b5f848688095f868103871696879004966002600389028118808a02820302808a02820302808a02820302808a02820302808a02820302808a02909103029181900381900460010186841190950394909402919094039290920491909117919091029150509392505050565b5f6002826003811115614c5b57614c5b6152d6565b614c659190615c73565b60ff166001149050919050565b5f818152600183016020526040812054614cb757508154600181810184555f848152602080822090930184905584548482528286019093526040902091909155610be1565b505f610be1565b5f818152600183016020526040812054801561411b575f614ce0600183615a0c565b85549091505f90614cf390600190615a0c565b9050808214614d52575f865f018281548110614d1157614d11615881565b905f5260205f200154905080875f018481548110614d3157614d31615881565b5f918252602080832090910192909255918252600188019052604090208390555b8554869080614d6357614d63615c94565b600190038181905f5260205f20015f90559055856001015f8681526020019081526020015f205f905560019350505050610be1565b614da06141c5565b5f516020615de75f395f51905f527f52c63247e1f47db19d5ce0460030c497f067ca4cebf71ba98eeadabe20bace03614dd98482615cec565b506004810161130c8382615cec565b614df06141c5565b7f0773e532dfede91f04b12a73d3d2acd361424f41f76b4fb79f090161e36b4e005f80614e1c84615068565b9150915081614e2c576012614e2e565b805b83546001600160a81b031916600160a01b60ff92909216919091026001600160a01b031916176001600160a01b0394909416939093179091555050565b610c946141c5565b606082614e8857614e838261513e565b6111af565b8151158015614e9f57506001600160a01b0384163b155b15614ec857604051639996b31560e01b81526001600160a01b0385166004820152602401611b0a565b50806111af565b5f5f60205f8451602086015f885af180614eee576040513d5f823e3d81fd5b50505f513d91508115614f05578060011415614f12565b6001600160a01b0384163b155b1561130c57604051635274afe760e01b81526001600160a01b0385166004820152602401611b0a565b6001600160a01b0381165f90815260018301602052604081205415156111af565b826001600160a01b0316856001600160a01b031614614f8057614f80838683612fec565b815f516020615e475f395f51905f5280545f90614f9e908490615a0c565b90915550614fae90508382615167565b614fc0614fb9611469565b858461519b565b826001600160a01b0316846001600160a01b0316866001600160a01b03167ffbde797d201c681b91056529119e0b02407c7bb96a4a2c75c01fc9667232c8db8585604051615018929190918252602082015260400190565b60405180910390a45050505050565b5f63ffffffff821115613cde576040516306dfcc6560e41b81526020600482015260248101839052604401611b0a565b634e487b715f52806020526024601cfd5b60408051600481526024810182526020810180516001600160e01b031663313ce56760e01b17905290515f918291829182916001600160a01b038716916150ae91615c3e565b5f60405180830381855afa9150503d805f81146150e6576040519150601f19603f3d011682016040523d82523d5f602084013e6150eb565b606091505b50915091508180156150ff57506020815110155b15615132575f818060200190518101906151199190615810565b905060ff8111615130576001969095509350505050565b505b505f9485945092505050565b80511561514e5780518082602001fd5b60405163d6bda27560e01b815260040160405180910390fd5b6001600160a01b03821661519057604051634b637e8f60e11b81525f6004820152602401611b0a565b6112ec825f83613f6b565b6040516001600160a01b0383811660248301526044820183905261146491859182169063a9059cbb906064016144a6565b5f602082840312156151dc575f5ffd5b81356001600160e01b0319811681146111af575f5ffd5b5f60208284031215615203575f5ffd5b5035919050565b6001600160a01b0381168114610f8b575f5ffd5b5f6020828403121561522e575f5ffd5b81356111af8161520a565b602081525f82518060208401528060208501604085015e5f604082850101526040601f19601f83011684010191505092915050565b5f5f6040838503121561527f575f5ffd5b823561528a8161520a565b946020939093013593505050565b5f5f5f606084860312156152aa575f5ffd5b83356152b58161520a565b925060208401356152c58161520a565b929592945050506040919091013590565b634e487b7160e01b5f52602160045260245ffd5b8151604082019060038110615301576153016152d6565b808352506001600160781b03602084015116602083015292915050565b5f5f6040838503121561532f575f5ffd5b50508035926020909101359150565b5f5f6040838503121561534f575f5ffd5b8235915060208301356153618161520a565b809150509250929050565b6020810160048310615380576153806152d6565b91905290565b5f5f83601f840112615396575f5ffd5b5081356001600160401b038111156153ac575f5ffd5b6020830191508360208260051b85010111156153c6575f5ffd5b9250929050565b5f5f602083850312156153de575f5ffd5b82356001600160401b038111156153f3575f5ffd5b6153ff85828601615386565b90969095509350505050565b80356001600160401b0381168114615421575f5ffd5b919050565b5f5f83601f840112615436575f5ffd5b5081356001600160401b0381111561544c575f5ffd5b6020830191508360208285010111156153c6575f5ffd5b5f5f5f5f60608587031215615476575f5ffd5b61547f8561540b565b9350602085013561548f8161520a565b925060408501356001600160401b038111156154a9575f5ffd5b6154b587828801615426565b95989497509550505050565b5f5f602083850312156154d2575f5ffd5b82356001600160401b038111156154e7575f5ffd5b6153ff85828601615426565b5f5f5f60408486031215615505575f5ffd5b61550e8461540b565b925060208401356001600160401b03811115615528575f5ffd5b61553486828701615426565b9497909650939450505050565b5f5f5f60408486031215615553575f5ffd5b833561555e8161520a565b925060208401356001600160401b03811115615578575f5ffd5b61553486828701615386565b5f60208284031215615594575f5ffd5b813561ffff811681146111af575f5ffd5b634e487b7160e01b5f52604160045260245ffd5b5f60408284031280156155ca575f5ffd5b50604080519081016001600160401b03811182821017156155ed576155ed6155a5565b60405282356155fb8161520a565b815260208301356001600160601b0381168114615616575f5ffd5b60208201529392505050565b602080825282518282018190525f918401906040840190835b818110156156625783516001600160a01b031683526020938401939092019160010161563b565b509095945050505050565b5f5f5f6060848603121561567f575f5ffd5b8335925060208401356156918161520a565b915060408401356156a18161520a565b809150509250925092565b5f5f5f604084860312156156be575f5ffd5b83356001600160401b038111156156d3575f5ffd5b6156df86828701615386565b909790965060209590950135949350505050565b5f5f60408385031215615704575f5ffd5b823561570f8161520a565b915060208301356153618161520a565b600181811c9082168061573357607f821691505b602082108103610bb757634e487b7160e01b5f52602260045260245ffd5b5f60208284031215615761575f5ffd5b81516111af8161520a565b5f6020828403121561577c575f5ffd5b8151600481106111af575f5ffd5b634e487b7160e01b5f52601160045260245ffd5b60ff8181168382160190811115610be157610be161578a565b6001600160a01b0386811682528516602082015260806040820181905281018390525f6001600160fb1b038411156157ed575f5ffd5b8360051b808660a085013760ff939093166060830152500160a001949350505050565b5f60208284031215615820575f5ffd5b5051919050565b6001600160a01b039390931683526020830191909152604082015260600190565b80820180821115610be157610be161578a565b6001600160a01b0394909416845260208401929092526040830152606082015260800190565b634e487b7160e01b5f52603260045260245ffd5b8183526020830192505f815f5b848110156158d35781356158b58161520a565b6001600160a01b0316865260209586019591909101906001016158a2565b5093949350505050565b602081525f610e51602083018486615895565b5f5f5f60608486031215615902575f5ffd5b5050815160208301516040909301519094929350919050565b6001815b60018411156159565780850481111561593a5761593a61578a565b600184161561594857908102905b60019390931c92800261591f565b935093915050565b5f8261596c57506001610be1565b8161597857505f610be1565b816001811461598e5760028114615998576159b4565b6001915050610be1565b60ff8411156159a9576159a961578a565b50506001821b610be1565b5060208310610133831016604e8410600b84101617156159d7575081810a610be1565b6159e35f19848461591b565b805f19048211156159f6576159f661578a565b029392505050565b5f6111af60ff84168361595e565b81810381811115610be157610be161578a565b6001600160a01b03861681526080602082018190525f90615a439083018688615895565b905083604083015260ff831660608301529695505050505050565b60208152816020820152818360408301375f818301604090810191909152601f909201601f19160101919050565b6001600160a01b039586168152602081019490945260408401929092529092166060820152608081019190915260a00190565b63ffffffff8281168282160390811115610be157610be161578a565b8082028115828204841417610be157610be161578a565b634e487b7160e01b5f52601260045260245ffd5b5f82615b1457615b14615af2565b500490565b5f82601f830112615b28575f5ffd5b81516001600160401b03811115615b4157615b416155a5565b604051601f8201601f19908116603f011681016001600160401b0381118282101715615b6f57615b6f6155a5565b604052818152838201602001851015615b86575f5ffd5b8160208501602083015e5f918101602001919091529392505050565b5f5f5f5f5f60a08688031215615bb6575f5ffd5b8551615bc18161520a565b6020870151909550615bd28161520a565b6040870151909450615be38161520a565b60608701519093506001600160401b03811115615bfe575f5ffd5b615c0a88828901615b19565b92505060808601516001600160401b03811115615c25575f5ffd5b615c3188828901615b19565b9150509295509295909350565b5f82518060208501845e5f920191825250919050565b6001600160781b038281168282160390811115610be157610be161578a565b5f60ff831680615c8557615c85615af2565b8060ff84160691505092915050565b634e487b7160e01b5f52603160045260245ffd5b601f82111561146457805f5260205f20601f840160051c81016020851015615ccd5750805b601f840160051c820191505b81811015611374575f8155600101615cd9565b81516001600160401b03811115615d0557615d056155a5565b615d1981615d13845461571f565b84615ca8565b6020601f821160018114615d4b575f8315615d345750848201515b5f19600385901b1c1916600184901b178455611374565b5f84815260208120601f198516915b82811015615d7a5787850151825560209485019460019092019101615d5a565b5084821015615d9757868401515f19600387901b60f8161c191681555b50505050600190811b0190555056fec1f6fe24621ce81ec5827caf0253cadb74709b061630e6b55e823717059320000ada5b606f7944319310c49c0f9f30d6272793a991bd2b9c3db804986774670152c63247e1f47db19d5ce0460030c497f067ca4cebf71ba98eeadabe20bace007d6d8b9b446e2d961101099c17de9758016a0de4ad2bd37ba4da59dcd2a1e69a02dd7bc7dec4dceedda775e58dd541e08a116c6c53815c0bd028192f7b62680031b60059595cae2ebab32b53f301cf68fb9c4eef322a90dbc8487ddf3a1979000ada5b606f7944319310c49c0f9f30d6272793a991bd2b9c3db80498677467008c2448210e908fe94c15d486079b8c1daacbaa9169018ef9ea35bf02aeeb558df0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00a26469706673582212202f318b03784f43c9238166c0e4d407ee2fd305483a03a12c8b18bd2b492f706264736f6c634300081b0033","sourceMap":"4076:8645:29:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;18473:236:30;;;:::i;:::-;;;160:25:51;;;148:2;133:18;18473:236:30;;;;;;;;1695:212:2;;;;;;:::i;:::-;;:::i;:::-;;;652:14:51;;645:22;627:41;;615:2;600:18;1695:212:2;487:187:51;5152:379:29;;;:::i;:::-;;9473:197;;;;;;:::i;:::-;9559:7;9585:78;;;:69;:78;;;;;;;9473:197;5873:84:30;;;:::i;8549:210:29:-;;;;;;:::i;:::-;;:::i;2716:144:4:-;;;:::i;:::-;;;;;;;:::i;7511:148:5:-;;;;;;:::i;:::-;;:::i;18294:129:30:-;;;:::i;:::-;;;;1895:25:51;;;1951:2;1936:18;;1929:34;;;;1868:18;18294:129:30;1721:248:51;5210:186:4;;;;;;:::i;:::-;;:::i;17451:363:30:-;;;;;;:::i;:::-;;:::i;6877:250::-;;;;;;:::i;:::-;;:::i;9256:167:29:-;-1:-1:-1;;;;;;;;;;;9350:66:29;9256:167;;15986:162:30;;;;;;:::i;:::-;;:::i;3896:152:4:-;;;:::i;15673:245:30:-;;;;;;:::i;:::-;;:::i;6888:424:29:-;;;;;;:::i;:::-;;:::i;5988:244:4:-;;;;;;:::i;:::-;;:::i;4759:191:0:-;;;;;;:::i;:::-;;:::i;19440:145:30:-;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;7478:251::-;;;;;;:::i;:::-;;:::i;5246:136:0:-;;;;;;:::i;:::-;;:::i;5581:130:29:-;;;;;;:::i;:::-;;:::i;10254:149::-;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;6612:221:5:-;;;:::i;:::-;;;4977:4:51;4965:17;;;4947:36;;4935:2;4920:18;6612:221:5;4805:184:51;6348:245:0;;;;;;:::i;:::-;;:::i;6877:153:5:-;;;:::i;:::-;;;-1:-1:-1;;;;;5158:32:51;;;5140:51;;5128:2;5113:18;6877:153:5;4994:203:51;7387:223:29;;;;;;:::i;:::-;;:::i;7708:108:5:-;;;;;;:::i;:::-;-1:-1:-1;;;7792:17:5;7708:108;17864:362:30;;;;;;:::i;:::-;;:::i;7180:245::-;;;;;;:::i;:::-;;:::i;2238:98:28:-;;;:::i;:::-;;;-1:-1:-1;;;;;6178:31:51;;;6160:50;;6148:2;6133:18;2238:98:28;6016:200:51;2395:345:28;;;;;;:::i;:::-;;:::i;12172:385:29:-;;;;;;:::i;:::-;;:::i;2799:231:28:-;;;;;;:::i;:::-;;:::i;7782:625:30:-;;;:::i;:::-;;;;8553:6:51;8541:19;;;8523:38;;-1:-1:-1;;;;;8597:32:51;;;8592:2;8577:18;;8570:60;8678:10;8666:23;;;8646:18;;;8639:51;8726:19;;8721:2;8706:18;;8699:47;8783:32;;8777:3;8762:19;;8755:61;8510:3;8495:19;7782:625:30;8270:552:51;7660:347:29;;;;;;:::i;:::-;;:::i;8457:1475:30:-;;;;;;:::i;:::-;;:::i;6593:231::-;;;;;;:::i;:::-;;:::i;4106:171:4:-;;;;;;:::i;:::-;;:::i;3155:101:1:-;;;:::i;9063:143:29:-;;;:::i;15105:238:30:-;;;;;;:::i;:::-;;:::i;20003:205::-;;;:::i;21075:357::-;;;:::i;16475:134::-;;;:::i;:::-;;;;;;;:::i;20815:207::-;;;:::i;:::-;;;;-1:-1:-1;;;;;11770:32:51;;;11752:51;;11851:6;11839:19;;;11834:2;11819:18;;11812:47;11725:18;20815:207:30;11580:285:51;5761:226:29;;;;;;:::i;:::-;;:::i;15431:174:30:-;;;;;;:::i;:::-;;:::i;2441:144:1:-;;;:::i;2492:233:2:-;;;;;;:::i;:::-;;:::i;3732:207:0:-;;;;;;:::i;:::-;;:::i;9982:1399:30:-;;;;;;:::i;:::-;;:::i;2973:148:4:-;;;:::i;11979:140:29:-;12058:54;;;;11979:140;;8809:204;;;;;;:::i;:::-;-1:-1:-1;;;;;8933:64:29;;;;8900:14;8933:64;;;:58;:64;;;;;;;;:73;;;;;;;;;8809:204;2317:49:0;;2362:4;2317:49;;3658:227:2;;;;;;:::i;:::-;;:::i;20522:240:30:-;;;:::i;:::-;;;;-1:-1:-1;;;;;12879:32:51;;;12861:51;;12960:6;12948:19;;;12943:2;12928:18;;12921:47;13016:10;13004:23;12984:18;;;12977:51;12849:2;12834:18;20522:240:30;12663:371:51;4472:178:4;;;;;;:::i;:::-;;:::i;20261:208:30:-;;;:::i;9720:188:29:-;;;:::i;:::-;;;;13241:25:51;;;13297:2;13282:18;;13275:34;;;;13325:18;;;13318:34;13229:2;13214:18;9720:188:29;13039:319:51;6169:637:29;;;:::i;17086:315:30:-;;;;;;:::i;:::-;;:::i;11431:1830::-;;;;;;:::i;:::-;;:::i;19653:121::-;;;:::i;13311:1726::-;;;;;;:::i;:::-;;:::i;9958:290:29:-;;;;;;:::i;:::-;;:::i;19842:108:30:-;;;:::i;6010:227::-;;;;;;:::i;:::-;;:::i;8013:289:29:-;;;;;;:::i;:::-;;:::i;1889:32:28:-;;;;;7309:148:5;;;;;;:::i;:::-;;:::i;2893:222:2:-;;;;;;:::i;:::-;;:::i;5993:126:29:-;;;:::i;19153:219:30:-;;;;;;:::i;:::-;;:::i;5662:138:0:-;;;;;;:::i;:::-;;:::i;16216:174:30:-;;;;;;:::i;:::-;;:::i;18759:344::-;;;;;;:::i;:::-;;:::i;21438:128::-;;;:::i;4708:195:4:-;;;;;;:::i;:::-;;:::i;6290:250:30:-;;;;;;:::i;:::-;;:::i;16674:362::-;;;;;;:::i;:::-;;:::i;3405:215:1:-;;;;;;:::i;:::-;;:::i;18473:236:30:-;18604:28;18674;:26;:28::i;:::-;-1:-1:-1;18648:54:30;18473:236;-1:-1:-1;18473:236:30:o;1695:212:2:-;1780:4;-1:-1:-1;;;;;;1803:57:2;;-1:-1:-1;;;1803:57:2;;:97;;;1864:36;1888:11;1864:23;:36::i;:::-;1796:104;1695:212;-1:-1:-1;;1695:212:2:o;5152:379:29:-;-1:-1:-1;;;;;;;;;;;3191:16:0;3202:4;3191:10;:16::i;:::-;5407:15:29;;;-1:-1:-1;;5432:37:29;::::1;5407:15;::::0;;::::1;5406:16;5432:37:::0;;::::1;::::0;;;5485:39:::1;::::0;;627:41:51;;;5485:39:29;;-1:-1:-1;;;;;;;;;;;1448:37:47;5406:16:29;5485:39:::1;::::0;;;;;615:2:51;5485:39:29;;::::1;5231:300;;5152:379:::0;:::o;5873:84:30:-;3395:21:7;:19;:21::i;:::-;5936:14:30::1;:12;:14::i;:::-;;3437:20:7::0;:18;:20::i;:::-;5873:84:30:o;8549:210:29:-;-1:-1:-1;;;;;;;;;;;3191:16:0;3202:4;3191:10;:16::i;:::-;-1:-1:-1;;;;;8660:18:29;::::1;8652:42;;;;-1:-1:-1::0;;;8652:42:29::1;;;;;;;;;;;;8704:48;::::0;-1:-1:-1;;;8704:48:29;;-1:-1:-1;;;;;5158:32:51;;8704:48:29::1;::::0;::::1;5140:51:51::0;8704:19:29::1;::::0;:42:::1;::::0;5113:18:51;;8704:48:29::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8549:210:::0;;:::o;2716:144:4:-;2846:7;2839:14;;2761:13;;-1:-1:-1;;;;;;;;;;;2064:20:4;2839:14;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2716:144;:::o;7511:148:5:-;7581:7;7607:45;7624:6;7632:19;7607:16;:45::i;18294:129:30:-;18353:7;18362;18388:28;:26;:28::i;:::-;18381:35;;;;18294:129;;:::o;5210:186:4:-;5283:4;966:10:6;5337:31:4;966:10:6;5353:7:4;5362:5;5337:8;:31::i;:::-;-1:-1:-1;5385:4:4;;5210:186;-1:-1:-1;;;5210:186:4:o;17451:363:30:-;17600:7;17624:26;17652:19;17675:28;:26;:28::i;:::-;17623:80;;-1:-1:-1;17623:80:30;-1:-1:-1;17721:86:30;:6;17623:80;;17781:18;17801:5;17721:26;:86::i;:::-;17714:93;17451:363;-1:-1:-1;;;;17451:363:30:o;6877:250::-;3395:21:7;:19;:21::i;:::-;5155:14:30::1;:12;:14::i;:::-;;7014:7:::2;-1:-1:-1::0;;;;;7006:22:30::2;;:24;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1::0;;;;;6992:38:30::2;:10;-1:-1:-1::0;;;;;6992:38:30::2;;6984:70;;;;-1:-1:-1::0;;;6984:70:30::2;;;;;;;;;;;;7065:55;::::0;-1:-1:-1;;;7065:55:30;;-1:-1:-1;;;;;5158:32:51;;7065:55:30::2;::::0;::::2;5140:51:51::0;7065:14:30::2;::::0;:44:::2;::::0;5113:18:51;;7065:55:30::2;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3437:20:7::0;:18;:20::i;:::-;6877:250:30;:::o;15986:162::-;3395:21:7;:19;:21::i;:::-;481:29:43::1;3191:16:0;3202:4;3191:10;:16::i;:::-;16102:39:30::2;::::0;-1:-1:-1;;;16102:39:30;;-1:-1:-1;;;;;5158:32:51;;16102:39:30::2;::::0;::::2;5140:51:51::0;16102:14:30::2;::::0;:29:::2;::::0;5113:18:51;;16102:39:30::2;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3426:1:7::1;3437:20:::0;:18;:20::i;3896:152:4:-;4027:14;;;3896:152::o;15673:245:30:-;3395:21:7;:19;:21::i;:::-;481:29:43::1;3191:16:0;3202:4;3191:10;:16::i;:::-;15833:7:30::2;:5;:7::i;:::-;-1:-1:-1::0;;;;;15794:46:30::2;15812:8;-1:-1:-1::0;;;;;15794:33:30::2;;:35;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1::0;;;;;15794:46:30::2;;15786:79;;;;-1:-1:-1::0;;;15786:79:30::2;;;;;;;;;;;;15875:36;::::0;-1:-1:-1;;;15875:36:30;;-1:-1:-1;;;;;5158:32:51;;15875:36:30::2;::::0;::::2;5140:51:51::0;15875:14:30::2;::::0;:26:::2;::::0;5113:18:51;;15875:36:30::2;4994:203:51::0;6888:424:29;6987:14;;-1:-1:-1;;;;;;;;;;;7013:127:29;;7160:145;7221:4;7227:7;7236:1;:15;;;7253:30;7275:7;7253:21;:30::i;:::-;7285:10;:8;:10::i;:::-;7160:47;:145::i;5988:244:4:-;6075:4;966:10:6;6131:37:4;6147:4;966:10:6;6162:5:4;6131:15;:37::i;:::-;6178:26;6188:4;6194:2;6198:5;6178:9;:26::i;:::-;6221:4;6214:11;;;5988:244;;;;;;:::o;4759:191:0:-;4824:7;4919:14;;;-1:-1:-1;;;;;;;;;;;4919:14:0;;;;;:24;;;;4759:191::o;19440:145:30:-;-1:-1:-1;;;;;;;;;;;;;;;;;19542:13:30;:11;:13::i;:::-;-1:-1:-1;;;;;19542:36:30;;;;;;:26;;;;;:36;;;;;;;19535:43;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;:::i;:::-;;;;;;;;-1:-1:-1;;;;;19535:43:30;;;;;;;;-1:-1:-1;;19440:145:30:o;7478:251::-;3395:21:7;:19;:21::i;:::-;-1:-1:-1;;;;;;;;;;;3191:16:0::1;3202:4;3191:10;:16::i;:::-;7652:70:30::2;::::0;-1:-1:-1;;;7652:70:30;;::::2;::::0;::::2;1895:25:51::0;;;1936:18;;;1929:34;;;7652:14:30::2;::::0;:32:::2;::::0;1868:18:51;;7652:70:30::2;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3426:1:7::1;3437:20:::0;:18;:20::i;:::-;7478:251:30;;:::o;5246:136:0:-;5320:18;5333:4;5320:12;:18::i;:::-;3191:16;3202:4;3191:10;:16::i;:::-;5350:25:::1;5361:4;5367:7;5350:10;:25::i;:::-;;5246:136:::0;;;:::o;5581:130:29:-;5648:56;;-1:-1:-1;;;5648:56:29;;966:10:6;5648:56:29;;;16125:51:51;16192:18;;;16185:34;;;5648:19:29;;:33;;16098:18:51;;5648:56:29;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5581:130;:::o;10254:149::-;10354:42;;-1:-1:-1;;;10354:42:29;;;;;160:25:51;;;10325:10:29;;10354:19;;:33;;133:18:51;;10354:42:29;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;6612:221:5:-;6704:5;;4204:22;6721:47;-1:-1:-1;13626:5:5;6785:21;;:41;;;-1:-1:-1;;;6785:21:5;;;;:41;:::i;:::-;6778:48;;;6612:221;:::o;6348:245:0:-;-1:-1:-1;;;;;6441:34:0;;966:10:6;6441:34:0;6437:102;;6498:30;;-1:-1:-1;;;6498:30:0;;;;;;;;;;;6437:102;6549:37;6561:4;6567:18;6549:11;:37::i;:::-;;6348:245;;:::o;6877:153:5:-;6923:7;;4204:22;6969:20;7014:8;-1:-1:-1;;;;;7014:8:5;;6877:153;-1:-1:-1;;6877:153:5:o;7387:223:29:-;7476:19;7468:45;;;;-1:-1:-1;;;7468:45:29;;;;;;;;;;;;7523:19;:35;7559:7;:5;:7::i;:::-;966:10:6;7582:8:29;;7592:10;:8;:10::i;:::-;7523:80;;;;;;;;;;;;;;;;;;;:::i;17864:362:30:-;18011:7;18035:26;18063:19;18086:28;:26;:28::i;:::-;18034:80;;-1:-1:-1;18034:80:30;-1:-1:-1;18132:87:30;:6;18034:80;;18192:19;;18132:26;:87::i;7180:245::-;3395:21:7;:19;:21::i;:::-;-1:-1:-1;;;;;;;;;;;3191:16:0::1;3202:4;3191:10;:16::i;:::-;7351:67:30::2;::::0;-1:-1:-1;;;7351:67:30;;::::2;::::0;::::2;1895:25:51::0;;;1936:18;;;1929:34;;;7351:14:30::2;::::0;:31:::2;::::0;1868:18:51;;7351:67:30::2;1721:248:51::0;2238:98:28;2280:6;2305:24;-1:-1:-1;;;;;;;;;;;8325:39:3;-1:-1:-1;;;;;8325:39:3;;8243:128;2305:24:28;2298:31;;2238:98;:::o;2395:345::-;-1:-1:-1;;;;;;;;;;;8325:39:3;-1:-1:-1;;;;;8325:39:3;2078:29:28;2074:87;;2130:20;;-1:-1:-1;;;2130:20:28;;;;;;;;;;;2074:87;-1:-1:-1;;;;;;;;;;;6431:15:3;;2537:14:28;;8870:21:3;-1:-1:-1;;;6431:15:3;::::1;;;::::0;:44:::1;;-1:-1:-1::0;6450:14:3;;-1:-1:-1;;;;;6450:25:3;;::::1;:14:::0;::::1;:25;;6431:44;6427:105;;;6498:23;;-1:-1:-1::0;;;6498:23:3::1;;;;;;;;;;;6427:105;6541:24:::0;;-1:-1:-1;;6575:22:3;-1:-1:-1;;;;;6541:24:3;::::1;6575:22:::0;-1:-1:-1;;;6575:22:3::1;::::0;;-1:-1:-1;;;;;2591:7:28::2;2575:23;:12;966:10:6::0;;887:96;2575:12:28::2;-1:-1:-1::0;;;;;2575:23:28::2;;2567:46;;;;-1:-1:-1::0;;;2567:46:28::2;;;;;;;;;;;;2624:24;:22;:24::i;:::-;2659:22;2674:6;2659:14;:22::i;:::-;2692:41;2704:14;2720:6;2728:4;;2692:41;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::2;::::0;;;;-1:-1:-1;2692:11:28::2;::::0;-1:-1:-1;;;2692:41:28:i:2;:::-;6618:23:3::0;;-1:-1:-1;;;;6618:23:3::1;::::0;;6656:20:::1;::::0;-1:-1:-1;;;;;6178:31:51;;6160:50;;6656:20:3::1;::::0;6148:2:51;6133:18;6656:20:3::1;;;;;;;6291:392;2171:1:28;2395:345:::0;;;;:::o;12172:385:29:-;12328:20;12343:4;;12328:14;:20::i;:::-;-1:-1:-1;;;;;;;;;;;12439:66:29;12386:7;:5;:7::i;:::-;12379:40;;-1:-1:-1;;;12379:40:29;;12413:4;12379:40;;;5140:51:51;-1:-1:-1;;;;;12379:25:29;;;;;;;5113:18:51;;12379:40:29;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:126;;12358:192;;;;-1:-1:-1;;;12358:192:29;;;;;;;;;;;2799:231:28;3395:21:7;:19;:21::i;:::-;-1:-1:-1;;;;;;;;;;;6431:15:3;;2892:10:28;;8870:21:3;-1:-1:-1;;;6431:15:3;::::1;;;::::0;:44:::1;;-1:-1:-1::0;6450:14:3;;-1:-1:-1;;;;;6450:25:3;;::::1;:14:::0;::::1;:25;;6431:44;6427:105;;;6498:23;;-1:-1:-1::0;;;6498:23:3::1;;;;;;;;;;;6427:105;6541:24:::0;;-1:-1:-1;;6575:22:3;-1:-1:-1;;;;;6541:24:3;::::1;6575:22:::0;-1:-1:-1;;;6575:22:3::1;::::0;;-1:-1:-1;;;;;2938:7:28::2;2922:23;:12;966:10:6::0;;887:96;2922:12:28::2;-1:-1:-1::0;;;;;2922:23:28::2;;2914:46;;;;-1:-1:-1::0;;;2914:46:28::2;;;;;;;;;;;;2971:52;2980:24;-1:-1:-1::0;;;;;;;;;;;8325:39:3;-1:-1:-1;;;;;8325:39:3;;8243:128;2971:52:28::2;6618:23:3::0;;-1:-1:-1;;;;6618:23:3::1;::::0;;6656:20:::1;::::0;-1:-1:-1;;;;;6178:31:51;;6160:50;;6656:20:3::1;::::0;6148:2:51;6133:18;6656:20:3::1;;;;;;;6291:392;3426:1:7;3437:20:::0;:18;:20::i;7782:625:30:-;7883:27;7924:37;7975:38;8027:28;8069:38;8132:48;8183:13;:11;:13::i;:::-;8228:15;;;;8335:16;;;;;-1:-1:-1;;;8228:15:30;;;;;;;;-1:-1:-1;;;;;8257:24:30;;;;-1:-1:-1;;;;8295:26:30;;;;;;-1:-1:-1;8335:16:30;;;;;-1:-1:-1;8365:25:30;;;-1:-1:-1;7782:625:30;-1:-1:-1;;7782:625:30:o;7660:347:29:-;-1:-1:-1;;;;;;;;;;;3191:16:0;3202:4;3191:10;:16::i;:::-;-1:-1:-1;;;;;7829:18:29;::::1;7821:42;;;;-1:-1:-1::0;;;7821:42:29::1;;;;;;;;;;;;7881:19:::0;7873:45:::1;;;;-1:-1:-1::0;;;7873:45:29::1;;;;;;;;;;;;7928:19;:35;7964:7;:5;:7::i;:::-;7973:4;7979:8;;7989:10;:8;:10::i;:::-;7928:72;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;7660:347:::0;;;;:::o;8457:1475:30:-;8649:7;3395:21:7;:19;:21::i;:::-;5155:14:30::1;:12;:14::i;:::-;-1:-1:-1::0;;;;;;8680:22:30;::::2;8672:50;;;;-1:-1:-1::0;;;8672:50:30::2;;;;;;;;;;;;8733:14;8750:13;:11;:13::i;:::-;8733:36;::::0;;;;::::2;::::0;;;8750:19:::2;::::0;;;::::2;8733:36:::0;-1:-1:-1;;;;;8733:36:30;::::2;::::0;;-1:-1:-1;;;8733:36:30;::::2;-1:-1:-1::0;;;;;8733:36:30::2;;::::0;::::2;::::0;;-1:-1:-1;;8814:19:30::2;:17;:19::i;:::-;8779:54:::0;-1:-1:-1;8893:36:30::2;:1:::0;376::42::2;8893:14:30;:36::i;:::-;8889:137;;;8945:70;:1:::0;966:10:6;8972:6:30;8980:8;8990:24;8945:12:::2;:70::i;:::-;-1:-1:-1::0;;9112:110:30::2;::::0;9157:54:::2;;;;;;;;9112:110;9232:14;9249:94;9276:13;:11;:13::i;:::-;9249:6:::0;;9291:24;9317:19:::2;9338:4;9249:26;:94::i;:::-;9232:111;;9355:24;9381;9409:18;:16;:18::i;:::-;9354:73:::0;;-1:-1:-1;9354:73:30;-1:-1:-1;9354:73:30;9458:33:::2;9467:24:::0;9458:6;:33:::2;:::i;:::-;:53;;:83;;;;;9525:16;9515:6;:26;;9458:83;9578:10;9590:6;9598:16;9616;9437:206;;;;;;;;-1:-1:-1::0;;;9437:206:30::2;;;;;;;;;;;:::i;:::-;;;;;9654:48;9663:12;966:10:6::0;;887:96;9663:12:30::2;9677:8;9687:6;9695;9654:8;:48::i;:::-;9764:37;:1:::0;413::42::2;9764:14:30;:37::i;:::-;9760:142;;;9817:74;966:10:6::0;9845:6:30::2;9853;9861:8;9871:19;:17;:19::i;:::-;9817:1:::0;;:74;;;;:13:::2;:74::i;:::-;-1:-1:-1::0;9919:6:30;;-1:-1:-1;;;;;3437:20:7;:18;:20::i;6593:231:30:-;3395:21:7;:19;:21::i;:::-;-1:-1:-1;;;;;;;;;;;3191:16:0::1;3202:4;3191:10;:16::i;:::-;5155:14:30::2;:12;:14::i;:::-;-1:-1:-1::0;6765:52:30::3;::::0;-1:-1:-1;;;6765:52:30;;19037:6:51;19025:19;;6765:52:30::3;::::0;::::3;19007:38:51::0;6765:14:30::3;::::0;:35:::3;::::0;18980:18:51;;6765:52:30::3;18855:196:51::0;4106:171:4;-1:-1:-1;;;;;4250:20:4;4171:7;4250:20;;;-1:-1:-1;;;;;;;;;;;4250:20:4;;;;;;;4106:171::o;3155:101:1:-;2334:13;:11;:13::i;:::-;3219:30:::1;3246:1;3219:18;:30::i;9063:143:29:-:0;9119:7;-1:-1:-1;;;;;;;;;;;9145:40:29;:54;;9063:143;-1:-1:-1;9063:143:29:o;15105:238:30:-;3395:21:7;:19;:21::i;:::-;324:25:43::1;3191:16:0;3202:4;3191:10;:16::i;:::-;15215:48:30::2;15266:13;:11;:13::i;:::-;15290:15:::0;;::::2;::::0;;::::2;::::0;;-1:-1:-1;;;;;15290:15:30;;::::2;-1:-1:-1::0;;;15290:15:30::2;-1:-1:-1::0;;;;;15290:15:30;;::::2;::::0;;::::2;:7;::::0;::::2;:15:::0;15321::::2;::::0;;19250:58:51;;;19350:24;;19346:57;19324:20;;;19317:87;;;;15290:7:30;;-1:-1:-1;15321:15:30::2;::::0;19223:18:51;15321:15:30::2;;;;;;;15205:138;3426:1:7::1;3437:20:::0;:18;:20::i;20003:205:30:-;20052:7;20061;20080:48;20131:13;:11;:13::i;:::-;20162:18;;20182;;;;;20162;;20182;;-1:-1:-1;20003:205:30;-1:-1:-1;;20003:205:30:o;21075:357::-;21125:22;21159:48;21210:13;:11;:13::i;:::-;21159:64;;21234:27;21264:21;:1;:12;;:19;:21::i;:::-;21234:51;-1:-1:-1;21301:9:30;21296:130;21320:10;:17;21316:1;:21;21296:130;;;21376:1;:14;;:29;21391:10;21402:1;21391:13;;;;;;;;:::i;:::-;;;;;;;;;;;;-1:-1:-1;;;;;21376:29:30;;;;;;;;;;;-1:-1:-1;21376:29:30;:39;21358:57;;21376:39;;;-1:-1:-1;;;;;21376:39:30;21358:57;;:::i;:::-;;-1:-1:-1;21339:3:30;;21296:130;;;;21149:283;;21075:357;:::o;16475:134::-;16530:22;16571:13;:11;:13::i;:::-;:31;;16564:38;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;16564:38:30;;;;;;;;;;;;;;;;;;;;;;;16475:134;:::o;20815:207::-;20862:7;20871:6;20889:48;20940:13;:11;:13::i;:::-;20971:25;;;-1:-1:-1;;;;;20971:25:30;;;-1:-1:-1;;;20998:16:30;;;;;;-1:-1:-1;20971:25:30;-1:-1:-1;;20815:207:30:o;5761:226:29:-;-1:-1:-1;;;;;;;;;;;3191:16:0;3202:4;3191:10;:16::i;:::-;-1:-1:-1;;;;;5888:18:29;::::1;5880:42;;;;-1:-1:-1::0;;;5880:42:29::1;;;;;;;;;;;;5932:48;::::0;-1:-1:-1;;;5932:48:29;;-1:-1:-1;;;;;16143:32:51;;5932:48:29::1;::::0;::::1;16125:51:51::0;16192:18;;;16185:34;;;5932:19:29::1;::::0;:33:::1;::::0;16098:18:51;;5932:48:29::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5761:226:::0;;;:::o;15431:174:30:-;3395:21:7;:19;:21::i;:::-;643:22:43::1;3191:16:0;3202:4;3191:10;:16::i;:::-;15556:42:30::2;::::0;-1:-1:-1;;;15556:42:30;;:14:::2;::::0;:35:::2;::::0;:42:::2;::::0;15592:5;;;;15556:42:::2;;;:::i;2441:144:1:-:0;2487:7;;1313:22;2533:20;1192:159;2492:233:2;2573:7;2688:20;;;-1:-1:-1;;;;;;;;;;;2688:20:2;;;;;;;:30;;2712:5;2688:23;:30::i;3732:207:0:-;3809:4;3901:14;;;-1:-1:-1;;;;;;;;;;;3901:14:0;;;;;;;;-1:-1:-1;;;;;3901:31:0;;;;;;;;;;;;;;;3732:207::o;9982:1399:30:-;10171:7;3395:21:7;:19;:21::i;:::-;5155:14:30::1;:12;:14::i;:::-;-1:-1:-1::0;;;;;;10202:22:30;::::2;10194:50;;;;-1:-1:-1::0;;;10194:50:30::2;;;;;;;;;;;;10255:14;10272:13;:11;:13::i;:::-;10255:36;::::0;;;;::::2;::::0;;;10272:19:::2;::::0;;;::::2;10255:36:::0;-1:-1:-1;;;;;10255:36:30;::::2;::::0;;-1:-1:-1;;;10255:36:30;::::2;-1:-1:-1::0;;;;;10255:36:30::2;;::::0;::::2;::::0;;-1:-1:-1;;10336:19:30::2;:17;:19::i;:::-;10301:54:::0;-1:-1:-1;10412:33:30::2;:1:::0;446::42::2;10412:14:30;:33::i;:::-;10408:106;;;10447:67;:1:::0;966:10:6;10471:6:30;10479:8;10489:24;10447:9:::2;:67::i;:::-;-1:-1:-1::0;;10689:14:30::2;10706:93;10733:13;:11;:13::i;:::-;10706:6:::0;;10748:24;10774:18:::2;::::0;10706:26:::2;:93::i;:::-;10689:110;;10811:24;10837;10865:18;:16;:18::i;:::-;10810:73:::0;;-1:-1:-1;10810:73:30;-1:-1:-1;10810:73:30;10914:33:::2;10923:24:::0;10914:6;:33:::2;:::i;:::-;:53;;:83;;;;;10981:16;10971:6;:26;;10914:83;966:10:6::0;11048:6:30::2;11056:16;11074;10893:208;;;;;;;;-1:-1:-1::0;;;10893:208:30::2;;;;;;;;;;;:::i;:::-;;;;;11112:48;11121:12;966:10:6::0;;887:96;11121:12:30::2;11135:8;11145:6;11153;11112:8;:48::i;:::-;11219:34;:1:::0;480::42::2;11219:14:30;:34::i;:::-;11215:136;;;11269:71;966:10:6::0;11294:6:30::2;11302;11310:8;11320:19;:17;:19::i;:::-;11269:1:::0;;:71;;;;:10:::2;:71::i;2973:148:4:-:0;3105:9;3098:16;;3020:13;;-1:-1:-1;;;;;;;;;;;2064:20:4;3098:16;;;:::i;3658:227:2:-;3753:40;3849:20;;;-1:-1:-1;;;;;;;;;;;3849:20:2;;;;;;;;3725:16;;1403:38;3849:29;;:27;:29::i;20522:240:30:-;20568:7;20577:6;20585;20603:48;20654:13;:11;:13::i;:::-;20685:24;;;-1:-1:-1;;;;;20685:24:30;;;-1:-1:-1;;;20711:15:30;;;;;-1:-1:-1;;;;20728:26:30;;;;;;-1:-1:-1;20685:24:30;-1:-1:-1;;20522:240:30:o;4472:178:4:-;4541:4;966:10:6;4595:27:4;966:10:6;4612:2:4;4616:5;4595:9;:27::i;20261:208:30:-;20311:7;20320;20339:48;20390:13;:11;:13::i;:::-;20339:64;;20421:1;:19;;;20442:1;:19;;;20413:49;;;;;20261:208;;:::o;9720:188:29:-;9799:7;9808;9817;9843:19;:56;:58;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;9836:65;;;;;;9720:188;;;:::o;6169:637::-;5155:14:30;:12;:14::i;:::-;;3395:21:7::1;:19;:21::i;:::-;-1:-1:-1::0;;;;;;;;;;;3191:16:0::2;3202:4;3191:10;:16::i;:::-;6360:14:29::3;6377:10;:8;:10::i;:::-;6360:27:::0;-1:-1:-1;6397:19:29::3;:32;6468:143;6519:14;6360:27:::0;6519:2:::3;:14;:::i;:::-;6535:13;:11;:13::i;:::-;6550:19;:17;:19::i;:::-;6571;6592:5;6468:33;:143::i;:::-;6662:7;:5;:7::i;:::-;6655:40;::::0;-1:-1:-1;;;6655:40:29;;6689:4:::3;6655:40;::::0;::::3;5140:51:51::0;-1:-1:-1;;;;;6655:25:29;;;::::3;::::0;::::3;::::0;5113:18:51;;6655:40:29::3;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;6397:402;::::0;-1:-1:-1;;;;;;6397:402:29::3;::::0;;;;;;::::3;::::0;::::3;22457:25:51::0;;;;22498:18;;;22491:34;22573:4;22561:17;;22541:18;;;22534:45;22430:18;;6397:402:29::3;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6278:528;3426:1:7::2;3437:20:::1;:18;:20::i;17086:315:30:-:0;17191:7;17211:26;17239:19;17262:28;:26;:28::i;:::-;17210:80;;-1:-1:-1;17210:80:30;-1:-1:-1;17308:86:30;:6;17210:80;;17368:18;17388:5;17308:26;:86::i;11431:1830::-;11639:7;3395:21:7;:19;:21::i;:::-;5155:14:30::1;:12;:14::i;:::-;-1:-1:-1::0;;;;;;11670:22:30;::::2;11662:50;;;;-1:-1:-1::0;;;11662:50:30::2;;;;;;;;;;;;11723:14;11740:13;:11;:13::i;:::-;11723:36;::::0;;;;::::2;::::0;;;11740:19:::2;::::0;;;::::2;11723:36:::0;-1:-1:-1;;;;;11723:36:30;::::2;::::0;;-1:-1:-1;;;11723:36:30;::::2;-1:-1:-1::0;;;;;11723:36:30::2;;::::0;::::2;::::0;;-1:-1:-1;;11807:19:30::2;:17;:19::i;:::-;11769:57:::0;-1:-1:-1;11841:37:30::2;:1:::0;517::42::2;11841:14:30;:37::i;:::-;11837:149;;;11894:81;:1:::0;966:10:6;11922:6:30;11930:8;11940:5;11947:27;11894:13:::2;:81::i;:::-;12245:20;12268:13;:11;:13::i;:::-;12245:36;;12291:17;12323:107;12360:12;12374:27;12403:19;12424:5;12323:16;12333:5;12323:9;:16::i;:::-;:36:::0;:107;;;:36:::2;:107::i;:::-;12291:139:::0;-1:-1:-1;12441:14:30::2;12458:95;:6:::0;12485:12;12499:27;12528:18:::2;::::0;12458:26:::2;:95::i;:::-;12441:112;;12576:9;12567:6;:18;:94;;;-1:-1:-1::0;12655:6:30;12589:63:::2;966:10:6::0;12620:8:30::2;12630:5;12637:6;12645;12589:16;:63::i;:::-;:72;12567:94;12563:184;;;12711:5;12718:6;12726:9;12684:52;;-1:-1:-1::0;;;12684:52:30::2;;;;;;;;;;:::i;12563:184::-;12758:25;12785;12814:19;:17;:19::i;:::-;12757:76;;;;12874:17;12864:6;:27;;:58;;;;;12905:17;12895:6;:27;;12864:58;966:10:6::0;12973:6:30::2;12981:17;13000;12843:185;;;;;;;;-1:-1:-1::0;;;12843:185:30::2;;;;;;;;;;;:::i;:::-;;;;;13091:38;555:1:42;13091::30;:14;;:38;;;;:::i;:::-;13087:144;;;13145:75;966:10:6::0;13174:6:30::2;13182;13190:8;13200:19;:17;:19::i;:::-;13145:1:::0;;:75;;;;:14:::2;:75::i;:::-;-1:-1:-1::0;13248:6:30;;-1:-1:-1;;;;;;3437:20:7;:18;:20::i;19653:121:30:-;19699:16;19734:33;:13;:11;:13::i;:::-;:24;;:31;:33::i;13311:1726::-;13517:7;3395:21:7;:19;:21::i;:::-;5155:14:30::1;:12;:14::i;:::-;-1:-1:-1::0;;;;;;13548:22:30;::::2;13540:50;;;;-1:-1:-1::0;;;13540:50:30::2;;;;;;;;;;;;13601:14;13618:13;:11;:13::i;:::-;13601:36;::::0;;;;::::2;::::0;;;13618:19:::2;::::0;;;::::2;13601:36:::0;-1:-1:-1;;;;;13601:36:30;::::2;::::0;;-1:-1:-1;;;13601:36:30;::::2;-1:-1:-1::0;;;;;13601:36:30::2;;::::0;::::2;::::0;;-1:-1:-1;;13685:19:30::2;:17;:19::i;:::-;13647:57:::0;-1:-1:-1;13764:35:30::2;:1:::0;590::42::2;13764:14:30;:35::i;:::-;13760:145;;;13815:79;:1:::0;966:10:6;13841:6:30;13849:8;13859:5;13866:27;13815:11:::2;:79::i;:::-;14163:17;14183:16;14193:5;14183:9;:16::i;:::-;14163:36;;14210:14;14239:97;14266:13;:11;:13::i;:::-;14239:6:::0;;14281:27;14310:19:::2;14331:4;14239:26;:97::i;:::-;14210:126;;14360:9;14351:6;:18;:94;;;-1:-1:-1::0;14439:6:30;14373:63:::2;966:10:6::0;14404:8:30::2;14414:5;14421:6;14429;14373:16;:63::i;:::-;:72;14351:94;14347:182;;;14493:5;14500:6;14508:9;14468:50;;-1:-1:-1::0;;;14468:50:30::2;;;;;;;;;;:::i;14347:182::-;14540:25;14567;14596:19;:17;:19::i;:::-;14539:76;;;;14656:17;14646:6;:27;;:58;;;;;14687:17;14677:6;:27;;14646:58;966:10:6::0;14755:6:30::2;14763:17;14782;14625:185;;;;;;;;-1:-1:-1::0;;;14625:185:30::2;;;;;;;;;;;:::i;:::-;;;;;14871:36;626:1:42;14871::30;:14;;:36;;;;:::i;:::-;14867:140;;;14923:73;966:10:6::0;14950:6:30::2;14958;14966:8;14976:19;:17;:19::i;:::-;14923:1:::0;;:73;;;;:12:::2;:73::i;:::-;-1:-1:-1::0;15024:6:30;;-1:-1:-1;;;;;3437:20:7;:18;:20::i;9958:290:29:-;10035:7;10082:75;;;:66;:75;;;;;;10171:22;;;10167:36;;-1:-1:-1;10202:1:29;;9958:290;-1:-1:-1;;9958:290:29:o;10167:36::-;10220:21;10240:1;10220:17;:21;:::i;19842:108:30:-;19889:7;19915:13;:11;:13::i;:::-;:28;;;-1:-1:-1;;;;;19915:28:30;;19842:108;-1:-1:-1;19842:108:30:o;6010:227::-;3395:21:7;:19;:21::i;:::-;-1:-1:-1;;;;;;;;;;;3191:16:0::1;3202:4;3191:10;:16::i;:::-;5155:14:30::2;:12;:14::i;:::-;-1:-1:-1::0;6180:50:30::3;::::0;-1:-1:-1;;;6180:50:30;;19037:6:51;19025:19;;6180:50:30::3;::::0;::::3;19007:38:51::0;6180:14:30::3;::::0;:34:::3;::::0;18980:18:51;;6180:50:30::3;18855:196:51::0;8013:289:29;-1:-1:-1;;;;;;;;;;;3191:16:0;3202:4;3191:10;:16::i;:::-;8182::29;8174:39:::1;;;;-1:-1:-1::0;;;8174:39:29::1;;;;;;;;;;;;8223:19;:35;8259:7;:5;:7::i;:::-;8268:5;;8275:7;8284:10;:8;:10::i;:::-;8223:72;;;;;;;;;;;;;;;;;;;:::i;7309:148:5:-:0;7379:7;7405:45;7422:6;7430:19;7405:16;:45::i;2893:222:2:-;2964:7;3079:20;;;-1:-1:-1;;;;;;;;;;;3079:20:2;;;;;;;:29;;:27;:29::i;5993:126:29:-;-1:-1:-1;;;;;;;;;;;3191:16:0;3202:4;3191:10;:16::i;:::-;6080:19:29::1;:30;:32;;;;;;;;;;;;;;;;;;;;;;;;;;;;;19153:219:30::0;19297:17;19346:19;19359:5;19346:12;:19::i;:::-;-1:-1:-1;19330:35:30;;19153:219;-1:-1:-1;;;19153:219:30:o;5662:138:0:-;5737:18;5750:4;5737:12;:18::i;:::-;3191:16;3202:4;3191:10;:16::i;:::-;5767:26:::1;5779:4;5785:7;5767:11;:26::i;16216:174:30:-:0;3395:21:7;:19;:21::i;:::-;481:29:43::1;3191:16:0;3202:4;3191:10;:16::i;:::-;16338:45:30::2;::::0;-1:-1:-1;;;16338:45:30;;-1:-1:-1;;;;;5158:32:51;;16338:45:30::2;::::0;::::2;5140:51:51::0;16338:14:30::2;::::0;:35:::2;::::0;5113:18:51;;16338:45:30::2;4994:203:51::0;18759:344:30;18861:7;18881:17;18900:27;18929;18960:19;18973:5;18960:12;:19::i;:::-;18880:99;;-1:-1:-1;18880:99:30;-1:-1:-1;18880:99:30;-1:-1:-1;18997:99:30;18880;;;19069:19;;18997:29;:99::i;:::-;18990:106;18759:344;-1:-1:-1;;;;;18759:344:30:o;21438:128::-;21488:7;-1:-1:-1;;;;;;;;;;;21514:27:30;718:181:48;4708:195:4;-1:-1:-1;;;;;4867:20:4;;;4788:7;4867:20;;;:13;:20;;;;;;;;:29;;;;;;;;;;;;;4708:195::o;6290:250:30:-;3395:21:7;:19;:21::i;:::-;5155:14:30::1;:12;:14::i;:::-;;6428:7:::2;-1:-1:-1::0;;;;;6420:22:30::2;;:24;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1::0;;;;;6404:40:30::2;966:10:6::0;-1:-1:-1;;;;;6404:40:30::2;;6396:72;;;;-1:-1:-1::0;;;6396:72:30::2;;;;;;;;;;;;6479:54;::::0;-1:-1:-1;;;6479:54:30;;-1:-1:-1;;;;;5158:32:51;;6479:54:30::2;::::0;::::2;5140:51:51::0;6479:14:30::2;::::0;:43:::2;::::0;5113:18:51;;6479:54:30::2;4994:203:51::0;16674:362:30;16822:7;16846:26;16874:19;16897:28;:26;:28::i;:::-;16845:80;;-1:-1:-1;16845:80:30;-1:-1:-1;16942:87:30;:6;16845:80;;17002:19;;16942:26;:87::i;3405:215:1:-;2334:13;:11;:13::i;:::-;-1:-1:-1;;;;;3489:22:1;::::1;3485:91;;3534:31;::::0;-1:-1:-1;;;3534:31:1;;3562:1:::1;3534:31;::::0;::::1;5140:51:51::0;5113:18;;3534:31:1::1;4994:203:51::0;3485:91:1::1;3585:28;3604:8;3585:18;:28::i;33277:731:30:-:0;33346:7;33355;33375:26;33403;33433:21;:19;:21::i;:::-;33374:80;;;;33465:25;33493:13;:11;:13::i;:::-;33465:41;;33516:25;33587:18;33566;33544:19;:17;:19::i;:::-;:40;;;;:::i;:::-;:61;;;;:::i;:::-;33516:89;;33617:27;33649:39;33670:17;33649:20;:39::i;:::-;-1:-1:-1;33616:72:30;-1:-1:-1;33698:40:30;33616:72;33698:40;;:::i;:::-;;;33750:28;33795:99;33817:17;33836:18;33856;33876:17;33795:21;:99::i;:::-;-1:-1:-1;33749:145:30;-1:-1:-1;33904:41:30;33749:145;33904:41;;:::i;:::-;33964:17;;33904:41;;-1:-1:-1;33277:731:30;;-1:-1:-1;;;;;;33277:731:30:o;3443:202:0:-;3528:4;-1:-1:-1;;;;;;3551:47:0;;-1:-1:-1;;;3551:47:0;;:87;;-1:-1:-1;;;;;;;;;;1134:40:8;;;3602:36:0;1035:146:8;4148:103:0;4214:30;4225:4;966:10:6;4214::0;:30::i;3470:384:7:-;2532:30;3670:9;;-1:-1:-1;;3670:20:7;3666:88;;3713:30;;-1:-1:-1;;;3713:30:7;;;;;;;;;;;3666:88;1991:1;3828:19;;3470:384::o;23576:1921:30:-;23626:7;23645:48;23696:13;:11;:13::i;:::-;23645:64;;23720:26;23756;23806:27;23836:21;:1;:12;;:19;:21::i;:::-;23899:17;;23806:51;;-1:-1:-1;23871:25:30;23931:842;23951:17;23947:1;:21;23931:842;;;23994:21;24017:12;24031:35;24090:36;24112:10;24123:1;24112:13;;;;;;;;:::i;:::-;;;;;;;24090:21;:36::i;:::-;23993:133;;;;;;24385:13;24402:1;24385:18;;:31;;;-1:-1:-1;24407:9:30;;;24385:31;24381:378;;;24482:39;:27;:37;:39::i;:::-;24440:1;:14;;:29;24455:10;24466:1;24455:13;;;;;;;;:::i;:::-;;;;;;;-1:-1:-1;;;;;24440:29:30;-1:-1:-1;;;;;24440:29:30;;;;;;;;;;;;:39;;;:81;;;;;-1:-1:-1;;;;;24440:81:30;;;;;-1:-1:-1;;;;;24440:81:30;;;;;;24566:13;24544:35;;;;;:::i;:::-;;-1:-1:-1;24601:26:30;24623:4;24601:26;;:::i;:::-;;;24676:10;24687:1;24676:13;;;;;;;;:::i;:::-;;;;;;;-1:-1:-1;;;;;24655:85:30;;24691:27;24720:13;24735:4;24655:85;;;;;;;13241:25:51;;;13297:2;13282:18;;13275:34;;;;13340:2;13325:18;;13318:34;13229:2;13214:18;;13039:319;24655:85:30;;;;;;;;24381:378;23975:798;;;23970:3;;;;;23931:842;;;;23792:991;;24793:67;24863:27;-1:-1:-1;;;;;;;;;;;844:39:48;718:181;24863:27:30;24793:97;;24901:25;24978:18;24957;24929:7;:25;;;:46;;;;:::i;:::-;:67;;;;:::i;:::-;25044:45;;;24901:95;-1:-1:-1;25204:38:30;24901:95;25204:19;:38::i;:::-;25308:79;25329:17;25348:18;25368;25308:20;:79::i;:::-;25403:52;;;1895:25:51;;;1951:2;1936:18;;1929:34;;;25403:52:30;;1868:18:51;25403:52:30;;;;;;;25473:17;23576:1921;-1:-1:-1;;;;;23576:1921:30:o;3860:283:7:-;1949:1;2532:30;4113:23;3860:283::o;43837:372:30:-;43943:7;43963:26;43991;44021:21;:19;:21::i;:::-;43962:80;;;;44059:143;44099:13;:11;:13::i;:::-;44157:18;44136;44114:19;:17;:19::i;:::-;:40;;;;:::i;:::-;:61;;;;:::i;:::-;44059:6;;:143;44177:8;44187:5;44059:26;:143::i;10001:128:4:-;10085:37;10094:5;10101:7;10110:5;10117:4;10085:8;:37::i;280:514:40:-;477:14;559:135;586:16;:12;601:1;586:16;:::i;:::-;646;:12;661:1;646:16;:::i;:::-;559:6;;:135;676:8;559:13;:135::i;:::-;550:144;;708:8;:23;;;;-1:-1:-1;720:11:40;;708:23;704:83;;;740:47;;-1:-1:-1;;;740:47:40;;;;;;;;;;;9205:561:38;9401:14;9488:15;;;:43;;;9518:13;9507:7;:24;;9488:43;9484:57;;;-1:-1:-1;9540:1:38;9533:8;;9484:57;-1:-1:-1;;;;;9569:64:38;;9552:14;9569:64;;;:58;:64;;;;;;;;:73;;;;;;;;;;9656:11;;;9652:25;;9676:1;9669:8;;;;;9652:25;9697:62;9711:10;9723:14;9729:8;9723:2;:14;:::i;:::-;9697:6;;:62;9739:19;9697:13;:62::i;:::-;9688:71;9205:561;-1:-1:-1;;;;;;;9205:561:38:o;11745:476:4:-;11844:24;11871:25;11881:5;11888:7;11871:9;:25::i;:::-;11844:52;;-1:-1:-1;;11910:16:4;:36;11906:309;;;11985:5;11966:16;:24;11962:130;;;12044:7;12053:16;12071:5;12017:60;;-1:-1:-1;;;12017:60:4;;;;;;;;;;:::i;11962:130::-;12133:57;12142:5;12149:7;12177:5;12158:16;:24;12184:5;12133:8;:57::i;6605:300::-;-1:-1:-1;;;;;6688:18:4;;6684:86;;6729:30;;-1:-1:-1;;;6729:30:4;;6756:1;6729:30;;;5140:51:51;5113:18;;6729:30:4;4994:203:51;6684:86:4;-1:-1:-1;;;;;6783:16:4;;6779:86;;6822:32;;-1:-1:-1;;;6822:32:4;;6851:1;6822:32;;;5140:51:51;5113:18;;6822:32:4;4994:203:51;6779:86:4;6874:24;6882:4;6888:2;6892:5;6874:7;:24::i;2235:183:49:-;2362:40;;2235:183::o;3987:348:2:-;4073:4;-1:-1:-1;;;;;;;;;;;4073:4:2;4193:31;4210:4;4216:7;4193:16;:31::i;:::-;4178:46;;4238:7;4234:71;;;4261:14;:20;;;;;;;;;;:33;;4286:7;4261:24;:33::i;:::-;;4321:7;3987:348;-1:-1:-1;;;;3987:348:2:o;4438:353::-;4525:4;-1:-1:-1;;;;;;;;;;;4525:4:2;4645:32;4663:4;4669:7;4645:17;:32::i;:::-;4630:47;;4691:7;4687:74;;;4714:14;:20;;;;;;;;;;:36;;4742:7;4714:27;:36::i;800:514:40:-;997:14;1079:135;1106:16;:12;1121:1;1106:16;:::i;:::-;1166;:12;1181:1;1166:16;:::i;1079:135::-;1070:144;;1228:8;:23;;;;-1:-1:-1;1240:11:40;;1228:23;1224:83;;;1260:47;;-1:-1:-1;;;1260:47:40;;;;;;;;;;;2684:111:7;6931:20:3;:18;:20::i;:::-;2754:34:7::1;:32;:34::i;1847:127:1:-:0;6931:20:3;:18;:20::i;:::-;1929:38:1::1;1954:12;1929:24;:38::i;4419:352:29:-:0;4533:46;4551:14;4567:5;4574:4;4533:17;:46::i;:::-;4689:4;4679:15;;4673:22;4714:50;4673:22;4714:29;:50::i;5392:428:30:-;3395:21:7;:19;:21::i;:::-;643:22:43::1;3191:16:0;3202:4;3191:10;:16::i;:::-;5155:14:30::2;:12;:14::i;:::-;;5555:25:::3;5606:38;;;5646:4;;5583:68;;;;;;;;;:::i;:::-;;::::0;;-1:-1:-1;;5583:68:30;;::::3;::::0;;;;;;::::3;::::0;::::3;::::0;;-1:-1:-1;;;;;5583:68:30::3;-1:-1:-1::0;;;;;;5583:68:30;;::::3;::::0;;;::::3;::::0;;;;-1:-1:-1;5661:51:30::3;5583:68:::0;5661:16:::3;:14;:16::i;:::-;-1:-1:-1::0;;;;;5661:37:30::3;::::0;::::3;:51::i;:::-;-1:-1:-1::0;;;;;;;;;;;;9350:66:29;5737:7:30::3;:5;:7::i;:::-;5730:40;::::0;-1:-1:-1;;;5730:40:30;;5764:4:::3;5730:40;::::0;::::3;5140:51:51::0;-1:-1:-1;;;;;5730:25:30;;;::::3;::::0;::::3;::::0;5113:18:51;;5730:40:30::3;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:59;;5722:91;;;;-1:-1:-1::0;;;5722:91:30::3;;;;;;;;;;;;5505:315;3426:1:7::1;3437:20:::0;:18;:20::i;1140:190:42:-;1218:4;1239:23;1249:1;1252:9;1239;:23::i;:::-;1238:24;:50;;;-1:-1:-1;1266:8:42;;-1:-1:-1;;;;;1266:22:42;;1238:50;1234:68;;;-1:-1:-1;1297:5:42;1290:12;;1234:68;-1:-1:-1;1319:4:42;1140:190;;;;:::o;1336:210::-;1480:8;;1474:65;;-1:-1:-1;;;1474:65:42;;-1:-1:-1;;;;;23914:32:51;;;1474:65:42;;;23896:51:51;23963:18;;;23956:34;;;24026:32;;;24006:18;;;23999:60;24075:18;;;24068:34;;;1474:26:42;;;;;;23868:19:51;;1474:65:42;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1336:210;;;;;:::o;30055:915:30:-;30734:74;30768:7;:5;:7::i;:::-;30778:6;30794:4;30801:6;30734:26;:74::i;:::-;30867:6;-1:-1:-1;;;;;;;;;;;30818:55:30;;:45;;:55;;;;;:::i;:::-;;;;-1:-1:-1;30883:23:30;;-1:-1:-1;30889:8:30;30899:6;30883:5;:23::i;:::-;30938:8;-1:-1:-1;;;;;30922:41:30;30930:6;-1:-1:-1;;;;;30922:41:30;;30948:6;30956;30922:41;;;;;;1895:25:51;;;1951:2;1936:18;;1929:34;1883:2;1868:18;;1721:248;30922:41:30;;;;;;;;30055:915;;;;:::o;2310:278:42:-;2513:8;;2507:74;;-1:-1:-1;;;2507:74:42;;-1:-1:-1;;;;;2507:27:42;;;;;;:74;;2535:6;;2543;;2551;;2559:8;;2569:11;;2507:74;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2310:278;;;;;;:::o;2658:162:1:-;966:10:6;2717:7:1;:5;:7::i;:::-;-1:-1:-1;;;;;2717:23:1;;2713:101;;2763:40;;-1:-1:-1;;;2763:40:1;;966:10:6;2763:40:1;;;5140:51:51;5113:18;;2763:40:1;4994:203:51;3774:248:1;1313:22;3923:8;;-1:-1:-1;;;;;;3941:19:1;;-1:-1:-1;;;;;3941:19:1;;;;;;;;3975:40;;3923:8;;;;;3975:40;;3847:24;;3975:40;3837:185;;3774:248;:::o;10243:273:27:-;10306:16;10334:22;10359:19;10367:3;10359:7;:19::i;9547:156::-;9621:7;9671:22;9675:3;9687:5;9671:3;:22::i;1552:192:42:-;1681:8;;1675:62;;-1:-1:-1;;;1675:62:42;;-1:-1:-1;;;;;23914:32:51;;;1675:62:42;;;23896:51:51;23963:18;;;23956:34;;;24026:32;;;24006:18;;;23999:60;24075:18;;;24068:34;;;1675:23:42;;;;;;23868:19:51;;1675:62:42;23665:443:51;2594:272:42;2794:8;;2788:71;;-1:-1:-1;;;2788:71:42;;-1:-1:-1;;;;;2788:24:42;;;;;;:71;;2813:6;;2821;;2829;;2837:8;;2847:11;;2788:71;;;:::i;1750:276::-;1952:8;;1946:73;;-1:-1:-1;;;1946:73:42;;-1:-1:-1;;;;;24910:32:51;;;1946:73:42;;;24892:51:51;24959:18;;;24952:34;;;25022:32;;;25002:18;;;24995:60;25091:32;;;25071:18;;;25064:60;25140:19;;;25133:35;;;1946:27:42;;;;;;24864:19:51;;1946:73:42;24633:541:51;10717:1212:29;10891:7;10931:1;10922:6;:10;10914:33;;;;-1:-1:-1;;;10914:33:29;;;;;;;;;;;;11100:15;;-1:-1:-1;;;;;;;;;;;1448:37:47;11100:15:29;;11096:827;;;11145:5;-1:-1:-1;;;;;11135:15:29;:6;-1:-1:-1;;;;;11135:15:29;;11131:92;;11170:38;11186:5;11193:6;11201;11170:15;:38::i;:::-;11322:39;11332:5;11347:4;11354:6;11322:9;:39::i;:::-;11445:15;;-1:-1:-1;;;;;11474:29:29;;11420:22;11474:29;;;:19;;;:29;;;;;;;;:45;;;;;;;;:55;;11523:6;;11420:22;11474:55;;11523:6;;11474:55;:::i;:::-;;;;-1:-1:-1;;11543:46:29;;;;:30;;;:46;;;;;:56;;11593:6;;11543:46;:56;;11593:6;;11543:56;:::i;:::-;;;;-1:-1:-1;;11619:73:29;;;13241:25:51;;;13297:2;13282:18;;13275:34;;;13325:18;;;13318:34;;;-1:-1:-1;;;;;11619:73:29;;;;;;;;;;;;;13229:2:51;13214:18;11619:73:29;;;;;;;11805:6;11798:13;;;;;;11096:827;11849:63;11872:6;11880:8;11890:5;11897:6;11905;11849:22;:63::i;:::-;11842:70;;;;;2872:280:42;3076:8;;3070:75;;-1:-1:-1;;;3070:75:42;;-1:-1:-1;;;;;3070:28:42;;;;;;:75;;3099:6;;3107;;3115;;3123:8;;3133:11;;3070:75;;;:::i;2032:272::-;2232:8;;2226:71;;-1:-1:-1;;;;;;2226:71:42;;-1:-1:-1;;;;;24910:32:51;;;2226:71:42;;;24892:51:51;24959:18;;;24952:34;;;25022:32;;;25002:18;;;24995:60;25091:32;;;25071:18;;;25064:60;25140:19;;;25133:35;;;2226:25:42;;;;;;24864:19:51;;2226:71:42;24633:541:51;3158:276:42;3360:8;;3354:73;;-1:-1:-1;;;3354:73:42;;-1:-1:-1;;;;;3354:26:42;;;;;;:73;;3381:6;;3389;;3397;;3405:8;;3415:11;;3354:73;;;:::i;42865:372:30:-;42971:7;42991:26;43019;43049:21;:19;:21::i;:::-;42990:80;;;;43087:143;43127:13;:11;:13::i;:::-;43185:18;43164;43142:19;:17;:19::i;:::-;:40;;;;:::i;:::-;:61;;;;:::i;:::-;43087:6;;:143;43205:8;43215:5;43087:26;:143::i;9090:115:27:-;9153:7;9179:19;9187:3;4556:18;;4474:107;40153:477:30;40221:7;40230;40239;40258:19;40280:16;40290:5;40280:9;:16::i;:::-;40258:38;;40307:26;40335;40365:28;:26;:28::i;:::-;40306:87;;-1:-1:-1;40306:87:30;-1:-1:-1;40404:17:30;40436:99;:11;40306:87;;40404:17;;40436:31;:99::i;:::-;40404:131;;40554:28;40572:9;40554:17;:28::i;:::-;40546:77;-1:-1:-1;40584:18:30;;-1:-1:-1;40604:18:30;-1:-1:-1;;;40153:477:30;;;;;;:::o;34263:608::-;34357:26;34385;34427:27;34457:33;:13;:11;:13::i;:33::-;34528:17;;34427:63;;-1:-1:-1;34500:25:30;34556:309;34576:17;34572:1;:21;34556:309;;;34615:21;34638:12;34655:36;34677:10;34688:1;34677:13;;;;;;;;:::i;34655:36::-;34614:77;;;;;34710:13;34727:1;34710:18;;:31;;;-1:-1:-1;34732:9:30;;;34710:31;34706:149;;;34761:35;34783:13;34761:35;;:::i;:::-;;-1:-1:-1;34814:26:30;34836:4;34814:26;;:::i;:::-;;;34706:149;-1:-1:-1;;34595:3:30;;34556:309;;;;34417:454;;34263:608;;:::o;36903:1256::-;37006:17;37025;37058:48;37109:13;:11;:13::i;:::-;37137:15;;;;;;-1:-1:-1;;;;37137:15:30;;;;37156:1;37137:20;37133:39;;-1:-1:-1;37167:1:30;;;;-1:-1:-1;36903:1256:30;-1:-1:-1;;36903:1256:30:o;37133:39::-;37183:18;37204:16;:14;:16::i;:::-;37251:26;;;;37183:37;;-1:-1:-1;37251:26:30;-1:-1:-1;;;37251:26:30;;;;;;37292;;;;;37288:45;;-1:-1:-1;37328:1:30;;;;-1:-1:-1;36903:1256:30;-1:-1:-1;;;;36903:1256:30:o;37288:45::-;37344:19;37366:25;37380:11;37366;:25;:::i;:::-;37527:15;;;;37344:47;;;;;;-1:-1:-1;37481:23:30;;219:6:39;;37508:34:30;;-1:-1:-1;;;37527:15:30;;37507:76;37527:15;37508:16;:34;:::i;:::-;37507:76;;;;:::i;:::-;37481:102;-1:-1:-1;37640:8:30;37606:29;37624:11;37481:102;37606:29;:::i;:::-;37605:44;;;;:::i;:::-;37593:56;;37664:9;37677:1;37664:14;37660:33;;-1:-1:-1;37688:1:30;;;;-1:-1:-1;36903:1256:30;-1:-1:-1;;;;;;36903:1256:30:o;37660:33::-;37792:16;37780:9;:28;37776:87;;;37836:16;37824:28;;37776:87;38010:102;38040:13;:11;:13::i;:::-;38055:28;38074:9;38055:16;:28;:::i;:::-;38010:9;;:102;38085:19;;38010:29;:102::i;:::-;37986:126;;38123:29;;;;;36903:1256;;;:::o;38653:746::-;38816:7;38825;38848:48;38899:13;:11;:13::i;:::-;38927:16;;;;;;-1:-1:-1;;;;38927:16:30;;;;:21;;:48;;;38961:13;38953:4;:21;;38927:48;38923:67;;;38985:1;38988;38977:13;;;;;;;38923:67;39001:24;39028:20;39044:4;39028:13;:20;:::i;:::-;39108:16;;;;39001:47;;-1:-1:-1;39058:17:30;;39078:86;;39001:47;;-1:-1:-1;;;39108:16:30;;;;219:6:39;39078:11:30;:86::i;:::-;39058:106;;39179:9;39192:1;39179:14;39175:33;;39203:1;39206;39195:13;;;;;;;;;39175:33;39219:17;39251:101;39281:11;39294:29;39314:9;39294:17;:29;:::i;:::-;39251:9;;:101;39325:19;;39251:29;:101::i;:::-;39219:133;-1:-1:-1;39382:9:30;;-1:-1:-1;;;;38653:746:30;;;;;;;;:::o;4381:197:0:-;4469:22;4477:4;4483:7;4469;:22::i;:::-;4464:108;;4514:47;;-1:-1:-1;;;4514:47:0;;-1:-1:-1;;;;;16143:32:51;;4514:47:0;;;16125:51:51;16192:18;;;16185:34;;;16098:18;;4514:47:0;15943:282:51;35481:1130:30;35553:7;35562;35571;35590:48;35641:13;:11;:13::i;:::-;-1:-1:-1;;;;;35699:24:30;;35665:31;35699:24;;;:14;;;:24;;;;;:34;:14;;-1:-1:-1;;;;;;35699:34:30;;;;;;;35748:31;;:83;;;;;;;;:::i;:::-;;35744:130;;35855:1;35858;35861;35847:16;;;;;;;;;;35744:130;35884:34;35939:8;-1:-1:-1;;;;;35921:47:30;;:49;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;35884:86;-1:-1:-1;;;;;;36022:47:30;;;36021:98;;36093:26;36021:98;;;-1:-1:-1;;;;;36021:98:30;35980:139;;36130:13;36153:12;36209:23;-1:-1:-1;;;;;36179:53:30;:26;:53;36175:371;;36256:5;;-1:-1:-1;36263:4:30;-1:-1:-1;36269:26:30;-1:-1:-1;36248:48:30;;-1:-1:-1;;36248:48:30;36175:371;36346:23;-1:-1:-1;;;;;36317:52:30;:26;:52;36313:233;;;36393:52;-1:-1:-1;;;;;36393:52:30;;:26;:52;:::i;:::-;36385:60;;36313:233;;;36483:52;36509:26;-1:-1:-1;;;;;36483:52:30;;;:::i;:::-;36476:59;;36313:233;36564:5;;;;-1:-1:-1;36577:26:30;;-1:-1:-1;35481:1130:30;-1:-1:-1;;;;35481:1130:30:o;9773:218:26:-;9830:7;-1:-1:-1;;;;;9853:25:26;;9849:105;;;9901:42;;-1:-1:-1;;;9901:42:26;;9932:3;9901:42;;;26245:36:51;26297:18;;;26290:34;;;26218:18;;9901:42:26;26063:267:51;9849:105:26;-1:-1:-1;9978:5:26;9773:218::o;31149:728:30:-;31225:17;31244;31265:39;31286:17;31265:20;:39::i;:::-;31224:80;;;;31315:48;31366:13;:11;:13::i;:::-;31315:64;;31460:16;:14;:16::i;:::-;31431:26;;;:45;;;;;;;-1:-1:-1;;;31431:45:30;-1:-1:-1;;;;31431:45:30;;;;;;;-1:-1:-1;;;;;31571:24:30;;;;;;31609:14;;;;;:54;;-1:-1:-1;;;;;;31627:36:30;;;;31609:54;31605:266;;;31734:40;31740:22;31764:9;31734:5;:40::i;:::-;31794:66;;;1895:25:51;;;1951:2;1936:18;;1929:34;;;-1:-1:-1;;;;;31794:66:30;;;;;1868:18:51;31794:66:30;;;;;;;31214:663;;;;31149:728;:::o;32201:732::-;32315:28;32345:17;32378:76;32400:17;32419:13;32434:4;32440:13;:11;:13::i;:::-;32378:21;:76::i;:::-;32314:140;;;;32469:20;32493:1;32469:25;32465:38;;32496:7;;32201:732;;;:::o;32465:38::-;32513:48;32564:13;:11;:13::i;:::-;32674:25;;;;32513:64;;-1:-1:-1;;;;;;32674:25:30;32713:37;;32709:218;;32766:52;32772:23;32797:20;32766:5;:52::i;:::-;32837:79;;;1895:25:51;;;1951:2;1936:18;;1929:34;;;-1:-1:-1;;;;;32837:79:30;;;;;1868:18:51;32837:79:30;;;;;;;32304:629;;;;32201:732;;;:::o;10976:487:4:-;-1:-1:-1;;;;;;;;;;;;;;;;11141:19:4;;11137:89;;11183:32;;-1:-1:-1;;;11183:32:4;;11212:1;11183:32;;;5140:51:51;5113:18;;11183:32:4;4994:203:51;11137:89:4;-1:-1:-1;;;;;11239:21:4;;11235:90;;11283:31;;-1:-1:-1;;;11283:31:4;;11311:1;11283:31;;;5140:51:51;5113:18;;11283:31:4;4994:203:51;11235:90:4;-1:-1:-1;;;;;11334:20:4;;;;;;;:13;;;:20;;;;;;;;:29;;;;;;;;;:37;;;11381:76;;;;11431:7;-1:-1:-1;;;;;11415:31:4;11424:5;-1:-1:-1;;;;;11415:31:4;;11440:5;11415:31;;;;160:25:51;;148:2;133:18;;14:177;11415:31:4;;;;;;;;11074:389;10976:487;;;;:::o;9351:238:25:-;9452:7;9506:76;9522:26;9539:8;9522:16;:26::i;:::-;:59;;;;;9580:1;9565:11;9552:25;;;;;:::i;:::-;9562:1;9559;9552:25;:29;9522:59;34914:9:26;34907:17;;34795:145;9506:76:25;9478:25;9485:1;9488;9491:11;9478:6;:25::i;:::-;:104;;;;:::i;7220:1170:4:-;-1:-1:-1;;;;;;;;;;;;;;;;7362:18:4;;7358:546;;7516:5;7498:1;:14;;;:23;;;;;;;:::i;:::-;;;;-1:-1:-1;7358:546:4;;-1:-1:-1;7358:546:4;;-1:-1:-1;;;;;7574:17:4;;7552:19;7574:17;;;;;;;;;;;7609:19;;;7605:115;;;7680:4;7686:11;7699:5;7655:50;;-1:-1:-1;;;7655:50:4;;;;;;;;;;:::i;7605:115::-;-1:-1:-1;;;;;7840:17:4;;:11;:17;;;;;;;;;;7860:19;;;;7840:39;;7358:546;-1:-1:-1;;;;;7918:16:4;;7914:429;;8081:14;;;:23;;;;;;;7914:429;;;-1:-1:-1;;;;;8294:15:4;;:11;:15;;;;;;;;;;:24;;;;;;7914:429;8373:2;-1:-1:-1;;;;;8358:25:4;8367:4;-1:-1:-1;;;;;8358:25:4;;8377:5;8358:25;;;;160::51;;148:2;133:18;;14:177;7270:387:0;7347:4;-1:-1:-1;;;;;;;;;;;7437:22:0;7445:4;7451:7;7437;:22::i;:::-;7432:219;;7475:8;:14;;;;;;;;;;;-1:-1:-1;;;;;7475:31:0;;;;;;;;;:38;;-1:-1:-1;;7475:38:0;7509:4;7475:38;;;7559:12;966:10:6;;887:96;7559:12:0;-1:-1:-1;;;;;7532:40:0;7550:7;-1:-1:-1;;;;;7532:40:0;7544:4;7532:40;;;;;;;;;;7593:4;7586:11;;;;;7432:219;7635:5;7628:12;;;;;8289:150:27;8359:4;8382:50;8387:3;-1:-1:-1;;;;;8407:23:27;;8382:4;:50::i;7892:388:0:-;7970:4;-1:-1:-1;;;;;;;;;;;8059:22:0;8067:4;8073:7;8059;:22::i;:::-;8055:219;;;8131:5;8097:14;;;;;;;;;;;-1:-1:-1;;;;;8097:31:0;;;;;;;;;;:39;;-1:-1:-1;;8097:39:0;;;8155:40;966:10:6;;8097:14:0;;8155:40;;8131:5;8155:40;8216:4;8209:11;;;;;8607:156:27;8680:4;8703:53;8711:3;-1:-1:-1;;;;;8731:23:27;;8703:7;:53::i;7084:141:3:-;-1:-1:-1;;;;;;;;;;;8560:40:3;-1:-1:-1;;;8560:40:3;;;;7146:73;;7191:17;;-1:-1:-1;;;7191:17:3;;;;;;;;;;;2801:183:7;6931:20:3;:18;:20::i;1980:235:1:-;6931:20:3;:18;:20::i;21702:1034:30:-;21912:26;21952:13;21979:27;22020:18;22052:20;22096:4;22085:61;;;;;;;;;;;;:::i;:::-;21898:248;;-1:-1:-1;21898:248:30;;-1:-1:-1;21898:248:30;-1:-1:-1;21898:248:30;-1:-1:-1;21898:248:30;-1:-1:-1;;;;;;22165:32:30;;22157:66;;;;-1:-1:-1;;;22157:66:30;;;;;;;;;;;;-1:-1:-1;;;;;22241:19:30;;22233:44;;;;-1:-1:-1;;;22233:44:30;;;;;;;;;;;;-1:-1:-1;;;;;22295:33:30;;22287:72;;;;-1:-1:-1;;;22287:72:30;;;;;;;;;;;;22399:1;22384:4;22378:18;:22;22370:46;;;;-1:-1:-1;;;22370:46:30;;;;;;;;;;;;22457:1;22440:6;22434:20;:24;22426:50;;;;-1:-1:-1;;;22426:50:30;;;;;;;;;;;;22487:36;22510:4;22516:6;22487:22;:36::i;:::-;22533:39;22565:5;22533:24;:39::i;:::-;22582:42;:40;:42::i;:::-;22635:94;;;-1:-1:-1;;;22635:94:30;;-1:-1:-1;;;;;28295:32:51;;;22635:94:30;;;28277:51:51;28364:32;;28344:18;;;28337:60;966:10:6;28413:18:51;;;28406:60;22635:94:30;;:12;;:39;;28250:18:51;;;;;-1:-1:-1;;22635:94:30;;;;;;;:12;:94;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;21888:848;;;;;21702:1034;;;:::o;4920:182:29:-;6931:20:3;:18;:20::i;:::-;5024:71:29::1;::::0;-1:-1:-1;;;5024:71:29;;-1:-1:-1;;;;;28677:32:51;;5024:71:29::1;::::0;::::1;28659:51:51::0;966:10:6;28726:18:51;;;28719:60;5024:12:29::1;::::0;:36:::1;::::0;28632:18:51;;5024:71:29::1;28477:308:51::0;3916:253:20;3999:12;4024;4038:23;4065:6;-1:-1:-1;;;;;4065:19:20;4085:4;4065:25;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4023:67;;;;4107:55;4134:6;4142:7;4151:10;4107:26;:55::i;945:189:42:-;1020:4;1053:2;1040:9;:15;;;1036:33;;-1:-1:-1;1064:5:42;1057:12;;1036:33;-1:-1:-1;1094:7:42;;;;1106:1;:14;;;;1087:34;-1:-1:-1;;;;;1087:34:42;1086:41;;945:189;;;;:::o;1618:188:19:-;1745:53;;-1:-1:-1;;;;;29316:32:51;;;1745:53:19;;;29298:51:51;29385:32;;;29365:18;;;29358:60;29434:18;;;29427:34;;;1718:81:19;;1738:5;;1760:18;;;;;29271::51;;1745:53:19;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;1745:53:19;;;;;;;;;;;1718:19;:81::i;8733:208:4:-;-1:-1:-1;;;;;8803:21:4;;8799:91;;8847:32;;-1:-1:-1;;;8847:32:4;;8876:1;8847:32;;;5140:51:51;5113:18;;8847:32:4;4994:203:51;8799:91:4;8899:35;8915:1;8919:7;8928:5;8899:7;:35::i;5581:109:27:-;5637:16;5672:3;:11;;5665:18;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5581:109;;;:::o;4923:118::-;4990:7;5016:3;:11;;5028:5;5016:18;;;;;;;;:::i;:::-;;;;;;;;;5009:25;;4923:118;;;;:::o;26969:2034:30:-;27126:7;27149:48;27200:13;:11;:13::i;:::-;27149:64;;27224:21;27255:7;:5;:7::i;:::-;27248:40;;-1:-1:-1;;;27248:40:30;;27282:4;27248:40;;;5140:51:51;-1:-1:-1;;;;;27248:25:30;;;;;;;5113:18:51;;27248:40:30;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;27224:64;;27298:20;27321:15;-1:-1:-1;;;;;;;;;;;9350:66:29;;9256:167;27321:15:30;27298:38;;27346:31;27397:12;27380:13;:29;;:64;;27443:1;27380:64;;;27412:28;27428:12;27412:13;:28;:::i;:::-;27346:98;;27484:6;27458:23;:32;27454:1441;;;27506:34;27543:1;:19;;27506:56;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;27506:56:30;;;;;;;;;;;;;;;;;;;;;;;27576:25;27604:17;:24;27576:52;;27643:21;27683:9;27678:1207;27698:17;27694:1;:21;27678:1207;;;27813:48;27766:1;:14;;:36;27781:17;27799:1;27781:20;;;;;;;;:::i;:::-;;;;;;;;;;;;-1:-1:-1;;;;;27766:36:30;;;;;;;;;;;-1:-1:-1;27766:36:30;:43;;;:95;;;;;;;;:::i;:::-;;;27765:169;;;;27891:43;27913:17;27931:1;27913:20;;;;;;;;:::i;:::-;;;;;;;27891:1;:12;;:21;;:43;;;;:::i;:::-;27890:44;27765:169;27953:8;27740:221;28037:23;28028:6;:32;28012:48;;28097:38;28156:17;28174:1;28156:20;;;;;;;;:::i;:::-;;;;;;;-1:-1:-1;;;;;28138:51:30;;:53;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;28097:94;;28209:22;28289:13;28255:30;:47;;28254:98;;28322:30;28254:98;;;28306:13;28254:98;28209:143;-1:-1:-1;28375:18:30;;28371:437;;28476:23;28520:17;28538:1;28520:20;;;;;;;;:::i;:::-;;;;;;;-1:-1:-1;;;;;28502:50:30;;28553:14;28502:66;;;;;;;;;;;;;160:25:51;;148:2;133:18;;14:177;28502:66:30;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;28476:92;;28697:27;:15;:25;:27::i;:::-;28647:1;:14;;:36;28662:17;28680:1;28662:20;;;;;;;;:::i;:::-;;;;;;;-1:-1:-1;;;;;28647:36:30;-1:-1:-1;;;;;28647:36:30;;;;;;;;;;;;:46;;;:77;;;;;;;;;;-1:-1:-1;;;;;28647:77:30;;;;;:::i;:::-;;;;;;;;-1:-1:-1;;;;;28647:77:30;;;;;-1:-1:-1;;;;;28647:77:30;;;;;;28774:15;28747:42;;;;;:::i;:::-;;;28395:413;28371:437;28857:6;28830:23;:33;28826:44;;28865:5;;;;28826:44;27722:1163;;27678:1207;27717:3;;27678:1207;;;;27492:1403;;;27454:1441;28905:50;28915:6;28923:8;28933:5;28940:6;28948;28905:9;:50::i;:::-;28973:23;26969:2034;-1:-1:-1;;;;;;;;;26969:2034:30:o;40808:1457::-;40891:7;40910:48;40961:13;:11;:13::i;:::-;40910:64;;40985:31;41026:7;:5;:7::i;:::-;41019:40;;-1:-1:-1;;;41019:40:30;;41053:4;41019:40;;;5140:51:51;-1:-1:-1;;;;;41019:25:30;;;;;;;5113:18:51;;41019:40:30;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;40985:74;;41099:15;41073:23;:41;41069:1149;;;41130:34;41167:1;:19;;41130:56;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;41130:56:30;;;;;;;;;;;;;;;;-1:-1:-1;;41228:24:30;;41130:56;;-1:-1:-1;41200:25:30;;-1:-1:-1;;;41267:869:30;41287:17;41283:1;:21;41267:869;;;41402:48;41355:1;:14;;:36;41370:17;41388:1;41370:20;;;;;;;;:::i;:::-;;;;;;;;;;;;-1:-1:-1;;;;;41355:36:30;;;;;;;;;;;-1:-1:-1;41355:36:30;:43;;;:95;;;;;;;;:::i;:::-;;;41354:169;;;;41480:43;41502:17;41520:1;41502:20;;;;;;;;:::i;:::-;;;;;;;41480:1;:12;;:21;;:43;;;;:::i;:::-;41479:44;41354:169;41542:8;41329:221;41569:21;41674:23;41656:15;:41;41640:57;;41734:38;41793:17;41811:1;41793:20;;;;;;;;:::i;:::-;;;;;;;-1:-1:-1;;;;;41775:51:30;;:53;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;41734:94;;41846:22;41926:13;41892:30;:47;;41891:98;;41959:30;41891:98;;;41943:13;41891:98;41846:143;-1:-1:-1;42008:41:30;41846:143;42008:41;;:::i;:::-;;;42099:15;42072:23;:42;42068:53;;42116:5;;;;;42068:53;41311:825;;;41267:869;41306:3;;41267:869;;;;41116:1030;;41069:1149;;;-1:-1:-1;42192:15:30;;42235:23;-1:-1:-1;;40808:1457:30:o;450:110:46:-;494:6;519:34;537:15;519:17;:34::i;4996:4226:25:-;5078:14;5449:5;;;5078:14;-1:-1:-1;;5453:1:25;5449;5621:20;5694:5;5690:2;5687:13;5679:5;5675:2;5671:14;5667:34;5658:43;;;5796:5;5805:1;5796:10;5792:368;;6134:11;6126:5;:19;;;;;:::i;:::-;;6119:26;;;;;;5792:368;6285:5;6270:11;:20;6266:143;;6310:84;3066:5;6330:16;;3065:36;940:4:23;3060:42:25;6310:11;:84::i;:::-;6664:17;6799:11;6796:1;6793;6786:25;7199:12;7229:15;;;7214:31;;7348:22;;;;;8094:1;8075;:15;;8074:21;;8327;;;8323:25;;8312:36;8397:21;;;8393:25;;8382:36;8469:21;;;8465:25;;8454:36;8540:21;;;8536:25;;8525:36;8613:21;;;8609:25;;8598:36;8687:21;;;8683:25;;;8672:36;7597:12;;;;7593:23;;;7618:1;7589:31;6913:20;;;6902:32;;;7709:12;;;;6960:21;;;;7446:16;;;;7700:21;;;;9163:15;;;;;-1:-1:-1;;4996:4226:25;;;;;:::o;28183:122::-;28251:4;28292:1;28280:8;28274:15;;;;;;;;:::i;:::-;:19;;;;:::i;:::-;:24;;28297:1;28274:24;28267:31;;28183:122;;;:::o;2241:406:27:-;2304:4;4360:21;;;:14;;;:21;;;;;;2320:321;;-1:-1:-1;2362:23:27;;;;;;;;:11;:23;;;;;;;;;;;;;2544:18;;2520:21;;;:14;;;:21;;;;;;:42;;;;2576:11;;2320:321;-1:-1:-1;2625:5:27;2618:12;;2815:1368;2881:4;3010:21;;;:14;;;:21;;;;;;3046:13;;3042:1135;;3413:18;3434:12;3445:1;3434:8;:12;:::i;:::-;3480:18;;3413:33;;-1:-1:-1;3460:17:27;;3480:22;;3501:1;;3480:22;:::i;:::-;3460:42;;3535:9;3521:10;:23;3517:378;;3564:17;3584:3;:11;;3596:9;3584:22;;;;;;;;:::i;:::-;;;;;;;;;3564:42;;3731:9;3705:3;:11;;3717:10;3705:23;;;;;;;;:::i;:::-;;;;;;;;;;;;:35;;;;3844:25;;;:14;;;:25;;;;;:36;;;3517:378;3973:17;;:3;;:17;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;4076:3;:14;;:21;4091:5;4076:21;;;;;;;;;;;4069:28;;;4119:4;4112:11;;;;;;;2435:216:4;6931:20:3;:18;:20::i;:::-;-1:-1:-1;;;;;;;;;;;2600:7:4;:15:::1;2610:5:::0;2600:7;:15:::1;:::i;:::-;-1:-1:-1::0;2625:9:4::1;::::0;::::1;:19;2637:7:::0;2625:9;:19:::1;:::i;5210:304:5:-:0;6931:20:3;:18;:20::i;:::-;4204:22:5;5295:24:::1;::::0;5390:28:::1;5411:6:::0;5390:20:::1;:28::i;:::-;5352:66;;;;5452:7;:28;;5478:2;5452:28;;;5462:13;5452:28;5428:52:::0;;-1:-1:-1;;;;;;5490:17:5;-1:-1:-1;;;5428:52:5::1;::::0;;;::::1;::::0;;;::::1;-1:-1:-1::0;;;;;;5490:17:5;;-1:-1:-1;;;;;5490:17:5;;;::::1;::::0;;;::::1;::::0;;;-1:-1:-1;;5210:304:5:o;1544:85:2:-;6931:20:3;:18;:20::i;4437:582:20:-;4581:12;4610:7;4605:408;;4633:19;4641:10;4633:7;:19::i;:::-;4605:408;;;4857:17;;:22;:49;;;;-1:-1:-1;;;;;;4883:18:20;;;:23;4857:49;4853:119;;;4933:24;;-1:-1:-1;;;4933:24:20;;-1:-1:-1;;;;;5158:32:51;;4933:24:20;;;5140:51:51;5113:18;;4933:24:20;4994:203:51;4853:119:20;-1:-1:-1;4992:10:20;4985:17;;7686:720:19;7766:18;7794:19;7932:4;7929:1;7922:4;7916:11;7909:4;7903;7899:15;7896:1;7889:5;7882;7877:60;7989:7;7979:176;;8033:4;8027:11;8078:16;8075:1;8070:3;8055:40;8124:16;8119:3;8112:29;7979:176;-1:-1:-1;;8232:1:19;8226:8;8182:16;;-1:-1:-1;8258:15:19;;:68;;8310:11;8325:1;8310:16;;8258:68;;;-1:-1:-1;;;;;8276:26:19;;;:31;8258:68;8254:146;;;8349:40;;-1:-1:-1;;;8349:40:19;;-1:-1:-1;;;;;5158:32:51;;8349:40:19;;;5140:51:51;5113:18;;8349:40:19;4994:203:51;8844:165:27;-1:-1:-1;;;;;8977:23:27;;8924:4;4360:21;;;:14;;;:21;;;;;;:26;;8947:55;4264:129;29009:982:30;29187:5;-1:-1:-1;;;;;29177:15:30;:6;-1:-1:-1;;;;;29177:15:30;;29173:84;;29208:38;29224:5;29231:6;29239;29208:15;:38::i;:::-;29816:6;-1:-1:-1;;;;;;;;;;;29767:55:30;;:45;;:55;;;;;:::i;:::-;;;;-1:-1:-1;29832:20:30;;-1:-1:-1;29838:5:30;29845:6;29832:5;:20::i;:::-;29862:57;29892:7;:5;:7::i;:::-;29902:8;29912:6;29862:22;:57::i;:::-;29962:5;-1:-1:-1;;;;;29935:49:30;29952:8;-1:-1:-1;;;;;29935:49:30;29944:6;-1:-1:-1;;;;;29935:49:30;;29969:6;29977;29935:49;;;;;;1895:25:51;;;1951:2;1936:18;;1929:34;1883:2;1868:18;;1721:248;29935:49:30;;;;;;;;29009:982;;;;;:::o;15296:213:26:-;15352:6;15382:16;15374:24;;15370:103;;;15421:41;;-1:-1:-1;;;15421:41:26;;15452:2;15421:41;;;26245:36:51;26297:18;;;26290:34;;;26218:18;;15421:41:26;26063:267:51;1776:194:23;1881:10;1875:4;1868:24;1918:4;1912;1905:18;1949:4;1943;1936:18;5657:550:5;5851:43;;;;;;;;;;;;;;;;-1:-1:-1;;;;;5851:43:5;-1:-1:-1;;;5851:43:5;;;5811:93;;5724:7;;;;;;;;-1:-1:-1;;;;;5811:26:5;;;:93;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5764:140;;;;5918:7;:39;;;;;5955:2;5929:15;:22;:28;;5918:39;5914:260;;;5973:24;6011:15;6000:38;;;;;;;;;;;;:::i;:::-;5973:65;-1:-1:-1;6076:15:5;6056:35;;6052:112;;6119:4;;6131:16;;-1:-1:-1;5657:550:5;-1:-1:-1;;;;5657:550:5:o;6052:112::-;5959:215;5914:260;-1:-1:-1;6191:5:5;;;;-1:-1:-1;5657:550:5;-1:-1:-1;;;5657:550:5:o;5559:487:20:-;5690:17;;:21;5686:354;;5887:10;5881:17;5943:15;5930:10;5926:2;5922:19;5915:44;5686:354;6010:19;;-1:-1:-1;;;6010:19:20;;;;;;;;;;;9259:206:4;-1:-1:-1;;;;;9329:21:4;;9325:89;;9373:30;;-1:-1:-1;;;9373:30:4;;9400:1;9373:30;;;5140:51:51;5113:18;;9373:30:4;4994:203:51;9325:89:4;9423:35;9431:7;9448:1;9452:5;9423:7;:35::i;1219:160:19:-;1328:43;;-1:-1:-1;;;;;16143:32:51;;;1328:43:19;;;16125:51:51;16192:18;;;16185:34;;;1301:71:19;;1321:5;;1343:14;;;;;16098:18:51;;1328:43:19;15943:282:51;196:286;254:6;307:2;295:9;286:7;282:23;278:32;275:52;;;323:1;320;313:12;275:52;349:23;;-1:-1:-1;;;;;;401:32:51;;391:43;;381:71;;448:1;445;438:12;679:226;738:6;791:2;779:9;770:7;766:23;762:32;759:52;;;807:1;804;797:12;759:52;-1:-1:-1;852:23:51;;679:226;-1:-1:-1;679:226:51:o;910:131::-;-1:-1:-1;;;;;985:31:51;;975:42;;965:70;;1031:1;1028;1021:12;1046:247;1105:6;1158:2;1146:9;1137:7;1133:23;1129:32;1126:52;;;1174:1;1171;1164:12;1126:52;1213:9;1200:23;1232:31;1257:5;1232:31;:::i;1298:418::-;1447:2;1436:9;1429:21;1410:4;1479:6;1473:13;1522:6;1517:2;1506:9;1502:18;1495:34;1581:6;1576:2;1568:6;1564:15;1559:2;1548:9;1544:18;1538:50;1637:1;1632:2;1623:6;1612:9;1608:22;1604:31;1597:42;1707:2;1700;1696:7;1691:2;1683:6;1679:15;1675:29;1664:9;1660:45;1656:54;1648:62;;;1298:418;;;;:::o;1974:367::-;2042:6;2050;2103:2;2091:9;2082:7;2078:23;2074:32;2071:52;;;2119:1;2116;2109:12;2071:52;2158:9;2145:23;2177:31;2202:5;2177:31;:::i;:::-;2227:5;2305:2;2290:18;;;;2277:32;;-1:-1:-1;;;1974:367:51:o;2346:508::-;2423:6;2431;2439;2492:2;2480:9;2471:7;2467:23;2463:32;2460:52;;;2508:1;2505;2498:12;2460:52;2547:9;2534:23;2566:31;2591:5;2566:31;:::i;:::-;2616:5;-1:-1:-1;2673:2:51;2658:18;;2645:32;2686:33;2645:32;2686:33;:::i;:::-;2346:508;;2738:7;;-1:-1:-1;;;2818:2:51;2803:18;;;;2790:32;;2346:508::o;3272:127::-;3333:10;3328:3;3324:20;3321:1;3314:31;3364:4;3361:1;3354:15;3388:4;3385:1;3378:15;3404:421;3622:13;;3600:2;3585:18;;;3661:1;3654:9;;3644:43;;3667:18;;:::i;:::-;3714:2;3703:9;3696:21;;-1:-1:-1;;;;;3777:4:51;3769:6;3765:17;3759:24;3755:63;3748:4;3737:9;3733:20;3726:93;3404:421;;;;:::o;3830:346::-;3898:6;3906;3959:2;3947:9;3938:7;3934:23;3930:32;3927:52;;;3975:1;3972;3965:12;3927:52;-1:-1:-1;;4020:23:51;;;4140:2;4125:18;;;4112:32;;-1:-1:-1;3830:346:51:o;4181:367::-;4249:6;4257;4310:2;4298:9;4289:7;4285:23;4281:32;4278:52;;;4326:1;4323;4316:12;4278:52;4371:23;;;-1:-1:-1;4470:2:51;4455:18;;4442:32;4483:33;4442:32;4483:33;:::i;:::-;4535:7;4525:17;;;4181:367;;;;;:::o;4553:247::-;4701:2;4686:18;;4734:1;4723:13;;4713:47;;4740:18;;:::i;:::-;4769:25;;;4553:247;:::o;5202:367::-;5265:8;5275:6;5329:3;5322:4;5314:6;5310:17;5306:27;5296:55;;5347:1;5344;5337:12;5296:55;-1:-1:-1;5370:20:51;;-1:-1:-1;;;;;5402:30:51;;5399:50;;;5445:1;5442;5435:12;5399:50;5482:4;5474:6;5470:17;5458:29;;5542:3;5535:4;5525:6;5522:1;5518:14;5510:6;5506:27;5502:38;5499:47;5496:67;;;5559:1;5556;5549:12;5496:67;5202:367;;;;;:::o;5574:437::-;5660:6;5668;5721:2;5709:9;5700:7;5696:23;5692:32;5689:52;;;5737:1;5734;5727:12;5689:52;5777:9;5764:23;-1:-1:-1;;;;;5802:6:51;5799:30;5796:50;;;5842:1;5839;5832:12;5796:50;5881:70;5943:7;5934:6;5923:9;5919:22;5881:70;:::i;:::-;5970:8;;5855:96;;-1:-1:-1;5574:437:51;-1:-1:-1;;;;5574:437:51:o;6221:171::-;6288:20;;-1:-1:-1;;;;;6337:30:51;;6327:41;;6317:69;;6382:1;6379;6372:12;6317:69;6221:171;;;:::o;6397:347::-;6448:8;6458:6;6512:3;6505:4;6497:6;6493:17;6489:27;6479:55;;6530:1;6527;6520:12;6479:55;-1:-1:-1;6553:20:51;;-1:-1:-1;;;;;6585:30:51;;6582:50;;;6628:1;6625;6618:12;6582:50;6665:4;6657:6;6653:17;6641:29;;6717:3;6710:4;6701:6;6693;6689:19;6685:30;6682:39;6679:59;;;6734:1;6731;6724:12;6749:616;6836:6;6844;6852;6860;6913:2;6901:9;6892:7;6888:23;6884:32;6881:52;;;6929:1;6926;6919:12;6881:52;6952:28;6970:9;6952:28;:::i;:::-;6942:38;;7030:2;7019:9;7015:18;7002:32;7043:31;7068:5;7043:31;:::i;:::-;7093:5;-1:-1:-1;7149:2:51;7134:18;;7121:32;-1:-1:-1;;;;;7165:30:51;;7162:50;;;7208:1;7205;7198:12;7162:50;7247:58;7297:7;7288:6;7277:9;7273:22;7247:58;:::i;:::-;6749:616;;;;-1:-1:-1;7324:8:51;-1:-1:-1;;;;6749:616:51:o;7370:409::-;7440:6;7448;7501:2;7489:9;7480:7;7476:23;7472:32;7469:52;;;7517:1;7514;7507:12;7469:52;7557:9;7544:23;-1:-1:-1;;;;;7582:6:51;7579:30;7576:50;;;7622:1;7619;7612:12;7576:50;7661:58;7711:7;7702:6;7691:9;7687:22;7661:58;:::i;7784:481::-;7862:6;7870;7878;7931:2;7919:9;7910:7;7906:23;7902:32;7899:52;;;7947:1;7944;7937:12;7899:52;7970:28;7988:9;7970:28;:::i;:::-;7960:38;;8049:2;8038:9;8034:18;8021:32;-1:-1:-1;;;;;8068:6:51;8065:30;8062:50;;;8108:1;8105;8098:12;8062:50;8147:58;8197:7;8188:6;8177:9;8173:22;8147:58;:::i;:::-;7784:481;;8224:8;;-1:-1:-1;8121:84:51;;-1:-1:-1;;;;7784:481:51:o;8827:572::-;8922:6;8930;8938;8991:2;8979:9;8970:7;8966:23;8962:32;8959:52;;;9007:1;9004;8997:12;8959:52;9046:9;9033:23;9065:31;9090:5;9065:31;:::i;:::-;9115:5;-1:-1:-1;9171:2:51;9156:18;;9143:32;-1:-1:-1;;;;;9187:30:51;;9184:50;;;9230:1;9227;9220:12;9184:50;9269:70;9331:7;9322:6;9311:9;9307:22;9269:70;:::i;9776:272::-;9834:6;9887:2;9875:9;9866:7;9862:23;9858:32;9855:52;;;9903:1;9900;9893:12;9855:52;9942:9;9929:23;9992:6;9985:5;9981:18;9974:5;9971:29;9961:57;;10014:1;10011;10004:12;10053:127;10114:10;10109:3;10105:20;10102:1;10095:31;10145:4;10142:1;10135:15;10169:4;10166:1;10159:15;10185:748;10268:6;10328:2;10316:9;10307:7;10303:23;10299:32;10343:2;10340:22;;;10358:1;10355;10348:12;10340:22;-1:-1:-1;10427:2:51;10421:9;;;10457:15;;-1:-1:-1;;;;;10487:34:51;;10523:22;;;10484:62;10481:88;;;10549:18;;:::i;:::-;10585:2;10578:22;10622:23;;10654:31;10622:23;10654:31;:::i;:::-;10694:21;;10767:2;10752:18;;10739:32;-1:-1:-1;;;;;10802:40:51;;10790:53;;10780:81;;10857:1;10854;10847:12;10780:81;10889:2;10877:15;;10870:32;10881:6;10185:748;-1:-1:-1;;;10185:748:51:o;10938:637::-;11128:2;11140:21;;;11210:13;;11113:18;;;11232:22;;;11080:4;;11311:15;;;11285:2;11270:18;;;11080:4;11354:195;11368:6;11365:1;11362:13;11354:195;;;11433:13;;-1:-1:-1;;;;;11429:39:51;11417:52;;11498:2;11524:15;;;;11489:12;;;;11465:1;11383:9;11354:195;;;-1:-1:-1;11566:3:51;;10938:637;-1:-1:-1;;;;;10938:637:51:o;13363:508::-;13440:6;13448;13456;13509:2;13497:9;13488:7;13484:23;13480:32;13477:52;;;13525:1;13522;13515:12;13477:52;13570:23;;;-1:-1:-1;13669:2:51;13654:18;;13641:32;13682:33;13641:32;13682:33;:::i;:::-;13734:7;-1:-1:-1;13793:2:51;13778:18;;13765:32;13806:33;13765:32;13806:33;:::i;:::-;13858:7;13848:17;;;13363:508;;;;;:::o;13876:551::-;13971:6;13979;13987;14040:2;14028:9;14019:7;14015:23;14011:32;14008:52;;;14056:1;14053;14046:12;14008:52;14096:9;14083:23;-1:-1:-1;;;;;14121:6:51;14118:30;14115:50;;;14161:1;14158;14151:12;14115:50;14200:70;14262:7;14253:6;14242:9;14238:22;14200:70;:::i;:::-;14289:8;;14174:96;;-1:-1:-1;14393:2:51;14378:18;;;;14365:32;;13876:551;-1:-1:-1;;;;13876:551:51:o;14432:388::-;14500:6;14508;14561:2;14549:9;14540:7;14536:23;14532:32;14529:52;;;14577:1;14574;14567:12;14529:52;14616:9;14603:23;14635:31;14660:5;14635:31;:::i;:::-;14685:5;-1:-1:-1;14742:2:51;14727:18;;14714:32;14755:33;14714:32;14755:33;:::i;15041:380::-;15120:1;15116:12;;;;15163;;;15184:61;;15238:4;15230:6;15226:17;15216:27;;15184:61;15291:2;15283:6;15280:14;15260:18;15257:38;15254:161;;15337:10;15332:3;15328:20;15325:1;15318:31;15372:4;15369:1;15362:15;15400:4;15397:1;15390:15;15426:251;15496:6;15549:2;15537:9;15528:7;15524:23;15520:32;15517:52;;;15565:1;15562;15555:12;15517:52;15597:9;15591:16;15616:31;15641:5;15616:31;:::i;16420:276::-;16506:6;16559:2;16547:9;16538:7;16534:23;16530:32;16527:52;;;16575:1;16572;16565:12;16527:52;16607:9;16601:16;16646:1;16639:5;16636:12;16626:40;;16662:1;16659;16652:12;16701:127;16762:10;16757:3;16753:20;16750:1;16743:31;16793:4;16790:1;16783:15;16817:4;16814:1;16807:15;16833:148;16921:4;16900:12;;;16914;;;16896:31;;16939:13;;16936:39;;;16955:18;;:::i;16986:727::-;-1:-1:-1;;;;;17263:32:51;;;17245:51;;17332:32;;17327:2;17312:18;;17305:60;17401:3;17396:2;17381:18;;17374:31;;;17421:19;;17414:35;;;-1:-1:-1;;;;;;17461:31:51;;17458:51;;;17505:1;17502;17495:12;17458:51;17539:6;17536:1;17532:14;17597:6;17589;17583:3;17572:9;17568:19;17555:49;17701:4;17689:17;;;;17684:2;17669:18;;17662:45;-1:-1:-1;17625:22:51;17649:3;17621:32;;16986:727;-1:-1:-1;;;;16986:727:51:o;17718:230::-;17788:6;17841:2;17829:9;17820:7;17816:23;17812:32;17809:52;;;17857:1;17854;17847:12;17809:52;-1:-1:-1;17902:16:51;;17718:230;-1:-1:-1;17718:230:51:o;17953:345::-;-1:-1:-1;;;;;18173:32:51;;;;18155:51;;18237:2;18222:18;;18215:34;;;;18280:2;18265:18;;18258:34;18143:2;18128:18;;17953:345::o;18303:125::-;18368:9;;;18389:10;;;18386:36;;;18402:18;;:::i;18433:417::-;-1:-1:-1;;;;;18682:32:51;;;;18664:51;;18746:2;18731:18;;18724:34;;;;18789:2;18774:18;;18767:34;18832:2;18817:18;;18810:34;18651:3;18636:19;;18433:417::o;19415:127::-;19476:10;19471:3;19467:20;19464:1;19457:31;19507:4;19504:1;19497:15;19531:4;19528:1;19521:15;19547:505;19647:6;19642:3;19635:19;19679:4;19674:3;19670:14;19663:21;;19617:3;19707:5;19730:1;19740:287;19754:6;19751:1;19748:13;19740:287;;;19831:6;19818:20;19851:33;19876:7;19851:33;:::i;:::-;-1:-1:-1;;;;;19909:33:51;19897:46;;19972:4;19963:14;;;;20000:17;;;;;19939:1;19769:9;19740:287;;;-1:-1:-1;20043:3:51;;19547:505;-1:-1:-1;;;;19547:505:51:o;20057:296::-;20254:2;20243:9;20236:21;20217:4;20274:73;20343:2;20332:9;20328:18;20320:6;20312;20274:73;:::i;20358:456::-;20446:6;20454;20462;20515:2;20503:9;20494:7;20490:23;20486:32;20483:52;;;20531:1;20528;20521:12;20483:52;-1:-1:-1;;20576:16:51;;20682:2;20667:18;;20661:25;20778:2;20763:18;;;20757:25;20576:16;;20661:25;;-1:-1:-1;20757:25:51;20358:456;-1:-1:-1;20358:456:51:o;20819:375::-;20907:1;20925:5;20939:249;20960:1;20950:8;20947:15;20939:249;;;21010:4;21005:3;21001:14;20995:4;20992:24;20989:50;;;21019:18;;:::i;:::-;21069:1;21059:8;21055:16;21052:49;;;21083:16;;;;21052:49;21166:1;21162:16;;;;;21122:15;;20939:249;;;20819:375;;;;;;:::o;21199:902::-;21248:5;21278:8;21268:80;;-1:-1:-1;21319:1:51;21333:5;;21268:80;21367:4;21357:76;;-1:-1:-1;21404:1:51;21418:5;;21357:76;21449:4;21467:1;21462:59;;;;21535:1;21530:174;;;;21442:262;;21462:59;21492:1;21483:10;;21506:5;;;21530:174;21567:3;21557:8;21554:17;21551:43;;;21574:18;;:::i;:::-;-1:-1:-1;;21630:1:51;21616:16;;21689:5;;21442:262;;21788:2;21778:8;21775:16;21769:3;21763:4;21760:13;21756:36;21750:2;21740:8;21737:16;21732:2;21726:4;21723:12;21719:35;21716:77;21713:203;;;-1:-1:-1;21825:19:51;;;21901:5;;21713:203;21948:42;-1:-1:-1;;21973:8:51;21967:4;21948:42;:::i;:::-;22026:6;22022:1;22018:6;22014:19;22005:7;22002:32;21999:58;;;22037:18;;:::i;:::-;22075:20;;21199:902;-1:-1:-1;;;21199:902:51:o;22106:140::-;22164:5;22193:47;22234:4;22224:8;22220:19;22214:4;22193:47;:::i;22590:128::-;22657:9;;;22678:11;;;22675:37;;;22692:18;;:::i;22723:544::-;-1:-1:-1;;;;;23000:32:51;;22982:51;;23069:3;23064:2;23049:18;;23042:31;;;-1:-1:-1;;23090:74:51;;23144:19;;23136:6;23128;23090:74;:::i;:::-;23082:82;;23200:6;23195:2;23184:9;23180:18;23173:34;23255:4;23247:6;23243:17;23238:2;23227:9;23223:18;23216:45;22723:544;;;;;;;;:::o;23272:388::-;23429:2;23418:9;23411:21;23468:6;23463:2;23452:9;23448:18;23441:34;23525:6;23517;23512:2;23501:9;23497:18;23484:48;23581:1;23552:22;;;23576:2;23548:31;;;23541:42;;;;23644:2;23623:15;;;-1:-1:-1;;23619:29:51;23604:45;23600:54;;23272:388;-1:-1:-1;23272:388:51:o;24113:515::-;-1:-1:-1;;;;;24390:32:51;;;24372:51;;24454:2;24439:18;;24432:34;;;;24497:2;24482:18;;24475:34;;;;24545:32;;;24540:2;24525:18;;24518:60;24609:3;24594:19;;24587:35;;;;24359:3;24344:19;;24113:515::o;25179:170::-;25276:10;25269:18;;;25249;;;25245:43;;25300:20;;25297:46;;;25323:18;;:::i;25354:168::-;25427:9;;;25458;;25475:15;;;25469:22;;25455:37;25445:71;;25496:18;;:::i;25527:127::-;25588:10;25583:3;25579:20;25576:1;25569:31;25619:4;25616:1;25609:15;25643:4;25640:1;25633:15;25659:120;25699:1;25725;25715:35;;25730:18;;:::i;:::-;-1:-1:-1;25764:9:51;;25659:120::o;26335:743::-;26389:5;26442:3;26435:4;26427:6;26423:17;26419:27;26409:55;;26460:1;26457;26450:12;26409:55;26493:6;26487:13;-1:-1:-1;;;;;26515:6:51;26512:30;26509:56;;;26545:18;;:::i;:::-;26614:2;26608:9;26706:2;26668:17;;-1:-1:-1;;26664:31:51;;;26697:2;26660:40;26656:54;26644:67;;-1:-1:-1;;;;;26726:34:51;;26762:22;;;26723:62;26720:88;;;26788:18;;:::i;:::-;26824:2;26817:22;26848;;;26889:19;;;26910:4;26885:30;26882:39;-1:-1:-1;26879:59:51;;;26934:1;26931;26924:12;26879:59;26991:6;26984:4;26976:6;26972:17;26965:4;26957:6;26953:17;26947:51;27046:1;27018:19;;;27039:4;27014:30;27007:41;;;;27022:6;26335:743;-1:-1:-1;;;26335:743:51:o;27083:979::-;27233:6;27241;27249;27257;27265;27318:3;27306:9;27297:7;27293:23;27289:33;27286:53;;;27335:1;27332;27325:12;27286:53;27367:9;27361:16;27386:31;27411:5;27386:31;:::i;:::-;27486:2;27471:18;;27465:25;27436:5;;-1:-1:-1;27499:33:51;27465:25;27499:33;:::i;:::-;27603:2;27588:18;;27582:25;27551:7;;-1:-1:-1;27616:33:51;27582:25;27616:33;:::i;:::-;27719:2;27704:18;;27698:25;27668:7;;-1:-1:-1;;;;;;27735:30:51;;27732:50;;;27778:1;27775;27768:12;27732:50;27801:61;27854:7;27845:6;27834:9;27830:22;27801:61;:::i;:::-;27791:71;;;27908:3;27897:9;27893:19;27887:26;-1:-1:-1;;;;;27928:8:51;27925:32;27922:52;;;27970:1;27967;27960:12;27922:52;27993:63;28048:7;28037:8;28026:9;28022:24;27993:63;:::i;:::-;27983:73;;;27083:979;;;;;;;;:::o;28790:301::-;28919:3;28957:6;28951:13;29003:6;28996:4;28988:6;28984:17;28979:3;28973:37;29065:1;29029:16;;29054:13;;;-1:-1:-1;29029:16:51;28790:301;-1:-1:-1;28790:301:51:o;29472:237::-;-1:-1:-1;;;;;29585:40:51;;;29543;;;29539:87;;29638:42;;29635:68;;;29683:18;;:::i;29714:157::-;29744:1;29778:4;29775:1;29771:12;29802:3;29792:37;;29809:18;;:::i;:::-;29861:3;29854:4;29851:1;29847:12;29843:22;29838:27;;;29714:157;;;;:::o;29876:127::-;29937:10;29932:3;29928:20;29925:1;29918:31;29968:4;29965:1;29958:15;29992:4;29989:1;29982:15;30134:518;30236:2;30231:3;30228:11;30225:421;;;30272:5;30269:1;30262:16;30316:4;30313:1;30303:18;30386:2;30374:10;30370:19;30367:1;30363:27;30357:4;30353:38;30422:4;30410:10;30407:20;30404:47;;;-1:-1:-1;30445:4:51;30404:47;30500:2;30495:3;30491:12;30488:1;30484:20;30478:4;30474:31;30464:41;;30555:81;30573:2;30566:5;30563:13;30555:81;;;30632:1;30618:16;;30599:1;30588:13;30555:81;;30828:1299;30954:3;30948:10;-1:-1:-1;;;;;30973:6:51;30970:30;30967:56;;;31003:18;;:::i;:::-;31032:97;31122:6;31082:38;31114:4;31108:11;31082:38;:::i;:::-;31076:4;31032:97;:::i;:::-;31178:4;31209:2;31198:14;;31226:1;31221:649;;;;31914:1;31931:6;31928:89;;;-1:-1:-1;31983:19:51;;;31977:26;31928:89;-1:-1:-1;;30785:1:51;30781:11;;;30777:24;30773:29;30763:40;30809:1;30805:11;;;30760:57;32030:81;;31191:930;;31221:649;30081:1;30074:14;;;30118:4;30105:18;;-1:-1:-1;;31257:20:51;;;31375:222;31389:7;31386:1;31383:14;31375:222;;;31471:19;;;31465:26;31450:42;;31578:4;31563:20;;;;31531:1;31519:14;;;;31405:12;31375:222;;;31379:3;31625:6;31616:7;31613:19;31610:201;;;31686:19;;;31680:26;-1:-1:-1;;31769:1:51;31765:14;;;31781:3;31761:24;31757:37;31753:42;31738:58;31723:74;;31610:201;-1:-1:-1;;;;31857:1:51;31841:14;;;31837:22;31824:36;;-1:-1:-1;30828:1299:51:o","linkReferences":{"src/lib/StateInitLib.sol":{"StateInitLib":[{"start":17201,"length":20},{"start":17332,"length":20}]},"src/lib/StateSetterLib.sol":{"StateSetterLib":[{"start":3897,"length":20},{"start":4062,"length":20},{"start":4414,"length":20},{"start":4761,"length":20},{"start":5473,"length":20},{"start":7182,"length":20},{"start":8027,"length":20},{"start":10217,"length":20},{"start":10644,"length":20},{"start":11037,"length":20}]},"src/lib/AsyncVaultHelperLib.sol":{"AsyncVaultHelperLib":[{"start":3313,"length":20},{"start":4910,"length":20},{"start":5011,"length":20},{"start":5309,"length":20},{"start":6632,"length":20},{"start":7884,"length":20},{"start":8744,"length":20},{"start":8913,"length":20},{"start":10306,"length":20},{"start":10453,"length":20}]}},"cborAuxdata":{"1":{"value":"0xa26469706673582212202f318b03784f43c9238166c0e4d407ee2fd305483a03a12c8b18bd2b492f706264736f6c634300081b0033","offset":24263}},"immutableReferences":{"8178":[{"start":2750,"length":32},{"start":3692,"length":32},{"start":5722,"length":32},{"start":6262,"length":32},{"start":10832,"length":32}]},"transformations":[{"id":"8178","type":"replace","offset":2750,"reason":"immutable"},{"id":"8178","type":"replace","offset":3692,"reason":"immutable"},{"id":"8178","type":"replace","offset":5722,"reason":"immutable"},{"id":"8178","type":"replace","offset":6262,"reason":"immutable"},{"id":"8178","type":"replace","offset":10832,"reason":"immutable"},{"id":"src/lib/AsyncVaultHelperLib.sol:AsyncVaultHelperLib","type":"replace","offset":3313,"reason":"library"},{"id":"src/lib/AsyncVaultHelperLib.sol:AsyncVaultHelperLib","type":"replace","offset":4910,"reason":"library"},{"id":"src/lib/AsyncVaultHelperLib.sol:AsyncVaultHelperLib","type":"replace","offset":5011,"reason":"library"},{"id":"src/lib/AsyncVaultHelperLib.sol:AsyncVaultHelperLib","type":"replace","offset":5309,"reason":"library"},{"id":"src/lib/AsyncVaultHelperLib.sol:AsyncVaultHelperLib","type":"replace","offset":6632,"reason":"library"},{"id":"src/lib/AsyncVaultHelperLib.sol:AsyncVaultHelperLib","type":"replace","offset":7884,"reason":"library"},{"id":"src/lib/AsyncVaultHelperLib.sol:AsyncVaultHelperLib","type":"replace","offset":8744,"reason":"library"},{"id":"src/lib/AsyncVaultHelperLib.sol:AsyncVaultHelperLib","type":"replace","offset":8913,"reason":"library"},{"id":"src/lib/AsyncVaultHelperLib.sol:AsyncVaultHelperLib","type":"replace","offset":10306,"reason":"library"},{"id":"src/lib/AsyncVaultHelperLib.sol:AsyncVaultHelperLib","type":"replace","offset":10453,"reason":"library"},{"id":"src/lib/StateInitLib.sol:StateInitLib","type":"replace","offset":17201,"reason":"library"},{"id":"src/lib/StateInitLib.sol:StateInitLib","type":"replace","offset":17332,"reason":"library"},{"id":"src/lib/StateSetterLib.sol:StateSetterLib","type":"replace","offset":3897,"reason":"library"},{"id":"src/lib/StateSetterLib.sol:StateSetterLib","type":"replace","offset":4062,"reason":"library"},{"id":"src/lib/StateSetterLib.sol:StateSetterLib","type":"replace","offset":4414,"reason":"library"},{"id":"src/lib/StateSetterLib.sol:StateSetterLib","type":"replace","offset":4761,"reason":"library"},{"id":"src/lib/StateSetterLib.sol:StateSetterLib","type":"replace","offset":5473,"reason":"library"},{"id":"src/lib/StateSetterLib.sol:StateSetterLib","type":"replace","offset":7182,"reason":"library"},{"id":"src/lib/StateSetterLib.sol:StateSetterLib","type":"replace","offset":8027,"reason":"library"},{"id":"src/lib/StateSetterLib.sol:StateSetterLib","type":"replace","offset":10217,"reason":"library"},{"id":"src/lib/StateSetterLib.sol:StateSetterLib","type":"replace","offset":10644,"reason":"library"},{"id":"src/lib/StateSetterLib.sol:StateSetterLib","type":"replace","offset":11037,"reason":"library"},{"id":"1","type":"replace","offset":24263,"reason":"cborAuxdata"}],"transformationValues":{"libraries":{"src/lib/StateInitLib.sol:StateInitLib":"0x8d5d294fd63ee3b16abdca4b59597719a576e551","src/lib/StateSetterLib.sol:StateSetterLib":"0x5d433d113c211891d3c2bae6cd3b39adeffd64cc","src/lib/AsyncVaultHelperLib.sol:AsyncVaultHelperLib":"0x5cc3c3cea2e885f1870f3cae1eb9601d5d278d4a"},"immutables":{"8178":"0x000000000000000000000000e613d983e7e8ba1de30fd3b08435cd36764f27fe"},"cborAuxdata":{"1":"0xa2646970667358221220d9f82b10ad215475a868a872baa8488dde9ed45b294ab03be2db76bd44d168a364736f6c634300081b0033"}}},"deployment":{"transactionHash":"0xa1ce90f542194f32e9bf4d493e5f77dfd8423e4b13b981031a6529270ef2e16a","blockNumber":"397424582","transactionIndex":"5","deployer":"0xF3727f22E1090d64720648036bf492A6E366115E"},"sources":{"src/implementation/ConcreteAsyncVaultImpl.sol":{"content":"// SPDX-License-Identifier: AGPL-3.0\npragma solidity ^0.8.24;\n\n/**\n * @title ConcreteAsyncVaultImpl\n * @notice ERC-4626-compatible, upgradeable async vault implementation that inherits the standard vault\n *         implementation and adds delayed/batched settlement flows for integrations where\n *         strategies have liquidity latency or epoch-based processing.\n *\n * @author Blueprint Finance\n * @custom:protocol Concrete Earn V2\n * @custom:oz-upgrades Use OZ Upgradeable patterns and eip7201 storage layout\n * @custom:source on request\n * @custom:audits on request\n * @custom:license AGPL-3.0\n */\n\n// ─────────────────────────────────────────────────────────────────────────────\n// External dependencies\n// ─────────────────────────────────────────────────────────────────────────────\nimport {IERC20} from \"@openzeppelin-contracts/token/ERC20/IERC20.sol\";\nimport {IERC4626} from \"@openzeppelin-contracts/interfaces/IERC4626.sol\";\nimport {Math} from \"@openzeppelin-contracts/utils/math/Math.sol\";\nimport {SafeCast} from \"@openzeppelin-contracts/utils/math/SafeCast.sol\";\nimport {SafeERC20} from \"@openzeppelin-contracts/token/ERC20/utils/SafeERC20.sol\";\n\n// ─────────────────────────────────────────────────────────────────────────────\n// Protocol-facing interfaces\n// ─────────────────────────────────────────────────────────────────────────────\nimport {IConcreteAsyncVaultImpl} from \"../interface/IConcreteAsyncVaultImpl.sol\";\nimport {IConcreteStandardVaultImpl} from \"../interface/IConcreteStandardVaultImpl.sol\";\n\n// ─────────────────────────────────────────────────────────────────────────────\n// Internal contracts\n// ─────────────────────────────────────────────────────────────────────────────\nimport {ConcreteStandardVaultImpl} from \"./ConcreteStandardVaultImpl.sol\";\n\n// ─────────────────────────────────────────────────────────────────────────────\n// Internal libraries\n// ─────────────────────────────────────────────────────────────────────────────\nimport {AsyncVaultHelperLib} from \"../lib/AsyncVaultHelperLib.sol\";\nimport {ConcreteV2ConversionLib as ConversionLib} from \"../lib/Conversion.sol\";\nimport {ConcreteV2RolesLib as RolesLib} from \"../../src/lib/Roles.sol\";\nimport {StateInitLib} from \"../lib/StateInitLib.sol\";\n\n// ─────────────────────────────────────────────────────────────────────────────\n// Storage layout libraries\n// ─────────────────────────────────────────────────────────────────────────────\nimport {ConcreteAsyncVaultImplStorageLib} from \"../lib/storage/ConcreteAsyncVaultImplStorageLib.sol\";\n\ncontract ConcreteAsyncVaultImpl is ConcreteStandardVaultImpl, IConcreteAsyncVaultImpl {\n    using Math for uint256;\n    using SafeERC20 for IERC20;\n    using SafeCast for uint256;\n\n    constructor(address factory) ConcreteStandardVaultImpl(factory) {}\n\n    /**\n     * @dev Override _initialize to set up async vault specific state\n     */\n    function _initialize(uint64 initialVersion, address owner, bytes memory data) internal virtual override {\n        super._initialize(initialVersion, owner, data);\n\n        address initialVaultManager;\n        assembly {\n            initialVaultManager := mload(add(data, 0x60))\n        }\n        __ConcreteAsyncVaultImpl_init(initialVaultManager);\n    }\n\n    /**\n     * @notice Initializes the WithdrawalQueueModule\n     * @dev Sets the initial epoch ID to 1 and emits initialization event\n     */\n    function __ConcreteAsyncVaultImpl_init(address initialVaultManager) internal onlyInitializing {\n        StateInitLib.stateInitAsyncVaultImpl(initialVaultManager, _msgSender());\n    }\n\n    /// @inheritdoc IConcreteAsyncVaultImpl\n    function toggleQueueActive() external virtual onlyRole(RolesLib.VAULT_MANAGER) {\n        ConcreteAsyncVaultImplStorageLib.ConcreteAsyncVaultImplStorage storage $ =\n            ConcreteAsyncVaultImplStorageLib.fetch();\n\n        bool newQueueActiveState = !$.isQueueActive;\n        $.isQueueActive = newQueueActiveState;\n\n        emit QueueActiveToggled(newQueueActiveState);\n    }\n\n    /// @inheritdoc IConcreteAsyncVaultImpl\n    function cancelRequest(uint256 epochID) external virtual {\n        AsyncVaultHelperLib.cancelRequest(_msgSender(), epochID);\n    }\n\n    /// @inheritdoc IConcreteAsyncVaultImpl\n    function cancelRequest(address user, uint256 epochID) external virtual onlyRole(RolesLib.WITHDRAWAL_MANAGER) {\n        require(user != address(0), ZeroAddress());\n        AsyncVaultHelperLib.cancelRequest(user, epochID);\n    }\n\n    function closeEpoch() external virtual onlyRole(RolesLib.WITHDRAWAL_MANAGER) {\n        AsyncVaultHelperLib.closeEpoch();\n    }\n\n    /// @inheritdoc IConcreteAsyncVaultImpl\n    function processEpoch() external virtual withYieldAccrual nonReentrant onlyRole(RolesLib.WITHDRAWAL_MANAGER) {\n        // calculate share price without accruing yield or taking fees.\n        uint8 decimals = decimals();\n        AsyncVaultHelperLib.processEpoch(\n            //sharePrice\n            ConversionLib.calcConvertToAssets(\n                10 ** decimals, totalSupply(), cachedTotalAssets(), Math.Rounding.Floor, false\n            ),\n            //availableAssets\n            IERC20(asset()).balanceOf(address(this)),\n            // decimals to avoid repeated internal function invocations\n            decimals\n        );\n    }\n\n    // External view functions\n\n    /// @inheritdoc IConcreteAsyncVaultImpl\n    function getUserEpochRequestInAssets(address user, uint256 epochID) external view virtual returns (uint256 assets) {\n        ConcreteAsyncVaultImplStorageLib.ConcreteAsyncVaultImplStorage storage $ =\n            ConcreteAsyncVaultImplStorageLib.fetch();\n\n        assets = AsyncVaultHelperLib.getUserEpochRequestInAssets(\n            user, epochID, $.latestEpochID, getEpochPricePerShare(epochID), decimals()\n        );\n    }\n\n    // Public functions\n    /// @inheritdoc IConcreteAsyncVaultImpl\n\n    function claimWithdrawal(uint256[] calldata epochIDs) external virtual {\n        require(epochIDs.length > 0, EmptyEpochIDs());\n        AsyncVaultHelperLib.claimWithdrawal(asset(), _msgSender(), epochIDs, decimals());\n    }\n\n    /// @inheritdoc IConcreteAsyncVaultImpl\n    function claimWithdrawal(address user, uint256[] calldata epochIDs)\n        external\n        virtual\n        onlyRole(RolesLib.WITHDRAWAL_MANAGER)\n    {\n        require(user != address(0), ZeroAddress());\n        require(epochIDs.length > 0, EmptyEpochIDs());\n        AsyncVaultHelperLib.claimWithdrawal(asset(), user, epochIDs, decimals());\n    }\n\n    function claimUsersBatch(address[] calldata users, uint256 epochID)\n        external\n        virtual\n        onlyRole(RolesLib.WITHDRAWAL_MANAGER)\n    {\n        require(users.length > 0, EmptyUsers());\n        AsyncVaultHelperLib.claimUsersBatch(asset(), users, epochID, decimals());\n    }\n\n    /**\n     * @notice Internal function to move a deposit request to the next deposit epoch\n     * @dev Validates inputs, determines amount to move, updates storage for both epochs.\n     * @param user The user whose request to move\n     */\n    function moveRequestToNextEpoch(address user) external onlyRole(RolesLib.WITHDRAWAL_MANAGER) {\n        require(user != address(0), ZeroAddress());\n        AsyncVaultHelperLib.moveRequestToNextEpoch(user);\n    }\n\n    /// @inheritdoc IConcreteAsyncVaultImpl\n    function getUserEpochRequest(address user, uint256 epochID) external view virtual returns (uint256 shares) {\n        return ConcreteAsyncVaultImplStorageLib.fetch().userEpochRequests[user][epochID];\n    }\n\n    /// @inheritdoc IConcreteAsyncVaultImpl\n    function latestEpochID() external view virtual returns (uint256) {\n        return ConcreteAsyncVaultImplStorageLib.fetch().latestEpochID;\n    }\n\n    /// @inheritdoc IConcreteAsyncVaultImpl\n    function pastEpochsUnclaimedAssets() external view virtual returns (uint256) {\n        return ConcreteAsyncVaultImplStorageLib.fetch().pastEpochsUnclaimedAssets;\n    }\n\n    /// @inheritdoc IConcreteAsyncVaultImpl\n    function totalRequestedSharesPerEpoch(uint256 epochID) external view virtual returns (uint256) {\n        return ConcreteAsyncVaultImplStorageLib.fetch().totalRequestedSharesPerEpoch[epochID];\n    }\n\n    /// @inheritdoc IConcreteAsyncVaultImpl\n    function totalRequestedSharesForCurrentEpochs() external view virtual returns (uint256, uint256, uint256) {\n        return AsyncVaultHelperLib.totalRequestedSharesForCurrentEpochs();\n    }\n\n    /// @inheritdoc IConcreteAsyncVaultImpl\n    function getEpochPricePerShare(uint256 epochID) public view virtual returns (uint256) {\n        uint256 epochPricePlusOne = ConcreteAsyncVaultImplStorageLib.fetch().epochPricePerSharePlusOne[epochID];\n        if (epochPricePlusOne == 0) return 0;\n        return epochPricePlusOne - 1;\n    }\n\n    function getEpochState(uint256 epochID) external view virtual returns (EpochState) {\n        return AsyncVaultHelperLib.getEpochState(epochID);\n    }\n\n    // Internal functions\n    /**\n     * @dev Override _executeWithdraw to implement async withdrawal pattern\n     * @dev This is called by parent's withdraw() and redeem() after harvest and validation\n     * @dev Instead of immediately transferring assets, we queue the request for epoch processing\n     */\n    function _executeWithdraw(address caller, address receiver, address owner, uint256 assets, uint256 shares)\n        internal\n        virtual\n        override\n        returns (uint256)\n    {\n        require(shares > 0, ZeroShares());\n\n        ConcreteAsyncVaultImplStorageLib.ConcreteAsyncVaultImplStorage storage $ =\n            ConcreteAsyncVaultImplStorageLib.fetch();\n\n        if ($.isQueueActive) {\n            if (caller != owner) {\n                _spendAllowance(owner, caller, shares);\n            }\n            // Transfer shares from owner to vault for holding until epoch processing\n            _transfer(owner, address(this), shares);\n\n            // Add request to current epoch\n            uint256 currentEpochID = $.latestEpochID;\n            $.userEpochRequests[receiver][currentEpochID] += shares;\n            $.totalRequestedSharesPerEpoch[currentEpochID] += shares;\n\n            emit QueuedWithdrawal(caller, receiver, owner, assets, shares, currentEpochID);\n\n            // Return assets to satisfy parent's validation that withdrawal was successful\n            return assets;\n        } else {\n            return super._executeWithdraw(caller, receiver, owner, assets, shares);\n        }\n    }\n\n    /// @inheritdoc IConcreteAsyncVaultImpl\n    function isQueueActive() external view virtual returns (bool) {\n        return ConcreteAsyncVaultImplStorageLib.fetch().isQueueActive;\n    }\n\n    /// @inheritdoc IConcreteStandardVaultImpl\n    function allocate(bytes calldata data)\n        public\n        virtual\n        override(ConcreteStandardVaultImpl, IConcreteStandardVaultImpl)\n    {\n        super.allocate(data);\n        require(\n            IERC20(asset()).balanceOf(address(this))\n                >= ConcreteAsyncVaultImplStorageLib.fetch().pastEpochsUnclaimedAssets,\n            InsufficientBalance()\n        );\n    }\n\n    function _lockedAssets() internal view override returns (uint256) {\n        return ConcreteAsyncVaultImplStorageLib.fetch().pastEpochsUnclaimedAssets;\n    }\n}\n"},"node_modules/@openzeppelin/contracts/token/ERC20/IERC20.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.1.0) (token/ERC20/IERC20.sol)\n\npragma solidity ^0.8.20;\n\n/**\n * @dev Interface of the ERC-20 standard as defined in the ERC.\n */\ninterface IERC20 {\n    /**\n     * @dev Emitted when `value` tokens are moved from one account (`from`) to\n     * another (`to`).\n     *\n     * Note that `value` may be zero.\n     */\n    event Transfer(address indexed from, address indexed to, uint256 value);\n\n    /**\n     * @dev Emitted when the allowance of a `spender` for an `owner` is set by\n     * a call to {approve}. `value` is the new allowance.\n     */\n    event Approval(address indexed owner, address indexed spender, uint256 value);\n\n    /**\n     * @dev Returns the value of tokens in existence.\n     */\n    function totalSupply() external view returns (uint256);\n\n    /**\n     * @dev Returns the value of tokens owned by `account`.\n     */\n    function balanceOf(address account) external view returns (uint256);\n\n    /**\n     * @dev Moves a `value` amount of tokens from the caller's account to `to`.\n     *\n     * Returns a boolean value indicating whether the operation succeeded.\n     *\n     * Emits a {Transfer} event.\n     */\n    function transfer(address to, uint256 value) external returns (bool);\n\n    /**\n     * @dev Returns the remaining number of tokens that `spender` will be\n     * allowed to spend on behalf of `owner` through {transferFrom}. This is\n     * zero by default.\n     *\n     * This value changes when {approve} or {transferFrom} are called.\n     */\n    function allowance(address owner, address spender) external view returns (uint256);\n\n    /**\n     * @dev Sets a `value` amount of tokens as the allowance of `spender` over the\n     * caller's tokens.\n     *\n     * Returns a boolean value indicating whether the operation succeeded.\n     *\n     * IMPORTANT: Beware that changing an allowance with this method brings the risk\n     * that someone may use both the old and the new allowance by unfortunate\n     * transaction ordering. One possible solution to mitigate this race\n     * condition is to first reduce the spender's allowance to 0 and set the\n     * desired value afterwards:\n     * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729\n     *\n     * Emits an {Approval} event.\n     */\n    function approve(address spender, uint256 value) external returns (bool);\n\n    /**\n     * @dev Moves a `value` amount of tokens from `from` to `to` using the\n     * allowance mechanism. `value` is then deducted from the caller's\n     * allowance.\n     *\n     * Returns a boolean value indicating whether the operation succeeded.\n     *\n     * Emits a {Transfer} event.\n     */\n    function transferFrom(address from, address to, uint256 value) external returns (bool);\n}\n"},"node_modules/@openzeppelin/contracts/interfaces/IERC4626.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.1.0) (interfaces/IERC4626.sol)\n\npragma solidity ^0.8.20;\n\nimport {IERC20} from \"../token/ERC20/IERC20.sol\";\nimport {IERC20Metadata} from \"../token/ERC20/extensions/IERC20Metadata.sol\";\n\n/**\n * @dev Interface of the ERC-4626 \"Tokenized Vault Standard\", as defined in\n * https://eips.ethereum.org/EIPS/eip-4626[ERC-4626].\n */\ninterface IERC4626 is IERC20, IERC20Metadata {\n    event Deposit(address indexed sender, address indexed owner, uint256 assets, uint256 shares);\n\n    event Withdraw(\n        address indexed sender,\n        address indexed receiver,\n        address indexed owner,\n        uint256 assets,\n        uint256 shares\n    );\n\n    /**\n     * @dev Returns the address of the underlying token used for the Vault for accounting, depositing, and withdrawing.\n     *\n     * - MUST be an ERC-20 token contract.\n     * - MUST NOT revert.\n     */\n    function asset() external view returns (address assetTokenAddress);\n\n    /**\n     * @dev Returns the total amount of the underlying asset that is “managed” by Vault.\n     *\n     * - SHOULD include any compounding that occurs from yield.\n     * - MUST be inclusive of any fees that are charged against assets in the Vault.\n     * - MUST NOT revert.\n     */\n    function totalAssets() external view returns (uint256 totalManagedAssets);\n\n    /**\n     * @dev Returns the amount of shares that the Vault would exchange for the amount of assets provided, in an ideal\n     * scenario where all the conditions are met.\n     *\n     * - MUST NOT be inclusive of any fees that are charged against assets in the Vault.\n     * - MUST NOT show any variations depending on the caller.\n     * - MUST NOT reflect slippage or other on-chain conditions, when performing the actual exchange.\n     * - MUST NOT revert.\n     *\n     * NOTE: This calculation MAY NOT reflect the “per-user” price-per-share, and instead should reflect the\n     * “average-user’s” price-per-share, meaning what the average user should expect to see when exchanging to and\n     * from.\n     */\n    function convertToShares(uint256 assets) external view returns (uint256 shares);\n\n    /**\n     * @dev Returns the amount of assets that the Vault would exchange for the amount of shares provided, in an ideal\n     * scenario where all the conditions are met.\n     *\n     * - MUST NOT be inclusive of any fees that are charged against assets in the Vault.\n     * - MUST NOT show any variations depending on the caller.\n     * - MUST NOT reflect slippage or other on-chain conditions, when performing the actual exchange.\n     * - MUST NOT revert.\n     *\n     * NOTE: This calculation MAY NOT reflect the “per-user” price-per-share, and instead should reflect the\n     * “average-user’s” price-per-share, meaning what the average user should expect to see when exchanging to and\n     * from.\n     */\n    function convertToAssets(uint256 shares) external view returns (uint256 assets);\n\n    /**\n     * @dev Returns the maximum amount of the underlying asset that can be deposited into the Vault for the receiver,\n     * through a deposit call.\n     *\n     * - MUST return a limited value if receiver is subject to some deposit limit.\n     * - MUST return 2 ** 256 - 1 if there is no limit on the maximum amount of assets that may be deposited.\n     * - MUST NOT revert.\n     */\n    function maxDeposit(address receiver) external view returns (uint256 maxAssets);\n\n    /**\n     * @dev Allows an on-chain or off-chain user to simulate the effects of their deposit at the current block, given\n     * current on-chain conditions.\n     *\n     * - MUST return as close to and no more than the exact amount of Vault shares that would be minted in a deposit\n     *   call in the same transaction. I.e. deposit should return the same or more shares as previewDeposit if called\n     *   in the same transaction.\n     * - MUST NOT account for deposit limits like those returned from maxDeposit and should always act as though the\n     *   deposit would be accepted, regardless if the user has enough tokens approved, etc.\n     * - MUST be inclusive of deposit fees. Integrators should be aware of the existence of deposit fees.\n     * - MUST NOT revert.\n     *\n     * NOTE: any unfavorable discrepancy between convertToShares and previewDeposit SHOULD be considered slippage in\n     * share price or some other type of condition, meaning the depositor will lose assets by depositing.\n     */\n    function previewDeposit(uint256 assets) external view returns (uint256 shares);\n\n    /**\n     * @dev Mints shares Vault shares to receiver by depositing exactly amount of underlying tokens.\n     *\n     * - MUST emit the Deposit event.\n     * - MAY support an additional flow in which the underlying tokens are owned by the Vault contract before the\n     *   deposit execution, and are accounted for during deposit.\n     * - MUST revert if all of assets cannot be deposited (due to deposit limit being reached, slippage, the user not\n     *   approving enough underlying tokens to the Vault contract, etc).\n     *\n     * NOTE: most implementations will require pre-approval of the Vault with the Vault’s underlying asset token.\n     */\n    function deposit(uint256 assets, address receiver) external returns (uint256 shares);\n\n    /**\n     * @dev Returns the maximum amount of the Vault shares that can be minted for the receiver, through a mint call.\n     * - MUST return a limited value if receiver is subject to some mint limit.\n     * - MUST return 2 ** 256 - 1 if there is no limit on the maximum amount of shares that may be minted.\n     * - MUST NOT revert.\n     */\n    function maxMint(address receiver) external view returns (uint256 maxShares);\n\n    /**\n     * @dev Allows an on-chain or off-chain user to simulate the effects of their mint at the current block, given\n     * current on-chain conditions.\n     *\n     * - MUST return as close to and no fewer than the exact amount of assets that would be deposited in a mint call\n     *   in the same transaction. I.e. mint should return the same or fewer assets as previewMint if called in the\n     *   same transaction.\n     * - MUST NOT account for mint limits like those returned from maxMint and should always act as though the mint\n     *   would be accepted, regardless if the user has enough tokens approved, etc.\n     * - MUST be inclusive of deposit fees. Integrators should be aware of the existence of deposit fees.\n     * - MUST NOT revert.\n     *\n     * NOTE: any unfavorable discrepancy between convertToAssets and previewMint SHOULD be considered slippage in\n     * share price or some other type of condition, meaning the depositor will lose assets by minting.\n     */\n    function previewMint(uint256 shares) external view returns (uint256 assets);\n\n    /**\n     * @dev Mints exactly shares Vault shares to receiver by depositing amount of underlying tokens.\n     *\n     * - MUST emit the Deposit event.\n     * - MAY support an additional flow in which the underlying tokens are owned by the Vault contract before the mint\n     *   execution, and are accounted for during mint.\n     * - MUST revert if all of shares cannot be minted (due to deposit limit being reached, slippage, the user not\n     *   approving enough underlying tokens to the Vault contract, etc).\n     *\n     * NOTE: most implementations will require pre-approval of the Vault with the Vault’s underlying asset token.\n     */\n    function mint(uint256 shares, address receiver) external returns (uint256 assets);\n\n    /**\n     * @dev Returns the maximum amount of the underlying asset that can be withdrawn from the owner balance in the\n     * Vault, through a withdraw call.\n     *\n     * - MUST return a limited value if owner is subject to some withdrawal limit or timelock.\n     * - MUST NOT revert.\n     */\n    function maxWithdraw(address owner) external view returns (uint256 maxAssets);\n\n    /**\n     * @dev Allows an on-chain or off-chain user to simulate the effects of their withdrawal at the current block,\n     * given current on-chain conditions.\n     *\n     * - MUST return as close to and no fewer than the exact amount of Vault shares that would be burned in a withdraw\n     *   call in the same transaction. I.e. withdraw should return the same or fewer shares as previewWithdraw if\n     *   called\n     *   in the same transaction.\n     * - MUST NOT account for withdrawal limits like those returned from maxWithdraw and should always act as though\n     *   the withdrawal would be accepted, regardless if the user has enough shares, etc.\n     * - MUST be inclusive of withdrawal fees. Integrators should be aware of the existence of withdrawal fees.\n     * - MUST NOT revert.\n     *\n     * NOTE: any unfavorable discrepancy between convertToShares and previewWithdraw SHOULD be considered slippage in\n     * share price or some other type of condition, meaning the depositor will lose assets by depositing.\n     */\n    function previewWithdraw(uint256 assets) external view returns (uint256 shares);\n\n    /**\n     * @dev Burns shares from owner and sends exactly assets of underlying tokens to receiver.\n     *\n     * - MUST emit the Withdraw event.\n     * - MAY support an additional flow in which the underlying tokens are owned by the Vault contract before the\n     *   withdraw execution, and are accounted for during withdraw.\n     * - MUST revert if all of assets cannot be withdrawn (due to withdrawal limit being reached, slippage, the owner\n     *   not having enough shares, etc).\n     *\n     * Note that some implementations will require pre-requesting to the Vault before a withdrawal may be performed.\n     * Those methods should be performed separately.\n     */\n    function withdraw(uint256 assets, address receiver, address owner) external returns (uint256 shares);\n\n    /**\n     * @dev Returns the maximum amount of Vault shares that can be redeemed from the owner balance in the Vault,\n     * through a redeem call.\n     *\n     * - MUST return a limited value if owner is subject to some withdrawal limit or timelock.\n     * - MUST return balanceOf(owner) if owner is not subject to any withdrawal limit or timelock.\n     * - MUST NOT revert.\n     */\n    function maxRedeem(address owner) external view returns (uint256 maxShares);\n\n    /**\n     * @dev Allows an on-chain or off-chain user to simulate the effects of their redeemption at the current block,\n     * given current on-chain conditions.\n     *\n     * - MUST return as close to and no more than the exact amount of assets that would be withdrawn in a redeem call\n     *   in the same transaction. I.e. redeem should return the same or more assets as previewRedeem if called in the\n     *   same transaction.\n     * - MUST NOT account for redemption limits like those returned from maxRedeem and should always act as though the\n     *   redemption would be accepted, regardless if the user has enough shares, etc.\n     * - MUST be inclusive of withdrawal fees. Integrators should be aware of the existence of withdrawal fees.\n     * - MUST NOT revert.\n     *\n     * NOTE: any unfavorable discrepancy between convertToAssets and previewRedeem SHOULD be considered slippage in\n     * share price or some other type of condition, meaning the depositor will lose assets by redeeming.\n     */\n    function previewRedeem(uint256 shares) external view returns (uint256 assets);\n\n    /**\n     * @dev Burns exactly shares from owner and sends assets of underlying tokens to receiver.\n     *\n     * - MUST emit the Withdraw event.\n     * - MAY support an additional flow in which the underlying tokens are owned by the Vault contract before the\n     *   redeem execution, and are accounted for during redeem.\n     * - MUST revert if all of shares cannot be redeemed (due to withdrawal limit being reached, slippage, the owner\n     *   not having enough shares, etc).\n     *\n     * NOTE: some implementations will require pre-requesting to the Vault before a withdrawal may be performed.\n     * Those methods should be performed separately.\n     */\n    function redeem(uint256 shares, address receiver, address owner) external returns (uint256 assets);\n}\n"},"node_modules/@openzeppelin/contracts/utils/math/Math.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.1.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 Returns the addition of two unsigned integers, with an 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            if (c < a) return (false, 0);\n            return (true, c);\n        }\n    }\n\n    /**\n     * @dev Returns the subtraction of two unsigned integers, with an success flag (no overflow).\n     */\n    function trySub(uint256 a, uint256 b) internal pure returns (bool success, uint256 result) {\n        unchecked {\n            if (b > a) return (false, 0);\n            return (true, a - b);\n        }\n    }\n\n    /**\n     * @dev Returns the multiplication of two unsigned integers, with an success flag (no overflow).\n     */\n    function tryMul(uint256 a, uint256 b) internal pure returns (bool success, uint256 result) {\n        unchecked {\n            // Gas optimization: this is cheaper than requiring 'a' not being zero, but the\n            // benefit is lost if 'b' is also tested.\n            // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522\n            if (a == 0) return (true, 0);\n            uint256 c = a * b;\n            if (c / a != b) return (false, 0);\n            return (true, c);\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            if (b == 0) return (false, 0);\n            return (true, a / b);\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            if (b == 0) return (false, 0);\n            return (true, a % b);\n        }\n    }\n\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, 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        // (a + b) / 2 can overflow.\n        return (a & b) + (a ^ b) / 2;\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            // 512-bit multiply [prod1 prod0] = 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 = prod1 * 2²⁵⁶ + prod0.\n            uint256 prod0 = x * y; // Least significant 256 bits of the product\n            uint256 prod1; // Most significant 256 bits of the product\n            assembly {\n                let mm := mulmod(x, y, not(0))\n                prod1 := sub(sub(mm, prod0), lt(mm, prod0))\n            }\n\n            // Handle non-overflow cases, 256 by 256 division.\n            if (prod1 == 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 prod0 / denominator;\n            }\n\n            // Make sure the result is less than 2²⁵⁶. Also prevents denominator == 0.\n            if (denominator <= prod1) {\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 [prod1 prod0].\n            uint256 remainder;\n            assembly {\n                // Compute remainder using mulmod.\n                remainder := mulmod(x, y, denominator)\n\n                // Subtract 256 bit number from 512 bit number.\n                prod1 := sub(prod1, gt(remainder, prod0))\n                prod0 := sub(prod0, 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 {\n                // Divide denominator by twos.\n                denominator := div(denominator, twos)\n\n                // Divide [prod1 prod0] by twos.\n                prod0 := div(prod0, 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 prod1 into prod0.\n            prod0 |= prod1 * 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 prod1\n            // is no longer required.\n            result = prod0 * 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 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 byteArray) private pure returns (bool) {\n        for (uint256 i = 0; i < byteArray.length; ++i) {\n            if (byteArray[i] != 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 value) internal pure returns (uint256) {\n        uint256 result = 0;\n        uint256 exp;\n        unchecked {\n            exp = 128 * SafeCast.toUint(value > (1 << 128) - 1);\n            value >>= exp;\n            result += exp;\n\n            exp = 64 * SafeCast.toUint(value > (1 << 64) - 1);\n            value >>= exp;\n            result += exp;\n\n            exp = 32 * SafeCast.toUint(value > (1 << 32) - 1);\n            value >>= exp;\n            result += exp;\n\n            exp = 16 * SafeCast.toUint(value > (1 << 16) - 1);\n            value >>= exp;\n            result += exp;\n\n            exp = 8 * SafeCast.toUint(value > (1 << 8) - 1);\n            value >>= exp;\n            result += exp;\n\n            exp = 4 * SafeCast.toUint(value > (1 << 4) - 1);\n            value >>= exp;\n            result += exp;\n\n            exp = 2 * SafeCast.toUint(value > (1 << 2) - 1);\n            value >>= exp;\n            result += exp;\n\n            result += SafeCast.toUint(value > 1);\n        }\n        return result;\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 value) internal pure returns (uint256) {\n        uint256 result = 0;\n        uint256 isGt;\n        unchecked {\n            isGt = SafeCast.toUint(value > (1 << 128) - 1);\n            value >>= isGt * 128;\n            result += isGt * 16;\n\n            isGt = SafeCast.toUint(value > (1 << 64) - 1);\n            value >>= isGt * 64;\n            result += isGt * 8;\n\n            isGt = SafeCast.toUint(value > (1 << 32) - 1);\n            value >>= isGt * 32;\n            result += isGt * 4;\n\n            isGt = SafeCast.toUint(value > (1 << 16) - 1);\n            value >>= isGt * 16;\n            result += isGt * 2;\n\n            result += SafeCast.toUint(value > (1 << 8) - 1);\n        }\n        return result;\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"},"node_modules/@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 an uint of `bits` size.\n     */\n    error SafeCastOverflowedUintDowncast(uint8 bits, uint256 value);\n\n    /**\n     * @dev An int value doesn't fit in an 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 An uint value doesn't fit in an int of `bits` size.\n     */\n    error SafeCastOverflowedUintToInt(uint256 value);\n\n    /**\n     * @dev Returns the downcasted uint248 from uint256, reverting on\n     * overflow (when the input is greater than largest uint248).\n     *\n     * Counterpart to Solidity's `uint248` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 248 bits\n     */\n    function toUint248(uint256 value) internal pure returns (uint248) {\n        if (value > type(uint248).max) {\n            revert SafeCastOverflowedUintDowncast(248, value);\n        }\n        return uint248(value);\n    }\n\n    /**\n     * @dev Returns the downcasted uint240 from uint256, reverting on\n     * overflow (when the input is greater than largest uint240).\n     *\n     * Counterpart to Solidity's `uint240` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 240 bits\n     */\n    function toUint240(uint256 value) internal pure returns (uint240) {\n        if (value > type(uint240).max) {\n            revert SafeCastOverflowedUintDowncast(240, value);\n        }\n        return uint240(value);\n    }\n\n    /**\n     * @dev Returns the downcasted uint232 from uint256, reverting on\n     * overflow (when the input is greater than largest uint232).\n     *\n     * Counterpart to Solidity's `uint232` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 232 bits\n     */\n    function toUint232(uint256 value) internal pure returns (uint232) {\n        if (value > type(uint232).max) {\n            revert SafeCastOverflowedUintDowncast(232, value);\n        }\n        return uint232(value);\n    }\n\n    /**\n     * @dev Returns the downcasted uint224 from uint256, reverting on\n     * overflow (when the input is greater than largest uint224).\n     *\n     * Counterpart to Solidity's `uint224` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 224 bits\n     */\n    function toUint224(uint256 value) internal pure returns (uint224) {\n        if (value > type(uint224).max) {\n            revert SafeCastOverflowedUintDowncast(224, value);\n        }\n        return uint224(value);\n    }\n\n    /**\n     * @dev Returns the downcasted uint216 from uint256, reverting on\n     * overflow (when the input is greater than largest uint216).\n     *\n     * Counterpart to Solidity's `uint216` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 216 bits\n     */\n    function toUint216(uint256 value) internal pure returns (uint216) {\n        if (value > type(uint216).max) {\n            revert SafeCastOverflowedUintDowncast(216, value);\n        }\n        return uint216(value);\n    }\n\n    /**\n     * @dev Returns the downcasted uint208 from uint256, reverting on\n     * overflow (when the input is greater than largest uint208).\n     *\n     * Counterpart to Solidity's `uint208` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 208 bits\n     */\n    function toUint208(uint256 value) internal pure returns (uint208) {\n        if (value > type(uint208).max) {\n            revert SafeCastOverflowedUintDowncast(208, value);\n        }\n        return uint208(value);\n    }\n\n    /**\n     * @dev Returns the downcasted uint200 from uint256, reverting on\n     * overflow (when the input is greater than largest uint200).\n     *\n     * Counterpart to Solidity's `uint200` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 200 bits\n     */\n    function toUint200(uint256 value) internal pure returns (uint200) {\n        if (value > type(uint200).max) {\n            revert SafeCastOverflowedUintDowncast(200, value);\n        }\n        return uint200(value);\n    }\n\n    /**\n     * @dev Returns the downcasted uint192 from uint256, reverting on\n     * overflow (when the input is greater than largest uint192).\n     *\n     * Counterpart to Solidity's `uint192` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 192 bits\n     */\n    function toUint192(uint256 value) internal pure returns (uint192) {\n        if (value > type(uint192).max) {\n            revert SafeCastOverflowedUintDowncast(192, value);\n        }\n        return uint192(value);\n    }\n\n    /**\n     * @dev Returns the downcasted uint184 from uint256, reverting on\n     * overflow (when the input is greater than largest uint184).\n     *\n     * Counterpart to Solidity's `uint184` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 184 bits\n     */\n    function toUint184(uint256 value) internal pure returns (uint184) {\n        if (value > type(uint184).max) {\n            revert SafeCastOverflowedUintDowncast(184, value);\n        }\n        return uint184(value);\n    }\n\n    /**\n     * @dev Returns the downcasted uint176 from uint256, reverting on\n     * overflow (when the input is greater than largest uint176).\n     *\n     * Counterpart to Solidity's `uint176` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 176 bits\n     */\n    function toUint176(uint256 value) internal pure returns (uint176) {\n        if (value > type(uint176).max) {\n            revert SafeCastOverflowedUintDowncast(176, value);\n        }\n        return uint176(value);\n    }\n\n    /**\n     * @dev Returns the downcasted uint168 from uint256, reverting on\n     * overflow (when the input is greater than largest uint168).\n     *\n     * Counterpart to Solidity's `uint168` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 168 bits\n     */\n    function toUint168(uint256 value) internal pure returns (uint168) {\n        if (value > type(uint168).max) {\n            revert SafeCastOverflowedUintDowncast(168, value);\n        }\n        return uint168(value);\n    }\n\n    /**\n     * @dev Returns the downcasted uint160 from uint256, reverting on\n     * overflow (when the input is greater than largest uint160).\n     *\n     * Counterpart to Solidity's `uint160` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 160 bits\n     */\n    function toUint160(uint256 value) internal pure returns (uint160) {\n        if (value > type(uint160).max) {\n            revert SafeCastOverflowedUintDowncast(160, value);\n        }\n        return uint160(value);\n    }\n\n    /**\n     * @dev Returns the downcasted uint152 from uint256, reverting on\n     * overflow (when the input is greater than largest uint152).\n     *\n     * Counterpart to Solidity's `uint152` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 152 bits\n     */\n    function toUint152(uint256 value) internal pure returns (uint152) {\n        if (value > type(uint152).max) {\n            revert SafeCastOverflowedUintDowncast(152, value);\n        }\n        return uint152(value);\n    }\n\n    /**\n     * @dev Returns the downcasted uint144 from uint256, reverting on\n     * overflow (when the input is greater than largest uint144).\n     *\n     * Counterpart to Solidity's `uint144` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 144 bits\n     */\n    function toUint144(uint256 value) internal pure returns (uint144) {\n        if (value > type(uint144).max) {\n            revert SafeCastOverflowedUintDowncast(144, value);\n        }\n        return uint144(value);\n    }\n\n    /**\n     * @dev Returns the downcasted uint136 from uint256, reverting on\n     * overflow (when the input is greater than largest uint136).\n     *\n     * Counterpart to Solidity's `uint136` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 136 bits\n     */\n    function toUint136(uint256 value) internal pure returns (uint136) {\n        if (value > type(uint136).max) {\n            revert SafeCastOverflowedUintDowncast(136, value);\n        }\n        return uint136(value);\n    }\n\n    /**\n     * @dev Returns the downcasted uint128 from uint256, reverting on\n     * overflow (when the input is greater than largest uint128).\n     *\n     * Counterpart to Solidity's `uint128` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 128 bits\n     */\n    function toUint128(uint256 value) internal pure returns (uint128) {\n        if (value > type(uint128).max) {\n            revert SafeCastOverflowedUintDowncast(128, value);\n        }\n        return uint128(value);\n    }\n\n    /**\n     * @dev Returns the downcasted uint120 from uint256, reverting on\n     * overflow (when the input is greater than largest uint120).\n     *\n     * Counterpart to Solidity's `uint120` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 120 bits\n     */\n    function toUint120(uint256 value) internal pure returns (uint120) {\n        if (value > type(uint120).max) {\n            revert SafeCastOverflowedUintDowncast(120, value);\n        }\n        return uint120(value);\n    }\n\n    /**\n     * @dev Returns the downcasted uint112 from uint256, reverting on\n     * overflow (when the input is greater than largest uint112).\n     *\n     * Counterpart to Solidity's `uint112` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 112 bits\n     */\n    function toUint112(uint256 value) internal pure returns (uint112) {\n        if (value > type(uint112).max) {\n            revert SafeCastOverflowedUintDowncast(112, value);\n        }\n        return uint112(value);\n    }\n\n    /**\n     * @dev Returns the downcasted uint104 from uint256, reverting on\n     * overflow (when the input is greater than largest uint104).\n     *\n     * Counterpart to Solidity's `uint104` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 104 bits\n     */\n    function toUint104(uint256 value) internal pure returns (uint104) {\n        if (value > type(uint104).max) {\n            revert SafeCastOverflowedUintDowncast(104, value);\n        }\n        return uint104(value);\n    }\n\n    /**\n     * @dev Returns the downcasted uint96 from uint256, reverting on\n     * overflow (when the input is greater than largest uint96).\n     *\n     * Counterpart to Solidity's `uint96` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 96 bits\n     */\n    function toUint96(uint256 value) internal pure returns (uint96) {\n        if (value > type(uint96).max) {\n            revert SafeCastOverflowedUintDowncast(96, value);\n        }\n        return uint96(value);\n    }\n\n    /**\n     * @dev Returns the downcasted uint88 from uint256, reverting on\n     * overflow (when the input is greater than largest uint88).\n     *\n     * Counterpart to Solidity's `uint88` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 88 bits\n     */\n    function toUint88(uint256 value) internal pure returns (uint88) {\n        if (value > type(uint88).max) {\n            revert SafeCastOverflowedUintDowncast(88, value);\n        }\n        return uint88(value);\n    }\n\n    /**\n     * @dev Returns the downcasted uint80 from uint256, reverting on\n     * overflow (when the input is greater than largest uint80).\n     *\n     * Counterpart to Solidity's `uint80` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 80 bits\n     */\n    function toUint80(uint256 value) internal pure returns (uint80) {\n        if (value > type(uint80).max) {\n            revert SafeCastOverflowedUintDowncast(80, value);\n        }\n        return uint80(value);\n    }\n\n    /**\n     * @dev Returns the downcasted uint72 from uint256, reverting on\n     * overflow (when the input is greater than largest uint72).\n     *\n     * Counterpart to Solidity's `uint72` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 72 bits\n     */\n    function toUint72(uint256 value) internal pure returns (uint72) {\n        if (value > type(uint72).max) {\n            revert SafeCastOverflowedUintDowncast(72, value);\n        }\n        return uint72(value);\n    }\n\n    /**\n     * @dev Returns the downcasted uint64 from uint256, reverting on\n     * overflow (when the input is greater than largest uint64).\n     *\n     * Counterpart to Solidity's `uint64` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 64 bits\n     */\n    function toUint64(uint256 value) internal pure returns (uint64) {\n        if (value > type(uint64).max) {\n            revert SafeCastOverflowedUintDowncast(64, value);\n        }\n        return uint64(value);\n    }\n\n    /**\n     * @dev Returns the downcasted uint56 from uint256, reverting on\n     * overflow (when the input is greater than largest uint56).\n     *\n     * Counterpart to Solidity's `uint56` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 56 bits\n     */\n    function toUint56(uint256 value) internal pure returns (uint56) {\n        if (value > type(uint56).max) {\n            revert SafeCastOverflowedUintDowncast(56, value);\n        }\n        return uint56(value);\n    }\n\n    /**\n     * @dev Returns the downcasted uint48 from uint256, reverting on\n     * overflow (when the input is greater than largest uint48).\n     *\n     * Counterpart to Solidity's `uint48` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 48 bits\n     */\n    function toUint48(uint256 value) internal pure returns (uint48) {\n        if (value > type(uint48).max) {\n            revert SafeCastOverflowedUintDowncast(48, value);\n        }\n        return uint48(value);\n    }\n\n    /**\n     * @dev Returns the downcasted uint40 from uint256, reverting on\n     * overflow (when the input is greater than largest uint40).\n     *\n     * Counterpart to Solidity's `uint40` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 40 bits\n     */\n    function toUint40(uint256 value) internal pure returns (uint40) {\n        if (value > type(uint40).max) {\n            revert SafeCastOverflowedUintDowncast(40, value);\n        }\n        return uint40(value);\n    }\n\n    /**\n     * @dev Returns the downcasted uint32 from uint256, reverting on\n     * overflow (when the input is greater than largest uint32).\n     *\n     * Counterpart to Solidity's `uint32` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 32 bits\n     */\n    function toUint32(uint256 value) internal pure returns (uint32) {\n        if (value > type(uint32).max) {\n            revert SafeCastOverflowedUintDowncast(32, value);\n        }\n        return uint32(value);\n    }\n\n    /**\n     * @dev Returns the downcasted uint24 from uint256, reverting on\n     * overflow (when the input is greater than largest uint24).\n     *\n     * Counterpart to Solidity's `uint24` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 24 bits\n     */\n    function toUint24(uint256 value) internal pure returns (uint24) {\n        if (value > type(uint24).max) {\n            revert SafeCastOverflowedUintDowncast(24, value);\n        }\n        return uint24(value);\n    }\n\n    /**\n     * @dev Returns the downcasted uint16 from uint256, reverting on\n     * overflow (when the input is greater than largest uint16).\n     *\n     * Counterpart to Solidity's `uint16` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 16 bits\n     */\n    function toUint16(uint256 value) internal pure returns (uint16) {\n        if (value > type(uint16).max) {\n            revert SafeCastOverflowedUintDowncast(16, value);\n        }\n        return uint16(value);\n    }\n\n    /**\n     * @dev Returns the downcasted uint8 from uint256, reverting on\n     * overflow (when the input is greater than largest uint8).\n     *\n     * Counterpart to Solidity's `uint8` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 8 bits\n     */\n    function toUint8(uint256 value) internal pure returns (uint8) {\n        if (value > type(uint8).max) {\n            revert SafeCastOverflowedUintDowncast(8, value);\n        }\n        return uint8(value);\n    }\n\n    /**\n     * @dev Converts a signed int256 into an unsigned uint256.\n     *\n     * Requirements:\n     *\n     * - input must be greater than or equal to 0.\n     */\n    function toUint256(int256 value) internal pure returns (uint256) {\n        if (value < 0) {\n            revert SafeCastOverflowedIntToUint(value);\n        }\n        return uint256(value);\n    }\n\n    /**\n     * @dev Returns the downcasted int248 from int256, reverting on\n     * overflow (when the input is less than smallest int248 or\n     * greater than largest int248).\n     *\n     * Counterpart to Solidity's `int248` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 248 bits\n     */\n    function toInt248(int256 value) internal pure returns (int248 downcasted) {\n        downcasted = int248(value);\n        if (downcasted != value) {\n            revert SafeCastOverflowedIntDowncast(248, value);\n        }\n    }\n\n    /**\n     * @dev Returns the downcasted int240 from int256, reverting on\n     * overflow (when the input is less than smallest int240 or\n     * greater than largest int240).\n     *\n     * Counterpart to Solidity's `int240` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 240 bits\n     */\n    function toInt240(int256 value) internal pure returns (int240 downcasted) {\n        downcasted = int240(value);\n        if (downcasted != value) {\n            revert SafeCastOverflowedIntDowncast(240, value);\n        }\n    }\n\n    /**\n     * @dev Returns the downcasted int232 from int256, reverting on\n     * overflow (when the input is less than smallest int232 or\n     * greater than largest int232).\n     *\n     * Counterpart to Solidity's `int232` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 232 bits\n     */\n    function toInt232(int256 value) internal pure returns (int232 downcasted) {\n        downcasted = int232(value);\n        if (downcasted != value) {\n            revert SafeCastOverflowedIntDowncast(232, value);\n        }\n    }\n\n    /**\n     * @dev Returns the downcasted int224 from int256, reverting on\n     * overflow (when the input is less than smallest int224 or\n     * greater than largest int224).\n     *\n     * Counterpart to Solidity's `int224` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 224 bits\n     */\n    function toInt224(int256 value) internal pure returns (int224 downcasted) {\n        downcasted = int224(value);\n        if (downcasted != value) {\n            revert SafeCastOverflowedIntDowncast(224, value);\n        }\n    }\n\n    /**\n     * @dev Returns the downcasted int216 from int256, reverting on\n     * overflow (when the input is less than smallest int216 or\n     * greater than largest int216).\n     *\n     * Counterpart to Solidity's `int216` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 216 bits\n     */\n    function toInt216(int256 value) internal pure returns (int216 downcasted) {\n        downcasted = int216(value);\n        if (downcasted != value) {\n            revert SafeCastOverflowedIntDowncast(216, value);\n        }\n    }\n\n    /**\n     * @dev Returns the downcasted int208 from int256, reverting on\n     * overflow (when the input is less than smallest int208 or\n     * greater than largest int208).\n     *\n     * Counterpart to Solidity's `int208` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 208 bits\n     */\n    function toInt208(int256 value) internal pure returns (int208 downcasted) {\n        downcasted = int208(value);\n        if (downcasted != value) {\n            revert SafeCastOverflowedIntDowncast(208, value);\n        }\n    }\n\n    /**\n     * @dev Returns the downcasted int200 from int256, reverting on\n     * overflow (when the input is less than smallest int200 or\n     * greater than largest int200).\n     *\n     * Counterpart to Solidity's `int200` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 200 bits\n     */\n    function toInt200(int256 value) internal pure returns (int200 downcasted) {\n        downcasted = int200(value);\n        if (downcasted != value) {\n            revert SafeCastOverflowedIntDowncast(200, value);\n        }\n    }\n\n    /**\n     * @dev Returns the downcasted int192 from int256, reverting on\n     * overflow (when the input is less than smallest int192 or\n     * greater than largest int192).\n     *\n     * Counterpart to Solidity's `int192` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 192 bits\n     */\n    function toInt192(int256 value) internal pure returns (int192 downcasted) {\n        downcasted = int192(value);\n        if (downcasted != value) {\n            revert SafeCastOverflowedIntDowncast(192, value);\n        }\n    }\n\n    /**\n     * @dev Returns the downcasted int184 from int256, reverting on\n     * overflow (when the input is less than smallest int184 or\n     * greater than largest int184).\n     *\n     * Counterpart to Solidity's `int184` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 184 bits\n     */\n    function toInt184(int256 value) internal pure returns (int184 downcasted) {\n        downcasted = int184(value);\n        if (downcasted != value) {\n            revert SafeCastOverflowedIntDowncast(184, value);\n        }\n    }\n\n    /**\n     * @dev Returns the downcasted int176 from int256, reverting on\n     * overflow (when the input is less than smallest int176 or\n     * greater than largest int176).\n     *\n     * Counterpart to Solidity's `int176` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 176 bits\n     */\n    function toInt176(int256 value) internal pure returns (int176 downcasted) {\n        downcasted = int176(value);\n        if (downcasted != value) {\n            revert SafeCastOverflowedIntDowncast(176, value);\n        }\n    }\n\n    /**\n     * @dev Returns the downcasted int168 from int256, reverting on\n     * overflow (when the input is less than smallest int168 or\n     * greater than largest int168).\n     *\n     * Counterpart to Solidity's `int168` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 168 bits\n     */\n    function toInt168(int256 value) internal pure returns (int168 downcasted) {\n        downcasted = int168(value);\n        if (downcasted != value) {\n            revert SafeCastOverflowedIntDowncast(168, value);\n        }\n    }\n\n    /**\n     * @dev Returns the downcasted int160 from int256, reverting on\n     * overflow (when the input is less than smallest int160 or\n     * greater than largest int160).\n     *\n     * Counterpart to Solidity's `int160` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 160 bits\n     */\n    function toInt160(int256 value) internal pure returns (int160 downcasted) {\n        downcasted = int160(value);\n        if (downcasted != value) {\n            revert SafeCastOverflowedIntDowncast(160, value);\n        }\n    }\n\n    /**\n     * @dev Returns the downcasted int152 from int256, reverting on\n     * overflow (when the input is less than smallest int152 or\n     * greater than largest int152).\n     *\n     * Counterpart to Solidity's `int152` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 152 bits\n     */\n    function toInt152(int256 value) internal pure returns (int152 downcasted) {\n        downcasted = int152(value);\n        if (downcasted != value) {\n            revert SafeCastOverflowedIntDowncast(152, value);\n        }\n    }\n\n    /**\n     * @dev Returns the downcasted int144 from int256, reverting on\n     * overflow (when the input is less than smallest int144 or\n     * greater than largest int144).\n     *\n     * Counterpart to Solidity's `int144` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 144 bits\n     */\n    function toInt144(int256 value) internal pure returns (int144 downcasted) {\n        downcasted = int144(value);\n        if (downcasted != value) {\n            revert SafeCastOverflowedIntDowncast(144, value);\n        }\n    }\n\n    /**\n     * @dev Returns the downcasted int136 from int256, reverting on\n     * overflow (when the input is less than smallest int136 or\n     * greater than largest int136).\n     *\n     * Counterpart to Solidity's `int136` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 136 bits\n     */\n    function toInt136(int256 value) internal pure returns (int136 downcasted) {\n        downcasted = int136(value);\n        if (downcasted != value) {\n            revert SafeCastOverflowedIntDowncast(136, value);\n        }\n    }\n\n    /**\n     * @dev Returns the downcasted int128 from int256, reverting on\n     * overflow (when the input is less than smallest int128 or\n     * greater than largest int128).\n     *\n     * Counterpart to Solidity's `int128` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 128 bits\n     */\n    function toInt128(int256 value) internal pure returns (int128 downcasted) {\n        downcasted = int128(value);\n        if (downcasted != value) {\n            revert SafeCastOverflowedIntDowncast(128, value);\n        }\n    }\n\n    /**\n     * @dev Returns the downcasted int120 from int256, reverting on\n     * overflow (when the input is less than smallest int120 or\n     * greater than largest int120).\n     *\n     * Counterpart to Solidity's `int120` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 120 bits\n     */\n    function toInt120(int256 value) internal pure returns (int120 downcasted) {\n        downcasted = int120(value);\n        if (downcasted != value) {\n            revert SafeCastOverflowedIntDowncast(120, value);\n        }\n    }\n\n    /**\n     * @dev Returns the downcasted int112 from int256, reverting on\n     * overflow (when the input is less than smallest int112 or\n     * greater than largest int112).\n     *\n     * Counterpart to Solidity's `int112` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 112 bits\n     */\n    function toInt112(int256 value) internal pure returns (int112 downcasted) {\n        downcasted = int112(value);\n        if (downcasted != value) {\n            revert SafeCastOverflowedIntDowncast(112, value);\n        }\n    }\n\n    /**\n     * @dev Returns the downcasted int104 from int256, reverting on\n     * overflow (when the input is less than smallest int104 or\n     * greater than largest int104).\n     *\n     * Counterpart to Solidity's `int104` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 104 bits\n     */\n    function toInt104(int256 value) internal pure returns (int104 downcasted) {\n        downcasted = int104(value);\n        if (downcasted != value) {\n            revert SafeCastOverflowedIntDowncast(104, value);\n        }\n    }\n\n    /**\n     * @dev Returns the downcasted int96 from int256, reverting on\n     * overflow (when the input is less than smallest int96 or\n     * greater than largest int96).\n     *\n     * Counterpart to Solidity's `int96` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 96 bits\n     */\n    function toInt96(int256 value) internal pure returns (int96 downcasted) {\n        downcasted = int96(value);\n        if (downcasted != value) {\n            revert SafeCastOverflowedIntDowncast(96, value);\n        }\n    }\n\n    /**\n     * @dev Returns the downcasted int88 from int256, reverting on\n     * overflow (when the input is less than smallest int88 or\n     * greater than largest int88).\n     *\n     * Counterpart to Solidity's `int88` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 88 bits\n     */\n    function toInt88(int256 value) internal pure returns (int88 downcasted) {\n        downcasted = int88(value);\n        if (downcasted != value) {\n            revert SafeCastOverflowedIntDowncast(88, value);\n        }\n    }\n\n    /**\n     * @dev Returns the downcasted int80 from int256, reverting on\n     * overflow (when the input is less than smallest int80 or\n     * greater than largest int80).\n     *\n     * Counterpart to Solidity's `int80` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 80 bits\n     */\n    function toInt80(int256 value) internal pure returns (int80 downcasted) {\n        downcasted = int80(value);\n        if (downcasted != value) {\n            revert SafeCastOverflowedIntDowncast(80, value);\n        }\n    }\n\n    /**\n     * @dev Returns the downcasted int72 from int256, reverting on\n     * overflow (when the input is less than smallest int72 or\n     * greater than largest int72).\n     *\n     * Counterpart to Solidity's `int72` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 72 bits\n     */\n    function toInt72(int256 value) internal pure returns (int72 downcasted) {\n        downcasted = int72(value);\n        if (downcasted != value) {\n            revert SafeCastOverflowedIntDowncast(72, value);\n        }\n    }\n\n    /**\n     * @dev Returns the downcasted int64 from int256, reverting on\n     * overflow (when the input is less than smallest int64 or\n     * greater than largest int64).\n     *\n     * Counterpart to Solidity's `int64` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 64 bits\n     */\n    function toInt64(int256 value) internal pure returns (int64 downcasted) {\n        downcasted = int64(value);\n        if (downcasted != value) {\n            revert SafeCastOverflowedIntDowncast(64, value);\n        }\n    }\n\n    /**\n     * @dev Returns the downcasted int56 from int256, reverting on\n     * overflow (when the input is less than smallest int56 or\n     * greater than largest int56).\n     *\n     * Counterpart to Solidity's `int56` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 56 bits\n     */\n    function toInt56(int256 value) internal pure returns (int56 downcasted) {\n        downcasted = int56(value);\n        if (downcasted != value) {\n            revert SafeCastOverflowedIntDowncast(56, value);\n        }\n    }\n\n    /**\n     * @dev Returns the downcasted int48 from int256, reverting on\n     * overflow (when the input is less than smallest int48 or\n     * greater than largest int48).\n     *\n     * Counterpart to Solidity's `int48` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 48 bits\n     */\n    function toInt48(int256 value) internal pure returns (int48 downcasted) {\n        downcasted = int48(value);\n        if (downcasted != value) {\n            revert SafeCastOverflowedIntDowncast(48, value);\n        }\n    }\n\n    /**\n     * @dev Returns the downcasted int40 from int256, reverting on\n     * overflow (when the input is less than smallest int40 or\n     * greater than largest int40).\n     *\n     * Counterpart to Solidity's `int40` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 40 bits\n     */\n    function toInt40(int256 value) internal pure returns (int40 downcasted) {\n        downcasted = int40(value);\n        if (downcasted != value) {\n            revert SafeCastOverflowedIntDowncast(40, value);\n        }\n    }\n\n    /**\n     * @dev Returns the downcasted int32 from int256, reverting on\n     * overflow (when the input is less than smallest int32 or\n     * greater than largest int32).\n     *\n     * Counterpart to Solidity's `int32` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 32 bits\n     */\n    function toInt32(int256 value) internal pure returns (int32 downcasted) {\n        downcasted = int32(value);\n        if (downcasted != value) {\n            revert SafeCastOverflowedIntDowncast(32, value);\n        }\n    }\n\n    /**\n     * @dev Returns the downcasted int24 from int256, reverting on\n     * overflow (when the input is less than smallest int24 or\n     * greater than largest int24).\n     *\n     * Counterpart to Solidity's `int24` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 24 bits\n     */\n    function toInt24(int256 value) internal pure returns (int24 downcasted) {\n        downcasted = int24(value);\n        if (downcasted != value) {\n            revert SafeCastOverflowedIntDowncast(24, value);\n        }\n    }\n\n    /**\n     * @dev Returns the downcasted int16 from int256, reverting on\n     * overflow (when the input is less than smallest int16 or\n     * greater than largest int16).\n     *\n     * Counterpart to Solidity's `int16` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 16 bits\n     */\n    function toInt16(int256 value) internal pure returns (int16 downcasted) {\n        downcasted = int16(value);\n        if (downcasted != value) {\n            revert SafeCastOverflowedIntDowncast(16, value);\n        }\n    }\n\n    /**\n     * @dev Returns the downcasted int8 from int256, reverting on\n     * overflow (when the input is less than smallest int8 or\n     * greater than largest int8).\n     *\n     * Counterpart to Solidity's `int8` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 8 bits\n     */\n    function toInt8(int256 value) internal pure returns (int8 downcasted) {\n        downcasted = int8(value);\n        if (downcasted != value) {\n            revert SafeCastOverflowedIntDowncast(8, value);\n        }\n    }\n\n    /**\n     * @dev Converts an unsigned uint256 into a signed int256.\n     *\n     * Requirements:\n     *\n     * - input must be less than or equal to maxInt256.\n     */\n    function toInt256(uint256 value) internal pure returns (int256) {\n        // Note: Unsafe cast below is okay because `type(int256).max` is guaranteed to be positive\n        if (value > uint256(type(int256).max)) {\n            revert SafeCastOverflowedUintToInt(value);\n        }\n        return int256(value);\n    }\n\n    /**\n     * @dev Cast a boolean (false or true) to a uint256 (0 or 1) with no jump.\n     */\n    function toUint(bool b) internal pure returns (uint256 u) {\n        assembly (\"memory-safe\") {\n            u := iszero(iszero(b))\n        }\n    }\n}\n"},"node_modules/@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.2.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        _callOptionalReturn(token, abi.encodeCall(token.transfer, (to, value)));\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        _callOptionalReturn(token, abi.encodeCall(token.transferFrom, (from, to, value)));\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        bytes memory approvalCall = abi.encodeCall(token.approve, (spender, value));\n\n        if (!_callOptionalReturnBool(token, approvalCall)) {\n            _callOptionalReturn(token, abi.encodeCall(token.approve, (spender, 0)));\n            _callOptionalReturn(token, approvalCall);\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 rely 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 rely 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     * Opposedly, 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 high-level call (i.e. a regular function call to a contract), relaxing the requirement\n     * on the return value: the return value is optional (but if data is returned, it must not be false).\n     * @param token The token targeted by the call.\n     * @param data The call data (encoded using abi.encode or one of its variants).\n     *\n     * This is a variant of {_callOptionalReturnBool} that reverts if call fails to meet the requirements.\n     */\n    function _callOptionalReturn(IERC20 token, bytes memory data) private {\n        uint256 returnSize;\n        uint256 returnValue;\n        assembly (\"memory-safe\") {\n            let success := call(gas(), token, 0, add(data, 0x20), mload(data), 0, 0x20)\n            // bubble errors\n            if iszero(success) {\n                let ptr := mload(0x40)\n                returndatacopy(ptr, 0, returndatasize())\n                revert(ptr, returndatasize())\n            }\n            returnSize := returndatasize()\n            returnValue := mload(0)\n        }\n\n        if (returnSize == 0 ? address(token).code.length == 0 : returnValue != 1) {\n            revert SafeERC20FailedOperation(address(token));\n        }\n    }\n\n    /**\n     * @dev Imitates a Solidity high-level call (i.e. a regular function call to a contract), relaxing the requirement\n     * on the return value: the return value is optional (but if data is returned, it must not be false).\n     * @param token The token targeted by the call.\n     * @param data The call data (encoded using abi.encode or one of its variants).\n     *\n     * This is a variant of {_callOptionalReturn} that silently catches all reverts and returns a bool instead.\n     */\n    function _callOptionalReturnBool(IERC20 token, bytes memory data) private returns (bool) {\n        bool success;\n        uint256 returnSize;\n        uint256 returnValue;\n        assembly (\"memory-safe\") {\n            success := call(gas(), token, 0, add(data, 0x20), mload(data), 0, 0x20)\n            returnSize := returndatasize()\n            returnValue := mload(0)\n        }\n        return success && (returnSize == 0 ? address(token).code.length > 0 : returnValue == 1);\n    }\n}\n"},"src/interface/IConcreteAsyncVaultImpl.sol":{"content":"// SPDX-License-Identifier: UNLICENSED\npragma solidity ^0.8.0;\n\nimport {IConcreteStandardVaultImpl} from \"./IConcreteStandardVaultImpl.sol\";\n\n/**\n * @title IConcreteAsyncVaultImpl\n * @dev Interface for the async vault implementation that provides epoch-based withdrawal management.\n * @dev This interface extends the standard vault functionality with asynchronous withdrawal capabilities,\n * allowing for better liquidity management and batch processing of withdrawal requests.\n * @dev Users submit withdrawal requests that are queued in epochs, processed by allocators when liquidity\n * is available, and then claimed by users after processing is complete.\n */\ninterface IConcreteAsyncVaultImpl is IConcreteStandardVaultImpl {\n    enum EpochState {\n        // Epoch is not active\n        Inactive,\n        // An epoch is active if it is receiving requests and is not closed\n        Active,\n        // An epoch is processing if it is closed (cannot receive requests anymore) and has not been processed\n        Processing,\n        // An epoch is processed if it has been processed and has a price locked\n        Processed\n    }\n\n    /**\n     * @dev Thrown when attempting to operate on a zero address.\n     */\n    error ZeroAddress();\n\n    /**\n     * @dev Thrown when attempting to withdraw zero shares.\n     */\n    error ZeroShares();\n\n    /**\n     * @dev Thrown when attempting to operate on an epoch with no requesting shares.\n     */\n    error NoRequestingShares();\n\n    /**\n     * @dev Thrown when attempting to claim a request that is not claimable.\n     */\n    error NoClaimableRequest();\n\n    /**\n     * @dev Thrown when there are no redeemable assets available.\n     */\n    error NoRedeemableAssets();\n\n    /**\n     * @dev Thrown when attempting to roll to next epoch while current epoch is not processed.\n     */\n    error EpochNotProcessed(uint256 epochID);\n\n    /**\n     * @dev Thrown when attempting to cancel a request for an epoch that has already been processed.\n     */\n    error EpochAlreadyProcessed(uint256 epochID);\n\n    /**\n     * @dev Thrown when attempting to claim with empty epoch IDs.\n     */\n    error EmptyEpochIDs();\n\n    /**\n     * @dev Thrown when attempting to claim with empty users.\n     */\n    error EmptyUsers();\n\n    /**\n     * @dev Emitted when the withdrawal queue is initialized.\n     * @param epochID The initial epoch ID.\n     */\n    event WithdrawalQueueInitialized(uint256 epochID);\n\n    /**\n     * @dev Thrown when attempting to close an epoch that and previous epoch was not processed.\n     */\n    error PreviousEpochNotProcessed(uint256 epochID);\n\n    /**\n     * @dev Thrown when attempting to process an epoch that was already processed.\n     */\n    error PreviousEpochAlreadyProcessed(uint256 epochID);\n\n    /**\n     * @dev Thrown when attempting to process an epoch that is already closed.\n     * @param epochID The epoch that was already closed.\n     */\n    error EpochAlreadyClosed(uint256 epochID);\n\n    /**\n     * @dev Thrown when attempting to process an epoch that is still open.\n     * @param epochID The epoch that was still open.\n     */\n    error EpochStillOpen(uint256 epochID);\n\n    /**\n     * @dev Emitted when a user submits a withdrawal request that is queued for epoch processing.\n     * @param owner The address of the user making the request.\n     * @param assets The amount of assets requested for withdrawal.\n     * @param shares The amount of shares transferred to the vault for the request.\n     * @param epochID The epoch in which the request was queued.\n     */\n    event QueuedWithdrawal(\n        address indexed caller,\n        address indexed receiver,\n        address indexed owner,\n        uint256 assets,\n        uint256 shares,\n        uint256 epochID\n    );\n\n    /**\n     * @dev Emitted when a user cancels their pending withdrawal request.\n     * @param owner The address of the user cancelling the request.\n     * @param shares The amount of shares returned to the user.\n     * @param epochID The epoch from which the request was cancelled.\n     */\n    event RequestCancelled(address indexed owner, uint256 shares, uint256 epochID);\n\n    /**\n     * @dev Emitted when a user claims their processed withdrawal request.\n     * @param owner The address of the user claiming the withdrawal.\n     * @param assets The amount of assets transferred to the user.\n     * @param epochIDs The epoch IDs from which the request was claimed.\n     */\n    event RequestClaimed(address indexed owner, uint256 assets, uint256[] epochIDs);\n\n    /**\n     * @dev Emitted when an epoch's withdrawal requests are processed.\n     * @param epochID The epoch ID that was processed.\n     * @param shares The total shares processed in the epoch.\n     * @param assets The total assets reserved for the epoch.\n     * @param sharePrice The share price locked for the epoch.\n     */\n    event EpochProcessed(uint256 epochID, uint256 shares, uint256 assets, uint256 sharePrice);\n\n    /**\n     * @dev Emitted when a user's request is moved to the next epoch.\n     * @param user The address of the user whose request was moved.\n     * @param shares The amount of shares moved.\n     * @param currentEpochID The epoch from which the request was moved.\n     * @param nextEpochID The epoch to which the request was moved.\n     */\n    event RequestMovedToNextEpoch(address indexed user, uint256 shares, uint256 currentEpochID, uint256 nextEpochID);\n\n    /**\n     * @dev Emitted when an epoch is closed.\n     * @param epochID The epoch that was closed.\n     */\n    event EpochClosed(uint256 epochID);\n\n    /**\n     * @dev Emitted when the queue is toggled.\n     * @param isQueueActive The active status of the queue.\n     */\n    event QueueActiveToggled(bool isQueueActive);\n\n    /**\n     * @dev This struct definition is maintained for interface compatibility.\n     */\n    struct RedeemRequest {\n        uint256 requestEpoch;\n        uint256 requestShares;\n    }\n\n    /**\n     * @notice Cancel pending redeem request for a specific epoch (only unprocessed epochs)\n     * @dev Users can only cancel requests from epochs that haven't been processed yet (no price locked)\n     * @dev Returns shares back to the user and updates epoch accounting\n     * @param user The user address to cancel the request for\n     * @param epochID The epoch ID from which to cancel the request\n     */\n    function cancelRequest(address user, uint256 epochID) external;\n\n    /**\n     * @notice Cancel pending redeem request for a specific epoch (only unprocessed epochs)\n     * @dev Users can only cancel requests from epochs that haven't been processed yet (no price locked)\n     * @dev Returns shares back to the user and updates epoch accounting\n     * @param epochID The epoch ID from which to cancel the request\n     */\n    function cancelRequest(uint256 epochID) external;\n\n    /**\n     * @notice Claim processed redeem requests from specified epochs\n     * @dev Processes each epoch internally, aggregates assets and shares, then burns and transfers once\n     * @dev More gas efficient than claiming epochs individually\n     * @dev Skips epochs with no claimable amounts (zero shares or unprocessed epochs)\n     * @param epochIDs Array of epoch IDs to claim from\n     */\n    function claimWithdrawal(uint256[] calldata epochIDs) external;\n\n    /**\n     * @notice Claim processed redeem requests from specified epochs\n     * @dev Processes each epoch internally, aggregates assets and shares, then burns and transfers once\n     * @dev More gas efficient than claiming epochs individually\n     * @dev Skips epochs with no claimable amounts (zero shares or unprocessed epochs)\n     * @param user The user address to claim from\n     * @param epochIDs Array of epoch IDs to claim from\n     */\n    function claimWithdrawal(address user, uint256[] calldata epochIDs) external;\n\n    /**\n     * @notice Close the current epoch\n     * @dev Only callable by WITHDRAWAL_MANAGER role\n     * @dev Closes the current epoch and increments the epoch ID\n     * @dev Can only be called if the previous epoch is processed (!)\n     */\n    function closeEpoch() external;\n\n    /**\n     * @notice Process all pending redeem requests for a specific epoch\n     * @dev Harvests all strategies to get current accurate pricing before processing\n     * @dev Calculates share price and reserves required assets for the epoch\n     * @dev Can process any epoch with pending requests, enabling historical processing\n     * @dev Only callable by ALLOCATOR role\n     */\n    function processEpoch() external;\n\n    /**\n     * @notice Move a user's request to the next epoch\n     * @param user The user address to move the request for\n     */\n    function moveRequestToNextEpoch(address user) external;\n\n    /**\n     * @notice Get claimable redeem request from a specific epoch\n     * @dev Returns the amount of assets claimable by the caller from the specified epoch\n     * @dev Returns 0 if epoch is not processed, no request exists, or epoch is current/future\n     * @param epochID The epoch ID to check\n     * @return assets The amount of assets claimable from the epoch\n     */\n    function getUserEpochRequestInAssets(address user, uint256 epochID) external view returns (uint256 assets);\n\n    /**\n     * @notice Get user's redeem request for a specific epoch\n     * @dev Returns the amount of shares requested by the specified user in the epoch\n     * @param user The user address to check\n     * @param epochID The epoch ID to check\n     * @return shares The amount of shares requested by the user in the epoch\n     */\n    function getUserEpochRequest(address user, uint256 epochID) external view returns (uint256 shares);\n\n    /**\n     * @notice Get the state of an epoch\n     * @dev Returns the state of an epoch\n     * @param epochID The epoch ID to check\n     * @return The state of the epoch\n     */\n    function getEpochState(uint256 epochID) external view returns (EpochState);\n\n    /**\n     * @notice Get current epoch ID\n     * @dev New withdrawal requests are queued in this epoch\n     * @return The current epoch ID\n     */\n    function latestEpochID() external view returns (uint256);\n\n    /**\n     * @notice Get total redeemable assets from past epochs\n     * @dev This amount is subtracted from totalAssets() to exclude reserved funds from active vault operations\n     * @return The total assets reserved for past epoch claims\n     */\n    function pastEpochsUnclaimedAssets() external view returns (uint256);\n\n    /**\n     * @notice Get total requested shares in a specific epoch\n     * @dev Returns the total shares from all users that requested withdrawal in the epoch\n     * @dev Returns 0 after epoch is processed (shares moved to requestingSharesInPast)\n     * @param epochID The epoch ID to check\n     * @return The total shares requested in the epoch\n     */\n    function totalRequestedSharesPerEpoch(uint256 epochID) external view returns (uint256);\n\n    /**\n     * @notice Get total requested shares in the active and processing epochs\n     * @dev Returns the total shares from all users that requested withdrawal in the active and processing epochs\n     * @return activeShares The total shares requested in the active epoch\n     * @return processingShares The total shares requested in the processing epoch\n     * @return processedShares The total shares requested in the last processed epoch\n     */\n    function totalRequestedSharesForCurrentEpochs()\n        external\n        view\n        returns (uint256 activeShares, uint256 processingShares, uint256 processedShares);\n\n    /**\n     * @notice Get share price for a specific epoch\n     * @dev Returns the share price that was locked when the epoch was processed\n     * @dev Returns 0 if the epoch has not been processed yet\n     * @param epochID The epoch ID to check\n     * @return The share price locked when the epoch was processed (in assets per 1e18 shares)\n     */\n    function getEpochPricePerShare(uint256 epochID) external view returns (uint256);\n\n    /**\n     * @notice Get whether the queue is active\n     * @dev Returns true if the queue is active, false otherwise\n     * @return The active status of the queue\n     */\n    function isQueueActive() external view returns (bool);\n\n    /**\n     * @notice Toggle the active status of the queue\n     * @dev Only callable by the ALLOCATOR role\n     */\n    function toggleQueueActive() external;\n}\n"},"src/interface/IConcreteStandardVaultImpl.sol":{"content":"// SPDX-License-Identifier: UNLICENSED\npragma solidity ^0.8.24;\n\nimport {IUpgradeableVault} from \"./IUpgradeableVault.sol\";\nimport {Hooks} from \"./IHook.sol\";\nimport {IERC4626} from \"@openzeppelin-contracts/interfaces/IERC4626.sol\";\nimport {IAccessControlEnumerable} from \"@openzeppelin-contracts/access/extensions/IAccessControlEnumerable.sol\";\n\n/**\n * @title IConcreteStandardVaultImpl\n * @dev Interface for the standard vault implementation that manages multiple investment strategies.\n * @dev This interface extends the base tokenized vault functionality with strategy management capabilities.\n * @dev Strategies are external contracts that implement the IStrategyTemplate interface and handle\n * fund allocation to different yield-generating protocols or investment opportunities.\n */\ninterface IConcreteStandardVaultImpl is IUpgradeableVault, IERC4626, IAccessControlEnumerable {\n    /**\n     * @dev Thrown when attempting to withdraw to the zero address.\n     */\n    error InvalidReceiver();\n\n    /**\n     * @dev Thrown when attempting to add a strategy that uses a different asset than the vault.\n     */\n    error InvalidStrategyAsset();\n\n    /**\n     * @dev Thrown when attempting to add a strategy that has already been added to the vault.\n     */\n    error StrategyAlreadyAdded();\n\n    /**\n     * @dev Thrown when attempting to operate on a strategy that doesn't exist in the vault.\n     */\n    error StrategyDoesNotExist();\n\n    /**\n     * @dev Thrown when attempting to interact with a strategy that is halted.\n     */\n    error StrategyIsHalted();\n\n    /**\n     * @dev Thrown when attempting to halt a strategy that is already halted.\n     */\n    error StrategyAlreadyHalted();\n\n    /**\n     * @dev Thrown when attempting to toggle the status of an inactive strategy.\n     */\n    error CannotToggleInactiveStrategy();\n\n    /**\n     * @dev Thrown when attempting to set a management fee without setting a recipient first.\n     */\n    error FeeRecipientNotSet();\n\n    /**\n     * @dev Thrown when attempting to set a management fee that exceeds the maximum allowed.\n     */\n    error ManagementFeeExceedsMaximum();\n\n    /**\n     * @dev Thrown when attempting to set a performance fee that exceeds the maximum allowed.\n     */\n    error PerformanceFeeExceedsMaximum();\n\n    /**\n     * @dev Thrown when attempting to set an invalid fee recipient address (address(0)).\n     */\n    error InvalidFeeRecipient();\n\n    /**\n     * @dev Thrown when the allocate module is invalid.\n     */\n    error InvalidAllocateModule();\n\n    /**\n     * @dev Thrown when the asset is invalid.\n     */\n    error InvalidAsset();\n\n    /**\n     * @dev Thrown when the initial vault manager is invalid.\n     */\n    error InvalidInitialVaultManager();\n\n    /**\n     * @dev Thrown when the name is invalid.\n     */\n    error InvalidName();\n\n    /**\n     * @dev Thrown when the symbol is invalid.\n     */\n    error InvalidSymbol();\n\n    /**\n     * @dev Thrown when the deposit limits are invalid.\n     */\n    error InvalidDepositLimits();\n\n    /**\n     * @dev Thrown when the withdraw limits are invalid.\n     */\n    error InvalidWithdrawLimits();\n\n    /**\n     * @dev Thrown when the asset amount is out of bounds.\n     */\n    error AssetAmountOutOfBounds(address sender, uint256 assets, uint256 minDepositAmount, uint256 maxDepositAmount);\n\n    /**\n     * @dev Thrown when attempting to remove a strategy that has allocation or is in the deallocation order.\n     */\n    error StrategyHasAllocation();\n\n    /**\n     * @dev Thrown when the vault has insufficient balance to process the epoch.\n     */\n    error InsufficientBalance();\n\n    /**\n     * @dev Thrown when calculated shares are zero.\n     */\n    error InsufficientShares();\n\n    /**\n     * @dev Thrown when calculated assets are zero.\n     */\n    error InsufficientAssets();\n\n    /**\n     * @dev Emitted when a new strategy is successfully added to the vault.\n     * @param strategy The address of the strategy contract that was added.\n     */\n    event StrategyAdded(address strategy);\n\n    /**\n     * @dev Emitted when a strategy is successfully removed from the vault.\n     * @param strategy The address of the strategy contract that was removed.\n     */\n    event StrategyRemoved(address strategy);\n\n    /**\n     * @dev Emitted when a strategy is set to Halted status.\n     * @param strategy The address of the strategy contract that was halted.\n     */\n    event StrategyHalted(address strategy);\n\n    /**\n     * @dev Emitted when a strategy's status is toggled between Active and Halted.\n     * @param strategy The address of the strategy contract whose status was toggled.\n     */\n    event StrategyStatusToggled(address indexed strategy);\n\n    /**\n     * @dev Emitted when the yield accrual operation is completed across all strategies.\n     *\n     * @param totalPositiveYield The total amount of positive yield generated across all strategies.\n     * @param totalNegativeYield The total amount of losses incurred across all strategies.\n     */\n    event YieldAccrued(uint256 totalPositiveYield, uint256 totalNegativeYield);\n\n    /**\n     * @dev Emitted when management fee is accrued.\n     * @param recipient The address that received the management fee shares.\n     * @param shares The number of shares minted as management fee.\n     * @param feeAmount The asset value of the management fee.\n     */\n    event ManagementFeeAccrued(address indexed recipient, uint256 shares, uint256 feeAmount);\n\n    /**\n     * @dev Emitted when performance fee is accrued.\n     * @param recipient The address that received the performance fee shares.\n     * @param shares The number of shares minted as performance fee.\n     * @param feeAmount The asset value of the performance fee.\n     */\n    event PerformanceFeeAccrued(address indexed recipient, uint256 shares, uint256 feeAmount);\n\n    /**\n     * @dev Emitted when management fee is updated.\n     * @param managementFee The new management fee rate in basis points.\n     */\n    event ManagementFeeUpdated(uint16 managementFee);\n\n    /**\n     * @dev Emitted when management fee recipient is updated.\n     * @param managementFeeRecipient The new management fee recipient address.\n     */\n    event ManagementFeeRecipientUpdated(address managementFeeRecipient);\n\n    /**\n     * @dev Emitted when performance fee is updated.\n     * @param performanceFee The new performance fee rate in basis points.\n     */\n    event PerformanceFeeUpdated(uint16 performanceFee);\n\n    /**\n     * @dev Emitted when performance fee recipient is updated.\n     * @param performanceFeeRecipient The new performance fee recipient address.\n     */\n    event PerformanceFeeRecipientUpdated(address performanceFeeRecipient);\n\n    /**\n     * @dev Emitted when deposit limits are updated.\n     * @param maxDepositAmount The new maximum deposit amount.\n     * @param minDepositAmount The new minimum deposit amount.\n     */\n    event DepositLimitsUpdated(uint256 maxDepositAmount, uint256 minDepositAmount);\n\n    /**\n     * @dev Emitted when withdraw limits are updated.\n     * @param maxWithdrawAmount The new maximum withdraw amount.\n     * @param minWithdrawAmount The new minimum withdraw amount.\n     */\n    event WithdrawLimitsUpdated(uint256 maxWithdrawAmount, uint256 minWithdrawAmount);\n\n    /**\n     * @dev Emitted when the deallocation order is updated.\n     */\n    event DeallocationOrderUpdated();\n\n    /**\n     * @dev Emitted when an individual strategy's yield is accrued.\n     *\n     * @param strategy The address of the strategy contract whose yield was accrued.\n     * @param currentTotalAllocatedValue The current total allocated value reported by the strategy.\n     * @param yield The amount of positive yield generated by this strategy since last accrual.\n     * @param loss The amount of loss incurred by this strategy since last accrual.\n     */\n    event StrategyYieldAccrued(\n        address indexed strategy, uint256 currentTotalAllocatedValue, uint256 yield, uint256 loss\n    );\n\n    /**\n     * @dev Enumeration of possible strategy statuses within the vault.\n     * @dev Inactive: Strategy is inactive and cannot receive new allocations.\n     * @dev Active: Strategy is active and can receive allocations and process withdrawals normally.\n     * @dev Halted: Strategy is halted, typically due to detected issues or failures.\n     * In this state, the strategy can be removed even if it has allocated funds\n     */\n    enum StrategyStatus {\n        Inactive,\n        Active,\n        Halted\n    }\n\n    /**\n     * @dev Structure containing metadata and state information for each strategy.\n     * @dev status: Current operational status of the strategy.\n     * @dev allocated: Total amount of vault assets currently allocated to this strategy, denominated in the vault's underlying asset token.\n     */\n    struct StrategyData {\n        StrategyStatus status;\n        uint120 allocated;\n    }\n\n    /**\n     * @dev Adds a new strategy to the vault.\n     * @dev The strategy must implement the IStrategyTemplate interface and use the same underlying asset as the vault.\n     * @dev Only callable by accounts with the STRATEGY_MANAGER role.\n     *\n     * @param strategy The address of the strategy contract to add.\n     *\n     * Requirements:\n     * - The strategy's asset() must match the vault's asset()\n     * - The strategy must not already be added to the vault\n     * - Caller must have STRATEGY_MANAGER role\n     *\n     * Emits:\n     * - StrategyAdded event\n     *\n     * Reverts:\n     * - InvalidStrategyAsset if strategy uses different asset\n     * - StrategyAlreadyAdded if strategy is already in the vault\n     */\n    function addStrategy(address strategy) external;\n\n    /**\n     * @dev Removes a strategy from the vault.\n     * @dev The strategy can only be removed if it has no allocated funds, unless it's in Halted status.\n     * @dev Only callable by accounts with the STRATEGY_MANAGER role.\n     *\n     * @param strategy The address of the strategy contract to remove.\n     *\n     * Requirements:\n     * - Strategy must exist in the vault\n     * - Strategy must have zero allocated funds OR be in Halted status\n     * - Caller must have STRATEGY_MANAGER role\n     *\n     * Emits:\n     * - StrategyRemoved event\n     *\n     * Reverts:\n     * - StrategyDoesNotExist if strategy is not in the vault\n     * - Custom revert if strategy has allocated funds and is not in Halted status\n     */\n    function removeStrategy(address strategy) external;\n\n    /**\n     * @dev Toggles a strategy's status between Active and Halted.\n     * @dev This is a safety mechanism to isolate problematic strategies or reactivate previously halted ones.\n     * @dev Active strategies can receive allocations and participate in yield accrual and withdrawal operations.\n     * @dev Halted strategies are skipped during yield accrual and withdrawal operations.\n     * @dev Only callable by accounts with the STRATEGY_MANAGER role.\n     *\n     * @param strategy The address of the strategy contract to toggle.\n     *\n     * Requirements:\n     * - Strategy must exist in the vault\n     * - Strategy must be either Active or Halted (cannot toggle Inactive strategies)\n     * - Caller must have STRATEGY_MANAGER role\n     *\n     * Emits:\n     * - StrategyStatusToggled event\n     *\n     * Reverts:\n     * - StrategyDoesNotExist if strategy is not in the vault\n     */\n    function toggleStrategyStatus(address strategy) external;\n\n    /**\n     * @notice Executes fund allocation and deallocation operations across multiple strategies.\n     * @dev This function performs a yield accrual operation first to update vault accounting,\n     *      then executes the allocation operations specified in the data parameter.\n     * @dev All operations are performed via delegatecall to the respective modules to maintain\n     *      proper storage context and access control.\n     * @param data ABI-encoded array of AllocateParams structures containing the allocation\n     *             operations to execute. Each param specifies whether to allocate or deallocate\n     *             funds, which strategy to use, and any additional data required by the strategy.\n     * @dev Only callable by accounts with the ALLOCATOR role.\n     * @dev The function automatically triggers yield accrual before allocation to ensure\n     *         accurate vault accounting prior to fund movements.\n     */\n    function allocate(bytes calldata data) external;\n\n    /**\n     * @notice Accrues yield and accounts for losses across all active strategies in the vault.\n     * @dev This function updates the vault's internal accounting by querying the current\n     *      value of all strategy allocations and calculating net yield or losses.\n     * @dev This function can be called by anyone to update the vault's accounting.\n     * @dev The yield accrual operation does not trigger actual fund movements, it only\n     *         updates the vault's internal state to reflect current strategy values.\n     */\n    function accrueYield() external;\n\n    /**\n     * @notice Updates the management fee for the vault.\n     * @param managementFee The new management fee in basis points.\n     * @dev Only callable by accounts with VAULT_MANAGER role.\n     * @dev Fee must be <= MAX_MANAGEMENT_FEE.\n     * @dev If fee > 0, recipient must be set.\n     */\n    function updateManagementFee(uint16 managementFee) external;\n\n    /**\n     * @notice Updates the management fee recipient for the vault.\n     * @param recipient The new management fee recipient address.\n     * @dev Only callable by accounts with VAULT_MANAGER role.\n     * @dev Recipient cannot be address(0).\n     */\n    function updateManagementFeeRecipient(address recipient) external;\n\n    /**\n     * @notice Updates the performance fee for the vault.\n     * @param performanceFee The new performance fee in basis points.\n     * @dev Only callable by accounts with VAULT_MANAGER role.\n     * @dev Fee must be <= MAX_PERFORMANCE_FEE.\n     * @dev If fee > 0, recipient must be set.\n     */\n    function updatePerformanceFee(uint16 performanceFee) external;\n\n    /**\n     * @notice Updates the performance fee recipient for the vault.\n     * @param recipient The new performance fee recipient address.\n     * @dev Only callable by accounts with VAULT_MANAGER.\n     * @dev Recipient cannot be address(0).\n     */\n    function updatePerformanceFeeRecipient(address recipient) external;\n\n    /**\n     * @notice Returns the current fee configuration for the vault.\n     * @return currentManagementFee The current management fee in basis points.\n     * @return currentManagementFeeRecipient The current management fee recipient address.\n     * @return currentLastManagementFeeAccrual The timestamp of the last management fee accrual.\n     * @return currentPerformanceFee The current performance fee in basis points.\n     * @return currentPerformanceFeeRecipient The current performance fee recipient address.\n     */\n    function getFeeConfig()\n        external\n        view\n        returns (\n            uint16 currentManagementFee,\n            address currentManagementFeeRecipient,\n            uint32 currentLastManagementFeeAccrual,\n            uint16 currentPerformanceFee,\n            address currentPerformanceFeeRecipient\n        );\n\n    /**\n     * @notice Sets the hooks for the vault.\n     * @dev This function sets the hooks for the vault.\n     * @dev Only callable by accounts with the HOOK_MANAGER role.\n     * @param hooks The hooks to set.\n     */\n    function setHooks(Hooks memory hooks) external;\n\n    /**\n     * @notice Previews the total assets that would be available after accruing yield from all strategies.\n     * @dev This function simulates the yield accrual operation without actually executing it,\n     *      providing a view of what the vault's total assets would be after accounting\n     *      for yield and losses across all active strategies.\n     * @dev The calculation includes the current lastTotalAssets plus any positive\n     *      yield minus any losses that would be realized during yield accrual.\n     * @dev This is a view function that does not modify state or trigger any actual\n     *      fund movements or strategy interactions.\n     *\n     * @return The total amount of assets that would be available in the vault after yield accrual,\n     *         denominated in the vault's underlying asset token.\n     * @return The total amount of shares that would be available in the vault after yield accrual,\n     *         calculated as current totalSupply + management fee shares.\n     */\n    function previewAccrueYield() external view returns (uint256, uint256);\n\n    /**\n     * @dev Retrieves the current data and status information for a specific strategy.\n     * @dev This function provides read-only access to strategy metadata including allocation amounts and status.\n     *\n     * @param strategy The address of the strategy contract to query.\n     * @return The StrategyData struct containing the strategy's current status and allocated amount.\n     *\n     * Note:\n     * - Returns default values (Inactive status, 0 allocated) for non-existent strategies\n     * - Does not revert for invalid strategy addresses\n     */\n    function getStrategyData(address strategy) external view returns (StrategyData memory);\n\n    /**\n     * @dev Returns an array of all strategy addresses currently managed by the vault.\n     * @dev This function provides a way to enumerate all active strategies for external integrations and monitoring.\n     *\n     * @return An array containing the addresses of all strategies added to the vault.\n     *\n     * Note:\n     * - The returned array includes strategies in all statuses (Active, Inactive, Emergency)\n     * - The order of strategies in the array is not guaranteed\n     * - Returns an empty array if no strategies have been added\n     */\n    function getStrategies() external view returns (address[] memory);\n\n    /**\n     * @dev Returns the address of the allocate module.\n     *\n     * @return The address of the allocate module.\n     */\n    function allocateModule() external view returns (address);\n\n    /**\n     * @dev Returns the management fee configuration.\n     * @return managementFeeRecipient The address that receives management fees.\n     * @return managementFeeRate The management fee rate in basis points (where 10,000 = 100%).\n     * @return lastAccrualTime The timestamp of the last management fee accrual.\n     */\n    function managementFee()\n        external\n        view\n        returns (address managementFeeRecipient, uint16 managementFeeRate, uint32 lastAccrualTime);\n\n    /**\n     * @dev Sets the deposit limits.\n     * @param maxDepositAmount The maximum deposit amount.\n     * @param minDepositAmount The minimum deposit amount.\n     * @dev Only callable by accounts with VAULT_MANAGER role.\n     */\n    function setDepositLimits(uint256 maxDepositAmount, uint256 minDepositAmount) external;\n\n    /**\n     * @dev Sets the withdraw limits.\n     * @param maxWithdrawAmount The maximum withdraw amount.\n     * @param minWithdrawAmount The minimum withdraw amount.\n     * @dev Only callable by accounts with VAULT_MANAGER role.\n     */\n    function setWithdrawLimits(uint256 maxWithdrawAmount, uint256 minWithdrawAmount) external;\n\n    /**\n     * @dev Returns the deposit limits.\n     * @return maxDepositAmount The maximum deposit amount.\n     * @return minDepositAmount The minimum deposit amount.\n     */\n    function getDepositLimits() external view returns (uint256 maxDepositAmount, uint256 minDepositAmount);\n\n    /**\n     * @dev Returns the withdraw limits.\n     * @return maxWithdrawAmount The maximum withdraw amount.\n     * @return minWithdrawAmount The minimum withdraw amount.\n     */\n    function getWithdrawLimits() external view returns (uint256 maxWithdrawAmount, uint256 minWithdrawAmount);\n\n    /**\n     * @dev Returns the performance fee configuration.\n     * @return performanceFeeRecipient The address that receives performance fees.\n     * @return performanceFeeRate The performance fee rate in basis points (where 10,000 = 100%).\n     */\n    function performanceFee() external view returns (address performanceFeeRecipient, uint16 performanceFeeRate);\n\n    /**\n     * @dev Returns the total amount of assets allocated to all strategies.\n     *\n     * @return The total amount of assets allocated to all strategies.\n     */\n    function getTotalAllocated() external view returns (uint256);\n\n    /**\n     * @dev Returns the cached value of total assets after the last call.\n     *\n     * @return The cached value of total assets after the last call.\n     */\n    function cachedTotalAssets() external view returns (uint256);\n\n    /**\n     * @dev Returns the deallocation order from strategies.\n     *\n     * @return order An array of strategy addresses in the order they should be deallocated.\n     */\n    function getDeallocationOrder() external view returns (address[] memory order);\n\n    /**\n     * @dev Sets the deallocation order for strategies.\n     * @dev Only callable by accounts with the ALLOCATOR role.\n     * @param order An array of strategy addresses in the order they should be deallocated.\n     */\n    function setDeallocationOrder(address[] calldata order) external;\n}\n"},"src/implementation/ConcreteStandardVaultImpl.sol":{"content":"// SPDX-License-Identifier: AGPL-3.0\npragma solidity ^0.8.24;\n\n/**\n * @title ConcreteStandardVaultImpl\n * @notice ERC-4626 upgradeable standard vault implementation for the Concrete Earn V2 protocol.\n *         Holds an underlying ERC20 asset and exposes deposit/mint/withdraw/redeem flows.\n *         Integrates with strategy modules to route assets to yield sources.\n *\n * @author Blueprint Finance\n * @custom:protocol Concrete Earn V2\n * @custom:oz-upgrades Use OZ Upgradeable patterns and eip7201 storage layout\n * @custom:source on request\n * @custom:audits on request\n * @custom:license AGPL-3.0\n */\n\n// ─────────────────────────────────────────────────────────────────────────────\n// External dependencies\n// ─────────────────────────────────────────────────────────────────────────────\nimport {\n    AccessControlEnumerableUpgradeable\n} from \"@openzeppelin-upgradeable/access/extensions/AccessControlEnumerableUpgradeable.sol\";\nimport {\n    ERC4626Upgradeable,\n    IERC20,\n    IERC4626,\n    Math,\n    SafeERC20\n} from \"@openzeppelin-upgradeable/token/ERC20/extensions/ERC4626Upgradeable.sol\";\nimport {Address} from \"@openzeppelin-contracts/utils/Address.sol\";\nimport {EnumerableSet} from \"@openzeppelin-contracts/utils/structs/EnumerableSet.sol\";\nimport {Ownable} from \"@openzeppelin-contracts/access/Ownable.sol\";\nimport {SafeCast} from \"@openzeppelin-contracts/utils/math/SafeCast.sol\";\n\n// ─────────────────────────────────────────────────────────────────────────────\n// Protocol-facing interfaces\n// ─────────────────────────────────────────────────────────────────────────────\nimport {IConcreteStandardVaultImpl} from \"../interface/IConcreteStandardVaultImpl.sol\";\nimport {IStrategyTemplate} from \"../interface/IStrategyTemplate.sol\";\n\n// ─────────────────────────────────────────────────────────────────────────────\n// Internal modules/contracts\n// ─────────────────────────────────────────────────────────────────────────────\nimport {IAllocateModule} from \"../module/AllocateModule.sol\";\nimport {UpgradeableVault} from \"../common/UpgradeableVault.sol\";\n\n// ─────────────────────────────────────────────────────────────────────────────\n// Internal libraries\n// ─────────────────────────────────────────────────────────────────────────────\nimport {ConcreteV2ConstantsLib as ConstantsLib} from \"../lib/Constants.sol\";\nimport {ConcreteV2ConversionLib as ConversionLib} from \"../lib/Conversion.sol\";\nimport {Hooks, HooksLibV1 as HooksLib} from \"../lib/Hooks.sol\";\nimport {ConcreteV2RolesLib as RolesLib} from \"../lib/Roles.sol\";\nimport {StateInitLib} from \"../lib/StateInitLib.sol\";\nimport {StateSetterLib} from \"../lib/StateSetterLib.sol\";\nimport {Time} from \"../lib/Time.sol\";\n\n// ─────────────────────────────────────────────────────────────────────────────\n// Storage layout libraries\n// ─────────────────────────────────────────────────────────────────────────────\nimport {\n    ConcreteCachedVaultStateStorageLib as CachedVaultStateLib\n} from \"../lib/storage/ConcreteCachedVaultStateStorageLib.sol\";\nimport {ConcreteStandardVaultImplStorageLib as SVLib} from \"../lib/storage/ConcreteStandardVaultImplStorageLib.sol\";\n\ncontract ConcreteStandardVaultImpl is\n    ERC4626Upgradeable,\n    UpgradeableVault,\n    AccessControlEnumerableUpgradeable,\n    IConcreteStandardVaultImpl\n{\n    using Address for address;\n    using EnumerableSet for EnumerableSet.AddressSet;\n    using SafeCast for uint256;\n    using ConversionLib for uint256;\n\n    using HooksLib for Hooks;\n\n    event HooksSet(Hooks hooks);\n\n    /// @dev Modifier to accrue yield before function execution\n    modifier withYieldAccrual() {\n        _accrueYield();\n        _;\n    }\n    /**\n     * @dev Constructor\n     * @param factory The address of the factory\n     */\n\n    constructor(address factory) UpgradeableVault(factory) {}\n\n    /// @inheritdoc IConcreteStandardVaultImpl\n    function allocate(bytes calldata data) public virtual nonReentrant onlyRole(RolesLib.ALLOCATOR) withYieldAccrual {\n        // delegatecall allocate module\n        bytes memory delegateData = abi.encodeWithSelector(IAllocateModule.allocateFunds.selector, data);\n        allocateModule().functionDelegateCall(delegateData);\n        require(IERC20(asset()).balanceOf(address(this)) >= _lockedAssets(), InsufficientBalance());\n    }\n\n    /// @inheritdoc IConcreteStandardVaultImpl\n    function accrueYield() external virtual nonReentrant {\n        _accrueYield();\n    }\n\n    /// @inheritdoc IConcreteStandardVaultImpl\n    function updateManagementFee(uint16 managementFee_)\n        external\n        nonReentrant\n        onlyRole(RolesLib.VAULT_MANAGER)\n        withYieldAccrual\n    {\n        StateSetterLib.updateManagementFee(managementFee_);\n    }\n\n    /// @inheritdoc IConcreteStandardVaultImpl\n    function updateManagementFeeRecipient(address recipient) external nonReentrant withYieldAccrual {\n        require(_msgSender() == Ownable(factory).owner(), InvalidFactoryOwner());\n\n        StateSetterLib.updateManagementFeeRecipient(recipient);\n    }\n\n    /// @inheritdoc IConcreteStandardVaultImpl\n    function updatePerformanceFee(uint16 performanceFee_)\n        external\n        nonReentrant\n        onlyRole(RolesLib.VAULT_MANAGER)\n        withYieldAccrual\n    {\n        StateSetterLib.updatePerformanceFee(performanceFee_);\n    }\n\n    /// @inheritdoc IConcreteStandardVaultImpl\n    function updatePerformanceFeeRecipient(address recipient) external nonReentrant withYieldAccrual {\n        require(msg.sender == Ownable(factory).owner(), InvalidFactoryOwner());\n\n        StateSetterLib.updatePerformanceFeeRecipient(recipient);\n    }\n\n    /// @inheritdoc IConcreteStandardVaultImpl\n    function setDepositLimits(uint256 minDepositAmount, uint256 maxDepositAmount)\n        external\n        nonReentrant\n        onlyRole(RolesLib.VAULT_MANAGER)\n    {\n        StateSetterLib.setDepositLimits(minDepositAmount, maxDepositAmount);\n    }\n\n    /// @inheritdoc IConcreteStandardVaultImpl\n    function setWithdrawLimits(uint256 minWithdrawAmount, uint256 maxWithdrawAmount)\n        external\n        nonReentrant\n        onlyRole(RolesLib.VAULT_MANAGER)\n    {\n        StateSetterLib.setWithdrawLimits(minWithdrawAmount, maxWithdrawAmount);\n    }\n\n    /// @inheritdoc IConcreteStandardVaultImpl\n    function getFeeConfig()\n        external\n        view\n        override\n        returns (\n            uint16 currentManagementFee,\n            address currentManagementFeeRecipient,\n            uint32 currentLastManagementFeeAccrual,\n            uint16 currentPerformanceFee,\n            address currentPerformanceFeeRecipient\n        )\n    {\n        SVLib.ConcreteStandardVaultImplStorage storage $ = SVLib.fetch();\n\n        return (\n            $.managementFee,\n            $.managementFeeRecipient,\n            $.lastManagementFeeAccrual,\n            $.performanceFee,\n            $.performanceFeeRecipient\n        );\n    }\n\n    /**\n     * @inheritdoc IERC4626\n     */\n    function deposit(uint256 assets, address receiver)\n        public\n        virtual\n        override(IERC4626, ERC4626Upgradeable)\n        nonReentrant\n        withYieldAccrual\n        returns (uint256)\n    {\n        require(receiver != address(0), InvalidReceiver());\n\n        Hooks memory h = SVLib.fetch().hooks;\n        uint256 totalAssetsBeforeDeposit = cachedTotalAssets();\n        // invoke pre-deposit hook if enabled\n        if (h.checkIsValid(HooksLib.PRE_DEPOSIT)) {\n            h.preDeposit(_msgSender(), assets, receiver, totalAssetsBeforeDeposit);\n        }\n\n        // deposit assets\n        uint256 maxAssets = maxDeposit(receiver);\n        if (assets > maxAssets) {\n            revert ERC4626ExceededMaxDeposit(receiver, assets, maxAssets);\n        }\n\n        uint256 shares = assets.calcConvertToShares(totalSupply(), totalAssetsBeforeDeposit, Math.Rounding.Floor, true);\n\n        (uint256 maxDepositAmount, uint256 minDepositAmount) = getDepositLimits();\n        require(\n            assets + totalAssetsBeforeDeposit <= maxDepositAmount && assets >= minDepositAmount,\n            AssetAmountOutOfBounds(msg.sender, assets, minDepositAmount, maxDepositAmount)\n        );\n\n        _deposit(_msgSender(), receiver, assets, shares);\n\n        // invoke post-deposit hook if enabled\n        if (h.checkIsValid(HooksLib.POST_DEPOSIT)) {\n            h.postDeposit(_msgSender(), assets, shares, receiver, cachedTotalAssets());\n        }\n\n        return shares;\n    }\n\n    /**\n     * @inheritdoc IERC4626\n     */\n    function mint(uint256 shares, address receiver)\n        public\n        virtual\n        override(IERC4626, ERC4626Upgradeable)\n        nonReentrant\n        withYieldAccrual\n        returns (uint256)\n    {\n        require(receiver != address(0), InvalidReceiver());\n\n        Hooks memory h = SVLib.fetch().hooks;\n        uint256 totalAssetsBeforeDeposit = cachedTotalAssets();\n        // invoke pre-mint hook if enabled\n        if (h.checkIsValid(HooksLib.PRE_MINT)) h.preMint(_msgSender(), shares, receiver, totalAssetsBeforeDeposit);\n\n        uint256 maxShares = maxMint(receiver);\n        if (shares > maxShares) {\n            revert ERC4626ExceededMaxMint(receiver, shares, maxShares);\n        }\n\n        uint256 assets = shares.calcConvertToAssets(totalSupply(), totalAssetsBeforeDeposit, Math.Rounding.Ceil, true);\n\n        (uint256 maxDepositAmount, uint256 minDepositAmount) = getDepositLimits();\n        require(\n            assets + totalAssetsBeforeDeposit <= maxDepositAmount && assets >= minDepositAmount,\n            AssetAmountOutOfBounds(_msgSender(), assets, minDepositAmount, maxDepositAmount)\n        );\n\n        _deposit(_msgSender(), receiver, assets, shares);\n\n        // invoke post-mint hook if enabled\n        if (h.checkIsValid(HooksLib.POST_MINT)) {\n            h.postMint(_msgSender(), assets, shares, receiver, cachedTotalAssets());\n        }\n\n        return assets;\n    }\n\n    /**\n     * @inheritdoc IERC4626\n     */\n    function withdraw(uint256 assets, address receiver, address owner)\n        public\n        virtual\n        override(IERC4626, ERC4626Upgradeable)\n        nonReentrant\n        withYieldAccrual\n        returns (uint256)\n    {\n        require(receiver != address(0), InvalidReceiver());\n\n        Hooks memory h = SVLib.fetch().hooks;\n        uint256 totalAssetsBeforeWithdrawal = cachedTotalAssets();\n\n        if (h.checkIsValid(HooksLib.PRE_WITHDRAW)) {\n            h.preWithdraw(_msgSender(), assets, receiver, owner, totalAssetsBeforeWithdrawal);\n        }\n        // Optimistic maxAssets that does not account for the withdrawals from strategies, this is to avoid the need to call _simulateWithdraw().\n        // If maxAssets is greater than the actual withdrawable amount, _executeWithdraw() will revert.\n        uint256 totalSupply_ = totalSupply();\n        uint256 maxAssets =\n            balanceOf(owner).calcConvertToAssets(totalSupply_, totalAssetsBeforeWithdrawal, Math.Rounding.Floor, false);\n\n        uint256 shares = assets.calcConvertToShares(totalSupply_, totalAssetsBeforeWithdrawal, Math.Rounding.Ceil, true);\n        if (assets > maxAssets || _executeWithdraw(_msgSender(), receiver, owner, assets, shares) < assets) {\n            revert ERC4626ExceededMaxWithdraw(owner, assets, maxAssets);\n        }\n\n        (uint256 maxWithdrawAmount, uint256 minWithdrawAmount) = getWithdrawLimits();\n        require(\n            assets <= maxWithdrawAmount && assets >= minWithdrawAmount,\n            AssetAmountOutOfBounds(_msgSender(), assets, minWithdrawAmount, maxWithdrawAmount)\n        );\n\n        // invoke post-withdraw hook if enabled\n        if (h.checkIsValid(HooksLib.POST_WITHDRAW)) {\n            h.postWithdraw(_msgSender(), assets, shares, receiver, cachedTotalAssets());\n        }\n\n        return shares;\n    }\n\n    /**\n     * @inheritdoc IERC4626\n     */\n    function redeem(uint256 shares, address receiver, address owner)\n        public\n        virtual\n        override(IERC4626, ERC4626Upgradeable)\n        nonReentrant\n        withYieldAccrual\n        returns (uint256)\n    {\n        require(receiver != address(0), InvalidReceiver());\n\n        Hooks memory h = SVLib.fetch().hooks;\n        uint256 totalAssetsBeforeWithdrawal = cachedTotalAssets();\n\n        // invoke pre-redeem hook if enabled\n        if (h.checkIsValid(HooksLib.PRE_REDEEM)) {\n            h.preRedeem(_msgSender(), shares, receiver, owner, totalAssetsBeforeWithdrawal);\n        }\n\n        // Optimistic maxShares that does not account for the withdrawals from strategies, this is to avoid the need to call _simulateWithdraw().\n        // If maxShares is greater than the actual redeemable amount, _executeWithdraw() will revert.\n        uint256 maxShares = balanceOf(owner);\n\n        uint256 assets =\n            shares.calcConvertToAssets(totalSupply(), totalAssetsBeforeWithdrawal, Math.Rounding.Floor, true);\n\n        if (shares > maxShares || _executeWithdraw(_msgSender(), receiver, owner, assets, shares) < assets) {\n            revert ERC4626ExceededMaxRedeem(owner, shares, maxShares);\n        }\n\n        (uint256 maxWithdrawAmount, uint256 minWithdrawAmount) = getWithdrawLimits();\n        require(\n            assets <= maxWithdrawAmount && assets >= minWithdrawAmount,\n            AssetAmountOutOfBounds(_msgSender(), assets, minWithdrawAmount, maxWithdrawAmount)\n        );\n\n        // invoke post-redeem hook if enabled\n        if (h.checkIsValid(HooksLib.POST_REDEEM)) {\n            h.postRedeem(_msgSender(), assets, shares, receiver, cachedTotalAssets());\n        }\n\n        return assets;\n    }\n\n    /**\n     * @inheritdoc IConcreteStandardVaultImpl\n     */\n    function setHooks(Hooks memory hooks) external virtual nonReentrant onlyRole(RolesLib.HOOK_MANAGER) {\n        SVLib.ConcreteStandardVaultImplStorage storage $ = SVLib.fetch();\n\n        $.hooks = hooks;\n\n        emit HooksSet(hooks);\n    }\n\n    /**\n     * @notice overwrites the deallocation order from strategies;\n     */\n    function setDeallocationOrder(address[] calldata order) external virtual nonReentrant onlyRole(RolesLib.ALLOCATOR) {\n        StateSetterLib.setDeallocationOrder(order);\n    }\n\n    /**\n     * @inheritdoc IConcreteStandardVaultImpl\n     */\n    function addStrategy(address strategy) public virtual nonReentrant onlyRole(RolesLib.STRATEGY_MANAGER) {\n        require(IStrategyTemplate(strategy).asset() == asset(), InvalidStrategyAsset());\n        StateSetterLib.addStrategy(strategy);\n    }\n\n    /**\n     * @inheritdoc IConcreteStandardVaultImpl\n     */\n    function removeStrategy(address strategy) public virtual nonReentrant onlyRole(RolesLib.STRATEGY_MANAGER) {\n        StateSetterLib.removeStrategy(strategy);\n    }\n\n    /**\n     * @inheritdoc IConcreteStandardVaultImpl\n     */\n    function toggleStrategyStatus(address strategy) public virtual nonReentrant onlyRole(RolesLib.STRATEGY_MANAGER) {\n        StateSetterLib.toggleStrategyStatus(strategy);\n    }\n\n    /**\n     * @notice Returns the deallocation order from strategies.\n     */\n    function getDeallocationOrder() external view returns (address[] memory order) {\n        return SVLib.fetch().deallocationOrder;\n    }\n\n    /**\n     * @dev See {IERC4626-previewDeposit}.\n     */\n    function previewDeposit(uint256 assets)\n        public\n        view\n        virtual\n        override(IERC4626, ERC4626Upgradeable)\n        returns (uint256)\n    {\n        (uint256 totalAssetsPreview, uint256 totalSupply) = _previewAccrueYieldAndFees();\n        return assets.calcConvertToShares(totalSupply, totalAssetsPreview, Math.Rounding.Floor, false);\n    }\n\n    /**\n     * @inheritdoc IERC4626\n     */\n    function previewMint(uint256 shares) public view virtual override(IERC4626, ERC4626Upgradeable) returns (uint256) {\n        (uint256 totalAssetsPreview, uint256 totalSupply) = _previewAccrueYieldAndFees();\n\n        return shares.calcConvertToAssets(totalSupply, totalAssetsPreview, Math.Rounding.Ceil, false);\n    }\n\n    /**\n     * @inheritdoc IERC4626\n     */\n    function previewWithdraw(uint256 assets)\n        public\n        view\n        virtual\n        override(IERC4626, ERC4626Upgradeable)\n        returns (uint256)\n    {\n        (uint256 totalAssetsPreview, uint256 totalSupply) = _previewAccrueYieldAndFees();\n\n        return assets.calcConvertToShares(totalSupply, totalAssetsPreview, Math.Rounding.Ceil, false);\n    }\n\n    /**\n     * @inheritdoc IERC4626\n     */\n    function previewRedeem(uint256 shares)\n        public\n        view\n        virtual\n        override(IERC4626, ERC4626Upgradeable)\n        returns (uint256)\n    {\n        (uint256 totalAssetsPreview, uint256 totalSupply) = _previewAccrueYieldAndFees();\n\n        return shares.calcConvertToAssets(totalSupply, totalAssetsPreview, Math.Rounding.Floor, false);\n    }\n\n    /**\n     * @inheritdoc IConcreteStandardVaultImpl\n     */\n    function previewAccrueYield() public view virtual returns (uint256, uint256) {\n        return _previewAccrueYieldAndFees();\n    }\n\n    /**\n     * @inheritdoc IERC4626\n     */\n    function totalAssets()\n        public\n        view\n        virtual\n        override(IERC4626, ERC4626Upgradeable)\n        returns (uint256 totalAssetsWithYield)\n    {\n        (totalAssetsWithYield,) = _previewAccrueYieldAndFees();\n    }\n\n    /**\n     * @inheritdoc IERC4626\n     */\n    function maxRedeem(address owner) public view virtual override(IERC4626, ERC4626Upgradeable) returns (uint256) {\n        (uint256 maxAssets, uint256 expectedTotalAssets, uint256 expectedTotalSupply) = _maxWithdraw(owner);\n\n        return maxAssets.calcConvertToShares(expectedTotalSupply, expectedTotalAssets, Math.Rounding.Floor, false);\n    }\n\n    /**\n     * @inheritdoc IERC4626\n     */\n    function maxWithdraw(address owner)\n        public\n        view\n        virtual\n        override(IERC4626, ERC4626Upgradeable)\n        returns (uint256 maxAssets)\n    {\n        (maxAssets,,) = _maxWithdraw(owner);\n    }\n\n    /**\n     * @inheritdoc IConcreteStandardVaultImpl\n     */\n    function getStrategyData(address strategy) public view returns (StrategyData memory) {\n        return SVLib.fetch().strategyData[strategy];\n    }\n\n    /**\n     * @inheritdoc IConcreteStandardVaultImpl\n     */\n    function getStrategies() public view returns (address[] memory) {\n        return SVLib.fetch().strategies.values();\n    }\n\n    /**\n     * @inheritdoc IConcreteStandardVaultImpl\n     */\n    function allocateModule() public view returns (address) {\n        return SVLib.fetch().allocateModule;\n    }\n\n    /// @inheritdoc IConcreteStandardVaultImpl\n    function getDepositLimits() public view returns (uint256, uint256) {\n        SVLib.ConcreteStandardVaultImplStorage storage $ = SVLib.fetch();\n        return ($.maxDepositAmount, $.minDepositAmount);\n    }\n\n    /// @inheritdoc IConcreteStandardVaultImpl\n    function getWithdrawLimits() public view returns (uint256, uint256) {\n        SVLib.ConcreteStandardVaultImplStorage storage $ = SVLib.fetch();\n        return ($.maxWithdrawAmount, $.minWithdrawAmount);\n    }\n\n    /// @inheritdoc IConcreteStandardVaultImpl\n    function managementFee() public view returns (address, uint16, uint32) {\n        SVLib.ConcreteStandardVaultImplStorage storage $ = SVLib.fetch();\n        return ($.managementFeeRecipient, $.managementFee, $.lastManagementFeeAccrual);\n    }\n\n    /// @inheritdoc IConcreteStandardVaultImpl\n    function performanceFee() public view returns (address, uint16) {\n        SVLib.ConcreteStandardVaultImplStorage storage $ = SVLib.fetch();\n        return ($.performanceFeeRecipient, $.performanceFee);\n    }\n\n    /// @inheritdoc IConcreteStandardVaultImpl\n    function getTotalAllocated() public view returns (uint256 totalAllocated) {\n        SVLib.ConcreteStandardVaultImplStorage storage $ = SVLib.fetch();\n\n        address[] memory strategies = $.strategies.values();\n\n        for (uint256 i = 0; i < strategies.length; i++) {\n            totalAllocated += $.strategyData[strategies[i]].allocated;\n        }\n    }\n\n    function cachedTotalAssets() public view returns (uint256) {\n        return CachedVaultStateLib.fetch().cachedTotalAssets;\n    }\n\n    /**\n     * @dev Initialization function that will be called when a proxy vault is deployed through `ConcreteFactory`.\n     */\n    function _initialize(\n        uint64,\n        /*initialVersion*/\n        address,\n        /*owner*/\n        bytes memory data\n    )\n        internal\n        virtual\n        override\n    {\n        (\n            address allocateModuleAddr,\n            address asset,\n            address initialVaultManager,\n            string memory name,\n            string memory symbol\n        ) = abi.decode(data, (address, address, address, string, string));\n\n        require(allocateModuleAddr != address(0), InvalidAllocateModule());\n        require(asset != address(0), InvalidAsset());\n        require(initialVaultManager != address(0), InvalidInitialVaultManager());\n\n        require(bytes(name).length > 0, InvalidName());\n        require(bytes(symbol).length > 0, InvalidSymbol());\n\n        __ERC20_init_unchained(name, symbol);\n        __ERC4626_init_unchained(IERC20(asset));\n        __AccessControlEnumerable_init_unchained();\n\n        StateInitLib.stateInitStandardVaultImpl(allocateModuleAddr, initialVaultManager, _msgSender());\n    }\n\n    /**\n     * @dev Upgrade function that will be called when a proxy vault upgrades to this implementation\n     */\n    function _upgrade(\n        uint64,\n        /* oldVersion */\n        uint64,\n        /* newVersion */\n        bytes calldata /* data */\n    )\n        internal\n        virtual\n        override\n    {}\n\n    /**\n     * @dev Internal function that executes the yield accrual operation across all active strategies.\n     * @dev This function iterates through all strategies managed by the vault, calculates\n     *      yield generated and losses incurred since the last yield accrual, and updates the vault's\n     *      internal accounting accordingly.\n     * @dev This function does not trigger actual fund movements, it only updates accounting\n     *      to reflect the current state of strategy allocations.\n     */\n    function _accrueYield() internal virtual returns (uint256) {\n        SVLib.ConcreteStandardVaultImplStorage storage $ = SVLib.fetch();\n\n        uint256 totalPositiveYield;\n        uint256 totalNegativeYield;\n        {\n            address[] memory strategies = $.strategies.values();\n            uint256 strategiesCounter = strategies.length;\n\n            for (uint256 i; i < strategiesCounter; ++i) {\n                (uint256 positiveYield, uint256 loss, uint256 strategyTotalAllocatedValue) =\n                    _previewStrategyYield(strategies[i]);\n\n                // update the strategy allocated amount only if there is yield or loss, otherwise it's the same amount as when we called `allocate()`.\n                // we do update the lastTotalAssets after netting the yield and loss\n                if (positiveYield != 0 || loss != 0) {\n                    $.strategyData[strategies[i]].allocated = strategyTotalAllocatedValue.toUint120();\n\n                    totalPositiveYield += positiveYield;\n                    totalNegativeYield += loss;\n\n                    emit StrategyYieldAccrued(strategies[i], strategyTotalAllocatedValue, positiveYield, loss);\n                }\n            }\n        }\n\n        CachedVaultStateLib.ConcreteCachedVaultStateStorage storage $cached = CachedVaultStateLib.fetch();\n\n        uint256 totalAssetsCached = $cached.cachedTotalAssets + totalPositiveYield - totalNegativeYield;\n        // update the lastTotalAssets\n        $cached.cachedTotalAssets = totalAssetsCached;\n\n        // Accrue management fees after accruing yield to calculate fee asset amount on total vault AUM\n        accrueManagementFee(totalAssetsCached);\n\n        // Accrue performance fees on net yield amount\n        accruePerformanceFee(totalAssetsCached, totalPositiveYield, totalNegativeYield);\n\n        emit YieldAccrued(totalPositiveYield, totalNegativeYield);\n\n        return totalAssetsCached;\n    }\n\n    /**\n     * @dev Internal function that handles withdrawal operations, including strategy deallocation when needed.\n     * @dev This function implements the core withdrawal logic for the vault, automatically managing\n     *      fund retrieval from both idle vault balance and allocated strategies to fulfill withdrawal requests.\n     * @dev Withdrawal Process:\n     *      1. First attempts to use idle funds (assets sitting in the vault contract)\n     *      2. If idle funds are insufficient, iterates through active strategies to deallocate funds\n     *      3. For each strategy, respects the strategy's maxWithdraw() limit\n     *      4. Updates strategy allocation accounting after successful deallocations\n     *      5. Delegates to parent contract for final ERC4626 withdrawal execution\n     * @dev Requirements:\n     *      - Combined idle funds and strategy liquidity must be sufficient for withdrawal amount\n     *      - All deallocated strategies must be in Active status\n     *      - Strategy onWithdraw() calls must succeed and return expected amounts\n     * @param caller The address that initiated the withdrawal (for access control)\n     * @param receiver The address that will receive the withdrawn assets\n     * @param owner The address whose shares are being burned for the withdrawal\n     * @param assets The amount of assets to withdraw from the vault\n     * @param shares The amount of shares to burn in exchange for the assets\n     */\n    function _executeWithdraw(address caller, address receiver, address owner, uint256 assets, uint256 shares)\n        internal\n        virtual\n        returns (uint256)\n    {\n        SVLib.ConcreteStandardVaultImplStorage storage $ = SVLib.fetch();\n\n        uint256 floatingFunds = IERC20(asset()).balanceOf(address(this));\n        uint256 lockedAssets = _lockedAssets();\n        uint256 totalWithdrawableAmount = floatingFunds >= lockedAssets ? floatingFunds - lockedAssets : 0;\n        if (totalWithdrawableAmount < assets) {\n            address[] memory deallocationOrder = $.deallocationOrder;\n            uint256 strategiesCounter = deallocationOrder.length;\n\n            uint256 desiredAssets;\n            for (uint256 i; i < strategiesCounter; ++i) {\n                if (\n                    ($.strategyData[deallocationOrder[i]].status != IConcreteStandardVaultImpl.StrategyStatus.Active)\n                        || !$.strategies.contains(deallocationOrder[i])\n                ) continue;\n\n                unchecked {\n                    desiredAssets = assets - totalWithdrawableAmount;\n                }\n\n                uint256 withdrawableAmountFromStrategy = IStrategyTemplate(deallocationOrder[i]).maxWithdraw();\n                uint256 withdrawAmount =\n                    (withdrawableAmountFromStrategy >= desiredAssets) ? desiredAssets : withdrawableAmountFromStrategy;\n\n                if (withdrawAmount > 0) {\n                    // Actually withdraw from the strategy\n                    uint256 actualWithdrawn = IStrategyTemplate(deallocationOrder[i]).onWithdraw(withdrawAmount);\n\n                    // Update strategy allocated amount\n                    $.strategyData[deallocationOrder[i]].allocated -= actualWithdrawn.toUint120();\n\n                    totalWithdrawableAmount += actualWithdrawn;\n                }\n\n                if (totalWithdrawableAmount >= assets) break;\n            }\n        }\n\n        _withdraw(caller, receiver, owner, assets, shares);\n\n        return totalWithdrawableAmount;\n    }\n\n    function _withdraw(address caller, address receiver, address owner, uint256 assets, uint256 shares)\n        internal\n        virtual\n        override\n    {\n        if (caller != owner) {\n            _spendAllowance(owner, caller, shares);\n        }\n\n        // If asset() is ERC-777, `transfer` can trigger a reentrancy AFTER the transfer happens through the\n        // `tokensReceived` hook. On the other hand, the `tokensToSend` hook, that is triggered before the transfer,\n        // calls the vault, which is assumed not malicious.\n        //\n        // Conclusion: we need to do the transfer after the burn so that any reentrancy would happen after the\n        // shares are burned and after the assets are transferred, which is a valid state.\n\n        CachedVaultStateLib.fetch().cachedTotalAssets -= assets;\n        _burn(owner, shares);\n        SafeERC20.safeTransfer(IERC20(asset()), receiver, assets);\n\n        emit Withdraw(caller, receiver, owner, assets, shares);\n    }\n\n    /**\n     * @dev Deposit/mint common workflow.\n     */\n    function _deposit(address caller, address receiver, uint256 assets, uint256 shares) internal virtual override {\n        // If asset() is ERC-777, `transferFrom` can trigger a reentrancy BEFORE the transfer happens through the\n        // `tokensToSend` hook. On the other hand, the `tokenReceived` hook, that is triggered after the transfer,\n        // calls the vault, which is assumed not malicious.\n        //\n        // Conclusion: we need to do the transfer before we mint so that any reentrancy would happen before the\n        // assets are transferred and before the shares are minted, which is a valid state.\n        // slither-disable-next-line reentrancy-no-eth\n        SafeERC20.safeTransferFrom(IERC20(asset()), caller, address(this), assets);\n        CachedVaultStateLib.fetch().cachedTotalAssets += assets;\n        _mint(receiver, shares);\n\n        emit Deposit(caller, receiver, assets, shares);\n    }\n\n    /**\n     * @dev Accrue management fees by minting shares to the fee recipient.\n     * @param totalAssetsAmount The total assets in the vault to calculate fee on\n     */\n    function accrueManagementFee(uint256 totalAssetsAmount) internal {\n        (uint256 feeShares, uint256 feeAmount) = previewManagementFee(totalAssetsAmount);\n\n        SVLib.ConcreteStandardVaultImplStorage storage $ = SVLib.fetch();\n\n        // Update last accrual timestamp\n        $.lastManagementFeeAccrual = Time.timestamp();\n\n        // Mint shares to management fee recipient\n        address managementFeeRecipient = $.managementFeeRecipient;\n        if (feeShares != 0 && managementFeeRecipient != address(0)) {\n            // Mint shares to management fee recipient\n            _mint(managementFeeRecipient, feeShares);\n\n            emit ManagementFeeAccrued(managementFeeRecipient, feeShares, feeAmount);\n        }\n    }\n\n    /**\n     * @dev Accrue performance fees by minting shares to the fee recipient.\n     * @param totalAssetsAmount The total assets in the vault to calculate fee on\n     * @param positiveYield The total positive yield generated by all strategies\n     * @param loss The total losses incurred by all strategies\n     */\n    function accruePerformanceFee(uint256 totalAssetsAmount, uint256 positiveYield, uint256 loss) internal {\n        (uint256 performanceFeeShares, uint256 feeAmount) =\n            previewPerformanceFee(totalAssetsAmount, positiveYield, loss, totalSupply());\n\n        if (performanceFeeShares == 0) return;\n\n        SVLib.ConcreteStandardVaultImplStorage storage $ = SVLib.fetch();\n\n        // Mint shares to performance fee recipient\n        address performanceFeeRecipient = $.performanceFeeRecipient;\n        if (performanceFeeRecipient != address(0)) {\n            _mint(performanceFeeRecipient, performanceFeeShares);\n            emit PerformanceFeeAccrued(performanceFeeRecipient, performanceFeeShares, feeAmount);\n        }\n    }\n\n    /**\n     * @dev Simulates the yield accrual operation across all strategies including fees.\n     * @return totalAssets The projected total assets after yield accrual (current + yield - losses)\n     * @return totalSupply The projected total supply after yield accrual (current + management fee shares + performance fee shares)\n     */\n    function _previewAccrueYieldAndFees() internal view virtual returns (uint256, uint256) {\n        (uint256 totalPositiveYield, uint256 totalNegativeYield) = _previewYieldNoFees();\n\n        uint256 totalSupplyCached = totalSupply();\n        uint256 totalAssetsCached = cachedTotalAssets() + totalPositiveYield - totalNegativeYield;\n\n        (uint256 managementFeeShares,) = previewManagementFee(totalAssetsCached);\n        totalSupplyCached += managementFeeShares;\n\n        (uint256 performanceFeeShares,) =\n            previewPerformanceFee(totalAssetsCached, totalPositiveYield, totalNegativeYield, totalSupplyCached);\n        totalSupplyCached += performanceFeeShares;\n\n        return (totalAssetsCached, totalSupplyCached);\n    }\n\n    /**\n     * @dev Calculates total positive and negative yield across all strategies.\n     * @return totalPositiveYield The sum of all positive yields from strategies\n     * @return totalNegativeYield The sum of all losses from strategies\n     */\n    function _previewYieldNoFees()\n        internal\n        view\n        virtual\n        returns (uint256 totalPositiveYield, uint256 totalNegativeYield)\n    {\n        address[] memory strategies = SVLib.fetch().strategies.values();\n        uint256 strategiesCounter = strategies.length;\n\n        for (uint256 i; i < strategiesCounter; ++i) {\n            (uint256 positiveYield, uint256 loss,) = _previewStrategyYield(strategies[i]);\n\n            if (positiveYield != 0 || loss != 0) {\n                totalPositiveYield += positiveYield;\n                totalNegativeYield += loss;\n            }\n        }\n    }\n\n    /**\n     * @dev Accrues yield and accounts for losses for a single strategy.\n     * @dev This function queries the current total allocated value from a strategy,\n     *      compares it against the previously recorded allocated amount, and calculates\n     *      the yield generated or loss incurred since the last yield accrual.\n     * @param strategy The address of the strategy contract to accrue yield from.\n     * @return yield The amount of positive yield generated by the strategy since last accrual.\n     * @return loss The amount of loss incurred by the strategy since last accrual.\n     */\n    function _previewStrategyYield(address strategy) internal view returns (uint256, uint256, uint256) {\n        SVLib.ConcreteStandardVaultImplStorage storage $ = SVLib.fetch();\n\n        uint120 strategyAllocatedAmount = $.strategyData[strategy].allocated;\n\n        if ($.strategyData[strategy].status != IConcreteStandardVaultImpl.StrategyStatus.Active) {\n            return (0, 0, 0);\n        }\n\n        uint256 currentTotalAllocatedValue = IStrategyTemplate(strategy).totalAllocatedValue();\n        currentTotalAllocatedValue =\n            (currentTotalAllocatedValue >= type(uint120).max) ? type(uint120).max : currentTotalAllocatedValue;\n\n        uint256 yield;\n        uint256 loss;\n        if (currentTotalAllocatedValue == strategyAllocatedAmount) {\n            return (yield, loss, currentTotalAllocatedValue);\n        } else if (currentTotalAllocatedValue > strategyAllocatedAmount) {\n            yield = currentTotalAllocatedValue - strategyAllocatedAmount;\n        } else {\n            loss = strategyAllocatedAmount - currentTotalAllocatedValue;\n        }\n\n        return (yield, loss, currentTotalAllocatedValue);\n    }\n\n    /**\n     * @dev Preview management fee accrual.\n     * @param _lastTotalAssets The total assets deposited in the vault to calculate fee on\n     * @return feeShares The number of shares to mint as management fee\n     * @return feeAmount The asset value of the management fee\n     */\n    function previewManagementFee(uint256 _lastTotalAssets)\n        internal\n        view\n        returns (uint256 feeShares, uint256 feeAmount)\n    {\n        SVLib.ConcreteStandardVaultImplStorage storage $ = SVLib.fetch();\n\n        if ($.managementFee == 0) return (0, 0);\n\n        uint32 currentTime = Time.timestamp();\n        uint32 lastAccrual = $.lastManagementFeeAccrual;\n\n        if (currentTime == lastAccrual) return (0, 0);\n\n        uint256 timeElapsed = currentTime - lastAccrual;\n        // management fee is calculated on total vault AUM(after yield accrual)\n        uint256 annualFeeAmount = (_lastTotalAssets * $.managementFee) / ConstantsLib.BASIS_POINTS_DENOMINATOR;\n        feeAmount = (annualFeeAmount * timeElapsed) / (365 days);\n\n        if (feeAmount == 0) return (0, 0);\n\n        // sanity check - clamp the fee amount to the last total assets\n        if (feeAmount > _lastTotalAssets) {\n            feeAmount = _lastTotalAssets;\n        }\n\n        // convert fee amount to shares using total assets net of the fee to prevent dilution. of the fee amount\n        feeShares =\n            feeAmount.calcConvertToShares(totalSupply(), _lastTotalAssets - feeAmount, Math.Rounding.Floor, false);\n\n        return (feeShares, feeAmount);\n    }\n\n    /**\n     * @dev Preview performance fee accrual.\n     * @param totalAssetsAmount The total assets in the vault to calculate fee on\n     * @param positiveYield The total positive yield generated by all strategies\n     * @param loss The total losses incurred by all strategies\n     * @param totalSupply The current total supply of vault shares\n     * @return shares The number of shares to mint as performance fee\n     * @return feeAmount The asset value of the performance fee\n     */\n    function previewPerformanceFee(uint256 totalAssetsAmount, uint256 positiveYield, uint256 loss, uint256 totalSupply)\n        internal\n        view\n        returns (uint256, uint256)\n    {\n        SVLib.ConcreteStandardVaultImplStorage storage $ = SVLib.fetch();\n\n        if ($.performanceFee == 0 || (loss >= positiveYield)) return (0, 0);\n\n        uint256 netPositiveYield = positiveYield - loss;\n        uint256 feeAmount = Math.mulDiv(netPositiveYield, $.performanceFee, ConstantsLib.BASIS_POINTS_DENOMINATOR);\n\n        if (feeAmount == 0) return (0, 0);\n\n        uint256 feeShares =\n            feeAmount.calcConvertToShares(totalSupply, totalAssetsAmount - feeAmount, Math.Rounding.Floor, false);\n\n        return (feeShares, feeAmount);\n    }\n\n    /**\n     * @dev Internal function to calculate the maximum amount of assets that can be withdrawn by an owner.\n     * @dev The calculation considers:\n     *      - Owner's current share balance converted to equivalent assets\n     *      - Current vault liquidity (idle assets + withdrawable amounts from strategies)\n     *      - Strategy withdrawal limitations and availability\n     * @param owner The address of the account for which to calculate maximum withdrawal.\n     * @return The maximum amount of assets that can actually be withdrawn by the owner,\n     *         considering both ownership rights and liquidity constraints.\n     * @return totalAssets The total amount of assets in the vault after previewing the yield accrual\n     */\n    function _maxWithdraw(address owner) internal view virtual returns (uint256, uint256, uint256) {\n        uint256 ownerShares = balanceOf(owner);\n        (uint256 totalAssetsPreview, uint256 totalSupplyPreview) = _previewAccrueYieldAndFees();\n\n        uint256 maxAssets =\n            ownerShares.calcConvertToAssets(totalSupplyPreview, totalAssetsPreview, Math.Rounding.Floor, false);\n\n        return (_simulateWithdraw(maxAssets), totalAssetsPreview, totalSupplyPreview);\n    }\n\n    /// @dev Simulate withdrawing an amount of assets from the vault.\n    /// @param requestedAssets Amount of assets to withdraw.\n    /// @return Amount of assets filled.\n    function _simulateWithdraw(uint256 requestedAssets) internal view virtual returns (uint256) {\n        SVLib.ConcreteStandardVaultImplStorage storage $ = SVLib.fetch();\n\n        uint256 totalWithdrawableAmount = IERC20(asset()).balanceOf(address(this));\n        if (totalWithdrawableAmount < requestedAssets) {\n            address[] memory deallocationOrder = $.deallocationOrder;\n            uint256 strategiesCounter = deallocationOrder.length;\n\n            for (uint256 i; i < strategiesCounter; ++i) {\n                if (\n                    ($.strategyData[deallocationOrder[i]].status != IConcreteStandardVaultImpl.StrategyStatus.Active)\n                        || !$.strategies.contains(deallocationOrder[i])\n                ) continue;\n\n                uint256 desiredAssets;\n                unchecked {\n                    desiredAssets = requestedAssets - totalWithdrawableAmount;\n                }\n\n                uint256 withdrawableAmountFromStrategy = IStrategyTemplate(deallocationOrder[i]).maxWithdraw();\n                uint256 withdrawAmount =\n                    (withdrawableAmountFromStrategy >= desiredAssets) ? desiredAssets : withdrawableAmountFromStrategy;\n\n                totalWithdrawableAmount += withdrawAmount;\n\n                if (totalWithdrawableAmount >= requestedAssets) break;\n            }\n        } else {\n            totalWithdrawableAmount = requestedAssets;\n        }\n\n        return totalWithdrawableAmount;\n    }\n\n    /**\n     * @dev Internal function used only by the public convertToShares() function.\n     * @dev This function returns share amounts NOT inclusive of management or performance fees,\n     *      as required by the ERC4626 specification. The convertToShares() function should return\n     *      the theoretical share amount for a given asset amount without considering fee deductions.\n     * @param assets The amount of assets to convert to shares\n     * @param rounding The rounding direction for the conversion\n     * @return The equivalent amount of shares, NOT inclusive of fees\n     */\n    function _convertToShares(uint256 assets, Math.Rounding rounding) internal view virtual override returns (uint256) {\n        (uint256 totalPositiveYield, uint256 totalNegativeYield) = _previewYieldNoFees();\n        return assets.calcConvertToShares(\n            totalSupply(), cachedTotalAssets() + totalPositiveYield - totalNegativeYield, rounding, false\n        );\n    }\n\n    /**\n     * @dev Internal function used only by the public convertToAssets() function.\n     * @dev This function returns asset amounts NOT inclusive of management or performance fees,\n     *      as required by the ERC4626 specification. The convertToAssets() function should return\n     *      the theoretical asset amount for a given share amount without considering fee deductions.\n     * @param shares The amount of shares to convert to assets\n     * @param rounding The rounding direction for the conversion\n     * @return The equivalent amount of assets, NOT inclusive of fees\n     */\n    function _convertToAssets(uint256 shares, Math.Rounding rounding) internal view virtual override returns (uint256) {\n        (uint256 totalPositiveYield, uint256 totalNegativeYield) = _previewYieldNoFees();\n        return shares.calcConvertToAssets(\n            totalSupply(), cachedTotalAssets() + totalPositiveYield - totalNegativeYield, rounding, false\n        );\n    }\n\n    function _lockedAssets() internal view virtual returns (uint256) {\n        return 0;\n    }\n}\n"},"src/lib/AsyncVaultHelperLib.sol":{"content":"// SPDX-License-Identifier: UNLICENSED\npragma solidity ^0.8.0;\n\nimport {ConcreteV2ConversionLib as ConversionLib} from \"../lib/Conversion.sol\";\nimport {Math} from \"@openzeppelin-contracts/utils/math/Math.sol\";\nimport {SafeERC20} from \"@openzeppelin-contracts/token/ERC20/utils/SafeERC20.sol\";\nimport {ERC20_OZ_5_2_0_Lib} from \"../lib/ERC20Lib.sol\";\nimport {IERC20} from \"@openzeppelin-contracts/token/ERC20/IERC20.sol\";\nimport {ConcreteAsyncVaultImplStorageLib} from \"../lib/storage/ConcreteAsyncVaultImplStorageLib.sol\";\nimport {IConcreteAsyncVaultImpl} from \"../interface/IConcreteAsyncVaultImpl.sol\";\nimport {IConcreteStandardVaultImpl} from \"../interface/IConcreteStandardVaultImpl.sol\";\nimport {\n    ConcreteCachedVaultStateStorageLib as CachedVaultStateLib\n} from \"../lib/storage/ConcreteCachedVaultStateStorageLib.sol\";\n\nstruct ClaimWithdrawalParams {\n    uint256 epochID;\n    uint256 latestEpochID;\n    uint256 epochPrice;\n    bool isProcessed;\n    uint256 totalAssetsSum;\n}\n\nlibrary AsyncVaultHelperLib {\n    using Math for uint256;\n    using SafeERC20 for IERC20;\n\n    // ─────────────────────────────────────────────────────────────────────────────\n    // Epoch Lifecycle Functions\n    // ─────────────────────────────────────────────────────────────────────────────\n\n    function closeEpoch() public {\n        ConcreteAsyncVaultImplStorageLib.ConcreteAsyncVaultImplStorage storage $ =\n            ConcreteAsyncVaultImplStorageLib.fetch();\n\n        uint256 currentEpoch = $.latestEpochID;\n\n        // Check if previous epoch is processed or if this is the first epoch\n        require(\n            currentEpoch == 1 || _epochProcessed(currentEpoch - 1),\n            IConcreteAsyncVaultImpl.PreviousEpochNotProcessed(currentEpoch - 1)\n        );\n\n        // Increment to next epoch (safe to use unchecked as overflow is unrealistic)\n        $.latestEpochID = currentEpoch + 1;\n\n        emit IConcreteAsyncVaultImpl.EpochClosed(currentEpoch);\n    }\n\n    function processEpoch(uint256 sharePrice, uint256 availableAssets, uint8 decimals) public {\n        ConcreteAsyncVaultImplStorageLib.ConcreteAsyncVaultImplStorage storage $ =\n            ConcreteAsyncVaultImplStorageLib.fetch();\n\n        uint256 previousEpochID = $.latestEpochID - 1;\n        // previous epoch should be not be processed\n        require(\n            !_epochProcessed(previousEpochID), IConcreteAsyncVaultImpl.PreviousEpochAlreadyProcessed(previousEpochID)\n        );\n        uint256 requestingShares = $.totalRequestedSharesPerEpoch[previousEpochID];\n        uint256 assetsNeeded = 0;\n        // add 1 to indicate that the epoch is processed (price cannot be 0)\n        $.epochPricePerSharePlusOne[previousEpochID] = sharePrice + 1;\n\n        if (requestingShares == 0) {\n            require(availableAssets >= $.pastEpochsUnclaimedAssets, IConcreteStandardVaultImpl.InsufficientBalance());\n        } else {\n            assetsNeeded = requestingShares.mulDiv(sharePrice, 10 ** decimals, Math.Rounding.Floor);\n\n            require(\n                availableAssets >= $.pastEpochsUnclaimedAssets + assetsNeeded,\n                IConcreteStandardVaultImpl.InsufficientBalance()\n            );\n            ERC20_OZ_5_2_0_Lib._burn(address(this), requestingShares);\n\n            // Update accounting\n            $.pastEpochsUnclaimedAssets += assetsNeeded;\n            CachedVaultStateLib.fetch().cachedTotalAssets -= assetsNeeded;\n        }\n\n        emit IConcreteAsyncVaultImpl.EpochProcessed(previousEpochID, requestingShares, assetsNeeded, sharePrice);\n    }\n\n    function claimWithdrawal(address asset, address user, uint256[] calldata epochIDs, uint8 decimals) public {\n        ConcreteAsyncVaultImplStorageLib.ConcreteAsyncVaultImplStorage storage $ =\n            ConcreteAsyncVaultImplStorageLib.fetch();\n\n        ClaimWithdrawalParams memory wwl;\n        wwl.latestEpochID = $.latestEpochID;\n\n        uint256 len = epochIDs.length;\n        for (uint256 i = 0; i < len; i++) {\n            wwl.epochID = epochIDs[i];\n            (wwl.epochPrice, wwl.isProcessed) = _epochPriceAndProcessedFlag(wwl.epochID);\n            if (!wwl.isProcessed) revert IConcreteAsyncVaultImpl.EpochNotProcessed(wwl.epochID);\n            wwl.totalAssetsSum += getUserEpochRequestInAssets(\n                user, wwl.epochID, wwl.latestEpochID, wwl.epochPrice, decimals\n            );\n            $.userEpochRequests[user][wwl.epochID] = 0;\n        }\n\n        require(wwl.totalAssetsSum > 0, IConcreteAsyncVaultImpl.NoClaimableRequest());\n\n        // Update accounting\n        $.pastEpochsUnclaimedAssets -= wwl.totalAssetsSum;\n\n        // Transfer all assets at once\n        IERC20(asset).safeTransfer(user, wwl.totalAssetsSum);\n\n        emit IConcreteAsyncVaultImpl.RequestClaimed(user, wwl.totalAssetsSum, epochIDs);\n    }\n\n    function claimUsersBatch(address asset, address[] calldata users, uint256 epochID, uint8 decimals) public {\n        ConcreteAsyncVaultImplStorageLib.ConcreteAsyncVaultImplStorage storage $ =\n            ConcreteAsyncVaultImplStorageLib.fetch();\n\n        ClaimWithdrawalParams memory wwl;\n        wwl.latestEpochID = $.latestEpochID;\n        wwl.epochID = epochID;\n\n        (wwl.epochPrice, wwl.isProcessed) = _epochPriceAndProcessedFlag(wwl.epochID);\n        if (!wwl.isProcessed) revert IConcreteAsyncVaultImpl.EpochNotProcessed(wwl.epochID);\n\n        wwl.latestEpochID = $.latestEpochID;\n        uint256[] memory epochIDs = new uint256[](1);\n        epochIDs[0] = epochID;\n        address user;\n        uint256 assets;\n\n        for (uint256 i = 0; i < users.length; i++) {\n            user = users[i];\n            assets = getUserEpochRequestInAssets(user, wwl.epochID, wwl.latestEpochID, wwl.epochPrice, decimals);\n            if (assets == 0) continue;\n            // accounting\n            $.userEpochRequests[user][epochID] = 0;\n            wwl.totalAssetsSum += assets;\n            IERC20(asset).safeTransfer(user, assets);\n\n            emit IConcreteAsyncVaultImpl.RequestClaimed(user, assets, epochIDs);\n        }\n\n        require(wwl.totalAssetsSum > 0, IConcreteAsyncVaultImpl.NoClaimableRequest());\n\n        // Update accounting\n        $.pastEpochsUnclaimedAssets -= wwl.totalAssetsSum;\n    }\n\n    // ─────────────────────────────────────────────────────────────────────────────\n    // Lifecycle Interaction Functions\n    // ─────────────────────────────────────────────────────────────────────────────\n\n    function moveRequestToNextEpoch(address user) public {\n        ConcreteAsyncVaultImplStorageLib.ConcreteAsyncVaultImplStorage storage $ =\n            ConcreteAsyncVaultImplStorageLib.fetch();\n\n        uint256 currentEpoch = $.latestEpochID;\n        uint256 nextEpochID = currentEpoch + 1;\n        uint256 userBalance = $.userEpochRequests[user][currentEpoch];\n\n        require(userBalance > 0, IConcreteAsyncVaultImpl.NoRequestingShares());\n\n        unchecked {\n            $.userEpochRequests[user][currentEpoch] -= userBalance;\n            $.userEpochRequests[user][nextEpochID] += userBalance;\n            $.totalRequestedSharesPerEpoch[currentEpoch] -= userBalance;\n            $.totalRequestedSharesPerEpoch[nextEpochID] += userBalance;\n        }\n        emit IConcreteAsyncVaultImpl.RequestMovedToNextEpoch(user, userBalance, currentEpoch, nextEpochID);\n    }\n\n    function cancelRequest(address user, uint256 epochID) public {\n        ConcreteAsyncVaultImplStorageLib.ConcreteAsyncVaultImplStorage storage $ =\n            ConcreteAsyncVaultImplStorageLib.fetch();\n\n        require(_epochIsOpen(epochID), IConcreteAsyncVaultImpl.EpochAlreadyClosed(epochID));\n\n        uint256 requestingShares = $.userEpochRequests[user][epochID];\n        require(requestingShares > 0, IConcreteAsyncVaultImpl.NoRequestingShares());\n\n        // Clear the request\n        $.userEpochRequests[user][epochID] = 0;\n        $.totalRequestedSharesPerEpoch[epochID] -= requestingShares;\n\n        // Return shares to user\n        ERC20_OZ_5_2_0_Lib._transfer(address(this), user, requestingShares);\n\n        emit IConcreteAsyncVaultImpl.RequestCancelled(user, requestingShares, epochID);\n    }\n\n    // ─────────────────────────────────────────────────────────────────────────────\n    // View Functions\n    // ─────────────────────────────────────────────────────────────────────────────\n\n    function getUserEpochRequestInAssets(\n        address user,\n        uint256 epochID,\n        uint256 latestEpochID,\n        uint256 epochPrice,\n        uint8 decimals\n    ) internal view returns (uint256 assets) {\n        // Check if epoch is processed (has a price set)\n        if (epochPrice == 0 || epochID >= latestEpochID) return 0;\n\n        uint256 shares = ConcreteAsyncVaultImplStorageLib.fetch().userEpochRequests[user][epochID];\n        if (shares == 0) return 0;\n\n        assets = shares.mulDiv(epochPrice, 10 ** decimals, Math.Rounding.Floor);\n    }\n\n    function getEpochState(uint256 epochID) public view returns (IConcreteAsyncVaultImpl.EpochState) {\n        uint256 latestEpochID = ConcreteAsyncVaultImplStorageLib.fetch().latestEpochID;\n        if (epochID > latestEpochID) return IConcreteAsyncVaultImpl.EpochState.Inactive;\n        if (epochID == latestEpochID) return IConcreteAsyncVaultImpl.EpochState.Active;\n        bool isProcessed = _epochProcessed(epochID);\n        if (isProcessed) return IConcreteAsyncVaultImpl.EpochState.Processed;\n        return IConcreteAsyncVaultImpl.EpochState.Processing;\n    }\n\n    function totalRequestedSharesForCurrentEpochs()\n        public\n        view\n        returns (uint256 activeShares, uint256 processingShares, uint256 processedShares)\n    {\n        ConcreteAsyncVaultImplStorageLib.ConcreteAsyncVaultImplStorage storage $ =\n            ConcreteAsyncVaultImplStorageLib.fetch();\n        uint256 activeEpochID = $.latestEpochID;\n        activeShares = $.totalRequestedSharesPerEpoch[activeEpochID];\n        uint256 previousEpochID = activeEpochID - 1;\n        uint256 sharesInPreviousEpoch = $.totalRequestedSharesPerEpoch[previousEpochID];\n        if (_epochProcessed(previousEpochID)) {\n            processedShares = sharesInPreviousEpoch;\n        } else {\n            processingShares = sharesInPreviousEpoch;\n        }\n    }\n\n    // ─────────────────────────────────────────────────────────────────────────────\n    // Auxiliary Functions\n    // ─────────────────────────────────────────────────────────────────────────────\n\n    function _epochProcessed(uint256 epochID) private view returns (bool isProcessed) {\n        (, isProcessed) = _epochPriceAndProcessedFlag(epochID);\n    }\n\n    function _epochPriceAndProcessedFlag(uint256 epochID) private view returns (uint256 epochPrice, bool isProcessed) {\n        uint256 epochPricePlusOne = ConcreteAsyncVaultImplStorageLib.fetch().epochPricePerSharePlusOne[epochID];\n        isProcessed = epochPricePlusOne > 0;\n        epochPrice = isProcessed ? epochPricePlusOne - 1 : 0;\n    }\n\n    function _epochIsOpen(uint256 epochID) private view returns (bool) {\n        return epochID >= ConcreteAsyncVaultImplStorageLib.fetch().latestEpochID;\n    }\n}\n"},"src/lib/Conversion.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity ^0.8.24;\n\nimport {Math} from \"@openzeppelin-contracts/utils/math/Math.sol\";\nimport {IConcreteStandardVaultImpl} from \"../interface/IConcreteStandardVaultImpl.sol\";\n\nlibrary ConcreteV2ConversionLib {\n    using Math for uint256;\n\n    function calcConvertToShares(\n        uint256 assets,\n        uint256 _totalSupply,\n        uint256 _totalAssets,\n        Math.Rounding rounding,\n        bool safeMode\n    ) internal pure returns (uint256 shares) {\n        // setting uint256 decimalsOffset = 0;\n        shares = assets.mulDiv(\n            _totalSupply + 1, // + 10 ** decimalsOffset = 1\n            _totalAssets + 1,\n            rounding\n        );\n        if (safeMode && shares == 0) revert IConcreteStandardVaultImpl.InsufficientShares();\n    }\n\n    function calcConvertToAssets(\n        uint256 shares,\n        uint256 _totalSupply,\n        uint256 _totalAssets,\n        Math.Rounding rounding,\n        bool safeMode\n    ) internal pure returns (uint256 assets) {\n        // setting uint256 decimalsOffset = 0;\n        assets = shares.mulDiv(\n            _totalAssets + 1, // + 10 ** decimalsOffset = 1\n            _totalSupply + 1,\n            rounding\n        );\n        if (safeMode && assets == 0) revert IConcreteStandardVaultImpl.InsufficientAssets();\n    }\n}\n"},"src/lib/Roles.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity ^0.8.24;\n\nlibrary ConcreteV2RolesLib {\n    /// Roles and their ADMIN roles.\n    bytes32 public constant VAULT_MANAGER = keccak256(\"VAULT_MANAGER\");\n    bytes32 public constant VAULT_MANAGER_ADMIN = keccak256(\"VAULT_MANAGER_ADMIN\");\n\n    bytes32 public constant HOOK_MANAGER = keccak256(\"HOOK_MANAGER\");\n    bytes32 public constant HOOK_MANAGER_ADMIN = keccak256(\"HOOK_MANAGER_ADMIN\");\n\n    bytes32 public constant STRATEGY_MANAGER = keccak256(\"STRATEGY_MANAGER\");\n    bytes32 public constant STRATEGY_MANAGER_ADMIN = keccak256(\"STRATEGY_MANAGER_ADMIN\");\n\n    bytes32 public constant ALLOCATOR = keccak256(\"ALLOCATOR\");\n    bytes32 public constant ALLOCATOR_ADMIN = keccak256(\"ALLOCATOR_ADMIN\");\n\n    bytes32 public constant WITHDRAWAL_MANAGER = keccak256(\"WITHDRAWAL_MANAGER\");\n    bytes32 public constant WITHDRAWAL_MANAGER_ADMIN = keccak256(\"WITHDRAWAL_MANAGER_ADMIN\");\n}\n"},"src/lib/StateInitLib.sol":{"content":"import {ACL_OZ_5_2_0_Lib} from \"./AccessControlLib.sol\";\nimport {ConcreteV2RolesLib as RolesLib} from \"../lib/Roles.sol\";\nimport {ConcreteStandardVaultImplStorageLib as SVLib} from \"../lib/storage/ConcreteStandardVaultImplStorageLib.sol\";\nimport {ConcreteAsyncVaultImplStorageLib as AVLib} from \"../lib/storage/ConcreteAsyncVaultImplStorageLib.sol\";\nimport {IConcreteAsyncVaultImpl} from \"../interface/IConcreteAsyncVaultImpl.sol\";\nimport {Time} from \"./Time.sol\";\n\nlibrary StateInitLib {\n    function stateInitStandardVaultImpl(address allocateModuleAddr, address initialVaultManager, address sender)\n        public\n    {\n        SVLib.ConcreteStandardVaultImplStorage storage $ = SVLib.fetch();\n\n        $.allocateModule = allocateModuleAddr;\n        $.lastManagementFeeAccrual = Time.timestamp();\n\n        $.maxDepositAmount = type(uint256).max;\n        $.minDepositAmount = 0;\n        $.maxWithdrawAmount = type(uint256).max;\n        $.minWithdrawAmount = 0;\n\n        // Setup role admins\n        ACL_OZ_5_2_0_Lib._setRoleAdmin(RolesLib.VAULT_MANAGER, RolesLib.VAULT_MANAGER_ADMIN);\n        ACL_OZ_5_2_0_Lib._setRoleAdmin(RolesLib.HOOK_MANAGER, RolesLib.HOOK_MANAGER_ADMIN);\n        ACL_OZ_5_2_0_Lib._setRoleAdmin(RolesLib.STRATEGY_MANAGER, RolesLib.STRATEGY_MANAGER_ADMIN);\n        ACL_OZ_5_2_0_Lib._setRoleAdmin(RolesLib.ALLOCATOR, RolesLib.ALLOCATOR_ADMIN);\n\n        // setup role admins of the admins\n        ACL_OZ_5_2_0_Lib._setRoleAdmin(RolesLib.VAULT_MANAGER_ADMIN, RolesLib.VAULT_MANAGER_ADMIN);\n        ACL_OZ_5_2_0_Lib._setRoleAdmin(RolesLib.HOOK_MANAGER_ADMIN, RolesLib.HOOK_MANAGER_ADMIN);\n        ACL_OZ_5_2_0_Lib._setRoleAdmin(RolesLib.STRATEGY_MANAGER_ADMIN, RolesLib.STRATEGY_MANAGER_ADMIN);\n        ACL_OZ_5_2_0_Lib._setRoleAdmin(RolesLib.ALLOCATOR_ADMIN, RolesLib.ALLOCATOR_ADMIN);\n\n        // Grant admin roles to the initial vault manager\n        ACL_OZ_5_2_0_Lib._grantRole(RolesLib.VAULT_MANAGER_ADMIN, initialVaultManager, sender);\n        ACL_OZ_5_2_0_Lib._grantRole(RolesLib.HOOK_MANAGER_ADMIN, initialVaultManager, sender);\n        ACL_OZ_5_2_0_Lib._grantRole(RolesLib.STRATEGY_MANAGER_ADMIN, initialVaultManager, sender);\n        ACL_OZ_5_2_0_Lib._grantRole(RolesLib.ALLOCATOR_ADMIN, initialVaultManager, sender);\n\n        // Grant manager role to the initial vault manager\n        ACL_OZ_5_2_0_Lib._grantRole(RolesLib.VAULT_MANAGER, initialVaultManager, sender);\n    }\n\n    function stateInitAsyncVaultImpl(address initialVaultManager, address sender) public {\n        AVLib.ConcreteAsyncVaultImplStorage storage $ = AVLib.fetch();\n\n        // Set initial epoch to 1,\n        $.isQueueActive = true;\n        $.latestEpochID = 1;\n        emit IConcreteAsyncVaultImpl.WithdrawalQueueInitialized($.latestEpochID);\n\n        // setup role admins\n        ACL_OZ_5_2_0_Lib._setRoleAdmin(RolesLib.WITHDRAWAL_MANAGER, RolesLib.WITHDRAWAL_MANAGER_ADMIN);\n        // setup role admins of the admins\n        ACL_OZ_5_2_0_Lib._setRoleAdmin(RolesLib.WITHDRAWAL_MANAGER_ADMIN, RolesLib.WITHDRAWAL_MANAGER_ADMIN);\n        // Grant admin roles to the initial vault manager\n        ACL_OZ_5_2_0_Lib._grantRole(RolesLib.WITHDRAWAL_MANAGER_ADMIN, initialVaultManager, sender);\n    }\n}\n"},"src/lib/storage/ConcreteAsyncVaultImplStorageLib.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity ^0.8.20;\n\nlibrary ConcreteAsyncVaultImplStorageLib {\n    /// @dev keccak256(abi.encode(uint256(keccak256(\"concrete.storage.ConcreteAsyncVaultImplStorage\")) - 1)) & ~bytes32(uint256(0xff))\n    bytes32 private constant ConcreteAsyncVaultImplStorageLocation =\n        0x0ada5b606f7944319310c49c0f9f30d6272793a991bd2b9c3db8049867746700;\n\n    /// @custom:storage-location erc7201:concrete.storage.ConcreteAsyncVaultImplStorage\n    struct ConcreteAsyncVaultImplStorage {\n        // Current epoch ID for async withdrawals\n        uint256 latestEpochID;\n        // Assets available for past withdrawals (denominated in underlying asset)\n        uint256 pastEpochsUnclaimedAssets;\n        // Mapping from epoch ID to total shares requested in that epoch\n        mapping(uint256 => uint256) totalRequestedSharesPerEpoch;\n        // Mapping from user address to epoch ID to shares requested\n        mapping(address user => mapping(uint256 epochID => uint256 shares)) userEpochRequests;\n        // Mapping from epoch ID to share price when that epoch was processed\n        mapping(uint256 => uint256) epochPricePerSharePlusOne;\n        // Whether the queue is active\n        bool isQueueActive;\n    }\n\n    /**\n     * @dev Returns the storage struct for ConcreteAsyncVaultImpl\n     */\n    function fetch() internal pure returns (ConcreteAsyncVaultImplStorage storage $) {\n        assembly {\n            $.slot := ConcreteAsyncVaultImplStorageLocation\n        }\n    }\n}\n"},"node_modules/@openzeppelin/contracts/token/ERC20/extensions/IERC20Metadata.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.1.0) (token/ERC20/extensions/IERC20Metadata.sol)\n\npragma solidity ^0.8.20;\n\nimport {IERC20} from \"../IERC20.sol\";\n\n/**\n * @dev Interface for the optional metadata functions from the ERC-20 standard.\n */\ninterface IERC20Metadata is IERC20 {\n    /**\n     * @dev Returns the name of the token.\n     */\n    function name() external view returns (string memory);\n\n    /**\n     * @dev Returns the symbol of the token.\n     */\n    function symbol() external view returns (string memory);\n\n    /**\n     * @dev Returns the decimals places of the token.\n     */\n    function decimals() external view returns (uint8);\n}\n"},"node_modules/@openzeppelin/contracts/utils/Panic.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.1.0) (utils/Panic.sol)\n\npragma solidity ^0.8.20;\n\n/**\n * @dev Helper library for emitting standardized panic codes.\n *\n * ```solidity\n * contract Example {\n *      using Panic for uint256;\n *\n *      // Use any of the declared internal constants\n *      function foo() { Panic.GENERIC.panic(); }\n *\n *      // Alternatively\n *      function foo() { Panic.panic(Panic.GENERIC); }\n * }\n * ```\n *\n * Follows the list from https://github.com/ethereum/solidity/blob/v0.8.24/libsolutil/ErrorCodes.h[libsolutil].\n *\n * _Available since v5.1._\n */\n// slither-disable-next-line unused-state\nlibrary Panic {\n    /// @dev generic / unspecified error\n    uint256 internal constant GENERIC = 0x00;\n    /// @dev used by the assert() builtin\n    uint256 internal constant ASSERT = 0x01;\n    /// @dev arithmetic underflow or overflow\n    uint256 internal constant UNDER_OVERFLOW = 0x11;\n    /// @dev division or modulo by zero\n    uint256 internal constant DIVISION_BY_ZERO = 0x12;\n    /// @dev enum conversion error\n    uint256 internal constant ENUM_CONVERSION_ERROR = 0x21;\n    /// @dev invalid encoding in storage\n    uint256 internal constant STORAGE_ENCODING_ERROR = 0x22;\n    /// @dev empty array pop\n    uint256 internal constant EMPTY_ARRAY_POP = 0x31;\n    /// @dev array out of bounds access\n    uint256 internal constant ARRAY_OUT_OF_BOUNDS = 0x32;\n    /// @dev resource error (too large allocation or too large array)\n    uint256 internal constant RESOURCE_ERROR = 0x41;\n    /// @dev calling invalid internal function\n    uint256 internal constant INVALID_INTERNAL_FUNCTION = 0x51;\n\n    /// @dev Reverts with a panic code. Recommended to use with\n    /// the internal constants with predefined codes.\n    function panic(uint256 code) internal pure {\n        assembly (\"memory-safe\") {\n            mstore(0x00, 0x4e487b71)\n            mstore(0x20, code)\n            revert(0x1c, 0x24)\n        }\n    }\n}\n"},"node_modules/@openzeppelin/contracts/interfaces/IERC1363.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.1.0) (interfaces/IERC1363.sol)\n\npragma solidity ^0.8.20;\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"},"src/interface/IUpgradeableVault.sol":{"content":"// SPDX-License-Identifier: UNLICENSED\npragma solidity ^0.8.24;\n\ninterface IUpgradeableVault {\n    error AlreadyInitialized();\n    error NotFactory();\n    error NotInitialized();\n    error InvalidFactoryOwner();\n\n    /**\n     * @notice Get the factory's address.\n     * @return address of the factory\n     */\n    function factory() external view returns (address);\n\n    /**\n     * @notice Get the vault's version.\n     * @return version of the vault\n     * @dev Starts from 1.\n     */\n    function version() external view returns (uint64);\n\n    /**\n     * @notice Initialize `UpgradeableVaultProxy` contract by using a given data and setting a particular version and owner.\n     * @param initialVersion initial version of the vault\n     * @param owner initial owner of the vault\n     * @param data some data to use\n     */\n    function initialize(uint64 initialVersion, address owner, bytes calldata data) external;\n\n    /**\n     * @notice Upgrade this vault to a specific newer version using a given data.\n     * @param newVersion new version of the vault\n     * @param data some data to use\n     */\n    function upgrade(uint64 newVersion, bytes calldata data) external;\n}\n"},"src/interface/IHook.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity ^0.8.24;\n\nstruct Hooks {\n    address target;\n    uint96 flags;\n}\n\ninterface IHook {\n    // USER ACTION HOOKS\n    function preDeposit(address sender, uint256 assets, address receiver, uint256 totalAssets) external;\n    function preMint(address sender, uint256 shares, address receiver, uint256 totalAssets) external;\n    function preWithdraw(address sender, uint256 assets, address receiver, address owner, uint256 totalAssets) external;\n    function preRedeem(address sender, uint256 shares, address receiver, address owner, uint256 totalAssets) external;\n    function postDeposit(address sender, uint256 assets, uint256 shares, address receiver, uint256 totalAssets) external;\n    function postMint(address sender, uint256 assets, uint256 shares, address receiver, uint256 totalAssets) external;\n    function postWithdraw(address sender, uint256 assets, uint256 shares, address receiver, uint256 totalAssets)\n        external;\n    function postRedeem(address sender, uint256 assets, uint256 shares, address receiver, uint256 totalAssets) external;\n}\n"},"node_modules/@openzeppelin/contracts/access/extensions/IAccessControlEnumerable.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.1.0) (access/extensions/IAccessControlEnumerable.sol)\n\npragma solidity ^0.8.20;\n\nimport {IAccessControl} from \"../IAccessControl.sol\";\n\n/**\n * @dev External interface of AccessControlEnumerable declared to support ERC-165 detection.\n */\ninterface IAccessControlEnumerable is IAccessControl {\n    /**\n     * @dev Returns one of the accounts that have `role`. `index` must be a\n     * value between 0 and {getRoleMemberCount}, non-inclusive.\n     *\n     * Role bearers are not sorted in any particular way, and their ordering may\n     * change at any point.\n     *\n     * WARNING: When using {getRoleMember} and {getRoleMemberCount}, make sure\n     * you perform all queries on the same block. See the following\n     * https://forum.openzeppelin.com/t/iterating-over-elements-on-enumerableset-in-openzeppelin-contracts/2296[forum post]\n     * for more information.\n     */\n    function getRoleMember(bytes32 role, uint256 index) external view returns (address);\n\n    /**\n     * @dev Returns the number of accounts that have `role`. Can be used\n     * together with {getRoleMember} to enumerate all bearers of a role.\n     */\n    function getRoleMemberCount(bytes32 role) external view returns (uint256);\n}\n"},"node_modules/@openzeppelin/contracts-upgradeable/access/extensions/AccessControlEnumerableUpgradeable.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.1.0) (access/extensions/AccessControlEnumerable.sol)\n\npragma solidity ^0.8.20;\n\nimport {IAccessControlEnumerable} from \"@openzeppelin/contracts/access/extensions/IAccessControlEnumerable.sol\";\nimport {AccessControlUpgradeable} from \"../AccessControlUpgradeable.sol\";\nimport {EnumerableSet} from \"@openzeppelin/contracts/utils/structs/EnumerableSet.sol\";\nimport {Initializable} from \"../../proxy/utils/Initializable.sol\";\n\n/**\n * @dev Extension of {AccessControl} that allows enumerating the members of each role.\n */\nabstract contract AccessControlEnumerableUpgradeable is Initializable, IAccessControlEnumerable, AccessControlUpgradeable {\n    using EnumerableSet for EnumerableSet.AddressSet;\n\n    /// @custom:storage-location erc7201:openzeppelin.storage.AccessControlEnumerable\n    struct AccessControlEnumerableStorage {\n        mapping(bytes32 role => EnumerableSet.AddressSet) _roleMembers;\n    }\n\n    // keccak256(abi.encode(uint256(keccak256(\"openzeppelin.storage.AccessControlEnumerable\")) - 1)) & ~bytes32(uint256(0xff))\n    bytes32 private constant AccessControlEnumerableStorageLocation = 0xc1f6fe24621ce81ec5827caf0253cadb74709b061630e6b55e82371705932000;\n\n    function _getAccessControlEnumerableStorage() private pure returns (AccessControlEnumerableStorage storage $) {\n        assembly {\n            $.slot := AccessControlEnumerableStorageLocation\n        }\n    }\n\n    function __AccessControlEnumerable_init() internal onlyInitializing {\n    }\n\n    function __AccessControlEnumerable_init_unchained() internal onlyInitializing {\n    }\n    /**\n     * @dev See {IERC165-supportsInterface}.\n     */\n    function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {\n        return interfaceId == type(IAccessControlEnumerable).interfaceId || super.supportsInterface(interfaceId);\n    }\n\n    /**\n     * @dev Returns one of the accounts that have `role`. `index` must be a\n     * value between 0 and {getRoleMemberCount}, non-inclusive.\n     *\n     * Role bearers are not sorted in any particular way, and their ordering may\n     * change at any point.\n     *\n     * WARNING: When using {getRoleMember} and {getRoleMemberCount}, make sure\n     * you perform all queries on the same block. See the following\n     * https://forum.openzeppelin.com/t/iterating-over-elements-on-enumerableset-in-openzeppelin-contracts/2296[forum post]\n     * for more information.\n     */\n    function getRoleMember(bytes32 role, uint256 index) public view virtual returns (address) {\n        AccessControlEnumerableStorage storage $ = _getAccessControlEnumerableStorage();\n        return $._roleMembers[role].at(index);\n    }\n\n    /**\n     * @dev Returns the number of accounts that have `role`. Can be used\n     * together with {getRoleMember} to enumerate all bearers of a role.\n     */\n    function getRoleMemberCount(bytes32 role) public view virtual returns (uint256) {\n        AccessControlEnumerableStorage storage $ = _getAccessControlEnumerableStorage();\n        return $._roleMembers[role].length();\n    }\n\n    /**\n     * @dev Return all accounts that have `role`\n     *\n     * WARNING: This operation will copy the entire storage to memory, which can be quite expensive. This is designed\n     * to mostly be used by view accessors that are queried without any gas fees. Developers should keep in mind that\n     * this function has an unbounded cost, and using it as part of a state-changing function may render the function\n     * uncallable if the set grows to a point where copying to memory consumes too much gas to fit in a block.\n     */\n    function getRoleMembers(bytes32 role) public view virtual returns (address[] memory) {\n        AccessControlEnumerableStorage storage $ = _getAccessControlEnumerableStorage();\n        return $._roleMembers[role].values();\n    }\n\n    /**\n     * @dev Overload {AccessControl-_grantRole} to track enumerable memberships\n     */\n    function _grantRole(bytes32 role, address account) internal virtual override returns (bool) {\n        AccessControlEnumerableStorage storage $ = _getAccessControlEnumerableStorage();\n        bool granted = super._grantRole(role, account);\n        if (granted) {\n            $._roleMembers[role].add(account);\n        }\n        return granted;\n    }\n\n    /**\n     * @dev Overload {AccessControl-_revokeRole} to track enumerable memberships\n     */\n    function _revokeRole(bytes32 role, address account) internal virtual override returns (bool) {\n        AccessControlEnumerableStorage storage $ = _getAccessControlEnumerableStorage();\n        bool revoked = super._revokeRole(role, account);\n        if (revoked) {\n            $._roleMembers[role].remove(account);\n        }\n        return revoked;\n    }\n}\n"},"node_modules/@openzeppelin/contracts-upgradeable/token/ERC20/extensions/ERC4626Upgradeable.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.1.0) (token/ERC20/extensions/ERC4626.sol)\n\npragma solidity ^0.8.20;\n\nimport {IERC20} from \"@openzeppelin/contracts/token/ERC20/IERC20.sol\";\nimport {IERC20Metadata} from \"@openzeppelin/contracts/token/ERC20/extensions/IERC20Metadata.sol\";\nimport {ERC20Upgradeable} from \"../ERC20Upgradeable.sol\";\nimport {SafeERC20} from \"@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol\";\nimport {IERC4626} from \"@openzeppelin/contracts/interfaces/IERC4626.sol\";\nimport {Math} from \"@openzeppelin/contracts/utils/math/Math.sol\";\nimport {Initializable} from \"../../../proxy/utils/Initializable.sol\";\n\n/**\n * @dev Implementation of the ERC-4626 \"Tokenized Vault Standard\" as defined in\n * https://eips.ethereum.org/EIPS/eip-4626[ERC-4626].\n *\n * This extension allows the minting and burning of \"shares\" (represented using the ERC-20 inheritance) in exchange for\n * underlying \"assets\" through standardized {deposit}, {mint}, {redeem} and {burn} workflows. This contract extends\n * the ERC-20 standard. Any additional extensions included along it would affect the \"shares\" token represented by this\n * contract and not the \"assets\" token which is an independent contract.\n *\n * [CAUTION]\n * ====\n * In empty (or nearly empty) ERC-4626 vaults, deposits are at high risk of being stolen through frontrunning\n * with a \"donation\" to the vault that inflates the price of a share. This is variously known as a donation or inflation\n * attack and is essentially a problem of slippage. Vault deployers can protect against this attack by making an initial\n * deposit of a non-trivial amount of the asset, such that price manipulation becomes infeasible. Withdrawals may\n * similarly be affected by slippage. Users can protect against this attack as well as unexpected slippage in general by\n * verifying the amount received is as expected, using a wrapper that performs these checks such as\n * https://github.com/fei-protocol/ERC4626#erc4626router-and-base[ERC4626Router].\n *\n * Since v4.9, this implementation introduces configurable virtual assets and shares to help developers mitigate that risk.\n * The `_decimalsOffset()` corresponds to an offset in the decimal representation between the underlying asset's decimals\n * and the vault decimals. This offset also determines the rate of virtual shares to virtual assets in the vault, which\n * itself determines the initial exchange rate. While not fully preventing the attack, analysis shows that the default\n * offset (0) makes it non-profitable even if an attacker is able to capture value from multiple user deposits, as a result\n * of the value being captured by the virtual shares (out of the attacker's donation) matching the attacker's expected gains.\n * With a larger offset, the attack becomes orders of magnitude more expensive than it is profitable. More details about the\n * underlying math can be found xref:erc4626.adoc#inflation-attack[here].\n *\n * The drawback of this approach is that the virtual shares do capture (a very small) part of the value being accrued\n * to the vault. Also, if the vault experiences losses, the users try to exit the vault, the virtual shares and assets\n * will cause the first user to exit to experience reduced losses in detriment to the last users that will experience\n * bigger losses. Developers willing to revert back to the pre-v4.9 behavior just need to override the\n * `_convertToShares` and `_convertToAssets` functions.\n *\n * To learn more, check out our xref:ROOT:erc4626.adoc[ERC-4626 guide].\n * ====\n */\nabstract contract ERC4626Upgradeable is Initializable, ERC20Upgradeable, IERC4626 {\n    using Math for uint256;\n\n    /// @custom:storage-location erc7201:openzeppelin.storage.ERC4626\n    struct ERC4626Storage {\n        IERC20 _asset;\n        uint8 _underlyingDecimals;\n    }\n\n    // keccak256(abi.encode(uint256(keccak256(\"openzeppelin.storage.ERC4626\")) - 1)) & ~bytes32(uint256(0xff))\n    bytes32 private constant ERC4626StorageLocation = 0x0773e532dfede91f04b12a73d3d2acd361424f41f76b4fb79f090161e36b4e00;\n\n    function _getERC4626Storage() private pure returns (ERC4626Storage storage $) {\n        assembly {\n            $.slot := ERC4626StorageLocation\n        }\n    }\n\n    /**\n     * @dev Attempted to deposit more assets than the max amount for `receiver`.\n     */\n    error ERC4626ExceededMaxDeposit(address receiver, uint256 assets, uint256 max);\n\n    /**\n     * @dev Attempted to mint more shares than the max amount for `receiver`.\n     */\n    error ERC4626ExceededMaxMint(address receiver, uint256 shares, uint256 max);\n\n    /**\n     * @dev Attempted to withdraw more assets than the max amount for `receiver`.\n     */\n    error ERC4626ExceededMaxWithdraw(address owner, uint256 assets, uint256 max);\n\n    /**\n     * @dev Attempted to redeem more shares than the max amount for `receiver`.\n     */\n    error ERC4626ExceededMaxRedeem(address owner, uint256 shares, uint256 max);\n\n    /**\n     * @dev Set the underlying asset contract. This must be an ERC20-compatible contract (ERC-20 or ERC-777).\n     */\n    function __ERC4626_init(IERC20 asset_) internal onlyInitializing {\n        __ERC4626_init_unchained(asset_);\n    }\n\n    function __ERC4626_init_unchained(IERC20 asset_) internal onlyInitializing {\n        ERC4626Storage storage $ = _getERC4626Storage();\n        (bool success, uint8 assetDecimals) = _tryGetAssetDecimals(asset_);\n        $._underlyingDecimals = success ? assetDecimals : 18;\n        $._asset = asset_;\n    }\n\n    /**\n     * @dev Attempts to fetch the asset decimals. A return value of false indicates that the attempt failed in some way.\n     */\n    function _tryGetAssetDecimals(IERC20 asset_) private view returns (bool ok, uint8 assetDecimals) {\n        (bool success, bytes memory encodedDecimals) = address(asset_).staticcall(\n            abi.encodeCall(IERC20Metadata.decimals, ())\n        );\n        if (success && encodedDecimals.length >= 32) {\n            uint256 returnedDecimals = abi.decode(encodedDecimals, (uint256));\n            if (returnedDecimals <= type(uint8).max) {\n                return (true, uint8(returnedDecimals));\n            }\n        }\n        return (false, 0);\n    }\n\n    /**\n     * @dev Decimals are computed by adding the decimal offset on top of the underlying asset's decimals. This\n     * \"original\" value is cached during construction of the vault contract. If this read operation fails (e.g., the\n     * asset has not been created yet), a default of 18 is used to represent the underlying asset's decimals.\n     *\n     * See {IERC20Metadata-decimals}.\n     */\n    function decimals() public view virtual override(IERC20Metadata, ERC20Upgradeable) returns (uint8) {\n        ERC4626Storage storage $ = _getERC4626Storage();\n        return $._underlyingDecimals + _decimalsOffset();\n    }\n\n    /** @dev See {IERC4626-asset}. */\n    function asset() public view virtual returns (address) {\n        ERC4626Storage storage $ = _getERC4626Storage();\n        return address($._asset);\n    }\n\n    /** @dev See {IERC4626-totalAssets}. */\n    function totalAssets() public view virtual returns (uint256) {\n        ERC4626Storage storage $ = _getERC4626Storage();\n        return $._asset.balanceOf(address(this));\n    }\n\n    /** @dev See {IERC4626-convertToShares}. */\n    function convertToShares(uint256 assets) public view virtual returns (uint256) {\n        return _convertToShares(assets, Math.Rounding.Floor);\n    }\n\n    /** @dev See {IERC4626-convertToAssets}. */\n    function convertToAssets(uint256 shares) public view virtual returns (uint256) {\n        return _convertToAssets(shares, Math.Rounding.Floor);\n    }\n\n    /** @dev See {IERC4626-maxDeposit}. */\n    function maxDeposit(address) public view virtual returns (uint256) {\n        return type(uint256).max;\n    }\n\n    /** @dev See {IERC4626-maxMint}. */\n    function maxMint(address) public view virtual returns (uint256) {\n        return type(uint256).max;\n    }\n\n    /** @dev See {IERC4626-maxWithdraw}. */\n    function maxWithdraw(address owner) public view virtual returns (uint256) {\n        return _convertToAssets(balanceOf(owner), Math.Rounding.Floor);\n    }\n\n    /** @dev See {IERC4626-maxRedeem}. */\n    function maxRedeem(address owner) public view virtual returns (uint256) {\n        return balanceOf(owner);\n    }\n\n    /** @dev See {IERC4626-previewDeposit}. */\n    function previewDeposit(uint256 assets) public view virtual returns (uint256) {\n        return _convertToShares(assets, Math.Rounding.Floor);\n    }\n\n    /** @dev See {IERC4626-previewMint}. */\n    function previewMint(uint256 shares) public view virtual returns (uint256) {\n        return _convertToAssets(shares, Math.Rounding.Ceil);\n    }\n\n    /** @dev See {IERC4626-previewWithdraw}. */\n    function previewWithdraw(uint256 assets) public view virtual returns (uint256) {\n        return _convertToShares(assets, Math.Rounding.Ceil);\n    }\n\n    /** @dev See {IERC4626-previewRedeem}. */\n    function previewRedeem(uint256 shares) public view virtual returns (uint256) {\n        return _convertToAssets(shares, Math.Rounding.Floor);\n    }\n\n    /** @dev See {IERC4626-deposit}. */\n    function deposit(uint256 assets, address receiver) public virtual returns (uint256) {\n        uint256 maxAssets = maxDeposit(receiver);\n        if (assets > maxAssets) {\n            revert ERC4626ExceededMaxDeposit(receiver, assets, maxAssets);\n        }\n\n        uint256 shares = previewDeposit(assets);\n        _deposit(_msgSender(), receiver, assets, shares);\n\n        return shares;\n    }\n\n    /** @dev See {IERC4626-mint}. */\n    function mint(uint256 shares, address receiver) public virtual returns (uint256) {\n        uint256 maxShares = maxMint(receiver);\n        if (shares > maxShares) {\n            revert ERC4626ExceededMaxMint(receiver, shares, maxShares);\n        }\n\n        uint256 assets = previewMint(shares);\n        _deposit(_msgSender(), receiver, assets, shares);\n\n        return assets;\n    }\n\n    /** @dev See {IERC4626-withdraw}. */\n    function withdraw(uint256 assets, address receiver, address owner) public virtual returns (uint256) {\n        uint256 maxAssets = maxWithdraw(owner);\n        if (assets > maxAssets) {\n            revert ERC4626ExceededMaxWithdraw(owner, assets, maxAssets);\n        }\n\n        uint256 shares = previewWithdraw(assets);\n        _withdraw(_msgSender(), receiver, owner, assets, shares);\n\n        return shares;\n    }\n\n    /** @dev See {IERC4626-redeem}. */\n    function redeem(uint256 shares, address receiver, address owner) public virtual returns (uint256) {\n        uint256 maxShares = maxRedeem(owner);\n        if (shares > maxShares) {\n            revert ERC4626ExceededMaxRedeem(owner, shares, maxShares);\n        }\n\n        uint256 assets = previewRedeem(shares);\n        _withdraw(_msgSender(), receiver, owner, assets, shares);\n\n        return assets;\n    }\n\n    /**\n     * @dev Internal conversion function (from assets to shares) with support for rounding direction.\n     */\n    function _convertToShares(uint256 assets, Math.Rounding rounding) internal view virtual returns (uint256) {\n        return assets.mulDiv(totalSupply() + 10 ** _decimalsOffset(), totalAssets() + 1, rounding);\n    }\n\n    /**\n     * @dev Internal conversion function (from shares to assets) with support for rounding direction.\n     */\n    function _convertToAssets(uint256 shares, Math.Rounding rounding) internal view virtual returns (uint256) {\n        return shares.mulDiv(totalAssets() + 1, totalSupply() + 10 ** _decimalsOffset(), rounding);\n    }\n\n    /**\n     * @dev Deposit/mint common workflow.\n     */\n    function _deposit(address caller, address receiver, uint256 assets, uint256 shares) internal virtual {\n        ERC4626Storage storage $ = _getERC4626Storage();\n        // If _asset is ERC-777, `transferFrom` can trigger a reentrancy BEFORE the transfer happens through the\n        // `tokensToSend` hook. On the other hand, the `tokenReceived` hook, that is triggered after the transfer,\n        // calls the vault, which is assumed not malicious.\n        //\n        // Conclusion: we need to do the transfer before we mint so that any reentrancy would happen before the\n        // assets are transferred and before the shares are minted, which is a valid state.\n        // slither-disable-next-line reentrancy-no-eth\n        SafeERC20.safeTransferFrom($._asset, caller, address(this), assets);\n        _mint(receiver, shares);\n\n        emit Deposit(caller, receiver, assets, shares);\n    }\n\n    /**\n     * @dev Withdraw/redeem common workflow.\n     */\n    function _withdraw(\n        address caller,\n        address receiver,\n        address owner,\n        uint256 assets,\n        uint256 shares\n    ) internal virtual {\n        ERC4626Storage storage $ = _getERC4626Storage();\n        if (caller != owner) {\n            _spendAllowance(owner, caller, shares);\n        }\n\n        // If _asset is ERC-777, `transfer` can trigger a reentrancy AFTER the transfer happens through the\n        // `tokensReceived` hook. On the other hand, the `tokensToSend` hook, that is triggered before the transfer,\n        // calls the vault, which is assumed not malicious.\n        //\n        // Conclusion: we need to do the transfer after the burn so that any reentrancy would happen after the\n        // shares are burned and after the assets are transferred, which is a valid state.\n        _burn(owner, shares);\n        SafeERC20.safeTransfer($._asset, receiver, assets);\n\n        emit Withdraw(caller, receiver, owner, assets, shares);\n    }\n\n    function _decimalsOffset() internal view virtual returns (uint8) {\n        return 0;\n    }\n}\n"},"node_modules/@openzeppelin/contracts/utils/Address.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.2.0) (utils/Address.sol)\n\npragma solidity ^0.8.20;\n\nimport {Errors} from \"./Errors.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\n        (bool success, bytes memory returndata) = recipient.call{value: amount}(\"\");\n        if (!success) {\n            _revert(returndata);\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, bytes memory returndata) = target.call{value: value}(data);\n        return verifyCallResultFromTarget(target, success, returndata);\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, bytes memory returndata) = target.staticcall(data);\n        return verifyCallResultFromTarget(target, success, returndata);\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, bytes memory returndata) = target.delegatecall(data);\n        return verifyCallResultFromTarget(target, success, returndata);\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    function verifyCallResultFromTarget(\n        address target,\n        bool success,\n        bytes memory returndata\n    ) internal view returns (bytes memory) {\n        if (!success) {\n            _revert(returndata);\n        } else {\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 (returndata.length == 0 && target.code.length == 0) {\n                revert AddressEmptyCode(target);\n            }\n            return returndata;\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            _revert(returndata);\n        } else {\n            return returndata;\n        }\n    }\n\n    /**\n     * @dev Reverts with returndata if present. Otherwise reverts with {Errors.FailedCall}.\n     */\n    function _revert(bytes memory returndata) private pure {\n        // Look for revert reason and bubble it up if present\n        if (returndata.length > 0) {\n            // The easiest way to bubble the revert reason is using memory via assembly\n            assembly (\"memory-safe\") {\n                let returndata_size := mload(returndata)\n                revert(add(32, returndata), returndata_size)\n            }\n        } else {\n            revert Errors.FailedCall();\n        }\n    }\n}\n"},"node_modules/@openzeppelin/contracts/utils/structs/EnumerableSet.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.1.0) (utils/structs/EnumerableSet.sol)\n// This file was procedurally generated from scripts/generate/templates/EnumerableSet.js.\n\npragma solidity ^0.8.20;\n\n/**\n * @dev Library for managing\n * https://en.wikipedia.org/wiki/Set_(abstract_data_type)[sets] of primitive\n * types.\n *\n * Sets have the following properties:\n *\n * - Elements are added, removed, and checked for existence in constant time\n * (O(1)).\n * - Elements are enumerated in O(n). No guarantees are made on the ordering.\n *\n * ```solidity\n * contract Example {\n *     // Add the library methods\n *     using EnumerableSet for EnumerableSet.AddressSet;\n *\n *     // Declare a set state variable\n *     EnumerableSet.AddressSet private mySet;\n * }\n * ```\n *\n * As of v3.3.0, sets of type `bytes32` (`Bytes32Set`), `address` (`AddressSet`)\n * and `uint256` (`UintSet`) are supported.\n *\n * [WARNING]\n * ====\n * Trying to delete such a structure from storage will likely result in data corruption, rendering the structure\n * unusable.\n * See https://github.com/ethereum/solidity/pull/11843[ethereum/solidity#11843] for more info.\n *\n * In order to clean an EnumerableSet, you can either remove all elements one by one or create a fresh instance using an\n * array of EnumerableSet.\n * ====\n */\nlibrary EnumerableSet {\n    // To implement this library for multiple types with as little code\n    // repetition as possible, we write it in terms of a generic Set type with\n    // bytes32 values.\n    // The Set implementation uses private functions, and user-facing\n    // implementations (such as AddressSet) are just wrappers around the\n    // underlying Set.\n    // This means that we can only create new EnumerableSets for types that fit\n    // in bytes32.\n\n    struct Set {\n        // Storage of set values\n        bytes32[] _values;\n        // Position is the index of the value in the `values` array plus 1.\n        // Position 0 is used to mean a value is not in the set.\n        mapping(bytes32 value => uint256) _positions;\n    }\n\n    /**\n     * @dev Add a value to a set. O(1).\n     *\n     * Returns true if the value was added to the set, that is if it was not\n     * already present.\n     */\n    function _add(Set storage set, bytes32 value) private returns (bool) {\n        if (!_contains(set, value)) {\n            set._values.push(value);\n            // The value is stored at length-1, but we add 1 to all indexes\n            // and use 0 as a sentinel value\n            set._positions[value] = set._values.length;\n            return true;\n        } else {\n            return false;\n        }\n    }\n\n    /**\n     * @dev Removes a value from a set. O(1).\n     *\n     * Returns true if the value was removed from the set, that is if it was\n     * present.\n     */\n    function _remove(Set storage set, bytes32 value) private returns (bool) {\n        // We cache the value's position to prevent multiple reads from the same storage slot\n        uint256 position = set._positions[value];\n\n        if (position != 0) {\n            // Equivalent to contains(set, value)\n            // To delete an element from the _values array in O(1), we swap the element to delete with the last one in\n            // the array, and then remove the last element (sometimes called as 'swap and pop').\n            // This modifies the order of the array, as noted in {at}.\n\n            uint256 valueIndex = position - 1;\n            uint256 lastIndex = set._values.length - 1;\n\n            if (valueIndex != lastIndex) {\n                bytes32 lastValue = set._values[lastIndex];\n\n                // Move the lastValue to the index where the value to delete is\n                set._values[valueIndex] = lastValue;\n                // Update the tracked position of the lastValue (that was just moved)\n                set._positions[lastValue] = position;\n            }\n\n            // Delete the slot where the moved value was stored\n            set._values.pop();\n\n            // Delete the tracked position for the deleted slot\n            delete set._positions[value];\n\n            return true;\n        } else {\n            return false;\n        }\n    }\n\n    /**\n     * @dev Returns true if the value is in the set. O(1).\n     */\n    function _contains(Set storage set, bytes32 value) private view returns (bool) {\n        return set._positions[value] != 0;\n    }\n\n    /**\n     * @dev Returns the number of values on the set. O(1).\n     */\n    function _length(Set storage set) private view returns (uint256) {\n        return set._values.length;\n    }\n\n    /**\n     * @dev Returns the value stored at position `index` in the set. O(1).\n     *\n     * Note that there are no guarantees on the ordering of values inside the\n     * array, and it may change when more values are added or removed.\n     *\n     * Requirements:\n     *\n     * - `index` must be strictly less than {length}.\n     */\n    function _at(Set storage set, uint256 index) private view returns (bytes32) {\n        return set._values[index];\n    }\n\n    /**\n     * @dev Return the entire set in an array\n     *\n     * WARNING: This operation will copy the entire storage to memory, which can be quite expensive. This is designed\n     * to mostly be used by view accessors that are queried without any gas fees. Developers should keep in mind that\n     * this function has an unbounded cost, and using it as part of a state-changing function may render the function\n     * uncallable if the set grows to a point where copying to memory consumes too much gas to fit in a block.\n     */\n    function _values(Set storage set) private view returns (bytes32[] memory) {\n        return set._values;\n    }\n\n    // Bytes32Set\n\n    struct Bytes32Set {\n        Set _inner;\n    }\n\n    /**\n     * @dev Add a value to a set. O(1).\n     *\n     * Returns true if the value was added to the set, that is if it was not\n     * already present.\n     */\n    function add(Bytes32Set storage set, bytes32 value) internal returns (bool) {\n        return _add(set._inner, value);\n    }\n\n    /**\n     * @dev Removes a value from a set. O(1).\n     *\n     * Returns true if the value was removed from the set, that is if it was\n     * present.\n     */\n    function remove(Bytes32Set storage set, bytes32 value) internal returns (bool) {\n        return _remove(set._inner, value);\n    }\n\n    /**\n     * @dev Returns true if the value is in the set. O(1).\n     */\n    function contains(Bytes32Set storage set, bytes32 value) internal view returns (bool) {\n        return _contains(set._inner, value);\n    }\n\n    /**\n     * @dev Returns the number of values in the set. O(1).\n     */\n    function length(Bytes32Set storage set) internal view returns (uint256) {\n        return _length(set._inner);\n    }\n\n    /**\n     * @dev Returns the value stored at position `index` in the set. O(1).\n     *\n     * Note that there are no guarantees on the ordering of values inside the\n     * array, and it may change when more values are added or removed.\n     *\n     * Requirements:\n     *\n     * - `index` must be strictly less than {length}.\n     */\n    function at(Bytes32Set storage set, uint256 index) internal view returns (bytes32) {\n        return _at(set._inner, index);\n    }\n\n    /**\n     * @dev Return the entire set in an array\n     *\n     * WARNING: This operation will copy the entire storage to memory, which can be quite expensive. This is designed\n     * to mostly be used by view accessors that are queried without any gas fees. Developers should keep in mind that\n     * this function has an unbounded cost, and using it as part of a state-changing function may render the function\n     * uncallable if the set grows to a point where copying to memory consumes too much gas to fit in a block.\n     */\n    function values(Bytes32Set storage set) internal view returns (bytes32[] memory) {\n        bytes32[] memory store = _values(set._inner);\n        bytes32[] memory result;\n\n        assembly (\"memory-safe\") {\n            result := store\n        }\n\n        return result;\n    }\n\n    // AddressSet\n\n    struct AddressSet {\n        Set _inner;\n    }\n\n    /**\n     * @dev Add a value to a set. O(1).\n     *\n     * Returns true if the value was added to the set, that is if it was not\n     * already present.\n     */\n    function add(AddressSet storage set, address value) internal returns (bool) {\n        return _add(set._inner, bytes32(uint256(uint160(value))));\n    }\n\n    /**\n     * @dev Removes a value from a set. O(1).\n     *\n     * Returns true if the value was removed from the set, that is if it was\n     * present.\n     */\n    function remove(AddressSet storage set, address value) internal returns (bool) {\n        return _remove(set._inner, bytes32(uint256(uint160(value))));\n    }\n\n    /**\n     * @dev Returns true if the value is in the set. O(1).\n     */\n    function contains(AddressSet storage set, address value) internal view returns (bool) {\n        return _contains(set._inner, bytes32(uint256(uint160(value))));\n    }\n\n    /**\n     * @dev Returns the number of values in the set. O(1).\n     */\n    function length(AddressSet storage set) internal view returns (uint256) {\n        return _length(set._inner);\n    }\n\n    /**\n     * @dev Returns the value stored at position `index` in the set. O(1).\n     *\n     * Note that there are no guarantees on the ordering of values inside the\n     * array, and it may change when more values are added or removed.\n     *\n     * Requirements:\n     *\n     * - `index` must be strictly less than {length}.\n     */\n    function at(AddressSet storage set, uint256 index) internal view returns (address) {\n        return address(uint160(uint256(_at(set._inner, index))));\n    }\n\n    /**\n     * @dev Return the entire set in an array\n     *\n     * WARNING: This operation will copy the entire storage to memory, which can be quite expensive. This is designed\n     * to mostly be used by view accessors that are queried without any gas fees. Developers should keep in mind that\n     * this function has an unbounded cost, and using it as part of a state-changing function may render the function\n     * uncallable if the set grows to a point where copying to memory consumes too much gas to fit in a block.\n     */\n    function values(AddressSet storage set) internal view returns (address[] memory) {\n        bytes32[] memory store = _values(set._inner);\n        address[] memory result;\n\n        assembly (\"memory-safe\") {\n            result := store\n        }\n\n        return result;\n    }\n\n    // UintSet\n\n    struct UintSet {\n        Set _inner;\n    }\n\n    /**\n     * @dev Add a value to a set. O(1).\n     *\n     * Returns true if the value was added to the set, that is if it was not\n     * already present.\n     */\n    function add(UintSet storage set, uint256 value) internal returns (bool) {\n        return _add(set._inner, bytes32(value));\n    }\n\n    /**\n     * @dev Removes a value from a set. O(1).\n     *\n     * Returns true if the value was removed from the set, that is if it was\n     * present.\n     */\n    function remove(UintSet storage set, uint256 value) internal returns (bool) {\n        return _remove(set._inner, bytes32(value));\n    }\n\n    /**\n     * @dev Returns true if the value is in the set. O(1).\n     */\n    function contains(UintSet storage set, uint256 value) internal view returns (bool) {\n        return _contains(set._inner, bytes32(value));\n    }\n\n    /**\n     * @dev Returns the number of values in the set. O(1).\n     */\n    function length(UintSet storage set) internal view returns (uint256) {\n        return _length(set._inner);\n    }\n\n    /**\n     * @dev Returns the value stored at position `index` in the set. O(1).\n     *\n     * Note that there are no guarantees on the ordering of values inside the\n     * array, and it may change when more values are added or removed.\n     *\n     * Requirements:\n     *\n     * - `index` must be strictly less than {length}.\n     */\n    function at(UintSet storage set, uint256 index) internal view returns (uint256) {\n        return uint256(_at(set._inner, index));\n    }\n\n    /**\n     * @dev Return the entire set in an array\n     *\n     * WARNING: This operation will copy the entire storage to memory, which can be quite expensive. This is designed\n     * to mostly be used by view accessors that are queried without any gas fees. Developers should keep in mind that\n     * this function has an unbounded cost, and using it as part of a state-changing function may render the function\n     * uncallable if the set grows to a point where copying to memory consumes too much gas to fit in a block.\n     */\n    function values(UintSet storage set) internal view returns (uint256[] memory) {\n        bytes32[] memory store = _values(set._inner);\n        uint256[] memory result;\n\n        assembly (\"memory-safe\") {\n            result := store\n        }\n\n        return result;\n    }\n}\n"},"node_modules/@openzeppelin/contracts/access/Ownable.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.0.0) (access/Ownable.sol)\n\npragma solidity ^0.8.20;\n\nimport {Context} from \"../utils/Context.sol\";\n\n/**\n * @dev Contract module which provides a basic access control mechanism, where\n * there is an account (an owner) that can be granted exclusive access to\n * specific functions.\n *\n * The initial owner is set to the address provided by the deployer. This can\n * later be changed with {transferOwnership}.\n *\n * This module is used through inheritance. It will make available the modifier\n * `onlyOwner`, which can be applied to your functions to restrict their use to\n * the owner.\n */\nabstract contract Ownable is Context {\n    address private _owner;\n\n    /**\n     * @dev The caller account is not authorized to perform an operation.\n     */\n    error OwnableUnauthorizedAccount(address account);\n\n    /**\n     * @dev The owner is not a valid owner account. (eg. `address(0)`)\n     */\n    error OwnableInvalidOwner(address owner);\n\n    event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);\n\n    /**\n     * @dev Initializes the contract setting the address provided by the deployer as the initial owner.\n     */\n    constructor(address initialOwner) {\n        if (initialOwner == address(0)) {\n            revert OwnableInvalidOwner(address(0));\n        }\n        _transferOwnership(initialOwner);\n    }\n\n    /**\n     * @dev Throws if called by any account other than the owner.\n     */\n    modifier onlyOwner() {\n        _checkOwner();\n        _;\n    }\n\n    /**\n     * @dev Returns the address of the current owner.\n     */\n    function owner() public view virtual returns (address) {\n        return _owner;\n    }\n\n    /**\n     * @dev Throws if the sender is not the owner.\n     */\n    function _checkOwner() internal view virtual {\n        if (owner() != _msgSender()) {\n            revert OwnableUnauthorizedAccount(_msgSender());\n        }\n    }\n\n    /**\n     * @dev Leaves the contract without owner. It will not be possible to call\n     * `onlyOwner` functions. Can only be called by the current owner.\n     *\n     * NOTE: Renouncing ownership will leave the contract without an owner,\n     * thereby disabling any functionality that is only available to the owner.\n     */\n    function renounceOwnership() public virtual onlyOwner {\n        _transferOwnership(address(0));\n    }\n\n    /**\n     * @dev Transfers ownership of the contract to a new account (`newOwner`).\n     * Can only be called by the current owner.\n     */\n    function transferOwnership(address newOwner) public virtual onlyOwner {\n        if (newOwner == address(0)) {\n            revert OwnableInvalidOwner(address(0));\n        }\n        _transferOwnership(newOwner);\n    }\n\n    /**\n     * @dev Transfers ownership of the contract to a new account (`newOwner`).\n     * Internal function without access restriction.\n     */\n    function _transferOwnership(address newOwner) internal virtual {\n        address oldOwner = _owner;\n        _owner = newOwner;\n        emit OwnershipTransferred(oldOwner, newOwner);\n    }\n}\n"},"src/interface/IStrategyTemplate.sol":{"content":"// SPDX-License-Identifier: UNLICENSED\npragma solidity ^0.8.24;\n\n/**\n * @title IStrategyTemplate\n * @dev Interface that all strategy implementations must follow to be compatible with the vault system.\n * @dev Each strategy is bound to a single vault and manages that vault's funds in different protocols or investment opportunities.\n * @dev The Vault uses this interface to deploy, withdraw, and rebalance funds across multiple strategies.\n *\n * @notice This interface defines the core functionality required for strategy contracts:\n * - Asset management (allocation and deallocation of funds)\n * - Withdrawal capabilities for user redemptions\n * - Limit reporting for rebalancing operations\n * - Compatibility with the vault's underlying asset token\n *\n * @notice All strategies must implement proper access controls and ensure only authorized callers\n * (typically the vault) can execute fund management operations.\n *\n * @notice For strategies that accrue rewards from underlying protocols:\n * The vault has an arbitrary call execution function that can call any target with arbitrary data.\n * This is primarily used to claim rewards from external reward systems. Strategies that earn rewards\n * should provide dedicated functions that can be called by the vault through this mechanism to claim\n * rewards and forward them to the rewards distributor system.\n */\n\n/**\n * @dev Enum representing different types of strategies\n */\nenum StrategyType {\n    ATOMIC, // 0: Strategy that executes operations atomically, provides on-chain accurate accounting of yield\n    ASYNC, // 1: Strategy that requires asynchronous operations (multiple transactions), can provide stale (within defined latency) accounting of yield\n    CROSSCHAIN // 2: Strategy that operates across different blockchain networks, can provide stale (within defined latency) accounting of yield\n}\n\ninterface IStrategyTemplate {\n    /**\n     * @dev Allocates funds from the vault to the underlying protocol.\n     * @dev This function will be called when the vault wants to deploy assets into the yield-generating protocol.\n     *\n     * @param data Arbitrary calldata that can be used to pass strategy-specific parameters for the allocation.\n     *             This allows for flexible configuration of the allocation process (e.g., slippage tolerance,\n     *             specific protocol parameters, routing information, etc.).\n     *\n     * - MUST emit the AllocateFunds event.\n     * - MUST revert if all of assets cannot be deposited (due to allocation limit being reached, slippage, the protocol\n     *   not being able to accept more funds, etc).\n     *\n     * NOTE: most implementations will require pre-approval of the Vault with the Vault's underlying asset token.\n     */\n    function allocateFunds(bytes calldata data) external returns (uint256);\n\n    /**\n     * @dev Deallocates funds from the underlying protocol back to the vault.\n     * @dev This function will be called when the vault wants to withdraw assets from the yield-generating protocol.\n     *\n     * @param data Arbitrary calldata that can be used to pass strategy-specific parameters for the deallocation.\n     *             This allows for flexible configuration of the withdrawal process (e.g., slippage tolerance,\n     *             specific protocol parameters, withdrawal routing, etc.).\n     *\n     * - MUST emit the DeallocateFunds event.\n     * - MUST revert if all of assets cannot be withdrawn (due to withdrawal limit being reached, slippage, the protocol\n     *   not having enough liquidity, etc).\n     */\n    function deallocateFunds(bytes calldata data) external returns (uint256);\n\n    /**\n     * @dev Sends assets of underlying tokens to sender.\n     * @dev This function will be called when the vault unwinds its position while depositor withdraws.\n     *\n     * - MUST emit the Withdraw event.\n     * - MUST revert if all of assets cannot be withdrawn (due to withdrawal limit being reached, slippage, the owner\n     *   not having enough assets, etc).\n     */\n    function onWithdraw(uint256 assets) external returns (uint256);\n\n    /**\n     * @dev Rescue function to withdraw tokens that may have been accidentally sent to the strategy.\n     * @dev This function allows authorized users to rescue tokens that are not part of the strategy's normal operations.\n     *\n     * @param token The address of the token to rescue.\n     * @param amount The amount of tokens to rescue. Use 0 to rescue all available tokens.\n     *\n     * - MUST only allow rescue of tokens that are not the strategy's primary asset (asset()).\n     * - MUST emit appropriate events for the rescue operation.\n     * - MUST revert if the caller is not authorized to perform token rescue.\n     * - MUST revert if attempting to rescue the strategy's primary asset token.\n     */\n    function rescueToken(address token, uint256 amount) external;\n\n    /**\n     * @dev Returns the address of the underlying token used for the Vault for accounting, depositing, and withdrawing.\n     *\n     * - MUST be an ERC-20 token contract.\n     * - MUST NOT revert.\n     */\n    function asset() external view returns (address);\n\n    /**\n     * @dev Returns the address of the vault that this strategy is bound to.\n     *\n     * - MUST return the vault address that was set during strategy initialization.\n     * - MUST NOT revert.\n     */\n    function getVault() external view returns (address);\n\n    /**\n     * @dev Returns the type of strategy implementation.\n     * @dev This function indicates the operational characteristics of the strategy.\n     *\n     * @return The strategy type as defined in the StrategyType enum.\n     *\n     * - MUST return one of the defined StrategyType values.\n     * - MUST NOT revert.\n     * - ATOMIC: Strategy executes operations atomically in the same transaction, yield MUST be always atomicly updated in strategy allocated amount.\n     * - ASYNC: Strategy requires asynchronous operations across multiple transactions, yield Can be updated asynchronously within documented latency.\n     * - CROSSCHAIN: Strategy operates across different blockchain networks, yield Can be updated asynchronously within documented latency.\n     */\n    function strategyType() external view returns (StrategyType);\n\n    /**\n     * @dev Returns the total value of assets that the bound vault has allocated in the strategy.\n     * @dev This function is mainly used during yield accrual operations to account for strategy yield or losses.\n     *\n     * @return The total value of allocated assets denominated in the asset() token.\n     *\n     * - MUST return the total value of assets that the bound vault has allocated to this strategy.\n     * - MUST account for any losses or depreciation in the underlying protocol.\n     * - MUST NOT revert.\n     * - MUST return 0 if the vault has no funds allocated to this strategy.\n     */\n    function totalAllocatedValue() external view returns (uint256);\n\n    /**\n     * @dev Returns the maximum amount of assets that can be allocated to the underlying protocol.\n     * @dev This function is primarily used by the Allocator to determine allocation limits when rebalancing funds.\n     *\n     * - MUST return the maximum amount of underlying assets that can be allocated in a single call to allocateFunds.\n     * - MUST NOT revert.\n     * - MAY return 0 if the protocol cannot accept any more funds.\n     * - MAY return type(uint256).max if there is no practical limit.\n     */\n    function maxAllocation() external view returns (uint256);\n\n    /**\n     * @dev Returns the maximum amount of assets that can be withdrawn from the strategy by the vault.\n     * @dev This function is primarily used by the vault to determine withdrawal limits when covering user redemptions.\n     *\n     * - MUST return the maximum amount of underlying assets that can be withdrawn in a single call to onWithdraw.\n     * - MUST NOT revert.\n     * - MAY return 0 if no funds are available for withdrawal.\n     * - SHOULD reflect current liquidity constraints and strategy-specific withdrawal limits.\n     */\n    function maxWithdraw() external view returns (uint256);\n}\n"},"src/module/AllocateModule.sol":{"content":"// SPDX-License-Identifier: UNLICENSED\npragma solidity ^0.8.24;\n\nimport {IERC20, IERC4626} from \"@openzeppelin-contracts/interfaces/IERC4626.sol\";\nimport {IAllocateModule} from \"../interface/IAllocateModule.sol\";\nimport {IStrategyTemplate} from \"../interface/IStrategyTemplate.sol\";\nimport {IConcreteStandardVaultImpl} from \"../interface/IConcreteStandardVaultImpl.sol\";\nimport {ConcreteStandardVaultImplStorageLib} from \"../lib/storage/ConcreteStandardVaultImplStorageLib.sol\";\nimport {SafeCast} from \"@openzeppelin-contracts/utils/math/SafeCast.sol\";\nimport {SafeERC20} from \"@openzeppelin-contracts/token/ERC20/utils/SafeERC20.sol\";\n\ncontract AllocateModule is IAllocateModule {\n    using SafeCast for uint256;\n    using SafeERC20 for IERC20;\n\n    /// @inheritdoc IAllocateModule\n    function allocateFunds(bytes calldata data) external {\n        AllocateParams[] memory params = abi.decode(data, (AllocateParams[]));\n\n        ConcreteStandardVaultImplStorageLib.ConcreteStandardVaultImplStorage storage $ =\n            ConcreteStandardVaultImplStorageLib.fetch();\n\n        for (uint256 i; i < params.length; ++i) {\n            // Only allocate to Active strategies\n            if ($.strategyData[params[i].strategy].status != IConcreteStandardVaultImpl.StrategyStatus.Active) {\n                continue;\n            }\n\n            uint256 amount;\n            if (params[i].isDeposit) {\n                IERC20(IERC4626(address(this)).asset()).forceApprove(params[i].strategy, type(uint256).max);\n\n                amount = IStrategyTemplate(params[i].strategy).allocateFunds(params[i].extraData);\n\n                IERC20(IERC4626(address(this)).asset()).forceApprove(params[i].strategy, 0);\n\n                $.strategyData[params[i].strategy].allocated += amount.toUint120();\n            } else {\n                amount = IStrategyTemplate(params[i].strategy).deallocateFunds(params[i].extraData);\n                $.strategyData[params[i].strategy].allocated -= amount.toUint120();\n            }\n\n            emit AllocatedFunds(params[i].strategy, params[i].isDeposit, amount, params[i].extraData);\n        }\n    }\n}\n"},"src/common/UpgradeableVault.sol":{"content":"// SPDX-License-Identifier: AGPL-3.0\npragma solidity ^0.8.24;\n\n/**\n * @title AbstractUpgradeableVault\n * @notice Abstract upgradeable base for Concrete vault implementations.\n *         Provides initializer pattern, ownership, and reentrancy guards.\n *\n * @author Blueprint Finance\n * @custom:protocol Concrete Earn V2\n * @custom:source on request\n * @custom:audits on request\n * @custom:license  AGPL-3.0\n */\n\n// ─────────────────────────────────────────────────────────────────────────────\n// External dependencies\n// ─────────────────────────────────────────────────────────────────────────────\nimport {Initializable} from \"@openzeppelin-upgradeable/proxy/utils/Initializable.sol\";\nimport {OwnableUpgradeable} from \"@openzeppelin-upgradeable/access/OwnableUpgradeable.sol\";\nimport {ReentrancyGuardUpgradeable} from \"@openzeppelin-upgradeable/utils/ReentrancyGuardUpgradeable.sol\";\n\n// ─────────────────────────────────────────────────────────────────────────────\n// Protocol-facing interfaces\n// ─────────────────────────────────────────────────────────────────────────────\nimport {IUpgradeableVault} from \"../interface/IUpgradeableVault.sol\";\n\nabstract contract UpgradeableVault is Initializable, OwnableUpgradeable, ReentrancyGuardUpgradeable, IUpgradeableVault {\n    address public immutable factory;\n\n    constructor(address factoryAddr) {\n        _disableInitializers();\n\n        factory = factoryAddr;\n    }\n\n    modifier notInitialized() {\n        if (_getInitializedVersion() != 0) {\n            revert AlreadyInitialized();\n        }\n\n        _;\n    }\n\n    /**\n     * @inheritdoc IUpgradeableVault\n     */\n    function version() external view returns (uint64) {\n        return _getInitializedVersion();\n    }\n\n    /**\n     * @inheritdoc IUpgradeableVault\n     */\n    function initialize(uint64 initialVersion, address owner_, bytes calldata data)\n        external\n        notInitialized\n        reinitializer(initialVersion)\n    {\n        require(_msgSender() == factory, NotFactory());\n\n        __ReentrancyGuard_init();\n\n        __Ownable_init(owner_);\n\n        _initialize(initialVersion, owner_, data);\n    }\n\n    /**\n     * @inheritdoc IUpgradeableVault\n     */\n    function upgrade(uint64 newVersion, bytes calldata data) external nonReentrant reinitializer(newVersion) {\n        require(_msgSender() == factory, NotFactory());\n\n        _upgrade(_getInitializedVersion(), newVersion, data);\n    }\n\n    /**\n     *\n     * @param initialVersion initial implementation version from the factory\n     * @param owner vault proxy owner address\n     * @param data arbitrary data used to initialize a proxy implementation\n     */\n    function _initialize(uint64 initialVersion, address owner, bytes memory data) internal virtual {}\n\n    /**\n     *\n     * @param oldVersion vault proxy old implementation version\n     * @param newVersion vault proxy new implementation version\n     * @param data arbitrary data that will be used on the new `newImplementation.upgrade()` function to execute the upgrade flow\n     */\n    function _upgrade(uint64 oldVersion, uint64 newVersion, bytes calldata data) internal virtual {}\n}\n"},"src/lib/Constants.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity ^0.8.24;\n\nlibrary ConcreteV2ConstantsLib {\n    /// @dev Fee denominator for basis points calculation (10_000 = 100%)\n    uint16 public constant BASIS_POINTS_DENOMINATOR = 10_000;\n}\n\nlibrary ConcreteV2FeeParamsLib {\n    /// @dev Maximum management fee in basis points (10% = 1,000 bps)\n    uint16 public constant MAX_MANAGEMENT_FEE = 1_000;\n\n    /// @dev Maximum performance fee in basis points (30% = 3,000 bps)\n    uint16 public constant MAX_PERFORMANCE_FEE = 3_000;\n}\n"},"src/lib/Hooks.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity ^0.8.24;\n\nimport {Hooks, IHook} from \"../interface/IHook.sol\";\n\n/// @title HooksMainLib\n/// @dev Hooks library for four user action hooks: pre-deposit, pre-mint, pre-withdraw, pre-redeem.\n/// @dev Hooks library for two strategy hooks: pre-add-strategy, pre-remove-strategy.\nlibrary HooksLibV1 {\n    uint8 constant PRE_DEPOSIT = 1;\n    uint8 constant POST_DEPOSIT = 2;\n    uint8 constant PRE_MINT = 3;\n    uint8 constant POST_MINT = 4;\n    uint8 constant PRE_WITHDRAW = 5;\n    uint8 constant POST_WITHDRAW = 6;\n    uint8 constant PRE_REDEEM = 7;\n    uint8 constant POST_REDEEM = 8;\n\n    uint8 constant PRE_ADD_STRATEGY = 9;\n    uint8 constant PRE_REMOVE_STRATEGY = 10;\n\n    /// @dev Checks if a specific flag is set in the Hooks struct\n    /// @param h The Hooks storage reference\n    /// @param flagIndex The flag index to check (0-95)\n    /// @return True if the flag is set, false otherwise\n    function flagIsSet(Hooks memory h, uint8 flagIndex) internal pure returns (bool) {\n        if (flagIndex >= 96) return false;\n        return (uint96(h.flags) & (1 << flagIndex)) != 0;\n    }\n\n    function checkIsValid(Hooks memory h, uint8 flagIndex) internal pure returns (bool) {\n        if (!flagIsSet(h, flagIndex) || h.target == address(0)) return false;\n        return true;\n    }\n\n    function preDeposit(Hooks memory h, address sender, uint256 assets, address receiver, uint256 totalAssets)\n        internal\n    {\n        IHook(h.target).preDeposit(sender, assets, receiver, totalAssets);\n    }\n\n    function preMint(Hooks memory h, address sender, uint256 shares, address receiver, uint256 totalAssets) internal {\n        IHook(h.target).preMint(sender, shares, receiver, totalAssets);\n    }\n\n    function preWithdraw(\n        Hooks memory h,\n        address sender,\n        uint256 assets,\n        address receiver,\n        address owner,\n        uint256 totalAssets\n    ) internal {\n        IHook(h.target).preWithdraw(sender, assets, receiver, owner, totalAssets);\n    }\n\n    function preRedeem(\n        Hooks memory h,\n        address sender,\n        uint256 shares,\n        address receiver,\n        address owner,\n        uint256 totalAssets\n    ) internal {\n        IHook(h.target).preRedeem(sender, shares, receiver, owner, totalAssets);\n    }\n\n    function postDeposit(\n        Hooks memory h,\n        address sender,\n        uint256 assets,\n        uint256 shares,\n        address receiver,\n        uint256 totalAssets\n    ) internal {\n        IHook(h.target).postDeposit(sender, assets, shares, receiver, totalAssets);\n    }\n\n    function postMint(\n        Hooks memory h,\n        address sender,\n        uint256 assets,\n        uint256 shares,\n        address receiver,\n        uint256 totalAssets\n    ) internal {\n        IHook(h.target).postMint(sender, assets, shares, receiver, totalAssets);\n    }\n\n    function postWithdraw(\n        Hooks memory h,\n        address sender,\n        uint256 assets,\n        uint256 shares,\n        address receiver,\n        uint256 totalAssets\n    ) internal {\n        IHook(h.target).postWithdraw(sender, assets, shares, receiver, totalAssets);\n    }\n\n    function postRedeem(\n        Hooks memory h,\n        address sender,\n        uint256 assets,\n        uint256 shares,\n        address receiver,\n        uint256 totalAssets\n    ) internal {\n        IHook(h.target).postRedeem(sender, assets, shares, receiver, totalAssets);\n    }\n}\n"},"src/lib/StateSetterLib.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity ^0.8.24;\n\nimport {ConcreteStandardVaultImplStorageLib as SVLib} from \"./storage/ConcreteStandardVaultImplStorageLib.sol\";\nimport {EnumerableSet} from \"@openzeppelin-contracts/utils/structs/EnumerableSet.sol\";\nimport {IConcreteStandardVaultImpl} from \"../interface/IConcreteStandardVaultImpl.sol\";\nimport {ConcreteV2FeeParamsLib} from \"./Constants.sol\";\n\nlibrary StateSetterLib {\n    using EnumerableSet for EnumerableSet.AddressSet;\n\n    /// @dev Maximum management fee in basis points (10% = 1,000 bps)\n    uint16 public constant MAX_MANAGEMENT_FEE = 1_000;\n\n    /// @dev Maximum performance fee in basis points (30% = 3,000 bps)\n    uint16 public constant MAX_PERFORMANCE_FEE = 3_000;\n\n    function updateManagementFee(uint16 managementFee_) external {\n        SVLib.ConcreteStandardVaultImplStorage storage $ = SVLib.fetch();\n\n        if (managementFee_ > 0) {\n            require($.managementFeeRecipient != address(0), IConcreteStandardVaultImpl.FeeRecipientNotSet());\n            require(\n                managementFee_ <= ConcreteV2FeeParamsLib.MAX_MANAGEMENT_FEE,\n                IConcreteStandardVaultImpl.ManagementFeeExceedsMaximum()\n            );\n        }\n\n        $.managementFee = managementFee_;\n        emit IConcreteStandardVaultImpl.ManagementFeeUpdated(managementFee_);\n    }\n\n    /// @dev Updates the management fee recipient\n    /// @param recipient The new management fee recipient\n    function updateManagementFeeRecipient(address recipient) external {\n        require(recipient != address(0), IConcreteStandardVaultImpl.InvalidFeeRecipient());\n\n        SVLib.ConcreteStandardVaultImplStorage storage $ = SVLib.fetch();\n\n        $.managementFeeRecipient = recipient;\n        emit IConcreteStandardVaultImpl.ManagementFeeRecipientUpdated(recipient);\n    }\n\n    function updatePerformanceFee(uint16 performanceFee_) external {\n        SVLib.ConcreteStandardVaultImplStorage storage $ = SVLib.fetch();\n\n        if (performanceFee_ > 0) {\n            require($.performanceFeeRecipient != address(0), IConcreteStandardVaultImpl.FeeRecipientNotSet());\n            require(\n                performanceFee_ <= ConcreteV2FeeParamsLib.MAX_PERFORMANCE_FEE,\n                IConcreteStandardVaultImpl.PerformanceFeeExceedsMaximum()\n            );\n        }\n\n        $.performanceFee = performanceFee_;\n        emit IConcreteStandardVaultImpl.PerformanceFeeUpdated(performanceFee_);\n    }\n\n    function updatePerformanceFeeRecipient(address recipient) external {\n        require(recipient != address(0), IConcreteStandardVaultImpl.InvalidFeeRecipient());\n\n        SVLib.ConcreteStandardVaultImplStorage storage $ = SVLib.fetch();\n        $.performanceFeeRecipient = recipient;\n        emit IConcreteStandardVaultImpl.PerformanceFeeRecipientUpdated(recipient);\n    }\n\n    function setDepositLimits(uint256 minDepositAmount, uint256 maxDepositAmount) external {\n        require(maxDepositAmount >= minDepositAmount, IConcreteStandardVaultImpl.InvalidDepositLimits());\n\n        SVLib.ConcreteStandardVaultImplStorage storage $ = SVLib.fetch();\n\n        $.maxDepositAmount = maxDepositAmount;\n        $.minDepositAmount = minDepositAmount;\n        emit IConcreteStandardVaultImpl.DepositLimitsUpdated(maxDepositAmount, minDepositAmount);\n    }\n\n    function setWithdrawLimits(uint256 minWithdrawAmount, uint256 maxWithdrawAmount) external {\n        require(maxWithdrawAmount >= minWithdrawAmount, IConcreteStandardVaultImpl.InvalidWithdrawLimits());\n\n        SVLib.ConcreteStandardVaultImplStorage storage $ = SVLib.fetch();\n\n        $.maxWithdrawAmount = maxWithdrawAmount;\n        $.minWithdrawAmount = minWithdrawAmount;\n        emit IConcreteStandardVaultImpl.WithdrawLimitsUpdated(maxWithdrawAmount, minWithdrawAmount);\n    }\n\n    function addStrategy(address strategy) external {\n        SVLib.ConcreteStandardVaultImplStorage storage $ = SVLib.fetch();\n\n        require($.strategies.add(strategy), IConcreteStandardVaultImpl.StrategyAlreadyAdded());\n        $.strategyData[strategy] = IConcreteStandardVaultImpl.StrategyData({\n            status: IConcreteStandardVaultImpl.StrategyStatus.Active, allocated: 0\n        });\n\n        emit IConcreteStandardVaultImpl.StrategyAdded(strategy);\n    }\n\n    function removeStrategy(address strategy) external {\n        SVLib.ConcreteStandardVaultImplStorage storage $ = SVLib.fetch();\n\n        IConcreteStandardVaultImpl.StrategyData memory strategyDataCached = $.strategyData[strategy];\n\n        require(\n            (strategyDataCached.allocated == 0 && _strategyNotInDeallocationOrder(strategy))\n                || strategyDataCached.status == IConcreteStandardVaultImpl.StrategyStatus.Halted,\n            IConcreteStandardVaultImpl.StrategyHasAllocation()\n        );\n        require($.strategies.remove(strategy), IConcreteStandardVaultImpl.StrategyDoesNotExist());\n\n        delete $.strategyData[strategy];\n\n        emit IConcreteStandardVaultImpl.StrategyRemoved(strategy);\n    }\n\n    function toggleStrategyStatus(address strategy) external {\n        SVLib.ConcreteStandardVaultImplStorage storage $ = SVLib.fetch();\n\n        require($.strategies.contains(strategy), IConcreteStandardVaultImpl.StrategyDoesNotExist());\n\n        IConcreteStandardVaultImpl.StrategyStatus currentStatus = $.strategyData[strategy].status;\n\n        if (currentStatus == IConcreteStandardVaultImpl.StrategyStatus.Active) {\n            $.strategyData[strategy].status = IConcreteStandardVaultImpl.StrategyStatus.Halted;\n        } else {\n            $.strategyData[strategy].status = IConcreteStandardVaultImpl.StrategyStatus.Active;\n        }\n\n        emit IConcreteStandardVaultImpl.StrategyStatusToggled(strategy);\n    }\n\n    /**\n     * @dev Internal function to check if a strategy is not in the deallocation order.\n     * @param strategy The strategy address to check.\n     * @return True if the strategy is not in the deallocation order, false otherwise.\n     */\n    function _strategyNotInDeallocationOrder(address strategy) internal view returns (bool) {\n        SVLib.ConcreteStandardVaultImplStorage storage $ = SVLib.fetch();\n\n        address[] memory deallocationOrder = $.deallocationOrder;\n        uint256 deallocationOrderLength = deallocationOrder.length;\n        for (uint256 i = 0; i < deallocationOrderLength; i++) {\n            if (deallocationOrder[i] == strategy) {\n                return false;\n            }\n        }\n        return true;\n    }\n\n    /**\n     * @notice overwrites the deallocation order from strategies;\n     */\n    function setDeallocationOrder(address[] calldata order) external {\n        SVLib.ConcreteStandardVaultImplStorage storage $ = SVLib.fetch();\n\n        delete $.deallocationOrder;\n\n        uint256 orderLength = order.length;\n        for (uint256 i = 0; i < orderLength; i++) {\n            address strategy = order[i];\n            require($.strategies.contains(strategy), IConcreteStandardVaultImpl.StrategyDoesNotExist());\n            require(\n                $.strategyData[strategy].status == IConcreteStandardVaultImpl.StrategyStatus.Active,\n                IConcreteStandardVaultImpl.StrategyIsHalted()\n            );\n\n            $.deallocationOrder.push(strategy);\n        }\n\n        emit IConcreteStandardVaultImpl.DeallocationOrderUpdated();\n    }\n}\n"},"src/lib/Time.sol":{"content":"// SPDX-License-Identifier: UNLICENSED\n// OpenZeppelin Contracts (last updated v5.1.0) (utils/types/Time.sol)\npragma solidity ^0.8.24;\n\nimport {SafeCast} from \"@openzeppelin-contracts/utils/math/SafeCast.sol\";\n\n/**\n * @dev This library provides helpers for manipulating time-related objects.\n *\n * It uses the following types:\n * - `uint48` for timepoints\n *\n */\nlibrary Time {\n    /**\n     * @dev Get the block timestamp as a Timepoint.\n     */\n    function timestamp() internal view returns (uint32) {\n        return SafeCast.toUint32(block.timestamp);\n    }\n}\n"},"src/lib/storage/ConcreteCachedVaultStateStorageLib.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.1.0) (utils/types/Time.sol)\npragma solidity ^0.8.24;\n\nlibrary ConcreteCachedVaultStateStorageLib {\n    /// @custom:storage-location erc7201:openzeppelin.storage.ConcreteTokenizedVaultStorage\n    struct ConcreteCachedVaultStateStorage {\n        /// @dev Store last total assets of the vault at specific timestamp\n        uint256 cachedTotalAssets;\n    }\n\n    /// @dev keccak256(abi.encode(uint256(keccak256(\"concrete.storage.ConcreteCachedVaultStateStorage\")) - 1)) & ~bytes32(uint256(0xff))\n    bytes32 private constant ConcreteCachedVaultStateStorageLocation =\n        0x31b60059595cae2ebab32b53f301cf68fb9c4eef322a90dbc8487ddf3a197900;\n\n    function fetch() internal pure returns (ConcreteCachedVaultStateStorage storage $) {\n        assembly {\n            $.slot := ConcreteCachedVaultStateStorageLocation\n        }\n    }\n}\n"},"src/lib/storage/ConcreteStandardVaultImplStorageLib.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.1.0) (utils/types/Time.sol)\npragma solidity ^0.8.24;\n\nimport {IConcreteStandardVaultImpl} from \"../../interface/IConcreteStandardVaultImpl.sol\";\nimport {EnumerableSet} from \"@openzeppelin-contracts/utils/structs/EnumerableSet.sol\";\nimport {Hooks} from \"../Hooks.sol\";\n\nlibrary ConcreteStandardVaultImplStorageLib {\n    /// @dev keccak256(abi.encode(uint256(keccak256(\"concrete.storage.ConcreteStandardVaultImplStorage\")) - 1)) & ~bytes32(uint256(0xff))\n    bytes32 private constant ConcreteStandardVaultImplStorageLocation =\n        0xe74d828616eceb28be4a8cf3f9eeee868e1f44ce928ee17a9d7ad296fa52be00;\n\n    /// @custom:storage-location erc7201:concrete.storage.ConcreteStandardVaultImplStorage\n    struct ConcreteStandardVaultImplStorage {\n        /// @dev max deposit amount\n        uint256 maxDepositAmount;\n        /// @dev max withdraw amount\n        uint256 maxWithdrawAmount;\n        /// @dev min deposit amount\n        uint256 minDepositAmount;\n        /// @dev min withdraw amount\n        uint256 minWithdrawAmount;\n        /// @dev allocate module's address\n        address allocateModule;\n        /// 1 slot: 160 + 16 + 32\n        /// @dev management fee recipient\n        address managementFeeRecipient;\n        /// @dev annual management fee rate in basis points\n        uint16 managementFee;\n        /// @dev timestamp of last management fee accrual\n        uint32 lastManagementFeeAccrual;\n        /// 1 slot: 160 + 16\n        /// @dev performance fee recipient\n        address performanceFeeRecipient;\n        /// @dev annual performance fee rate in basis points\n        uint16 performanceFee;\n        /// @dev high water mark\n        uint128 performanceFeeHighWaterMark;\n        /// Mapping between a strategy address and it's data\n        mapping(address => IConcreteStandardVaultImpl.StrategyData) strategyData;\n        /// An set of strategy addresses that ConcreteVault allocates to\n        EnumerableSet.AddressSet strategies;\n        /// Defines the order in which funds are retrieved from strategies to fulfill withdrawals\n        address[] deallocationOrder;\n        /// @dev hooks\n        Hooks hooks;\n    }\n\n    /**\n     *\n     */\n    function fetch() internal pure returns (ConcreteStandardVaultImplStorage storage $) {\n        assembly {\n            $.slot := ConcreteStandardVaultImplStorageLocation\n        }\n    }\n}\n"},"src/lib/ERC20Lib.sol":{"content":"// SPDX-License-Identifier: UNLICENSED\npragma solidity ^0.8.0;\n\nimport {ERC20Upgradeable} from \"@openzeppelin-upgradeable/token/ERC20/ERC20Upgradeable.sol\";\nimport {IERC20Errors} from \"@openzeppelin-contracts/interfaces/draft-IERC6093.sol\";\nimport {IERC20} from \"@openzeppelin-contracts/token/ERC20/IERC20.sol\";\n\nlibrary ERC20_OZ_5_2_0_Lib {\n    /**\n     * @dev Moves a `value` amount of tokens from `from` to `to`.\n     *\n     * This internal function is equivalent to {transfer}, and can be used to\n     * e.g. implement automatic token fees, slashing mechanisms, etc.\n     *\n     * Emits a {Transfer} event.\n     *\n     * NOTE: This function is not virtual, {_update} should be overridden instead.\n     */\n    function _transfer(address from, address to, uint256 value) internal {\n        if (from == address(0)) {\n            revert IERC20Errors.ERC20InvalidSender(address(0));\n        }\n        if (to == address(0)) {\n            revert IERC20Errors.ERC20InvalidReceiver(address(0));\n        }\n        _update(from, to, value);\n    }\n\n    /**\n     * @dev Transfers a `value` amount of tokens from `from` to `to`, or alternatively mints (or burns) if `from`\n     * (or `to`) is the zero address. All customizations to transfers, mints, and burns should be done by overriding\n     * this function.\n     *\n     * Emits a {Transfer} event.\n     */\n    function _update(address from, address to, uint256 value) internal {\n        ERC20Upgradeable.ERC20Storage storage $ = _getERC20Storage();\n        if (from == address(0)) {\n            // Overflow check required: The rest of the code assumes that totalSupply never overflows\n            $._totalSupply += value;\n        } else {\n            uint256 fromBalance = $._balances[from];\n            if (fromBalance < value) {\n                revert IERC20Errors.ERC20InsufficientBalance(from, fromBalance, value);\n            }\n            unchecked {\n                // Overflow not possible: value <= fromBalance <= totalSupply.\n                $._balances[from] = fromBalance - value;\n            }\n        }\n\n        if (to == address(0)) {\n            unchecked {\n                // Overflow not possible: value <= totalSupply or value <= fromBalance <= totalSupply.\n                $._totalSupply -= value;\n            }\n        } else {\n            unchecked {\n                // Overflow not possible: balance + value is at most totalSupply, which we know fits into a uint256.\n                $._balances[to] += value;\n            }\n        }\n\n        emit IERC20.Transfer(from, to, value);\n    }\n\n    /**\n     * @dev Creates a `value` amount of tokens and assigns them to `account`, by transferring it from address(0).\n     * Relies on the `_update` mechanism\n     *\n     * Emits a {Transfer} event with `from` set to the zero address.\n     *\n     * NOTE: This function is not virtual, {_update} should be overridden instead.\n     */\n    function _mint(address account, uint256 value) internal {\n        if (account == address(0)) {\n            revert IERC20Errors.ERC20InvalidReceiver(address(0));\n        }\n        _update(address(0), account, value);\n    }\n\n    /**\n     * @dev Destroys a `value` amount of tokens from `account`, lowering the total supply.\n     * Relies on the `_update` mechanism.\n     *\n     * Emits a {Transfer} event with `to` set to the zero address.\n     *\n     * NOTE: This function is not virtual, {_update} should be overridden instead\n     */\n    function _burn(address account, uint256 value) internal {\n        if (account == address(0)) {\n            revert IERC20Errors.ERC20InvalidSender(address(0));\n        }\n        _update(account, address(0), value);\n    }\n\n    /**\n     * @dev Sets `value` as the allowance of `spender` over the `owner` s tokens.\n     *\n     * This internal function is equivalent to `approve`, and can be used to\n     * e.g. set automatic allowances for certain subsystems, etc.\n     *\n     * Emits an {Approval} event.\n     *\n     * Requirements:\n     *\n     * - `owner` cannot be the zero address.\n     * - `spender` cannot be the zero address.\n     *\n     * Overrides to this logic should be done to the variant with an additional `bool emitEvent` argument.\n     */\n    function _approve(address owner, address spender, uint256 value) internal {\n        _approve(owner, spender, value, true);\n    }\n\n    /**\n     * @dev Variant of {_approve} with an optional flag to enable or disable the {Approval} event.\n     *\n     * By default (when calling {_approve}) the flag is set to true. On the other hand, approval changes made by\n     * `_spendAllowance` during the `transferFrom` operation set the flag to false. This saves gas by not emitting any\n     * `Approval` event during `transferFrom` operations.\n     *\n     * Anyone who wishes to continue emitting `Approval` events on the`transferFrom` operation can force the flag to\n     * true using the following override:\n     *\n     * ```solidity\n     * function _approve(address owner, address spender, uint256 value, bool) internal virtual override {\n     *     super._approve(owner, spender, value, true);\n     * }\n     * ```\n     *\n     * Requirements are the same as {_approve}.\n     */\n    function _approve(address owner, address spender, uint256 value, bool emitEvent) internal {\n        ERC20Upgradeable.ERC20Storage storage $ = _getERC20Storage();\n        if (owner == address(0)) {\n            revert IERC20Errors.ERC20InvalidApprover(address(0));\n        }\n        if (spender == address(0)) {\n            revert IERC20Errors.ERC20InvalidSpender(address(0));\n        }\n        $._allowances[owner][spender] = value;\n        if (emitEvent) {\n            emit IERC20.Approval(owner, spender, value);\n        }\n    }\n\n    /**\n     * @dev Updates `owner` s allowance for `spender` based on spent `value`.\n     *\n     * Does not update the allowance value in case of infinite allowance.\n     * Revert if not enough allowance is available.\n     *\n     * Does not emit an {Approval} event.\n     */\n    function _spendAllowance(address owner, address spender, uint256 value) internal {\n        uint256 currentAllowance = allowance(owner, spender);\n        if (currentAllowance < type(uint256).max) {\n            if (currentAllowance < value) {\n                revert IERC20Errors.ERC20InsufficientAllowance(spender, currentAllowance, value);\n            }\n            unchecked {\n                _approve(owner, spender, currentAllowance - value, false);\n            }\n        }\n    }\n\n    /**\n     * @dev See {IERC20-allowance}.\n     */\n    function allowance(address owner, address spender) public view returns (uint256) {\n        ERC20Upgradeable.ERC20Storage storage $ = _getERC20Storage();\n        return $._allowances[owner][spender];\n    }\n\n    // keccak256(abi.encode(uint256(keccak256(\"openzeppelin.storage.ERC20\")) - 1)) & ~bytes32(uint256(0xff))\n    bytes32 private constant ERC20StorageLocation = 0x52c63247e1f47db19d5ce0460030c497f067ca4cebf71ba98eeadabe20bace00;\n\n    function _getERC20Storage() private pure returns (ERC20Upgradeable.ERC20Storage storage $) {\n        assembly {\n            $.slot := ERC20StorageLocation\n        }\n    }\n}\n"},"src/lib/AccessControlLib.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity ^0.8.0;\n\nimport {AccessControlUpgradeable} from \"@openzeppelin/contracts-upgradeable/access/AccessControlUpgradeable.sol\";\nimport {\n    AccessControlEnumerableUpgradeable\n} from \"@openzeppelin/contracts-upgradeable/access/extensions/AccessControlEnumerableUpgradeable.sol\";\nimport {IAccessControl} from \"@openzeppelin/contracts/access/IAccessControl.sol\";\nimport {EnumerableSet} from \"@openzeppelin/contracts/utils/structs/EnumerableSet.sol\";\n\nlibrary ACL_OZ_5_2_0_Lib {\n    using EnumerableSet for EnumerableSet.AddressSet;\n    // keccak256(abi.encode(uint256(keccak256(\"openzeppelin.storage.AccessControl\")) - 1)) & ~bytes32(uint256(0xff))\n\n    bytes32 private constant AccessControlStorageLocation =\n        0x02dd7bc7dec4dceedda775e58dd541e08a116c6c53815c0bd028192f7b626800;\n\n    function __getAccessControlStorage()\n        private\n        pure\n        returns (AccessControlUpgradeable.AccessControlStorage storage $)\n    {\n        assembly {\n            $.slot := AccessControlStorageLocation\n        }\n    }\n\n    // keccak256(abi.encode(uint256(keccak256(\"openzeppelin.storage.AccessControlEnumerable\")) - 1)) & ~bytes32(uint256(0xff))\n    bytes32 private constant AccessControlEnumerableStorageLocation =\n        0xc1f6fe24621ce81ec5827caf0253cadb74709b061630e6b55e82371705932000;\n\n    function __getAccessControlEnumerableStorage()\n        private\n        pure\n        returns (AccessControlEnumerableUpgradeable.AccessControlEnumerableStorage storage $)\n    {\n        assembly {\n            $.slot := AccessControlEnumerableStorageLocation\n        }\n    }\n\n    /**\n     * @dev Overload {AccessControl-_grantRole} to track enumerable memberships\n     */\n    function _grantRole(bytes32 role, address account, address sender) internal returns (bool) {\n        AccessControlEnumerableUpgradeable.AccessControlEnumerableStorage storage $ace =\n            __getAccessControlEnumerableStorage();\n        bool granted = __grantRole(role, account, sender);\n        if (granted) {\n            $ace._roleMembers[role].add(account);\n        }\n        return granted;\n    }\n\n    function __grantRole(bytes32 role, address account, address sender) private returns (bool) {\n        AccessControlUpgradeable.AccessControlStorage storage $ac = __getAccessControlStorage();\n        if (!__hasRole(role, account)) {\n            $ac._roles[role].hasRole[account] = true;\n            emit IAccessControl.RoleGranted(role, account, sender);\n            return true;\n        } else {\n            return false;\n        }\n    }\n\n    /**\n     * @dev Returns `true` if `account` has been granted `role`.\n     */\n    function __hasRole(bytes32 role, address account) private view returns (bool) {\n        AccessControlUpgradeable.AccessControlStorage storage $ac = __getAccessControlStorage();\n        return $ac._roles[role].hasRole[account];\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) private view returns (bytes32) {\n        AccessControlUpgradeable.AccessControlStorage storage $ac = __getAccessControlStorage();\n        return $ac._roles[role].adminRole;\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 {\n        AccessControlUpgradeable.AccessControlStorage storage $ac = __getAccessControlStorage();\n        bytes32 previousAdminRole = __getRoleAdmin(role);\n        $ac._roles[role].adminRole = adminRole;\n        emit IAccessControl.RoleAdminChanged(role, previousAdminRole, adminRole);\n    }\n}\n"},"node_modules/@openzeppelin/contracts/interfaces/IERC20.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.0.0) (interfaces/IERC20.sol)\n\npragma solidity ^0.8.20;\n\nimport {IERC20} from \"../token/ERC20/IERC20.sol\";\n"},"node_modules/@openzeppelin/contracts/interfaces/IERC165.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.0.0) (interfaces/IERC165.sol)\n\npragma solidity ^0.8.20;\n\nimport {IERC165} from \"../utils/introspection/IERC165.sol\";\n"},"node_modules/@openzeppelin/contracts/access/IAccessControl.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.1.0) (access/IAccessControl.sol)\n\npragma solidity ^0.8.20;\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 signaling 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"},"node_modules/@openzeppelin/contracts-upgradeable/access/AccessControlUpgradeable.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.0.0) (access/AccessControl.sol)\n\npragma solidity ^0.8.20;\n\nimport {IAccessControl} from \"@openzeppelin/contracts/access/IAccessControl.sol\";\nimport {ContextUpgradeable} from \"../utils/ContextUpgradeable.sol\";\nimport {ERC165Upgradeable} from \"../utils/introspection/ERC165Upgradeable.sol\";\nimport {Initializable} from \"../proxy/utils/Initializable.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 AccessControlUpgradeable is Initializable, ContextUpgradeable, IAccessControl, ERC165Upgradeable {\n    struct RoleData {\n        mapping(address account => bool) hasRole;\n        bytes32 adminRole;\n    }\n\n    bytes32 public constant DEFAULT_ADMIN_ROLE = 0x00;\n\n\n    /// @custom:storage-location erc7201:openzeppelin.storage.AccessControl\n    struct AccessControlStorage {\n        mapping(bytes32 role => RoleData) _roles;\n    }\n\n    // keccak256(abi.encode(uint256(keccak256(\"openzeppelin.storage.AccessControl\")) - 1)) & ~bytes32(uint256(0xff))\n    bytes32 private constant AccessControlStorageLocation = 0x02dd7bc7dec4dceedda775e58dd541e08a116c6c53815c0bd028192f7b626800;\n\n    function _getAccessControlStorage() private pure returns (AccessControlStorage storage $) {\n        assembly {\n            $.slot := AccessControlStorageLocation\n        }\n    }\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    function __AccessControl_init() internal onlyInitializing {\n    }\n\n    function __AccessControl_init_unchained() internal onlyInitializing {\n    }\n    /**\n     * @dev See {IERC165-supportsInterface}.\n     */\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        AccessControlStorage storage $ = _getAccessControlStorage();\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        AccessControlStorage storage $ = _getAccessControlStorage();\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        AccessControlStorage storage $ = _getAccessControlStorage();\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        AccessControlStorage storage $ = _getAccessControlStorage();\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` to `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        AccessControlStorage storage $ = _getAccessControlStorage();\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"},"node_modules/@openzeppelin/contracts-upgradeable/proxy/utils/Initializable.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.0.0) (proxy/utils/Initializable.sol)\n\npragma solidity ^0.8.20;\n\n/**\n * @dev This is a base contract to aid in writing upgradeable contracts, or any kind of contract that will be deployed\n * behind a proxy. Since proxied contracts do not make use of a constructor, it's common to move constructor logic to an\n * external initializer function, usually called `initialize`. It then becomes necessary to protect this initializer\n * function so it can only be called once. The {initializer} modifier provided by this contract will have this effect.\n *\n * The initialization functions use a version number. Once a version number is used, it is consumed and cannot be\n * reused. This mechanism prevents re-execution of each \"step\" but allows the creation of new initialization steps in\n * case an upgrade adds a module that needs to be initialized.\n *\n * For example:\n *\n * [.hljs-theme-light.nopadding]\n * ```solidity\n * contract MyToken is ERC20Upgradeable {\n *     function initialize() initializer public {\n *         __ERC20_init(\"MyToken\", \"MTK\");\n *     }\n * }\n *\n * contract MyTokenV2 is MyToken, ERC20PermitUpgradeable {\n *     function initializeV2() reinitializer(2) public {\n *         __ERC20Permit_init(\"MyToken\");\n *     }\n * }\n * ```\n *\n * TIP: To avoid leaving the proxy in an uninitialized state, the initializer function should be called as early as\n * possible by providing the encoded function call as the `_data` argument to {ERC1967Proxy-constructor}.\n *\n * CAUTION: When used with inheritance, manual care must be taken to not invoke a parent initializer twice, or to ensure\n * that all initializers are idempotent. This is not verified automatically as constructors are by Solidity.\n *\n * [CAUTION]\n * ====\n * Avoid leaving a contract uninitialized.\n *\n * An uninitialized contract can be taken over by an attacker. This applies to both a proxy and its implementation\n * contract, which may impact the proxy. To prevent the implementation contract from being used, you should invoke\n * the {_disableInitializers} function in the constructor to automatically lock it when it is deployed:\n *\n * [.hljs-theme-light.nopadding]\n * ```\n * /// @custom:oz-upgrades-unsafe-allow constructor\n * constructor() {\n *     _disableInitializers();\n * }\n * ```\n * ====\n */\nabstract contract Initializable {\n    /**\n     * @dev Storage of the initializable contract.\n     *\n     * It's implemented on a custom ERC-7201 namespace to reduce the risk of storage collisions\n     * when using with upgradeable contracts.\n     *\n     * @custom:storage-location erc7201:openzeppelin.storage.Initializable\n     */\n    struct InitializableStorage {\n        /**\n         * @dev Indicates that the contract has been initialized.\n         */\n        uint64 _initialized;\n        /**\n         * @dev Indicates that the contract is in the process of being initialized.\n         */\n        bool _initializing;\n    }\n\n    // keccak256(abi.encode(uint256(keccak256(\"openzeppelin.storage.Initializable\")) - 1)) & ~bytes32(uint256(0xff))\n    bytes32 private constant INITIALIZABLE_STORAGE = 0xf0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00;\n\n    /**\n     * @dev The contract is already initialized.\n     */\n    error InvalidInitialization();\n\n    /**\n     * @dev The contract is not initializing.\n     */\n    error NotInitializing();\n\n    /**\n     * @dev Triggered when the contract has been initialized or reinitialized.\n     */\n    event Initialized(uint64 version);\n\n    /**\n     * @dev A modifier that defines a protected initializer function that can be invoked at most once. In its scope,\n     * `onlyInitializing` functions can be used to initialize parent contracts.\n     *\n     * Similar to `reinitializer(1)`, except that in the context of a constructor an `initializer` may be invoked any\n     * number of times. This behavior in the constructor can be useful during testing and is not expected to be used in\n     * production.\n     *\n     * Emits an {Initialized} event.\n     */\n    modifier initializer() {\n        // solhint-disable-next-line var-name-mixedcase\n        InitializableStorage storage $ = _getInitializableStorage();\n\n        // Cache values to avoid duplicated sloads\n        bool isTopLevelCall = !$._initializing;\n        uint64 initialized = $._initialized;\n\n        // Allowed calls:\n        // - initialSetup: the contract is not in the initializing state and no previous version was\n        //                 initialized\n        // - construction: the contract is initialized at version 1 (no reininitialization) and the\n        //                 current contract is just being deployed\n        bool initialSetup = initialized == 0 && isTopLevelCall;\n        bool construction = initialized == 1 && address(this).code.length == 0;\n\n        if (!initialSetup && !construction) {\n            revert InvalidInitialization();\n        }\n        $._initialized = 1;\n        if (isTopLevelCall) {\n            $._initializing = true;\n        }\n        _;\n        if (isTopLevelCall) {\n            $._initializing = false;\n            emit Initialized(1);\n        }\n    }\n\n    /**\n     * @dev A modifier that defines a protected reinitializer function that can be invoked at most once, and only if the\n     * contract hasn't been initialized to a greater version before. In its scope, `onlyInitializing` functions can be\n     * used to initialize parent contracts.\n     *\n     * A reinitializer may be used after the original initialization step. This is essential to configure modules that\n     * are added through upgrades and that require initialization.\n     *\n     * When `version` is 1, this modifier is similar to `initializer`, except that functions marked with `reinitializer`\n     * cannot be nested. If one is invoked in the context of another, execution will revert.\n     *\n     * Note that versions can jump in increments greater than 1; this implies that if multiple reinitializers coexist in\n     * a contract, executing them in the right order is up to the developer or operator.\n     *\n     * WARNING: Setting the version to 2**64 - 1 will prevent any future reinitialization.\n     *\n     * Emits an {Initialized} event.\n     */\n    modifier reinitializer(uint64 version) {\n        // solhint-disable-next-line var-name-mixedcase\n        InitializableStorage storage $ = _getInitializableStorage();\n\n        if ($._initializing || $._initialized >= version) {\n            revert InvalidInitialization();\n        }\n        $._initialized = version;\n        $._initializing = true;\n        _;\n        $._initializing = false;\n        emit Initialized(version);\n    }\n\n    /**\n     * @dev Modifier to protect an initialization function so that it can only be invoked by functions with the\n     * {initializer} and {reinitializer} modifiers, directly or indirectly.\n     */\n    modifier onlyInitializing() {\n        _checkInitializing();\n        _;\n    }\n\n    /**\n     * @dev Reverts if the contract is not in an initializing state. See {onlyInitializing}.\n     */\n    function _checkInitializing() internal view virtual {\n        if (!_isInitializing()) {\n            revert NotInitializing();\n        }\n    }\n\n    /**\n     * @dev Locks the contract, preventing any future reinitialization. This cannot be part of an initializer call.\n     * Calling this in the constructor of a contract will prevent that contract from being initialized or reinitialized\n     * to any version. It is recommended to use this to lock implementation contracts that are designed to be called\n     * through proxies.\n     *\n     * Emits an {Initialized} event the first time it is successfully executed.\n     */\n    function _disableInitializers() internal virtual {\n        // solhint-disable-next-line var-name-mixedcase\n        InitializableStorage storage $ = _getInitializableStorage();\n\n        if ($._initializing) {\n            revert InvalidInitialization();\n        }\n        if ($._initialized != type(uint64).max) {\n            $._initialized = type(uint64).max;\n            emit Initialized(type(uint64).max);\n        }\n    }\n\n    /**\n     * @dev Returns the highest version that has been initialized. See {reinitializer}.\n     */\n    function _getInitializedVersion() internal view returns (uint64) {\n        return _getInitializableStorage()._initialized;\n    }\n\n    /**\n     * @dev Returns `true` if the contract is currently initializing. See {onlyInitializing}.\n     */\n    function _isInitializing() internal view returns (bool) {\n        return _getInitializableStorage()._initializing;\n    }\n\n    /**\n     * @dev Returns a pointer to the storage namespace.\n     */\n    // solhint-disable-next-line var-name-mixedcase\n    function _getInitializableStorage() private pure returns (InitializableStorage storage $) {\n        assembly {\n            $.slot := INITIALIZABLE_STORAGE\n        }\n    }\n}\n"},"node_modules/@openzeppelin/contracts-upgradeable/token/ERC20/ERC20Upgradeable.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.2.0) (token/ERC20/ERC20.sol)\n\npragma solidity ^0.8.20;\n\nimport {IERC20} from \"@openzeppelin/contracts/token/ERC20/IERC20.sol\";\nimport {IERC20Metadata} from \"@openzeppelin/contracts/token/ERC20/extensions/IERC20Metadata.sol\";\nimport {ContextUpgradeable} from \"../../utils/ContextUpgradeable.sol\";\nimport {IERC20Errors} from \"@openzeppelin/contracts/interfaces/draft-IERC6093.sol\";\nimport {Initializable} from \"../../proxy/utils/Initializable.sol\";\n\n/**\n * @dev Implementation of the {IERC20} interface.\n *\n * This implementation is agnostic to the way tokens are created. This means\n * that a supply mechanism has to be added in a derived contract using {_mint}.\n *\n * TIP: For a detailed writeup see our guide\n * https://forum.openzeppelin.com/t/how-to-implement-erc20-supply-mechanisms/226[How\n * to implement supply mechanisms].\n *\n * The default value of {decimals} is 18. To change this, you should override\n * this function so it returns a different value.\n *\n * We have followed general OpenZeppelin Contracts guidelines: functions revert\n * instead returning `false` on failure. This behavior is nonetheless\n * conventional and does not conflict with the expectations of ERC-20\n * applications.\n */\nabstract contract ERC20Upgradeable is Initializable, ContextUpgradeable, IERC20, IERC20Metadata, IERC20Errors {\n    /// @custom:storage-location erc7201:openzeppelin.storage.ERC20\n    struct ERC20Storage {\n        mapping(address account => uint256) _balances;\n\n        mapping(address account => mapping(address spender => uint256)) _allowances;\n\n        uint256 _totalSupply;\n\n        string _name;\n        string _symbol;\n    }\n\n    // keccak256(abi.encode(uint256(keccak256(\"openzeppelin.storage.ERC20\")) - 1)) & ~bytes32(uint256(0xff))\n    bytes32 private constant ERC20StorageLocation = 0x52c63247e1f47db19d5ce0460030c497f067ca4cebf71ba98eeadabe20bace00;\n\n    function _getERC20Storage() private pure returns (ERC20Storage storage $) {\n        assembly {\n            $.slot := ERC20StorageLocation\n        }\n    }\n\n    /**\n     * @dev Sets the values for {name} and {symbol}.\n     *\n     * All two of these values are immutable: they can only be set once during\n     * construction.\n     */\n    function __ERC20_init(string memory name_, string memory symbol_) internal onlyInitializing {\n        __ERC20_init_unchained(name_, symbol_);\n    }\n\n    function __ERC20_init_unchained(string memory name_, string memory symbol_) internal onlyInitializing {\n        ERC20Storage storage $ = _getERC20Storage();\n        $._name = name_;\n        $._symbol = symbol_;\n    }\n\n    /**\n     * @dev Returns the name of the token.\n     */\n    function name() public view virtual returns (string memory) {\n        ERC20Storage storage $ = _getERC20Storage();\n        return $._name;\n    }\n\n    /**\n     * @dev Returns the symbol of the token, usually a shorter version of the\n     * name.\n     */\n    function symbol() public view virtual returns (string memory) {\n        ERC20Storage storage $ = _getERC20Storage();\n        return $._symbol;\n    }\n\n    /**\n     * @dev Returns the number of decimals used to get its user representation.\n     * For example, if `decimals` equals `2`, a balance of `505` tokens should\n     * be displayed to a user as `5.05` (`505 / 10 ** 2`).\n     *\n     * Tokens usually opt for a value of 18, imitating the relationship between\n     * Ether and Wei. This is the default value returned by this function, unless\n     * it's overridden.\n     *\n     * NOTE: This information is only used for _display_ purposes: it in\n     * no way affects any of the arithmetic of the contract, including\n     * {IERC20-balanceOf} and {IERC20-transfer}.\n     */\n    function decimals() public view virtual returns (uint8) {\n        return 18;\n    }\n\n    /**\n     * @dev See {IERC20-totalSupply}.\n     */\n    function totalSupply() public view virtual returns (uint256) {\n        ERC20Storage storage $ = _getERC20Storage();\n        return $._totalSupply;\n    }\n\n    /**\n     * @dev See {IERC20-balanceOf}.\n     */\n    function balanceOf(address account) public view virtual returns (uint256) {\n        ERC20Storage storage $ = _getERC20Storage();\n        return $._balances[account];\n    }\n\n    /**\n     * @dev See {IERC20-transfer}.\n     *\n     * Requirements:\n     *\n     * - `to` cannot be the zero address.\n     * - the caller must have a balance of at least `value`.\n     */\n    function transfer(address to, uint256 value) public virtual returns (bool) {\n        address owner = _msgSender();\n        _transfer(owner, to, value);\n        return true;\n    }\n\n    /**\n     * @dev See {IERC20-allowance}.\n     */\n    function allowance(address owner, address spender) public view virtual returns (uint256) {\n        ERC20Storage storage $ = _getERC20Storage();\n        return $._allowances[owner][spender];\n    }\n\n    /**\n     * @dev See {IERC20-approve}.\n     *\n     * NOTE: If `value` is the maximum `uint256`, the allowance is not updated on\n     * `transferFrom`. This is semantically equivalent to an infinite approval.\n     *\n     * Requirements:\n     *\n     * - `spender` cannot be the zero address.\n     */\n    function approve(address spender, uint256 value) public virtual returns (bool) {\n        address owner = _msgSender();\n        _approve(owner, spender, value);\n        return true;\n    }\n\n    /**\n     * @dev See {IERC20-transferFrom}.\n     *\n     * Skips emitting an {Approval} event indicating an allowance update. This is not\n     * required by the ERC. See {xref-ERC20-_approve-address-address-uint256-bool-}[_approve].\n     *\n     * NOTE: Does not update the allowance if the current allowance\n     * is the maximum `uint256`.\n     *\n     * Requirements:\n     *\n     * - `from` and `to` cannot be the zero address.\n     * - `from` must have a balance of at least `value`.\n     * - the caller must have allowance for ``from``'s tokens of at least\n     * `value`.\n     */\n    function transferFrom(address from, address to, uint256 value) public virtual returns (bool) {\n        address spender = _msgSender();\n        _spendAllowance(from, spender, value);\n        _transfer(from, to, value);\n        return true;\n    }\n\n    /**\n     * @dev Moves a `value` amount of tokens from `from` to `to`.\n     *\n     * This internal function is equivalent to {transfer}, and can be used to\n     * e.g. implement automatic token fees, slashing mechanisms, etc.\n     *\n     * Emits a {Transfer} event.\n     *\n     * NOTE: This function is not virtual, {_update} should be overridden instead.\n     */\n    function _transfer(address from, address to, uint256 value) internal {\n        if (from == address(0)) {\n            revert ERC20InvalidSender(address(0));\n        }\n        if (to == address(0)) {\n            revert ERC20InvalidReceiver(address(0));\n        }\n        _update(from, to, value);\n    }\n\n    /**\n     * @dev Transfers a `value` amount of tokens from `from` to `to`, or alternatively mints (or burns) if `from`\n     * (or `to`) is the zero address. All customizations to transfers, mints, and burns should be done by overriding\n     * this function.\n     *\n     * Emits a {Transfer} event.\n     */\n    function _update(address from, address to, uint256 value) internal virtual {\n        ERC20Storage storage $ = _getERC20Storage();\n        if (from == address(0)) {\n            // Overflow check required: The rest of the code assumes that totalSupply never overflows\n            $._totalSupply += value;\n        } else {\n            uint256 fromBalance = $._balances[from];\n            if (fromBalance < value) {\n                revert ERC20InsufficientBalance(from, fromBalance, value);\n            }\n            unchecked {\n                // Overflow not possible: value <= fromBalance <= totalSupply.\n                $._balances[from] = fromBalance - value;\n            }\n        }\n\n        if (to == address(0)) {\n            unchecked {\n                // Overflow not possible: value <= totalSupply or value <= fromBalance <= totalSupply.\n                $._totalSupply -= value;\n            }\n        } else {\n            unchecked {\n                // Overflow not possible: balance + value is at most totalSupply, which we know fits into a uint256.\n                $._balances[to] += value;\n            }\n        }\n\n        emit Transfer(from, to, value);\n    }\n\n    /**\n     * @dev Creates a `value` amount of tokens and assigns them to `account`, by transferring it from address(0).\n     * Relies on the `_update` mechanism\n     *\n     * Emits a {Transfer} event with `from` set to the zero address.\n     *\n     * NOTE: This function is not virtual, {_update} should be overridden instead.\n     */\n    function _mint(address account, uint256 value) internal {\n        if (account == address(0)) {\n            revert ERC20InvalidReceiver(address(0));\n        }\n        _update(address(0), account, value);\n    }\n\n    /**\n     * @dev Destroys a `value` amount of tokens from `account`, lowering the total supply.\n     * Relies on the `_update` mechanism.\n     *\n     * Emits a {Transfer} event with `to` set to the zero address.\n     *\n     * NOTE: This function is not virtual, {_update} should be overridden instead\n     */\n    function _burn(address account, uint256 value) internal {\n        if (account == address(0)) {\n            revert ERC20InvalidSender(address(0));\n        }\n        _update(account, address(0), value);\n    }\n\n    /**\n     * @dev Sets `value` as the allowance of `spender` over the `owner` s tokens.\n     *\n     * This internal function is equivalent to `approve`, and can be used to\n     * e.g. set automatic allowances for certain subsystems, etc.\n     *\n     * Emits an {Approval} event.\n     *\n     * Requirements:\n     *\n     * - `owner` cannot be the zero address.\n     * - `spender` cannot be the zero address.\n     *\n     * Overrides to this logic should be done to the variant with an additional `bool emitEvent` argument.\n     */\n    function _approve(address owner, address spender, uint256 value) internal {\n        _approve(owner, spender, value, true);\n    }\n\n    /**\n     * @dev Variant of {_approve} with an optional flag to enable or disable the {Approval} event.\n     *\n     * By default (when calling {_approve}) the flag is set to true. On the other hand, approval changes made by\n     * `_spendAllowance` during the `transferFrom` operation set the flag to false. This saves gas by not emitting any\n     * `Approval` event during `transferFrom` operations.\n     *\n     * Anyone who wishes to continue emitting `Approval` events on the`transferFrom` operation can force the flag to\n     * true using the following override:\n     *\n     * ```solidity\n     * function _approve(address owner, address spender, uint256 value, bool) internal virtual override {\n     *     super._approve(owner, spender, value, true);\n     * }\n     * ```\n     *\n     * Requirements are the same as {_approve}.\n     */\n    function _approve(address owner, address spender, uint256 value, bool emitEvent) internal virtual {\n        ERC20Storage storage $ = _getERC20Storage();\n        if (owner == address(0)) {\n            revert ERC20InvalidApprover(address(0));\n        }\n        if (spender == address(0)) {\n            revert ERC20InvalidSpender(address(0));\n        }\n        $._allowances[owner][spender] = value;\n        if (emitEvent) {\n            emit Approval(owner, spender, value);\n        }\n    }\n\n    /**\n     * @dev Updates `owner` s allowance for `spender` based on spent `value`.\n     *\n     * Does not update the allowance value in case of infinite allowance.\n     * Revert if not enough allowance is available.\n     *\n     * Does not emit an {Approval} event.\n     */\n    function _spendAllowance(address owner, address spender, uint256 value) internal virtual {\n        uint256 currentAllowance = allowance(owner, spender);\n        if (currentAllowance < type(uint256).max) {\n            if (currentAllowance < value) {\n                revert ERC20InsufficientAllowance(spender, currentAllowance, value);\n            }\n            unchecked {\n                _approve(owner, spender, currentAllowance - value, false);\n            }\n        }\n    }\n}\n"},"node_modules/@openzeppelin/contracts/utils/Errors.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.1.0) (utils/Errors.sol)\n\npragma solidity ^0.8.20;\n\n/**\n * @dev Collection of common custom errors used in multiple contracts\n *\n * IMPORTANT: Backwards compatibility is not guaranteed in future versions of the library.\n * It is recommended to avoid relying on the error API for critical functionality.\n *\n * _Available since v5.1._\n */\nlibrary Errors {\n    /**\n     * @dev The ETH balance of the account is not enough to perform the operation.\n     */\n    error InsufficientBalance(uint256 balance, uint256 needed);\n\n    /**\n     * @dev A call to an address target failed. The target may have reverted.\n     */\n    error FailedCall();\n\n    /**\n     * @dev The deployment failed.\n     */\n    error FailedDeployment();\n\n    /**\n     * @dev A necessary precompile is missing.\n     */\n    error MissingPrecompile(address);\n}\n"},"node_modules/@openzeppelin/contracts/utils/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"},"src/interface/IAllocateModule.sol":{"content":"// SPDX-License-Identifier: UNLICENSED\npragma solidity ^0.8.24;\n\n/**\n * @title IAllocateModule\n * @dev Interface for the AllocateModule contract that handles fund allocation and deallocation across multiple strategies.\n * @dev This module enables the vault to efficiently manage funds across different yield-generating strategies\n *      by batching multiple allocation/deallocation operations in a single transaction.\n *\n * @notice The AllocateModule serves as a coordinator for strategy operations, allowing the vault to:\n * - Allocate funds to multiple strategies in a single call\n * - Deallocate funds from multiple strategies in a single call\n * - Maintain accurate accounting of allocated amounts per strategy\n *\n * @notice This module is typically used during rebalancing operations where the vault needs to\n *         adjust allocations across multiple strategies based on current market conditions,\n *         strategy performance, or allocation targets.\n */\ninterface IAllocateModule {\n    /**\n     * @dev Emitted when funds are allocated or deallocated from a strategy.\n     *\n     * @param strategy The address of the strategy contract.\n     * @param isDeposit True if this is an allocation (deposit) operation, false if it's a deallocation (withdrawal).\n     * @param amount The amount of funds allocated or deallocated.\n     * @param extraData Arbitrary calldata passed to the strategy's allocateFunds or deallocateFunds function.\n     */\n    event AllocatedFunds(address indexed strategy, bool indexed isDeposit, uint256 amount, bytes extraData);\n\n    /**\n     * @dev Structure containing parameters for a single allocation or deallocation operation.\n     *\n     * @param isDeposit True if this is an allocation (deposit) operation, false if it's a deallocation (withdrawal).\n     * @param strategy The address of the strategy contract to interact with.\n     * @param extraData Arbitrary calldata to pass to the strategy's allocateFunds or deallocateFunds function.\n     *                  This allows for strategy-specific parameters like slippage tolerance, routing info, etc.\n     */\n    struct AllocateParams {\n        bool isDeposit;\n        address strategy;\n        bytes extraData;\n    }\n\n    /**\n     * @dev Executes multiple allocation and deallocation operations across different strategies in a single transaction.\n     * @dev This function processes an array of allocation parameters, calling the appropriate strategy functions\n     *      and updating the vault's internal accounting for each strategy.\n     *\n     * @param data ABI-encoded array of AllocateParams structures containing the operations to execute.\n     *             Each AllocateParams specifies whether to allocate or deallocate funds, which strategy to use,\n     *             and any additional data required by the strategy.\n     *\n     * @notice The function iterates through all provided parameters and:\n     * - For deposits (isDeposit = true): Calls strategy.allocateFunds() and increases allocated amount\n     * - For withdrawals (isDeposit = false): Calls strategy.deallocateFunds() and decreases allocated amount\n     *\n     * @notice All operations are executed atomically - if any single operation fails, the entire transaction reverts.\n     *\n     * @notice The function updates the vault's internal strategy accounting to track the total amount\n     *         allocated to each strategy, which is used for yield calculation and strategy limits.\n     */\n    function allocateFunds(bytes calldata data) external;\n}\n"},"node_modules/@openzeppelin/contracts-upgradeable/access/OwnableUpgradeable.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.0.0) (access/Ownable.sol)\n\npragma solidity ^0.8.20;\n\nimport {ContextUpgradeable} from \"../utils/ContextUpgradeable.sol\";\nimport {Initializable} from \"../proxy/utils/Initializable.sol\";\n\n/**\n * @dev Contract module which provides a basic access control mechanism, where\n * there is an account (an owner) that can be granted exclusive access to\n * specific functions.\n *\n * The initial owner is set to the address provided by the deployer. This can\n * later be changed with {transferOwnership}.\n *\n * This module is used through inheritance. It will make available the modifier\n * `onlyOwner`, which can be applied to your functions to restrict their use to\n * the owner.\n */\nabstract contract OwnableUpgradeable is Initializable, ContextUpgradeable {\n    /// @custom:storage-location erc7201:openzeppelin.storage.Ownable\n    struct OwnableStorage {\n        address _owner;\n    }\n\n    // keccak256(abi.encode(uint256(keccak256(\"openzeppelin.storage.Ownable\")) - 1)) & ~bytes32(uint256(0xff))\n    bytes32 private constant OwnableStorageLocation = 0x9016d09d72d40fdae2fd8ceac6b6234c7706214fd39c1cd1e609a0528c199300;\n\n    function _getOwnableStorage() private pure returns (OwnableStorage storage $) {\n        assembly {\n            $.slot := OwnableStorageLocation\n        }\n    }\n\n    /**\n     * @dev The caller account is not authorized to perform an operation.\n     */\n    error OwnableUnauthorizedAccount(address account);\n\n    /**\n     * @dev The owner is not a valid owner account. (eg. `address(0)`)\n     */\n    error OwnableInvalidOwner(address owner);\n\n    event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);\n\n    /**\n     * @dev Initializes the contract setting the address provided by the deployer as the initial owner.\n     */\n    function __Ownable_init(address initialOwner) internal onlyInitializing {\n        __Ownable_init_unchained(initialOwner);\n    }\n\n    function __Ownable_init_unchained(address initialOwner) internal onlyInitializing {\n        if (initialOwner == address(0)) {\n            revert OwnableInvalidOwner(address(0));\n        }\n        _transferOwnership(initialOwner);\n    }\n\n    /**\n     * @dev Throws if called by any account other than the owner.\n     */\n    modifier onlyOwner() {\n        _checkOwner();\n        _;\n    }\n\n    /**\n     * @dev Returns the address of the current owner.\n     */\n    function owner() public view virtual returns (address) {\n        OwnableStorage storage $ = _getOwnableStorage();\n        return $._owner;\n    }\n\n    /**\n     * @dev Throws if the sender is not the owner.\n     */\n    function _checkOwner() internal view virtual {\n        if (owner() != _msgSender()) {\n            revert OwnableUnauthorizedAccount(_msgSender());\n        }\n    }\n\n    /**\n     * @dev Leaves the contract without owner. It will not be possible to call\n     * `onlyOwner` functions. Can only be called by the current owner.\n     *\n     * NOTE: Renouncing ownership will leave the contract without an owner,\n     * thereby disabling any functionality that is only available to the owner.\n     */\n    function renounceOwnership() public virtual onlyOwner {\n        _transferOwnership(address(0));\n    }\n\n    /**\n     * @dev Transfers ownership of the contract to a new account (`newOwner`).\n     * Can only be called by the current owner.\n     */\n    function transferOwnership(address newOwner) public virtual onlyOwner {\n        if (newOwner == address(0)) {\n            revert OwnableInvalidOwner(address(0));\n        }\n        _transferOwnership(newOwner);\n    }\n\n    /**\n     * @dev Transfers ownership of the contract to a new account (`newOwner`).\n     * Internal function without access restriction.\n     */\n    function _transferOwnership(address newOwner) internal virtual {\n        OwnableStorage storage $ = _getOwnableStorage();\n        address oldOwner = $._owner;\n        $._owner = newOwner;\n        emit OwnershipTransferred(oldOwner, newOwner);\n    }\n}\n"},"node_modules/@openzeppelin/contracts-upgradeable/utils/ReentrancyGuardUpgradeable.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.1.0) (utils/ReentrancyGuard.sol)\n\npragma solidity ^0.8.20;\nimport {Initializable} from \"../proxy/utils/Initializable.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 */\nabstract contract ReentrancyGuardUpgradeable is Initializable {\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    /// @custom:storage-location erc7201:openzeppelin.storage.ReentrancyGuard\n    struct ReentrancyGuardStorage {\n        uint256 _status;\n    }\n\n    // keccak256(abi.encode(uint256(keccak256(\"openzeppelin.storage.ReentrancyGuard\")) - 1)) & ~bytes32(uint256(0xff))\n    bytes32 private constant ReentrancyGuardStorageLocation = 0x9b779b17422d0df92223018b32b4d1fa46e071723d6817e2486d003becc55f00;\n\n    function _getReentrancyGuardStorage() private pure returns (ReentrancyGuardStorage storage $) {\n        assembly {\n            $.slot := ReentrancyGuardStorageLocation\n        }\n    }\n\n    /**\n     * @dev Unauthorized reentrant call.\n     */\n    error ReentrancyGuardReentrantCall();\n\n    function __ReentrancyGuard_init() internal onlyInitializing {\n        __ReentrancyGuard_init_unchained();\n    }\n\n    function __ReentrancyGuard_init_unchained() internal onlyInitializing {\n        ReentrancyGuardStorage storage $ = _getReentrancyGuardStorage();\n        $._status = 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    function _nonReentrantBefore() private {\n        ReentrancyGuardStorage storage $ = _getReentrancyGuardStorage();\n        // On the first call to nonReentrant, _status will be NOT_ENTERED\n        if ($._status == ENTERED) {\n            revert ReentrancyGuardReentrantCall();\n        }\n\n        // Any calls to nonReentrant after this point will fail\n        $._status = ENTERED;\n    }\n\n    function _nonReentrantAfter() private {\n        ReentrancyGuardStorage storage $ = _getReentrancyGuardStorage();\n        // By storing the original value once again, a refund is triggered (see\n        // https://eips.ethereum.org/EIPS/eip-2200)\n        $._status = 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        ReentrancyGuardStorage storage $ = _getReentrancyGuardStorage();\n        return $._status == ENTERED;\n    }\n}\n"},"node_modules/@openzeppelin/contracts/interfaces/draft-IERC6093.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.1.0) (interfaces/draft-IERC6093.sol)\npragma solidity ^0.8.20;\n\n/**\n * @dev Standard ERC-20 Errors\n * Interface of the https://eips.ethereum.org/EIPS/eip-6093[ERC-6093] custom errors for ERC-20 tokens.\n */\ninterface IERC20Errors {\n    /**\n     * @dev Indicates an error related to the current `balance` of a `sender`. Used in transfers.\n     * @param sender Address whose tokens are being transferred.\n     * @param balance Current balance for the interacting account.\n     * @param needed Minimum amount required to perform a transfer.\n     */\n    error ERC20InsufficientBalance(address sender, uint256 balance, uint256 needed);\n\n    /**\n     * @dev Indicates a failure with the token `sender`. Used in transfers.\n     * @param sender Address whose tokens are being transferred.\n     */\n    error ERC20InvalidSender(address sender);\n\n    /**\n     * @dev Indicates a failure with the token `receiver`. Used in transfers.\n     * @param receiver Address to which tokens are being transferred.\n     */\n    error ERC20InvalidReceiver(address receiver);\n\n    /**\n     * @dev Indicates a failure with the `spender`’s `allowance`. Used in transfers.\n     * @param spender Address that may be allowed to operate on tokens without being their owner.\n     * @param allowance Amount of tokens a `spender` is allowed to operate with.\n     * @param needed Minimum amount required to perform a transfer.\n     */\n    error ERC20InsufficientAllowance(address spender, uint256 allowance, uint256 needed);\n\n    /**\n     * @dev Indicates a failure with the `approver` of a token to be approved. Used in approvals.\n     * @param approver Address initiating an approval operation.\n     */\n    error ERC20InvalidApprover(address approver);\n\n    /**\n     * @dev Indicates a failure with the `spender` to be approved. Used in approvals.\n     * @param spender Address that may be allowed to operate on tokens without being their owner.\n     */\n    error ERC20InvalidSpender(address spender);\n}\n\n/**\n * @dev Standard ERC-721 Errors\n * Interface of the https://eips.ethereum.org/EIPS/eip-6093[ERC-6093] custom errors for ERC-721 tokens.\n */\ninterface IERC721Errors {\n    /**\n     * @dev Indicates that an address can't be an owner. For example, `address(0)` is a forbidden owner in ERC-20.\n     * Used in balance queries.\n     * @param owner Address of the current owner of a token.\n     */\n    error ERC721InvalidOwner(address owner);\n\n    /**\n     * @dev Indicates a `tokenId` whose `owner` is the zero address.\n     * @param tokenId Identifier number of a token.\n     */\n    error ERC721NonexistentToken(uint256 tokenId);\n\n    /**\n     * @dev Indicates an error related to the ownership over a particular token. Used in transfers.\n     * @param sender Address whose tokens are being transferred.\n     * @param tokenId Identifier number of a token.\n     * @param owner Address of the current owner of a token.\n     */\n    error ERC721IncorrectOwner(address sender, uint256 tokenId, address owner);\n\n    /**\n     * @dev Indicates a failure with the token `sender`. Used in transfers.\n     * @param sender Address whose tokens are being transferred.\n     */\n    error ERC721InvalidSender(address sender);\n\n    /**\n     * @dev Indicates a failure with the token `receiver`. Used in transfers.\n     * @param receiver Address to which tokens are being transferred.\n     */\n    error ERC721InvalidReceiver(address receiver);\n\n    /**\n     * @dev Indicates a failure with the `operator`’s approval. Used in transfers.\n     * @param operator Address that may be allowed to operate on tokens without being their owner.\n     * @param tokenId Identifier number of a token.\n     */\n    error ERC721InsufficientApproval(address operator, uint256 tokenId);\n\n    /**\n     * @dev Indicates a failure with the `approver` of a token to be approved. Used in approvals.\n     * @param approver Address initiating an approval operation.\n     */\n    error ERC721InvalidApprover(address approver);\n\n    /**\n     * @dev Indicates a failure with the `operator` to be approved. Used in approvals.\n     * @param operator Address that may be allowed to operate on tokens without being their owner.\n     */\n    error ERC721InvalidOperator(address operator);\n}\n\n/**\n * @dev Standard ERC-1155 Errors\n * Interface of the https://eips.ethereum.org/EIPS/eip-6093[ERC-6093] custom errors for ERC-1155 tokens.\n */\ninterface IERC1155Errors {\n    /**\n     * @dev Indicates an error related to the current `balance` of a `sender`. Used in transfers.\n     * @param sender Address whose tokens are being transferred.\n     * @param balance Current balance for the interacting account.\n     * @param needed Minimum amount required to perform a transfer.\n     * @param tokenId Identifier number of a token.\n     */\n    error ERC1155InsufficientBalance(address sender, uint256 balance, uint256 needed, uint256 tokenId);\n\n    /**\n     * @dev Indicates a failure with the token `sender`. Used in transfers.\n     * @param sender Address whose tokens are being transferred.\n     */\n    error ERC1155InvalidSender(address sender);\n\n    /**\n     * @dev Indicates a failure with the token `receiver`. Used in transfers.\n     * @param receiver Address to which tokens are being transferred.\n     */\n    error ERC1155InvalidReceiver(address receiver);\n\n    /**\n     * @dev Indicates a failure with the `operator`’s approval. Used in transfers.\n     * @param operator Address that may be allowed to operate on tokens without being their owner.\n     * @param owner Address of the current owner of a token.\n     */\n    error ERC1155MissingApprovalForAll(address operator, address owner);\n\n    /**\n     * @dev Indicates a failure with the `approver` of a token to be approved. Used in approvals.\n     * @param approver Address initiating an approval operation.\n     */\n    error ERC1155InvalidApprover(address approver);\n\n    /**\n     * @dev Indicates a failure with the `operator` to be approved. Used in approvals.\n     * @param operator Address that may be allowed to operate on tokens without being their owner.\n     */\n    error ERC1155InvalidOperator(address operator);\n\n    /**\n     * @dev Indicates an array length mismatch between ids and values in a safeBatchTransferFrom operation.\n     * Used in batch transfers.\n     * @param idsLength Length of the array of token identifiers\n     * @param valuesLength Length of the array of token amounts\n     */\n    error ERC1155InvalidArrayLength(uint256 idsLength, uint256 valuesLength);\n}\n"},"node_modules/@openzeppelin/contracts/utils/introspection/IERC165.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.1.0) (utils/introspection/IERC165.sol)\n\npragma solidity ^0.8.20;\n\n/**\n * @dev Interface of the ERC-165 standard, as defined in the\n * https://eips.ethereum.org/EIPS/eip-165[ERC].\n *\n * Implementers can declare support of contract interfaces, which can then be\n * queried by others ({ERC165Checker}).\n *\n * For an implementation, see {ERC165}.\n */\ninterface IERC165 {\n    /**\n     * @dev Returns true if this contract implements the interface defined by\n     * `interfaceId`. See the corresponding\n     * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[ERC section]\n     * to learn more about how these ids are created.\n     *\n     * This function call must use less than 30 000 gas.\n     */\n    function supportsInterface(bytes4 interfaceId) external view returns (bool);\n}\n"},"node_modules/@openzeppelin/contracts-upgradeable/utils/ContextUpgradeable.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.0.1) (utils/Context.sol)\n\npragma solidity ^0.8.20;\nimport {Initializable} from \"../proxy/utils/Initializable.sol\";\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 ContextUpgradeable is Initializable {\n    function __Context_init() internal onlyInitializing {\n    }\n\n    function __Context_init_unchained() internal onlyInitializing {\n    }\n    function _msgSender() internal view virtual returns (address) {\n        return msg.sender;\n    }\n\n    function _msgData() internal view virtual returns (bytes calldata) {\n        return msg.data;\n    }\n\n    function _contextSuffixLength() internal view virtual returns (uint256) {\n        return 0;\n    }\n}\n"},"node_modules/@openzeppelin/contracts-upgradeable/utils/introspection/ERC165Upgradeable.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.1.0) (utils/introspection/ERC165.sol)\n\npragma solidity ^0.8.20;\n\nimport {IERC165} from \"@openzeppelin/contracts/utils/introspection/IERC165.sol\";\nimport {Initializable} from \"../../proxy/utils/Initializable.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 ERC165Upgradeable is Initializable, IERC165 {\n    function __ERC165_init() internal onlyInitializing {\n    }\n\n    function __ERC165_init_unchained() internal onlyInitializing {\n    }\n    /**\n     * @dev See {IERC165-supportsInterface}.\n     */\n    function supportsInterface(bytes4 interfaceId) public view virtual returns (bool) {\n        return interfaceId == type(IERC165).interfaceId;\n    }\n}\n"}},"compilation":{"language":"Solidity","compiler":"solc","compilerVersion":"0.8.27+commit.40a35a09","compilerSettings":{"viaIR":false,"metadata":{"appendCBOR":true,"bytecodeHash":"ipfs","useLiteralContent":false},"libraries":{"src/implementation/ConcreteAsyncVaultImpl.sol":{"StateInitLib":"0x8d5d294fd63ee3b16abdca4b59597719a576e551","StateSetterLib":"0x5d433d113c211891d3c2bae6cd3b39adeffd64cc","AsyncVaultHelperLib":"0x5cc3c3cea2e885f1870f3cae1eb9601d5d278d4a"}},"optimizer":{"runs":190,"enabled":true},"evmVersion":"prague","remappings":["erc4626-tests/=lib/openzeppelin-contracts-upgradeable/lib/erc4626-tests/","forge-std/=lib/forge-std/src/","halmos-cheatcodes/=lib/openzeppelin-contracts-upgradeable/lib/halmos-cheatcodes/src/","@openzeppelin-upgradeable/=node_modules/@openzeppelin/contracts-upgradeable/","@openzeppelin-contracts/=node_modules/@openzeppelin/contracts/","openzeppelin-foundry-upgrades/=node_modules/@openzeppelin/foundry-upgrades/","solidity-bytes-utils/=node_modules/solidity-bytes-utils/","@layerzerolabs/lz-evm-protocol-v2/=node_modules/@layerzerolabs/lz-evm-protocol-v2/","@layerzerolabs/lz-evm-messagelib-v2/=node_modules/@layerzerolabs/lz-evm-messagelib-v2/","@layerzerolabs/lz-evm-v1-0.7/=node_modules/@layerzerolabs/lz-evm-v1-0.7/","@layerzerolabs/oapp-evm/=node_modules/@layerzerolabs/oapp-evm/","@layerzerolabs/oapp-evm-upgradeable/=node_modules/@layerzerolabs/oapp-evm-upgradeable/","@layerzerolabs/test-devtools-evm-foundry/=node_modules/@layerzerolabs/test-devtools-evm-foundry/","@openzeppelin/=node_modules/@openzeppelin/"]},"name":"ConcreteAsyncVaultImpl","fullyQualifiedName":"src/implementation/ConcreteAsyncVaultImpl.sol:ConcreteAsyncVaultImpl"},"abi":[{"type":"constructor","inputs":[{"name":"factory","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":"AddressEmptyCode","type":"error","inputs":[{"name":"target","type":"address","internalType":"address"}]},{"name":"AlreadyInitialized","type":"error","inputs":[]},{"name":"AssetAmountOutOfBounds","type":"error","inputs":[{"name":"sender","type":"address","internalType":"address"},{"name":"assets","type":"uint256","internalType":"uint256"},{"name":"minDepositAmount","type":"uint256","internalType":"uint256"},{"name":"maxDepositAmount","type":"uint256","internalType":"uint256"}]},{"name":"CannotToggleInactiveStrategy","type":"error","inputs":[]},{"name":"ERC20InsufficientAllowance","type":"error","inputs":[{"name":"spender","type":"address","internalType":"address"},{"name":"allowance","type":"uint256","internalType":"uint256"},{"name":"needed","type":"uint256","internalType":"uint256"}]},{"name":"ERC20InsufficientBalance","type":"error","inputs":[{"name":"sender","type":"address","internalType":"address"},{"name":"balance","type":"uint256","internalType":"uint256"},{"name":"needed","type":"uint256","internalType":"uint256"}]},{"name":"ERC20InvalidApprover","type":"error","inputs":[{"name":"approver","type":"address","internalType":"address"}]},{"name":"ERC20InvalidReceiver","type":"error","inputs":[{"name":"receiver","type":"address","internalType":"address"}]},{"name":"ERC20InvalidSender","type":"error","inputs":[{"name":"sender","type":"address","internalType":"address"}]},{"name":"ERC20InvalidSpender","type":"error","inputs":[{"name":"spender","type":"address","internalType":"address"}]},{"name":"ERC4626ExceededMaxDeposit","type":"error","inputs":[{"name":"receiver","type":"address","internalType":"address"},{"name":"assets","type":"uint256","internalType":"uint256"},{"name":"max","type":"uint256","internalType":"uint256"}]},{"name":"ERC4626ExceededMaxMint","type":"error","inputs":[{"name":"receiver","type":"address","internalType":"address"},{"name":"shares","type":"uint256","internalType":"uint256"},{"name":"max","type":"uint256","internalType":"uint256"}]},{"name":"ERC4626ExceededMaxRedeem","type":"error","inputs":[{"name":"owner","type":"address","internalType":"address"},{"name":"shares","type":"uint256","internalType":"uint256"},{"name":"max","type":"uint256","internalType":"uint256"}]},{"name":"ERC4626ExceededMaxWithdraw","type":"error","inputs":[{"name":"owner","type":"address","internalType":"address"},{"name":"assets","type":"uint256","internalType":"uint256"},{"name":"max","type":"uint256","internalType":"uint256"}]},{"name":"EmptyEpochIDs","type":"error","inputs":[]},{"name":"EmptyUsers","type":"error","inputs":[]},{"name":"EpochAlreadyClosed","type":"error","inputs":[{"name":"epochID","type":"uint256","internalType":"uint256"}]},{"name":"EpochAlreadyProcessed","type":"error","inputs":[{"name":"epochID","type":"uint256","internalType":"uint256"}]},{"name":"EpochNotProcessed","type":"error","inputs":[{"name":"epochID","type":"uint256","internalType":"uint256"}]},{"name":"EpochStillOpen","type":"error","inputs":[{"name":"epochID","type":"uint256","internalType":"uint256"}]},{"name":"FailedCall","type":"error","inputs":[]},{"name":"FeeRecipientNotSet","type":"error","inputs":[]},{"name":"InsufficientAssets","type":"error","inputs":[]},{"name":"InsufficientBalance","type":"error","inputs":[]},{"name":"InsufficientShares","type":"error","inputs":[]},{"name":"InvalidAllocateModule","type":"error","inputs":[]},{"name":"InvalidAsset","type":"error","inputs":[]},{"name":"InvalidDepositLimits","type":"error","inputs":[]},{"name":"InvalidFactoryOwner","type":"error","inputs":[]},{"name":"InvalidFeeRecipient","type":"error","inputs":[]},{"name":"InvalidInitialVaultManager","type":"error","inputs":[]},{"name":"InvalidInitialization","type":"error","inputs":[]},{"name":"InvalidName","type":"error","inputs":[]},{"name":"InvalidReceiver","type":"error","inputs":[]},{"name":"InvalidStrategyAsset","type":"error","inputs":[]},{"name":"InvalidSymbol","type":"error","inputs":[]},{"name":"InvalidWithdrawLimits","type":"error","inputs":[]},{"name":"ManagementFeeExceedsMaximum","type":"error","inputs":[]},{"name":"NoClaimableRequest","type":"error","inputs":[]},{"name":"NoRedeemableAssets","type":"error","inputs":[]},{"name":"NoRequestingShares","type":"error","inputs":[]},{"name":"NotFactory","type":"error","inputs":[]},{"name":"NotInitialized","type":"error","inputs":[]},{"name":"NotInitializing","type":"error","inputs":[]},{"name":"OwnableInvalidOwner","type":"error","inputs":[{"name":"owner","type":"address","internalType":"address"}]},{"name":"OwnableUnauthorizedAccount","type":"error","inputs":[{"name":"account","type":"address","internalType":"address"}]},{"name":"PerformanceFeeExceedsMaximum","type":"error","inputs":[]},{"name":"PreviousEpochAlreadyProcessed","type":"error","inputs":[{"name":"epochID","type":"uint256","internalType":"uint256"}]},{"name":"PreviousEpochNotProcessed","type":"error","inputs":[{"name":"epochID","type":"uint256","internalType":"uint256"}]},{"name":"ReentrancyGuardReentrantCall","type":"error","inputs":[]},{"name":"SafeCastOverflowedUintDowncast","type":"error","inputs":[{"name":"bits","type":"uint8","internalType":"uint8"},{"name":"value","type":"uint256","internalType":"uint256"}]},{"name":"SafeERC20FailedOperation","type":"error","inputs":[{"name":"token","type":"address","internalType":"address"}]},{"name":"StrategyAlreadyAdded","type":"error","inputs":[]},{"name":"StrategyAlreadyHalted","type":"error","inputs":[]},{"name":"StrategyDoesNotExist","type":"error","inputs":[]},{"name":"StrategyHasAllocation","type":"error","inputs":[]},{"name":"StrategyIsHalted","type":"error","inputs":[]},{"name":"ZeroAddress","type":"error","inputs":[]},{"name":"ZeroShares","type":"error","inputs":[]},{"name":"Approval","type":"event","inputs":[{"name":"owner","type":"address","indexed":true,"internalType":"address"},{"name":"spender","type":"address","indexed":true,"internalType":"address"},{"name":"value","type":"uint256","indexed":false,"internalType":"uint256"}],"anonymous":false},{"name":"DeallocationOrderUpdated","type":"event","inputs":[],"anonymous":false},{"name":"Deposit","type":"event","inputs":[{"name":"sender","type":"address","indexed":true,"internalType":"address"},{"name":"owner","type":"address","indexed":true,"internalType":"address"},{"name":"assets","type":"uint256","indexed":false,"internalType":"uint256"},{"name":"shares","type":"uint256","indexed":false,"internalType":"uint256"}],"anonymous":false},{"name":"DepositLimitsUpdated","type":"event","inputs":[{"name":"maxDepositAmount","type":"uint256","indexed":false,"internalType":"uint256"},{"name":"minDepositAmount","type":"uint256","indexed":false,"internalType":"uint256"}],"anonymous":false},{"name":"EpochClosed","type":"event","inputs":[{"name":"epochID","type":"uint256","indexed":false,"internalType":"uint256"}],"anonymous":false},{"name":"EpochProcessed","type":"event","inputs":[{"name":"epochID","type":"uint256","indexed":false,"internalType":"uint256"},{"name":"shares","type":"uint256","indexed":false,"internalType":"uint256"},{"name":"assets","type":"uint256","indexed":false,"internalType":"uint256"},{"name":"sharePrice","type":"uint256","indexed":false,"internalType":"uint256"}],"anonymous":false},{"name":"HooksSet","type":"event","inputs":[{"name":"hooks","type":"tuple","indexed":false,"components":[{"name":"target","type":"address","internalType":"address"},{"name":"flags","type":"uint96","internalType":"uint96"}],"internalType":"struct Hooks"}],"anonymous":false},{"name":"Initialized","type":"event","inputs":[{"name":"version","type":"uint64","indexed":false,"internalType":"uint64"}],"anonymous":false},{"name":"ManagementFeeAccrued","type":"event","inputs":[{"name":"recipient","type":"address","indexed":true,"internalType":"address"},{"name":"shares","type":"uint256","indexed":false,"internalType":"uint256"},{"name":"feeAmount","type":"uint256","indexed":false,"internalType":"uint256"}],"anonymous":false},{"name":"ManagementFeeRecipientUpdated","type":"event","inputs":[{"name":"managementFeeRecipient","type":"address","indexed":false,"internalType":"address"}],"anonymous":false},{"name":"ManagementFeeUpdated","type":"event","inputs":[{"name":"managementFee","type":"uint16","indexed":false,"internalType":"uint16"}],"anonymous":false},{"name":"OwnershipTransferred","type":"event","inputs":[{"name":"previousOwner","type":"address","indexed":true,"internalType":"address"},{"name":"newOwner","type":"address","indexed":true,"internalType":"address"}],"anonymous":false},{"name":"PerformanceFeeAccrued","type":"event","inputs":[{"name":"recipient","type":"address","indexed":true,"internalType":"address"},{"name":"shares","type":"uint256","indexed":false,"internalType":"uint256"},{"name":"feeAmount","type":"uint256","indexed":false,"internalType":"uint256"}],"anonymous":false},{"name":"PerformanceFeeRecipientUpdated","type":"event","inputs":[{"name":"performanceFeeRecipient","type":"address","indexed":false,"internalType":"address"}],"anonymous":false},{"name":"PerformanceFeeUpdated","type":"event","inputs":[{"name":"performanceFee","type":"uint16","indexed":false,"internalType":"uint16"}],"anonymous":false},{"name":"QueueActiveToggled","type":"event","inputs":[{"name":"isQueueActive","type":"bool","indexed":false,"internalType":"bool"}],"anonymous":false},{"name":"QueuedWithdrawal","type":"event","inputs":[{"name":"caller","type":"address","indexed":true,"internalType":"address"},{"name":"receiver","type":"address","indexed":true,"internalType":"address"},{"name":"owner","type":"address","indexed":true,"internalType":"address"},{"name":"assets","type":"uint256","indexed":false,"internalType":"uint256"},{"name":"shares","type":"uint256","indexed":false,"internalType":"uint256"},{"name":"epochID","type":"uint256","indexed":false,"internalType":"uint256"}],"anonymous":false},{"name":"RequestCancelled","type":"event","inputs":[{"name":"owner","type":"address","indexed":true,"internalType":"address"},{"name":"shares","type":"uint256","indexed":false,"internalType":"uint256"},{"name":"epochID","type":"uint256","indexed":false,"internalType":"uint256"}],"anonymous":false},{"name":"RequestClaimed","type":"event","inputs":[{"name":"owner","type":"address","indexed":true,"internalType":"address"},{"name":"assets","type":"uint256","indexed":false,"internalType":"uint256"},{"name":"epochIDs","type":"uint256[]","indexed":false,"internalType":"uint256[]"}],"anonymous":false},{"name":"RequestMovedToNextEpoch","type":"event","inputs":[{"name":"user","type":"address","indexed":true,"internalType":"address"},{"name":"shares","type":"uint256","indexed":false,"internalType":"uint256"},{"name":"currentEpochID","type":"uint256","indexed":false,"internalType":"uint256"},{"name":"nextEpochID","type":"uint256","indexed":false,"internalType":"uint256"}],"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":"StrategyAdded","type":"event","inputs":[{"name":"strategy","type":"address","indexed":false,"internalType":"address"}],"anonymous":false},{"name":"StrategyHalted","type":"event","inputs":[{"name":"strategy","type":"address","indexed":false,"internalType":"address"}],"anonymous":false},{"name":"StrategyRemoved","type":"event","inputs":[{"name":"strategy","type":"address","indexed":false,"internalType":"address"}],"anonymous":false},{"name":"StrategyStatusToggled","type":"event","inputs":[{"name":"strategy","type":"address","indexed":true,"internalType":"address"}],"anonymous":false},{"name":"StrategyYieldAccrued","type":"event","inputs":[{"name":"strategy","type":"address","indexed":true,"internalType":"address"},{"name":"currentTotalAllocatedValue","type":"uint256","indexed":false,"internalType":"uint256"},{"name":"yield","type":"uint256","indexed":false,"internalType":"uint256"},{"name":"loss","type":"uint256","indexed":false,"internalType":"uint256"}],"anonymous":false},{"name":"Transfer","type":"event","inputs":[{"name":"from","type":"address","indexed":true,"internalType":"address"},{"name":"to","type":"address","indexed":true,"internalType":"address"},{"name":"value","type":"uint256","indexed":false,"internalType":"uint256"}],"anonymous":false},{"name":"Withdraw","type":"event","inputs":[{"name":"sender","type":"address","indexed":true,"internalType":"address"},{"name":"receiver","type":"address","indexed":true,"internalType":"address"},{"name":"owner","type":"address","indexed":true,"internalType":"address"},{"name":"assets","type":"uint256","indexed":false,"internalType":"uint256"},{"name":"shares","type":"uint256","indexed":false,"internalType":"uint256"}],"anonymous":false},{"name":"WithdrawLimitsUpdated","type":"event","inputs":[{"name":"maxWithdrawAmount","type":"uint256","indexed":false,"internalType":"uint256"},{"name":"minWithdrawAmount","type":"uint256","indexed":false,"internalType":"uint256"}],"anonymous":false},{"name":"WithdrawalQueueInitialized","type":"event","inputs":[{"name":"epochID","type":"uint256","indexed":false,"internalType":"uint256"}],"anonymous":false},{"name":"YieldAccrued","type":"event","inputs":[{"name":"totalPositiveYield","type":"uint256","indexed":false,"internalType":"uint256"},{"name":"totalNegativeYield","type":"uint256","indexed":false,"internalType":"uint256"}],"anonymous":false},{"name":"DEFAULT_ADMIN_ROLE","type":"function","inputs":[],"outputs":[{"name":"","type":"bytes32","internalType":"bytes32"}],"stateMutability":"view"},{"name":"accrueYield","type":"function","inputs":[],"outputs":[],"stateMutability":"nonpayable"},{"name":"addStrategy","type":"function","inputs":[{"name":"strategy","type":"address","internalType":"address"}],"outputs":[],"stateMutability":"nonpayable"},{"name":"allocate","type":"function","inputs":[{"name":"data","type":"bytes","internalType":"bytes"}],"outputs":[],"stateMutability":"nonpayable"},{"name":"allocateModule","type":"function","inputs":[],"outputs":[{"name":"","type":"address","internalType":"address"}],"stateMutability":"view"},{"name":"allowance","type":"function","inputs":[{"name":"owner","type":"address","internalType":"address"},{"name":"spender","type":"address","internalType":"address"}],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"approve","type":"function","inputs":[{"name":"spender","type":"address","internalType":"address"},{"name":"value","type":"uint256","internalType":"uint256"}],"outputs":[{"name":"","type":"bool","internalType":"bool"}],"stateMutability":"nonpayable"},{"name":"asset","type":"function","inputs":[],"outputs":[{"name":"","type":"address","internalType":"address"}],"stateMutability":"view"},{"name":"balanceOf","type":"function","inputs":[{"name":"account","type":"address","internalType":"address"}],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"cachedTotalAssets","type":"function","inputs":[],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"cancelRequest","type":"function","inputs":[{"name":"epochID","type":"uint256","internalType":"uint256"}],"outputs":[],"stateMutability":"nonpayable"},{"name":"cancelRequest","type":"function","inputs":[{"name":"user","type":"address","internalType":"address"},{"name":"epochID","type":"uint256","internalType":"uint256"}],"outputs":[],"stateMutability":"nonpayable"},{"name":"claimUsersBatch","type":"function","inputs":[{"name":"users","type":"address[]","internalType":"address[]"},{"name":"epochID","type":"uint256","internalType":"uint256"}],"outputs":[],"stateMutability":"nonpayable"},{"name":"claimWithdrawal","type":"function","inputs":[{"name":"epochIDs","type":"uint256[]","internalType":"uint256[]"}],"outputs":[],"stateMutability":"nonpayable"},{"name":"claimWithdrawal","type":"function","inputs":[{"name":"user","type":"address","internalType":"address"},{"name":"epochIDs","type":"uint256[]","internalType":"uint256[]"}],"outputs":[],"stateMutability":"nonpayable"},{"name":"closeEpoch","type":"function","inputs":[],"outputs":[],"stateMutability":"nonpayable"},{"name":"convertToAssets","type":"function","inputs":[{"name":"shares","type":"uint256","internalType":"uint256"}],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"convertToShares","type":"function","inputs":[{"name":"assets","type":"uint256","internalType":"uint256"}],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"decimals","type":"function","inputs":[],"outputs":[{"name":"","type":"uint8","internalType":"uint8"}],"stateMutability":"view"},{"name":"deposit","type":"function","inputs":[{"name":"assets","type":"uint256","internalType":"uint256"},{"name":"receiver","type":"address","internalType":"address"}],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"nonpayable"},{"name":"factory","type":"function","inputs":[],"outputs":[{"name":"","type":"address","internalType":"address"}],"stateMutability":"view"},{"name":"getDeallocationOrder","type":"function","inputs":[],"outputs":[{"name":"order","type":"address[]","internalType":"address[]"}],"stateMutability":"view"},{"name":"getDepositLimits","type":"function","inputs":[],"outputs":[{"name":"","type":"uint256","internalType":"uint256"},{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"getEpochPricePerShare","type":"function","inputs":[{"name":"epochID","type":"uint256","internalType":"uint256"}],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"getEpochState","type":"function","inputs":[{"name":"epochID","type":"uint256","internalType":"uint256"}],"outputs":[{"name":"","type":"uint8","internalType":"enum IConcreteAsyncVaultImpl.EpochState"}],"stateMutability":"view"},{"name":"getFeeConfig","type":"function","inputs":[],"outputs":[{"name":"currentManagementFee","type":"uint16","internalType":"uint16"},{"name":"currentManagementFeeRecipient","type":"address","internalType":"address"},{"name":"currentLastManagementFeeAccrual","type":"uint32","internalType":"uint32"},{"name":"currentPerformanceFee","type":"uint16","internalType":"uint16"},{"name":"currentPerformanceFeeRecipient","type":"address","internalType":"address"}],"stateMutability":"view"},{"name":"getRoleAdmin","type":"function","inputs":[{"name":"role","type":"bytes32","internalType":"bytes32"}],"outputs":[{"name":"","type":"bytes32","internalType":"bytes32"}],"stateMutability":"view"},{"name":"getRoleMember","type":"function","inputs":[{"name":"role","type":"bytes32","internalType":"bytes32"},{"name":"index","type":"uint256","internalType":"uint256"}],"outputs":[{"name":"","type":"address","internalType":"address"}],"stateMutability":"view"},{"name":"getRoleMemberCount","type":"function","inputs":[{"name":"role","type":"bytes32","internalType":"bytes32"}],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"getRoleMembers","type":"function","inputs":[{"name":"role","type":"bytes32","internalType":"bytes32"}],"outputs":[{"name":"","type":"address[]","internalType":"address[]"}],"stateMutability":"view"},{"name":"getStrategies","type":"function","inputs":[],"outputs":[{"name":"","type":"address[]","internalType":"address[]"}],"stateMutability":"view"},{"name":"getStrategyData","type":"function","inputs":[{"name":"strategy","type":"address","internalType":"address"}],"outputs":[{"name":"","type":"tuple","components":[{"name":"status","type":"uint8","internalType":"enum IConcreteStandardVaultImpl.StrategyStatus"},{"name":"allocated","type":"uint120","internalType":"uint120"}],"internalType":"struct IConcreteStandardVaultImpl.StrategyData"}],"stateMutability":"view"},{"name":"getTotalAllocated","type":"function","inputs":[],"outputs":[{"name":"totalAllocated","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"getUserEpochRequest","type":"function","inputs":[{"name":"user","type":"address","internalType":"address"},{"name":"epochID","type":"uint256","internalType":"uint256"}],"outputs":[{"name":"shares","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"getUserEpochRequestInAssets","type":"function","inputs":[{"name":"user","type":"address","internalType":"address"},{"name":"epochID","type":"uint256","internalType":"uint256"}],"outputs":[{"name":"assets","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"getWithdrawLimits","type":"function","inputs":[],"outputs":[{"name":"","type":"uint256","internalType":"uint256"},{"name":"","type":"uint256","internalType":"uint256"}],"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":"initialize","type":"function","inputs":[{"name":"initialVersion","type":"uint64","internalType":"uint64"},{"name":"owner_","type":"address","internalType":"address"},{"name":"data","type":"bytes","internalType":"bytes"}],"outputs":[],"stateMutability":"nonpayable"},{"name":"isQueueActive","type":"function","inputs":[],"outputs":[{"name":"","type":"bool","internalType":"bool"}],"stateMutability":"view"},{"name":"latestEpochID","type":"function","inputs":[],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"managementFee","type":"function","inputs":[],"outputs":[{"name":"","type":"address","internalType":"address"},{"name":"","type":"uint16","internalType":"uint16"},{"name":"","type":"uint32","internalType":"uint32"}],"stateMutability":"view"},{"name":"maxDeposit","type":"function","inputs":[{"name":"","type":"address","internalType":"address"}],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"maxMint","type":"function","inputs":[{"name":"","type":"address","internalType":"address"}],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"maxRedeem","type":"function","inputs":[{"name":"owner","type":"address","internalType":"address"}],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"maxWithdraw","type":"function","inputs":[{"name":"owner","type":"address","internalType":"address"}],"outputs":[{"name":"maxAssets","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"mint","type":"function","inputs":[{"name":"shares","type":"uint256","internalType":"uint256"},{"name":"receiver","type":"address","internalType":"address"}],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"nonpayable"},{"name":"moveRequestToNextEpoch","type":"function","inputs":[{"name":"user","type":"address","internalType":"address"}],"outputs":[],"stateMutability":"nonpayable"},{"name":"name","type":"function","inputs":[],"outputs":[{"name":"","type":"string","internalType":"string"}],"stateMutability":"view"},{"name":"owner","type":"function","inputs":[],"outputs":[{"name":"","type":"address","internalType":"address"}],"stateMutability":"view"},{"name":"pastEpochsUnclaimedAssets","type":"function","inputs":[],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"performanceFee","type":"function","inputs":[],"outputs":[{"name":"","type":"address","internalType":"address"},{"name":"","type":"uint16","internalType":"uint16"}],"stateMutability":"view"},{"name":"previewAccrueYield","type":"function","inputs":[],"outputs":[{"name":"","type":"uint256","internalType":"uint256"},{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"previewDeposit","type":"function","inputs":[{"name":"assets","type":"uint256","internalType":"uint256"}],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"previewMint","type":"function","inputs":[{"name":"shares","type":"uint256","internalType":"uint256"}],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"previewRedeem","type":"function","inputs":[{"name":"shares","type":"uint256","internalType":"uint256"}],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"previewWithdraw","type":"function","inputs":[{"name":"assets","type":"uint256","internalType":"uint256"}],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"processEpoch","type":"function","inputs":[],"outputs":[],"stateMutability":"nonpayable"},{"name":"redeem","type":"function","inputs":[{"name":"shares","type":"uint256","internalType":"uint256"},{"name":"receiver","type":"address","internalType":"address"},{"name":"owner","type":"address","internalType":"address"}],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"nonpayable"},{"name":"removeStrategy","type":"function","inputs":[{"name":"strategy","type":"address","internalType":"address"}],"outputs":[],"stateMutability":"nonpayable"},{"name":"renounceOwnership","type":"function","inputs":[],"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":"setDeallocationOrder","type":"function","inputs":[{"name":"order","type":"address[]","internalType":"address[]"}],"outputs":[],"stateMutability":"nonpayable"},{"name":"setDepositLimits","type":"function","inputs":[{"name":"minDepositAmount","type":"uint256","internalType":"uint256"},{"name":"maxDepositAmount","type":"uint256","internalType":"uint256"}],"outputs":[],"stateMutability":"nonpayable"},{"name":"setHooks","type":"function","inputs":[{"name":"hooks","type":"tuple","components":[{"name":"target","type":"address","internalType":"address"},{"name":"flags","type":"uint96","internalType":"uint96"}],"internalType":"struct Hooks"}],"outputs":[],"stateMutability":"nonpayable"},{"name":"setWithdrawLimits","type":"function","inputs":[{"name":"minWithdrawAmount","type":"uint256","internalType":"uint256"},{"name":"maxWithdrawAmount","type":"uint256","internalType":"uint256"}],"outputs":[],"stateMutability":"nonpayable"},{"name":"supportsInterface","type":"function","inputs":[{"name":"interfaceId","type":"bytes4","internalType":"bytes4"}],"outputs":[{"name":"","type":"bool","internalType":"bool"}],"stateMutability":"view"},{"name":"symbol","type":"function","inputs":[],"outputs":[{"name":"","type":"string","internalType":"string"}],"stateMutability":"view"},{"name":"toggleQueueActive","type":"function","inputs":[],"outputs":[],"stateMutability":"nonpayable"},{"name":"toggleStrategyStatus","type":"function","inputs":[{"name":"strategy","type":"address","internalType":"address"}],"outputs":[],"stateMutability":"nonpayable"},{"name":"totalAssets","type":"function","inputs":[],"outputs":[{"name":"totalAssetsWithYield","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"totalRequestedSharesForCurrentEpochs","type":"function","inputs":[],"outputs":[{"name":"","type":"uint256","internalType":"uint256"},{"name":"","type":"uint256","internalType":"uint256"},{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"totalRequestedSharesPerEpoch","type":"function","inputs":[{"name":"epochID","type":"uint256","internalType":"uint256"}],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"totalSupply","type":"function","inputs":[],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"transfer","type":"function","inputs":[{"name":"to","type":"address","internalType":"address"},{"name":"value","type":"uint256","internalType":"uint256"}],"outputs":[{"name":"","type":"bool","internalType":"bool"}],"stateMutability":"nonpayable"},{"name":"transferFrom","type":"function","inputs":[{"name":"from","type":"address","internalType":"address"},{"name":"to","type":"address","internalType":"address"},{"name":"value","type":"uint256","internalType":"uint256"}],"outputs":[{"name":"","type":"bool","internalType":"bool"}],"stateMutability":"nonpayable"},{"name":"transferOwnership","type":"function","inputs":[{"name":"newOwner","type":"address","internalType":"address"}],"outputs":[],"stateMutability":"nonpayable"},{"name":"updateManagementFee","type":"function","inputs":[{"name":"managementFee_","type":"uint16","internalType":"uint16"}],"outputs":[],"stateMutability":"nonpayable"},{"name":"updateManagementFeeRecipient","type":"function","inputs":[{"name":"recipient","type":"address","internalType":"address"}],"outputs":[],"stateMutability":"nonpayable"},{"name":"updatePerformanceFee","type":"function","inputs":[{"name":"performanceFee_","type":"uint16","internalType":"uint16"}],"outputs":[],"stateMutability":"nonpayable"},{"name":"updatePerformanceFeeRecipient","type":"function","inputs":[{"name":"recipient","type":"address","internalType":"address"}],"outputs":[],"stateMutability":"nonpayable"},{"name":"upgrade","type":"function","inputs":[{"name":"newVersion","type":"uint64","internalType":"uint64"},{"name":"data","type":"bytes","internalType":"bytes"}],"outputs":[],"stateMutability":"nonpayable"},{"name":"version","type":"function","inputs":[],"outputs":[{"name":"","type":"uint64","internalType":"uint64"}],"stateMutability":"view"},{"name":"withdraw","type":"function","inputs":[{"name":"assets","type":"uint256","internalType":"uint256"},{"name":"receiver","type":"address","internalType":"address"},{"name":"owner","type":"address","internalType":"address"}],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"nonpayable"}],"metadata":{"compiler":{"version":"0.8.27+commit.40a35a09"},"language":"Solidity","output":{"abi":[{"inputs":[{"internalType":"address","name":"factory","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":"target","type":"address"}],"name":"AddressEmptyCode","type":"error"},{"inputs":[],"name":"AlreadyInitialized","type":"error"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"uint256","name":"assets","type":"uint256"},{"internalType":"uint256","name":"minDepositAmount","type":"uint256"},{"internalType":"uint256","name":"maxDepositAmount","type":"uint256"}],"name":"AssetAmountOutOfBounds","type":"error"},{"inputs":[],"name":"CannotToggleInactiveStrategy","type":"error"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"allowance","type":"uint256"},{"internalType":"uint256","name":"needed","type":"uint256"}],"name":"ERC20InsufficientAllowance","type":"error"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"uint256","name":"balance","type":"uint256"},{"internalType":"uint256","name":"needed","type":"uint256"}],"name":"ERC20InsufficientBalance","type":"error"},{"inputs":[{"internalType":"address","name":"approver","type":"address"}],"name":"ERC20InvalidApprover","type":"error"},{"inputs":[{"internalType":"address","name":"receiver","type":"address"}],"name":"ERC20InvalidReceiver","type":"error"},{"inputs":[{"internalType":"address","name":"sender","type":"address"}],"name":"ERC20InvalidSender","type":"error"},{"inputs":[{"internalType":"address","name":"spender","type":"address"}],"name":"ERC20InvalidSpender","type":"error"},{"inputs":[{"internalType":"address","name":"receiver","type":"address"},{"internalType":"uint256","name":"assets","type":"uint256"},{"internalType":"uint256","name":"max","type":"uint256"}],"name":"ERC4626ExceededMaxDeposit","type":"error"},{"inputs":[{"internalType":"address","name":"receiver","type":"address"},{"internalType":"uint256","name":"shares","type":"uint256"},{"internalType":"uint256","name":"max","type":"uint256"}],"name":"ERC4626ExceededMaxMint","type":"error"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"shares","type":"uint256"},{"internalType":"uint256","name":"max","type":"uint256"}],"name":"ERC4626ExceededMaxRedeem","type":"error"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"assets","type":"uint256"},{"internalType":"uint256","name":"max","type":"uint256"}],"name":"ERC4626ExceededMaxWithdraw","type":"error"},{"inputs":[],"name":"EmptyEpochIDs","type":"error"},{"inputs":[],"name":"EmptyUsers","type":"error"},{"inputs":[{"internalType":"uint256","name":"epochID","type":"uint256"}],"name":"EpochAlreadyClosed","type":"error"},{"inputs":[{"internalType":"uint256","name":"epochID","type":"uint256"}],"name":"EpochAlreadyProcessed","type":"error"},{"inputs":[{"internalType":"uint256","name":"epochID","type":"uint256"}],"name":"EpochNotProcessed","type":"error"},{"inputs":[{"internalType":"uint256","name":"epochID","type":"uint256"}],"name":"EpochStillOpen","type":"error"},{"inputs":[],"name":"FailedCall","type":"error"},{"inputs":[],"name":"FeeRecipientNotSet","type":"error"},{"inputs":[],"name":"InsufficientAssets","type":"error"},{"inputs":[],"name":"InsufficientBalance","type":"error"},{"inputs":[],"name":"InsufficientShares","type":"error"},{"inputs":[],"name":"InvalidAllocateModule","type":"error"},{"inputs":[],"name":"InvalidAsset","type":"error"},{"inputs":[],"name":"InvalidDepositLimits","type":"error"},{"inputs":[],"name":"InvalidFactoryOwner","type":"error"},{"inputs":[],"name":"InvalidFeeRecipient","type":"error"},{"inputs":[],"name":"InvalidInitialVaultManager","type":"error"},{"inputs":[],"name":"InvalidInitialization","type":"error"},{"inputs":[],"name":"InvalidName","type":"error"},{"inputs":[],"name":"InvalidReceiver","type":"error"},{"inputs":[],"name":"InvalidStrategyAsset","type":"error"},{"inputs":[],"name":"InvalidSymbol","type":"error"},{"inputs":[],"name":"InvalidWithdrawLimits","type":"error"},{"inputs":[],"name":"ManagementFeeExceedsMaximum","type":"error"},{"inputs":[],"name":"NoClaimableRequest","type":"error"},{"inputs":[],"name":"NoRedeemableAssets","type":"error"},{"inputs":[],"name":"NoRequestingShares","type":"error"},{"inputs":[],"name":"NotFactory","type":"error"},{"inputs":[],"name":"NotInitialized","type":"error"},{"inputs":[],"name":"NotInitializing","type":"error"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"OwnableInvalidOwner","type":"error"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"OwnableUnauthorizedAccount","type":"error"},{"inputs":[],"name":"PerformanceFeeExceedsMaximum","type":"error"},{"inputs":[{"internalType":"uint256","name":"epochID","type":"uint256"}],"name":"PreviousEpochAlreadyProcessed","type":"error"},{"inputs":[{"internalType":"uint256","name":"epochID","type":"uint256"}],"name":"PreviousEpochNotProcessed","type":"error"},{"inputs":[],"name":"ReentrancyGuardReentrantCall","type":"error"},{"inputs":[{"internalType":"uint8","name":"bits","type":"uint8"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"SafeCastOverflowedUintDowncast","type":"error"},{"inputs":[{"internalType":"address","name":"token","type":"address"}],"name":"SafeERC20FailedOperation","type":"error"},{"inputs":[],"name":"StrategyAlreadyAdded","type":"error"},{"inputs":[],"name":"StrategyAlreadyHalted","type":"error"},{"inputs":[],"name":"StrategyDoesNotExist","type":"error"},{"inputs":[],"name":"StrategyHasAllocation","type":"error"},{"inputs":[],"name":"StrategyIsHalted","type":"error"},{"inputs":[],"name":"ZeroAddress","type":"error"},{"inputs":[],"name":"ZeroShares","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[],"name":"DeallocationOrderUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"sender","type":"address"},{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":false,"internalType":"uint256","name":"assets","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"shares","type":"uint256"}],"name":"Deposit","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"maxDepositAmount","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"minDepositAmount","type":"uint256"}],"name":"DepositLimitsUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"epochID","type":"uint256"}],"name":"EpochClosed","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"epochID","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"shares","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"assets","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"sharePrice","type":"uint256"}],"name":"EpochProcessed","type":"event"},{"anonymous":false,"inputs":[{"components":[{"internalType":"address","name":"target","type":"address"},{"internalType":"uint96","name":"flags","type":"uint96"}],"indexed":false,"internalType":"struct Hooks","name":"hooks","type":"tuple"}],"name":"HooksSet","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint64","name":"version","type":"uint64"}],"name":"Initialized","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"recipient","type":"address"},{"indexed":false,"internalType":"uint256","name":"shares","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"feeAmount","type":"uint256"}],"name":"ManagementFeeAccrued","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"managementFeeRecipient","type":"address"}],"name":"ManagementFeeRecipientUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint16","name":"managementFee","type":"uint16"}],"name":"ManagementFeeUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"recipient","type":"address"},{"indexed":false,"internalType":"uint256","name":"shares","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"feeAmount","type":"uint256"}],"name":"PerformanceFeeAccrued","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"performanceFeeRecipient","type":"address"}],"name":"PerformanceFeeRecipientUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint16","name":"performanceFee","type":"uint16"}],"name":"PerformanceFeeUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"bool","name":"isQueueActive","type":"bool"}],"name":"QueueActiveToggled","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"caller","type":"address"},{"indexed":true,"internalType":"address","name":"receiver","type":"address"},{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":false,"internalType":"uint256","name":"assets","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"shares","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"epochID","type":"uint256"}],"name":"QueuedWithdrawal","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":false,"internalType":"uint256","name":"shares","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"epochID","type":"uint256"}],"name":"RequestCancelled","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":false,"internalType":"uint256","name":"assets","type":"uint256"},{"indexed":false,"internalType":"uint256[]","name":"epochIDs","type":"uint256[]"}],"name":"RequestClaimed","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":false,"internalType":"uint256","name":"shares","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"currentEpochID","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"nextEpochID","type":"uint256"}],"name":"RequestMovedToNextEpoch","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":"strategy","type":"address"}],"name":"StrategyAdded","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"strategy","type":"address"}],"name":"StrategyHalted","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"strategy","type":"address"}],"name":"StrategyRemoved","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"strategy","type":"address"}],"name":"StrategyStatusToggled","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"strategy","type":"address"},{"indexed":false,"internalType":"uint256","name":"currentTotalAllocatedValue","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"yield","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"loss","type":"uint256"}],"name":"StrategyYieldAccrued","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"sender","type":"address"},{"indexed":true,"internalType":"address","name":"receiver","type":"address"},{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":false,"internalType":"uint256","name":"assets","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"shares","type":"uint256"}],"name":"Withdraw","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"maxWithdrawAmount","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"minWithdrawAmount","type":"uint256"}],"name":"WithdrawLimitsUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"epochID","type":"uint256"}],"name":"WithdrawalQueueInitialized","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"totalPositiveYield","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"totalNegativeYield","type":"uint256"}],"name":"YieldAccrued","type":"event"},{"inputs":[],"name":"DEFAULT_ADMIN_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"accrueYield","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"strategy","type":"address"}],"name":"addStrategy","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes","name":"data","type":"bytes"}],"name":"allocate","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"allocateModule","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"asset","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"cachedTotalAssets","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"epochID","type":"uint256"}],"name":"cancelRequest","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"user","type":"address"},{"internalType":"uint256","name":"epochID","type":"uint256"}],"name":"cancelRequest","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"users","type":"address[]"},{"internalType":"uint256","name":"epochID","type":"uint256"}],"name":"claimUsersBatch","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"epochIDs","type":"uint256[]"}],"name":"claimWithdrawal","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"user","type":"address"},{"internalType":"uint256[]","name":"epochIDs","type":"uint256[]"}],"name":"claimWithdrawal","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"closeEpoch","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"shares","type":"uint256"}],"name":"convertToAssets","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"assets","type":"uint256"}],"name":"convertToShares","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"assets","type":"uint256"},{"internalType":"address","name":"receiver","type":"address"}],"name":"deposit","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"factory","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getDeallocationOrder","outputs":[{"internalType":"address[]","name":"order","type":"address[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getDepositLimits","outputs":[{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"epochID","type":"uint256"}],"name":"getEpochPricePerShare","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"epochID","type":"uint256"}],"name":"getEpochState","outputs":[{"internalType":"enum IConcreteAsyncVaultImpl.EpochState","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getFeeConfig","outputs":[{"internalType":"uint16","name":"currentManagementFee","type":"uint16"},{"internalType":"address","name":"currentManagementFeeRecipient","type":"address"},{"internalType":"uint32","name":"currentLastManagementFeeAccrual","type":"uint32"},{"internalType":"uint16","name":"currentPerformanceFee","type":"uint16"},{"internalType":"address","name":"currentPerformanceFeeRecipient","type":"address"}],"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":"uint256","name":"index","type":"uint256"}],"name":"getRoleMember","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"}],"name":"getRoleMemberCount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"}],"name":"getRoleMembers","outputs":[{"internalType":"address[]","name":"","type":"address[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getStrategies","outputs":[{"internalType":"address[]","name":"","type":"address[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"strategy","type":"address"}],"name":"getStrategyData","outputs":[{"components":[{"internalType":"enum IConcreteStandardVaultImpl.StrategyStatus","name":"status","type":"uint8"},{"internalType":"uint120","name":"allocated","type":"uint120"}],"internalType":"struct IConcreteStandardVaultImpl.StrategyData","name":"","type":"tuple"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getTotalAllocated","outputs":[{"internalType":"uint256","name":"totalAllocated","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"user","type":"address"},{"internalType":"uint256","name":"epochID","type":"uint256"}],"name":"getUserEpochRequest","outputs":[{"internalType":"uint256","name":"shares","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"user","type":"address"},{"internalType":"uint256","name":"epochID","type":"uint256"}],"name":"getUserEpochRequestInAssets","outputs":[{"internalType":"uint256","name":"assets","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getWithdrawLimits","outputs":[{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"}],"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":"uint64","name":"initialVersion","type":"uint64"},{"internalType":"address","name":"owner_","type":"address"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"initialize","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"isQueueActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"latestEpochID","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"managementFee","outputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"uint16","name":"","type":"uint16"},{"internalType":"uint32","name":"","type":"uint32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"maxDeposit","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"maxMint","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"maxRedeem","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"maxWithdraw","outputs":[{"internalType":"uint256","name":"maxAssets","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"shares","type":"uint256"},{"internalType":"address","name":"receiver","type":"address"}],"name":"mint","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"user","type":"address"}],"name":"moveRequestToNextEpoch","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pastEpochsUnclaimedAssets","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"performanceFee","outputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"uint16","name":"","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"previewAccrueYield","outputs":[{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"assets","type":"uint256"}],"name":"previewDeposit","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"shares","type":"uint256"}],"name":"previewMint","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"shares","type":"uint256"}],"name":"previewRedeem","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"assets","type":"uint256"}],"name":"previewWithdraw","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"processEpoch","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"shares","type":"uint256"},{"internalType":"address","name":"receiver","type":"address"},{"internalType":"address","name":"owner","type":"address"}],"name":"redeem","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"strategy","type":"address"}],"name":"removeStrategy","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","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":"address[]","name":"order","type":"address[]"}],"name":"setDeallocationOrder","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"minDepositAmount","type":"uint256"},{"internalType":"uint256","name":"maxDepositAmount","type":"uint256"}],"name":"setDepositLimits","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"components":[{"internalType":"address","name":"target","type":"address"},{"internalType":"uint96","name":"flags","type":"uint96"}],"internalType":"struct Hooks","name":"hooks","type":"tuple"}],"name":"setHooks","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"minWithdrawAmount","type":"uint256"},{"internalType":"uint256","name":"maxWithdrawAmount","type":"uint256"}],"name":"setWithdrawLimits","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"toggleQueueActive","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"strategy","type":"address"}],"name":"toggleStrategyStatus","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"totalAssets","outputs":[{"internalType":"uint256","name":"totalAssetsWithYield","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalRequestedSharesForCurrentEpochs","outputs":[{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"epochID","type":"uint256"}],"name":"totalRequestedSharesPerEpoch","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint16","name":"managementFee_","type":"uint16"}],"name":"updateManagementFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"recipient","type":"address"}],"name":"updateManagementFeeRecipient","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint16","name":"performanceFee_","type":"uint16"}],"name":"updatePerformanceFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"recipient","type":"address"}],"name":"updatePerformanceFeeRecipient","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint64","name":"newVersion","type":"uint64"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"upgrade","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"version","outputs":[{"internalType":"uint64","name":"","type":"uint64"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"assets","type":"uint256"},{"internalType":"address","name":"receiver","type":"address"},{"internalType":"address","name":"owner","type":"address"}],"name":"withdraw","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"nonpayable","type":"function"}],"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."}],"AddressEmptyCode(address)":[{"details":"There's no code at `target` (it is not a contract)."}],"AssetAmountOutOfBounds(address,uint256,uint256,uint256)":[{"details":"Thrown when the asset amount is out of bounds."}],"CannotToggleInactiveStrategy()":[{"details":"Thrown when attempting to toggle the status of an inactive strategy."}],"ERC20InsufficientAllowance(address,uint256,uint256)":[{"details":"Indicates a failure with the `spender`’s `allowance`. Used in transfers.","params":{"allowance":"Amount of tokens a `spender` is allowed to operate with.","needed":"Minimum amount required to perform a transfer.","spender":"Address that may be allowed to operate on tokens without being their owner."}}],"ERC20InsufficientBalance(address,uint256,uint256)":[{"details":"Indicates an error related to the current `balance` of a `sender`. Used in transfers.","params":{"balance":"Current balance for the interacting account.","needed":"Minimum amount required to perform a transfer.","sender":"Address whose tokens are being transferred."}}],"ERC20InvalidApprover(address)":[{"details":"Indicates a failure with the `approver` of a token to be approved. Used in approvals.","params":{"approver":"Address initiating an approval operation."}}],"ERC20InvalidReceiver(address)":[{"details":"Indicates a failure with the token `receiver`. Used in transfers.","params":{"receiver":"Address to which tokens are being transferred."}}],"ERC20InvalidSender(address)":[{"details":"Indicates a failure with the token `sender`. Used in transfers.","params":{"sender":"Address whose tokens are being transferred."}}],"ERC20InvalidSpender(address)":[{"details":"Indicates a failure with the `spender` to be approved. Used in approvals.","params":{"spender":"Address that may be allowed to operate on tokens without being their owner."}}],"ERC4626ExceededMaxDeposit(address,uint256,uint256)":[{"details":"Attempted to deposit more assets than the max amount for `receiver`."}],"ERC4626ExceededMaxMint(address,uint256,uint256)":[{"details":"Attempted to mint more shares than the max amount for `receiver`."}],"ERC4626ExceededMaxRedeem(address,uint256,uint256)":[{"details":"Attempted to redeem more shares than the max amount for `receiver`."}],"ERC4626ExceededMaxWithdraw(address,uint256,uint256)":[{"details":"Attempted to withdraw more assets than the max amount for `receiver`."}],"EmptyEpochIDs()":[{"details":"Thrown when attempting to claim with empty epoch IDs."}],"EmptyUsers()":[{"details":"Thrown when attempting to claim with empty users."}],"EpochAlreadyClosed(uint256)":[{"details":"Thrown when attempting to process an epoch that is already closed.","params":{"epochID":"The epoch that was already closed."}}],"EpochAlreadyProcessed(uint256)":[{"details":"Thrown when attempting to cancel a request for an epoch that has already been processed."}],"EpochNotProcessed(uint256)":[{"details":"Thrown when attempting to roll to next epoch while current epoch is not processed."}],"EpochStillOpen(uint256)":[{"details":"Thrown when attempting to process an epoch that is still open.","params":{"epochID":"The epoch that was still open."}}],"FailedCall()":[{"details":"A call to an address target failed. The target may have reverted."}],"FeeRecipientNotSet()":[{"details":"Thrown when attempting to set a management fee without setting a recipient first."}],"InsufficientAssets()":[{"details":"Thrown when calculated assets are zero."}],"InsufficientBalance()":[{"details":"Thrown when the vault has insufficient balance to process the epoch."}],"InsufficientShares()":[{"details":"Thrown when calculated shares are zero."}],"InvalidAllocateModule()":[{"details":"Thrown when the allocate module is invalid."}],"InvalidAsset()":[{"details":"Thrown when the asset is invalid."}],"InvalidDepositLimits()":[{"details":"Thrown when the deposit limits are invalid."}],"InvalidFeeRecipient()":[{"details":"Thrown when attempting to set an invalid fee recipient address (address(0))."}],"InvalidInitialVaultManager()":[{"details":"Thrown when the initial vault manager is invalid."}],"InvalidInitialization()":[{"details":"The contract is already initialized."}],"InvalidName()":[{"details":"Thrown when the name is invalid."}],"InvalidReceiver()":[{"details":"Thrown when attempting to withdraw to the zero address."}],"InvalidStrategyAsset()":[{"details":"Thrown when attempting to add a strategy that uses a different asset than the vault."}],"InvalidSymbol()":[{"details":"Thrown when the symbol is invalid."}],"InvalidWithdrawLimits()":[{"details":"Thrown when the withdraw limits are invalid."}],"ManagementFeeExceedsMaximum()":[{"details":"Thrown when attempting to set a management fee that exceeds the maximum allowed."}],"NoClaimableRequest()":[{"details":"Thrown when attempting to claim a request that is not claimable."}],"NoRedeemableAssets()":[{"details":"Thrown when there are no redeemable assets available."}],"NoRequestingShares()":[{"details":"Thrown when attempting to operate on an epoch with no requesting shares."}],"NotInitializing()":[{"details":"The contract is not initializing."}],"OwnableInvalidOwner(address)":[{"details":"The owner is not a valid owner account. (eg. `address(0)`)"}],"OwnableUnauthorizedAccount(address)":[{"details":"The caller account is not authorized to perform an operation."}],"PerformanceFeeExceedsMaximum()":[{"details":"Thrown when attempting to set a performance fee that exceeds the maximum allowed."}],"PreviousEpochAlreadyProcessed(uint256)":[{"details":"Thrown when attempting to process an epoch that was already processed."}],"PreviousEpochNotProcessed(uint256)":[{"details":"Thrown when attempting to close an epoch that and previous epoch was not processed."}],"ReentrancyGuardReentrantCall()":[{"details":"Unauthorized reentrant call."}],"SafeCastOverflowedUintDowncast(uint8,uint256)":[{"details":"Value doesn't fit in an uint of `bits` size."}],"SafeERC20FailedOperation(address)":[{"details":"An operation with an ERC-20 token failed."}],"StrategyAlreadyAdded()":[{"details":"Thrown when attempting to add a strategy that has already been added to the vault."}],"StrategyAlreadyHalted()":[{"details":"Thrown when attempting to halt a strategy that is already halted."}],"StrategyDoesNotExist()":[{"details":"Thrown when attempting to operate on a strategy that doesn't exist in the vault."}],"StrategyHasAllocation()":[{"details":"Thrown when attempting to remove a strategy that has allocation or is in the deallocation order."}],"StrategyIsHalted()":[{"details":"Thrown when attempting to interact with a strategy that is halted."}],"ZeroAddress()":[{"details":"Thrown when attempting to operate on a zero address."}],"ZeroShares()":[{"details":"Thrown when attempting to withdraw zero shares."}]},"events":{"Approval(address,address,uint256)":{"details":"Emitted when the allowance of a `spender` for an `owner` is set by a call to {approve}. `value` is the new allowance."},"DeallocationOrderUpdated()":{"details":"Emitted when the deallocation order is updated."},"DepositLimitsUpdated(uint256,uint256)":{"details":"Emitted when deposit limits are updated.","params":{"maxDepositAmount":"The new maximum deposit amount.","minDepositAmount":"The new minimum deposit amount."}},"EpochClosed(uint256)":{"details":"Emitted when an epoch is closed.","params":{"epochID":"The epoch that was closed."}},"EpochProcessed(uint256,uint256,uint256,uint256)":{"details":"Emitted when an epoch's withdrawal requests are processed.","params":{"assets":"The total assets reserved for the epoch.","epochID":"The epoch ID that was processed.","sharePrice":"The share price locked for the epoch.","shares":"The total shares processed in the epoch."}},"Initialized(uint64)":{"details":"Triggered when the contract has been initialized or reinitialized."},"ManagementFeeAccrued(address,uint256,uint256)":{"details":"Emitted when management fee is accrued.","params":{"feeAmount":"The asset value of the management fee.","recipient":"The address that received the management fee shares.","shares":"The number of shares minted as management fee."}},"ManagementFeeRecipientUpdated(address)":{"details":"Emitted when management fee recipient is updated.","params":{"managementFeeRecipient":"The new management fee recipient address."}},"ManagementFeeUpdated(uint16)":{"details":"Emitted when management fee is updated.","params":{"managementFee":"The new management fee rate in basis points."}},"PerformanceFeeAccrued(address,uint256,uint256)":{"details":"Emitted when performance fee is accrued.","params":{"feeAmount":"The asset value of the performance fee.","recipient":"The address that received the performance fee shares.","shares":"The number of shares minted as performance fee."}},"PerformanceFeeRecipientUpdated(address)":{"details":"Emitted when performance fee recipient is updated.","params":{"performanceFeeRecipient":"The new performance fee recipient address."}},"PerformanceFeeUpdated(uint16)":{"details":"Emitted when performance fee is updated.","params":{"performanceFee":"The new performance fee rate in basis points."}},"QueueActiveToggled(bool)":{"details":"Emitted when the queue is toggled.","params":{"isQueueActive":"The active status of the queue."}},"QueuedWithdrawal(address,address,address,uint256,uint256,uint256)":{"details":"Emitted when a user submits a withdrawal request that is queued for epoch processing.","params":{"assets":"The amount of assets requested for withdrawal.","epochID":"The epoch in which the request was queued.","owner":"The address of the user making the request.","shares":"The amount of shares transferred to the vault for the request."}},"RequestCancelled(address,uint256,uint256)":{"details":"Emitted when a user cancels their pending withdrawal request.","params":{"epochID":"The epoch from which the request was cancelled.","owner":"The address of the user cancelling the request.","shares":"The amount of shares returned to the user."}},"RequestClaimed(address,uint256,uint256[])":{"details":"Emitted when a user claims their processed withdrawal request.","params":{"assets":"The amount of assets transferred to the user.","epochIDs":"The epoch IDs from which the request was claimed.","owner":"The address of the user claiming the withdrawal."}},"RequestMovedToNextEpoch(address,uint256,uint256,uint256)":{"details":"Emitted when a user's request is moved to the next epoch.","params":{"currentEpochID":"The epoch from which the request was moved.","nextEpochID":"The epoch to which the request was moved.","shares":"The amount of shares moved.","user":"The address of the user whose request was moved."}},"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 signaling 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`)"},"StrategyAdded(address)":{"details":"Emitted when a new strategy is successfully added to the vault.","params":{"strategy":"The address of the strategy contract that was added."}},"StrategyHalted(address)":{"details":"Emitted when a strategy is set to Halted status.","params":{"strategy":"The address of the strategy contract that was halted."}},"StrategyRemoved(address)":{"details":"Emitted when a strategy is successfully removed from the vault.","params":{"strategy":"The address of the strategy contract that was removed."}},"StrategyStatusToggled(address)":{"details":"Emitted when a strategy's status is toggled between Active and Halted.","params":{"strategy":"The address of the strategy contract whose status was toggled."}},"StrategyYieldAccrued(address,uint256,uint256,uint256)":{"details":"Emitted when an individual strategy's yield is accrued.","params":{"currentTotalAllocatedValue":"The current total allocated value reported by the strategy.","loss":"The amount of loss incurred by this strategy since last accrual.","strategy":"The address of the strategy contract whose yield was accrued.","yield":"The amount of positive yield generated by this strategy since last accrual."}},"Transfer(address,address,uint256)":{"details":"Emitted when `value` tokens are moved from one account (`from`) to another (`to`). Note that `value` may be zero."},"WithdrawLimitsUpdated(uint256,uint256)":{"details":"Emitted when withdraw limits are updated.","params":{"maxWithdrawAmount":"The new maximum withdraw amount.","minWithdrawAmount":"The new minimum withdraw amount."}},"WithdrawalQueueInitialized(uint256)":{"details":"Emitted when the withdrawal queue is initialized.","params":{"epochID":"The initial epoch ID."}},"YieldAccrued(uint256,uint256)":{"details":"Emitted when the yield accrual operation is completed across all strategies.","params":{"totalNegativeYield":"The total amount of losses incurred across all strategies.","totalPositiveYield":"The total amount of positive yield generated across all strategies."}}},"kind":"dev","methods":{"accrueYield()":{"details":"This function updates the vault's internal accounting by querying the current      value of all strategy allocations and calculating net yield or losses.This function can be called by anyone to update the vault's accounting.The yield accrual operation does not trigger actual fund movements, it only         updates the vault's internal state to reflect current strategy values."},"addStrategy(address)":{"details":"Adds a new strategy to the vault.The strategy must implement the IStrategyTemplate interface and use the same underlying asset as the vault.Only callable by accounts with the STRATEGY_MANAGER role.","params":{"strategy":"The address of the strategy contract to add. Requirements: - The strategy's asset() must match the vault's asset() - The strategy must not already be added to the vault - Caller must have STRATEGY_MANAGER role Emits: - StrategyAdded event Reverts: - InvalidStrategyAsset if strategy uses different asset - StrategyAlreadyAdded if strategy is already in the vault"}},"allocate(bytes)":{"details":"This function performs a yield accrual operation first to update vault accounting,      then executes the allocation operations specified in the data parameter.All operations are performed via delegatecall to the respective modules to maintain      proper storage context and access control.Only callable by accounts with the ALLOCATOR role.The function automatically triggers yield accrual before allocation to ensure         accurate vault accounting prior to fund movements.","params":{"data":"ABI-encoded array of AllocateParams structures containing the allocation             operations to execute. Each param specifies whether to allocate or deallocate             funds, which strategy to use, and any additional data required by the strategy."}},"allocateModule()":{"details":"Returns the address of the allocate module.","returns":{"_0":"The address of the allocate module."}},"allowance(address,address)":{"details":"See {IERC20-allowance}."},"approve(address,uint256)":{"details":"See {IERC20-approve}. NOTE: If `value` is the maximum `uint256`, the allowance is not updated on `transferFrom`. This is semantically equivalent to an infinite approval. Requirements: - `spender` cannot be the zero address."},"asset()":{"details":"See {IERC4626-asset}. "},"balanceOf(address)":{"details":"See {IERC20-balanceOf}."},"cachedTotalAssets()":{"details":"Returns the cached value of total assets after the last call.","returns":{"_0":"The cached value of total assets after the last call."}},"cancelRequest(address,uint256)":{"details":"Users can only cancel requests from epochs that haven't been processed yet (no price locked)Returns shares back to the user and updates epoch accounting","params":{"epochID":"The epoch ID from which to cancel the request","user":"The user address to cancel the request for"}},"cancelRequest(uint256)":{"details":"Users can only cancel requests from epochs that haven't been processed yet (no price locked)Returns shares back to the user and updates epoch accounting","params":{"epochID":"The epoch ID from which to cancel the request"}},"claimWithdrawal(address,uint256[])":{"details":"Processes each epoch internally, aggregates assets and shares, then burns and transfers onceMore gas efficient than claiming epochs individuallySkips epochs with no claimable amounts (zero shares or unprocessed epochs)","params":{"epochIDs":"Array of epoch IDs to claim from","user":"The user address to claim from"}},"claimWithdrawal(uint256[])":{"details":"Processes each epoch internally, aggregates assets and shares, then burns and transfers onceMore gas efficient than claiming epochs individuallySkips epochs with no claimable amounts (zero shares or unprocessed epochs)","params":{"epochIDs":"Array of epoch IDs to claim from"}},"closeEpoch()":{"details":"Only callable by WITHDRAWAL_MANAGER roleCloses the current epoch and increments the epoch IDCan only be called if the previous epoch is processed (!)"},"convertToAssets(uint256)":{"details":"See {IERC4626-convertToAssets}. "},"convertToShares(uint256)":{"details":"See {IERC4626-convertToShares}. "},"decimals()":{"details":"Decimals are computed by adding the decimal offset on top of the underlying asset's decimals. This \"original\" value is cached during construction of the vault contract. If this read operation fails (e.g., the asset has not been created yet), a default of 18 is used to represent the underlying asset's decimals. See {IERC20Metadata-decimals}."},"deposit(uint256,address)":{"details":"Mints shares Vault shares to receiver by depositing exactly amount of underlying tokens. - MUST emit the Deposit event. - MAY support an additional flow in which the underlying tokens are owned by the Vault contract before the   deposit execution, and are accounted for during deposit. - MUST revert if all of assets cannot be deposited (due to deposit limit being reached, slippage, the user not   approving enough underlying tokens to the Vault contract, etc). NOTE: most implementations will require pre-approval of the Vault with the Vault’s underlying asset token."},"getDepositLimits()":{"details":"Returns the deposit limits.","returns":{"_0":"The maximum deposit amount.","_1":"The minimum deposit amount."}},"getEpochPricePerShare(uint256)":{"details":"Returns the share price that was locked when the epoch was processedReturns 0 if the epoch has not been processed yet","params":{"epochID":"The epoch ID to check"},"returns":{"_0":"The share price locked when the epoch was processed (in assets per 1e18 shares)"}},"getEpochState(uint256)":{"details":"Returns the state of an epoch","params":{"epochID":"The epoch ID to check"},"returns":{"_0":"The state of the epoch"}},"getFeeConfig()":{"returns":{"currentLastManagementFeeAccrual":"The timestamp of the last management fee accrual.","currentManagementFee":"The current management fee in basis points.","currentManagementFeeRecipient":"The current management fee recipient address.","currentPerformanceFee":"The current performance fee in basis points.","currentPerformanceFeeRecipient":"The current performance fee recipient address."}},"getRoleAdmin(bytes32)":{"details":"Returns the admin role that controls `role`. See {grantRole} and {revokeRole}. To change a role's admin, use {_setRoleAdmin}."},"getRoleMember(bytes32,uint256)":{"details":"Returns one of the accounts that have `role`. `index` must be a value between 0 and {getRoleMemberCount}, non-inclusive. Role bearers are not sorted in any particular way, and their ordering may change at any point. WARNING: When using {getRoleMember} and {getRoleMemberCount}, make sure you perform all queries on the same block. See the following https://forum.openzeppelin.com/t/iterating-over-elements-on-enumerableset-in-openzeppelin-contracts/2296[forum post] for more information."},"getRoleMemberCount(bytes32)":{"details":"Returns the number of accounts that have `role`. Can be used together with {getRoleMember} to enumerate all bearers of a role."},"getRoleMembers(bytes32)":{"details":"Return all accounts that have `role` WARNING: This operation will copy the entire storage to memory, which can be quite expensive. This is designed to mostly be used by view accessors that are queried without any gas fees. Developers should keep in mind that this function has an unbounded cost, and using it as part of a state-changing function may render the function uncallable if the set grows to a point where copying to memory consumes too much gas to fit in a block."},"getStrategies()":{"details":"Returns an array of all strategy addresses currently managed by the vault.This function provides a way to enumerate all active strategies for external integrations and monitoring.","returns":{"_0":"An array containing the addresses of all strategies added to the vault. Note: - The returned array includes strategies in all statuses (Active, Inactive, Emergency) - The order of strategies in the array is not guaranteed - Returns an empty array if no strategies have been added"}},"getStrategyData(address)":{"details":"Retrieves the current data and status information for a specific strategy.This function provides read-only access to strategy metadata including allocation amounts and status.","params":{"strategy":"The address of the strategy contract to query."},"returns":{"_0":"The StrategyData struct containing the strategy's current status and allocated amount. Note: - Returns default values (Inactive status, 0 allocated) for non-existent strategies - Does not revert for invalid strategy addresses"}},"getTotalAllocated()":{"details":"Returns the total amount of assets allocated to all strategies.","returns":{"totalAllocated":"The total amount of assets allocated to all strategies."}},"getUserEpochRequest(address,uint256)":{"details":"Returns the amount of shares requested by the specified user in the epoch","params":{"epochID":"The epoch ID to check","user":"The user address to check"},"returns":{"shares":"The amount of shares requested by the user in the epoch"}},"getUserEpochRequestInAssets(address,uint256)":{"details":"Returns the amount of assets claimable by the caller from the specified epochReturns 0 if epoch is not processed, no request exists, or epoch is current/future","params":{"epochID":"The epoch ID to check"},"returns":{"assets":"The amount of assets claimable from the epoch"}},"getWithdrawLimits()":{"details":"Returns the withdraw limits.","returns":{"_0":"The maximum withdraw amount.","_1":"The minimum withdraw amount."}},"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`."},"initialize(uint64,address,bytes)":{"params":{"data":"some data to use","initialVersion":"initial version of the vault","owner":"initial owner of the vault"}},"isQueueActive()":{"details":"Returns true if the queue is active, false otherwise","returns":{"_0":"The active status of the queue"}},"latestEpochID()":{"details":"New withdrawal requests are queued in this epoch","returns":{"_0":"The current epoch ID"}},"managementFee()":{"details":"Returns the management fee configuration.","returns":{"_0":"The address that receives management fees.","_1":"The management fee rate in basis points (where 10,000 = 100%).","_2":"The timestamp of the last management fee accrual."}},"maxDeposit(address)":{"details":"See {IERC4626-maxDeposit}. "},"maxMint(address)":{"details":"See {IERC4626-maxMint}. "},"maxRedeem(address)":{"details":"Returns the maximum amount of Vault shares that can be redeemed from the owner balance in the Vault, through a redeem call. - MUST return a limited value if owner is subject to some withdrawal limit or timelock. - MUST return balanceOf(owner) if owner is not subject to any withdrawal limit or timelock. - MUST NOT revert."},"maxWithdraw(address)":{"details":"Returns the maximum amount of the underlying asset that can be withdrawn from the owner balance in the Vault, through a withdraw call. - MUST return a limited value if owner is subject to some withdrawal limit or timelock. - MUST NOT revert."},"mint(uint256,address)":{"details":"Mints exactly shares Vault shares to receiver by depositing amount of underlying tokens. - MUST emit the Deposit event. - MAY support an additional flow in which the underlying tokens are owned by the Vault contract before the mint   execution, and are accounted for during mint. - MUST revert if all of shares cannot be minted (due to deposit limit being reached, slippage, the user not   approving enough underlying tokens to the Vault contract, etc). NOTE: most implementations will require pre-approval of the Vault with the Vault’s underlying asset token."},"moveRequestToNextEpoch(address)":{"details":"Validates inputs, determines amount to move, updates storage for both epochs.","params":{"user":"The user whose request to move"}},"name()":{"details":"Returns the name of the token."},"owner()":{"details":"Returns the address of the current owner."},"pastEpochsUnclaimedAssets()":{"details":"This amount is subtracted from totalAssets() to exclude reserved funds from active vault operations","returns":{"_0":"The total assets reserved for past epoch claims"}},"performanceFee()":{"details":"Returns the performance fee configuration.","returns":{"_0":"The address that receives performance fees.","_1":"The performance fee rate in basis points (where 10,000 = 100%)."}},"previewAccrueYield()":{"details":"This function simulates the yield accrual operation without actually executing it,      providing a view of what the vault's total assets would be after accounting      for yield and losses across all active strategies.The calculation includes the current lastTotalAssets plus any positive      yield minus any losses that would be realized during yield accrual.This is a view function that does not modify state or trigger any actual      fund movements or strategy interactions.","returns":{"_0":"The total amount of assets that would be available in the vault after yield accrual,         denominated in the vault's underlying asset token.","_1":"The total amount of shares that would be available in the vault after yield accrual,         calculated as current totalSupply + management fee shares."}},"previewDeposit(uint256)":{"details":"See {IERC4626-previewDeposit}."},"previewMint(uint256)":{"details":"Allows an on-chain or off-chain user to simulate the effects of their mint at the current block, given current on-chain conditions. - MUST return as close to and no fewer than the exact amount of assets that would be deposited in a mint call   in the same transaction. I.e. mint should return the same or fewer assets as previewMint if called in the   same transaction. - MUST NOT account for mint limits like those returned from maxMint and should always act as though the mint   would be accepted, regardless if the user has enough tokens approved, etc. - MUST be inclusive of deposit fees. Integrators should be aware of the existence of deposit fees. - MUST NOT revert. NOTE: any unfavorable discrepancy between convertToAssets and previewMint SHOULD be considered slippage in share price or some other type of condition, meaning the depositor will lose assets by minting."},"previewRedeem(uint256)":{"details":"Allows an on-chain or off-chain user to simulate the effects of their redeemption at the current block, given current on-chain conditions. - MUST return as close to and no more than the exact amount of assets that would be withdrawn in a redeem call   in the same transaction. I.e. redeem should return the same or more assets as previewRedeem if called in the   same transaction. - MUST NOT account for redemption limits like those returned from maxRedeem and should always act as though the   redemption would be accepted, regardless if the user has enough shares, etc. - MUST be inclusive of withdrawal fees. Integrators should be aware of the existence of withdrawal fees. - MUST NOT revert. NOTE: any unfavorable discrepancy between convertToAssets and previewRedeem SHOULD be considered slippage in share price or some other type of condition, meaning the depositor will lose assets by redeeming."},"previewWithdraw(uint256)":{"details":"Allows an on-chain or off-chain user to simulate the effects of their withdrawal at the current block, given current on-chain conditions. - MUST return as close to and no fewer than the exact amount of Vault shares that would be burned in a withdraw   call in the same transaction. I.e. withdraw should return the same or fewer shares as previewWithdraw if   called   in the same transaction. - MUST NOT account for withdrawal limits like those returned from maxWithdraw and should always act as though   the withdrawal would be accepted, regardless if the user has enough shares, etc. - MUST be inclusive of withdrawal fees. Integrators should be aware of the existence of withdrawal fees. - MUST NOT revert. NOTE: any unfavorable discrepancy between convertToShares and previewWithdraw SHOULD be considered slippage in share price or some other type of condition, meaning the depositor will lose assets by depositing."},"processEpoch()":{"details":"Harvests all strategies to get current accurate pricing before processingCalculates share price and reserves required assets for the epochCan process any epoch with pending requests, enabling historical processingOnly callable by ALLOCATOR role"},"redeem(uint256,address,address)":{"details":"Burns exactly shares from owner and sends assets of underlying tokens to receiver. - MUST emit the Withdraw event. - MAY support an additional flow in which the underlying tokens are owned by the Vault contract before the   redeem execution, and are accounted for during redeem. - MUST revert if all of shares cannot be redeemed (due to withdrawal limit being reached, slippage, the owner   not having enough shares, etc). NOTE: some implementations will require pre-requesting to the Vault before a withdrawal may be performed. Those methods should be performed separately."},"removeStrategy(address)":{"details":"Removes a strategy from the vault.The strategy can only be removed if it has no allocated funds, unless it's in Halted status.Only callable by accounts with the STRATEGY_MANAGER role.","params":{"strategy":"The address of the strategy contract to remove. Requirements: - Strategy must exist in the vault - Strategy must have zero allocated funds OR be in Halted status - Caller must have STRATEGY_MANAGER role Emits: - StrategyRemoved event Reverts: - StrategyDoesNotExist if strategy is not in the vault - Custom revert if strategy has allocated funds and is not in Halted status"}},"renounceOwnership()":{"details":"Leaves the contract without owner. It will not be possible to call `onlyOwner` functions. Can only be called by the current owner. NOTE: Renouncing ownership will leave the contract without an owner, thereby disabling any functionality that is only available to the owner."},"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."},"setDepositLimits(uint256,uint256)":{"details":"Sets the deposit limits.Only callable by accounts with VAULT_MANAGER role.","params":{"maxDepositAmount":"The maximum deposit amount.","minDepositAmount":"The minimum deposit amount."}},"setHooks((address,uint96))":{"details":"This function sets the hooks for the vault.Only callable by accounts with the HOOK_MANAGER role.","params":{"hooks":"The hooks to set."}},"setWithdrawLimits(uint256,uint256)":{"details":"Sets the withdraw limits.Only callable by accounts with VAULT_MANAGER role.","params":{"maxWithdrawAmount":"The maximum withdraw amount.","minWithdrawAmount":"The minimum withdraw amount."}},"supportsInterface(bytes4)":{"details":"See {IERC165-supportsInterface}."},"symbol()":{"details":"Returns the symbol of the token, usually a shorter version of the name."},"toggleQueueActive()":{"details":"Only callable by the ALLOCATOR role"},"toggleStrategyStatus(address)":{"details":"Toggles a strategy's status between Active and Halted.This is a safety mechanism to isolate problematic strategies or reactivate previously halted ones.Active strategies can receive allocations and participate in yield accrual and withdrawal operations.Halted strategies are skipped during yield accrual and withdrawal operations.Only callable by accounts with the STRATEGY_MANAGER role.","params":{"strategy":"The address of the strategy contract to toggle. Requirements: - Strategy must exist in the vault - Strategy must be either Active or Halted (cannot toggle Inactive strategies) - Caller must have STRATEGY_MANAGER role Emits: - StrategyStatusToggled event Reverts: - StrategyDoesNotExist if strategy is not in the vault"}},"totalAssets()":{"details":"Returns the total amount of the underlying asset that is “managed” by Vault. - SHOULD include any compounding that occurs from yield. - MUST be inclusive of any fees that are charged against assets in the Vault. - MUST NOT revert."},"totalRequestedSharesForCurrentEpochs()":{"details":"Returns the total shares from all users that requested withdrawal in the active and processing epochs","returns":{"_0":"The total shares requested in the active epoch","_1":"The total shares requested in the processing epoch","_2":"The total shares requested in the last processed epoch"}},"totalRequestedSharesPerEpoch(uint256)":{"details":"Returns the total shares from all users that requested withdrawal in the epochReturns 0 after epoch is processed (shares moved to requestingSharesInPast)","params":{"epochID":"The epoch ID to check"},"returns":{"_0":"The total shares requested in the epoch"}},"totalSupply()":{"details":"See {IERC20-totalSupply}."},"transfer(address,uint256)":{"details":"See {IERC20-transfer}. Requirements: - `to` cannot be the zero address. - the caller must have a balance of at least `value`."},"transferFrom(address,address,uint256)":{"details":"See {IERC20-transferFrom}. Skips emitting an {Approval} event indicating an allowance update. This is not required by the ERC. See {xref-ERC20-_approve-address-address-uint256-bool-}[_approve]. NOTE: Does not update the allowance if the current allowance is the maximum `uint256`. Requirements: - `from` and `to` cannot be the zero address. - `from` must have a balance of at least `value`. - the caller must have allowance for ``from``'s tokens of at least `value`."},"transferOwnership(address)":{"details":"Transfers ownership of the contract to a new account (`newOwner`). Can only be called by the current owner."},"updateManagementFee(uint16)":{"details":"Only callable by accounts with VAULT_MANAGER role.Fee must be <= MAX_MANAGEMENT_FEE.If fee > 0, recipient must be set.","params":{"managementFee":"The new management fee in basis points."}},"updateManagementFeeRecipient(address)":{"details":"Only callable by accounts with VAULT_MANAGER role.Recipient cannot be address(0).","params":{"recipient":"The new management fee recipient address."}},"updatePerformanceFee(uint16)":{"details":"Only callable by accounts with VAULT_MANAGER role.Fee must be <= MAX_PERFORMANCE_FEE.If fee > 0, recipient must be set.","params":{"performanceFee":"The new performance fee in basis points."}},"updatePerformanceFeeRecipient(address)":{"details":"Only callable by accounts with VAULT_MANAGER.Recipient cannot be address(0).","params":{"recipient":"The new performance fee recipient address."}},"upgrade(uint64,bytes)":{"params":{"data":"some data to use","newVersion":"new version of the vault"}},"version()":{"details":"Starts from 1.","returns":{"_0":"version of the vault"}},"withdraw(uint256,address,address)":{"details":"Burns shares from owner and sends exactly assets of underlying tokens to receiver. - MUST emit the Withdraw event. - MAY support an additional flow in which the underlying tokens are owned by the Vault contract before the   withdraw execution, and are accounted for during withdraw. - MUST revert if all of assets cannot be withdrawn (due to withdrawal limit being reached, slippage, the owner   not having enough shares, etc). Note that some implementations will require pre-requesting to the Vault before a withdrawal may be performed. Those methods should be performed separately."}},"version":1},"userdoc":{"kind":"user","methods":{"accrueYield()":{"notice":"Accrues yield and accounts for losses across all active strategies in the vault."},"allocate(bytes)":{"notice":"Executes fund allocation and deallocation operations across multiple strategies."},"cancelRequest(address,uint256)":{"notice":"Cancel pending redeem request for a specific epoch (only unprocessed epochs)"},"cancelRequest(uint256)":{"notice":"Cancel pending redeem request for a specific epoch (only unprocessed epochs)"},"claimWithdrawal(address,uint256[])":{"notice":"Claim processed redeem requests from specified epochs"},"claimWithdrawal(uint256[])":{"notice":"Claim processed redeem requests from specified epochs"},"closeEpoch()":{"notice":"Close the current epoch"},"factory()":{"notice":"Get the factory's address."},"getDeallocationOrder()":{"notice":"Returns the deallocation order from strategies."},"getEpochPricePerShare(uint256)":{"notice":"Get share price for a specific epoch"},"getEpochState(uint256)":{"notice":"Get the state of an epoch"},"getFeeConfig()":{"notice":"Returns the current fee configuration for the vault."},"getUserEpochRequest(address,uint256)":{"notice":"Get user's redeem request for a specific epoch"},"getUserEpochRequestInAssets(address,uint256)":{"notice":"Get claimable redeem request from a specific epoch"},"initialize(uint64,address,bytes)":{"notice":"Initialize `UpgradeableVaultProxy` contract by using a given data and setting a particular version and owner."},"isQueueActive()":{"notice":"Get whether the queue is active"},"latestEpochID()":{"notice":"Get current epoch ID"},"moveRequestToNextEpoch(address)":{"notice":"Internal function to move a deposit request to the next deposit epoch"},"pastEpochsUnclaimedAssets()":{"notice":"Get total redeemable assets from past epochs"},"previewAccrueYield()":{"notice":"Previews the total assets that would be available after accruing yield from all strategies."},"processEpoch()":{"notice":"Process all pending redeem requests for a specific epoch"},"setDeallocationOrder(address[])":{"notice":"overwrites the deallocation order from strategies;"},"setHooks((address,uint96))":{"notice":"Sets the hooks for the vault."},"toggleQueueActive()":{"notice":"Toggle the active status of the queue"},"totalRequestedSharesForCurrentEpochs()":{"notice":"Get total requested shares in the active and processing epochs"},"totalRequestedSharesPerEpoch(uint256)":{"notice":"Get total requested shares in a specific epoch"},"updateManagementFee(uint16)":{"notice":"Updates the management fee for the vault."},"updateManagementFeeRecipient(address)":{"notice":"Updates the management fee recipient for the vault."},"updatePerformanceFee(uint16)":{"notice":"Updates the performance fee for the vault."},"updatePerformanceFeeRecipient(address)":{"notice":"Updates the performance fee recipient for the vault."},"upgrade(uint64,bytes)":{"notice":"Upgrade this vault to a specific newer version using a given data."},"version()":{"notice":"Get the vault's version."}},"version":1}},"settings":{"compilationTarget":{"src/implementation/ConcreteAsyncVaultImpl.sol":"ConcreteAsyncVaultImpl"},"evmVersion":"prague","libraries":{"src/implementation/ConcreteAsyncVaultImpl.sol:AsyncVaultHelperLib":"0x5cc3c3cea2e885f1870f3cae1eb9601d5d278d4a","src/implementation/ConcreteAsyncVaultImpl.sol:StateInitLib":"0x8d5d294fd63ee3b16abdca4b59597719a576e551","src/implementation/ConcreteAsyncVaultImpl.sol:StateSetterLib":"0x5d433d113c211891d3c2bae6cd3b39adeffd64cc"},"metadata":{"bytecodeHash":"ipfs"},"optimizer":{"enabled":true,"runs":190},"remappings":[":@layerzerolabs/lz-evm-messagelib-v2/=node_modules/@layerzerolabs/lz-evm-messagelib-v2/",":@layerzerolabs/lz-evm-protocol-v2/=node_modules/@layerzerolabs/lz-evm-protocol-v2/",":@layerzerolabs/lz-evm-v1-0.7/=node_modules/@layerzerolabs/lz-evm-v1-0.7/",":@layerzerolabs/oapp-evm-upgradeable/=node_modules/@layerzerolabs/oapp-evm-upgradeable/",":@layerzerolabs/oapp-evm/=node_modules/@layerzerolabs/oapp-evm/",":@layerzerolabs/test-devtools-evm-foundry/=node_modules/@layerzerolabs/test-devtools-evm-foundry/",":@openzeppelin-contracts/=node_modules/@openzeppelin/contracts/",":@openzeppelin-upgradeable/=node_modules/@openzeppelin/contracts-upgradeable/",":@openzeppelin/=node_modules/@openzeppelin/",":erc4626-tests/=lib/openzeppelin-contracts-upgradeable/lib/erc4626-tests/",":forge-std/=lib/forge-std/src/",":halmos-cheatcodes/=lib/openzeppelin-contracts-upgradeable/lib/halmos-cheatcodes/src/",":openzeppelin-foundry-upgrades/=node_modules/@openzeppelin/foundry-upgrades/",":solidity-bytes-utils/=node_modules/solidity-bytes-utils/"]},"sources":{"node_modules/@openzeppelin/contracts-upgradeable/access/AccessControlUpgradeable.sol":{"keccak256":"0x6662ec4e5cefca03eeadd073e9469df8d2944bb2ee8ec8f7622c2c46aab5f225","license":"MIT","urls":["bzz-raw://4d8544c6f8daa4d1bc215c6a72fe0acdb748664a105b0e5efc19295667521d45","dweb:/ipfs/QmdGWqdnXT8S3RgCR6aV8XHZrsybieMQLLnug1NtpSjEXN"]},"node_modules/@openzeppelin/contracts-upgradeable/access/OwnableUpgradeable.sol":{"keccak256":"0xc163fcf9bb10138631a9ba5564df1fa25db9adff73bd9ee868a8ae1858fe093a","license":"MIT","urls":["bzz-raw://9706d43a0124053d9880f6e31a59f31bc0a6a3dc1acd66ce0a16e1111658c5f6","dweb:/ipfs/QmUFmfowzkRwGtDu36cXV9SPTBHJ3n7dG9xQiK5B28jTf2"]},"node_modules/@openzeppelin/contracts-upgradeable/access/extensions/AccessControlEnumerableUpgradeable.sol":{"keccak256":"0xaec38804089a16494f7d45ebbbeab78fe05e5dc4bc2eae1d2af458fe999fb43c","license":"MIT","urls":["bzz-raw://04796408e2c4a1051afb23319e9505edb595a3d9c663ff5d6fcfb8e185ab1d93","dweb:/ipfs/Qma8ZTi4kGyqg45SyNibbJSqMF7broiQnJPHhEGLcZyF9U"]},"node_modules/@openzeppelin/contracts-upgradeable/proxy/utils/Initializable.sol":{"keccak256":"0x631188737069917d2f909d29ce62c4d48611d326686ba6683e26b72a23bfac0b","license":"MIT","urls":["bzz-raw://7a61054ae84cd6c4d04c0c4450ba1d6de41e27e0a2c4f1bcdf58f796b401c609","dweb:/ipfs/QmUvtdp7X1mRVyC3CsHrtPbgoqWaXHp3S1ZR24tpAQYJWM"]},"node_modules/@openzeppelin/contracts-upgradeable/token/ERC20/ERC20Upgradeable.sol":{"keccak256":"0x5c54228bbb2f1f8616179c51bdb90b7960f4a3414c390ad5c6ead6763eb55a59","license":"MIT","urls":["bzz-raw://745fe72596bb8fde5f294d9d6b943db942202e4445536ee00da3ba011f876e86","dweb:/ipfs/QmcjeESkk4rbhUVaSBfyq5f8rY56Jms1TwcJXaRD55K3UH"]},"node_modules/@openzeppelin/contracts-upgradeable/token/ERC20/extensions/ERC4626Upgradeable.sol":{"keccak256":"0xa683afe511eb3a2e8a039c5aa18feda651c6de04b92e101532ac76661fdaad8f","license":"MIT","urls":["bzz-raw://d2117b118221d039e98d77bef9b0b68e95b600403f16aa1b565e3d6c0bcd6384","dweb:/ipfs/QmZAhSMkC257uzT16gLkkuS1q7sLRos1Euj1oPMJXg8rSh"]},"node_modules/@openzeppelin/contracts-upgradeable/utils/ContextUpgradeable.sol":{"keccak256":"0xdbef5f0c787055227243a7318ef74c8a5a1108ca3a07f2b3a00ef67769e1e397","license":"MIT","urls":["bzz-raw://08e39f23d5b4692f9a40803e53a8156b72b4c1f9902a88cd65ba964db103dab9","dweb:/ipfs/QmPKn6EYDgpga7KtpkA8wV2yJCYGMtc9K4LkJfhKX2RVSV"]},"node_modules/@openzeppelin/contracts-upgradeable/utils/ReentrancyGuardUpgradeable.sol":{"keccak256":"0x361126a17677994081cd9cb69c3f50cffff6e920d25cb7e428acdb1ae41d1866","license":"MIT","urls":["bzz-raw://19ae787a7dd001269cd60a394b1a5261b78925a0fc3a6f927beb2986a9aa56cf","dweb:/ipfs/QmYLfXiuKmcRgTDBEDXMMjXU8t6JxsspUmjxYzqWS55oEv"]},"node_modules/@openzeppelin/contracts-upgradeable/utils/introspection/ERC165Upgradeable.sol":{"keccak256":"0xc8ed8d2056934b7675b695dec032f2920c2f5c6cf33a17ca85650940675323ab","license":"MIT","urls":["bzz-raw://3c8ccc75d1cd792d192aa09e54dd49ea35fe85baa9fcd17486f29227d9f29b89","dweb:/ipfs/QmbboSbFUEiM9tdEgBwuTRb7bykFoJXZ7dsSr1PSREJXMr"]},"node_modules/@openzeppelin/contracts/access/IAccessControl.sol":{"keccak256":"0xc1c2a7f1563b77050dc6d507db9f4ada5d042c1f6a9ddbffdc49c77cdc0a1606","license":"MIT","urls":["bzz-raw://fd54abb96a6156d9a761f6fdad1d3004bc48d2d4fce47f40a3f91a7ae83fc3a1","dweb:/ipfs/QmUrFSGkTDJ7WaZ6qPVVe3Gn5uN2viPb7x7QQ35UX4DofX"]},"node_modules/@openzeppelin/contracts/access/Ownable.sol":{"keccak256":"0xff6d0bb2e285473e5311d9d3caacb525ae3538a80758c10649a4d61029b017bb","license":"MIT","urls":["bzz-raw://8ed324d3920bb545059d66ab97d43e43ee85fd3bd52e03e401f020afb0b120f6","dweb:/ipfs/QmfEckWLmZkDDcoWrkEvMWhms66xwTLff9DDhegYpvHo1a"]},"node_modules/@openzeppelin/contracts/access/extensions/IAccessControlEnumerable.sol":{"keccak256":"0xca774fbe0568762efdc1a7cba31f09549c7fa96dbe97410f4843fa2f0bc000a3","license":"MIT","urls":["bzz-raw://0187ffdbf3d61b6d86cba4fcd9826e53d876987d620533ee84c681bdaf0f3ba3","dweb:/ipfs/QmVJDqdJv6uzHY7ifncfv2QJep8XTzS3bGb4s5Exhuv86m"]},"node_modules/@openzeppelin/contracts/interfaces/IERC1363.sol":{"keccak256":"0x9b6b3e7803bc5f2f8cd7ad57db8ac1def61a9930a5a3107df4882e028a9605d7","license":"MIT","urls":["bzz-raw://da62d6be1f5c6edf577f0cb45666a8aa9c2086a4bac87d95d65f02e2f4c36a4b","dweb:/ipfs/QmNkpvBpoCMvX8JwAFNSc5XxJ2q5BXJpL5L1txb4QkqVFF"]},"node_modules/@openzeppelin/contracts/interfaces/IERC165.sol":{"keccak256":"0xde7e9fd9aee8d4f40772f96bb3b58836cbc6dfc0227014a061947f8821ea9724","license":"MIT","urls":["bzz-raw://11fea9f8bc98949ac6709f0c1699db7430d2948137aa94d5a9e95a91f61a710a","dweb:/ipfs/QmQdfRXxQjwP6yn3DVo1GHPpriKNcFghSPi94Z1oKEFUNS"]},"node_modules/@openzeppelin/contracts/interfaces/IERC20.sol":{"keccak256":"0xce41876e78d1badc0512229b4d14e4daf83bc1003d7f83978d18e0e56f965b9c","license":"MIT","urls":["bzz-raw://a2608291cb038b388d80b79a06b6118a42f7894ff67b7da10ec0dbbf5b2973ba","dweb:/ipfs/QmWohqcBLbcxmA4eGPhZDXe5RYMMEEpFq22nfkaUMvTfw1"]},"node_modules/@openzeppelin/contracts/interfaces/IERC4626.sol":{"keccak256":"0x666c704c58d4cf404eecd6e4a898a87e25b00b45416678de914e160582c3ff17","license":"MIT","urls":["bzz-raw://6def3cc823ae3f155da28a241a8ff91538222053ed9d78f415758a9133e211a1","dweb:/ipfs/QmSriniszojh4UP4WQqxCJhq2XsbCAULcB4qRij4EYw9Gi"]},"node_modules/@openzeppelin/contracts/interfaces/draft-IERC6093.sol":{"keccak256":"0x880da465c203cec76b10d72dbd87c80f387df4102274f23eea1f9c9b0918792b","license":"MIT","urls":["bzz-raw://399594cd8bb0143bc9e55e0f1d071d0d8c850a394fb7a319d50edd55d9ed822b","dweb:/ipfs/QmbPZzgtT6LEm9CMqWfagQFwETbV1ztpECBB1DtQHrKiRz"]},"node_modules/@openzeppelin/contracts/token/ERC20/IERC20.sol":{"keccak256":"0xe06a3f08a987af6ad2e1c1e774405d4fe08f1694b67517438b467cecf0da0ef7","license":"MIT","urls":["bzz-raw://df6f0c459663c9858b6cba2cda1d14a7d05a985bed6d2de72bd8e78c25ee79db","dweb:/ipfs/QmeTTxZ7qVk9rjEv2R4CpCwdf8UMCcRqDNMvzNxHc3Fnn9"]},"node_modules/@openzeppelin/contracts/token/ERC20/extensions/IERC20Metadata.sol":{"keccak256":"0x70f2f713b13b7ce4610bcd0ac9fec0f3cc43693b043abcb8dc40a42a726eb330","license":"MIT","urls":["bzz-raw://c13d13304ac79a83ab1c30168967d19e2203342ebbd6a9bbce4db7550522dcbf","dweb:/ipfs/QmeN5jKMN2vw5bhacr6tkg78afbTTZUeaacNHqjWt4Ew1r"]},"node_modules/@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol":{"keccak256":"0x4ea01544758fd2c7045961904686bfe232d2220a04ecaa2d6b08dac17827febf","license":"MIT","urls":["bzz-raw://fabe6bef5167ae741dd8c22d7f81d3f9120bd61b290762a2e8f176712567d329","dweb:/ipfs/QmSnEitJ6xmf1SSAUeZozD7Gx7h8bNnX3a1ZBzqeivsvVg"]},"node_modules/@openzeppelin/contracts/utils/Address.sol":{"keccak256":"0xaaa1d17c1129b127a4a401db2fbd72960e2671474be3d08cae71ccdc42f7624c","license":"MIT","urls":["bzz-raw://cb2f27cd3952aa667e198fba0d9b7bcec52fbb12c16f013c25fe6fb52b29cc0e","dweb:/ipfs/QmeuohBFoeyDPZA9JNCTEDz3VBfBD4EABWuWXVhHAuEpKR"]},"node_modules/@openzeppelin/contracts/utils/Context.sol":{"keccak256":"0x493033a8d1b176a037b2cc6a04dad01a5c157722049bbecf632ca876224dd4b2","license":"MIT","urls":["bzz-raw://6a708e8a5bdb1011c2c381c9a5cfd8a9a956d7d0a9dc1bd8bcdaf52f76ef2f12","dweb:/ipfs/Qmax9WHBnVsZP46ZxEMNRQpLQnrdE4dK8LehML1Py8FowF"]},"node_modules/@openzeppelin/contracts/utils/Errors.sol":{"keccak256":"0x6afa713bfd42cf0f7656efa91201007ac465e42049d7de1d50753a373648c123","license":"MIT","urls":["bzz-raw://ba1d02f4847670a1b83dec9f7d37f0b0418d6043447b69f3a29a5f9efc547fcf","dweb:/ipfs/QmQ7iH2keLNUKgq2xSWcRmuBE5eZ3F5whYAkAGzCNNoEWB"]},"node_modules/@openzeppelin/contracts/utils/Panic.sol":{"keccak256":"0xf7fe324703a64fc51702311dc51562d5cb1497734f074e4f483bfb6717572d7a","license":"MIT","urls":["bzz-raw://c6a5ff4f9fd8649b7ee20800b7fa387d3465bd77cf20c2d1068cd5c98e1ed57a","dweb:/ipfs/QmVSaVJf9FXFhdYEYeCEfjMVHrxDh5qL4CGkxdMWpQCrqG"]},"node_modules/@openzeppelin/contracts/utils/introspection/IERC165.sol":{"keccak256":"0x79796192ec90263f21b464d5bc90b777a525971d3de8232be80d9c4f9fb353b8","license":"MIT","urls":["bzz-raw://f6fda447a62815e8064f47eff0dd1cf58d9207ad69b5d32280f8d7ed1d1e4621","dweb:/ipfs/QmfDRc7pxfaXB2Dh9np5Uf29Na3pQ7tafRS684wd3GLjVL"]},"node_modules/@openzeppelin/contracts/utils/math/Math.sol":{"keccak256":"0xa00be322d7db5786750ce0ac7e2f5b633ac30a5ed5fa1ced1e74acfc19acecea","license":"MIT","urls":["bzz-raw://6c84e822f87cbdc4082533b626667b6928715bb2b1e8e7eb96954cebb9e38c8d","dweb:/ipfs/QmZmy9dgxLTerBAQDuuHqbL6EpgRxddqgv5KmwpXYVbKz1"]},"node_modules/@openzeppelin/contracts/utils/math/SafeCast.sol":{"keccak256":"0x195533c86d0ef72bcc06456a4f66a9b941f38eb403739b00f21fd7c1abd1ae54","license":"MIT","urls":["bzz-raw://b1d578337048cad08c1c03041cca5978eff5428aa130c781b271ad9e5566e1f8","dweb:/ipfs/QmPFKL2r9CBsMwmUqqdcFPfHZB2qcs9g1HDrPxzWSxomvy"]},"node_modules/@openzeppelin/contracts/utils/structs/EnumerableSet.sol":{"keccak256":"0x9b161e97b8967d4bc0c08d25741889a30692cdda4b71910bf1b0e315f1962212","license":"MIT","urls":["bzz-raw://821500c39d095eaa25b06f46e65f1d0e97c4c96b39227f79077dee7d9e84051f","dweb:/ipfs/QmSTeGorKzSWF6HAmxo32uCZiEuKNvreQdUiX1AaYtUMTz"]},"src/common/UpgradeableVault.sol":{"keccak256":"0xaa283bbf81534519ff6bbe0af1777682a544b654f9030f15c3a9c7fd44bd6e00","license":"AGPL-3.0","urls":["bzz-raw://3bd4441cac1e698f547dfb3db2f53facd21f7dcfc8d6cc3786da01f633703bd0","dweb:/ipfs/QmXUFJ8qfjWYxSiNUefdf8XTUypcfFQu4iXtPA4qEsVJQe"]},"src/implementation/ConcreteAsyncVaultImpl.sol":{"keccak256":"0xb09b1ede46c12bb7bc8bdc4c9056837ebd00b206323a1d33aa5dfe29739ecab7","license":"AGPL-3.0","urls":["bzz-raw://fb6cb3b2f9e1d1f98dbdcd8d5cc886b64ed74ea69595a036efac03ac84060625","dweb:/ipfs/QmQpmf7eRmYatGFmXSEXrGAGFg1VsS7oobGQqskAyhaDk1"]},"src/implementation/ConcreteStandardVaultImpl.sol":{"keccak256":"0x7724d0e4a52770e6a79bb515067d809149916b14e4c507a7da44cae15ff4b439","license":"AGPL-3.0","urls":["bzz-raw://4f3e57fd54bb78ea5215eed4ccbe488485a4972145d2b8c705c0537306c4497c","dweb:/ipfs/QmbxHABw5tjgBcY8dSWfrUXGoQhfktz3GEmhtbTNCPjomt"]},"src/interface/IAllocateModule.sol":{"keccak256":"0xa26141402f03df064dedb5bc2061f2907971d234ccf0d6973a1f6dbefe0ce994","license":"UNLICENSED","urls":["bzz-raw://d7526df1499168d9f87e80a68202142d5e59c3e5e84df3190415769e1c2b1eeb","dweb:/ipfs/QmXUdHt3bBinvVKQUNWjwAMZ4271EWsu3peqxGaG91UpD6"]},"src/interface/IConcreteAsyncVaultImpl.sol":{"keccak256":"0x9855e348d2e4f69432fafb684287e020117bc90ee43485fe6bd205555b78c95b","license":"UNLICENSED","urls":["bzz-raw://8cb91fd5a304f2eee01410c5b90b293e7c4ce739bcb27639665e65107f2cf445","dweb:/ipfs/QmTSouJnkZbyE5fRqvRBsNpQefMHyTTuTWT2CdL5WEkTjJ"]},"src/interface/IConcreteStandardVaultImpl.sol":{"keccak256":"0x695ae10dd76d1cccdf2782d41e7bb7345344505ff9771899ac995cd961778816","license":"UNLICENSED","urls":["bzz-raw://c71ff104732c38e93169fe688e27ae6bb47ce495f090e193100f773dbc1d8f64","dweb:/ipfs/QmUe2wDQ9j78Q8hG4ojZyt8vs21VzzAcoaSiPXRXMMZJN7"]},"src/interface/IHook.sol":{"keccak256":"0x8937e7f954ae1b44584109ba0e6bd125e278420cf6cbe3a79fc3ce40e3e6c5db","license":"MIT","urls":["bzz-raw://745a1cdd52a799fd5b1a25568d0d4ae4a49c05a9a9ddd531f35c2c1cf26c6738","dweb:/ipfs/QmQyTRGv28tLEXvCbmensUZvbMBx5Jdh4sjc98TsQzDydk"]},"src/interface/IStrategyTemplate.sol":{"keccak256":"0xe94aafcf946327d4480b9f81037c2e44d7c73c1b6dfadaf5890fdf9685bbd805","license":"UNLICENSED","urls":["bzz-raw://48ab9eb30ecf48a0e5b83292e66704b0ce19c389efd4ec41b162ae36cdfb70d0","dweb:/ipfs/QmYi7KvsMi9z9v8fCp79kmT8vD3qpM5pMgv8hLMbuWGKvM"]},"src/interface/IUpgradeableVault.sol":{"keccak256":"0xfd2b342ea1a2353b592a3105bb5e48486c44d42364a5e9725e84e42e2e8ff494","license":"UNLICENSED","urls":["bzz-raw://b66b53c605bc77b0863c799af1f6f3ceee6e56a5eff512331d2dbac42fb67982","dweb:/ipfs/Qmb1woVHvFMPfdiCWSPVGisx6bCC3mpNgKvEDTMtTcVSFL"]},"src/lib/AccessControlLib.sol":{"keccak256":"0xb7ee7af31e150b111b80ad4b2ea3f8cef01999c44b202e5b6967e912af257602","license":"MIT","urls":["bzz-raw://d901254b31b67301724e63322f59bd89ef86964c41a92c6df0c500fc0024c79c","dweb:/ipfs/QmWxqMwLqPV5a9HrfQeTBFgQsWEDkwpzHUr7bDzdHd2HZW"]},"src/lib/AsyncVaultHelperLib.sol":{"keccak256":"0xf99e894dd669b0e182f467cebd56548111b0eaf18aec574389a752e08cd4642d","license":"UNLICENSED","urls":["bzz-raw://fa310ecff4d2fefa38506eef99308610cfeecd53698819c2c16108154fed2379","dweb:/ipfs/QmRdmGpL1aVqyjj7Nv1ct5NLKtoorTBc6gjkZr9LdMEfqg"]},"src/lib/Constants.sol":{"keccak256":"0x0e9b6e2138cf4f6582143c4dc3ad8b57b5dfae1be3039635c9294c054c9f7373","license":"MIT","urls":["bzz-raw://6725ee3fa340c5df39aa3c3729fd4dc13c3e2ddc50926acb155d078e3bb95793","dweb:/ipfs/QmRVPjtmKUq9rStzt5SEA3YCNV247XT5mPCWLBgFrgdoZ4"]},"src/lib/Conversion.sol":{"keccak256":"0xf00ba0b241fd23eaf9d628ad966541f034758390d5866af915164eeaaea5a3b4","license":"MIT","urls":["bzz-raw://53c99a9be16b2868fc969d35e366eb8369caa9defe3ba1dd6fcd5632ed66e514","dweb:/ipfs/QmPNe2iKsnfa77NTgPzPkxjygiDiHQ7Yhns3DLJj2XCb5K"]},"src/lib/ERC20Lib.sol":{"keccak256":"0xa5b6f3b45ba746883af5128bfe86fe9f1e59e7267fe07c8518d736424a27ff51","license":"UNLICENSED","urls":["bzz-raw://41ff37d96e572d9a2d01f8efa0bd4e7f5452e9cb05416d580905932315e4249f","dweb:/ipfs/QmVAg4LYoYvRVNP5Zgh5PuhRTSh8NhTNVTWU28yHtQFYB7"]},"src/lib/Hooks.sol":{"keccak256":"0x8698e909c2002e40060e858df248c3ea869797b21511f8ef7b6da46c0e509c05","license":"MIT","urls":["bzz-raw://fcd4a3197d2eb586902461f59026ab06aaa9434e4b2f38191b609771f27db00d","dweb:/ipfs/QmRyhg7QMmTUzfrnMqK9NrY3zcPBfAP7JGoB4N8SDcbTpU"]},"src/lib/Roles.sol":{"keccak256":"0x409ce729af7337ff4a3ffa317df82a1f4eb4feb638d2376a551d5b84b3c89456","license":"MIT","urls":["bzz-raw://361ba89d5fe9b1aa842245deca78e311e8ee89681161672ad42a05a0c7a7fd8b","dweb:/ipfs/QmXRGbfUr165h9vsaCE33AULgbgxBuAyzj4MnnU525N9bf"]},"src/lib/StateInitLib.sol":{"keccak256":"0xe70f106fb0f137832c10d900529ec9bca93ee724fec71a79665b1f009cc6bb23","urls":["bzz-raw://7c757215f1e105c345183687403154dc5d18fdfc7431bbb1da75b1ea73dbcac2","dweb:/ipfs/QmSuUrgm9uCGoSvE3KN3FnXi3F1fbmUhYYgVjMLgn3ZM2t"]},"src/lib/StateSetterLib.sol":{"keccak256":"0x7a7e5003f278828fb937b51ae733472bd446bcd1aef302516a5a7127ebcfcd6d","license":"MIT","urls":["bzz-raw://54c435054f516bedb7269fa3967d493c5931b16d0df90e5441efcb9fdce95af8","dweb:/ipfs/QmSMfNcpfWQ4sPPwVRqhM7VdgjgtAE9sWW4XacJ1zCse3A"]},"src/lib/Time.sol":{"keccak256":"0x6c22846623af11b1d77339d3bef649c578e4fed7b5f9029a9dc3750cb451eb79","license":"UNLICENSED","urls":["bzz-raw://d6fa0195283193d8880d0222a22bcbe2229315230771ef16d1fceab21fcddd1b","dweb:/ipfs/QmdhCmGQiy99BthrwqW5i9PHZU1AGzFck7bULtEC9iASLN"]},"src/lib/storage/ConcreteAsyncVaultImplStorageLib.sol":{"keccak256":"0x7ddac5ec8e62a538b4188007e9aca9ea984fe650d91db77af4da5b5d5ca5194f","license":"MIT","urls":["bzz-raw://c8356bb42f98239c2682ac5a38f1f2f93d21f820cb1876dd1f98a67338daae30","dweb:/ipfs/QmNfg3ikb5VbWiiKDd7bdo7dYiuZdNFFgT7MX2aUxcMA8F"]},"src/lib/storage/ConcreteCachedVaultStateStorageLib.sol":{"keccak256":"0x1da5d6244eb213ff273aaec57cb30d01090cf5c60394eaeefa2fcbedd448c00c","license":"MIT","urls":["bzz-raw://593c6edb0c464be5edbb3fe47a00756332bff07f11623c7097b89a7c3e1c28b1","dweb:/ipfs/QmPNE4AF7LLryAppiJ3z8oPKjMbJQLeHFiFDwPhh3HJsJM"]},"src/lib/storage/ConcreteStandardVaultImplStorageLib.sol":{"keccak256":"0xd32e072adcbbc3e2436a315fb5d108d9ac3da7e1ebc4529af1807701948e5ece","license":"MIT","urls":["bzz-raw://67aa2ac3e73fa1e85b9506a57ebfd4770e18102552fc86b8a27755c3d59dbe53","dweb:/ipfs/QmSeTgzHsRQresJsNvSZhRjVZQvquShCPCXWYsb8ghUEa7"]},"src/module/AllocateModule.sol":{"keccak256":"0x95a18813e10b4e8aa13e072a5c58f59bda0874c7afed2b9ac109e424ad0343e0","license":"UNLICENSED","urls":["bzz-raw://409d853e743108bfcd40c6e809b5d9e63ca7ffa0d424f9a79ed302a5c7eff5d8","dweb:/ipfs/QmRLsK1M4kYKtp6KDWyn5W31dAWZT5Xcvx44gJEuABVCHa"]}},"version":1},"storageLayout":{"types":null,"storage":[]},"transientStorageLayout":{"types":null,"storage":[]},"userdoc":{"kind":"user","methods":{"factory()":{"notice":"Get the factory's address."},"version()":{"notice":"Get the vault's version."},"closeEpoch()":{"notice":"Close the current epoch"},"accrueYield()":{"notice":"Accrues yield and accounts for losses across all active strategies in the vault."},"getFeeConfig()":{"notice":"Returns the current fee configuration for the vault."},"processEpoch()":{"notice":"Process all pending redeem requests for a specific epoch"},"allocate(bytes)":{"notice":"Executes fund allocation and deallocation operations across multiple strategies."},"isQueueActive()":{"notice":"Get whether the queue is active"},"latestEpochID()":{"notice":"Get current epoch ID"},"toggleQueueActive()":{"notice":"Toggle the active status of the queue"},"previewAccrueYield()":{"notice":"Previews the total assets that would be available after accruing yield from all strategies."},"upgrade(uint64,bytes)":{"notice":"Upgrade this vault to a specific newer version using a given data."},"cancelRequest(uint256)":{"notice":"Cancel pending redeem request for a specific epoch (only unprocessed epochs)"},"getDeallocationOrder()":{"notice":"Returns the deallocation order from strategies."},"getEpochState(uint256)":{"notice":"Get the state of an epoch"},"claimWithdrawal(uint256[])":{"notice":"Claim processed redeem requests from specified epochs"},"setHooks((address,uint96))":{"notice":"Sets the hooks for the vault."},"pastEpochsUnclaimedAssets()":{"notice":"Get total redeemable assets from past epochs"},"updateManagementFee(uint16)":{"notice":"Updates the management fee for the vault."},"updatePerformanceFee(uint16)":{"notice":"Updates the performance fee for the vault."},"cancelRequest(address,uint256)":{"notice":"Cancel pending redeem request for a specific epoch (only unprocessed epochs)"},"getEpochPricePerShare(uint256)":{"notice":"Get share price for a specific epoch"},"moveRequestToNextEpoch(address)":{"notice":"Internal function to move a deposit request to the next deposit epoch"},"setDeallocationOrder(address[])":{"notice":"overwrites the deallocation order from strategies;"},"initialize(uint64,address,bytes)":{"notice":"Initialize `UpgradeableVaultProxy` contract by using a given data and setting a particular version and owner."},"claimWithdrawal(address,uint256[])":{"notice":"Claim processed redeem requests from specified epochs"},"getUserEpochRequest(address,uint256)":{"notice":"Get user's redeem request for a specific epoch"},"totalRequestedSharesPerEpoch(uint256)":{"notice":"Get total requested shares in a specific epoch"},"updateManagementFeeRecipient(address)":{"notice":"Updates the management fee recipient for the vault."},"totalRequestedSharesForCurrentEpochs()":{"notice":"Get total requested shares in the active and processing epochs"},"updatePerformanceFeeRecipient(address)":{"notice":"Updates the performance fee recipient for the vault."},"getUserEpochRequestInAssets(address,uint256)":{"notice":"Get claimable redeem request from a specific epoch"}},"version":1},"devdoc":{"kind":"dev","errors":{"EmptyUsers()":[{"details":"Thrown when attempting to claim with empty users."}],"FailedCall()":[{"details":"A call to an address target failed. The target may have reverted."}],"ZeroShares()":[{"details":"Thrown when attempting to withdraw zero shares."}],"InvalidName()":[{"details":"Thrown when the name is invalid."}],"ZeroAddress()":[{"details":"Thrown when attempting to operate on a zero address."}],"InvalidAsset()":[{"details":"Thrown when the asset is invalid."}],"EmptyEpochIDs()":[{"details":"Thrown when attempting to claim with empty epoch IDs."}],"InvalidSymbol()":[{"details":"Thrown when the symbol is invalid."}],"InvalidReceiver()":[{"details":"Thrown when attempting to withdraw to the zero address."}],"NotInitializing()":[{"details":"The contract is not initializing."}],"StrategyIsHalted()":[{"details":"Thrown when attempting to interact with a strategy that is halted."}],"FeeRecipientNotSet()":[{"details":"Thrown when attempting to set a management fee without setting a recipient first."}],"InsufficientAssets()":[{"details":"Thrown when calculated assets are zero."}],"InsufficientShares()":[{"details":"Thrown when calculated shares are zero."}],"NoClaimableRequest()":[{"details":"Thrown when attempting to claim a request that is not claimable."}],"NoRedeemableAssets()":[{"details":"Thrown when there are no redeemable assets available."}],"NoRequestingShares()":[{"details":"Thrown when attempting to operate on an epoch with no requesting shares."}],"InsufficientBalance()":[{"details":"Thrown when the vault has insufficient balance to process the epoch."}],"InvalidFeeRecipient()":[{"details":"Thrown when attempting to set an invalid fee recipient address (address(0))."}],"InvalidDepositLimits()":[{"details":"Thrown when the deposit limits are invalid."}],"InvalidStrategyAsset()":[{"details":"Thrown when attempting to add a strategy that uses a different asset than the vault."}],"StrategyAlreadyAdded()":[{"details":"Thrown when attempting to add a strategy that has already been added to the vault."}],"StrategyDoesNotExist()":[{"details":"Thrown when attempting to operate on a strategy that doesn't exist in the vault."}],"EpochStillOpen(uint256)":[{"params":{"epochID":"The epoch that was still open."},"details":"Thrown when attempting to process an epoch that is still open."}],"InvalidAllocateModule()":[{"details":"Thrown when the allocate module is invalid."}],"InvalidInitialization()":[{"details":"The contract is already initialized."}],"InvalidWithdrawLimits()":[{"details":"Thrown when the withdraw limits are invalid."}],"StrategyAlreadyHalted()":[{"details":"Thrown when attempting to halt a strategy that is already halted."}],"StrategyHasAllocation()":[{"details":"Thrown when attempting to remove a strategy that has allocation or is in the deallocation order."}],"AddressEmptyCode(address)":[{"details":"There's no code at `target` (it is not a contract)."}],"EpochNotProcessed(uint256)":[{"details":"Thrown when attempting to roll to next epoch while current epoch is not processed."}],"ERC20InvalidSender(address)":[{"params":{"sender":"Address whose tokens are being transferred."},"details":"Indicates a failure with the token `sender`. Used in transfers."}],"EpochAlreadyClosed(uint256)":[{"params":{"epochID":"The epoch that was already closed."},"details":"Thrown when attempting to process an epoch that is already closed."}],"ERC20InvalidSpender(address)":[{"params":{"spender":"Address that may be allowed to operate on tokens without being their owner."},"details":"Indicates a failure with the `spender` to be approved. Used in approvals."}],"InvalidInitialVaultManager()":[{"details":"Thrown when the initial vault manager is invalid."}],"OwnableInvalidOwner(address)":[{"details":"The owner is not a valid owner account. (eg. `address(0)`)"}],"ERC20InvalidApprover(address)":[{"params":{"approver":"Address initiating an approval operation."},"details":"Indicates a failure with the `approver` of a token to be approved. Used in approvals."}],"ERC20InvalidReceiver(address)":[{"params":{"receiver":"Address to which tokens are being transferred."},"details":"Indicates a failure with the token `receiver`. Used in transfers."}],"ManagementFeeExceedsMaximum()":[{"details":"Thrown when attempting to set a management fee that exceeds the maximum allowed."}],"AccessControlBadConfirmation()":[{"details":"The caller of a function is not the expected one. NOTE: Don't confuse with {AccessControlUnauthorizedAccount}."}],"CannotToggleInactiveStrategy()":[{"details":"Thrown when attempting to toggle the status of an inactive strategy."}],"EpochAlreadyProcessed(uint256)":[{"details":"Thrown when attempting to cancel a request for an epoch that has already been processed."}],"PerformanceFeeExceedsMaximum()":[{"details":"Thrown when attempting to set a performance fee that exceeds the maximum allowed."}],"ReentrancyGuardReentrantCall()":[{"details":"Unauthorized reentrant call."}],"SafeERC20FailedOperation(address)":[{"details":"An operation with an ERC-20 token failed."}],"PreviousEpochNotProcessed(uint256)":[{"details":"Thrown when attempting to close an epoch that and previous epoch was not processed."}],"OwnableUnauthorizedAccount(address)":[{"details":"The caller account is not authorized to perform an operation."}],"PreviousEpochAlreadyProcessed(uint256)":[{"details":"Thrown when attempting to process an epoch that was already processed."}],"SafeCastOverflowedUintDowncast(uint8,uint256)":[{"details":"Value doesn't fit in an uint of `bits` size."}],"ERC4626ExceededMaxMint(address,uint256,uint256)":[{"details":"Attempted to mint more shares than the max amount for `receiver`."}],"AccessControlUnauthorizedAccount(address,bytes32)":[{"details":"The `account` is missing a role."}],"ERC20InsufficientBalance(address,uint256,uint256)":[{"params":{"needed":"Minimum amount required to perform a transfer.","sender":"Address whose tokens are being transferred.","balance":"Current balance for the interacting account."},"details":"Indicates an error related to the current `balance` of a `sender`. Used in transfers."}],"ERC4626ExceededMaxRedeem(address,uint256,uint256)":[{"details":"Attempted to redeem more shares than the max amount for `receiver`."}],"ERC4626ExceededMaxDeposit(address,uint256,uint256)":[{"details":"Attempted to deposit more assets than the max amount for `receiver`."}],"ERC20InsufficientAllowance(address,uint256,uint256)":[{"params":{"needed":"Minimum amount required to perform a transfer.","spender":"Address that may be allowed to operate on tokens without being their owner.","allowance":"Amount of tokens a `spender` is allowed to operate with."},"details":"Indicates a failure with the `spender`’s `allowance`. Used in transfers."}],"ERC4626ExceededMaxWithdraw(address,uint256,uint256)":[{"details":"Attempted to withdraw more assets than the max amount for `receiver`."}],"AssetAmountOutOfBounds(address,uint256,uint256,uint256)":[{"details":"Thrown when the asset amount is out of bounds."}]},"events":{"Initialized(uint64)":{"details":"Triggered when the contract has been initialized or reinitialized."},"EpochClosed(uint256)":{"params":{"epochID":"The epoch that was closed."},"details":"Emitted when an epoch is closed."},"StrategyAdded(address)":{"params":{"strategy":"The address of the strategy contract that was added."},"details":"Emitted when a new strategy is successfully added to the vault."},"StrategyHalted(address)":{"params":{"strategy":"The address of the strategy contract that was halted."},"details":"Emitted when a strategy is set to Halted status."},"QueueActiveToggled(bool)":{"params":{"isQueueActive":"The active status of the queue."},"details":"Emitted when the queue is toggled."},"StrategyRemoved(address)":{"params":{"strategy":"The address of the strategy contract that was removed."},"details":"Emitted when a strategy is successfully removed from the vault."},"DeallocationOrderUpdated()":{"details":"Emitted when the deallocation order is updated."},"ManagementFeeUpdated(uint16)":{"params":{"managementFee":"The new management fee rate in basis points."},"details":"Emitted when management fee is updated."},"PerformanceFeeUpdated(uint16)":{"params":{"performanceFee":"The new performance fee rate in basis points."},"details":"Emitted when performance fee is updated."},"YieldAccrued(uint256,uint256)":{"params":{"totalNegativeYield":"The total amount of losses incurred across all strategies.","totalPositiveYield":"The total amount of positive yield generated across all strategies."},"details":"Emitted when the yield accrual operation is completed across all strategies."},"StrategyStatusToggled(address)":{"params":{"strategy":"The address of the strategy contract whose status was toggled."},"details":"Emitted when a strategy's status is toggled between Active and Halted."},"Approval(address,address,uint256)":{"details":"Emitted when the allowance of a `spender` for an `owner` is set by a call to {approve}. `value` is the new allowance."},"Transfer(address,address,uint256)":{"details":"Emitted when `value` tokens are moved from one account (`from`) to another (`to`). Note that `value` may be zero."},"WithdrawalQueueInitialized(uint256)":{"params":{"epochID":"The initial epoch ID."},"details":"Emitted when the withdrawal queue is initialized."},"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`)"},"DepositLimitsUpdated(uint256,uint256)":{"params":{"maxDepositAmount":"The new maximum deposit amount.","minDepositAmount":"The new minimum deposit amount."},"details":"Emitted when deposit limits are updated."},"ManagementFeeRecipientUpdated(address)":{"params":{"managementFeeRecipient":"The new management fee recipient address."},"details":"Emitted when management fee recipient is updated."},"WithdrawLimitsUpdated(uint256,uint256)":{"params":{"maxWithdrawAmount":"The new maximum withdraw amount.","minWithdrawAmount":"The new minimum withdraw amount."},"details":"Emitted when withdraw limits are updated."},"PerformanceFeeRecipientUpdated(address)":{"params":{"performanceFeeRecipient":"The new performance fee recipient address."},"details":"Emitted when performance fee recipient is updated."},"RequestCancelled(address,uint256,uint256)":{"params":{"owner":"The address of the user cancelling the request.","shares":"The amount of shares returned to the user.","epochID":"The epoch from which the request was cancelled."},"details":"Emitted when a user cancels their pending withdrawal request."},"RequestClaimed(address,uint256,uint256[])":{"params":{"owner":"The address of the user claiming the withdrawal.","assets":"The amount of assets transferred to the user.","epochIDs":"The epoch IDs from which the request was claimed."},"details":"Emitted when a user claims their processed withdrawal request."},"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 signaling this."},"ManagementFeeAccrued(address,uint256,uint256)":{"params":{"shares":"The number of shares minted as management fee.","feeAmount":"The asset value of the management fee.","recipient":"The address that received the management fee shares."},"details":"Emitted when management fee is accrued."},"PerformanceFeeAccrued(address,uint256,uint256)":{"params":{"shares":"The number of shares minted as performance fee.","feeAmount":"The asset value of the performance fee.","recipient":"The address that received the performance fee shares."},"details":"Emitted when performance fee is accrued."},"EpochProcessed(uint256,uint256,uint256,uint256)":{"params":{"assets":"The total assets reserved for the epoch.","shares":"The total shares processed in the epoch.","epochID":"The epoch ID that was processed.","sharePrice":"The share price locked for the epoch."},"details":"Emitted when an epoch's withdrawal requests are processed."},"StrategyYieldAccrued(address,uint256,uint256,uint256)":{"params":{"loss":"The amount of loss incurred by this strategy since last accrual.","yield":"The amount of positive yield generated by this strategy since last accrual.","strategy":"The address of the strategy contract whose yield was accrued.","currentTotalAllocatedValue":"The current total allocated value reported by the strategy."},"details":"Emitted when an individual strategy's yield is accrued."},"RequestMovedToNextEpoch(address,uint256,uint256,uint256)":{"params":{"user":"The address of the user whose request was moved.","shares":"The amount of shares moved.","nextEpochID":"The epoch to which the request was moved.","currentEpochID":"The epoch from which the request was moved."},"details":"Emitted when a user's request is moved to the next epoch."},"QueuedWithdrawal(address,address,address,uint256,uint256,uint256)":{"params":{"owner":"The address of the user making the request.","assets":"The amount of assets requested for withdrawal.","shares":"The amount of shares transferred to the vault for the request.","epochID":"The epoch in which the request was queued."},"details":"Emitted when a user submits a withdrawal request that is queued for epoch processing."}},"methods":{"name()":{"details":"Returns the name of the token."},"asset()":{"details":"See {IERC4626-asset}. "},"owner()":{"details":"Returns the address of the current owner."},"symbol()":{"details":"Returns the symbol of the token, usually a shorter version of the name."},"version()":{"details":"Starts from 1.","returns":{"_0":"version of the vault"}},"decimals()":{"details":"Decimals are computed by adding the decimal offset on top of the underlying asset's decimals. This \"original\" value is cached during construction of the vault contract. If this read operation fails (e.g., the asset has not been created yet), a default of 18 is used to represent the underlying asset's decimals. See {IERC20Metadata-decimals}."},"closeEpoch()":{"details":"Only callable by WITHDRAWAL_MANAGER roleCloses the current epoch and increments the epoch IDCan only be called if the previous epoch is processed (!)"},"accrueYield()":{"details":"This function updates the vault's internal accounting by querying the current      value of all strategy allocations and calculating net yield or losses.This function can be called by anyone to update the vault's accounting.The yield accrual operation does not trigger actual fund movements, it only         updates the vault's internal state to reflect current strategy values."},"totalAssets()":{"details":"Returns the total amount of the underlying asset that is “managed” by Vault. - SHOULD include any compounding that occurs from yield. - MUST be inclusive of any fees that are charged against assets in the Vault. - MUST NOT revert."},"totalSupply()":{"details":"See {IERC20-totalSupply}."},"getFeeConfig()":{"returns":{"currentManagementFee":"The current management fee in basis points.","currentPerformanceFee":"The current performance fee in basis points.","currentManagementFeeRecipient":"The current management fee recipient address.","currentPerformanceFeeRecipient":"The current performance fee recipient address.","currentLastManagementFeeAccrual":"The timestamp of the last management fee accrual."}},"processEpoch()":{"details":"Harvests all strategies to get current accurate pricing before processingCalculates share price and reserves required assets for the epochCan process any epoch with pending requests, enabling historical processingOnly callable by ALLOCATOR role"},"allocate(bytes)":{"params":{"data":"ABI-encoded array of AllocateParams structures containing the allocation             operations to execute. Each param specifies whether to allocate or deallocate             funds, which strategy to use, and any additional data required by the strategy."},"details":"This function performs a yield accrual operation first to update vault accounting,      then executes the allocation operations specified in the data parameter.All operations are performed via delegatecall to the respective modules to maintain      proper storage context and access control.Only callable by accounts with the ALLOCATOR role.The function automatically triggers yield accrual before allocation to ensure         accurate vault accounting prior to fund movements."},"getStrategies()":{"details":"Returns an array of all strategy addresses currently managed by the vault.This function provides a way to enumerate all active strategies for external integrations and monitoring.","returns":{"_0":"An array containing the addresses of all strategies added to the vault. Note: - The returned array includes strategies in all statuses (Active, Inactive, Emergency) - The order of strategies in the array is not guaranteed - Returns an empty array if no strategies have been added"}},"isQueueActive()":{"details":"Returns true if the queue is active, false otherwise","returns":{"_0":"The active status of the queue"}},"latestEpochID()":{"details":"New withdrawal requests are queued in this epoch","returns":{"_0":"The current epoch ID"}},"managementFee()":{"details":"Returns the management fee configuration.","returns":{"_0":"The address that receives management fees.","_1":"The management fee rate in basis points (where 10,000 = 100%).","_2":"The timestamp of the last management fee accrual."}},"allocateModule()":{"details":"Returns the address of the allocate module.","returns":{"_0":"The address of the allocate module."}},"maxMint(address)":{"details":"See {IERC4626-maxMint}. "},"performanceFee()":{"details":"Returns the performance fee configuration.","returns":{"_0":"The address that receives performance fees.","_1":"The performance fee rate in basis points (where 10,000 = 100%)."}},"balanceOf(address)":{"details":"See {IERC20-balanceOf}."},"getDepositLimits()":{"details":"Returns the deposit limits.","returns":{"_0":"The maximum deposit amount.","_1":"The minimum deposit amount."}},"maxRedeem(address)":{"details":"Returns the maximum amount of Vault shares that can be redeemed from the owner balance in the Vault, through a redeem call. - MUST return a limited value if owner is subject to some withdrawal limit or timelock. - MUST return balanceOf(owner) if owner is not subject to any withdrawal limit or timelock. - MUST NOT revert."},"cachedTotalAssets()":{"details":"Returns the cached value of total assets after the last call.","returns":{"_0":"The cached value of total assets after the last call."}},"getTotalAllocated()":{"details":"Returns the total amount of assets allocated to all strategies.","returns":{"totalAllocated":"The total amount of assets allocated to all strategies."}},"getWithdrawLimits()":{"details":"Returns the withdraw limits.","returns":{"_0":"The maximum withdraw amount.","_1":"The minimum withdraw amount."}},"maxDeposit(address)":{"details":"See {IERC4626-maxDeposit}. "},"renounceOwnership()":{"details":"Leaves the contract without owner. It will not be possible to call `onlyOwner` functions. Can only be called by the current owner. NOTE: Renouncing ownership will leave the contract without an owner, thereby disabling any functionality that is only available to the owner."},"toggleQueueActive()":{"details":"Only callable by the ALLOCATOR role"},"addStrategy(address)":{"params":{"strategy":"The address of the strategy contract to add. Requirements: - The strategy's asset() must match the vault's asset() - The strategy must not already be added to the vault - Caller must have STRATEGY_MANAGER role Emits: - StrategyAdded event Reverts: - InvalidStrategyAsset if strategy uses different asset - StrategyAlreadyAdded if strategy is already in the vault"},"details":"Adds a new strategy to the vault.The strategy must implement the IStrategyTemplate interface and use the same underlying asset as the vault.Only callable by accounts with the STRATEGY_MANAGER role."},"maxWithdraw(address)":{"details":"Returns the maximum amount of the underlying asset that can be withdrawn from the owner balance in the Vault, through a withdraw call. - MUST return a limited value if owner is subject to some withdrawal limit or timelock. - MUST NOT revert."},"previewAccrueYield()":{"details":"This function simulates the yield accrual operation without actually executing it,      providing a view of what the vault's total assets would be after accounting      for yield and losses across all active strategies.The calculation includes the current lastTotalAssets plus any positive      yield minus any losses that would be realized during yield accrual.This is a view function that does not modify state or trigger any actual      fund movements or strategy interactions.","returns":{"_0":"The total amount of assets that would be available in the vault after yield accrual,         denominated in the vault's underlying asset token.","_1":"The total amount of shares that would be available in the vault after yield accrual,         calculated as current totalSupply + management fee shares."}},"previewMint(uint256)":{"details":"Allows an on-chain or off-chain user to simulate the effects of their mint at the current block, given current on-chain conditions. - MUST return as close to and no fewer than the exact amount of assets that would be deposited in a mint call   in the same transaction. I.e. mint should return the same or fewer assets as previewMint if called in the   same transaction. - MUST NOT account for mint limits like those returned from maxMint and should always act as though the mint   would be accepted, regardless if the user has enough tokens approved, etc. - MUST be inclusive of deposit fees. Integrators should be aware of the existence of deposit fees. - MUST NOT revert. NOTE: any unfavorable discrepancy between convertToAssets and previewMint SHOULD be considered slippage in share price or some other type of condition, meaning the depositor will lose assets by minting."},"getRoleAdmin(bytes32)":{"details":"Returns the admin role that controls `role`. See {grantRole} and {revokeRole}. To change a role's admin, use {_setRoleAdmin}."},"mint(uint256,address)":{"details":"Mints exactly shares Vault shares to receiver by depositing amount of underlying tokens. - MUST emit the Deposit event. - MAY support an additional flow in which the underlying tokens are owned by the Vault contract before the mint   execution, and are accounted for during mint. - MUST revert if all of shares cannot be minted (due to deposit limit being reached, slippage, the user not   approving enough underlying tokens to the Vault contract, etc). NOTE: most implementations will require pre-approval of the Vault with the Vault’s underlying asset token."},"upgrade(uint64,bytes)":{"params":{"data":"some data to use","newVersion":"new version of the vault"}},"cancelRequest(uint256)":{"params":{"epochID":"The epoch ID from which to cancel the request"},"details":"Users can only cancel requests from epochs that haven't been processed yet (no price locked)Returns shares back to the user and updates epoch accounting"},"getEpochState(uint256)":{"params":{"epochID":"The epoch ID to check"},"details":"Returns the state of an epoch","returns":{"_0":"The state of the epoch"}},"previewRedeem(uint256)":{"details":"Allows an on-chain or off-chain user to simulate the effects of their redeemption at the current block, given current on-chain conditions. - MUST return as close to and no more than the exact amount of assets that would be withdrawn in a redeem call   in the same transaction. I.e. redeem should return the same or more assets as previewRedeem if called in the   same transaction. - MUST NOT account for redemption limits like those returned from maxRedeem and should always act as though the   redemption would be accepted, regardless if the user has enough shares, etc. - MUST be inclusive of withdrawal fees. Integrators should be aware of the existence of withdrawal fees. - MUST NOT revert. NOTE: any unfavorable discrepancy between convertToAssets and previewRedeem SHOULD be considered slippage in share price or some other type of condition, meaning the depositor will lose assets by redeeming."},"getRoleMembers(bytes32)":{"details":"Return all accounts that have `role` WARNING: This operation will copy the entire storage to memory, which can be quite expensive. This is designed to mostly be used by view accessors that are queried without any gas fees. Developers should keep in mind that this function has an unbounded cost, and using it as part of a state-changing function may render the function uncallable if the set grows to a point where copying to memory consumes too much gas to fit in a block."},"previewDeposit(uint256)":{"details":"See {IERC4626-previewDeposit}."},"removeStrategy(address)":{"params":{"strategy":"The address of the strategy contract to remove. Requirements: - Strategy must exist in the vault - Strategy must have zero allocated funds OR be in Halted status - Caller must have STRATEGY_MANAGER role Emits: - StrategyRemoved event Reverts: - StrategyDoesNotExist if strategy is not in the vault - Custom revert if strategy has allocated funds and is not in Halted status"},"details":"Removes a strategy from the vault.The strategy can only be removed if it has no allocated funds, unless it's in Halted status.Only callable by accounts with the STRATEGY_MANAGER role."},"approve(address,uint256)":{"details":"See {IERC20-approve}. NOTE: If `value` is the maximum `uint256`, the allowance is not updated on `transferFrom`. This is semantically equivalent to an infinite approval. Requirements: - `spender` cannot be the zero address."},"convertToAssets(uint256)":{"details":"See {IERC4626-convertToAssets}. "},"convertToShares(uint256)":{"details":"See {IERC4626-convertToShares}. "},"deposit(uint256,address)":{"details":"Mints shares Vault shares to receiver by depositing exactly amount of underlying tokens. - MUST emit the Deposit event. - MAY support an additional flow in which the underlying tokens are owned by the Vault contract before the   deposit execution, and are accounted for during deposit. - MUST revert if all of assets cannot be deposited (due to deposit limit being reached, slippage, the user not   approving enough underlying tokens to the Vault contract, etc). NOTE: most implementations will require pre-approval of the Vault with the Vault’s underlying asset token."},"getStrategyData(address)":{"params":{"strategy":"The address of the strategy contract to query."},"details":"Retrieves the current data and status information for a specific strategy.This function provides read-only access to strategy metadata including allocation amounts and status.","returns":{"_0":"The StrategyData struct containing the strategy's current status and allocated amount. Note: - Returns default values (Inactive status, 0 allocated) for non-existent strategies - Does not revert for invalid strategy addresses"}},"hasRole(bytes32,address)":{"details":"Returns `true` if `account` has been granted `role`."},"previewWithdraw(uint256)":{"details":"Allows an on-chain or off-chain user to simulate the effects of their withdrawal at the current block, given current on-chain conditions. - MUST return as close to and no fewer than the exact amount of Vault shares that would be burned in a withdraw   call in the same transaction. I.e. withdraw should return the same or fewer shares as previewWithdraw if   called   in the same transaction. - MUST NOT account for withdrawal limits like those returned from maxWithdraw and should always act as though   the withdrawal would be accepted, regardless if the user has enough shares, etc. - MUST be inclusive of withdrawal fees. Integrators should be aware of the existence of withdrawal fees. - MUST NOT revert. NOTE: any unfavorable discrepancy between convertToShares and previewWithdraw SHOULD be considered slippage in share price or some other type of condition, meaning the depositor will lose assets by depositing."},"supportsInterface(bytes4)":{"details":"See {IERC165-supportsInterface}."},"transfer(address,uint256)":{"details":"See {IERC20-transfer}. Requirements: - `to` cannot be the zero address. - the caller must have a balance of at least `value`."},"allowance(address,address)":{"details":"See {IERC20-allowance}."},"claimWithdrawal(uint256[])":{"params":{"epochIDs":"Array of epoch IDs to claim from"},"details":"Processes each epoch internally, aggregates assets and shares, then burns and transfers onceMore gas efficient than claiming epochs individuallySkips epochs with no claimable amounts (zero shares or unprocessed epochs)"},"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."},"setHooks((address,uint96))":{"params":{"hooks":"The hooks to set."},"details":"This function sets the hooks for the vault.Only callable by accounts with the HOOK_MANAGER role."},"transferOwnership(address)":{"details":"Transfers ownership of the contract to a new account (`newOwner`). Can only be called by the current owner."},"getRoleMemberCount(bytes32)":{"details":"Returns the number of accounts that have `role`. Can be used together with {getRoleMember} to enumerate all bearers of a role."},"pastEpochsUnclaimedAssets()":{"details":"This amount is subtracted from totalAssets() to exclude reserved funds from active vault operations","returns":{"_0":"The total assets reserved for past epoch claims"}},"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."},"updateManagementFee(uint16)":{"params":{"managementFee":"The new management fee in basis points."},"details":"Only callable by accounts with VAULT_MANAGER role.Fee must be <= MAX_MANAGEMENT_FEE.If fee > 0, recipient must be set."},"updatePerformanceFee(uint16)":{"params":{"performanceFee":"The new performance fee in basis points."},"details":"Only callable by accounts with VAULT_MANAGER role.Fee must be <= MAX_PERFORMANCE_FEE.If fee > 0, recipient must be set."},"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."},"toggleStrategyStatus(address)":{"params":{"strategy":"The address of the strategy contract to toggle. Requirements: - Strategy must exist in the vault - Strategy must be either Active or Halted (cannot toggle Inactive strategies) - Caller must have STRATEGY_MANAGER role Emits: - StrategyStatusToggled event Reverts: - StrategyDoesNotExist if strategy is not in the vault"},"details":"Toggles a strategy's status between Active and Halted.This is a safety mechanism to isolate problematic strategies or reactivate previously halted ones.Active strategies can receive allocations and participate in yield accrual and withdrawal operations.Halted strategies are skipped during yield accrual and withdrawal operations.Only callable by accounts with the STRATEGY_MANAGER role."},"cancelRequest(address,uint256)":{"params":{"user":"The user address to cancel the request for","epochID":"The epoch ID from which to cancel the request"},"details":"Users can only cancel requests from epochs that haven't been processed yet (no price locked)Returns shares back to the user and updates epoch accounting"},"getEpochPricePerShare(uint256)":{"params":{"epochID":"The epoch ID to check"},"details":"Returns the share price that was locked when the epoch was processedReturns 0 if the epoch has not been processed yet","returns":{"_0":"The share price locked when the epoch was processed (in assets per 1e18 shares)"}},"getRoleMember(bytes32,uint256)":{"details":"Returns one of the accounts that have `role`. `index` must be a value between 0 and {getRoleMemberCount}, non-inclusive. Role bearers are not sorted in any particular way, and their ordering may change at any point. WARNING: When using {getRoleMember} and {getRoleMemberCount}, make sure you perform all queries on the same block. See the following https://forum.openzeppelin.com/t/iterating-over-elements-on-enumerableset-in-openzeppelin-contracts/2296[forum post] for more information."},"moveRequestToNextEpoch(address)":{"params":{"user":"The user whose request to move"},"details":"Validates inputs, determines amount to move, updates storage for both epochs."},"redeem(uint256,address,address)":{"details":"Burns exactly shares from owner and sends assets of underlying tokens to receiver. - MUST emit the Withdraw event. - MAY support an additional flow in which the underlying tokens are owned by the Vault contract before the   redeem execution, and are accounted for during redeem. - MUST revert if all of shares cannot be redeemed (due to withdrawal limit being reached, slippage, the owner   not having enough shares, etc). NOTE: some implementations will require pre-requesting to the Vault before a withdrawal may be performed. Those methods should be performed separately."},"initialize(uint64,address,bytes)":{"params":{"data":"some data to use","owner":"initial owner of the vault","initialVersion":"initial version of the vault"}},"setDepositLimits(uint256,uint256)":{"params":{"maxDepositAmount":"The maximum deposit amount.","minDepositAmount":"The minimum deposit amount."},"details":"Sets the deposit limits.Only callable by accounts with VAULT_MANAGER role."},"withdraw(uint256,address,address)":{"details":"Burns shares from owner and sends exactly assets of underlying tokens to receiver. - MUST emit the Withdraw event. - MAY support an additional flow in which the underlying tokens are owned by the Vault contract before the   withdraw execution, and are accounted for during withdraw. - MUST revert if all of assets cannot be withdrawn (due to withdrawal limit being reached, slippage, the owner   not having enough shares, etc). Note that some implementations will require pre-requesting to the Vault before a withdrawal may be performed. Those methods should be performed separately."},"claimWithdrawal(address,uint256[])":{"params":{"user":"The user address to claim from","epochIDs":"Array of epoch IDs to claim from"},"details":"Processes each epoch internally, aggregates assets and shares, then burns and transfers onceMore gas efficient than claiming epochs individuallySkips epochs with no claimable amounts (zero shares or unprocessed epochs)"},"setWithdrawLimits(uint256,uint256)":{"params":{"maxWithdrawAmount":"The maximum withdraw amount.","minWithdrawAmount":"The minimum withdraw amount."},"details":"Sets the withdraw limits.Only callable by accounts with VAULT_MANAGER role."},"getUserEpochRequest(address,uint256)":{"params":{"user":"The user address to check","epochID":"The epoch ID to check"},"details":"Returns the amount of shares requested by the specified user in the epoch","returns":{"shares":"The amount of shares requested by the user in the epoch"}},"totalRequestedSharesPerEpoch(uint256)":{"params":{"epochID":"The epoch ID to check"},"details":"Returns the total shares from all users that requested withdrawal in the epochReturns 0 after epoch is processed (shares moved to requestingSharesInPast)","returns":{"_0":"The total shares requested in the epoch"}},"transferFrom(address,address,uint256)":{"details":"See {IERC20-transferFrom}. Skips emitting an {Approval} event indicating an allowance update. This is not required by the ERC. See {xref-ERC20-_approve-address-address-uint256-bool-}[_approve]. NOTE: Does not update the allowance if the current allowance is the maximum `uint256`. Requirements: - `from` and `to` cannot be the zero address. - `from` must have a balance of at least `value`. - the caller must have allowance for ``from``'s tokens of at least `value`."},"updateManagementFeeRecipient(address)":{"params":{"recipient":"The new management fee recipient address."},"details":"Only callable by accounts with VAULT_MANAGER role.Recipient cannot be address(0)."},"totalRequestedSharesForCurrentEpochs()":{"details":"Returns the total shares from all users that requested withdrawal in the active and processing epochs","returns":{"_0":"The total shares requested in the active epoch","_1":"The total shares requested in the processing epoch","_2":"The total shares requested in the last processed epoch"}},"updatePerformanceFeeRecipient(address)":{"params":{"recipient":"The new performance fee recipient address."},"details":"Only callable by accounts with VAULT_MANAGER.Recipient cannot be address(0)."},"getUserEpochRequestInAssets(address,uint256)":{"params":{"epochID":"The epoch ID to check"},"details":"Returns the amount of assets claimable by the caller from the specified epochReturns 0 if epoch is not processed, no request exists, or epoch is current/future","returns":{"assets":"The amount of assets claimable from the epoch"}}},"version":1},"sourceIds":{"src/lib/Time.sol":{"id":46},"src/lib/Hooks.sol":{"id":42},"src/lib/Roles.sol":{"id":43},"src/lib/ERC20Lib.sol":{"id":41},"src/lib/Constants.sol":{"id":39},"src/lib/Conversion.sol":{"id":40},"src/interface/IHook.sol":{"id":34},"src/lib/StateInitLib.sol":{"id":44},"src/lib/StateSetterLib.sol":{"id":45},"src/lib/AccessControlLib.sol":{"id":37},"src/module/AllocateModule.sol":{"id":50},"src/common/UpgradeableVault.sol":{"id":28},"src/lib/AsyncVaultHelperLib.sol":{"id":38},"src/interface/IAllocateModule.sol":{"id":31},"src/interface/IStrategyTemplate.sol":{"id":35},"src/interface/IUpgradeableVault.sol":{"id":36},"src/interface/IConcreteAsyncVaultImpl.sol":{"id":32},"src/interface/IConcreteStandardVaultImpl.sol":{"id":33},"src/implementation/ConcreteAsyncVaultImpl.sol":{"id":29},"src/implementation/ConcreteStandardVaultImpl.sol":{"id":30},"node_modules/@openzeppelin/contracts/utils/Panic.sol":{"id":23},"src/lib/storage/ConcreteAsyncVaultImplStorageLib.sol":{"id":47},"node_modules/@openzeppelin/contracts/utils/Errors.sol":{"id":22},"node_modules/@openzeppelin/contracts/utils/Address.sol":{"id":20},"node_modules/@openzeppelin/contracts/utils/Context.sol":{"id":21},"src/lib/storage/ConcreteCachedVaultStateStorageLib.sol":{"id":48},"node_modules/@openzeppelin/contracts/access/Ownable.sol":{"id":10},"src/lib/storage/ConcreteStandardVaultImplStorageLib.sol":{"id":49},"node_modules/@openzeppelin/contracts/utils/math/Math.sol":{"id":25},"node_modules/@openzeppelin/contracts/interfaces/IERC20.sol":{"id":14},"node_modules/@openzeppelin/contracts/interfaces/IERC165.sol":{"id":13},"node_modules/@openzeppelin/contracts/token/ERC20/IERC20.sol":{"id":17},"node_modules/@openzeppelin/contracts/interfaces/IERC1363.sol":{"id":12},"node_modules/@openzeppelin/contracts/interfaces/IERC4626.sol":{"id":15},"node_modules/@openzeppelin/contracts/utils/math/SafeCast.sol":{"id":26},"node_modules/@openzeppelin/contracts/access/IAccessControl.sol":{"id":9},"node_modules/@openzeppelin/contracts/interfaces/draft-IERC6093.sol":{"id":16},"node_modules/@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol":{"id":19},"node_modules/@openzeppelin/contracts/utils/introspection/IERC165.sol":{"id":24},"node_modules/@openzeppelin/contracts/utils/structs/EnumerableSet.sol":{"id":27},"node_modules/@openzeppelin/contracts-upgradeable/utils/ContextUpgradeable.sol":{"id":6},"node_modules/@openzeppelin/contracts-upgradeable/access/OwnableUpgradeable.sol":{"id":1},"node_modules/@openzeppelin/contracts-upgradeable/proxy/utils/Initializable.sol":{"id":3},"node_modules/@openzeppelin/contracts/token/ERC20/extensions/IERC20Metadata.sol":{"id":18},"node_modules/@openzeppelin/contracts-upgradeable/token/ERC20/ERC20Upgradeable.sol":{"id":4},"node_modules/@openzeppelin/contracts/access/extensions/IAccessControlEnumerable.sol":{"id":11},"node_modules/@openzeppelin/contracts-upgradeable/access/AccessControlUpgradeable.sol":{"id":0},"node_modules/@openzeppelin/contracts-upgradeable/utils/ReentrancyGuardUpgradeable.sol":{"id":7},"node_modules/@openzeppelin/contracts-upgradeable/utils/introspection/ERC165Upgradeable.sol":{"id":8},"node_modules/@openzeppelin/contracts-upgradeable/token/ERC20/extensions/ERC4626Upgradeable.sol":{"id":5},"node_modules/@openzeppelin/contracts-upgradeable/access/extensions/AccessControlEnumerableUpgradeable.sol":{"id":2}},"additionalInput":null,"stdJsonInput":{"sources":{"src/lib/Time.sol":{"content":"// SPDX-License-Identifier: UNLICENSED\n// OpenZeppelin Contracts (last updated v5.1.0) (utils/types/Time.sol)\npragma solidity ^0.8.24;\n\nimport {SafeCast} from \"@openzeppelin-contracts/utils/math/SafeCast.sol\";\n\n/**\n * @dev This library provides helpers for manipulating time-related objects.\n *\n * It uses the following types:\n * - `uint48` for timepoints\n *\n */\nlibrary Time {\n    /**\n     * @dev Get the block timestamp as a Timepoint.\n     */\n    function timestamp() internal view returns (uint32) {\n        return SafeCast.toUint32(block.timestamp);\n    }\n}\n"},"src/lib/Hooks.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity ^0.8.24;\n\nimport {Hooks, IHook} from \"../interface/IHook.sol\";\n\n/// @title HooksMainLib\n/// @dev Hooks library for four user action hooks: pre-deposit, pre-mint, pre-withdraw, pre-redeem.\n/// @dev Hooks library for two strategy hooks: pre-add-strategy, pre-remove-strategy.\nlibrary HooksLibV1 {\n    uint8 constant PRE_DEPOSIT = 1;\n    uint8 constant POST_DEPOSIT = 2;\n    uint8 constant PRE_MINT = 3;\n    uint8 constant POST_MINT = 4;\n    uint8 constant PRE_WITHDRAW = 5;\n    uint8 constant POST_WITHDRAW = 6;\n    uint8 constant PRE_REDEEM = 7;\n    uint8 constant POST_REDEEM = 8;\n\n    uint8 constant PRE_ADD_STRATEGY = 9;\n    uint8 constant PRE_REMOVE_STRATEGY = 10;\n\n    /// @dev Checks if a specific flag is set in the Hooks struct\n    /// @param h The Hooks storage reference\n    /// @param flagIndex The flag index to check (0-95)\n    /// @return True if the flag is set, false otherwise\n    function flagIsSet(Hooks memory h, uint8 flagIndex) internal pure returns (bool) {\n        if (flagIndex >= 96) return false;\n        return (uint96(h.flags) & (1 << flagIndex)) != 0;\n    }\n\n    function checkIsValid(Hooks memory h, uint8 flagIndex) internal pure returns (bool) {\n        if (!flagIsSet(h, flagIndex) || h.target == address(0)) return false;\n        return true;\n    }\n\n    function preDeposit(Hooks memory h, address sender, uint256 assets, address receiver, uint256 totalAssets)\n        internal\n    {\n        IHook(h.target).preDeposit(sender, assets, receiver, totalAssets);\n    }\n\n    function preMint(Hooks memory h, address sender, uint256 shares, address receiver, uint256 totalAssets) internal {\n        IHook(h.target).preMint(sender, shares, receiver, totalAssets);\n    }\n\n    function preWithdraw(\n        Hooks memory h,\n        address sender,\n        uint256 assets,\n        address receiver,\n        address owner,\n        uint256 totalAssets\n    ) internal {\n        IHook(h.target).preWithdraw(sender, assets, receiver, owner, totalAssets);\n    }\n\n    function preRedeem(\n        Hooks memory h,\n        address sender,\n        uint256 shares,\n        address receiver,\n        address owner,\n        uint256 totalAssets\n    ) internal {\n        IHook(h.target).preRedeem(sender, shares, receiver, owner, totalAssets);\n    }\n\n    function postDeposit(\n        Hooks memory h,\n        address sender,\n        uint256 assets,\n        uint256 shares,\n        address receiver,\n        uint256 totalAssets\n    ) internal {\n        IHook(h.target).postDeposit(sender, assets, shares, receiver, totalAssets);\n    }\n\n    function postMint(\n        Hooks memory h,\n        address sender,\n        uint256 assets,\n        uint256 shares,\n        address receiver,\n        uint256 totalAssets\n    ) internal {\n        IHook(h.target).postMint(sender, assets, shares, receiver, totalAssets);\n    }\n\n    function postWithdraw(\n        Hooks memory h,\n        address sender,\n        uint256 assets,\n        uint256 shares,\n        address receiver,\n        uint256 totalAssets\n    ) internal {\n        IHook(h.target).postWithdraw(sender, assets, shares, receiver, totalAssets);\n    }\n\n    function postRedeem(\n        Hooks memory h,\n        address sender,\n        uint256 assets,\n        uint256 shares,\n        address receiver,\n        uint256 totalAssets\n    ) internal {\n        IHook(h.target).postRedeem(sender, assets, shares, receiver, totalAssets);\n    }\n}\n"},"src/lib/Roles.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity ^0.8.24;\n\nlibrary ConcreteV2RolesLib {\n    /// Roles and their ADMIN roles.\n    bytes32 public constant VAULT_MANAGER = keccak256(\"VAULT_MANAGER\");\n    bytes32 public constant VAULT_MANAGER_ADMIN = keccak256(\"VAULT_MANAGER_ADMIN\");\n\n    bytes32 public constant HOOK_MANAGER = keccak256(\"HOOK_MANAGER\");\n    bytes32 public constant HOOK_MANAGER_ADMIN = keccak256(\"HOOK_MANAGER_ADMIN\");\n\n    bytes32 public constant STRATEGY_MANAGER = keccak256(\"STRATEGY_MANAGER\");\n    bytes32 public constant STRATEGY_MANAGER_ADMIN = keccak256(\"STRATEGY_MANAGER_ADMIN\");\n\n    bytes32 public constant ALLOCATOR = keccak256(\"ALLOCATOR\");\n    bytes32 public constant ALLOCATOR_ADMIN = keccak256(\"ALLOCATOR_ADMIN\");\n\n    bytes32 public constant WITHDRAWAL_MANAGER = keccak256(\"WITHDRAWAL_MANAGER\");\n    bytes32 public constant WITHDRAWAL_MANAGER_ADMIN = keccak256(\"WITHDRAWAL_MANAGER_ADMIN\");\n}\n"},"src/lib/ERC20Lib.sol":{"content":"// SPDX-License-Identifier: UNLICENSED\npragma solidity ^0.8.0;\n\nimport {ERC20Upgradeable} from \"@openzeppelin-upgradeable/token/ERC20/ERC20Upgradeable.sol\";\nimport {IERC20Errors} from \"@openzeppelin-contracts/interfaces/draft-IERC6093.sol\";\nimport {IERC20} from \"@openzeppelin-contracts/token/ERC20/IERC20.sol\";\n\nlibrary ERC20_OZ_5_2_0_Lib {\n    /**\n     * @dev Moves a `value` amount of tokens from `from` to `to`.\n     *\n     * This internal function is equivalent to {transfer}, and can be used to\n     * e.g. implement automatic token fees, slashing mechanisms, etc.\n     *\n     * Emits a {Transfer} event.\n     *\n     * NOTE: This function is not virtual, {_update} should be overridden instead.\n     */\n    function _transfer(address from, address to, uint256 value) internal {\n        if (from == address(0)) {\n            revert IERC20Errors.ERC20InvalidSender(address(0));\n        }\n        if (to == address(0)) {\n            revert IERC20Errors.ERC20InvalidReceiver(address(0));\n        }\n        _update(from, to, value);\n    }\n\n    /**\n     * @dev Transfers a `value` amount of tokens from `from` to `to`, or alternatively mints (or burns) if `from`\n     * (or `to`) is the zero address. All customizations to transfers, mints, and burns should be done by overriding\n     * this function.\n     *\n     * Emits a {Transfer} event.\n     */\n    function _update(address from, address to, uint256 value) internal {\n        ERC20Upgradeable.ERC20Storage storage $ = _getERC20Storage();\n        if (from == address(0)) {\n            // Overflow check required: The rest of the code assumes that totalSupply never overflows\n            $._totalSupply += value;\n        } else {\n            uint256 fromBalance = $._balances[from];\n            if (fromBalance < value) {\n                revert IERC20Errors.ERC20InsufficientBalance(from, fromBalance, value);\n            }\n            unchecked {\n                // Overflow not possible: value <= fromBalance <= totalSupply.\n                $._balances[from] = fromBalance - value;\n            }\n        }\n\n        if (to == address(0)) {\n            unchecked {\n                // Overflow not possible: value <= totalSupply or value <= fromBalance <= totalSupply.\n                $._totalSupply -= value;\n            }\n        } else {\n            unchecked {\n                // Overflow not possible: balance + value is at most totalSupply, which we know fits into a uint256.\n                $._balances[to] += value;\n            }\n        }\n\n        emit IERC20.Transfer(from, to, value);\n    }\n\n    /**\n     * @dev Creates a `value` amount of tokens and assigns them to `account`, by transferring it from address(0).\n     * Relies on the `_update` mechanism\n     *\n     * Emits a {Transfer} event with `from` set to the zero address.\n     *\n     * NOTE: This function is not virtual, {_update} should be overridden instead.\n     */\n    function _mint(address account, uint256 value) internal {\n        if (account == address(0)) {\n            revert IERC20Errors.ERC20InvalidReceiver(address(0));\n        }\n        _update(address(0), account, value);\n    }\n\n    /**\n     * @dev Destroys a `value` amount of tokens from `account`, lowering the total supply.\n     * Relies on the `_update` mechanism.\n     *\n     * Emits a {Transfer} event with `to` set to the zero address.\n     *\n     * NOTE: This function is not virtual, {_update} should be overridden instead\n     */\n    function _burn(address account, uint256 value) internal {\n        if (account == address(0)) {\n            revert IERC20Errors.ERC20InvalidSender(address(0));\n        }\n        _update(account, address(0), value);\n    }\n\n    /**\n     * @dev Sets `value` as the allowance of `spender` over the `owner` s tokens.\n     *\n     * This internal function is equivalent to `approve`, and can be used to\n     * e.g. set automatic allowances for certain subsystems, etc.\n     *\n     * Emits an {Approval} event.\n     *\n     * Requirements:\n     *\n     * - `owner` cannot be the zero address.\n     * - `spender` cannot be the zero address.\n     *\n     * Overrides to this logic should be done to the variant with an additional `bool emitEvent` argument.\n     */\n    function _approve(address owner, address spender, uint256 value) internal {\n        _approve(owner, spender, value, true);\n    }\n\n    /**\n     * @dev Variant of {_approve} with an optional flag to enable or disable the {Approval} event.\n     *\n     * By default (when calling {_approve}) the flag is set to true. On the other hand, approval changes made by\n     * `_spendAllowance` during the `transferFrom` operation set the flag to false. This saves gas by not emitting any\n     * `Approval` event during `transferFrom` operations.\n     *\n     * Anyone who wishes to continue emitting `Approval` events on the`transferFrom` operation can force the flag to\n     * true using the following override:\n     *\n     * ```solidity\n     * function _approve(address owner, address spender, uint256 value, bool) internal virtual override {\n     *     super._approve(owner, spender, value, true);\n     * }\n     * ```\n     *\n     * Requirements are the same as {_approve}.\n     */\n    function _approve(address owner, address spender, uint256 value, bool emitEvent) internal {\n        ERC20Upgradeable.ERC20Storage storage $ = _getERC20Storage();\n        if (owner == address(0)) {\n            revert IERC20Errors.ERC20InvalidApprover(address(0));\n        }\n        if (spender == address(0)) {\n            revert IERC20Errors.ERC20InvalidSpender(address(0));\n        }\n        $._allowances[owner][spender] = value;\n        if (emitEvent) {\n            emit IERC20.Approval(owner, spender, value);\n        }\n    }\n\n    /**\n     * @dev Updates `owner` s allowance for `spender` based on spent `value`.\n     *\n     * Does not update the allowance value in case of infinite allowance.\n     * Revert if not enough allowance is available.\n     *\n     * Does not emit an {Approval} event.\n     */\n    function _spendAllowance(address owner, address spender, uint256 value) internal {\n        uint256 currentAllowance = allowance(owner, spender);\n        if (currentAllowance < type(uint256).max) {\n            if (currentAllowance < value) {\n                revert IERC20Errors.ERC20InsufficientAllowance(spender, currentAllowance, value);\n            }\n            unchecked {\n                _approve(owner, spender, currentAllowance - value, false);\n            }\n        }\n    }\n\n    /**\n     * @dev See {IERC20-allowance}.\n     */\n    function allowance(address owner, address spender) public view returns (uint256) {\n        ERC20Upgradeable.ERC20Storage storage $ = _getERC20Storage();\n        return $._allowances[owner][spender];\n    }\n\n    // keccak256(abi.encode(uint256(keccak256(\"openzeppelin.storage.ERC20\")) - 1)) & ~bytes32(uint256(0xff))\n    bytes32 private constant ERC20StorageLocation = 0x52c63247e1f47db19d5ce0460030c497f067ca4cebf71ba98eeadabe20bace00;\n\n    function _getERC20Storage() private pure returns (ERC20Upgradeable.ERC20Storage storage $) {\n        assembly {\n            $.slot := ERC20StorageLocation\n        }\n    }\n}\n"},"src/lib/Constants.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity ^0.8.24;\n\nlibrary ConcreteV2ConstantsLib {\n    /// @dev Fee denominator for basis points calculation (10_000 = 100%)\n    uint16 public constant BASIS_POINTS_DENOMINATOR = 10_000;\n}\n\nlibrary ConcreteV2FeeParamsLib {\n    /// @dev Maximum management fee in basis points (10% = 1,000 bps)\n    uint16 public constant MAX_MANAGEMENT_FEE = 1_000;\n\n    /// @dev Maximum performance fee in basis points (30% = 3,000 bps)\n    uint16 public constant MAX_PERFORMANCE_FEE = 3_000;\n}\n"},"src/lib/Conversion.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity ^0.8.24;\n\nimport {Math} from \"@openzeppelin-contracts/utils/math/Math.sol\";\nimport {IConcreteStandardVaultImpl} from \"../interface/IConcreteStandardVaultImpl.sol\";\n\nlibrary ConcreteV2ConversionLib {\n    using Math for uint256;\n\n    function calcConvertToShares(\n        uint256 assets,\n        uint256 _totalSupply,\n        uint256 _totalAssets,\n        Math.Rounding rounding,\n        bool safeMode\n    ) internal pure returns (uint256 shares) {\n        // setting uint256 decimalsOffset = 0;\n        shares = assets.mulDiv(\n            _totalSupply + 1, // + 10 ** decimalsOffset = 1\n            _totalAssets + 1,\n            rounding\n        );\n        if (safeMode && shares == 0) revert IConcreteStandardVaultImpl.InsufficientShares();\n    }\n\n    function calcConvertToAssets(\n        uint256 shares,\n        uint256 _totalSupply,\n        uint256 _totalAssets,\n        Math.Rounding rounding,\n        bool safeMode\n    ) internal pure returns (uint256 assets) {\n        // setting uint256 decimalsOffset = 0;\n        assets = shares.mulDiv(\n            _totalAssets + 1, // + 10 ** decimalsOffset = 1\n            _totalSupply + 1,\n            rounding\n        );\n        if (safeMode && assets == 0) revert IConcreteStandardVaultImpl.InsufficientAssets();\n    }\n}\n"},"src/interface/IHook.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity ^0.8.24;\n\nstruct Hooks {\n    address target;\n    uint96 flags;\n}\n\ninterface IHook {\n    // USER ACTION HOOKS\n    function preDeposit(address sender, uint256 assets, address receiver, uint256 totalAssets) external;\n    function preMint(address sender, uint256 shares, address receiver, uint256 totalAssets) external;\n    function preWithdraw(address sender, uint256 assets, address receiver, address owner, uint256 totalAssets) external;\n    function preRedeem(address sender, uint256 shares, address receiver, address owner, uint256 totalAssets) external;\n    function postDeposit(address sender, uint256 assets, uint256 shares, address receiver, uint256 totalAssets) external;\n    function postMint(address sender, uint256 assets, uint256 shares, address receiver, uint256 totalAssets) external;\n    function postWithdraw(address sender, uint256 assets, uint256 shares, address receiver, uint256 totalAssets)\n        external;\n    function postRedeem(address sender, uint256 assets, uint256 shares, address receiver, uint256 totalAssets) external;\n}\n"},"src/lib/StateInitLib.sol":{"content":"import {ACL_OZ_5_2_0_Lib} from \"./AccessControlLib.sol\";\nimport {ConcreteV2RolesLib as RolesLib} from \"../lib/Roles.sol\";\nimport {ConcreteStandardVaultImplStorageLib as SVLib} from \"../lib/storage/ConcreteStandardVaultImplStorageLib.sol\";\nimport {ConcreteAsyncVaultImplStorageLib as AVLib} from \"../lib/storage/ConcreteAsyncVaultImplStorageLib.sol\";\nimport {IConcreteAsyncVaultImpl} from \"../interface/IConcreteAsyncVaultImpl.sol\";\nimport {Time} from \"./Time.sol\";\n\nlibrary StateInitLib {\n    function stateInitStandardVaultImpl(address allocateModuleAddr, address initialVaultManager, address sender)\n        public\n    {\n        SVLib.ConcreteStandardVaultImplStorage storage $ = SVLib.fetch();\n\n        $.allocateModule = allocateModuleAddr;\n        $.lastManagementFeeAccrual = Time.timestamp();\n\n        $.maxDepositAmount = type(uint256).max;\n        $.minDepositAmount = 0;\n        $.maxWithdrawAmount = type(uint256).max;\n        $.minWithdrawAmount = 0;\n\n        // Setup role admins\n        ACL_OZ_5_2_0_Lib._setRoleAdmin(RolesLib.VAULT_MANAGER, RolesLib.VAULT_MANAGER_ADMIN);\n        ACL_OZ_5_2_0_Lib._setRoleAdmin(RolesLib.HOOK_MANAGER, RolesLib.HOOK_MANAGER_ADMIN);\n        ACL_OZ_5_2_0_Lib._setRoleAdmin(RolesLib.STRATEGY_MANAGER, RolesLib.STRATEGY_MANAGER_ADMIN);\n        ACL_OZ_5_2_0_Lib._setRoleAdmin(RolesLib.ALLOCATOR, RolesLib.ALLOCATOR_ADMIN);\n\n        // setup role admins of the admins\n        ACL_OZ_5_2_0_Lib._setRoleAdmin(RolesLib.VAULT_MANAGER_ADMIN, RolesLib.VAULT_MANAGER_ADMIN);\n        ACL_OZ_5_2_0_Lib._setRoleAdmin(RolesLib.HOOK_MANAGER_ADMIN, RolesLib.HOOK_MANAGER_ADMIN);\n        ACL_OZ_5_2_0_Lib._setRoleAdmin(RolesLib.STRATEGY_MANAGER_ADMIN, RolesLib.STRATEGY_MANAGER_ADMIN);\n        ACL_OZ_5_2_0_Lib._setRoleAdmin(RolesLib.ALLOCATOR_ADMIN, RolesLib.ALLOCATOR_ADMIN);\n\n        // Grant admin roles to the initial vault manager\n        ACL_OZ_5_2_0_Lib._grantRole(RolesLib.VAULT_MANAGER_ADMIN, initialVaultManager, sender);\n        ACL_OZ_5_2_0_Lib._grantRole(RolesLib.HOOK_MANAGER_ADMIN, initialVaultManager, sender);\n        ACL_OZ_5_2_0_Lib._grantRole(RolesLib.STRATEGY_MANAGER_ADMIN, initialVaultManager, sender);\n        ACL_OZ_5_2_0_Lib._grantRole(RolesLib.ALLOCATOR_ADMIN, initialVaultManager, sender);\n\n        // Grant manager role to the initial vault manager\n        ACL_OZ_5_2_0_Lib._grantRole(RolesLib.VAULT_MANAGER, initialVaultManager, sender);\n    }\n\n    function stateInitAsyncVaultImpl(address initialVaultManager, address sender) public {\n        AVLib.ConcreteAsyncVaultImplStorage storage $ = AVLib.fetch();\n\n        // Set initial epoch to 1,\n        $.isQueueActive = true;\n        $.latestEpochID = 1;\n        emit IConcreteAsyncVaultImpl.WithdrawalQueueInitialized($.latestEpochID);\n\n        // setup role admins\n        ACL_OZ_5_2_0_Lib._setRoleAdmin(RolesLib.WITHDRAWAL_MANAGER, RolesLib.WITHDRAWAL_MANAGER_ADMIN);\n        // setup role admins of the admins\n        ACL_OZ_5_2_0_Lib._setRoleAdmin(RolesLib.WITHDRAWAL_MANAGER_ADMIN, RolesLib.WITHDRAWAL_MANAGER_ADMIN);\n        // Grant admin roles to the initial vault manager\n        ACL_OZ_5_2_0_Lib._grantRole(RolesLib.WITHDRAWAL_MANAGER_ADMIN, initialVaultManager, sender);\n    }\n}\n"},"src/lib/StateSetterLib.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity ^0.8.24;\n\nimport {ConcreteStandardVaultImplStorageLib as SVLib} from \"./storage/ConcreteStandardVaultImplStorageLib.sol\";\nimport {EnumerableSet} from \"@openzeppelin-contracts/utils/structs/EnumerableSet.sol\";\nimport {IConcreteStandardVaultImpl} from \"../interface/IConcreteStandardVaultImpl.sol\";\nimport {ConcreteV2FeeParamsLib} from \"./Constants.sol\";\n\nlibrary StateSetterLib {\n    using EnumerableSet for EnumerableSet.AddressSet;\n\n    /// @dev Maximum management fee in basis points (10% = 1,000 bps)\n    uint16 public constant MAX_MANAGEMENT_FEE = 1_000;\n\n    /// @dev Maximum performance fee in basis points (30% = 3,000 bps)\n    uint16 public constant MAX_PERFORMANCE_FEE = 3_000;\n\n    function updateManagementFee(uint16 managementFee_) external {\n        SVLib.ConcreteStandardVaultImplStorage storage $ = SVLib.fetch();\n\n        if (managementFee_ > 0) {\n            require($.managementFeeRecipient != address(0), IConcreteStandardVaultImpl.FeeRecipientNotSet());\n            require(\n                managementFee_ <= ConcreteV2FeeParamsLib.MAX_MANAGEMENT_FEE,\n                IConcreteStandardVaultImpl.ManagementFeeExceedsMaximum()\n            );\n        }\n\n        $.managementFee = managementFee_;\n        emit IConcreteStandardVaultImpl.ManagementFeeUpdated(managementFee_);\n    }\n\n    /// @dev Updates the management fee recipient\n    /// @param recipient The new management fee recipient\n    function updateManagementFeeRecipient(address recipient) external {\n        require(recipient != address(0), IConcreteStandardVaultImpl.InvalidFeeRecipient());\n\n        SVLib.ConcreteStandardVaultImplStorage storage $ = SVLib.fetch();\n\n        $.managementFeeRecipient = recipient;\n        emit IConcreteStandardVaultImpl.ManagementFeeRecipientUpdated(recipient);\n    }\n\n    function updatePerformanceFee(uint16 performanceFee_) external {\n        SVLib.ConcreteStandardVaultImplStorage storage $ = SVLib.fetch();\n\n        if (performanceFee_ > 0) {\n            require($.performanceFeeRecipient != address(0), IConcreteStandardVaultImpl.FeeRecipientNotSet());\n            require(\n                performanceFee_ <= ConcreteV2FeeParamsLib.MAX_PERFORMANCE_FEE,\n                IConcreteStandardVaultImpl.PerformanceFeeExceedsMaximum()\n            );\n        }\n\n        $.performanceFee = performanceFee_;\n        emit IConcreteStandardVaultImpl.PerformanceFeeUpdated(performanceFee_);\n    }\n\n    function updatePerformanceFeeRecipient(address recipient) external {\n        require(recipient != address(0), IConcreteStandardVaultImpl.InvalidFeeRecipient());\n\n        SVLib.ConcreteStandardVaultImplStorage storage $ = SVLib.fetch();\n        $.performanceFeeRecipient = recipient;\n        emit IConcreteStandardVaultImpl.PerformanceFeeRecipientUpdated(recipient);\n    }\n\n    function setDepositLimits(uint256 minDepositAmount, uint256 maxDepositAmount) external {\n        require(maxDepositAmount >= minDepositAmount, IConcreteStandardVaultImpl.InvalidDepositLimits());\n\n        SVLib.ConcreteStandardVaultImplStorage storage $ = SVLib.fetch();\n\n        $.maxDepositAmount = maxDepositAmount;\n        $.minDepositAmount = minDepositAmount;\n        emit IConcreteStandardVaultImpl.DepositLimitsUpdated(maxDepositAmount, minDepositAmount);\n    }\n\n    function setWithdrawLimits(uint256 minWithdrawAmount, uint256 maxWithdrawAmount) external {\n        require(maxWithdrawAmount >= minWithdrawAmount, IConcreteStandardVaultImpl.InvalidWithdrawLimits());\n\n        SVLib.ConcreteStandardVaultImplStorage storage $ = SVLib.fetch();\n\n        $.maxWithdrawAmount = maxWithdrawAmount;\n        $.minWithdrawAmount = minWithdrawAmount;\n        emit IConcreteStandardVaultImpl.WithdrawLimitsUpdated(maxWithdrawAmount, minWithdrawAmount);\n    }\n\n    function addStrategy(address strategy) external {\n        SVLib.ConcreteStandardVaultImplStorage storage $ = SVLib.fetch();\n\n        require($.strategies.add(strategy), IConcreteStandardVaultImpl.StrategyAlreadyAdded());\n        $.strategyData[strategy] = IConcreteStandardVaultImpl.StrategyData({\n            status: IConcreteStandardVaultImpl.StrategyStatus.Active, allocated: 0\n        });\n\n        emit IConcreteStandardVaultImpl.StrategyAdded(strategy);\n    }\n\n    function removeStrategy(address strategy) external {\n        SVLib.ConcreteStandardVaultImplStorage storage $ = SVLib.fetch();\n\n        IConcreteStandardVaultImpl.StrategyData memory strategyDataCached = $.strategyData[strategy];\n\n        require(\n            (strategyDataCached.allocated == 0 && _strategyNotInDeallocationOrder(strategy))\n                || strategyDataCached.status == IConcreteStandardVaultImpl.StrategyStatus.Halted,\n            IConcreteStandardVaultImpl.StrategyHasAllocation()\n        );\n        require($.strategies.remove(strategy), IConcreteStandardVaultImpl.StrategyDoesNotExist());\n\n        delete $.strategyData[strategy];\n\n        emit IConcreteStandardVaultImpl.StrategyRemoved(strategy);\n    }\n\n    function toggleStrategyStatus(address strategy) external {\n        SVLib.ConcreteStandardVaultImplStorage storage $ = SVLib.fetch();\n\n        require($.strategies.contains(strategy), IConcreteStandardVaultImpl.StrategyDoesNotExist());\n\n        IConcreteStandardVaultImpl.StrategyStatus currentStatus = $.strategyData[strategy].status;\n\n        if (currentStatus == IConcreteStandardVaultImpl.StrategyStatus.Active) {\n            $.strategyData[strategy].status = IConcreteStandardVaultImpl.StrategyStatus.Halted;\n        } else {\n            $.strategyData[strategy].status = IConcreteStandardVaultImpl.StrategyStatus.Active;\n        }\n\n        emit IConcreteStandardVaultImpl.StrategyStatusToggled(strategy);\n    }\n\n    /**\n     * @dev Internal function to check if a strategy is not in the deallocation order.\n     * @param strategy The strategy address to check.\n     * @return True if the strategy is not in the deallocation order, false otherwise.\n     */\n    function _strategyNotInDeallocationOrder(address strategy) internal view returns (bool) {\n        SVLib.ConcreteStandardVaultImplStorage storage $ = SVLib.fetch();\n\n        address[] memory deallocationOrder = $.deallocationOrder;\n        uint256 deallocationOrderLength = deallocationOrder.length;\n        for (uint256 i = 0; i < deallocationOrderLength; i++) {\n            if (deallocationOrder[i] == strategy) {\n                return false;\n            }\n        }\n        return true;\n    }\n\n    /**\n     * @notice overwrites the deallocation order from strategies;\n     */\n    function setDeallocationOrder(address[] calldata order) external {\n        SVLib.ConcreteStandardVaultImplStorage storage $ = SVLib.fetch();\n\n        delete $.deallocationOrder;\n\n        uint256 orderLength = order.length;\n        for (uint256 i = 0; i < orderLength; i++) {\n            address strategy = order[i];\n            require($.strategies.contains(strategy), IConcreteStandardVaultImpl.StrategyDoesNotExist());\n            require(\n                $.strategyData[strategy].status == IConcreteStandardVaultImpl.StrategyStatus.Active,\n                IConcreteStandardVaultImpl.StrategyIsHalted()\n            );\n\n            $.deallocationOrder.push(strategy);\n        }\n\n        emit IConcreteStandardVaultImpl.DeallocationOrderUpdated();\n    }\n}\n"},"src/lib/AccessControlLib.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity ^0.8.0;\n\nimport {AccessControlUpgradeable} from \"@openzeppelin/contracts-upgradeable/access/AccessControlUpgradeable.sol\";\nimport {\n    AccessControlEnumerableUpgradeable\n} from \"@openzeppelin/contracts-upgradeable/access/extensions/AccessControlEnumerableUpgradeable.sol\";\nimport {IAccessControl} from \"@openzeppelin/contracts/access/IAccessControl.sol\";\nimport {EnumerableSet} from \"@openzeppelin/contracts/utils/structs/EnumerableSet.sol\";\n\nlibrary ACL_OZ_5_2_0_Lib {\n    using EnumerableSet for EnumerableSet.AddressSet;\n    // keccak256(abi.encode(uint256(keccak256(\"openzeppelin.storage.AccessControl\")) - 1)) & ~bytes32(uint256(0xff))\n\n    bytes32 private constant AccessControlStorageLocation =\n        0x02dd7bc7dec4dceedda775e58dd541e08a116c6c53815c0bd028192f7b626800;\n\n    function __getAccessControlStorage()\n        private\n        pure\n        returns (AccessControlUpgradeable.AccessControlStorage storage $)\n    {\n        assembly {\n            $.slot := AccessControlStorageLocation\n        }\n    }\n\n    // keccak256(abi.encode(uint256(keccak256(\"openzeppelin.storage.AccessControlEnumerable\")) - 1)) & ~bytes32(uint256(0xff))\n    bytes32 private constant AccessControlEnumerableStorageLocation =\n        0xc1f6fe24621ce81ec5827caf0253cadb74709b061630e6b55e82371705932000;\n\n    function __getAccessControlEnumerableStorage()\n        private\n        pure\n        returns (AccessControlEnumerableUpgradeable.AccessControlEnumerableStorage storage $)\n    {\n        assembly {\n            $.slot := AccessControlEnumerableStorageLocation\n        }\n    }\n\n    /**\n     * @dev Overload {AccessControl-_grantRole} to track enumerable memberships\n     */\n    function _grantRole(bytes32 role, address account, address sender) internal returns (bool) {\n        AccessControlEnumerableUpgradeable.AccessControlEnumerableStorage storage $ace =\n            __getAccessControlEnumerableStorage();\n        bool granted = __grantRole(role, account, sender);\n        if (granted) {\n            $ace._roleMembers[role].add(account);\n        }\n        return granted;\n    }\n\n    function __grantRole(bytes32 role, address account, address sender) private returns (bool) {\n        AccessControlUpgradeable.AccessControlStorage storage $ac = __getAccessControlStorage();\n        if (!__hasRole(role, account)) {\n            $ac._roles[role].hasRole[account] = true;\n            emit IAccessControl.RoleGranted(role, account, sender);\n            return true;\n        } else {\n            return false;\n        }\n    }\n\n    /**\n     * @dev Returns `true` if `account` has been granted `role`.\n     */\n    function __hasRole(bytes32 role, address account) private view returns (bool) {\n        AccessControlUpgradeable.AccessControlStorage storage $ac = __getAccessControlStorage();\n        return $ac._roles[role].hasRole[account];\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) private view returns (bytes32) {\n        AccessControlUpgradeable.AccessControlStorage storage $ac = __getAccessControlStorage();\n        return $ac._roles[role].adminRole;\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 {\n        AccessControlUpgradeable.AccessControlStorage storage $ac = __getAccessControlStorage();\n        bytes32 previousAdminRole = __getRoleAdmin(role);\n        $ac._roles[role].adminRole = adminRole;\n        emit IAccessControl.RoleAdminChanged(role, previousAdminRole, adminRole);\n    }\n}\n"},"src/module/AllocateModule.sol":{"content":"// SPDX-License-Identifier: UNLICENSED\npragma solidity ^0.8.24;\n\nimport {IERC20, IERC4626} from \"@openzeppelin-contracts/interfaces/IERC4626.sol\";\nimport {IAllocateModule} from \"../interface/IAllocateModule.sol\";\nimport {IStrategyTemplate} from \"../interface/IStrategyTemplate.sol\";\nimport {IConcreteStandardVaultImpl} from \"../interface/IConcreteStandardVaultImpl.sol\";\nimport {ConcreteStandardVaultImplStorageLib} from \"../lib/storage/ConcreteStandardVaultImplStorageLib.sol\";\nimport {SafeCast} from \"@openzeppelin-contracts/utils/math/SafeCast.sol\";\nimport {SafeERC20} from \"@openzeppelin-contracts/token/ERC20/utils/SafeERC20.sol\";\n\ncontract AllocateModule is IAllocateModule {\n    using SafeCast for uint256;\n    using SafeERC20 for IERC20;\n\n    /// @inheritdoc IAllocateModule\n    function allocateFunds(bytes calldata data) external {\n        AllocateParams[] memory params = abi.decode(data, (AllocateParams[]));\n\n        ConcreteStandardVaultImplStorageLib.ConcreteStandardVaultImplStorage storage $ =\n            ConcreteStandardVaultImplStorageLib.fetch();\n\n        for (uint256 i; i < params.length; ++i) {\n            // Only allocate to Active strategies\n            if ($.strategyData[params[i].strategy].status != IConcreteStandardVaultImpl.StrategyStatus.Active) {\n                continue;\n            }\n\n            uint256 amount;\n            if (params[i].isDeposit) {\n                IERC20(IERC4626(address(this)).asset()).forceApprove(params[i].strategy, type(uint256).max);\n\n                amount = IStrategyTemplate(params[i].strategy).allocateFunds(params[i].extraData);\n\n                IERC20(IERC4626(address(this)).asset()).forceApprove(params[i].strategy, 0);\n\n                $.strategyData[params[i].strategy].allocated += amount.toUint120();\n            } else {\n                amount = IStrategyTemplate(params[i].strategy).deallocateFunds(params[i].extraData);\n                $.strategyData[params[i].strategy].allocated -= amount.toUint120();\n            }\n\n            emit AllocatedFunds(params[i].strategy, params[i].isDeposit, amount, params[i].extraData);\n        }\n    }\n}\n"},"src/common/UpgradeableVault.sol":{"content":"// SPDX-License-Identifier: AGPL-3.0\npragma solidity ^0.8.24;\n\n/**\n * @title AbstractUpgradeableVault\n * @notice Abstract upgradeable base for Concrete vault implementations.\n *         Provides initializer pattern, ownership, and reentrancy guards.\n *\n * @author Blueprint Finance\n * @custom:protocol Concrete Earn V2\n * @custom:source on request\n * @custom:audits on request\n * @custom:license  AGPL-3.0\n */\n\n// ─────────────────────────────────────────────────────────────────────────────\n// External dependencies\n// ─────────────────────────────────────────────────────────────────────────────\nimport {Initializable} from \"@openzeppelin-upgradeable/proxy/utils/Initializable.sol\";\nimport {OwnableUpgradeable} from \"@openzeppelin-upgradeable/access/OwnableUpgradeable.sol\";\nimport {ReentrancyGuardUpgradeable} from \"@openzeppelin-upgradeable/utils/ReentrancyGuardUpgradeable.sol\";\n\n// ─────────────────────────────────────────────────────────────────────────────\n// Protocol-facing interfaces\n// ─────────────────────────────────────────────────────────────────────────────\nimport {IUpgradeableVault} from \"../interface/IUpgradeableVault.sol\";\n\nabstract contract UpgradeableVault is Initializable, OwnableUpgradeable, ReentrancyGuardUpgradeable, IUpgradeableVault {\n    address public immutable factory;\n\n    constructor(address factoryAddr) {\n        _disableInitializers();\n\n        factory = factoryAddr;\n    }\n\n    modifier notInitialized() {\n        if (_getInitializedVersion() != 0) {\n            revert AlreadyInitialized();\n        }\n\n        _;\n    }\n\n    /**\n     * @inheritdoc IUpgradeableVault\n     */\n    function version() external view returns (uint64) {\n        return _getInitializedVersion();\n    }\n\n    /**\n     * @inheritdoc IUpgradeableVault\n     */\n    function initialize(uint64 initialVersion, address owner_, bytes calldata data)\n        external\n        notInitialized\n        reinitializer(initialVersion)\n    {\n        require(_msgSender() == factory, NotFactory());\n\n        __ReentrancyGuard_init();\n\n        __Ownable_init(owner_);\n\n        _initialize(initialVersion, owner_, data);\n    }\n\n    /**\n     * @inheritdoc IUpgradeableVault\n     */\n    function upgrade(uint64 newVersion, bytes calldata data) external nonReentrant reinitializer(newVersion) {\n        require(_msgSender() == factory, NotFactory());\n\n        _upgrade(_getInitializedVersion(), newVersion, data);\n    }\n\n    /**\n     *\n     * @param initialVersion initial implementation version from the factory\n     * @param owner vault proxy owner address\n     * @param data arbitrary data used to initialize a proxy implementation\n     */\n    function _initialize(uint64 initialVersion, address owner, bytes memory data) internal virtual {}\n\n    /**\n     *\n     * @param oldVersion vault proxy old implementation version\n     * @param newVersion vault proxy new implementation version\n     * @param data arbitrary data that will be used on the new `newImplementation.upgrade()` function to execute the upgrade flow\n     */\n    function _upgrade(uint64 oldVersion, uint64 newVersion, bytes calldata data) internal virtual {}\n}\n"},"src/lib/AsyncVaultHelperLib.sol":{"content":"// SPDX-License-Identifier: UNLICENSED\npragma solidity ^0.8.0;\n\nimport {ConcreteV2ConversionLib as ConversionLib} from \"../lib/Conversion.sol\";\nimport {Math} from \"@openzeppelin-contracts/utils/math/Math.sol\";\nimport {SafeERC20} from \"@openzeppelin-contracts/token/ERC20/utils/SafeERC20.sol\";\nimport {ERC20_OZ_5_2_0_Lib} from \"../lib/ERC20Lib.sol\";\nimport {IERC20} from \"@openzeppelin-contracts/token/ERC20/IERC20.sol\";\nimport {ConcreteAsyncVaultImplStorageLib} from \"../lib/storage/ConcreteAsyncVaultImplStorageLib.sol\";\nimport {IConcreteAsyncVaultImpl} from \"../interface/IConcreteAsyncVaultImpl.sol\";\nimport {IConcreteStandardVaultImpl} from \"../interface/IConcreteStandardVaultImpl.sol\";\nimport {\n    ConcreteCachedVaultStateStorageLib as CachedVaultStateLib\n} from \"../lib/storage/ConcreteCachedVaultStateStorageLib.sol\";\n\nstruct ClaimWithdrawalParams {\n    uint256 epochID;\n    uint256 latestEpochID;\n    uint256 epochPrice;\n    bool isProcessed;\n    uint256 totalAssetsSum;\n}\n\nlibrary AsyncVaultHelperLib {\n    using Math for uint256;\n    using SafeERC20 for IERC20;\n\n    // ─────────────────────────────────────────────────────────────────────────────\n    // Epoch Lifecycle Functions\n    // ─────────────────────────────────────────────────────────────────────────────\n\n    function closeEpoch() public {\n        ConcreteAsyncVaultImplStorageLib.ConcreteAsyncVaultImplStorage storage $ =\n            ConcreteAsyncVaultImplStorageLib.fetch();\n\n        uint256 currentEpoch = $.latestEpochID;\n\n        // Check if previous epoch is processed or if this is the first epoch\n        require(\n            currentEpoch == 1 || _epochProcessed(currentEpoch - 1),\n            IConcreteAsyncVaultImpl.PreviousEpochNotProcessed(currentEpoch - 1)\n        );\n\n        // Increment to next epoch (safe to use unchecked as overflow is unrealistic)\n        $.latestEpochID = currentEpoch + 1;\n\n        emit IConcreteAsyncVaultImpl.EpochClosed(currentEpoch);\n    }\n\n    function processEpoch(uint256 sharePrice, uint256 availableAssets, uint8 decimals) public {\n        ConcreteAsyncVaultImplStorageLib.ConcreteAsyncVaultImplStorage storage $ =\n            ConcreteAsyncVaultImplStorageLib.fetch();\n\n        uint256 previousEpochID = $.latestEpochID - 1;\n        // previous epoch should be not be processed\n        require(\n            !_epochProcessed(previousEpochID), IConcreteAsyncVaultImpl.PreviousEpochAlreadyProcessed(previousEpochID)\n        );\n        uint256 requestingShares = $.totalRequestedSharesPerEpoch[previousEpochID];\n        uint256 assetsNeeded = 0;\n        // add 1 to indicate that the epoch is processed (price cannot be 0)\n        $.epochPricePerSharePlusOne[previousEpochID] = sharePrice + 1;\n\n        if (requestingShares == 0) {\n            require(availableAssets >= $.pastEpochsUnclaimedAssets, IConcreteStandardVaultImpl.InsufficientBalance());\n        } else {\n            assetsNeeded = requestingShares.mulDiv(sharePrice, 10 ** decimals, Math.Rounding.Floor);\n\n            require(\n                availableAssets >= $.pastEpochsUnclaimedAssets + assetsNeeded,\n                IConcreteStandardVaultImpl.InsufficientBalance()\n            );\n            ERC20_OZ_5_2_0_Lib._burn(address(this), requestingShares);\n\n            // Update accounting\n            $.pastEpochsUnclaimedAssets += assetsNeeded;\n            CachedVaultStateLib.fetch().cachedTotalAssets -= assetsNeeded;\n        }\n\n        emit IConcreteAsyncVaultImpl.EpochProcessed(previousEpochID, requestingShares, assetsNeeded, sharePrice);\n    }\n\n    function claimWithdrawal(address asset, address user, uint256[] calldata epochIDs, uint8 decimals) public {\n        ConcreteAsyncVaultImplStorageLib.ConcreteAsyncVaultImplStorage storage $ =\n            ConcreteAsyncVaultImplStorageLib.fetch();\n\n        ClaimWithdrawalParams memory wwl;\n        wwl.latestEpochID = $.latestEpochID;\n\n        uint256 len = epochIDs.length;\n        for (uint256 i = 0; i < len; i++) {\n            wwl.epochID = epochIDs[i];\n            (wwl.epochPrice, wwl.isProcessed) = _epochPriceAndProcessedFlag(wwl.epochID);\n            if (!wwl.isProcessed) revert IConcreteAsyncVaultImpl.EpochNotProcessed(wwl.epochID);\n            wwl.totalAssetsSum += getUserEpochRequestInAssets(\n                user, wwl.epochID, wwl.latestEpochID, wwl.epochPrice, decimals\n            );\n            $.userEpochRequests[user][wwl.epochID] = 0;\n        }\n\n        require(wwl.totalAssetsSum > 0, IConcreteAsyncVaultImpl.NoClaimableRequest());\n\n        // Update accounting\n        $.pastEpochsUnclaimedAssets -= wwl.totalAssetsSum;\n\n        // Transfer all assets at once\n        IERC20(asset).safeTransfer(user, wwl.totalAssetsSum);\n\n        emit IConcreteAsyncVaultImpl.RequestClaimed(user, wwl.totalAssetsSum, epochIDs);\n    }\n\n    function claimUsersBatch(address asset, address[] calldata users, uint256 epochID, uint8 decimals) public {\n        ConcreteAsyncVaultImplStorageLib.ConcreteAsyncVaultImplStorage storage $ =\n            ConcreteAsyncVaultImplStorageLib.fetch();\n\n        ClaimWithdrawalParams memory wwl;\n        wwl.latestEpochID = $.latestEpochID;\n        wwl.epochID = epochID;\n\n        (wwl.epochPrice, wwl.isProcessed) = _epochPriceAndProcessedFlag(wwl.epochID);\n        if (!wwl.isProcessed) revert IConcreteAsyncVaultImpl.EpochNotProcessed(wwl.epochID);\n\n        wwl.latestEpochID = $.latestEpochID;\n        uint256[] memory epochIDs = new uint256[](1);\n        epochIDs[0] = epochID;\n        address user;\n        uint256 assets;\n\n        for (uint256 i = 0; i < users.length; i++) {\n            user = users[i];\n            assets = getUserEpochRequestInAssets(user, wwl.epochID, wwl.latestEpochID, wwl.epochPrice, decimals);\n            if (assets == 0) continue;\n            // accounting\n            $.userEpochRequests[user][epochID] = 0;\n            wwl.totalAssetsSum += assets;\n            IERC20(asset).safeTransfer(user, assets);\n\n            emit IConcreteAsyncVaultImpl.RequestClaimed(user, assets, epochIDs);\n        }\n\n        require(wwl.totalAssetsSum > 0, IConcreteAsyncVaultImpl.NoClaimableRequest());\n\n        // Update accounting\n        $.pastEpochsUnclaimedAssets -= wwl.totalAssetsSum;\n    }\n\n    // ─────────────────────────────────────────────────────────────────────────────\n    // Lifecycle Interaction Functions\n    // ─────────────────────────────────────────────────────────────────────────────\n\n    function moveRequestToNextEpoch(address user) public {\n        ConcreteAsyncVaultImplStorageLib.ConcreteAsyncVaultImplStorage storage $ =\n            ConcreteAsyncVaultImplStorageLib.fetch();\n\n        uint256 currentEpoch = $.latestEpochID;\n        uint256 nextEpochID = currentEpoch + 1;\n        uint256 userBalance = $.userEpochRequests[user][currentEpoch];\n\n        require(userBalance > 0, IConcreteAsyncVaultImpl.NoRequestingShares());\n\n        unchecked {\n            $.userEpochRequests[user][currentEpoch] -= userBalance;\n            $.userEpochRequests[user][nextEpochID] += userBalance;\n            $.totalRequestedSharesPerEpoch[currentEpoch] -= userBalance;\n            $.totalRequestedSharesPerEpoch[nextEpochID] += userBalance;\n        }\n        emit IConcreteAsyncVaultImpl.RequestMovedToNextEpoch(user, userBalance, currentEpoch, nextEpochID);\n    }\n\n    function cancelRequest(address user, uint256 epochID) public {\n        ConcreteAsyncVaultImplStorageLib.ConcreteAsyncVaultImplStorage storage $ =\n            ConcreteAsyncVaultImplStorageLib.fetch();\n\n        require(_epochIsOpen(epochID), IConcreteAsyncVaultImpl.EpochAlreadyClosed(epochID));\n\n        uint256 requestingShares = $.userEpochRequests[user][epochID];\n        require(requestingShares > 0, IConcreteAsyncVaultImpl.NoRequestingShares());\n\n        // Clear the request\n        $.userEpochRequests[user][epochID] = 0;\n        $.totalRequestedSharesPerEpoch[epochID] -= requestingShares;\n\n        // Return shares to user\n        ERC20_OZ_5_2_0_Lib._transfer(address(this), user, requestingShares);\n\n        emit IConcreteAsyncVaultImpl.RequestCancelled(user, requestingShares, epochID);\n    }\n\n    // ─────────────────────────────────────────────────────────────────────────────\n    // View Functions\n    // ─────────────────────────────────────────────────────────────────────────────\n\n    function getUserEpochRequestInAssets(\n        address user,\n        uint256 epochID,\n        uint256 latestEpochID,\n        uint256 epochPrice,\n        uint8 decimals\n    ) internal view returns (uint256 assets) {\n        // Check if epoch is processed (has a price set)\n        if (epochPrice == 0 || epochID >= latestEpochID) return 0;\n\n        uint256 shares = ConcreteAsyncVaultImplStorageLib.fetch().userEpochRequests[user][epochID];\n        if (shares == 0) return 0;\n\n        assets = shares.mulDiv(epochPrice, 10 ** decimals, Math.Rounding.Floor);\n    }\n\n    function getEpochState(uint256 epochID) public view returns (IConcreteAsyncVaultImpl.EpochState) {\n        uint256 latestEpochID = ConcreteAsyncVaultImplStorageLib.fetch().latestEpochID;\n        if (epochID > latestEpochID) return IConcreteAsyncVaultImpl.EpochState.Inactive;\n        if (epochID == latestEpochID) return IConcreteAsyncVaultImpl.EpochState.Active;\n        bool isProcessed = _epochProcessed(epochID);\n        if (isProcessed) return IConcreteAsyncVaultImpl.EpochState.Processed;\n        return IConcreteAsyncVaultImpl.EpochState.Processing;\n    }\n\n    function totalRequestedSharesForCurrentEpochs()\n        public\n        view\n        returns (uint256 activeShares, uint256 processingShares, uint256 processedShares)\n    {\n        ConcreteAsyncVaultImplStorageLib.ConcreteAsyncVaultImplStorage storage $ =\n            ConcreteAsyncVaultImplStorageLib.fetch();\n        uint256 activeEpochID = $.latestEpochID;\n        activeShares = $.totalRequestedSharesPerEpoch[activeEpochID];\n        uint256 previousEpochID = activeEpochID - 1;\n        uint256 sharesInPreviousEpoch = $.totalRequestedSharesPerEpoch[previousEpochID];\n        if (_epochProcessed(previousEpochID)) {\n            processedShares = sharesInPreviousEpoch;\n        } else {\n            processingShares = sharesInPreviousEpoch;\n        }\n    }\n\n    // ─────────────────────────────────────────────────────────────────────────────\n    // Auxiliary Functions\n    // ─────────────────────────────────────────────────────────────────────────────\n\n    function _epochProcessed(uint256 epochID) private view returns (bool isProcessed) {\n        (, isProcessed) = _epochPriceAndProcessedFlag(epochID);\n    }\n\n    function _epochPriceAndProcessedFlag(uint256 epochID) private view returns (uint256 epochPrice, bool isProcessed) {\n        uint256 epochPricePlusOne = ConcreteAsyncVaultImplStorageLib.fetch().epochPricePerSharePlusOne[epochID];\n        isProcessed = epochPricePlusOne > 0;\n        epochPrice = isProcessed ? epochPricePlusOne - 1 : 0;\n    }\n\n    function _epochIsOpen(uint256 epochID) private view returns (bool) {\n        return epochID >= ConcreteAsyncVaultImplStorageLib.fetch().latestEpochID;\n    }\n}\n"},"src/interface/IAllocateModule.sol":{"content":"// SPDX-License-Identifier: UNLICENSED\npragma solidity ^0.8.24;\n\n/**\n * @title IAllocateModule\n * @dev Interface for the AllocateModule contract that handles fund allocation and deallocation across multiple strategies.\n * @dev This module enables the vault to efficiently manage funds across different yield-generating strategies\n *      by batching multiple allocation/deallocation operations in a single transaction.\n *\n * @notice The AllocateModule serves as a coordinator for strategy operations, allowing the vault to:\n * - Allocate funds to multiple strategies in a single call\n * - Deallocate funds from multiple strategies in a single call\n * - Maintain accurate accounting of allocated amounts per strategy\n *\n * @notice This module is typically used during rebalancing operations where the vault needs to\n *         adjust allocations across multiple strategies based on current market conditions,\n *         strategy performance, or allocation targets.\n */\ninterface IAllocateModule {\n    /**\n     * @dev Emitted when funds are allocated or deallocated from a strategy.\n     *\n     * @param strategy The address of the strategy contract.\n     * @param isDeposit True if this is an allocation (deposit) operation, false if it's a deallocation (withdrawal).\n     * @param amount The amount of funds allocated or deallocated.\n     * @param extraData Arbitrary calldata passed to the strategy's allocateFunds or deallocateFunds function.\n     */\n    event AllocatedFunds(address indexed strategy, bool indexed isDeposit, uint256 amount, bytes extraData);\n\n    /**\n     * @dev Structure containing parameters for a single allocation or deallocation operation.\n     *\n     * @param isDeposit True if this is an allocation (deposit) operation, false if it's a deallocation (withdrawal).\n     * @param strategy The address of the strategy contract to interact with.\n     * @param extraData Arbitrary calldata to pass to the strategy's allocateFunds or deallocateFunds function.\n     *                  This allows for strategy-specific parameters like slippage tolerance, routing info, etc.\n     */\n    struct AllocateParams {\n        bool isDeposit;\n        address strategy;\n        bytes extraData;\n    }\n\n    /**\n     * @dev Executes multiple allocation and deallocation operations across different strategies in a single transaction.\n     * @dev This function processes an array of allocation parameters, calling the appropriate strategy functions\n     *      and updating the vault's internal accounting for each strategy.\n     *\n     * @param data ABI-encoded array of AllocateParams structures containing the operations to execute.\n     *             Each AllocateParams specifies whether to allocate or deallocate funds, which strategy to use,\n     *             and any additional data required by the strategy.\n     *\n     * @notice The function iterates through all provided parameters and:\n     * - For deposits (isDeposit = true): Calls strategy.allocateFunds() and increases allocated amount\n     * - For withdrawals (isDeposit = false): Calls strategy.deallocateFunds() and decreases allocated amount\n     *\n     * @notice All operations are executed atomically - if any single operation fails, the entire transaction reverts.\n     *\n     * @notice The function updates the vault's internal strategy accounting to track the total amount\n     *         allocated to each strategy, which is used for yield calculation and strategy limits.\n     */\n    function allocateFunds(bytes calldata data) external;\n}\n"},"src/interface/IStrategyTemplate.sol":{"content":"// SPDX-License-Identifier: UNLICENSED\npragma solidity ^0.8.24;\n\n/**\n * @title IStrategyTemplate\n * @dev Interface that all strategy implementations must follow to be compatible with the vault system.\n * @dev Each strategy is bound to a single vault and manages that vault's funds in different protocols or investment opportunities.\n * @dev The Vault uses this interface to deploy, withdraw, and rebalance funds across multiple strategies.\n *\n * @notice This interface defines the core functionality required for strategy contracts:\n * - Asset management (allocation and deallocation of funds)\n * - Withdrawal capabilities for user redemptions\n * - Limit reporting for rebalancing operations\n * - Compatibility with the vault's underlying asset token\n *\n * @notice All strategies must implement proper access controls and ensure only authorized callers\n * (typically the vault) can execute fund management operations.\n *\n * @notice For strategies that accrue rewards from underlying protocols:\n * The vault has an arbitrary call execution function that can call any target with arbitrary data.\n * This is primarily used to claim rewards from external reward systems. Strategies that earn rewards\n * should provide dedicated functions that can be called by the vault through this mechanism to claim\n * rewards and forward them to the rewards distributor system.\n */\n\n/**\n * @dev Enum representing different types of strategies\n */\nenum StrategyType {\n    ATOMIC, // 0: Strategy that executes operations atomically, provides on-chain accurate accounting of yield\n    ASYNC, // 1: Strategy that requires asynchronous operations (multiple transactions), can provide stale (within defined latency) accounting of yield\n    CROSSCHAIN // 2: Strategy that operates across different blockchain networks, can provide stale (within defined latency) accounting of yield\n}\n\ninterface IStrategyTemplate {\n    /**\n     * @dev Allocates funds from the vault to the underlying protocol.\n     * @dev This function will be called when the vault wants to deploy assets into the yield-generating protocol.\n     *\n     * @param data Arbitrary calldata that can be used to pass strategy-specific parameters for the allocation.\n     *             This allows for flexible configuration of the allocation process (e.g., slippage tolerance,\n     *             specific protocol parameters, routing information, etc.).\n     *\n     * - MUST emit the AllocateFunds event.\n     * - MUST revert if all of assets cannot be deposited (due to allocation limit being reached, slippage, the protocol\n     *   not being able to accept more funds, etc).\n     *\n     * NOTE: most implementations will require pre-approval of the Vault with the Vault's underlying asset token.\n     */\n    function allocateFunds(bytes calldata data) external returns (uint256);\n\n    /**\n     * @dev Deallocates funds from the underlying protocol back to the vault.\n     * @dev This function will be called when the vault wants to withdraw assets from the yield-generating protocol.\n     *\n     * @param data Arbitrary calldata that can be used to pass strategy-specific parameters for the deallocation.\n     *             This allows for flexible configuration of the withdrawal process (e.g., slippage tolerance,\n     *             specific protocol parameters, withdrawal routing, etc.).\n     *\n     * - MUST emit the DeallocateFunds event.\n     * - MUST revert if all of assets cannot be withdrawn (due to withdrawal limit being reached, slippage, the protocol\n     *   not having enough liquidity, etc).\n     */\n    function deallocateFunds(bytes calldata data) external returns (uint256);\n\n    /**\n     * @dev Sends assets of underlying tokens to sender.\n     * @dev This function will be called when the vault unwinds its position while depositor withdraws.\n     *\n     * - MUST emit the Withdraw event.\n     * - MUST revert if all of assets cannot be withdrawn (due to withdrawal limit being reached, slippage, the owner\n     *   not having enough assets, etc).\n     */\n    function onWithdraw(uint256 assets) external returns (uint256);\n\n    /**\n     * @dev Rescue function to withdraw tokens that may have been accidentally sent to the strategy.\n     * @dev This function allows authorized users to rescue tokens that are not part of the strategy's normal operations.\n     *\n     * @param token The address of the token to rescue.\n     * @param amount The amount of tokens to rescue. Use 0 to rescue all available tokens.\n     *\n     * - MUST only allow rescue of tokens that are not the strategy's primary asset (asset()).\n     * - MUST emit appropriate events for the rescue operation.\n     * - MUST revert if the caller is not authorized to perform token rescue.\n     * - MUST revert if attempting to rescue the strategy's primary asset token.\n     */\n    function rescueToken(address token, uint256 amount) external;\n\n    /**\n     * @dev Returns the address of the underlying token used for the Vault for accounting, depositing, and withdrawing.\n     *\n     * - MUST be an ERC-20 token contract.\n     * - MUST NOT revert.\n     */\n    function asset() external view returns (address);\n\n    /**\n     * @dev Returns the address of the vault that this strategy is bound to.\n     *\n     * - MUST return the vault address that was set during strategy initialization.\n     * - MUST NOT revert.\n     */\n    function getVault() external view returns (address);\n\n    /**\n     * @dev Returns the type of strategy implementation.\n     * @dev This function indicates the operational characteristics of the strategy.\n     *\n     * @return The strategy type as defined in the StrategyType enum.\n     *\n     * - MUST return one of the defined StrategyType values.\n     * - MUST NOT revert.\n     * - ATOMIC: Strategy executes operations atomically in the same transaction, yield MUST be always atomicly updated in strategy allocated amount.\n     * - ASYNC: Strategy requires asynchronous operations across multiple transactions, yield Can be updated asynchronously within documented latency.\n     * - CROSSCHAIN: Strategy operates across different blockchain networks, yield Can be updated asynchronously within documented latency.\n     */\n    function strategyType() external view returns (StrategyType);\n\n    /**\n     * @dev Returns the total value of assets that the bound vault has allocated in the strategy.\n     * @dev This function is mainly used during yield accrual operations to account for strategy yield or losses.\n     *\n     * @return The total value of allocated assets denominated in the asset() token.\n     *\n     * - MUST return the total value of assets that the bound vault has allocated to this strategy.\n     * - MUST account for any losses or depreciation in the underlying protocol.\n     * - MUST NOT revert.\n     * - MUST return 0 if the vault has no funds allocated to this strategy.\n     */\n    function totalAllocatedValue() external view returns (uint256);\n\n    /**\n     * @dev Returns the maximum amount of assets that can be allocated to the underlying protocol.\n     * @dev This function is primarily used by the Allocator to determine allocation limits when rebalancing funds.\n     *\n     * - MUST return the maximum amount of underlying assets that can be allocated in a single call to allocateFunds.\n     * - MUST NOT revert.\n     * - MAY return 0 if the protocol cannot accept any more funds.\n     * - MAY return type(uint256).max if there is no practical limit.\n     */\n    function maxAllocation() external view returns (uint256);\n\n    /**\n     * @dev Returns the maximum amount of assets that can be withdrawn from the strategy by the vault.\n     * @dev This function is primarily used by the vault to determine withdrawal limits when covering user redemptions.\n     *\n     * - MUST return the maximum amount of underlying assets that can be withdrawn in a single call to onWithdraw.\n     * - MUST NOT revert.\n     * - MAY return 0 if no funds are available for withdrawal.\n     * - SHOULD reflect current liquidity constraints and strategy-specific withdrawal limits.\n     */\n    function maxWithdraw() external view returns (uint256);\n}\n"},"src/interface/IUpgradeableVault.sol":{"content":"// SPDX-License-Identifier: UNLICENSED\npragma solidity ^0.8.24;\n\ninterface IUpgradeableVault {\n    error AlreadyInitialized();\n    error NotFactory();\n    error NotInitialized();\n    error InvalidFactoryOwner();\n\n    /**\n     * @notice Get the factory's address.\n     * @return address of the factory\n     */\n    function factory() external view returns (address);\n\n    /**\n     * @notice Get the vault's version.\n     * @return version of the vault\n     * @dev Starts from 1.\n     */\n    function version() external view returns (uint64);\n\n    /**\n     * @notice Initialize `UpgradeableVaultProxy` contract by using a given data and setting a particular version and owner.\n     * @param initialVersion initial version of the vault\n     * @param owner initial owner of the vault\n     * @param data some data to use\n     */\n    function initialize(uint64 initialVersion, address owner, bytes calldata data) external;\n\n    /**\n     * @notice Upgrade this vault to a specific newer version using a given data.\n     * @param newVersion new version of the vault\n     * @param data some data to use\n     */\n    function upgrade(uint64 newVersion, bytes calldata data) external;\n}\n"},"src/interface/IConcreteAsyncVaultImpl.sol":{"content":"// SPDX-License-Identifier: UNLICENSED\npragma solidity ^0.8.0;\n\nimport {IConcreteStandardVaultImpl} from \"./IConcreteStandardVaultImpl.sol\";\n\n/**\n * @title IConcreteAsyncVaultImpl\n * @dev Interface for the async vault implementation that provides epoch-based withdrawal management.\n * @dev This interface extends the standard vault functionality with asynchronous withdrawal capabilities,\n * allowing for better liquidity management and batch processing of withdrawal requests.\n * @dev Users submit withdrawal requests that are queued in epochs, processed by allocators when liquidity\n * is available, and then claimed by users after processing is complete.\n */\ninterface IConcreteAsyncVaultImpl is IConcreteStandardVaultImpl {\n    enum EpochState {\n        // Epoch is not active\n        Inactive,\n        // An epoch is active if it is receiving requests and is not closed\n        Active,\n        // An epoch is processing if it is closed (cannot receive requests anymore) and has not been processed\n        Processing,\n        // An epoch is processed if it has been processed and has a price locked\n        Processed\n    }\n\n    /**\n     * @dev Thrown when attempting to operate on a zero address.\n     */\n    error ZeroAddress();\n\n    /**\n     * @dev Thrown when attempting to withdraw zero shares.\n     */\n    error ZeroShares();\n\n    /**\n     * @dev Thrown when attempting to operate on an epoch with no requesting shares.\n     */\n    error NoRequestingShares();\n\n    /**\n     * @dev Thrown when attempting to claim a request that is not claimable.\n     */\n    error NoClaimableRequest();\n\n    /**\n     * @dev Thrown when there are no redeemable assets available.\n     */\n    error NoRedeemableAssets();\n\n    /**\n     * @dev Thrown when attempting to roll to next epoch while current epoch is not processed.\n     */\n    error EpochNotProcessed(uint256 epochID);\n\n    /**\n     * @dev Thrown when attempting to cancel a request for an epoch that has already been processed.\n     */\n    error EpochAlreadyProcessed(uint256 epochID);\n\n    /**\n     * @dev Thrown when attempting to claim with empty epoch IDs.\n     */\n    error EmptyEpochIDs();\n\n    /**\n     * @dev Thrown when attempting to claim with empty users.\n     */\n    error EmptyUsers();\n\n    /**\n     * @dev Emitted when the withdrawal queue is initialized.\n     * @param epochID The initial epoch ID.\n     */\n    event WithdrawalQueueInitialized(uint256 epochID);\n\n    /**\n     * @dev Thrown when attempting to close an epoch that and previous epoch was not processed.\n     */\n    error PreviousEpochNotProcessed(uint256 epochID);\n\n    /**\n     * @dev Thrown when attempting to process an epoch that was already processed.\n     */\n    error PreviousEpochAlreadyProcessed(uint256 epochID);\n\n    /**\n     * @dev Thrown when attempting to process an epoch that is already closed.\n     * @param epochID The epoch that was already closed.\n     */\n    error EpochAlreadyClosed(uint256 epochID);\n\n    /**\n     * @dev Thrown when attempting to process an epoch that is still open.\n     * @param epochID The epoch that was still open.\n     */\n    error EpochStillOpen(uint256 epochID);\n\n    /**\n     * @dev Emitted when a user submits a withdrawal request that is queued for epoch processing.\n     * @param owner The address of the user making the request.\n     * @param assets The amount of assets requested for withdrawal.\n     * @param shares The amount of shares transferred to the vault for the request.\n     * @param epochID The epoch in which the request was queued.\n     */\n    event QueuedWithdrawal(\n        address indexed caller,\n        address indexed receiver,\n        address indexed owner,\n        uint256 assets,\n        uint256 shares,\n        uint256 epochID\n    );\n\n    /**\n     * @dev Emitted when a user cancels their pending withdrawal request.\n     * @param owner The address of the user cancelling the request.\n     * @param shares The amount of shares returned to the user.\n     * @param epochID The epoch from which the request was cancelled.\n     */\n    event RequestCancelled(address indexed owner, uint256 shares, uint256 epochID);\n\n    /**\n     * @dev Emitted when a user claims their processed withdrawal request.\n     * @param owner The address of the user claiming the withdrawal.\n     * @param assets The amount of assets transferred to the user.\n     * @param epochIDs The epoch IDs from which the request was claimed.\n     */\n    event RequestClaimed(address indexed owner, uint256 assets, uint256[] epochIDs);\n\n    /**\n     * @dev Emitted when an epoch's withdrawal requests are processed.\n     * @param epochID The epoch ID that was processed.\n     * @param shares The total shares processed in the epoch.\n     * @param assets The total assets reserved for the epoch.\n     * @param sharePrice The share price locked for the epoch.\n     */\n    event EpochProcessed(uint256 epochID, uint256 shares, uint256 assets, uint256 sharePrice);\n\n    /**\n     * @dev Emitted when a user's request is moved to the next epoch.\n     * @param user The address of the user whose request was moved.\n     * @param shares The amount of shares moved.\n     * @param currentEpochID The epoch from which the request was moved.\n     * @param nextEpochID The epoch to which the request was moved.\n     */\n    event RequestMovedToNextEpoch(address indexed user, uint256 shares, uint256 currentEpochID, uint256 nextEpochID);\n\n    /**\n     * @dev Emitted when an epoch is closed.\n     * @param epochID The epoch that was closed.\n     */\n    event EpochClosed(uint256 epochID);\n\n    /**\n     * @dev Emitted when the queue is toggled.\n     * @param isQueueActive The active status of the queue.\n     */\n    event QueueActiveToggled(bool isQueueActive);\n\n    /**\n     * @dev This struct definition is maintained for interface compatibility.\n     */\n    struct RedeemRequest {\n        uint256 requestEpoch;\n        uint256 requestShares;\n    }\n\n    /**\n     * @notice Cancel pending redeem request for a specific epoch (only unprocessed epochs)\n     * @dev Users can only cancel requests from epochs that haven't been processed yet (no price locked)\n     * @dev Returns shares back to the user and updates epoch accounting\n     * @param user The user address to cancel the request for\n     * @param epochID The epoch ID from which to cancel the request\n     */\n    function cancelRequest(address user, uint256 epochID) external;\n\n    /**\n     * @notice Cancel pending redeem request for a specific epoch (only unprocessed epochs)\n     * @dev Users can only cancel requests from epochs that haven't been processed yet (no price locked)\n     * @dev Returns shares back to the user and updates epoch accounting\n     * @param epochID The epoch ID from which to cancel the request\n     */\n    function cancelRequest(uint256 epochID) external;\n\n    /**\n     * @notice Claim processed redeem requests from specified epochs\n     * @dev Processes each epoch internally, aggregates assets and shares, then burns and transfers once\n     * @dev More gas efficient than claiming epochs individually\n     * @dev Skips epochs with no claimable amounts (zero shares or unprocessed epochs)\n     * @param epochIDs Array of epoch IDs to claim from\n     */\n    function claimWithdrawal(uint256[] calldata epochIDs) external;\n\n    /**\n     * @notice Claim processed redeem requests from specified epochs\n     * @dev Processes each epoch internally, aggregates assets and shares, then burns and transfers once\n     * @dev More gas efficient than claiming epochs individually\n     * @dev Skips epochs with no claimable amounts (zero shares or unprocessed epochs)\n     * @param user The user address to claim from\n     * @param epochIDs Array of epoch IDs to claim from\n     */\n    function claimWithdrawal(address user, uint256[] calldata epochIDs) external;\n\n    /**\n     * @notice Close the current epoch\n     * @dev Only callable by WITHDRAWAL_MANAGER role\n     * @dev Closes the current epoch and increments the epoch ID\n     * @dev Can only be called if the previous epoch is processed (!)\n     */\n    function closeEpoch() external;\n\n    /**\n     * @notice Process all pending redeem requests for a specific epoch\n     * @dev Harvests all strategies to get current accurate pricing before processing\n     * @dev Calculates share price and reserves required assets for the epoch\n     * @dev Can process any epoch with pending requests, enabling historical processing\n     * @dev Only callable by ALLOCATOR role\n     */\n    function processEpoch() external;\n\n    /**\n     * @notice Move a user's request to the next epoch\n     * @param user The user address to move the request for\n     */\n    function moveRequestToNextEpoch(address user) external;\n\n    /**\n     * @notice Get claimable redeem request from a specific epoch\n     * @dev Returns the amount of assets claimable by the caller from the specified epoch\n     * @dev Returns 0 if epoch is not processed, no request exists, or epoch is current/future\n     * @param epochID The epoch ID to check\n     * @return assets The amount of assets claimable from the epoch\n     */\n    function getUserEpochRequestInAssets(address user, uint256 epochID) external view returns (uint256 assets);\n\n    /**\n     * @notice Get user's redeem request for a specific epoch\n     * @dev Returns the amount of shares requested by the specified user in the epoch\n     * @param user The user address to check\n     * @param epochID The epoch ID to check\n     * @return shares The amount of shares requested by the user in the epoch\n     */\n    function getUserEpochRequest(address user, uint256 epochID) external view returns (uint256 shares);\n\n    /**\n     * @notice Get the state of an epoch\n     * @dev Returns the state of an epoch\n     * @param epochID The epoch ID to check\n     * @return The state of the epoch\n     */\n    function getEpochState(uint256 epochID) external view returns (EpochState);\n\n    /**\n     * @notice Get current epoch ID\n     * @dev New withdrawal requests are queued in this epoch\n     * @return The current epoch ID\n     */\n    function latestEpochID() external view returns (uint256);\n\n    /**\n     * @notice Get total redeemable assets from past epochs\n     * @dev This amount is subtracted from totalAssets() to exclude reserved funds from active vault operations\n     * @return The total assets reserved for past epoch claims\n     */\n    function pastEpochsUnclaimedAssets() external view returns (uint256);\n\n    /**\n     * @notice Get total requested shares in a specific epoch\n     * @dev Returns the total shares from all users that requested withdrawal in the epoch\n     * @dev Returns 0 after epoch is processed (shares moved to requestingSharesInPast)\n     * @param epochID The epoch ID to check\n     * @return The total shares requested in the epoch\n     */\n    function totalRequestedSharesPerEpoch(uint256 epochID) external view returns (uint256);\n\n    /**\n     * @notice Get total requested shares in the active and processing epochs\n     * @dev Returns the total shares from all users that requested withdrawal in the active and processing epochs\n     * @return activeShares The total shares requested in the active epoch\n     * @return processingShares The total shares requested in the processing epoch\n     * @return processedShares The total shares requested in the last processed epoch\n     */\n    function totalRequestedSharesForCurrentEpochs()\n        external\n        view\n        returns (uint256 activeShares, uint256 processingShares, uint256 processedShares);\n\n    /**\n     * @notice Get share price for a specific epoch\n     * @dev Returns the share price that was locked when the epoch was processed\n     * @dev Returns 0 if the epoch has not been processed yet\n     * @param epochID The epoch ID to check\n     * @return The share price locked when the epoch was processed (in assets per 1e18 shares)\n     */\n    function getEpochPricePerShare(uint256 epochID) external view returns (uint256);\n\n    /**\n     * @notice Get whether the queue is active\n     * @dev Returns true if the queue is active, false otherwise\n     * @return The active status of the queue\n     */\n    function isQueueActive() external view returns (bool);\n\n    /**\n     * @notice Toggle the active status of the queue\n     * @dev Only callable by the ALLOCATOR role\n     */\n    function toggleQueueActive() external;\n}\n"},"src/interface/IConcreteStandardVaultImpl.sol":{"content":"// SPDX-License-Identifier: UNLICENSED\npragma solidity ^0.8.24;\n\nimport {IUpgradeableVault} from \"./IUpgradeableVault.sol\";\nimport {Hooks} from \"./IHook.sol\";\nimport {IERC4626} from \"@openzeppelin-contracts/interfaces/IERC4626.sol\";\nimport {IAccessControlEnumerable} from \"@openzeppelin-contracts/access/extensions/IAccessControlEnumerable.sol\";\n\n/**\n * @title IConcreteStandardVaultImpl\n * @dev Interface for the standard vault implementation that manages multiple investment strategies.\n * @dev This interface extends the base tokenized vault functionality with strategy management capabilities.\n * @dev Strategies are external contracts that implement the IStrategyTemplate interface and handle\n * fund allocation to different yield-generating protocols or investment opportunities.\n */\ninterface IConcreteStandardVaultImpl is IUpgradeableVault, IERC4626, IAccessControlEnumerable {\n    /**\n     * @dev Thrown when attempting to withdraw to the zero address.\n     */\n    error InvalidReceiver();\n\n    /**\n     * @dev Thrown when attempting to add a strategy that uses a different asset than the vault.\n     */\n    error InvalidStrategyAsset();\n\n    /**\n     * @dev Thrown when attempting to add a strategy that has already been added to the vault.\n     */\n    error StrategyAlreadyAdded();\n\n    /**\n     * @dev Thrown when attempting to operate on a strategy that doesn't exist in the vault.\n     */\n    error StrategyDoesNotExist();\n\n    /**\n     * @dev Thrown when attempting to interact with a strategy that is halted.\n     */\n    error StrategyIsHalted();\n\n    /**\n     * @dev Thrown when attempting to halt a strategy that is already halted.\n     */\n    error StrategyAlreadyHalted();\n\n    /**\n     * @dev Thrown when attempting to toggle the status of an inactive strategy.\n     */\n    error CannotToggleInactiveStrategy();\n\n    /**\n     * @dev Thrown when attempting to set a management fee without setting a recipient first.\n     */\n    error FeeRecipientNotSet();\n\n    /**\n     * @dev Thrown when attempting to set a management fee that exceeds the maximum allowed.\n     */\n    error ManagementFeeExceedsMaximum();\n\n    /**\n     * @dev Thrown when attempting to set a performance fee that exceeds the maximum allowed.\n     */\n    error PerformanceFeeExceedsMaximum();\n\n    /**\n     * @dev Thrown when attempting to set an invalid fee recipient address (address(0)).\n     */\n    error InvalidFeeRecipient();\n\n    /**\n     * @dev Thrown when the allocate module is invalid.\n     */\n    error InvalidAllocateModule();\n\n    /**\n     * @dev Thrown when the asset is invalid.\n     */\n    error InvalidAsset();\n\n    /**\n     * @dev Thrown when the initial vault manager is invalid.\n     */\n    error InvalidInitialVaultManager();\n\n    /**\n     * @dev Thrown when the name is invalid.\n     */\n    error InvalidName();\n\n    /**\n     * @dev Thrown when the symbol is invalid.\n     */\n    error InvalidSymbol();\n\n    /**\n     * @dev Thrown when the deposit limits are invalid.\n     */\n    error InvalidDepositLimits();\n\n    /**\n     * @dev Thrown when the withdraw limits are invalid.\n     */\n    error InvalidWithdrawLimits();\n\n    /**\n     * @dev Thrown when the asset amount is out of bounds.\n     */\n    error AssetAmountOutOfBounds(address sender, uint256 assets, uint256 minDepositAmount, uint256 maxDepositAmount);\n\n    /**\n     * @dev Thrown when attempting to remove a strategy that has allocation or is in the deallocation order.\n     */\n    error StrategyHasAllocation();\n\n    /**\n     * @dev Thrown when the vault has insufficient balance to process the epoch.\n     */\n    error InsufficientBalance();\n\n    /**\n     * @dev Thrown when calculated shares are zero.\n     */\n    error InsufficientShares();\n\n    /**\n     * @dev Thrown when calculated assets are zero.\n     */\n    error InsufficientAssets();\n\n    /**\n     * @dev Emitted when a new strategy is successfully added to the vault.\n     * @param strategy The address of the strategy contract that was added.\n     */\n    event StrategyAdded(address strategy);\n\n    /**\n     * @dev Emitted when a strategy is successfully removed from the vault.\n     * @param strategy The address of the strategy contract that was removed.\n     */\n    event StrategyRemoved(address strategy);\n\n    /**\n     * @dev Emitted when a strategy is set to Halted status.\n     * @param strategy The address of the strategy contract that was halted.\n     */\n    event StrategyHalted(address strategy);\n\n    /**\n     * @dev Emitted when a strategy's status is toggled between Active and Halted.\n     * @param strategy The address of the strategy contract whose status was toggled.\n     */\n    event StrategyStatusToggled(address indexed strategy);\n\n    /**\n     * @dev Emitted when the yield accrual operation is completed across all strategies.\n     *\n     * @param totalPositiveYield The total amount of positive yield generated across all strategies.\n     * @param totalNegativeYield The total amount of losses incurred across all strategies.\n     */\n    event YieldAccrued(uint256 totalPositiveYield, uint256 totalNegativeYield);\n\n    /**\n     * @dev Emitted when management fee is accrued.\n     * @param recipient The address that received the management fee shares.\n     * @param shares The number of shares minted as management fee.\n     * @param feeAmount The asset value of the management fee.\n     */\n    event ManagementFeeAccrued(address indexed recipient, uint256 shares, uint256 feeAmount);\n\n    /**\n     * @dev Emitted when performance fee is accrued.\n     * @param recipient The address that received the performance fee shares.\n     * @param shares The number of shares minted as performance fee.\n     * @param feeAmount The asset value of the performance fee.\n     */\n    event PerformanceFeeAccrued(address indexed recipient, uint256 shares, uint256 feeAmount);\n\n    /**\n     * @dev Emitted when management fee is updated.\n     * @param managementFee The new management fee rate in basis points.\n     */\n    event ManagementFeeUpdated(uint16 managementFee);\n\n    /**\n     * @dev Emitted when management fee recipient is updated.\n     * @param managementFeeRecipient The new management fee recipient address.\n     */\n    event ManagementFeeRecipientUpdated(address managementFeeRecipient);\n\n    /**\n     * @dev Emitted when performance fee is updated.\n     * @param performanceFee The new performance fee rate in basis points.\n     */\n    event PerformanceFeeUpdated(uint16 performanceFee);\n\n    /**\n     * @dev Emitted when performance fee recipient is updated.\n     * @param performanceFeeRecipient The new performance fee recipient address.\n     */\n    event PerformanceFeeRecipientUpdated(address performanceFeeRecipient);\n\n    /**\n     * @dev Emitted when deposit limits are updated.\n     * @param maxDepositAmount The new maximum deposit amount.\n     * @param minDepositAmount The new minimum deposit amount.\n     */\n    event DepositLimitsUpdated(uint256 maxDepositAmount, uint256 minDepositAmount);\n\n    /**\n     * @dev Emitted when withdraw limits are updated.\n     * @param maxWithdrawAmount The new maximum withdraw amount.\n     * @param minWithdrawAmount The new minimum withdraw amount.\n     */\n    event WithdrawLimitsUpdated(uint256 maxWithdrawAmount, uint256 minWithdrawAmount);\n\n    /**\n     * @dev Emitted when the deallocation order is updated.\n     */\n    event DeallocationOrderUpdated();\n\n    /**\n     * @dev Emitted when an individual strategy's yield is accrued.\n     *\n     * @param strategy The address of the strategy contract whose yield was accrued.\n     * @param currentTotalAllocatedValue The current total allocated value reported by the strategy.\n     * @param yield The amount of positive yield generated by this strategy since last accrual.\n     * @param loss The amount of loss incurred by this strategy since last accrual.\n     */\n    event StrategyYieldAccrued(\n        address indexed strategy, uint256 currentTotalAllocatedValue, uint256 yield, uint256 loss\n    );\n\n    /**\n     * @dev Enumeration of possible strategy statuses within the vault.\n     * @dev Inactive: Strategy is inactive and cannot receive new allocations.\n     * @dev Active: Strategy is active and can receive allocations and process withdrawals normally.\n     * @dev Halted: Strategy is halted, typically due to detected issues or failures.\n     * In this state, the strategy can be removed even if it has allocated funds\n     */\n    enum StrategyStatus {\n        Inactive,\n        Active,\n        Halted\n    }\n\n    /**\n     * @dev Structure containing metadata and state information for each strategy.\n     * @dev status: Current operational status of the strategy.\n     * @dev allocated: Total amount of vault assets currently allocated to this strategy, denominated in the vault's underlying asset token.\n     */\n    struct StrategyData {\n        StrategyStatus status;\n        uint120 allocated;\n    }\n\n    /**\n     * @dev Adds a new strategy to the vault.\n     * @dev The strategy must implement the IStrategyTemplate interface and use the same underlying asset as the vault.\n     * @dev Only callable by accounts with the STRATEGY_MANAGER role.\n     *\n     * @param strategy The address of the strategy contract to add.\n     *\n     * Requirements:\n     * - The strategy's asset() must match the vault's asset()\n     * - The strategy must not already be added to the vault\n     * - Caller must have STRATEGY_MANAGER role\n     *\n     * Emits:\n     * - StrategyAdded event\n     *\n     * Reverts:\n     * - InvalidStrategyAsset if strategy uses different asset\n     * - StrategyAlreadyAdded if strategy is already in the vault\n     */\n    function addStrategy(address strategy) external;\n\n    /**\n     * @dev Removes a strategy from the vault.\n     * @dev The strategy can only be removed if it has no allocated funds, unless it's in Halted status.\n     * @dev Only callable by accounts with the STRATEGY_MANAGER role.\n     *\n     * @param strategy The address of the strategy contract to remove.\n     *\n     * Requirements:\n     * - Strategy must exist in the vault\n     * - Strategy must have zero allocated funds OR be in Halted status\n     * - Caller must have STRATEGY_MANAGER role\n     *\n     * Emits:\n     * - StrategyRemoved event\n     *\n     * Reverts:\n     * - StrategyDoesNotExist if strategy is not in the vault\n     * - Custom revert if strategy has allocated funds and is not in Halted status\n     */\n    function removeStrategy(address strategy) external;\n\n    /**\n     * @dev Toggles a strategy's status between Active and Halted.\n     * @dev This is a safety mechanism to isolate problematic strategies or reactivate previously halted ones.\n     * @dev Active strategies can receive allocations and participate in yield accrual and withdrawal operations.\n     * @dev Halted strategies are skipped during yield accrual and withdrawal operations.\n     * @dev Only callable by accounts with the STRATEGY_MANAGER role.\n     *\n     * @param strategy The address of the strategy contract to toggle.\n     *\n     * Requirements:\n     * - Strategy must exist in the vault\n     * - Strategy must be either Active or Halted (cannot toggle Inactive strategies)\n     * - Caller must have STRATEGY_MANAGER role\n     *\n     * Emits:\n     * - StrategyStatusToggled event\n     *\n     * Reverts:\n     * - StrategyDoesNotExist if strategy is not in the vault\n     */\n    function toggleStrategyStatus(address strategy) external;\n\n    /**\n     * @notice Executes fund allocation and deallocation operations across multiple strategies.\n     * @dev This function performs a yield accrual operation first to update vault accounting,\n     *      then executes the allocation operations specified in the data parameter.\n     * @dev All operations are performed via delegatecall to the respective modules to maintain\n     *      proper storage context and access control.\n     * @param data ABI-encoded array of AllocateParams structures containing the allocation\n     *             operations to execute. Each param specifies whether to allocate or deallocate\n     *             funds, which strategy to use, and any additional data required by the strategy.\n     * @dev Only callable by accounts with the ALLOCATOR role.\n     * @dev The function automatically triggers yield accrual before allocation to ensure\n     *         accurate vault accounting prior to fund movements.\n     */\n    function allocate(bytes calldata data) external;\n\n    /**\n     * @notice Accrues yield and accounts for losses across all active strategies in the vault.\n     * @dev This function updates the vault's internal accounting by querying the current\n     *      value of all strategy allocations and calculating net yield or losses.\n     * @dev This function can be called by anyone to update the vault's accounting.\n     * @dev The yield accrual operation does not trigger actual fund movements, it only\n     *         updates the vault's internal state to reflect current strategy values.\n     */\n    function accrueYield() external;\n\n    /**\n     * @notice Updates the management fee for the vault.\n     * @param managementFee The new management fee in basis points.\n     * @dev Only callable by accounts with VAULT_MANAGER role.\n     * @dev Fee must be <= MAX_MANAGEMENT_FEE.\n     * @dev If fee > 0, recipient must be set.\n     */\n    function updateManagementFee(uint16 managementFee) external;\n\n    /**\n     * @notice Updates the management fee recipient for the vault.\n     * @param recipient The new management fee recipient address.\n     * @dev Only callable by accounts with VAULT_MANAGER role.\n     * @dev Recipient cannot be address(0).\n     */\n    function updateManagementFeeRecipient(address recipient) external;\n\n    /**\n     * @notice Updates the performance fee for the vault.\n     * @param performanceFee The new performance fee in basis points.\n     * @dev Only callable by accounts with VAULT_MANAGER role.\n     * @dev Fee must be <= MAX_PERFORMANCE_FEE.\n     * @dev If fee > 0, recipient must be set.\n     */\n    function updatePerformanceFee(uint16 performanceFee) external;\n\n    /**\n     * @notice Updates the performance fee recipient for the vault.\n     * @param recipient The new performance fee recipient address.\n     * @dev Only callable by accounts with VAULT_MANAGER.\n     * @dev Recipient cannot be address(0).\n     */\n    function updatePerformanceFeeRecipient(address recipient) external;\n\n    /**\n     * @notice Returns the current fee configuration for the vault.\n     * @return currentManagementFee The current management fee in basis points.\n     * @return currentManagementFeeRecipient The current management fee recipient address.\n     * @return currentLastManagementFeeAccrual The timestamp of the last management fee accrual.\n     * @return currentPerformanceFee The current performance fee in basis points.\n     * @return currentPerformanceFeeRecipient The current performance fee recipient address.\n     */\n    function getFeeConfig()\n        external\n        view\n        returns (\n            uint16 currentManagementFee,\n            address currentManagementFeeRecipient,\n            uint32 currentLastManagementFeeAccrual,\n            uint16 currentPerformanceFee,\n            address currentPerformanceFeeRecipient\n        );\n\n    /**\n     * @notice Sets the hooks for the vault.\n     * @dev This function sets the hooks for the vault.\n     * @dev Only callable by accounts with the HOOK_MANAGER role.\n     * @param hooks The hooks to set.\n     */\n    function setHooks(Hooks memory hooks) external;\n\n    /**\n     * @notice Previews the total assets that would be available after accruing yield from all strategies.\n     * @dev This function simulates the yield accrual operation without actually executing it,\n     *      providing a view of what the vault's total assets would be after accounting\n     *      for yield and losses across all active strategies.\n     * @dev The calculation includes the current lastTotalAssets plus any positive\n     *      yield minus any losses that would be realized during yield accrual.\n     * @dev This is a view function that does not modify state or trigger any actual\n     *      fund movements or strategy interactions.\n     *\n     * @return The total amount of assets that would be available in the vault after yield accrual,\n     *         denominated in the vault's underlying asset token.\n     * @return The total amount of shares that would be available in the vault after yield accrual,\n     *         calculated as current totalSupply + management fee shares.\n     */\n    function previewAccrueYield() external view returns (uint256, uint256);\n\n    /**\n     * @dev Retrieves the current data and status information for a specific strategy.\n     * @dev This function provides read-only access to strategy metadata including allocation amounts and status.\n     *\n     * @param strategy The address of the strategy contract to query.\n     * @return The StrategyData struct containing the strategy's current status and allocated amount.\n     *\n     * Note:\n     * - Returns default values (Inactive status, 0 allocated) for non-existent strategies\n     * - Does not revert for invalid strategy addresses\n     */\n    function getStrategyData(address strategy) external view returns (StrategyData memory);\n\n    /**\n     * @dev Returns an array of all strategy addresses currently managed by the vault.\n     * @dev This function provides a way to enumerate all active strategies for external integrations and monitoring.\n     *\n     * @return An array containing the addresses of all strategies added to the vault.\n     *\n     * Note:\n     * - The returned array includes strategies in all statuses (Active, Inactive, Emergency)\n     * - The order of strategies in the array is not guaranteed\n     * - Returns an empty array if no strategies have been added\n     */\n    function getStrategies() external view returns (address[] memory);\n\n    /**\n     * @dev Returns the address of the allocate module.\n     *\n     * @return The address of the allocate module.\n     */\n    function allocateModule() external view returns (address);\n\n    /**\n     * @dev Returns the management fee configuration.\n     * @return managementFeeRecipient The address that receives management fees.\n     * @return managementFeeRate The management fee rate in basis points (where 10,000 = 100%).\n     * @return lastAccrualTime The timestamp of the last management fee accrual.\n     */\n    function managementFee()\n        external\n        view\n        returns (address managementFeeRecipient, uint16 managementFeeRate, uint32 lastAccrualTime);\n\n    /**\n     * @dev Sets the deposit limits.\n     * @param maxDepositAmount The maximum deposit amount.\n     * @param minDepositAmount The minimum deposit amount.\n     * @dev Only callable by accounts with VAULT_MANAGER role.\n     */\n    function setDepositLimits(uint256 maxDepositAmount, uint256 minDepositAmount) external;\n\n    /**\n     * @dev Sets the withdraw limits.\n     * @param maxWithdrawAmount The maximum withdraw amount.\n     * @param minWithdrawAmount The minimum withdraw amount.\n     * @dev Only callable by accounts with VAULT_MANAGER role.\n     */\n    function setWithdrawLimits(uint256 maxWithdrawAmount, uint256 minWithdrawAmount) external;\n\n    /**\n     * @dev Returns the deposit limits.\n     * @return maxDepositAmount The maximum deposit amount.\n     * @return minDepositAmount The minimum deposit amount.\n     */\n    function getDepositLimits() external view returns (uint256 maxDepositAmount, uint256 minDepositAmount);\n\n    /**\n     * @dev Returns the withdraw limits.\n     * @return maxWithdrawAmount The maximum withdraw amount.\n     * @return minWithdrawAmount The minimum withdraw amount.\n     */\n    function getWithdrawLimits() external view returns (uint256 maxWithdrawAmount, uint256 minWithdrawAmount);\n\n    /**\n     * @dev Returns the performance fee configuration.\n     * @return performanceFeeRecipient The address that receives performance fees.\n     * @return performanceFeeRate The performance fee rate in basis points (where 10,000 = 100%).\n     */\n    function performanceFee() external view returns (address performanceFeeRecipient, uint16 performanceFeeRate);\n\n    /**\n     * @dev Returns the total amount of assets allocated to all strategies.\n     *\n     * @return The total amount of assets allocated to all strategies.\n     */\n    function getTotalAllocated() external view returns (uint256);\n\n    /**\n     * @dev Returns the cached value of total assets after the last call.\n     *\n     * @return The cached value of total assets after the last call.\n     */\n    function cachedTotalAssets() external view returns (uint256);\n\n    /**\n     * @dev Returns the deallocation order from strategies.\n     *\n     * @return order An array of strategy addresses in the order they should be deallocated.\n     */\n    function getDeallocationOrder() external view returns (address[] memory order);\n\n    /**\n     * @dev Sets the deallocation order for strategies.\n     * @dev Only callable by accounts with the ALLOCATOR role.\n     * @param order An array of strategy addresses in the order they should be deallocated.\n     */\n    function setDeallocationOrder(address[] calldata order) external;\n}\n"},"src/implementation/ConcreteAsyncVaultImpl.sol":{"content":"// SPDX-License-Identifier: AGPL-3.0\npragma solidity ^0.8.24;\n\n/**\n * @title ConcreteAsyncVaultImpl\n * @notice ERC-4626-compatible, upgradeable async vault implementation that inherits the standard vault\n *         implementation and adds delayed/batched settlement flows for integrations where\n *         strategies have liquidity latency or epoch-based processing.\n *\n * @author Blueprint Finance\n * @custom:protocol Concrete Earn V2\n * @custom:oz-upgrades Use OZ Upgradeable patterns and eip7201 storage layout\n * @custom:source on request\n * @custom:audits on request\n * @custom:license AGPL-3.0\n */\n\n// ─────────────────────────────────────────────────────────────────────────────\n// External dependencies\n// ─────────────────────────────────────────────────────────────────────────────\nimport {IERC20} from \"@openzeppelin-contracts/token/ERC20/IERC20.sol\";\nimport {IERC4626} from \"@openzeppelin-contracts/interfaces/IERC4626.sol\";\nimport {Math} from \"@openzeppelin-contracts/utils/math/Math.sol\";\nimport {SafeCast} from \"@openzeppelin-contracts/utils/math/SafeCast.sol\";\nimport {SafeERC20} from \"@openzeppelin-contracts/token/ERC20/utils/SafeERC20.sol\";\n\n// ─────────────────────────────────────────────────────────────────────────────\n// Protocol-facing interfaces\n// ─────────────────────────────────────────────────────────────────────────────\nimport {IConcreteAsyncVaultImpl} from \"../interface/IConcreteAsyncVaultImpl.sol\";\nimport {IConcreteStandardVaultImpl} from \"../interface/IConcreteStandardVaultImpl.sol\";\n\n// ─────────────────────────────────────────────────────────────────────────────\n// Internal contracts\n// ─────────────────────────────────────────────────────────────────────────────\nimport {ConcreteStandardVaultImpl} from \"./ConcreteStandardVaultImpl.sol\";\n\n// ─────────────────────────────────────────────────────────────────────────────\n// Internal libraries\n// ─────────────────────────────────────────────────────────────────────────────\nimport {AsyncVaultHelperLib} from \"../lib/AsyncVaultHelperLib.sol\";\nimport {ConcreteV2ConversionLib as ConversionLib} from \"../lib/Conversion.sol\";\nimport {ConcreteV2RolesLib as RolesLib} from \"../../src/lib/Roles.sol\";\nimport {StateInitLib} from \"../lib/StateInitLib.sol\";\n\n// ─────────────────────────────────────────────────────────────────────────────\n// Storage layout libraries\n// ─────────────────────────────────────────────────────────────────────────────\nimport {ConcreteAsyncVaultImplStorageLib} from \"../lib/storage/ConcreteAsyncVaultImplStorageLib.sol\";\n\ncontract ConcreteAsyncVaultImpl is ConcreteStandardVaultImpl, IConcreteAsyncVaultImpl {\n    using Math for uint256;\n    using SafeERC20 for IERC20;\n    using SafeCast for uint256;\n\n    constructor(address factory) ConcreteStandardVaultImpl(factory) {}\n\n    /**\n     * @dev Override _initialize to set up async vault specific state\n     */\n    function _initialize(uint64 initialVersion, address owner, bytes memory data) internal virtual override {\n        super._initialize(initialVersion, owner, data);\n\n        address initialVaultManager;\n        assembly {\n            initialVaultManager := mload(add(data, 0x60))\n        }\n        __ConcreteAsyncVaultImpl_init(initialVaultManager);\n    }\n\n    /**\n     * @notice Initializes the WithdrawalQueueModule\n     * @dev Sets the initial epoch ID to 1 and emits initialization event\n     */\n    function __ConcreteAsyncVaultImpl_init(address initialVaultManager) internal onlyInitializing {\n        StateInitLib.stateInitAsyncVaultImpl(initialVaultManager, _msgSender());\n    }\n\n    /// @inheritdoc IConcreteAsyncVaultImpl\n    function toggleQueueActive() external virtual onlyRole(RolesLib.VAULT_MANAGER) {\n        ConcreteAsyncVaultImplStorageLib.ConcreteAsyncVaultImplStorage storage $ =\n            ConcreteAsyncVaultImplStorageLib.fetch();\n\n        bool newQueueActiveState = !$.isQueueActive;\n        $.isQueueActive = newQueueActiveState;\n\n        emit QueueActiveToggled(newQueueActiveState);\n    }\n\n    /// @inheritdoc IConcreteAsyncVaultImpl\n    function cancelRequest(uint256 epochID) external virtual {\n        AsyncVaultHelperLib.cancelRequest(_msgSender(), epochID);\n    }\n\n    /// @inheritdoc IConcreteAsyncVaultImpl\n    function cancelRequest(address user, uint256 epochID) external virtual onlyRole(RolesLib.WITHDRAWAL_MANAGER) {\n        require(user != address(0), ZeroAddress());\n        AsyncVaultHelperLib.cancelRequest(user, epochID);\n    }\n\n    function closeEpoch() external virtual onlyRole(RolesLib.WITHDRAWAL_MANAGER) {\n        AsyncVaultHelperLib.closeEpoch();\n    }\n\n    /// @inheritdoc IConcreteAsyncVaultImpl\n    function processEpoch() external virtual withYieldAccrual nonReentrant onlyRole(RolesLib.WITHDRAWAL_MANAGER) {\n        // calculate share price without accruing yield or taking fees.\n        uint8 decimals = decimals();\n        AsyncVaultHelperLib.processEpoch(\n            //sharePrice\n            ConversionLib.calcConvertToAssets(\n                10 ** decimals, totalSupply(), cachedTotalAssets(), Math.Rounding.Floor, false\n            ),\n            //availableAssets\n            IERC20(asset()).balanceOf(address(this)),\n            // decimals to avoid repeated internal function invocations\n            decimals\n        );\n    }\n\n    // External view functions\n\n    /// @inheritdoc IConcreteAsyncVaultImpl\n    function getUserEpochRequestInAssets(address user, uint256 epochID) external view virtual returns (uint256 assets) {\n        ConcreteAsyncVaultImplStorageLib.ConcreteAsyncVaultImplStorage storage $ =\n            ConcreteAsyncVaultImplStorageLib.fetch();\n\n        assets = AsyncVaultHelperLib.getUserEpochRequestInAssets(\n            user, epochID, $.latestEpochID, getEpochPricePerShare(epochID), decimals()\n        );\n    }\n\n    // Public functions\n    /// @inheritdoc IConcreteAsyncVaultImpl\n\n    function claimWithdrawal(uint256[] calldata epochIDs) external virtual {\n        require(epochIDs.length > 0, EmptyEpochIDs());\n        AsyncVaultHelperLib.claimWithdrawal(asset(), _msgSender(), epochIDs, decimals());\n    }\n\n    /// @inheritdoc IConcreteAsyncVaultImpl\n    function claimWithdrawal(address user, uint256[] calldata epochIDs)\n        external\n        virtual\n        onlyRole(RolesLib.WITHDRAWAL_MANAGER)\n    {\n        require(user != address(0), ZeroAddress());\n        require(epochIDs.length > 0, EmptyEpochIDs());\n        AsyncVaultHelperLib.claimWithdrawal(asset(), user, epochIDs, decimals());\n    }\n\n    function claimUsersBatch(address[] calldata users, uint256 epochID)\n        external\n        virtual\n        onlyRole(RolesLib.WITHDRAWAL_MANAGER)\n    {\n        require(users.length > 0, EmptyUsers());\n        AsyncVaultHelperLib.claimUsersBatch(asset(), users, epochID, decimals());\n    }\n\n    /**\n     * @notice Internal function to move a deposit request to the next deposit epoch\n     * @dev Validates inputs, determines amount to move, updates storage for both epochs.\n     * @param user The user whose request to move\n     */\n    function moveRequestToNextEpoch(address user) external onlyRole(RolesLib.WITHDRAWAL_MANAGER) {\n        require(user != address(0), ZeroAddress());\n        AsyncVaultHelperLib.moveRequestToNextEpoch(user);\n    }\n\n    /// @inheritdoc IConcreteAsyncVaultImpl\n    function getUserEpochRequest(address user, uint256 epochID) external view virtual returns (uint256 shares) {\n        return ConcreteAsyncVaultImplStorageLib.fetch().userEpochRequests[user][epochID];\n    }\n\n    /// @inheritdoc IConcreteAsyncVaultImpl\n    function latestEpochID() external view virtual returns (uint256) {\n        return ConcreteAsyncVaultImplStorageLib.fetch().latestEpochID;\n    }\n\n    /// @inheritdoc IConcreteAsyncVaultImpl\n    function pastEpochsUnclaimedAssets() external view virtual returns (uint256) {\n        return ConcreteAsyncVaultImplStorageLib.fetch().pastEpochsUnclaimedAssets;\n    }\n\n    /// @inheritdoc IConcreteAsyncVaultImpl\n    function totalRequestedSharesPerEpoch(uint256 epochID) external view virtual returns (uint256) {\n        return ConcreteAsyncVaultImplStorageLib.fetch().totalRequestedSharesPerEpoch[epochID];\n    }\n\n    /// @inheritdoc IConcreteAsyncVaultImpl\n    function totalRequestedSharesForCurrentEpochs() external view virtual returns (uint256, uint256, uint256) {\n        return AsyncVaultHelperLib.totalRequestedSharesForCurrentEpochs();\n    }\n\n    /// @inheritdoc IConcreteAsyncVaultImpl\n    function getEpochPricePerShare(uint256 epochID) public view virtual returns (uint256) {\n        uint256 epochPricePlusOne = ConcreteAsyncVaultImplStorageLib.fetch().epochPricePerSharePlusOne[epochID];\n        if (epochPricePlusOne == 0) return 0;\n        return epochPricePlusOne - 1;\n    }\n\n    function getEpochState(uint256 epochID) external view virtual returns (EpochState) {\n        return AsyncVaultHelperLib.getEpochState(epochID);\n    }\n\n    // Internal functions\n    /**\n     * @dev Override _executeWithdraw to implement async withdrawal pattern\n     * @dev This is called by parent's withdraw() and redeem() after harvest and validation\n     * @dev Instead of immediately transferring assets, we queue the request for epoch processing\n     */\n    function _executeWithdraw(address caller, address receiver, address owner, uint256 assets, uint256 shares)\n        internal\n        virtual\n        override\n        returns (uint256)\n    {\n        require(shares > 0, ZeroShares());\n\n        ConcreteAsyncVaultImplStorageLib.ConcreteAsyncVaultImplStorage storage $ =\n            ConcreteAsyncVaultImplStorageLib.fetch();\n\n        if ($.isQueueActive) {\n            if (caller != owner) {\n                _spendAllowance(owner, caller, shares);\n            }\n            // Transfer shares from owner to vault for holding until epoch processing\n            _transfer(owner, address(this), shares);\n\n            // Add request to current epoch\n            uint256 currentEpochID = $.latestEpochID;\n            $.userEpochRequests[receiver][currentEpochID] += shares;\n            $.totalRequestedSharesPerEpoch[currentEpochID] += shares;\n\n            emit QueuedWithdrawal(caller, receiver, owner, assets, shares, currentEpochID);\n\n            // Return assets to satisfy parent's validation that withdrawal was successful\n            return assets;\n        } else {\n            return super._executeWithdraw(caller, receiver, owner, assets, shares);\n        }\n    }\n\n    /// @inheritdoc IConcreteAsyncVaultImpl\n    function isQueueActive() external view virtual returns (bool) {\n        return ConcreteAsyncVaultImplStorageLib.fetch().isQueueActive;\n    }\n\n    /// @inheritdoc IConcreteStandardVaultImpl\n    function allocate(bytes calldata data)\n        public\n        virtual\n        override(ConcreteStandardVaultImpl, IConcreteStandardVaultImpl)\n    {\n        super.allocate(data);\n        require(\n            IERC20(asset()).balanceOf(address(this))\n                >= ConcreteAsyncVaultImplStorageLib.fetch().pastEpochsUnclaimedAssets,\n            InsufficientBalance()\n        );\n    }\n\n    function _lockedAssets() internal view override returns (uint256) {\n        return ConcreteAsyncVaultImplStorageLib.fetch().pastEpochsUnclaimedAssets;\n    }\n}\n"},"src/implementation/ConcreteStandardVaultImpl.sol":{"content":"// SPDX-License-Identifier: AGPL-3.0\npragma solidity ^0.8.24;\n\n/**\n * @title ConcreteStandardVaultImpl\n * @notice ERC-4626 upgradeable standard vault implementation for the Concrete Earn V2 protocol.\n *         Holds an underlying ERC20 asset and exposes deposit/mint/withdraw/redeem flows.\n *         Integrates with strategy modules to route assets to yield sources.\n *\n * @author Blueprint Finance\n * @custom:protocol Concrete Earn V2\n * @custom:oz-upgrades Use OZ Upgradeable patterns and eip7201 storage layout\n * @custom:source on request\n * @custom:audits on request\n * @custom:license AGPL-3.0\n */\n\n// ─────────────────────────────────────────────────────────────────────────────\n// External dependencies\n// ─────────────────────────────────────────────────────────────────────────────\nimport {\n    AccessControlEnumerableUpgradeable\n} from \"@openzeppelin-upgradeable/access/extensions/AccessControlEnumerableUpgradeable.sol\";\nimport {\n    ERC4626Upgradeable,\n    IERC20,\n    IERC4626,\n    Math,\n    SafeERC20\n} from \"@openzeppelin-upgradeable/token/ERC20/extensions/ERC4626Upgradeable.sol\";\nimport {Address} from \"@openzeppelin-contracts/utils/Address.sol\";\nimport {EnumerableSet} from \"@openzeppelin-contracts/utils/structs/EnumerableSet.sol\";\nimport {Ownable} from \"@openzeppelin-contracts/access/Ownable.sol\";\nimport {SafeCast} from \"@openzeppelin-contracts/utils/math/SafeCast.sol\";\n\n// ─────────────────────────────────────────────────────────────────────────────\n// Protocol-facing interfaces\n// ─────────────────────────────────────────────────────────────────────────────\nimport {IConcreteStandardVaultImpl} from \"../interface/IConcreteStandardVaultImpl.sol\";\nimport {IStrategyTemplate} from \"../interface/IStrategyTemplate.sol\";\n\n// ─────────────────────────────────────────────────────────────────────────────\n// Internal modules/contracts\n// ─────────────────────────────────────────────────────────────────────────────\nimport {IAllocateModule} from \"../module/AllocateModule.sol\";\nimport {UpgradeableVault} from \"../common/UpgradeableVault.sol\";\n\n// ─────────────────────────────────────────────────────────────────────────────\n// Internal libraries\n// ─────────────────────────────────────────────────────────────────────────────\nimport {ConcreteV2ConstantsLib as ConstantsLib} from \"../lib/Constants.sol\";\nimport {ConcreteV2ConversionLib as ConversionLib} from \"../lib/Conversion.sol\";\nimport {Hooks, HooksLibV1 as HooksLib} from \"../lib/Hooks.sol\";\nimport {ConcreteV2RolesLib as RolesLib} from \"../lib/Roles.sol\";\nimport {StateInitLib} from \"../lib/StateInitLib.sol\";\nimport {StateSetterLib} from \"../lib/StateSetterLib.sol\";\nimport {Time} from \"../lib/Time.sol\";\n\n// ─────────────────────────────────────────────────────────────────────────────\n// Storage layout libraries\n// ─────────────────────────────────────────────────────────────────────────────\nimport {\n    ConcreteCachedVaultStateStorageLib as CachedVaultStateLib\n} from \"../lib/storage/ConcreteCachedVaultStateStorageLib.sol\";\nimport {ConcreteStandardVaultImplStorageLib as SVLib} from \"../lib/storage/ConcreteStandardVaultImplStorageLib.sol\";\n\ncontract ConcreteStandardVaultImpl is\n    ERC4626Upgradeable,\n    UpgradeableVault,\n    AccessControlEnumerableUpgradeable,\n    IConcreteStandardVaultImpl\n{\n    using Address for address;\n    using EnumerableSet for EnumerableSet.AddressSet;\n    using SafeCast for uint256;\n    using ConversionLib for uint256;\n\n    using HooksLib for Hooks;\n\n    event HooksSet(Hooks hooks);\n\n    /// @dev Modifier to accrue yield before function execution\n    modifier withYieldAccrual() {\n        _accrueYield();\n        _;\n    }\n    /**\n     * @dev Constructor\n     * @param factory The address of the factory\n     */\n\n    constructor(address factory) UpgradeableVault(factory) {}\n\n    /// @inheritdoc IConcreteStandardVaultImpl\n    function allocate(bytes calldata data) public virtual nonReentrant onlyRole(RolesLib.ALLOCATOR) withYieldAccrual {\n        // delegatecall allocate module\n        bytes memory delegateData = abi.encodeWithSelector(IAllocateModule.allocateFunds.selector, data);\n        allocateModule().functionDelegateCall(delegateData);\n        require(IERC20(asset()).balanceOf(address(this)) >= _lockedAssets(), InsufficientBalance());\n    }\n\n    /// @inheritdoc IConcreteStandardVaultImpl\n    function accrueYield() external virtual nonReentrant {\n        _accrueYield();\n    }\n\n    /// @inheritdoc IConcreteStandardVaultImpl\n    function updateManagementFee(uint16 managementFee_)\n        external\n        nonReentrant\n        onlyRole(RolesLib.VAULT_MANAGER)\n        withYieldAccrual\n    {\n        StateSetterLib.updateManagementFee(managementFee_);\n    }\n\n    /// @inheritdoc IConcreteStandardVaultImpl\n    function updateManagementFeeRecipient(address recipient) external nonReentrant withYieldAccrual {\n        require(_msgSender() == Ownable(factory).owner(), InvalidFactoryOwner());\n\n        StateSetterLib.updateManagementFeeRecipient(recipient);\n    }\n\n    /// @inheritdoc IConcreteStandardVaultImpl\n    function updatePerformanceFee(uint16 performanceFee_)\n        external\n        nonReentrant\n        onlyRole(RolesLib.VAULT_MANAGER)\n        withYieldAccrual\n    {\n        StateSetterLib.updatePerformanceFee(performanceFee_);\n    }\n\n    /// @inheritdoc IConcreteStandardVaultImpl\n    function updatePerformanceFeeRecipient(address recipient) external nonReentrant withYieldAccrual {\n        require(msg.sender == Ownable(factory).owner(), InvalidFactoryOwner());\n\n        StateSetterLib.updatePerformanceFeeRecipient(recipient);\n    }\n\n    /// @inheritdoc IConcreteStandardVaultImpl\n    function setDepositLimits(uint256 minDepositAmount, uint256 maxDepositAmount)\n        external\n        nonReentrant\n        onlyRole(RolesLib.VAULT_MANAGER)\n    {\n        StateSetterLib.setDepositLimits(minDepositAmount, maxDepositAmount);\n    }\n\n    /// @inheritdoc IConcreteStandardVaultImpl\n    function setWithdrawLimits(uint256 minWithdrawAmount, uint256 maxWithdrawAmount)\n        external\n        nonReentrant\n        onlyRole(RolesLib.VAULT_MANAGER)\n    {\n        StateSetterLib.setWithdrawLimits(minWithdrawAmount, maxWithdrawAmount);\n    }\n\n    /// @inheritdoc IConcreteStandardVaultImpl\n    function getFeeConfig()\n        external\n        view\n        override\n        returns (\n            uint16 currentManagementFee,\n            address currentManagementFeeRecipient,\n            uint32 currentLastManagementFeeAccrual,\n            uint16 currentPerformanceFee,\n            address currentPerformanceFeeRecipient\n        )\n    {\n        SVLib.ConcreteStandardVaultImplStorage storage $ = SVLib.fetch();\n\n        return (\n            $.managementFee,\n            $.managementFeeRecipient,\n            $.lastManagementFeeAccrual,\n            $.performanceFee,\n            $.performanceFeeRecipient\n        );\n    }\n\n    /**\n     * @inheritdoc IERC4626\n     */\n    function deposit(uint256 assets, address receiver)\n        public\n        virtual\n        override(IERC4626, ERC4626Upgradeable)\n        nonReentrant\n        withYieldAccrual\n        returns (uint256)\n    {\n        require(receiver != address(0), InvalidReceiver());\n\n        Hooks memory h = SVLib.fetch().hooks;\n        uint256 totalAssetsBeforeDeposit = cachedTotalAssets();\n        // invoke pre-deposit hook if enabled\n        if (h.checkIsValid(HooksLib.PRE_DEPOSIT)) {\n            h.preDeposit(_msgSender(), assets, receiver, totalAssetsBeforeDeposit);\n        }\n\n        // deposit assets\n        uint256 maxAssets = maxDeposit(receiver);\n        if (assets > maxAssets) {\n            revert ERC4626ExceededMaxDeposit(receiver, assets, maxAssets);\n        }\n\n        uint256 shares = assets.calcConvertToShares(totalSupply(), totalAssetsBeforeDeposit, Math.Rounding.Floor, true);\n\n        (uint256 maxDepositAmount, uint256 minDepositAmount) = getDepositLimits();\n        require(\n            assets + totalAssetsBeforeDeposit <= maxDepositAmount && assets >= minDepositAmount,\n            AssetAmountOutOfBounds(msg.sender, assets, minDepositAmount, maxDepositAmount)\n        );\n\n        _deposit(_msgSender(), receiver, assets, shares);\n\n        // invoke post-deposit hook if enabled\n        if (h.checkIsValid(HooksLib.POST_DEPOSIT)) {\n            h.postDeposit(_msgSender(), assets, shares, receiver, cachedTotalAssets());\n        }\n\n        return shares;\n    }\n\n    /**\n     * @inheritdoc IERC4626\n     */\n    function mint(uint256 shares, address receiver)\n        public\n        virtual\n        override(IERC4626, ERC4626Upgradeable)\n        nonReentrant\n        withYieldAccrual\n        returns (uint256)\n    {\n        require(receiver != address(0), InvalidReceiver());\n\n        Hooks memory h = SVLib.fetch().hooks;\n        uint256 totalAssetsBeforeDeposit = cachedTotalAssets();\n        // invoke pre-mint hook if enabled\n        if (h.checkIsValid(HooksLib.PRE_MINT)) h.preMint(_msgSender(), shares, receiver, totalAssetsBeforeDeposit);\n\n        uint256 maxShares = maxMint(receiver);\n        if (shares > maxShares) {\n            revert ERC4626ExceededMaxMint(receiver, shares, maxShares);\n        }\n\n        uint256 assets = shares.calcConvertToAssets(totalSupply(), totalAssetsBeforeDeposit, Math.Rounding.Ceil, true);\n\n        (uint256 maxDepositAmount, uint256 minDepositAmount) = getDepositLimits();\n        require(\n            assets + totalAssetsBeforeDeposit <= maxDepositAmount && assets >= minDepositAmount,\n            AssetAmountOutOfBounds(_msgSender(), assets, minDepositAmount, maxDepositAmount)\n        );\n\n        _deposit(_msgSender(), receiver, assets, shares);\n\n        // invoke post-mint hook if enabled\n        if (h.checkIsValid(HooksLib.POST_MINT)) {\n            h.postMint(_msgSender(), assets, shares, receiver, cachedTotalAssets());\n        }\n\n        return assets;\n    }\n\n    /**\n     * @inheritdoc IERC4626\n     */\n    function withdraw(uint256 assets, address receiver, address owner)\n        public\n        virtual\n        override(IERC4626, ERC4626Upgradeable)\n        nonReentrant\n        withYieldAccrual\n        returns (uint256)\n    {\n        require(receiver != address(0), InvalidReceiver());\n\n        Hooks memory h = SVLib.fetch().hooks;\n        uint256 totalAssetsBeforeWithdrawal = cachedTotalAssets();\n\n        if (h.checkIsValid(HooksLib.PRE_WITHDRAW)) {\n            h.preWithdraw(_msgSender(), assets, receiver, owner, totalAssetsBeforeWithdrawal);\n        }\n        // Optimistic maxAssets that does not account for the withdrawals from strategies, this is to avoid the need to call _simulateWithdraw().\n        // If maxAssets is greater than the actual withdrawable amount, _executeWithdraw() will revert.\n        uint256 totalSupply_ = totalSupply();\n        uint256 maxAssets =\n            balanceOf(owner).calcConvertToAssets(totalSupply_, totalAssetsBeforeWithdrawal, Math.Rounding.Floor, false);\n\n        uint256 shares = assets.calcConvertToShares(totalSupply_, totalAssetsBeforeWithdrawal, Math.Rounding.Ceil, true);\n        if (assets > maxAssets || _executeWithdraw(_msgSender(), receiver, owner, assets, shares) < assets) {\n            revert ERC4626ExceededMaxWithdraw(owner, assets, maxAssets);\n        }\n\n        (uint256 maxWithdrawAmount, uint256 minWithdrawAmount) = getWithdrawLimits();\n        require(\n            assets <= maxWithdrawAmount && assets >= minWithdrawAmount,\n            AssetAmountOutOfBounds(_msgSender(), assets, minWithdrawAmount, maxWithdrawAmount)\n        );\n\n        // invoke post-withdraw hook if enabled\n        if (h.checkIsValid(HooksLib.POST_WITHDRAW)) {\n            h.postWithdraw(_msgSender(), assets, shares, receiver, cachedTotalAssets());\n        }\n\n        return shares;\n    }\n\n    /**\n     * @inheritdoc IERC4626\n     */\n    function redeem(uint256 shares, address receiver, address owner)\n        public\n        virtual\n        override(IERC4626, ERC4626Upgradeable)\n        nonReentrant\n        withYieldAccrual\n        returns (uint256)\n    {\n        require(receiver != address(0), InvalidReceiver());\n\n        Hooks memory h = SVLib.fetch().hooks;\n        uint256 totalAssetsBeforeWithdrawal = cachedTotalAssets();\n\n        // invoke pre-redeem hook if enabled\n        if (h.checkIsValid(HooksLib.PRE_REDEEM)) {\n            h.preRedeem(_msgSender(), shares, receiver, owner, totalAssetsBeforeWithdrawal);\n        }\n\n        // Optimistic maxShares that does not account for the withdrawals from strategies, this is to avoid the need to call _simulateWithdraw().\n        // If maxShares is greater than the actual redeemable amount, _executeWithdraw() will revert.\n        uint256 maxShares = balanceOf(owner);\n\n        uint256 assets =\n            shares.calcConvertToAssets(totalSupply(), totalAssetsBeforeWithdrawal, Math.Rounding.Floor, true);\n\n        if (shares > maxShares || _executeWithdraw(_msgSender(), receiver, owner, assets, shares) < assets) {\n            revert ERC4626ExceededMaxRedeem(owner, shares, maxShares);\n        }\n\n        (uint256 maxWithdrawAmount, uint256 minWithdrawAmount) = getWithdrawLimits();\n        require(\n            assets <= maxWithdrawAmount && assets >= minWithdrawAmount,\n            AssetAmountOutOfBounds(_msgSender(), assets, minWithdrawAmount, maxWithdrawAmount)\n        );\n\n        // invoke post-redeem hook if enabled\n        if (h.checkIsValid(HooksLib.POST_REDEEM)) {\n            h.postRedeem(_msgSender(), assets, shares, receiver, cachedTotalAssets());\n        }\n\n        return assets;\n    }\n\n    /**\n     * @inheritdoc IConcreteStandardVaultImpl\n     */\n    function setHooks(Hooks memory hooks) external virtual nonReentrant onlyRole(RolesLib.HOOK_MANAGER) {\n        SVLib.ConcreteStandardVaultImplStorage storage $ = SVLib.fetch();\n\n        $.hooks = hooks;\n\n        emit HooksSet(hooks);\n    }\n\n    /**\n     * @notice overwrites the deallocation order from strategies;\n     */\n    function setDeallocationOrder(address[] calldata order) external virtual nonReentrant onlyRole(RolesLib.ALLOCATOR) {\n        StateSetterLib.setDeallocationOrder(order);\n    }\n\n    /**\n     * @inheritdoc IConcreteStandardVaultImpl\n     */\n    function addStrategy(address strategy) public virtual nonReentrant onlyRole(RolesLib.STRATEGY_MANAGER) {\n        require(IStrategyTemplate(strategy).asset() == asset(), InvalidStrategyAsset());\n        StateSetterLib.addStrategy(strategy);\n    }\n\n    /**\n     * @inheritdoc IConcreteStandardVaultImpl\n     */\n    function removeStrategy(address strategy) public virtual nonReentrant onlyRole(RolesLib.STRATEGY_MANAGER) {\n        StateSetterLib.removeStrategy(strategy);\n    }\n\n    /**\n     * @inheritdoc IConcreteStandardVaultImpl\n     */\n    function toggleStrategyStatus(address strategy) public virtual nonReentrant onlyRole(RolesLib.STRATEGY_MANAGER) {\n        StateSetterLib.toggleStrategyStatus(strategy);\n    }\n\n    /**\n     * @notice Returns the deallocation order from strategies.\n     */\n    function getDeallocationOrder() external view returns (address[] memory order) {\n        return SVLib.fetch().deallocationOrder;\n    }\n\n    /**\n     * @dev See {IERC4626-previewDeposit}.\n     */\n    function previewDeposit(uint256 assets)\n        public\n        view\n        virtual\n        override(IERC4626, ERC4626Upgradeable)\n        returns (uint256)\n    {\n        (uint256 totalAssetsPreview, uint256 totalSupply) = _previewAccrueYieldAndFees();\n        return assets.calcConvertToShares(totalSupply, totalAssetsPreview, Math.Rounding.Floor, false);\n    }\n\n    /**\n     * @inheritdoc IERC4626\n     */\n    function previewMint(uint256 shares) public view virtual override(IERC4626, ERC4626Upgradeable) returns (uint256) {\n        (uint256 totalAssetsPreview, uint256 totalSupply) = _previewAccrueYieldAndFees();\n\n        return shares.calcConvertToAssets(totalSupply, totalAssetsPreview, Math.Rounding.Ceil, false);\n    }\n\n    /**\n     * @inheritdoc IERC4626\n     */\n    function previewWithdraw(uint256 assets)\n        public\n        view\n        virtual\n        override(IERC4626, ERC4626Upgradeable)\n        returns (uint256)\n    {\n        (uint256 totalAssetsPreview, uint256 totalSupply) = _previewAccrueYieldAndFees();\n\n        return assets.calcConvertToShares(totalSupply, totalAssetsPreview, Math.Rounding.Ceil, false);\n    }\n\n    /**\n     * @inheritdoc IERC4626\n     */\n    function previewRedeem(uint256 shares)\n        public\n        view\n        virtual\n        override(IERC4626, ERC4626Upgradeable)\n        returns (uint256)\n    {\n        (uint256 totalAssetsPreview, uint256 totalSupply) = _previewAccrueYieldAndFees();\n\n        return shares.calcConvertToAssets(totalSupply, totalAssetsPreview, Math.Rounding.Floor, false);\n    }\n\n    /**\n     * @inheritdoc IConcreteStandardVaultImpl\n     */\n    function previewAccrueYield() public view virtual returns (uint256, uint256) {\n        return _previewAccrueYieldAndFees();\n    }\n\n    /**\n     * @inheritdoc IERC4626\n     */\n    function totalAssets()\n        public\n        view\n        virtual\n        override(IERC4626, ERC4626Upgradeable)\n        returns (uint256 totalAssetsWithYield)\n    {\n        (totalAssetsWithYield,) = _previewAccrueYieldAndFees();\n    }\n\n    /**\n     * @inheritdoc IERC4626\n     */\n    function maxRedeem(address owner) public view virtual override(IERC4626, ERC4626Upgradeable) returns (uint256) {\n        (uint256 maxAssets, uint256 expectedTotalAssets, uint256 expectedTotalSupply) = _maxWithdraw(owner);\n\n        return maxAssets.calcConvertToShares(expectedTotalSupply, expectedTotalAssets, Math.Rounding.Floor, false);\n    }\n\n    /**\n     * @inheritdoc IERC4626\n     */\n    function maxWithdraw(address owner)\n        public\n        view\n        virtual\n        override(IERC4626, ERC4626Upgradeable)\n        returns (uint256 maxAssets)\n    {\n        (maxAssets,,) = _maxWithdraw(owner);\n    }\n\n    /**\n     * @inheritdoc IConcreteStandardVaultImpl\n     */\n    function getStrategyData(address strategy) public view returns (StrategyData memory) {\n        return SVLib.fetch().strategyData[strategy];\n    }\n\n    /**\n     * @inheritdoc IConcreteStandardVaultImpl\n     */\n    function getStrategies() public view returns (address[] memory) {\n        return SVLib.fetch().strategies.values();\n    }\n\n    /**\n     * @inheritdoc IConcreteStandardVaultImpl\n     */\n    function allocateModule() public view returns (address) {\n        return SVLib.fetch().allocateModule;\n    }\n\n    /// @inheritdoc IConcreteStandardVaultImpl\n    function getDepositLimits() public view returns (uint256, uint256) {\n        SVLib.ConcreteStandardVaultImplStorage storage $ = SVLib.fetch();\n        return ($.maxDepositAmount, $.minDepositAmount);\n    }\n\n    /// @inheritdoc IConcreteStandardVaultImpl\n    function getWithdrawLimits() public view returns (uint256, uint256) {\n        SVLib.ConcreteStandardVaultImplStorage storage $ = SVLib.fetch();\n        return ($.maxWithdrawAmount, $.minWithdrawAmount);\n    }\n\n    /// @inheritdoc IConcreteStandardVaultImpl\n    function managementFee() public view returns (address, uint16, uint32) {\n        SVLib.ConcreteStandardVaultImplStorage storage $ = SVLib.fetch();\n        return ($.managementFeeRecipient, $.managementFee, $.lastManagementFeeAccrual);\n    }\n\n    /// @inheritdoc IConcreteStandardVaultImpl\n    function performanceFee() public view returns (address, uint16) {\n        SVLib.ConcreteStandardVaultImplStorage storage $ = SVLib.fetch();\n        return ($.performanceFeeRecipient, $.performanceFee);\n    }\n\n    /// @inheritdoc IConcreteStandardVaultImpl\n    function getTotalAllocated() public view returns (uint256 totalAllocated) {\n        SVLib.ConcreteStandardVaultImplStorage storage $ = SVLib.fetch();\n\n        address[] memory strategies = $.strategies.values();\n\n        for (uint256 i = 0; i < strategies.length; i++) {\n            totalAllocated += $.strategyData[strategies[i]].allocated;\n        }\n    }\n\n    function cachedTotalAssets() public view returns (uint256) {\n        return CachedVaultStateLib.fetch().cachedTotalAssets;\n    }\n\n    /**\n     * @dev Initialization function that will be called when a proxy vault is deployed through `ConcreteFactory`.\n     */\n    function _initialize(\n        uint64,\n        /*initialVersion*/\n        address,\n        /*owner*/\n        bytes memory data\n    )\n        internal\n        virtual\n        override\n    {\n        (\n            address allocateModuleAddr,\n            address asset,\n            address initialVaultManager,\n            string memory name,\n            string memory symbol\n        ) = abi.decode(data, (address, address, address, string, string));\n\n        require(allocateModuleAddr != address(0), InvalidAllocateModule());\n        require(asset != address(0), InvalidAsset());\n        require(initialVaultManager != address(0), InvalidInitialVaultManager());\n\n        require(bytes(name).length > 0, InvalidName());\n        require(bytes(symbol).length > 0, InvalidSymbol());\n\n        __ERC20_init_unchained(name, symbol);\n        __ERC4626_init_unchained(IERC20(asset));\n        __AccessControlEnumerable_init_unchained();\n\n        StateInitLib.stateInitStandardVaultImpl(allocateModuleAddr, initialVaultManager, _msgSender());\n    }\n\n    /**\n     * @dev Upgrade function that will be called when a proxy vault upgrades to this implementation\n     */\n    function _upgrade(\n        uint64,\n        /* oldVersion */\n        uint64,\n        /* newVersion */\n        bytes calldata /* data */\n    )\n        internal\n        virtual\n        override\n    {}\n\n    /**\n     * @dev Internal function that executes the yield accrual operation across all active strategies.\n     * @dev This function iterates through all strategies managed by the vault, calculates\n     *      yield generated and losses incurred since the last yield accrual, and updates the vault's\n     *      internal accounting accordingly.\n     * @dev This function does not trigger actual fund movements, it only updates accounting\n     *      to reflect the current state of strategy allocations.\n     */\n    function _accrueYield() internal virtual returns (uint256) {\n        SVLib.ConcreteStandardVaultImplStorage storage $ = SVLib.fetch();\n\n        uint256 totalPositiveYield;\n        uint256 totalNegativeYield;\n        {\n            address[] memory strategies = $.strategies.values();\n            uint256 strategiesCounter = strategies.length;\n\n            for (uint256 i; i < strategiesCounter; ++i) {\n                (uint256 positiveYield, uint256 loss, uint256 strategyTotalAllocatedValue) =\n                    _previewStrategyYield(strategies[i]);\n\n                // update the strategy allocated amount only if there is yield or loss, otherwise it's the same amount as when we called `allocate()`.\n                // we do update the lastTotalAssets after netting the yield and loss\n                if (positiveYield != 0 || loss != 0) {\n                    $.strategyData[strategies[i]].allocated = strategyTotalAllocatedValue.toUint120();\n\n                    totalPositiveYield += positiveYield;\n                    totalNegativeYield += loss;\n\n                    emit StrategyYieldAccrued(strategies[i], strategyTotalAllocatedValue, positiveYield, loss);\n                }\n            }\n        }\n\n        CachedVaultStateLib.ConcreteCachedVaultStateStorage storage $cached = CachedVaultStateLib.fetch();\n\n        uint256 totalAssetsCached = $cached.cachedTotalAssets + totalPositiveYield - totalNegativeYield;\n        // update the lastTotalAssets\n        $cached.cachedTotalAssets = totalAssetsCached;\n\n        // Accrue management fees after accruing yield to calculate fee asset amount on total vault AUM\n        accrueManagementFee(totalAssetsCached);\n\n        // Accrue performance fees on net yield amount\n        accruePerformanceFee(totalAssetsCached, totalPositiveYield, totalNegativeYield);\n\n        emit YieldAccrued(totalPositiveYield, totalNegativeYield);\n\n        return totalAssetsCached;\n    }\n\n    /**\n     * @dev Internal function that handles withdrawal operations, including strategy deallocation when needed.\n     * @dev This function implements the core withdrawal logic for the vault, automatically managing\n     *      fund retrieval from both idle vault balance and allocated strategies to fulfill withdrawal requests.\n     * @dev Withdrawal Process:\n     *      1. First attempts to use idle funds (assets sitting in the vault contract)\n     *      2. If idle funds are insufficient, iterates through active strategies to deallocate funds\n     *      3. For each strategy, respects the strategy's maxWithdraw() limit\n     *      4. Updates strategy allocation accounting after successful deallocations\n     *      5. Delegates to parent contract for final ERC4626 withdrawal execution\n     * @dev Requirements:\n     *      - Combined idle funds and strategy liquidity must be sufficient for withdrawal amount\n     *      - All deallocated strategies must be in Active status\n     *      - Strategy onWithdraw() calls must succeed and return expected amounts\n     * @param caller The address that initiated the withdrawal (for access control)\n     * @param receiver The address that will receive the withdrawn assets\n     * @param owner The address whose shares are being burned for the withdrawal\n     * @param assets The amount of assets to withdraw from the vault\n     * @param shares The amount of shares to burn in exchange for the assets\n     */\n    function _executeWithdraw(address caller, address receiver, address owner, uint256 assets, uint256 shares)\n        internal\n        virtual\n        returns (uint256)\n    {\n        SVLib.ConcreteStandardVaultImplStorage storage $ = SVLib.fetch();\n\n        uint256 floatingFunds = IERC20(asset()).balanceOf(address(this));\n        uint256 lockedAssets = _lockedAssets();\n        uint256 totalWithdrawableAmount = floatingFunds >= lockedAssets ? floatingFunds - lockedAssets : 0;\n        if (totalWithdrawableAmount < assets) {\n            address[] memory deallocationOrder = $.deallocationOrder;\n            uint256 strategiesCounter = deallocationOrder.length;\n\n            uint256 desiredAssets;\n            for (uint256 i; i < strategiesCounter; ++i) {\n                if (\n                    ($.strategyData[deallocationOrder[i]].status != IConcreteStandardVaultImpl.StrategyStatus.Active)\n                        || !$.strategies.contains(deallocationOrder[i])\n                ) continue;\n\n                unchecked {\n                    desiredAssets = assets - totalWithdrawableAmount;\n                }\n\n                uint256 withdrawableAmountFromStrategy = IStrategyTemplate(deallocationOrder[i]).maxWithdraw();\n                uint256 withdrawAmount =\n                    (withdrawableAmountFromStrategy >= desiredAssets) ? desiredAssets : withdrawableAmountFromStrategy;\n\n                if (withdrawAmount > 0) {\n                    // Actually withdraw from the strategy\n                    uint256 actualWithdrawn = IStrategyTemplate(deallocationOrder[i]).onWithdraw(withdrawAmount);\n\n                    // Update strategy allocated amount\n                    $.strategyData[deallocationOrder[i]].allocated -= actualWithdrawn.toUint120();\n\n                    totalWithdrawableAmount += actualWithdrawn;\n                }\n\n                if (totalWithdrawableAmount >= assets) break;\n            }\n        }\n\n        _withdraw(caller, receiver, owner, assets, shares);\n\n        return totalWithdrawableAmount;\n    }\n\n    function _withdraw(address caller, address receiver, address owner, uint256 assets, uint256 shares)\n        internal\n        virtual\n        override\n    {\n        if (caller != owner) {\n            _spendAllowance(owner, caller, shares);\n        }\n\n        // If asset() is ERC-777, `transfer` can trigger a reentrancy AFTER the transfer happens through the\n        // `tokensReceived` hook. On the other hand, the `tokensToSend` hook, that is triggered before the transfer,\n        // calls the vault, which is assumed not malicious.\n        //\n        // Conclusion: we need to do the transfer after the burn so that any reentrancy would happen after the\n        // shares are burned and after the assets are transferred, which is a valid state.\n\n        CachedVaultStateLib.fetch().cachedTotalAssets -= assets;\n        _burn(owner, shares);\n        SafeERC20.safeTransfer(IERC20(asset()), receiver, assets);\n\n        emit Withdraw(caller, receiver, owner, assets, shares);\n    }\n\n    /**\n     * @dev Deposit/mint common workflow.\n     */\n    function _deposit(address caller, address receiver, uint256 assets, uint256 shares) internal virtual override {\n        // If asset() is ERC-777, `transferFrom` can trigger a reentrancy BEFORE the transfer happens through the\n        // `tokensToSend` hook. On the other hand, the `tokenReceived` hook, that is triggered after the transfer,\n        // calls the vault, which is assumed not malicious.\n        //\n        // Conclusion: we need to do the transfer before we mint so that any reentrancy would happen before the\n        // assets are transferred and before the shares are minted, which is a valid state.\n        // slither-disable-next-line reentrancy-no-eth\n        SafeERC20.safeTransferFrom(IERC20(asset()), caller, address(this), assets);\n        CachedVaultStateLib.fetch().cachedTotalAssets += assets;\n        _mint(receiver, shares);\n\n        emit Deposit(caller, receiver, assets, shares);\n    }\n\n    /**\n     * @dev Accrue management fees by minting shares to the fee recipient.\n     * @param totalAssetsAmount The total assets in the vault to calculate fee on\n     */\n    function accrueManagementFee(uint256 totalAssetsAmount) internal {\n        (uint256 feeShares, uint256 feeAmount) = previewManagementFee(totalAssetsAmount);\n\n        SVLib.ConcreteStandardVaultImplStorage storage $ = SVLib.fetch();\n\n        // Update last accrual timestamp\n        $.lastManagementFeeAccrual = Time.timestamp();\n\n        // Mint shares to management fee recipient\n        address managementFeeRecipient = $.managementFeeRecipient;\n        if (feeShares != 0 && managementFeeRecipient != address(0)) {\n            // Mint shares to management fee recipient\n            _mint(managementFeeRecipient, feeShares);\n\n            emit ManagementFeeAccrued(managementFeeRecipient, feeShares, feeAmount);\n        }\n    }\n\n    /**\n     * @dev Accrue performance fees by minting shares to the fee recipient.\n     * @param totalAssetsAmount The total assets in the vault to calculate fee on\n     * @param positiveYield The total positive yield generated by all strategies\n     * @param loss The total losses incurred by all strategies\n     */\n    function accruePerformanceFee(uint256 totalAssetsAmount, uint256 positiveYield, uint256 loss) internal {\n        (uint256 performanceFeeShares, uint256 feeAmount) =\n            previewPerformanceFee(totalAssetsAmount, positiveYield, loss, totalSupply());\n\n        if (performanceFeeShares == 0) return;\n\n        SVLib.ConcreteStandardVaultImplStorage storage $ = SVLib.fetch();\n\n        // Mint shares to performance fee recipient\n        address performanceFeeRecipient = $.performanceFeeRecipient;\n        if (performanceFeeRecipient != address(0)) {\n            _mint(performanceFeeRecipient, performanceFeeShares);\n            emit PerformanceFeeAccrued(performanceFeeRecipient, performanceFeeShares, feeAmount);\n        }\n    }\n\n    /**\n     * @dev Simulates the yield accrual operation across all strategies including fees.\n     * @return totalAssets The projected total assets after yield accrual (current + yield - losses)\n     * @return totalSupply The projected total supply after yield accrual (current + management fee shares + performance fee shares)\n     */\n    function _previewAccrueYieldAndFees() internal view virtual returns (uint256, uint256) {\n        (uint256 totalPositiveYield, uint256 totalNegativeYield) = _previewYieldNoFees();\n\n        uint256 totalSupplyCached = totalSupply();\n        uint256 totalAssetsCached = cachedTotalAssets() + totalPositiveYield - totalNegativeYield;\n\n        (uint256 managementFeeShares,) = previewManagementFee(totalAssetsCached);\n        totalSupplyCached += managementFeeShares;\n\n        (uint256 performanceFeeShares,) =\n            previewPerformanceFee(totalAssetsCached, totalPositiveYield, totalNegativeYield, totalSupplyCached);\n        totalSupplyCached += performanceFeeShares;\n\n        return (totalAssetsCached, totalSupplyCached);\n    }\n\n    /**\n     * @dev Calculates total positive and negative yield across all strategies.\n     * @return totalPositiveYield The sum of all positive yields from strategies\n     * @return totalNegativeYield The sum of all losses from strategies\n     */\n    function _previewYieldNoFees()\n        internal\n        view\n        virtual\n        returns (uint256 totalPositiveYield, uint256 totalNegativeYield)\n    {\n        address[] memory strategies = SVLib.fetch().strategies.values();\n        uint256 strategiesCounter = strategies.length;\n\n        for (uint256 i; i < strategiesCounter; ++i) {\n            (uint256 positiveYield, uint256 loss,) = _previewStrategyYield(strategies[i]);\n\n            if (positiveYield != 0 || loss != 0) {\n                totalPositiveYield += positiveYield;\n                totalNegativeYield += loss;\n            }\n        }\n    }\n\n    /**\n     * @dev Accrues yield and accounts for losses for a single strategy.\n     * @dev This function queries the current total allocated value from a strategy,\n     *      compares it against the previously recorded allocated amount, and calculates\n     *      the yield generated or loss incurred since the last yield accrual.\n     * @param strategy The address of the strategy contract to accrue yield from.\n     * @return yield The amount of positive yield generated by the strategy since last accrual.\n     * @return loss The amount of loss incurred by the strategy since last accrual.\n     */\n    function _previewStrategyYield(address strategy) internal view returns (uint256, uint256, uint256) {\n        SVLib.ConcreteStandardVaultImplStorage storage $ = SVLib.fetch();\n\n        uint120 strategyAllocatedAmount = $.strategyData[strategy].allocated;\n\n        if ($.strategyData[strategy].status != IConcreteStandardVaultImpl.StrategyStatus.Active) {\n            return (0, 0, 0);\n        }\n\n        uint256 currentTotalAllocatedValue = IStrategyTemplate(strategy).totalAllocatedValue();\n        currentTotalAllocatedValue =\n            (currentTotalAllocatedValue >= type(uint120).max) ? type(uint120).max : currentTotalAllocatedValue;\n\n        uint256 yield;\n        uint256 loss;\n        if (currentTotalAllocatedValue == strategyAllocatedAmount) {\n            return (yield, loss, currentTotalAllocatedValue);\n        } else if (currentTotalAllocatedValue > strategyAllocatedAmount) {\n            yield = currentTotalAllocatedValue - strategyAllocatedAmount;\n        } else {\n            loss = strategyAllocatedAmount - currentTotalAllocatedValue;\n        }\n\n        return (yield, loss, currentTotalAllocatedValue);\n    }\n\n    /**\n     * @dev Preview management fee accrual.\n     * @param _lastTotalAssets The total assets deposited in the vault to calculate fee on\n     * @return feeShares The number of shares to mint as management fee\n     * @return feeAmount The asset value of the management fee\n     */\n    function previewManagementFee(uint256 _lastTotalAssets)\n        internal\n        view\n        returns (uint256 feeShares, uint256 feeAmount)\n    {\n        SVLib.ConcreteStandardVaultImplStorage storage $ = SVLib.fetch();\n\n        if ($.managementFee == 0) return (0, 0);\n\n        uint32 currentTime = Time.timestamp();\n        uint32 lastAccrual = $.lastManagementFeeAccrual;\n\n        if (currentTime == lastAccrual) return (0, 0);\n\n        uint256 timeElapsed = currentTime - lastAccrual;\n        // management fee is calculated on total vault AUM(after yield accrual)\n        uint256 annualFeeAmount = (_lastTotalAssets * $.managementFee) / ConstantsLib.BASIS_POINTS_DENOMINATOR;\n        feeAmount = (annualFeeAmount * timeElapsed) / (365 days);\n\n        if (feeAmount == 0) return (0, 0);\n\n        // sanity check - clamp the fee amount to the last total assets\n        if (feeAmount > _lastTotalAssets) {\n            feeAmount = _lastTotalAssets;\n        }\n\n        // convert fee amount to shares using total assets net of the fee to prevent dilution. of the fee amount\n        feeShares =\n            feeAmount.calcConvertToShares(totalSupply(), _lastTotalAssets - feeAmount, Math.Rounding.Floor, false);\n\n        return (feeShares, feeAmount);\n    }\n\n    /**\n     * @dev Preview performance fee accrual.\n     * @param totalAssetsAmount The total assets in the vault to calculate fee on\n     * @param positiveYield The total positive yield generated by all strategies\n     * @param loss The total losses incurred by all strategies\n     * @param totalSupply The current total supply of vault shares\n     * @return shares The number of shares to mint as performance fee\n     * @return feeAmount The asset value of the performance fee\n     */\n    function previewPerformanceFee(uint256 totalAssetsAmount, uint256 positiveYield, uint256 loss, uint256 totalSupply)\n        internal\n        view\n        returns (uint256, uint256)\n    {\n        SVLib.ConcreteStandardVaultImplStorage storage $ = SVLib.fetch();\n\n        if ($.performanceFee == 0 || (loss >= positiveYield)) return (0, 0);\n\n        uint256 netPositiveYield = positiveYield - loss;\n        uint256 feeAmount = Math.mulDiv(netPositiveYield, $.performanceFee, ConstantsLib.BASIS_POINTS_DENOMINATOR);\n\n        if (feeAmount == 0) return (0, 0);\n\n        uint256 feeShares =\n            feeAmount.calcConvertToShares(totalSupply, totalAssetsAmount - feeAmount, Math.Rounding.Floor, false);\n\n        return (feeShares, feeAmount);\n    }\n\n    /**\n     * @dev Internal function to calculate the maximum amount of assets that can be withdrawn by an owner.\n     * @dev The calculation considers:\n     *      - Owner's current share balance converted to equivalent assets\n     *      - Current vault liquidity (idle assets + withdrawable amounts from strategies)\n     *      - Strategy withdrawal limitations and availability\n     * @param owner The address of the account for which to calculate maximum withdrawal.\n     * @return The maximum amount of assets that can actually be withdrawn by the owner,\n     *         considering both ownership rights and liquidity constraints.\n     * @return totalAssets The total amount of assets in the vault after previewing the yield accrual\n     */\n    function _maxWithdraw(address owner) internal view virtual returns (uint256, uint256, uint256) {\n        uint256 ownerShares = balanceOf(owner);\n        (uint256 totalAssetsPreview, uint256 totalSupplyPreview) = _previewAccrueYieldAndFees();\n\n        uint256 maxAssets =\n            ownerShares.calcConvertToAssets(totalSupplyPreview, totalAssetsPreview, Math.Rounding.Floor, false);\n\n        return (_simulateWithdraw(maxAssets), totalAssetsPreview, totalSupplyPreview);\n    }\n\n    /// @dev Simulate withdrawing an amount of assets from the vault.\n    /// @param requestedAssets Amount of assets to withdraw.\n    /// @return Amount of assets filled.\n    function _simulateWithdraw(uint256 requestedAssets) internal view virtual returns (uint256) {\n        SVLib.ConcreteStandardVaultImplStorage storage $ = SVLib.fetch();\n\n        uint256 totalWithdrawableAmount = IERC20(asset()).balanceOf(address(this));\n        if (totalWithdrawableAmount < requestedAssets) {\n            address[] memory deallocationOrder = $.deallocationOrder;\n            uint256 strategiesCounter = deallocationOrder.length;\n\n            for (uint256 i; i < strategiesCounter; ++i) {\n                if (\n                    ($.strategyData[deallocationOrder[i]].status != IConcreteStandardVaultImpl.StrategyStatus.Active)\n                        || !$.strategies.contains(deallocationOrder[i])\n                ) continue;\n\n                uint256 desiredAssets;\n                unchecked {\n                    desiredAssets = requestedAssets - totalWithdrawableAmount;\n                }\n\n                uint256 withdrawableAmountFromStrategy = IStrategyTemplate(deallocationOrder[i]).maxWithdraw();\n                uint256 withdrawAmount =\n                    (withdrawableAmountFromStrategy >= desiredAssets) ? desiredAssets : withdrawableAmountFromStrategy;\n\n                totalWithdrawableAmount += withdrawAmount;\n\n                if (totalWithdrawableAmount >= requestedAssets) break;\n            }\n        } else {\n            totalWithdrawableAmount = requestedAssets;\n        }\n\n        return totalWithdrawableAmount;\n    }\n\n    /**\n     * @dev Internal function used only by the public convertToShares() function.\n     * @dev This function returns share amounts NOT inclusive of management or performance fees,\n     *      as required by the ERC4626 specification. The convertToShares() function should return\n     *      the theoretical share amount for a given asset amount without considering fee deductions.\n     * @param assets The amount of assets to convert to shares\n     * @param rounding The rounding direction for the conversion\n     * @return The equivalent amount of shares, NOT inclusive of fees\n     */\n    function _convertToShares(uint256 assets, Math.Rounding rounding) internal view virtual override returns (uint256) {\n        (uint256 totalPositiveYield, uint256 totalNegativeYield) = _previewYieldNoFees();\n        return assets.calcConvertToShares(\n            totalSupply(), cachedTotalAssets() + totalPositiveYield - totalNegativeYield, rounding, false\n        );\n    }\n\n    /**\n     * @dev Internal function used only by the public convertToAssets() function.\n     * @dev This function returns asset amounts NOT inclusive of management or performance fees,\n     *      as required by the ERC4626 specification. The convertToAssets() function should return\n     *      the theoretical asset amount for a given share amount without considering fee deductions.\n     * @param shares The amount of shares to convert to assets\n     * @param rounding The rounding direction for the conversion\n     * @return The equivalent amount of assets, NOT inclusive of fees\n     */\n    function _convertToAssets(uint256 shares, Math.Rounding rounding) internal view virtual override returns (uint256) {\n        (uint256 totalPositiveYield, uint256 totalNegativeYield) = _previewYieldNoFees();\n        return shares.calcConvertToAssets(\n            totalSupply(), cachedTotalAssets() + totalPositiveYield - totalNegativeYield, rounding, false\n        );\n    }\n\n    function _lockedAssets() internal view virtual returns (uint256) {\n        return 0;\n    }\n}\n"},"node_modules/@openzeppelin/contracts/utils/Panic.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.1.0) (utils/Panic.sol)\n\npragma solidity ^0.8.20;\n\n/**\n * @dev Helper library for emitting standardized panic codes.\n *\n * ```solidity\n * contract Example {\n *      using Panic for uint256;\n *\n *      // Use any of the declared internal constants\n *      function foo() { Panic.GENERIC.panic(); }\n *\n *      // Alternatively\n *      function foo() { Panic.panic(Panic.GENERIC); }\n * }\n * ```\n *\n * Follows the list from https://github.com/ethereum/solidity/blob/v0.8.24/libsolutil/ErrorCodes.h[libsolutil].\n *\n * _Available since v5.1._\n */\n// slither-disable-next-line unused-state\nlibrary Panic {\n    /// @dev generic / unspecified error\n    uint256 internal constant GENERIC = 0x00;\n    /// @dev used by the assert() builtin\n    uint256 internal constant ASSERT = 0x01;\n    /// @dev arithmetic underflow or overflow\n    uint256 internal constant UNDER_OVERFLOW = 0x11;\n    /// @dev division or modulo by zero\n    uint256 internal constant DIVISION_BY_ZERO = 0x12;\n    /// @dev enum conversion error\n    uint256 internal constant ENUM_CONVERSION_ERROR = 0x21;\n    /// @dev invalid encoding in storage\n    uint256 internal constant STORAGE_ENCODING_ERROR = 0x22;\n    /// @dev empty array pop\n    uint256 internal constant EMPTY_ARRAY_POP = 0x31;\n    /// @dev array out of bounds access\n    uint256 internal constant ARRAY_OUT_OF_BOUNDS = 0x32;\n    /// @dev resource error (too large allocation or too large array)\n    uint256 internal constant RESOURCE_ERROR = 0x41;\n    /// @dev calling invalid internal function\n    uint256 internal constant INVALID_INTERNAL_FUNCTION = 0x51;\n\n    /// @dev Reverts with a panic code. Recommended to use with\n    /// the internal constants with predefined codes.\n    function panic(uint256 code) internal pure {\n        assembly (\"memory-safe\") {\n            mstore(0x00, 0x4e487b71)\n            mstore(0x20, code)\n            revert(0x1c, 0x24)\n        }\n    }\n}\n"},"src/lib/storage/ConcreteAsyncVaultImplStorageLib.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity ^0.8.20;\n\nlibrary ConcreteAsyncVaultImplStorageLib {\n    /// @dev keccak256(abi.encode(uint256(keccak256(\"concrete.storage.ConcreteAsyncVaultImplStorage\")) - 1)) & ~bytes32(uint256(0xff))\n    bytes32 private constant ConcreteAsyncVaultImplStorageLocation =\n        0x0ada5b606f7944319310c49c0f9f30d6272793a991bd2b9c3db8049867746700;\n\n    /// @custom:storage-location erc7201:concrete.storage.ConcreteAsyncVaultImplStorage\n    struct ConcreteAsyncVaultImplStorage {\n        // Current epoch ID for async withdrawals\n        uint256 latestEpochID;\n        // Assets available for past withdrawals (denominated in underlying asset)\n        uint256 pastEpochsUnclaimedAssets;\n        // Mapping from epoch ID to total shares requested in that epoch\n        mapping(uint256 => uint256) totalRequestedSharesPerEpoch;\n        // Mapping from user address to epoch ID to shares requested\n        mapping(address user => mapping(uint256 epochID => uint256 shares)) userEpochRequests;\n        // Mapping from epoch ID to share price when that epoch was processed\n        mapping(uint256 => uint256) epochPricePerSharePlusOne;\n        // Whether the queue is active\n        bool isQueueActive;\n    }\n\n    /**\n     * @dev Returns the storage struct for ConcreteAsyncVaultImpl\n     */\n    function fetch() internal pure returns (ConcreteAsyncVaultImplStorage storage $) {\n        assembly {\n            $.slot := ConcreteAsyncVaultImplStorageLocation\n        }\n    }\n}\n"},"node_modules/@openzeppelin/contracts/utils/Errors.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.1.0) (utils/Errors.sol)\n\npragma solidity ^0.8.20;\n\n/**\n * @dev Collection of common custom errors used in multiple contracts\n *\n * IMPORTANT: Backwards compatibility is not guaranteed in future versions of the library.\n * It is recommended to avoid relying on the error API for critical functionality.\n *\n * _Available since v5.1._\n */\nlibrary Errors {\n    /**\n     * @dev The ETH balance of the account is not enough to perform the operation.\n     */\n    error InsufficientBalance(uint256 balance, uint256 needed);\n\n    /**\n     * @dev A call to an address target failed. The target may have reverted.\n     */\n    error FailedCall();\n\n    /**\n     * @dev The deployment failed.\n     */\n    error FailedDeployment();\n\n    /**\n     * @dev A necessary precompile is missing.\n     */\n    error MissingPrecompile(address);\n}\n"},"node_modules/@openzeppelin/contracts/utils/Address.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.2.0) (utils/Address.sol)\n\npragma solidity ^0.8.20;\n\nimport {Errors} from \"./Errors.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\n        (bool success, bytes memory returndata) = recipient.call{value: amount}(\"\");\n        if (!success) {\n            _revert(returndata);\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, bytes memory returndata) = target.call{value: value}(data);\n        return verifyCallResultFromTarget(target, success, returndata);\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, bytes memory returndata) = target.staticcall(data);\n        return verifyCallResultFromTarget(target, success, returndata);\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, bytes memory returndata) = target.delegatecall(data);\n        return verifyCallResultFromTarget(target, success, returndata);\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    function verifyCallResultFromTarget(\n        address target,\n        bool success,\n        bytes memory returndata\n    ) internal view returns (bytes memory) {\n        if (!success) {\n            _revert(returndata);\n        } else {\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 (returndata.length == 0 && target.code.length == 0) {\n                revert AddressEmptyCode(target);\n            }\n            return returndata;\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            _revert(returndata);\n        } else {\n            return returndata;\n        }\n    }\n\n    /**\n     * @dev Reverts with returndata if present. Otherwise reverts with {Errors.FailedCall}.\n     */\n    function _revert(bytes memory returndata) private pure {\n        // Look for revert reason and bubble it up if present\n        if (returndata.length > 0) {\n            // The easiest way to bubble the revert reason is using memory via assembly\n            assembly (\"memory-safe\") {\n                let returndata_size := mload(returndata)\n                revert(add(32, returndata), returndata_size)\n            }\n        } else {\n            revert Errors.FailedCall();\n        }\n    }\n}\n"},"node_modules/@openzeppelin/contracts/utils/Context.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.0.1) (utils/Context.sol)\n\npragma solidity ^0.8.20;\n\n/**\n * @dev Provides information about the current execution context, including the\n * sender of the transaction and its data. While these are generally available\n * via msg.sender and msg.data, they should not be accessed in such a direct\n * manner, since when dealing with meta-transactions the account sending and\n * paying for execution may not be the actual sender (as far as an application\n * is concerned).\n *\n * This contract is only required for intermediate, library-like contracts.\n */\nabstract contract Context {\n    function _msgSender() internal view virtual returns (address) {\n        return msg.sender;\n    }\n\n    function _msgData() internal view virtual returns (bytes calldata) {\n        return msg.data;\n    }\n\n    function _contextSuffixLength() internal view virtual returns (uint256) {\n        return 0;\n    }\n}\n"},"src/lib/storage/ConcreteCachedVaultStateStorageLib.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.1.0) (utils/types/Time.sol)\npragma solidity ^0.8.24;\n\nlibrary ConcreteCachedVaultStateStorageLib {\n    /// @custom:storage-location erc7201:openzeppelin.storage.ConcreteTokenizedVaultStorage\n    struct ConcreteCachedVaultStateStorage {\n        /// @dev Store last total assets of the vault at specific timestamp\n        uint256 cachedTotalAssets;\n    }\n\n    /// @dev keccak256(abi.encode(uint256(keccak256(\"concrete.storage.ConcreteCachedVaultStateStorage\")) - 1)) & ~bytes32(uint256(0xff))\n    bytes32 private constant ConcreteCachedVaultStateStorageLocation =\n        0x31b60059595cae2ebab32b53f301cf68fb9c4eef322a90dbc8487ddf3a197900;\n\n    function fetch() internal pure returns (ConcreteCachedVaultStateStorage storage $) {\n        assembly {\n            $.slot := ConcreteCachedVaultStateStorageLocation\n        }\n    }\n}\n"},"node_modules/@openzeppelin/contracts/access/Ownable.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.0.0) (access/Ownable.sol)\n\npragma solidity ^0.8.20;\n\nimport {Context} from \"../utils/Context.sol\";\n\n/**\n * @dev Contract module which provides a basic access control mechanism, where\n * there is an account (an owner) that can be granted exclusive access to\n * specific functions.\n *\n * The initial owner is set to the address provided by the deployer. This can\n * later be changed with {transferOwnership}.\n *\n * This module is used through inheritance. It will make available the modifier\n * `onlyOwner`, which can be applied to your functions to restrict their use to\n * the owner.\n */\nabstract contract Ownable is Context {\n    address private _owner;\n\n    /**\n     * @dev The caller account is not authorized to perform an operation.\n     */\n    error OwnableUnauthorizedAccount(address account);\n\n    /**\n     * @dev The owner is not a valid owner account. (eg. `address(0)`)\n     */\n    error OwnableInvalidOwner(address owner);\n\n    event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);\n\n    /**\n     * @dev Initializes the contract setting the address provided by the deployer as the initial owner.\n     */\n    constructor(address initialOwner) {\n        if (initialOwner == address(0)) {\n            revert OwnableInvalidOwner(address(0));\n        }\n        _transferOwnership(initialOwner);\n    }\n\n    /**\n     * @dev Throws if called by any account other than the owner.\n     */\n    modifier onlyOwner() {\n        _checkOwner();\n        _;\n    }\n\n    /**\n     * @dev Returns the address of the current owner.\n     */\n    function owner() public view virtual returns (address) {\n        return _owner;\n    }\n\n    /**\n     * @dev Throws if the sender is not the owner.\n     */\n    function _checkOwner() internal view virtual {\n        if (owner() != _msgSender()) {\n            revert OwnableUnauthorizedAccount(_msgSender());\n        }\n    }\n\n    /**\n     * @dev Leaves the contract without owner. It will not be possible to call\n     * `onlyOwner` functions. Can only be called by the current owner.\n     *\n     * NOTE: Renouncing ownership will leave the contract without an owner,\n     * thereby disabling any functionality that is only available to the owner.\n     */\n    function renounceOwnership() public virtual onlyOwner {\n        _transferOwnership(address(0));\n    }\n\n    /**\n     * @dev Transfers ownership of the contract to a new account (`newOwner`).\n     * Can only be called by the current owner.\n     */\n    function transferOwnership(address newOwner) public virtual onlyOwner {\n        if (newOwner == address(0)) {\n            revert OwnableInvalidOwner(address(0));\n        }\n        _transferOwnership(newOwner);\n    }\n\n    /**\n     * @dev Transfers ownership of the contract to a new account (`newOwner`).\n     * Internal function without access restriction.\n     */\n    function _transferOwnership(address newOwner) internal virtual {\n        address oldOwner = _owner;\n        _owner = newOwner;\n        emit OwnershipTransferred(oldOwner, newOwner);\n    }\n}\n"},"src/lib/storage/ConcreteStandardVaultImplStorageLib.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.1.0) (utils/types/Time.sol)\npragma solidity ^0.8.24;\n\nimport {IConcreteStandardVaultImpl} from \"../../interface/IConcreteStandardVaultImpl.sol\";\nimport {EnumerableSet} from \"@openzeppelin-contracts/utils/structs/EnumerableSet.sol\";\nimport {Hooks} from \"../Hooks.sol\";\n\nlibrary ConcreteStandardVaultImplStorageLib {\n    /// @dev keccak256(abi.encode(uint256(keccak256(\"concrete.storage.ConcreteStandardVaultImplStorage\")) - 1)) & ~bytes32(uint256(0xff))\n    bytes32 private constant ConcreteStandardVaultImplStorageLocation =\n        0xe74d828616eceb28be4a8cf3f9eeee868e1f44ce928ee17a9d7ad296fa52be00;\n\n    /// @custom:storage-location erc7201:concrete.storage.ConcreteStandardVaultImplStorage\n    struct ConcreteStandardVaultImplStorage {\n        /// @dev max deposit amount\n        uint256 maxDepositAmount;\n        /// @dev max withdraw amount\n        uint256 maxWithdrawAmount;\n        /// @dev min deposit amount\n        uint256 minDepositAmount;\n        /// @dev min withdraw amount\n        uint256 minWithdrawAmount;\n        /// @dev allocate module's address\n        address allocateModule;\n        /// 1 slot: 160 + 16 + 32\n        /// @dev management fee recipient\n        address managementFeeRecipient;\n        /// @dev annual management fee rate in basis points\n        uint16 managementFee;\n        /// @dev timestamp of last management fee accrual\n        uint32 lastManagementFeeAccrual;\n        /// 1 slot: 160 + 16\n        /// @dev performance fee recipient\n        address performanceFeeRecipient;\n        /// @dev annual performance fee rate in basis points\n        uint16 performanceFee;\n        /// @dev high water mark\n        uint128 performanceFeeHighWaterMark;\n        /// Mapping between a strategy address and it's data\n        mapping(address => IConcreteStandardVaultImpl.StrategyData) strategyData;\n        /// An set of strategy addresses that ConcreteVault allocates to\n        EnumerableSet.AddressSet strategies;\n        /// Defines the order in which funds are retrieved from strategies to fulfill withdrawals\n        address[] deallocationOrder;\n        /// @dev hooks\n        Hooks hooks;\n    }\n\n    /**\n     *\n     */\n    function fetch() internal pure returns (ConcreteStandardVaultImplStorage storage $) {\n        assembly {\n            $.slot := ConcreteStandardVaultImplStorageLocation\n        }\n    }\n}\n"},"node_modules/@openzeppelin/contracts/utils/math/Math.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.1.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 Returns the addition of two unsigned integers, with an 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            if (c < a) return (false, 0);\n            return (true, c);\n        }\n    }\n\n    /**\n     * @dev Returns the subtraction of two unsigned integers, with an success flag (no overflow).\n     */\n    function trySub(uint256 a, uint256 b) internal pure returns (bool success, uint256 result) {\n        unchecked {\n            if (b > a) return (false, 0);\n            return (true, a - b);\n        }\n    }\n\n    /**\n     * @dev Returns the multiplication of two unsigned integers, with an success flag (no overflow).\n     */\n    function tryMul(uint256 a, uint256 b) internal pure returns (bool success, uint256 result) {\n        unchecked {\n            // Gas optimization: this is cheaper than requiring 'a' not being zero, but the\n            // benefit is lost if 'b' is also tested.\n            // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522\n            if (a == 0) return (true, 0);\n            uint256 c = a * b;\n            if (c / a != b) return (false, 0);\n            return (true, c);\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            if (b == 0) return (false, 0);\n            return (true, a / b);\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            if (b == 0) return (false, 0);\n            return (true, a % b);\n        }\n    }\n\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, 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        // (a + b) / 2 can overflow.\n        return (a & b) + (a ^ b) / 2;\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            // 512-bit multiply [prod1 prod0] = 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 = prod1 * 2²⁵⁶ + prod0.\n            uint256 prod0 = x * y; // Least significant 256 bits of the product\n            uint256 prod1; // Most significant 256 bits of the product\n            assembly {\n                let mm := mulmod(x, y, not(0))\n                prod1 := sub(sub(mm, prod0), lt(mm, prod0))\n            }\n\n            // Handle non-overflow cases, 256 by 256 division.\n            if (prod1 == 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 prod0 / denominator;\n            }\n\n            // Make sure the result is less than 2²⁵⁶. Also prevents denominator == 0.\n            if (denominator <= prod1) {\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 [prod1 prod0].\n            uint256 remainder;\n            assembly {\n                // Compute remainder using mulmod.\n                remainder := mulmod(x, y, denominator)\n\n                // Subtract 256 bit number from 512 bit number.\n                prod1 := sub(prod1, gt(remainder, prod0))\n                prod0 := sub(prod0, 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 {\n                // Divide denominator by twos.\n                denominator := div(denominator, twos)\n\n                // Divide [prod1 prod0] by twos.\n                prod0 := div(prod0, 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 prod1 into prod0.\n            prod0 |= prod1 * 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 prod1\n            // is no longer required.\n            result = prod0 * 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 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 byteArray) private pure returns (bool) {\n        for (uint256 i = 0; i < byteArray.length; ++i) {\n            if (byteArray[i] != 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 value) internal pure returns (uint256) {\n        uint256 result = 0;\n        uint256 exp;\n        unchecked {\n            exp = 128 * SafeCast.toUint(value > (1 << 128) - 1);\n            value >>= exp;\n            result += exp;\n\n            exp = 64 * SafeCast.toUint(value > (1 << 64) - 1);\n            value >>= exp;\n            result += exp;\n\n            exp = 32 * SafeCast.toUint(value > (1 << 32) - 1);\n            value >>= exp;\n            result += exp;\n\n            exp = 16 * SafeCast.toUint(value > (1 << 16) - 1);\n            value >>= exp;\n            result += exp;\n\n            exp = 8 * SafeCast.toUint(value > (1 << 8) - 1);\n            value >>= exp;\n            result += exp;\n\n            exp = 4 * SafeCast.toUint(value > (1 << 4) - 1);\n            value >>= exp;\n            result += exp;\n\n            exp = 2 * SafeCast.toUint(value > (1 << 2) - 1);\n            value >>= exp;\n            result += exp;\n\n            result += SafeCast.toUint(value > 1);\n        }\n        return result;\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 value) internal pure returns (uint256) {\n        uint256 result = 0;\n        uint256 isGt;\n        unchecked {\n            isGt = SafeCast.toUint(value > (1 << 128) - 1);\n            value >>= isGt * 128;\n            result += isGt * 16;\n\n            isGt = SafeCast.toUint(value > (1 << 64) - 1);\n            value >>= isGt * 64;\n            result += isGt * 8;\n\n            isGt = SafeCast.toUint(value > (1 << 32) - 1);\n            value >>= isGt * 32;\n            result += isGt * 4;\n\n            isGt = SafeCast.toUint(value > (1 << 16) - 1);\n            value >>= isGt * 16;\n            result += isGt * 2;\n\n            result += SafeCast.toUint(value > (1 << 8) - 1);\n        }\n        return result;\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"},"node_modules/@openzeppelin/contracts/interfaces/IERC20.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.0.0) (interfaces/IERC20.sol)\n\npragma solidity ^0.8.20;\n\nimport {IERC20} from \"../token/ERC20/IERC20.sol\";\n"},"node_modules/@openzeppelin/contracts/interfaces/IERC165.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.0.0) (interfaces/IERC165.sol)\n\npragma solidity ^0.8.20;\n\nimport {IERC165} from \"../utils/introspection/IERC165.sol\";\n"},"node_modules/@openzeppelin/contracts/token/ERC20/IERC20.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.1.0) (token/ERC20/IERC20.sol)\n\npragma solidity ^0.8.20;\n\n/**\n * @dev Interface of the ERC-20 standard as defined in the ERC.\n */\ninterface IERC20 {\n    /**\n     * @dev Emitted when `value` tokens are moved from one account (`from`) to\n     * another (`to`).\n     *\n     * Note that `value` may be zero.\n     */\n    event Transfer(address indexed from, address indexed to, uint256 value);\n\n    /**\n     * @dev Emitted when the allowance of a `spender` for an `owner` is set by\n     * a call to {approve}. `value` is the new allowance.\n     */\n    event Approval(address indexed owner, address indexed spender, uint256 value);\n\n    /**\n     * @dev Returns the value of tokens in existence.\n     */\n    function totalSupply() external view returns (uint256);\n\n    /**\n     * @dev Returns the value of tokens owned by `account`.\n     */\n    function balanceOf(address account) external view returns (uint256);\n\n    /**\n     * @dev Moves a `value` amount of tokens from the caller's account to `to`.\n     *\n     * Returns a boolean value indicating whether the operation succeeded.\n     *\n     * Emits a {Transfer} event.\n     */\n    function transfer(address to, uint256 value) external returns (bool);\n\n    /**\n     * @dev Returns the remaining number of tokens that `spender` will be\n     * allowed to spend on behalf of `owner` through {transferFrom}. This is\n     * zero by default.\n     *\n     * This value changes when {approve} or {transferFrom} are called.\n     */\n    function allowance(address owner, address spender) external view returns (uint256);\n\n    /**\n     * @dev Sets a `value` amount of tokens as the allowance of `spender` over the\n     * caller's tokens.\n     *\n     * Returns a boolean value indicating whether the operation succeeded.\n     *\n     * IMPORTANT: Beware that changing an allowance with this method brings the risk\n     * that someone may use both the old and the new allowance by unfortunate\n     * transaction ordering. One possible solution to mitigate this race\n     * condition is to first reduce the spender's allowance to 0 and set the\n     * desired value afterwards:\n     * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729\n     *\n     * Emits an {Approval} event.\n     */\n    function approve(address spender, uint256 value) external returns (bool);\n\n    /**\n     * @dev Moves a `value` amount of tokens from `from` to `to` using the\n     * allowance mechanism. `value` is then deducted from the caller's\n     * allowance.\n     *\n     * Returns a boolean value indicating whether the operation succeeded.\n     *\n     * Emits a {Transfer} event.\n     */\n    function transferFrom(address from, address to, uint256 value) external returns (bool);\n}\n"},"node_modules/@openzeppelin/contracts/interfaces/IERC1363.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.1.0) (interfaces/IERC1363.sol)\n\npragma solidity ^0.8.20;\n\nimport {IERC20} from \"./IERC20.sol\";\nimport {IERC165} from \"./IERC165.sol\";\n\n/**\n * @title IERC1363\n * @dev Interface of the ERC-1363 standard as defined in the https://eips.ethereum.org/EIPS/eip-1363[ERC-1363].\n *\n * Defines an extension interface for ERC-20 tokens that supports executing code on a recipient contract\n * after `transfer` or `transferFrom`, or code on a spender contract after `approve`, in a single transaction.\n */\ninterface IERC1363 is IERC20, IERC165 {\n    /*\n     * Note: the ERC-165 identifier for this interface is 0xb0202a11.\n     * 0xb0202a11 ===\n     *   bytes4(keccak256('transferAndCall(address,uint256)')) ^\n     *   bytes4(keccak256('transferAndCall(address,uint256,bytes)')) ^\n     *   bytes4(keccak256('transferFromAndCall(address,address,uint256)')) ^\n     *   bytes4(keccak256('transferFromAndCall(address,address,uint256,bytes)')) ^\n     *   bytes4(keccak256('approveAndCall(address,uint256)')) ^\n     *   bytes4(keccak256('approveAndCall(address,uint256,bytes)'))\n     */\n\n    /**\n     * @dev Moves a `value` amount of tokens from the caller's account to `to`\n     * and then calls {IERC1363Receiver-onTransferReceived} on `to`.\n     * @param to The address which you want to transfer to.\n     * @param value The amount of tokens to be transferred.\n     * @return A boolean value indicating whether the operation succeeded unless throwing.\n     */\n    function transferAndCall(address to, uint256 value) external returns (bool);\n\n    /**\n     * @dev Moves a `value` amount of tokens from the caller's account to `to`\n     * and then calls {IERC1363Receiver-onTransferReceived} on `to`.\n     * @param to The address which you want to transfer to.\n     * @param value The amount of tokens to be transferred.\n     * @param data Additional data with no specified format, sent in call to `to`.\n     * @return A boolean value indicating whether the operation succeeded unless throwing.\n     */\n    function transferAndCall(address to, uint256 value, bytes calldata data) external returns (bool);\n\n    /**\n     * @dev Moves a `value` amount of tokens from `from` to `to` using the allowance mechanism\n     * and then calls {IERC1363Receiver-onTransferReceived} on `to`.\n     * @param from The address which you want to send tokens from.\n     * @param to The address which you want to transfer to.\n     * @param value The amount of tokens to be transferred.\n     * @return A boolean value indicating whether the operation succeeded unless throwing.\n     */\n    function transferFromAndCall(address from, address to, uint256 value) external returns (bool);\n\n    /**\n     * @dev Moves a `value` amount of tokens from `from` to `to` using the allowance mechanism\n     * and then calls {IERC1363Receiver-onTransferReceived} on `to`.\n     * @param from The address which you want to send tokens from.\n     * @param to The address which you want to transfer to.\n     * @param value The amount of tokens to be transferred.\n     * @param data Additional data with no specified format, sent in call to `to`.\n     * @return A boolean value indicating whether the operation succeeded unless throwing.\n     */\n    function transferFromAndCall(address from, address to, uint256 value, bytes calldata data) external returns (bool);\n\n    /**\n     * @dev Sets a `value` amount of tokens as the allowance of `spender` over the\n     * caller's tokens and then calls {IERC1363Spender-onApprovalReceived} on `spender`.\n     * @param spender The address which will spend the funds.\n     * @param value The amount of tokens to be spent.\n     * @return A boolean value indicating whether the operation succeeded unless throwing.\n     */\n    function approveAndCall(address spender, uint256 value) external returns (bool);\n\n    /**\n     * @dev Sets a `value` amount of tokens as the allowance of `spender` over the\n     * caller's tokens and then calls {IERC1363Spender-onApprovalReceived} on `spender`.\n     * @param spender The address which will spend the funds.\n     * @param value The amount of tokens to be spent.\n     * @param data Additional data with no specified format, sent in call to `spender`.\n     * @return A boolean value indicating whether the operation succeeded unless throwing.\n     */\n    function approveAndCall(address spender, uint256 value, bytes calldata data) external returns (bool);\n}\n"},"node_modules/@openzeppelin/contracts/interfaces/IERC4626.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.1.0) (interfaces/IERC4626.sol)\n\npragma solidity ^0.8.20;\n\nimport {IERC20} from \"../token/ERC20/IERC20.sol\";\nimport {IERC20Metadata} from \"../token/ERC20/extensions/IERC20Metadata.sol\";\n\n/**\n * @dev Interface of the ERC-4626 \"Tokenized Vault Standard\", as defined in\n * https://eips.ethereum.org/EIPS/eip-4626[ERC-4626].\n */\ninterface IERC4626 is IERC20, IERC20Metadata {\n    event Deposit(address indexed sender, address indexed owner, uint256 assets, uint256 shares);\n\n    event Withdraw(\n        address indexed sender,\n        address indexed receiver,\n        address indexed owner,\n        uint256 assets,\n        uint256 shares\n    );\n\n    /**\n     * @dev Returns the address of the underlying token used for the Vault for accounting, depositing, and withdrawing.\n     *\n     * - MUST be an ERC-20 token contract.\n     * - MUST NOT revert.\n     */\n    function asset() external view returns (address assetTokenAddress);\n\n    /**\n     * @dev Returns the total amount of the underlying asset that is “managed” by Vault.\n     *\n     * - SHOULD include any compounding that occurs from yield.\n     * - MUST be inclusive of any fees that are charged against assets in the Vault.\n     * - MUST NOT revert.\n     */\n    function totalAssets() external view returns (uint256 totalManagedAssets);\n\n    /**\n     * @dev Returns the amount of shares that the Vault would exchange for the amount of assets provided, in an ideal\n     * scenario where all the conditions are met.\n     *\n     * - MUST NOT be inclusive of any fees that are charged against assets in the Vault.\n     * - MUST NOT show any variations depending on the caller.\n     * - MUST NOT reflect slippage or other on-chain conditions, when performing the actual exchange.\n     * - MUST NOT revert.\n     *\n     * NOTE: This calculation MAY NOT reflect the “per-user” price-per-share, and instead should reflect the\n     * “average-user’s” price-per-share, meaning what the average user should expect to see when exchanging to and\n     * from.\n     */\n    function convertToShares(uint256 assets) external view returns (uint256 shares);\n\n    /**\n     * @dev Returns the amount of assets that the Vault would exchange for the amount of shares provided, in an ideal\n     * scenario where all the conditions are met.\n     *\n     * - MUST NOT be inclusive of any fees that are charged against assets in the Vault.\n     * - MUST NOT show any variations depending on the caller.\n     * - MUST NOT reflect slippage or other on-chain conditions, when performing the actual exchange.\n     * - MUST NOT revert.\n     *\n     * NOTE: This calculation MAY NOT reflect the “per-user” price-per-share, and instead should reflect the\n     * “average-user’s” price-per-share, meaning what the average user should expect to see when exchanging to and\n     * from.\n     */\n    function convertToAssets(uint256 shares) external view returns (uint256 assets);\n\n    /**\n     * @dev Returns the maximum amount of the underlying asset that can be deposited into the Vault for the receiver,\n     * through a deposit call.\n     *\n     * - MUST return a limited value if receiver is subject to some deposit limit.\n     * - MUST return 2 ** 256 - 1 if there is no limit on the maximum amount of assets that may be deposited.\n     * - MUST NOT revert.\n     */\n    function maxDeposit(address receiver) external view returns (uint256 maxAssets);\n\n    /**\n     * @dev Allows an on-chain or off-chain user to simulate the effects of their deposit at the current block, given\n     * current on-chain conditions.\n     *\n     * - MUST return as close to and no more than the exact amount of Vault shares that would be minted in a deposit\n     *   call in the same transaction. I.e. deposit should return the same or more shares as previewDeposit if called\n     *   in the same transaction.\n     * - MUST NOT account for deposit limits like those returned from maxDeposit and should always act as though the\n     *   deposit would be accepted, regardless if the user has enough tokens approved, etc.\n     * - MUST be inclusive of deposit fees. Integrators should be aware of the existence of deposit fees.\n     * - MUST NOT revert.\n     *\n     * NOTE: any unfavorable discrepancy between convertToShares and previewDeposit SHOULD be considered slippage in\n     * share price or some other type of condition, meaning the depositor will lose assets by depositing.\n     */\n    function previewDeposit(uint256 assets) external view returns (uint256 shares);\n\n    /**\n     * @dev Mints shares Vault shares to receiver by depositing exactly amount of underlying tokens.\n     *\n     * - MUST emit the Deposit event.\n     * - MAY support an additional flow in which the underlying tokens are owned by the Vault contract before the\n     *   deposit execution, and are accounted for during deposit.\n     * - MUST revert if all of assets cannot be deposited (due to deposit limit being reached, slippage, the user not\n     *   approving enough underlying tokens to the Vault contract, etc).\n     *\n     * NOTE: most implementations will require pre-approval of the Vault with the Vault’s underlying asset token.\n     */\n    function deposit(uint256 assets, address receiver) external returns (uint256 shares);\n\n    /**\n     * @dev Returns the maximum amount of the Vault shares that can be minted for the receiver, through a mint call.\n     * - MUST return a limited value if receiver is subject to some mint limit.\n     * - MUST return 2 ** 256 - 1 if there is no limit on the maximum amount of shares that may be minted.\n     * - MUST NOT revert.\n     */\n    function maxMint(address receiver) external view returns (uint256 maxShares);\n\n    /**\n     * @dev Allows an on-chain or off-chain user to simulate the effects of their mint at the current block, given\n     * current on-chain conditions.\n     *\n     * - MUST return as close to and no fewer than the exact amount of assets that would be deposited in a mint call\n     *   in the same transaction. I.e. mint should return the same or fewer assets as previewMint if called in the\n     *   same transaction.\n     * - MUST NOT account for mint limits like those returned from maxMint and should always act as though the mint\n     *   would be accepted, regardless if the user has enough tokens approved, etc.\n     * - MUST be inclusive of deposit fees. Integrators should be aware of the existence of deposit fees.\n     * - MUST NOT revert.\n     *\n     * NOTE: any unfavorable discrepancy between convertToAssets and previewMint SHOULD be considered slippage in\n     * share price or some other type of condition, meaning the depositor will lose assets by minting.\n     */\n    function previewMint(uint256 shares) external view returns (uint256 assets);\n\n    /**\n     * @dev Mints exactly shares Vault shares to receiver by depositing amount of underlying tokens.\n     *\n     * - MUST emit the Deposit event.\n     * - MAY support an additional flow in which the underlying tokens are owned by the Vault contract before the mint\n     *   execution, and are accounted for during mint.\n     * - MUST revert if all of shares cannot be minted (due to deposit limit being reached, slippage, the user not\n     *   approving enough underlying tokens to the Vault contract, etc).\n     *\n     * NOTE: most implementations will require pre-approval of the Vault with the Vault’s underlying asset token.\n     */\n    function mint(uint256 shares, address receiver) external returns (uint256 assets);\n\n    /**\n     * @dev Returns the maximum amount of the underlying asset that can be withdrawn from the owner balance in the\n     * Vault, through a withdraw call.\n     *\n     * - MUST return a limited value if owner is subject to some withdrawal limit or timelock.\n     * - MUST NOT revert.\n     */\n    function maxWithdraw(address owner) external view returns (uint256 maxAssets);\n\n    /**\n     * @dev Allows an on-chain or off-chain user to simulate the effects of their withdrawal at the current block,\n     * given current on-chain conditions.\n     *\n     * - MUST return as close to and no fewer than the exact amount of Vault shares that would be burned in a withdraw\n     *   call in the same transaction. I.e. withdraw should return the same or fewer shares as previewWithdraw if\n     *   called\n     *   in the same transaction.\n     * - MUST NOT account for withdrawal limits like those returned from maxWithdraw and should always act as though\n     *   the withdrawal would be accepted, regardless if the user has enough shares, etc.\n     * - MUST be inclusive of withdrawal fees. Integrators should be aware of the existence of withdrawal fees.\n     * - MUST NOT revert.\n     *\n     * NOTE: any unfavorable discrepancy between convertToShares and previewWithdraw SHOULD be considered slippage in\n     * share price or some other type of condition, meaning the depositor will lose assets by depositing.\n     */\n    function previewWithdraw(uint256 assets) external view returns (uint256 shares);\n\n    /**\n     * @dev Burns shares from owner and sends exactly assets of underlying tokens to receiver.\n     *\n     * - MUST emit the Withdraw event.\n     * - MAY support an additional flow in which the underlying tokens are owned by the Vault contract before the\n     *   withdraw execution, and are accounted for during withdraw.\n     * - MUST revert if all of assets cannot be withdrawn (due to withdrawal limit being reached, slippage, the owner\n     *   not having enough shares, etc).\n     *\n     * Note that some implementations will require pre-requesting to the Vault before a withdrawal may be performed.\n     * Those methods should be performed separately.\n     */\n    function withdraw(uint256 assets, address receiver, address owner) external returns (uint256 shares);\n\n    /**\n     * @dev Returns the maximum amount of Vault shares that can be redeemed from the owner balance in the Vault,\n     * through a redeem call.\n     *\n     * - MUST return a limited value if owner is subject to some withdrawal limit or timelock.\n     * - MUST return balanceOf(owner) if owner is not subject to any withdrawal limit or timelock.\n     * - MUST NOT revert.\n     */\n    function maxRedeem(address owner) external view returns (uint256 maxShares);\n\n    /**\n     * @dev Allows an on-chain or off-chain user to simulate the effects of their redeemption at the current block,\n     * given current on-chain conditions.\n     *\n     * - MUST return as close to and no more than the exact amount of assets that would be withdrawn in a redeem call\n     *   in the same transaction. I.e. redeem should return the same or more assets as previewRedeem if called in the\n     *   same transaction.\n     * - MUST NOT account for redemption limits like those returned from maxRedeem and should always act as though the\n     *   redemption would be accepted, regardless if the user has enough shares, etc.\n     * - MUST be inclusive of withdrawal fees. Integrators should be aware of the existence of withdrawal fees.\n     * - MUST NOT revert.\n     *\n     * NOTE: any unfavorable discrepancy between convertToAssets and previewRedeem SHOULD be considered slippage in\n     * share price or some other type of condition, meaning the depositor will lose assets by redeeming.\n     */\n    function previewRedeem(uint256 shares) external view returns (uint256 assets);\n\n    /**\n     * @dev Burns exactly shares from owner and sends assets of underlying tokens to receiver.\n     *\n     * - MUST emit the Withdraw event.\n     * - MAY support an additional flow in which the underlying tokens are owned by the Vault contract before the\n     *   redeem execution, and are accounted for during redeem.\n     * - MUST revert if all of shares cannot be redeemed (due to withdrawal limit being reached, slippage, the owner\n     *   not having enough shares, etc).\n     *\n     * NOTE: some implementations will require pre-requesting to the Vault before a withdrawal may be performed.\n     * Those methods should be performed separately.\n     */\n    function redeem(uint256 shares, address receiver, address owner) external returns (uint256 assets);\n}\n"},"node_modules/@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 an uint of `bits` size.\n     */\n    error SafeCastOverflowedUintDowncast(uint8 bits, uint256 value);\n\n    /**\n     * @dev An int value doesn't fit in an 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 An uint value doesn't fit in an int of `bits` size.\n     */\n    error SafeCastOverflowedUintToInt(uint256 value);\n\n    /**\n     * @dev Returns the downcasted uint248 from uint256, reverting on\n     * overflow (when the input is greater than largest uint248).\n     *\n     * Counterpart to Solidity's `uint248` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 248 bits\n     */\n    function toUint248(uint256 value) internal pure returns (uint248) {\n        if (value > type(uint248).max) {\n            revert SafeCastOverflowedUintDowncast(248, value);\n        }\n        return uint248(value);\n    }\n\n    /**\n     * @dev Returns the downcasted uint240 from uint256, reverting on\n     * overflow (when the input is greater than largest uint240).\n     *\n     * Counterpart to Solidity's `uint240` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 240 bits\n     */\n    function toUint240(uint256 value) internal pure returns (uint240) {\n        if (value > type(uint240).max) {\n            revert SafeCastOverflowedUintDowncast(240, value);\n        }\n        return uint240(value);\n    }\n\n    /**\n     * @dev Returns the downcasted uint232 from uint256, reverting on\n     * overflow (when the input is greater than largest uint232).\n     *\n     * Counterpart to Solidity's `uint232` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 232 bits\n     */\n    function toUint232(uint256 value) internal pure returns (uint232) {\n        if (value > type(uint232).max) {\n            revert SafeCastOverflowedUintDowncast(232, value);\n        }\n        return uint232(value);\n    }\n\n    /**\n     * @dev Returns the downcasted uint224 from uint256, reverting on\n     * overflow (when the input is greater than largest uint224).\n     *\n     * Counterpart to Solidity's `uint224` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 224 bits\n     */\n    function toUint224(uint256 value) internal pure returns (uint224) {\n        if (value > type(uint224).max) {\n            revert SafeCastOverflowedUintDowncast(224, value);\n        }\n        return uint224(value);\n    }\n\n    /**\n     * @dev Returns the downcasted uint216 from uint256, reverting on\n     * overflow (when the input is greater than largest uint216).\n     *\n     * Counterpart to Solidity's `uint216` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 216 bits\n     */\n    function toUint216(uint256 value) internal pure returns (uint216) {\n        if (value > type(uint216).max) {\n            revert SafeCastOverflowedUintDowncast(216, value);\n        }\n        return uint216(value);\n    }\n\n    /**\n     * @dev Returns the downcasted uint208 from uint256, reverting on\n     * overflow (when the input is greater than largest uint208).\n     *\n     * Counterpart to Solidity's `uint208` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 208 bits\n     */\n    function toUint208(uint256 value) internal pure returns (uint208) {\n        if (value > type(uint208).max) {\n            revert SafeCastOverflowedUintDowncast(208, value);\n        }\n        return uint208(value);\n    }\n\n    /**\n     * @dev Returns the downcasted uint200 from uint256, reverting on\n     * overflow (when the input is greater than largest uint200).\n     *\n     * Counterpart to Solidity's `uint200` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 200 bits\n     */\n    function toUint200(uint256 value) internal pure returns (uint200) {\n        if (value > type(uint200).max) {\n            revert SafeCastOverflowedUintDowncast(200, value);\n        }\n        return uint200(value);\n    }\n\n    /**\n     * @dev Returns the downcasted uint192 from uint256, reverting on\n     * overflow (when the input is greater than largest uint192).\n     *\n     * Counterpart to Solidity's `uint192` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 192 bits\n     */\n    function toUint192(uint256 value) internal pure returns (uint192) {\n        if (value > type(uint192).max) {\n            revert SafeCastOverflowedUintDowncast(192, value);\n        }\n        return uint192(value);\n    }\n\n    /**\n     * @dev Returns the downcasted uint184 from uint256, reverting on\n     * overflow (when the input is greater than largest uint184).\n     *\n     * Counterpart to Solidity's `uint184` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 184 bits\n     */\n    function toUint184(uint256 value) internal pure returns (uint184) {\n        if (value > type(uint184).max) {\n            revert SafeCastOverflowedUintDowncast(184, value);\n        }\n        return uint184(value);\n    }\n\n    /**\n     * @dev Returns the downcasted uint176 from uint256, reverting on\n     * overflow (when the input is greater than largest uint176).\n     *\n     * Counterpart to Solidity's `uint176` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 176 bits\n     */\n    function toUint176(uint256 value) internal pure returns (uint176) {\n        if (value > type(uint176).max) {\n            revert SafeCastOverflowedUintDowncast(176, value);\n        }\n        return uint176(value);\n    }\n\n    /**\n     * @dev Returns the downcasted uint168 from uint256, reverting on\n     * overflow (when the input is greater than largest uint168).\n     *\n     * Counterpart to Solidity's `uint168` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 168 bits\n     */\n    function toUint168(uint256 value) internal pure returns (uint168) {\n        if (value > type(uint168).max) {\n            revert SafeCastOverflowedUintDowncast(168, value);\n        }\n        return uint168(value);\n    }\n\n    /**\n     * @dev Returns the downcasted uint160 from uint256, reverting on\n     * overflow (when the input is greater than largest uint160).\n     *\n     * Counterpart to Solidity's `uint160` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 160 bits\n     */\n    function toUint160(uint256 value) internal pure returns (uint160) {\n        if (value > type(uint160).max) {\n            revert SafeCastOverflowedUintDowncast(160, value);\n        }\n        return uint160(value);\n    }\n\n    /**\n     * @dev Returns the downcasted uint152 from uint256, reverting on\n     * overflow (when the input is greater than largest uint152).\n     *\n     * Counterpart to Solidity's `uint152` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 152 bits\n     */\n    function toUint152(uint256 value) internal pure returns (uint152) {\n        if (value > type(uint152).max) {\n            revert SafeCastOverflowedUintDowncast(152, value);\n        }\n        return uint152(value);\n    }\n\n    /**\n     * @dev Returns the downcasted uint144 from uint256, reverting on\n     * overflow (when the input is greater than largest uint144).\n     *\n     * Counterpart to Solidity's `uint144` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 144 bits\n     */\n    function toUint144(uint256 value) internal pure returns (uint144) {\n        if (value > type(uint144).max) {\n            revert SafeCastOverflowedUintDowncast(144, value);\n        }\n        return uint144(value);\n    }\n\n    /**\n     * @dev Returns the downcasted uint136 from uint256, reverting on\n     * overflow (when the input is greater than largest uint136).\n     *\n     * Counterpart to Solidity's `uint136` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 136 bits\n     */\n    function toUint136(uint256 value) internal pure returns (uint136) {\n        if (value > type(uint136).max) {\n            revert SafeCastOverflowedUintDowncast(136, value);\n        }\n        return uint136(value);\n    }\n\n    /**\n     * @dev Returns the downcasted uint128 from uint256, reverting on\n     * overflow (when the input is greater than largest uint128).\n     *\n     * Counterpart to Solidity's `uint128` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 128 bits\n     */\n    function toUint128(uint256 value) internal pure returns (uint128) {\n        if (value > type(uint128).max) {\n            revert SafeCastOverflowedUintDowncast(128, value);\n        }\n        return uint128(value);\n    }\n\n    /**\n     * @dev Returns the downcasted uint120 from uint256, reverting on\n     * overflow (when the input is greater than largest uint120).\n     *\n     * Counterpart to Solidity's `uint120` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 120 bits\n     */\n    function toUint120(uint256 value) internal pure returns (uint120) {\n        if (value > type(uint120).max) {\n            revert SafeCastOverflowedUintDowncast(120, value);\n        }\n        return uint120(value);\n    }\n\n    /**\n     * @dev Returns the downcasted uint112 from uint256, reverting on\n     * overflow (when the input is greater than largest uint112).\n     *\n     * Counterpart to Solidity's `uint112` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 112 bits\n     */\n    function toUint112(uint256 value) internal pure returns (uint112) {\n        if (value > type(uint112).max) {\n            revert SafeCastOverflowedUintDowncast(112, value);\n        }\n        return uint112(value);\n    }\n\n    /**\n     * @dev Returns the downcasted uint104 from uint256, reverting on\n     * overflow (when the input is greater than largest uint104).\n     *\n     * Counterpart to Solidity's `uint104` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 104 bits\n     */\n    function toUint104(uint256 value) internal pure returns (uint104) {\n        if (value > type(uint104).max) {\n            revert SafeCastOverflowedUintDowncast(104, value);\n        }\n        return uint104(value);\n    }\n\n    /**\n     * @dev Returns the downcasted uint96 from uint256, reverting on\n     * overflow (when the input is greater than largest uint96).\n     *\n     * Counterpart to Solidity's `uint96` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 96 bits\n     */\n    function toUint96(uint256 value) internal pure returns (uint96) {\n        if (value > type(uint96).max) {\n            revert SafeCastOverflowedUintDowncast(96, value);\n        }\n        return uint96(value);\n    }\n\n    /**\n     * @dev Returns the downcasted uint88 from uint256, reverting on\n     * overflow (when the input is greater than largest uint88).\n     *\n     * Counterpart to Solidity's `uint88` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 88 bits\n     */\n    function toUint88(uint256 value) internal pure returns (uint88) {\n        if (value > type(uint88).max) {\n            revert SafeCastOverflowedUintDowncast(88, value);\n        }\n        return uint88(value);\n    }\n\n    /**\n     * @dev Returns the downcasted uint80 from uint256, reverting on\n     * overflow (when the input is greater than largest uint80).\n     *\n     * Counterpart to Solidity's `uint80` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 80 bits\n     */\n    function toUint80(uint256 value) internal pure returns (uint80) {\n        if (value > type(uint80).max) {\n            revert SafeCastOverflowedUintDowncast(80, value);\n        }\n        return uint80(value);\n    }\n\n    /**\n     * @dev Returns the downcasted uint72 from uint256, reverting on\n     * overflow (when the input is greater than largest uint72).\n     *\n     * Counterpart to Solidity's `uint72` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 72 bits\n     */\n    function toUint72(uint256 value) internal pure returns (uint72) {\n        if (value > type(uint72).max) {\n            revert SafeCastOverflowedUintDowncast(72, value);\n        }\n        return uint72(value);\n    }\n\n    /**\n     * @dev Returns the downcasted uint64 from uint256, reverting on\n     * overflow (when the input is greater than largest uint64).\n     *\n     * Counterpart to Solidity's `uint64` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 64 bits\n     */\n    function toUint64(uint256 value) internal pure returns (uint64) {\n        if (value > type(uint64).max) {\n            revert SafeCastOverflowedUintDowncast(64, value);\n        }\n        return uint64(value);\n    }\n\n    /**\n     * @dev Returns the downcasted uint56 from uint256, reverting on\n     * overflow (when the input is greater than largest uint56).\n     *\n     * Counterpart to Solidity's `uint56` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 56 bits\n     */\n    function toUint56(uint256 value) internal pure returns (uint56) {\n        if (value > type(uint56).max) {\n            revert SafeCastOverflowedUintDowncast(56, value);\n        }\n        return uint56(value);\n    }\n\n    /**\n     * @dev Returns the downcasted uint48 from uint256, reverting on\n     * overflow (when the input is greater than largest uint48).\n     *\n     * Counterpart to Solidity's `uint48` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 48 bits\n     */\n    function toUint48(uint256 value) internal pure returns (uint48) {\n        if (value > type(uint48).max) {\n            revert SafeCastOverflowedUintDowncast(48, value);\n        }\n        return uint48(value);\n    }\n\n    /**\n     * @dev Returns the downcasted uint40 from uint256, reverting on\n     * overflow (when the input is greater than largest uint40).\n     *\n     * Counterpart to Solidity's `uint40` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 40 bits\n     */\n    function toUint40(uint256 value) internal pure returns (uint40) {\n        if (value > type(uint40).max) {\n            revert SafeCastOverflowedUintDowncast(40, value);\n        }\n        return uint40(value);\n    }\n\n    /**\n     * @dev Returns the downcasted uint32 from uint256, reverting on\n     * overflow (when the input is greater than largest uint32).\n     *\n     * Counterpart to Solidity's `uint32` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 32 bits\n     */\n    function toUint32(uint256 value) internal pure returns (uint32) {\n        if (value > type(uint32).max) {\n            revert SafeCastOverflowedUintDowncast(32, value);\n        }\n        return uint32(value);\n    }\n\n    /**\n     * @dev Returns the downcasted uint24 from uint256, reverting on\n     * overflow (when the input is greater than largest uint24).\n     *\n     * Counterpart to Solidity's `uint24` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 24 bits\n     */\n    function toUint24(uint256 value) internal pure returns (uint24) {\n        if (value > type(uint24).max) {\n            revert SafeCastOverflowedUintDowncast(24, value);\n        }\n        return uint24(value);\n    }\n\n    /**\n     * @dev Returns the downcasted uint16 from uint256, reverting on\n     * overflow (when the input is greater than largest uint16).\n     *\n     * Counterpart to Solidity's `uint16` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 16 bits\n     */\n    function toUint16(uint256 value) internal pure returns (uint16) {\n        if (value > type(uint16).max) {\n            revert SafeCastOverflowedUintDowncast(16, value);\n        }\n        return uint16(value);\n    }\n\n    /**\n     * @dev Returns the downcasted uint8 from uint256, reverting on\n     * overflow (when the input is greater than largest uint8).\n     *\n     * Counterpart to Solidity's `uint8` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 8 bits\n     */\n    function toUint8(uint256 value) internal pure returns (uint8) {\n        if (value > type(uint8).max) {\n            revert SafeCastOverflowedUintDowncast(8, value);\n        }\n        return uint8(value);\n    }\n\n    /**\n     * @dev Converts a signed int256 into an unsigned uint256.\n     *\n     * Requirements:\n     *\n     * - input must be greater than or equal to 0.\n     */\n    function toUint256(int256 value) internal pure returns (uint256) {\n        if (value < 0) {\n            revert SafeCastOverflowedIntToUint(value);\n        }\n        return uint256(value);\n    }\n\n    /**\n     * @dev Returns the downcasted int248 from int256, reverting on\n     * overflow (when the input is less than smallest int248 or\n     * greater than largest int248).\n     *\n     * Counterpart to Solidity's `int248` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 248 bits\n     */\n    function toInt248(int256 value) internal pure returns (int248 downcasted) {\n        downcasted = int248(value);\n        if (downcasted != value) {\n            revert SafeCastOverflowedIntDowncast(248, value);\n        }\n    }\n\n    /**\n     * @dev Returns the downcasted int240 from int256, reverting on\n     * overflow (when the input is less than smallest int240 or\n     * greater than largest int240).\n     *\n     * Counterpart to Solidity's `int240` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 240 bits\n     */\n    function toInt240(int256 value) internal pure returns (int240 downcasted) {\n        downcasted = int240(value);\n        if (downcasted != value) {\n            revert SafeCastOverflowedIntDowncast(240, value);\n        }\n    }\n\n    /**\n     * @dev Returns the downcasted int232 from int256, reverting on\n     * overflow (when the input is less than smallest int232 or\n     * greater than largest int232).\n     *\n     * Counterpart to Solidity's `int232` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 232 bits\n     */\n    function toInt232(int256 value) internal pure returns (int232 downcasted) {\n        downcasted = int232(value);\n        if (downcasted != value) {\n            revert SafeCastOverflowedIntDowncast(232, value);\n        }\n    }\n\n    /**\n     * @dev Returns the downcasted int224 from int256, reverting on\n     * overflow (when the input is less than smallest int224 or\n     * greater than largest int224).\n     *\n     * Counterpart to Solidity's `int224` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 224 bits\n     */\n    function toInt224(int256 value) internal pure returns (int224 downcasted) {\n        downcasted = int224(value);\n        if (downcasted != value) {\n            revert SafeCastOverflowedIntDowncast(224, value);\n        }\n    }\n\n    /**\n     * @dev Returns the downcasted int216 from int256, reverting on\n     * overflow (when the input is less than smallest int216 or\n     * greater than largest int216).\n     *\n     * Counterpart to Solidity's `int216` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 216 bits\n     */\n    function toInt216(int256 value) internal pure returns (int216 downcasted) {\n        downcasted = int216(value);\n        if (downcasted != value) {\n            revert SafeCastOverflowedIntDowncast(216, value);\n        }\n    }\n\n    /**\n     * @dev Returns the downcasted int208 from int256, reverting on\n     * overflow (when the input is less than smallest int208 or\n     * greater than largest int208).\n     *\n     * Counterpart to Solidity's `int208` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 208 bits\n     */\n    function toInt208(int256 value) internal pure returns (int208 downcasted) {\n        downcasted = int208(value);\n        if (downcasted != value) {\n            revert SafeCastOverflowedIntDowncast(208, value);\n        }\n    }\n\n    /**\n     * @dev Returns the downcasted int200 from int256, reverting on\n     * overflow (when the input is less than smallest int200 or\n     * greater than largest int200).\n     *\n     * Counterpart to Solidity's `int200` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 200 bits\n     */\n    function toInt200(int256 value) internal pure returns (int200 downcasted) {\n        downcasted = int200(value);\n        if (downcasted != value) {\n            revert SafeCastOverflowedIntDowncast(200, value);\n        }\n    }\n\n    /**\n     * @dev Returns the downcasted int192 from int256, reverting on\n     * overflow (when the input is less than smallest int192 or\n     * greater than largest int192).\n     *\n     * Counterpart to Solidity's `int192` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 192 bits\n     */\n    function toInt192(int256 value) internal pure returns (int192 downcasted) {\n        downcasted = int192(value);\n        if (downcasted != value) {\n            revert SafeCastOverflowedIntDowncast(192, value);\n        }\n    }\n\n    /**\n     * @dev Returns the downcasted int184 from int256, reverting on\n     * overflow (when the input is less than smallest int184 or\n     * greater than largest int184).\n     *\n     * Counterpart to Solidity's `int184` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 184 bits\n     */\n    function toInt184(int256 value) internal pure returns (int184 downcasted) {\n        downcasted = int184(value);\n        if (downcasted != value) {\n            revert SafeCastOverflowedIntDowncast(184, value);\n        }\n    }\n\n    /**\n     * @dev Returns the downcasted int176 from int256, reverting on\n     * overflow (when the input is less than smallest int176 or\n     * greater than largest int176).\n     *\n     * Counterpart to Solidity's `int176` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 176 bits\n     */\n    function toInt176(int256 value) internal pure returns (int176 downcasted) {\n        downcasted = int176(value);\n        if (downcasted != value) {\n            revert SafeCastOverflowedIntDowncast(176, value);\n        }\n    }\n\n    /**\n     * @dev Returns the downcasted int168 from int256, reverting on\n     * overflow (when the input is less than smallest int168 or\n     * greater than largest int168).\n     *\n     * Counterpart to Solidity's `int168` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 168 bits\n     */\n    function toInt168(int256 value) internal pure returns (int168 downcasted) {\n        downcasted = int168(value);\n        if (downcasted != value) {\n            revert SafeCastOverflowedIntDowncast(168, value);\n        }\n    }\n\n    /**\n     * @dev Returns the downcasted int160 from int256, reverting on\n     * overflow (when the input is less than smallest int160 or\n     * greater than largest int160).\n     *\n     * Counterpart to Solidity's `int160` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 160 bits\n     */\n    function toInt160(int256 value) internal pure returns (int160 downcasted) {\n        downcasted = int160(value);\n        if (downcasted != value) {\n            revert SafeCastOverflowedIntDowncast(160, value);\n        }\n    }\n\n    /**\n     * @dev Returns the downcasted int152 from int256, reverting on\n     * overflow (when the input is less than smallest int152 or\n     * greater than largest int152).\n     *\n     * Counterpart to Solidity's `int152` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 152 bits\n     */\n    function toInt152(int256 value) internal pure returns (int152 downcasted) {\n        downcasted = int152(value);\n        if (downcasted != value) {\n            revert SafeCastOverflowedIntDowncast(152, value);\n        }\n    }\n\n    /**\n     * @dev Returns the downcasted int144 from int256, reverting on\n     * overflow (when the input is less than smallest int144 or\n     * greater than largest int144).\n     *\n     * Counterpart to Solidity's `int144` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 144 bits\n     */\n    function toInt144(int256 value) internal pure returns (int144 downcasted) {\n        downcasted = int144(value);\n        if (downcasted != value) {\n            revert SafeCastOverflowedIntDowncast(144, value);\n        }\n    }\n\n    /**\n     * @dev Returns the downcasted int136 from int256, reverting on\n     * overflow (when the input is less than smallest int136 or\n     * greater than largest int136).\n     *\n     * Counterpart to Solidity's `int136` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 136 bits\n     */\n    function toInt136(int256 value) internal pure returns (int136 downcasted) {\n        downcasted = int136(value);\n        if (downcasted != value) {\n            revert SafeCastOverflowedIntDowncast(136, value);\n        }\n    }\n\n    /**\n     * @dev Returns the downcasted int128 from int256, reverting on\n     * overflow (when the input is less than smallest int128 or\n     * greater than largest int128).\n     *\n     * Counterpart to Solidity's `int128` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 128 bits\n     */\n    function toInt128(int256 value) internal pure returns (int128 downcasted) {\n        downcasted = int128(value);\n        if (downcasted != value) {\n            revert SafeCastOverflowedIntDowncast(128, value);\n        }\n    }\n\n    /**\n     * @dev Returns the downcasted int120 from int256, reverting on\n     * overflow (when the input is less than smallest int120 or\n     * greater than largest int120).\n     *\n     * Counterpart to Solidity's `int120` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 120 bits\n     */\n    function toInt120(int256 value) internal pure returns (int120 downcasted) {\n        downcasted = int120(value);\n        if (downcasted != value) {\n            revert SafeCastOverflowedIntDowncast(120, value);\n        }\n    }\n\n    /**\n     * @dev Returns the downcasted int112 from int256, reverting on\n     * overflow (when the input is less than smallest int112 or\n     * greater than largest int112).\n     *\n     * Counterpart to Solidity's `int112` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 112 bits\n     */\n    function toInt112(int256 value) internal pure returns (int112 downcasted) {\n        downcasted = int112(value);\n        if (downcasted != value) {\n            revert SafeCastOverflowedIntDowncast(112, value);\n        }\n    }\n\n    /**\n     * @dev Returns the downcasted int104 from int256, reverting on\n     * overflow (when the input is less than smallest int104 or\n     * greater than largest int104).\n     *\n     * Counterpart to Solidity's `int104` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 104 bits\n     */\n    function toInt104(int256 value) internal pure returns (int104 downcasted) {\n        downcasted = int104(value);\n        if (downcasted != value) {\n            revert SafeCastOverflowedIntDowncast(104, value);\n        }\n    }\n\n    /**\n     * @dev Returns the downcasted int96 from int256, reverting on\n     * overflow (when the input is less than smallest int96 or\n     * greater than largest int96).\n     *\n     * Counterpart to Solidity's `int96` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 96 bits\n     */\n    function toInt96(int256 value) internal pure returns (int96 downcasted) {\n        downcasted = int96(value);\n        if (downcasted != value) {\n            revert SafeCastOverflowedIntDowncast(96, value);\n        }\n    }\n\n    /**\n     * @dev Returns the downcasted int88 from int256, reverting on\n     * overflow (when the input is less than smallest int88 or\n     * greater than largest int88).\n     *\n     * Counterpart to Solidity's `int88` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 88 bits\n     */\n    function toInt88(int256 value) internal pure returns (int88 downcasted) {\n        downcasted = int88(value);\n        if (downcasted != value) {\n            revert SafeCastOverflowedIntDowncast(88, value);\n        }\n    }\n\n    /**\n     * @dev Returns the downcasted int80 from int256, reverting on\n     * overflow (when the input is less than smallest int80 or\n     * greater than largest int80).\n     *\n     * Counterpart to Solidity's `int80` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 80 bits\n     */\n    function toInt80(int256 value) internal pure returns (int80 downcasted) {\n        downcasted = int80(value);\n        if (downcasted != value) {\n            revert SafeCastOverflowedIntDowncast(80, value);\n        }\n    }\n\n    /**\n     * @dev Returns the downcasted int72 from int256, reverting on\n     * overflow (when the input is less than smallest int72 or\n     * greater than largest int72).\n     *\n     * Counterpart to Solidity's `int72` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 72 bits\n     */\n    function toInt72(int256 value) internal pure returns (int72 downcasted) {\n        downcasted = int72(value);\n        if (downcasted != value) {\n            revert SafeCastOverflowedIntDowncast(72, value);\n        }\n    }\n\n    /**\n     * @dev Returns the downcasted int64 from int256, reverting on\n     * overflow (when the input is less than smallest int64 or\n     * greater than largest int64).\n     *\n     * Counterpart to Solidity's `int64` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 64 bits\n     */\n    function toInt64(int256 value) internal pure returns (int64 downcasted) {\n        downcasted = int64(value);\n        if (downcasted != value) {\n            revert SafeCastOverflowedIntDowncast(64, value);\n        }\n    }\n\n    /**\n     * @dev Returns the downcasted int56 from int256, reverting on\n     * overflow (when the input is less than smallest int56 or\n     * greater than largest int56).\n     *\n     * Counterpart to Solidity's `int56` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 56 bits\n     */\n    function toInt56(int256 value) internal pure returns (int56 downcasted) {\n        downcasted = int56(value);\n        if (downcasted != value) {\n            revert SafeCastOverflowedIntDowncast(56, value);\n        }\n    }\n\n    /**\n     * @dev Returns the downcasted int48 from int256, reverting on\n     * overflow (when the input is less than smallest int48 or\n     * greater than largest int48).\n     *\n     * Counterpart to Solidity's `int48` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 48 bits\n     */\n    function toInt48(int256 value) internal pure returns (int48 downcasted) {\n        downcasted = int48(value);\n        if (downcasted != value) {\n            revert SafeCastOverflowedIntDowncast(48, value);\n        }\n    }\n\n    /**\n     * @dev Returns the downcasted int40 from int256, reverting on\n     * overflow (when the input is less than smallest int40 or\n     * greater than largest int40).\n     *\n     * Counterpart to Solidity's `int40` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 40 bits\n     */\n    function toInt40(int256 value) internal pure returns (int40 downcasted) {\n        downcasted = int40(value);\n        if (downcasted != value) {\n            revert SafeCastOverflowedIntDowncast(40, value);\n        }\n    }\n\n    /**\n     * @dev Returns the downcasted int32 from int256, reverting on\n     * overflow (when the input is less than smallest int32 or\n     * greater than largest int32).\n     *\n     * Counterpart to Solidity's `int32` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 32 bits\n     */\n    function toInt32(int256 value) internal pure returns (int32 downcasted) {\n        downcasted = int32(value);\n        if (downcasted != value) {\n            revert SafeCastOverflowedIntDowncast(32, value);\n        }\n    }\n\n    /**\n     * @dev Returns the downcasted int24 from int256, reverting on\n     * overflow (when the input is less than smallest int24 or\n     * greater than largest int24).\n     *\n     * Counterpart to Solidity's `int24` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 24 bits\n     */\n    function toInt24(int256 value) internal pure returns (int24 downcasted) {\n        downcasted = int24(value);\n        if (downcasted != value) {\n            revert SafeCastOverflowedIntDowncast(24, value);\n        }\n    }\n\n    /**\n     * @dev Returns the downcasted int16 from int256, reverting on\n     * overflow (when the input is less than smallest int16 or\n     * greater than largest int16).\n     *\n     * Counterpart to Solidity's `int16` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 16 bits\n     */\n    function toInt16(int256 value) internal pure returns (int16 downcasted) {\n        downcasted = int16(value);\n        if (downcasted != value) {\n            revert SafeCastOverflowedIntDowncast(16, value);\n        }\n    }\n\n    /**\n     * @dev Returns the downcasted int8 from int256, reverting on\n     * overflow (when the input is less than smallest int8 or\n     * greater than largest int8).\n     *\n     * Counterpart to Solidity's `int8` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 8 bits\n     */\n    function toInt8(int256 value) internal pure returns (int8 downcasted) {\n        downcasted = int8(value);\n        if (downcasted != value) {\n            revert SafeCastOverflowedIntDowncast(8, value);\n        }\n    }\n\n    /**\n     * @dev Converts an unsigned uint256 into a signed int256.\n     *\n     * Requirements:\n     *\n     * - input must be less than or equal to maxInt256.\n     */\n    function toInt256(uint256 value) internal pure returns (int256) {\n        // Note: Unsafe cast below is okay because `type(int256).max` is guaranteed to be positive\n        if (value > uint256(type(int256).max)) {\n            revert SafeCastOverflowedUintToInt(value);\n        }\n        return int256(value);\n    }\n\n    /**\n     * @dev Cast a boolean (false or true) to a uint256 (0 or 1) with no jump.\n     */\n    function toUint(bool b) internal pure returns (uint256 u) {\n        assembly (\"memory-safe\") {\n            u := iszero(iszero(b))\n        }\n    }\n}\n"},"node_modules/@openzeppelin/contracts/access/IAccessControl.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.1.0) (access/IAccessControl.sol)\n\npragma solidity ^0.8.20;\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 signaling 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"},"node_modules/@openzeppelin/contracts/interfaces/draft-IERC6093.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.1.0) (interfaces/draft-IERC6093.sol)\npragma solidity ^0.8.20;\n\n/**\n * @dev Standard ERC-20 Errors\n * Interface of the https://eips.ethereum.org/EIPS/eip-6093[ERC-6093] custom errors for ERC-20 tokens.\n */\ninterface IERC20Errors {\n    /**\n     * @dev Indicates an error related to the current `balance` of a `sender`. Used in transfers.\n     * @param sender Address whose tokens are being transferred.\n     * @param balance Current balance for the interacting account.\n     * @param needed Minimum amount required to perform a transfer.\n     */\n    error ERC20InsufficientBalance(address sender, uint256 balance, uint256 needed);\n\n    /**\n     * @dev Indicates a failure with the token `sender`. Used in transfers.\n     * @param sender Address whose tokens are being transferred.\n     */\n    error ERC20InvalidSender(address sender);\n\n    /**\n     * @dev Indicates a failure with the token `receiver`. Used in transfers.\n     * @param receiver Address to which tokens are being transferred.\n     */\n    error ERC20InvalidReceiver(address receiver);\n\n    /**\n     * @dev Indicates a failure with the `spender`’s `allowance`. Used in transfers.\n     * @param spender Address that may be allowed to operate on tokens without being their owner.\n     * @param allowance Amount of tokens a `spender` is allowed to operate with.\n     * @param needed Minimum amount required to perform a transfer.\n     */\n    error ERC20InsufficientAllowance(address spender, uint256 allowance, uint256 needed);\n\n    /**\n     * @dev Indicates a failure with the `approver` of a token to be approved. Used in approvals.\n     * @param approver Address initiating an approval operation.\n     */\n    error ERC20InvalidApprover(address approver);\n\n    /**\n     * @dev Indicates a failure with the `spender` to be approved. Used in approvals.\n     * @param spender Address that may be allowed to operate on tokens without being their owner.\n     */\n    error ERC20InvalidSpender(address spender);\n}\n\n/**\n * @dev Standard ERC-721 Errors\n * Interface of the https://eips.ethereum.org/EIPS/eip-6093[ERC-6093] custom errors for ERC-721 tokens.\n */\ninterface IERC721Errors {\n    /**\n     * @dev Indicates that an address can't be an owner. For example, `address(0)` is a forbidden owner in ERC-20.\n     * Used in balance queries.\n     * @param owner Address of the current owner of a token.\n     */\n    error ERC721InvalidOwner(address owner);\n\n    /**\n     * @dev Indicates a `tokenId` whose `owner` is the zero address.\n     * @param tokenId Identifier number of a token.\n     */\n    error ERC721NonexistentToken(uint256 tokenId);\n\n    /**\n     * @dev Indicates an error related to the ownership over a particular token. Used in transfers.\n     * @param sender Address whose tokens are being transferred.\n     * @param tokenId Identifier number of a token.\n     * @param owner Address of the current owner of a token.\n     */\n    error ERC721IncorrectOwner(address sender, uint256 tokenId, address owner);\n\n    /**\n     * @dev Indicates a failure with the token `sender`. Used in transfers.\n     * @param sender Address whose tokens are being transferred.\n     */\n    error ERC721InvalidSender(address sender);\n\n    /**\n     * @dev Indicates a failure with the token `receiver`. Used in transfers.\n     * @param receiver Address to which tokens are being transferred.\n     */\n    error ERC721InvalidReceiver(address receiver);\n\n    /**\n     * @dev Indicates a failure with the `operator`’s approval. Used in transfers.\n     * @param operator Address that may be allowed to operate on tokens without being their owner.\n     * @param tokenId Identifier number of a token.\n     */\n    error ERC721InsufficientApproval(address operator, uint256 tokenId);\n\n    /**\n     * @dev Indicates a failure with the `approver` of a token to be approved. Used in approvals.\n     * @param approver Address initiating an approval operation.\n     */\n    error ERC721InvalidApprover(address approver);\n\n    /**\n     * @dev Indicates a failure with the `operator` to be approved. Used in approvals.\n     * @param operator Address that may be allowed to operate on tokens without being their owner.\n     */\n    error ERC721InvalidOperator(address operator);\n}\n\n/**\n * @dev Standard ERC-1155 Errors\n * Interface of the https://eips.ethereum.org/EIPS/eip-6093[ERC-6093] custom errors for ERC-1155 tokens.\n */\ninterface IERC1155Errors {\n    /**\n     * @dev Indicates an error related to the current `balance` of a `sender`. Used in transfers.\n     * @param sender Address whose tokens are being transferred.\n     * @param balance Current balance for the interacting account.\n     * @param needed Minimum amount required to perform a transfer.\n     * @param tokenId Identifier number of a token.\n     */\n    error ERC1155InsufficientBalance(address sender, uint256 balance, uint256 needed, uint256 tokenId);\n\n    /**\n     * @dev Indicates a failure with the token `sender`. Used in transfers.\n     * @param sender Address whose tokens are being transferred.\n     */\n    error ERC1155InvalidSender(address sender);\n\n    /**\n     * @dev Indicates a failure with the token `receiver`. Used in transfers.\n     * @param receiver Address to which tokens are being transferred.\n     */\n    error ERC1155InvalidReceiver(address receiver);\n\n    /**\n     * @dev Indicates a failure with the `operator`’s approval. Used in transfers.\n     * @param operator Address that may be allowed to operate on tokens without being their owner.\n     * @param owner Address of the current owner of a token.\n     */\n    error ERC1155MissingApprovalForAll(address operator, address owner);\n\n    /**\n     * @dev Indicates a failure with the `approver` of a token to be approved. Used in approvals.\n     * @param approver Address initiating an approval operation.\n     */\n    error ERC1155InvalidApprover(address approver);\n\n    /**\n     * @dev Indicates a failure with the `operator` to be approved. Used in approvals.\n     * @param operator Address that may be allowed to operate on tokens without being their owner.\n     */\n    error ERC1155InvalidOperator(address operator);\n\n    /**\n     * @dev Indicates an array length mismatch between ids and values in a safeBatchTransferFrom operation.\n     * Used in batch transfers.\n     * @param idsLength Length of the array of token identifiers\n     * @param valuesLength Length of the array of token amounts\n     */\n    error ERC1155InvalidArrayLength(uint256 idsLength, uint256 valuesLength);\n}\n"},"node_modules/@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.2.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        _callOptionalReturn(token, abi.encodeCall(token.transfer, (to, value)));\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        _callOptionalReturn(token, abi.encodeCall(token.transferFrom, (from, to, value)));\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        bytes memory approvalCall = abi.encodeCall(token.approve, (spender, value));\n\n        if (!_callOptionalReturnBool(token, approvalCall)) {\n            _callOptionalReturn(token, abi.encodeCall(token.approve, (spender, 0)));\n            _callOptionalReturn(token, approvalCall);\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 rely 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 rely 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     * Opposedly, 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 high-level call (i.e. a regular function call to a contract), relaxing the requirement\n     * on the return value: the return value is optional (but if data is returned, it must not be false).\n     * @param token The token targeted by the call.\n     * @param data The call data (encoded using abi.encode or one of its variants).\n     *\n     * This is a variant of {_callOptionalReturnBool} that reverts if call fails to meet the requirements.\n     */\n    function _callOptionalReturn(IERC20 token, bytes memory data) private {\n        uint256 returnSize;\n        uint256 returnValue;\n        assembly (\"memory-safe\") {\n            let success := call(gas(), token, 0, add(data, 0x20), mload(data), 0, 0x20)\n            // bubble errors\n            if iszero(success) {\n                let ptr := mload(0x40)\n                returndatacopy(ptr, 0, returndatasize())\n                revert(ptr, returndatasize())\n            }\n            returnSize := returndatasize()\n            returnValue := mload(0)\n        }\n\n        if (returnSize == 0 ? address(token).code.length == 0 : returnValue != 1) {\n            revert SafeERC20FailedOperation(address(token));\n        }\n    }\n\n    /**\n     * @dev Imitates a Solidity high-level call (i.e. a regular function call to a contract), relaxing the requirement\n     * on the return value: the return value is optional (but if data is returned, it must not be false).\n     * @param token The token targeted by the call.\n     * @param data The call data (encoded using abi.encode or one of its variants).\n     *\n     * This is a variant of {_callOptionalReturn} that silently catches all reverts and returns a bool instead.\n     */\n    function _callOptionalReturnBool(IERC20 token, bytes memory data) private returns (bool) {\n        bool success;\n        uint256 returnSize;\n        uint256 returnValue;\n        assembly (\"memory-safe\") {\n            success := call(gas(), token, 0, add(data, 0x20), mload(data), 0, 0x20)\n            returnSize := returndatasize()\n            returnValue := mload(0)\n        }\n        return success && (returnSize == 0 ? address(token).code.length > 0 : returnValue == 1);\n    }\n}\n"},"node_modules/@openzeppelin/contracts/utils/introspection/IERC165.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.1.0) (utils/introspection/IERC165.sol)\n\npragma solidity ^0.8.20;\n\n/**\n * @dev Interface of the ERC-165 standard, as defined in the\n * https://eips.ethereum.org/EIPS/eip-165[ERC].\n *\n * Implementers can declare support of contract interfaces, which can then be\n * queried by others ({ERC165Checker}).\n *\n * For an implementation, see {ERC165}.\n */\ninterface IERC165 {\n    /**\n     * @dev Returns true if this contract implements the interface defined by\n     * `interfaceId`. See the corresponding\n     * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[ERC section]\n     * to learn more about how these ids are created.\n     *\n     * This function call must use less than 30 000 gas.\n     */\n    function supportsInterface(bytes4 interfaceId) external view returns (bool);\n}\n"},"node_modules/@openzeppelin/contracts/utils/structs/EnumerableSet.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.1.0) (utils/structs/EnumerableSet.sol)\n// This file was procedurally generated from scripts/generate/templates/EnumerableSet.js.\n\npragma solidity ^0.8.20;\n\n/**\n * @dev Library for managing\n * https://en.wikipedia.org/wiki/Set_(abstract_data_type)[sets] of primitive\n * types.\n *\n * Sets have the following properties:\n *\n * - Elements are added, removed, and checked for existence in constant time\n * (O(1)).\n * - Elements are enumerated in O(n). No guarantees are made on the ordering.\n *\n * ```solidity\n * contract Example {\n *     // Add the library methods\n *     using EnumerableSet for EnumerableSet.AddressSet;\n *\n *     // Declare a set state variable\n *     EnumerableSet.AddressSet private mySet;\n * }\n * ```\n *\n * As of v3.3.0, sets of type `bytes32` (`Bytes32Set`), `address` (`AddressSet`)\n * and `uint256` (`UintSet`) are supported.\n *\n * [WARNING]\n * ====\n * Trying to delete such a structure from storage will likely result in data corruption, rendering the structure\n * unusable.\n * See https://github.com/ethereum/solidity/pull/11843[ethereum/solidity#11843] for more info.\n *\n * In order to clean an EnumerableSet, you can either remove all elements one by one or create a fresh instance using an\n * array of EnumerableSet.\n * ====\n */\nlibrary EnumerableSet {\n    // To implement this library for multiple types with as little code\n    // repetition as possible, we write it in terms of a generic Set type with\n    // bytes32 values.\n    // The Set implementation uses private functions, and user-facing\n    // implementations (such as AddressSet) are just wrappers around the\n    // underlying Set.\n    // This means that we can only create new EnumerableSets for types that fit\n    // in bytes32.\n\n    struct Set {\n        // Storage of set values\n        bytes32[] _values;\n        // Position is the index of the value in the `values` array plus 1.\n        // Position 0 is used to mean a value is not in the set.\n        mapping(bytes32 value => uint256) _positions;\n    }\n\n    /**\n     * @dev Add a value to a set. O(1).\n     *\n     * Returns true if the value was added to the set, that is if it was not\n     * already present.\n     */\n    function _add(Set storage set, bytes32 value) private returns (bool) {\n        if (!_contains(set, value)) {\n            set._values.push(value);\n            // The value is stored at length-1, but we add 1 to all indexes\n            // and use 0 as a sentinel value\n            set._positions[value] = set._values.length;\n            return true;\n        } else {\n            return false;\n        }\n    }\n\n    /**\n     * @dev Removes a value from a set. O(1).\n     *\n     * Returns true if the value was removed from the set, that is if it was\n     * present.\n     */\n    function _remove(Set storage set, bytes32 value) private returns (bool) {\n        // We cache the value's position to prevent multiple reads from the same storage slot\n        uint256 position = set._positions[value];\n\n        if (position != 0) {\n            // Equivalent to contains(set, value)\n            // To delete an element from the _values array in O(1), we swap the element to delete with the last one in\n            // the array, and then remove the last element (sometimes called as 'swap and pop').\n            // This modifies the order of the array, as noted in {at}.\n\n            uint256 valueIndex = position - 1;\n            uint256 lastIndex = set._values.length - 1;\n\n            if (valueIndex != lastIndex) {\n                bytes32 lastValue = set._values[lastIndex];\n\n                // Move the lastValue to the index where the value to delete is\n                set._values[valueIndex] = lastValue;\n                // Update the tracked position of the lastValue (that was just moved)\n                set._positions[lastValue] = position;\n            }\n\n            // Delete the slot where the moved value was stored\n            set._values.pop();\n\n            // Delete the tracked position for the deleted slot\n            delete set._positions[value];\n\n            return true;\n        } else {\n            return false;\n        }\n    }\n\n    /**\n     * @dev Returns true if the value is in the set. O(1).\n     */\n    function _contains(Set storage set, bytes32 value) private view returns (bool) {\n        return set._positions[value] != 0;\n    }\n\n    /**\n     * @dev Returns the number of values on the set. O(1).\n     */\n    function _length(Set storage set) private view returns (uint256) {\n        return set._values.length;\n    }\n\n    /**\n     * @dev Returns the value stored at position `index` in the set. O(1).\n     *\n     * Note that there are no guarantees on the ordering of values inside the\n     * array, and it may change when more values are added or removed.\n     *\n     * Requirements:\n     *\n     * - `index` must be strictly less than {length}.\n     */\n    function _at(Set storage set, uint256 index) private view returns (bytes32) {\n        return set._values[index];\n    }\n\n    /**\n     * @dev Return the entire set in an array\n     *\n     * WARNING: This operation will copy the entire storage to memory, which can be quite expensive. This is designed\n     * to mostly be used by view accessors that are queried without any gas fees. Developers should keep in mind that\n     * this function has an unbounded cost, and using it as part of a state-changing function may render the function\n     * uncallable if the set grows to a point where copying to memory consumes too much gas to fit in a block.\n     */\n    function _values(Set storage set) private view returns (bytes32[] memory) {\n        return set._values;\n    }\n\n    // Bytes32Set\n\n    struct Bytes32Set {\n        Set _inner;\n    }\n\n    /**\n     * @dev Add a value to a set. O(1).\n     *\n     * Returns true if the value was added to the set, that is if it was not\n     * already present.\n     */\n    function add(Bytes32Set storage set, bytes32 value) internal returns (bool) {\n        return _add(set._inner, value);\n    }\n\n    /**\n     * @dev Removes a value from a set. O(1).\n     *\n     * Returns true if the value was removed from the set, that is if it was\n     * present.\n     */\n    function remove(Bytes32Set storage set, bytes32 value) internal returns (bool) {\n        return _remove(set._inner, value);\n    }\n\n    /**\n     * @dev Returns true if the value is in the set. O(1).\n     */\n    function contains(Bytes32Set storage set, bytes32 value) internal view returns (bool) {\n        return _contains(set._inner, value);\n    }\n\n    /**\n     * @dev Returns the number of values in the set. O(1).\n     */\n    function length(Bytes32Set storage set) internal view returns (uint256) {\n        return _length(set._inner);\n    }\n\n    /**\n     * @dev Returns the value stored at position `index` in the set. O(1).\n     *\n     * Note that there are no guarantees on the ordering of values inside the\n     * array, and it may change when more values are added or removed.\n     *\n     * Requirements:\n     *\n     * - `index` must be strictly less than {length}.\n     */\n    function at(Bytes32Set storage set, uint256 index) internal view returns (bytes32) {\n        return _at(set._inner, index);\n    }\n\n    /**\n     * @dev Return the entire set in an array\n     *\n     * WARNING: This operation will copy the entire storage to memory, which can be quite expensive. This is designed\n     * to mostly be used by view accessors that are queried without any gas fees. Developers should keep in mind that\n     * this function has an unbounded cost, and using it as part of a state-changing function may render the function\n     * uncallable if the set grows to a point where copying to memory consumes too much gas to fit in a block.\n     */\n    function values(Bytes32Set storage set) internal view returns (bytes32[] memory) {\n        bytes32[] memory store = _values(set._inner);\n        bytes32[] memory result;\n\n        assembly (\"memory-safe\") {\n            result := store\n        }\n\n        return result;\n    }\n\n    // AddressSet\n\n    struct AddressSet {\n        Set _inner;\n    }\n\n    /**\n     * @dev Add a value to a set. O(1).\n     *\n     * Returns true if the value was added to the set, that is if it was not\n     * already present.\n     */\n    function add(AddressSet storage set, address value) internal returns (bool) {\n        return _add(set._inner, bytes32(uint256(uint160(value))));\n    }\n\n    /**\n     * @dev Removes a value from a set. O(1).\n     *\n     * Returns true if the value was removed from the set, that is if it was\n     * present.\n     */\n    function remove(AddressSet storage set, address value) internal returns (bool) {\n        return _remove(set._inner, bytes32(uint256(uint160(value))));\n    }\n\n    /**\n     * @dev Returns true if the value is in the set. O(1).\n     */\n    function contains(AddressSet storage set, address value) internal view returns (bool) {\n        return _contains(set._inner, bytes32(uint256(uint160(value))));\n    }\n\n    /**\n     * @dev Returns the number of values in the set. O(1).\n     */\n    function length(AddressSet storage set) internal view returns (uint256) {\n        return _length(set._inner);\n    }\n\n    /**\n     * @dev Returns the value stored at position `index` in the set. O(1).\n     *\n     * Note that there are no guarantees on the ordering of values inside the\n     * array, and it may change when more values are added or removed.\n     *\n     * Requirements:\n     *\n     * - `index` must be strictly less than {length}.\n     */\n    function at(AddressSet storage set, uint256 index) internal view returns (address) {\n        return address(uint160(uint256(_at(set._inner, index))));\n    }\n\n    /**\n     * @dev Return the entire set in an array\n     *\n     * WARNING: This operation will copy the entire storage to memory, which can be quite expensive. This is designed\n     * to mostly be used by view accessors that are queried without any gas fees. Developers should keep in mind that\n     * this function has an unbounded cost, and using it as part of a state-changing function may render the function\n     * uncallable if the set grows to a point where copying to memory consumes too much gas to fit in a block.\n     */\n    function values(AddressSet storage set) internal view returns (address[] memory) {\n        bytes32[] memory store = _values(set._inner);\n        address[] memory result;\n\n        assembly (\"memory-safe\") {\n            result := store\n        }\n\n        return result;\n    }\n\n    // UintSet\n\n    struct UintSet {\n        Set _inner;\n    }\n\n    /**\n     * @dev Add a value to a set. O(1).\n     *\n     * Returns true if the value was added to the set, that is if it was not\n     * already present.\n     */\n    function add(UintSet storage set, uint256 value) internal returns (bool) {\n        return _add(set._inner, bytes32(value));\n    }\n\n    /**\n     * @dev Removes a value from a set. O(1).\n     *\n     * Returns true if the value was removed from the set, that is if it was\n     * present.\n     */\n    function remove(UintSet storage set, uint256 value) internal returns (bool) {\n        return _remove(set._inner, bytes32(value));\n    }\n\n    /**\n     * @dev Returns true if the value is in the set. O(1).\n     */\n    function contains(UintSet storage set, uint256 value) internal view returns (bool) {\n        return _contains(set._inner, bytes32(value));\n    }\n\n    /**\n     * @dev Returns the number of values in the set. O(1).\n     */\n    function length(UintSet storage set) internal view returns (uint256) {\n        return _length(set._inner);\n    }\n\n    /**\n     * @dev Returns the value stored at position `index` in the set. O(1).\n     *\n     * Note that there are no guarantees on the ordering of values inside the\n     * array, and it may change when more values are added or removed.\n     *\n     * Requirements:\n     *\n     * - `index` must be strictly less than {length}.\n     */\n    function at(UintSet storage set, uint256 index) internal view returns (uint256) {\n        return uint256(_at(set._inner, index));\n    }\n\n    /**\n     * @dev Return the entire set in an array\n     *\n     * WARNING: This operation will copy the entire storage to memory, which can be quite expensive. This is designed\n     * to mostly be used by view accessors that are queried without any gas fees. Developers should keep in mind that\n     * this function has an unbounded cost, and using it as part of a state-changing function may render the function\n     * uncallable if the set grows to a point where copying to memory consumes too much gas to fit in a block.\n     */\n    function values(UintSet storage set) internal view returns (uint256[] memory) {\n        bytes32[] memory store = _values(set._inner);\n        uint256[] memory result;\n\n        assembly (\"memory-safe\") {\n            result := store\n        }\n\n        return result;\n    }\n}\n"},"node_modules/@openzeppelin/contracts-upgradeable/utils/ContextUpgradeable.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.0.1) (utils/Context.sol)\n\npragma solidity ^0.8.20;\nimport {Initializable} from \"../proxy/utils/Initializable.sol\";\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 ContextUpgradeable is Initializable {\n    function __Context_init() internal onlyInitializing {\n    }\n\n    function __Context_init_unchained() internal onlyInitializing {\n    }\n    function _msgSender() internal view virtual returns (address) {\n        return msg.sender;\n    }\n\n    function _msgData() internal view virtual returns (bytes calldata) {\n        return msg.data;\n    }\n\n    function _contextSuffixLength() internal view virtual returns (uint256) {\n        return 0;\n    }\n}\n"},"node_modules/@openzeppelin/contracts-upgradeable/access/OwnableUpgradeable.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.0.0) (access/Ownable.sol)\n\npragma solidity ^0.8.20;\n\nimport {ContextUpgradeable} from \"../utils/ContextUpgradeable.sol\";\nimport {Initializable} from \"../proxy/utils/Initializable.sol\";\n\n/**\n * @dev Contract module which provides a basic access control mechanism, where\n * there is an account (an owner) that can be granted exclusive access to\n * specific functions.\n *\n * The initial owner is set to the address provided by the deployer. This can\n * later be changed with {transferOwnership}.\n *\n * This module is used through inheritance. It will make available the modifier\n * `onlyOwner`, which can be applied to your functions to restrict their use to\n * the owner.\n */\nabstract contract OwnableUpgradeable is Initializable, ContextUpgradeable {\n    /// @custom:storage-location erc7201:openzeppelin.storage.Ownable\n    struct OwnableStorage {\n        address _owner;\n    }\n\n    // keccak256(abi.encode(uint256(keccak256(\"openzeppelin.storage.Ownable\")) - 1)) & ~bytes32(uint256(0xff))\n    bytes32 private constant OwnableStorageLocation = 0x9016d09d72d40fdae2fd8ceac6b6234c7706214fd39c1cd1e609a0528c199300;\n\n    function _getOwnableStorage() private pure returns (OwnableStorage storage $) {\n        assembly {\n            $.slot := OwnableStorageLocation\n        }\n    }\n\n    /**\n     * @dev The caller account is not authorized to perform an operation.\n     */\n    error OwnableUnauthorizedAccount(address account);\n\n    /**\n     * @dev The owner is not a valid owner account. (eg. `address(0)`)\n     */\n    error OwnableInvalidOwner(address owner);\n\n    event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);\n\n    /**\n     * @dev Initializes the contract setting the address provided by the deployer as the initial owner.\n     */\n    function __Ownable_init(address initialOwner) internal onlyInitializing {\n        __Ownable_init_unchained(initialOwner);\n    }\n\n    function __Ownable_init_unchained(address initialOwner) internal onlyInitializing {\n        if (initialOwner == address(0)) {\n            revert OwnableInvalidOwner(address(0));\n        }\n        _transferOwnership(initialOwner);\n    }\n\n    /**\n     * @dev Throws if called by any account other than the owner.\n     */\n    modifier onlyOwner() {\n        _checkOwner();\n        _;\n    }\n\n    /**\n     * @dev Returns the address of the current owner.\n     */\n    function owner() public view virtual returns (address) {\n        OwnableStorage storage $ = _getOwnableStorage();\n        return $._owner;\n    }\n\n    /**\n     * @dev Throws if the sender is not the owner.\n     */\n    function _checkOwner() internal view virtual {\n        if (owner() != _msgSender()) {\n            revert OwnableUnauthorizedAccount(_msgSender());\n        }\n    }\n\n    /**\n     * @dev Leaves the contract without owner. It will not be possible to call\n     * `onlyOwner` functions. Can only be called by the current owner.\n     *\n     * NOTE: Renouncing ownership will leave the contract without an owner,\n     * thereby disabling any functionality that is only available to the owner.\n     */\n    function renounceOwnership() public virtual onlyOwner {\n        _transferOwnership(address(0));\n    }\n\n    /**\n     * @dev Transfers ownership of the contract to a new account (`newOwner`).\n     * Can only be called by the current owner.\n     */\n    function transferOwnership(address newOwner) public virtual onlyOwner {\n        if (newOwner == address(0)) {\n            revert OwnableInvalidOwner(address(0));\n        }\n        _transferOwnership(newOwner);\n    }\n\n    /**\n     * @dev Transfers ownership of the contract to a new account (`newOwner`).\n     * Internal function without access restriction.\n     */\n    function _transferOwnership(address newOwner) internal virtual {\n        OwnableStorage storage $ = _getOwnableStorage();\n        address oldOwner = $._owner;\n        $._owner = newOwner;\n        emit OwnershipTransferred(oldOwner, newOwner);\n    }\n}\n"},"node_modules/@openzeppelin/contracts-upgradeable/proxy/utils/Initializable.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.0.0) (proxy/utils/Initializable.sol)\n\npragma solidity ^0.8.20;\n\n/**\n * @dev This is a base contract to aid in writing upgradeable contracts, or any kind of contract that will be deployed\n * behind a proxy. Since proxied contracts do not make use of a constructor, it's common to move constructor logic to an\n * external initializer function, usually called `initialize`. It then becomes necessary to protect this initializer\n * function so it can only be called once. The {initializer} modifier provided by this contract will have this effect.\n *\n * The initialization functions use a version number. Once a version number is used, it is consumed and cannot be\n * reused. This mechanism prevents re-execution of each \"step\" but allows the creation of new initialization steps in\n * case an upgrade adds a module that needs to be initialized.\n *\n * For example:\n *\n * [.hljs-theme-light.nopadding]\n * ```solidity\n * contract MyToken is ERC20Upgradeable {\n *     function initialize() initializer public {\n *         __ERC20_init(\"MyToken\", \"MTK\");\n *     }\n * }\n *\n * contract MyTokenV2 is MyToken, ERC20PermitUpgradeable {\n *     function initializeV2() reinitializer(2) public {\n *         __ERC20Permit_init(\"MyToken\");\n *     }\n * }\n * ```\n *\n * TIP: To avoid leaving the proxy in an uninitialized state, the initializer function should be called as early as\n * possible by providing the encoded function call as the `_data` argument to {ERC1967Proxy-constructor}.\n *\n * CAUTION: When used with inheritance, manual care must be taken to not invoke a parent initializer twice, or to ensure\n * that all initializers are idempotent. This is not verified automatically as constructors are by Solidity.\n *\n * [CAUTION]\n * ====\n * Avoid leaving a contract uninitialized.\n *\n * An uninitialized contract can be taken over by an attacker. This applies to both a proxy and its implementation\n * contract, which may impact the proxy. To prevent the implementation contract from being used, you should invoke\n * the {_disableInitializers} function in the constructor to automatically lock it when it is deployed:\n *\n * [.hljs-theme-light.nopadding]\n * ```\n * /// @custom:oz-upgrades-unsafe-allow constructor\n * constructor() {\n *     _disableInitializers();\n * }\n * ```\n * ====\n */\nabstract contract Initializable {\n    /**\n     * @dev Storage of the initializable contract.\n     *\n     * It's implemented on a custom ERC-7201 namespace to reduce the risk of storage collisions\n     * when using with upgradeable contracts.\n     *\n     * @custom:storage-location erc7201:openzeppelin.storage.Initializable\n     */\n    struct InitializableStorage {\n        /**\n         * @dev Indicates that the contract has been initialized.\n         */\n        uint64 _initialized;\n        /**\n         * @dev Indicates that the contract is in the process of being initialized.\n         */\n        bool _initializing;\n    }\n\n    // keccak256(abi.encode(uint256(keccak256(\"openzeppelin.storage.Initializable\")) - 1)) & ~bytes32(uint256(0xff))\n    bytes32 private constant INITIALIZABLE_STORAGE = 0xf0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00;\n\n    /**\n     * @dev The contract is already initialized.\n     */\n    error InvalidInitialization();\n\n    /**\n     * @dev The contract is not initializing.\n     */\n    error NotInitializing();\n\n    /**\n     * @dev Triggered when the contract has been initialized or reinitialized.\n     */\n    event Initialized(uint64 version);\n\n    /**\n     * @dev A modifier that defines a protected initializer function that can be invoked at most once. In its scope,\n     * `onlyInitializing` functions can be used to initialize parent contracts.\n     *\n     * Similar to `reinitializer(1)`, except that in the context of a constructor an `initializer` may be invoked any\n     * number of times. This behavior in the constructor can be useful during testing and is not expected to be used in\n     * production.\n     *\n     * Emits an {Initialized} event.\n     */\n    modifier initializer() {\n        // solhint-disable-next-line var-name-mixedcase\n        InitializableStorage storage $ = _getInitializableStorage();\n\n        // Cache values to avoid duplicated sloads\n        bool isTopLevelCall = !$._initializing;\n        uint64 initialized = $._initialized;\n\n        // Allowed calls:\n        // - initialSetup: the contract is not in the initializing state and no previous version was\n        //                 initialized\n        // - construction: the contract is initialized at version 1 (no reininitialization) and the\n        //                 current contract is just being deployed\n        bool initialSetup = initialized == 0 && isTopLevelCall;\n        bool construction = initialized == 1 && address(this).code.length == 0;\n\n        if (!initialSetup && !construction) {\n            revert InvalidInitialization();\n        }\n        $._initialized = 1;\n        if (isTopLevelCall) {\n            $._initializing = true;\n        }\n        _;\n        if (isTopLevelCall) {\n            $._initializing = false;\n            emit Initialized(1);\n        }\n    }\n\n    /**\n     * @dev A modifier that defines a protected reinitializer function that can be invoked at most once, and only if the\n     * contract hasn't been initialized to a greater version before. In its scope, `onlyInitializing` functions can be\n     * used to initialize parent contracts.\n     *\n     * A reinitializer may be used after the original initialization step. This is essential to configure modules that\n     * are added through upgrades and that require initialization.\n     *\n     * When `version` is 1, this modifier is similar to `initializer`, except that functions marked with `reinitializer`\n     * cannot be nested. If one is invoked in the context of another, execution will revert.\n     *\n     * Note that versions can jump in increments greater than 1; this implies that if multiple reinitializers coexist in\n     * a contract, executing them in the right order is up to the developer or operator.\n     *\n     * WARNING: Setting the version to 2**64 - 1 will prevent any future reinitialization.\n     *\n     * Emits an {Initialized} event.\n     */\n    modifier reinitializer(uint64 version) {\n        // solhint-disable-next-line var-name-mixedcase\n        InitializableStorage storage $ = _getInitializableStorage();\n\n        if ($._initializing || $._initialized >= version) {\n            revert InvalidInitialization();\n        }\n        $._initialized = version;\n        $._initializing = true;\n        _;\n        $._initializing = false;\n        emit Initialized(version);\n    }\n\n    /**\n     * @dev Modifier to protect an initialization function so that it can only be invoked by functions with the\n     * {initializer} and {reinitializer} modifiers, directly or indirectly.\n     */\n    modifier onlyInitializing() {\n        _checkInitializing();\n        _;\n    }\n\n    /**\n     * @dev Reverts if the contract is not in an initializing state. See {onlyInitializing}.\n     */\n    function _checkInitializing() internal view virtual {\n        if (!_isInitializing()) {\n            revert NotInitializing();\n        }\n    }\n\n    /**\n     * @dev Locks the contract, preventing any future reinitialization. This cannot be part of an initializer call.\n     * Calling this in the constructor of a contract will prevent that contract from being initialized or reinitialized\n     * to any version. It is recommended to use this to lock implementation contracts that are designed to be called\n     * through proxies.\n     *\n     * Emits an {Initialized} event the first time it is successfully executed.\n     */\n    function _disableInitializers() internal virtual {\n        // solhint-disable-next-line var-name-mixedcase\n        InitializableStorage storage $ = _getInitializableStorage();\n\n        if ($._initializing) {\n            revert InvalidInitialization();\n        }\n        if ($._initialized != type(uint64).max) {\n            $._initialized = type(uint64).max;\n            emit Initialized(type(uint64).max);\n        }\n    }\n\n    /**\n     * @dev Returns the highest version that has been initialized. See {reinitializer}.\n     */\n    function _getInitializedVersion() internal view returns (uint64) {\n        return _getInitializableStorage()._initialized;\n    }\n\n    /**\n     * @dev Returns `true` if the contract is currently initializing. See {onlyInitializing}.\n     */\n    function _isInitializing() internal view returns (bool) {\n        return _getInitializableStorage()._initializing;\n    }\n\n    /**\n     * @dev Returns a pointer to the storage namespace.\n     */\n    // solhint-disable-next-line var-name-mixedcase\n    function _getInitializableStorage() private pure returns (InitializableStorage storage $) {\n        assembly {\n            $.slot := INITIALIZABLE_STORAGE\n        }\n    }\n}\n"},"node_modules/@openzeppelin/contracts/token/ERC20/extensions/IERC20Metadata.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.1.0) (token/ERC20/extensions/IERC20Metadata.sol)\n\npragma solidity ^0.8.20;\n\nimport {IERC20} from \"../IERC20.sol\";\n\n/**\n * @dev Interface for the optional metadata functions from the ERC-20 standard.\n */\ninterface IERC20Metadata is IERC20 {\n    /**\n     * @dev Returns the name of the token.\n     */\n    function name() external view returns (string memory);\n\n    /**\n     * @dev Returns the symbol of the token.\n     */\n    function symbol() external view returns (string memory);\n\n    /**\n     * @dev Returns the decimals places of the token.\n     */\n    function decimals() external view returns (uint8);\n}\n"},"node_modules/@openzeppelin/contracts-upgradeable/token/ERC20/ERC20Upgradeable.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.2.0) (token/ERC20/ERC20.sol)\n\npragma solidity ^0.8.20;\n\nimport {IERC20} from \"@openzeppelin/contracts/token/ERC20/IERC20.sol\";\nimport {IERC20Metadata} from \"@openzeppelin/contracts/token/ERC20/extensions/IERC20Metadata.sol\";\nimport {ContextUpgradeable} from \"../../utils/ContextUpgradeable.sol\";\nimport {IERC20Errors} from \"@openzeppelin/contracts/interfaces/draft-IERC6093.sol\";\nimport {Initializable} from \"../../proxy/utils/Initializable.sol\";\n\n/**\n * @dev Implementation of the {IERC20} interface.\n *\n * This implementation is agnostic to the way tokens are created. This means\n * that a supply mechanism has to be added in a derived contract using {_mint}.\n *\n * TIP: For a detailed writeup see our guide\n * https://forum.openzeppelin.com/t/how-to-implement-erc20-supply-mechanisms/226[How\n * to implement supply mechanisms].\n *\n * The default value of {decimals} is 18. To change this, you should override\n * this function so it returns a different value.\n *\n * We have followed general OpenZeppelin Contracts guidelines: functions revert\n * instead returning `false` on failure. This behavior is nonetheless\n * conventional and does not conflict with the expectations of ERC-20\n * applications.\n */\nabstract contract ERC20Upgradeable is Initializable, ContextUpgradeable, IERC20, IERC20Metadata, IERC20Errors {\n    /// @custom:storage-location erc7201:openzeppelin.storage.ERC20\n    struct ERC20Storage {\n        mapping(address account => uint256) _balances;\n\n        mapping(address account => mapping(address spender => uint256)) _allowances;\n\n        uint256 _totalSupply;\n\n        string _name;\n        string _symbol;\n    }\n\n    // keccak256(abi.encode(uint256(keccak256(\"openzeppelin.storage.ERC20\")) - 1)) & ~bytes32(uint256(0xff))\n    bytes32 private constant ERC20StorageLocation = 0x52c63247e1f47db19d5ce0460030c497f067ca4cebf71ba98eeadabe20bace00;\n\n    function _getERC20Storage() private pure returns (ERC20Storage storage $) {\n        assembly {\n            $.slot := ERC20StorageLocation\n        }\n    }\n\n    /**\n     * @dev Sets the values for {name} and {symbol}.\n     *\n     * All two of these values are immutable: they can only be set once during\n     * construction.\n     */\n    function __ERC20_init(string memory name_, string memory symbol_) internal onlyInitializing {\n        __ERC20_init_unchained(name_, symbol_);\n    }\n\n    function __ERC20_init_unchained(string memory name_, string memory symbol_) internal onlyInitializing {\n        ERC20Storage storage $ = _getERC20Storage();\n        $._name = name_;\n        $._symbol = symbol_;\n    }\n\n    /**\n     * @dev Returns the name of the token.\n     */\n    function name() public view virtual returns (string memory) {\n        ERC20Storage storage $ = _getERC20Storage();\n        return $._name;\n    }\n\n    /**\n     * @dev Returns the symbol of the token, usually a shorter version of the\n     * name.\n     */\n    function symbol() public view virtual returns (string memory) {\n        ERC20Storage storage $ = _getERC20Storage();\n        return $._symbol;\n    }\n\n    /**\n     * @dev Returns the number of decimals used to get its user representation.\n     * For example, if `decimals` equals `2`, a balance of `505` tokens should\n     * be displayed to a user as `5.05` (`505 / 10 ** 2`).\n     *\n     * Tokens usually opt for a value of 18, imitating the relationship between\n     * Ether and Wei. This is the default value returned by this function, unless\n     * it's overridden.\n     *\n     * NOTE: This information is only used for _display_ purposes: it in\n     * no way affects any of the arithmetic of the contract, including\n     * {IERC20-balanceOf} and {IERC20-transfer}.\n     */\n    function decimals() public view virtual returns (uint8) {\n        return 18;\n    }\n\n    /**\n     * @dev See {IERC20-totalSupply}.\n     */\n    function totalSupply() public view virtual returns (uint256) {\n        ERC20Storage storage $ = _getERC20Storage();\n        return $._totalSupply;\n    }\n\n    /**\n     * @dev See {IERC20-balanceOf}.\n     */\n    function balanceOf(address account) public view virtual returns (uint256) {\n        ERC20Storage storage $ = _getERC20Storage();\n        return $._balances[account];\n    }\n\n    /**\n     * @dev See {IERC20-transfer}.\n     *\n     * Requirements:\n     *\n     * - `to` cannot be the zero address.\n     * - the caller must have a balance of at least `value`.\n     */\n    function transfer(address to, uint256 value) public virtual returns (bool) {\n        address owner = _msgSender();\n        _transfer(owner, to, value);\n        return true;\n    }\n\n    /**\n     * @dev See {IERC20-allowance}.\n     */\n    function allowance(address owner, address spender) public view virtual returns (uint256) {\n        ERC20Storage storage $ = _getERC20Storage();\n        return $._allowances[owner][spender];\n    }\n\n    /**\n     * @dev See {IERC20-approve}.\n     *\n     * NOTE: If `value` is the maximum `uint256`, the allowance is not updated on\n     * `transferFrom`. This is semantically equivalent to an infinite approval.\n     *\n     * Requirements:\n     *\n     * - `spender` cannot be the zero address.\n     */\n    function approve(address spender, uint256 value) public virtual returns (bool) {\n        address owner = _msgSender();\n        _approve(owner, spender, value);\n        return true;\n    }\n\n    /**\n     * @dev See {IERC20-transferFrom}.\n     *\n     * Skips emitting an {Approval} event indicating an allowance update. This is not\n     * required by the ERC. See {xref-ERC20-_approve-address-address-uint256-bool-}[_approve].\n     *\n     * NOTE: Does not update the allowance if the current allowance\n     * is the maximum `uint256`.\n     *\n     * Requirements:\n     *\n     * - `from` and `to` cannot be the zero address.\n     * - `from` must have a balance of at least `value`.\n     * - the caller must have allowance for ``from``'s tokens of at least\n     * `value`.\n     */\n    function transferFrom(address from, address to, uint256 value) public virtual returns (bool) {\n        address spender = _msgSender();\n        _spendAllowance(from, spender, value);\n        _transfer(from, to, value);\n        return true;\n    }\n\n    /**\n     * @dev Moves a `value` amount of tokens from `from` to `to`.\n     *\n     * This internal function is equivalent to {transfer}, and can be used to\n     * e.g. implement automatic token fees, slashing mechanisms, etc.\n     *\n     * Emits a {Transfer} event.\n     *\n     * NOTE: This function is not virtual, {_update} should be overridden instead.\n     */\n    function _transfer(address from, address to, uint256 value) internal {\n        if (from == address(0)) {\n            revert ERC20InvalidSender(address(0));\n        }\n        if (to == address(0)) {\n            revert ERC20InvalidReceiver(address(0));\n        }\n        _update(from, to, value);\n    }\n\n    /**\n     * @dev Transfers a `value` amount of tokens from `from` to `to`, or alternatively mints (or burns) if `from`\n     * (or `to`) is the zero address. All customizations to transfers, mints, and burns should be done by overriding\n     * this function.\n     *\n     * Emits a {Transfer} event.\n     */\n    function _update(address from, address to, uint256 value) internal virtual {\n        ERC20Storage storage $ = _getERC20Storage();\n        if (from == address(0)) {\n            // Overflow check required: The rest of the code assumes that totalSupply never overflows\n            $._totalSupply += value;\n        } else {\n            uint256 fromBalance = $._balances[from];\n            if (fromBalance < value) {\n                revert ERC20InsufficientBalance(from, fromBalance, value);\n            }\n            unchecked {\n                // Overflow not possible: value <= fromBalance <= totalSupply.\n                $._balances[from] = fromBalance - value;\n            }\n        }\n\n        if (to == address(0)) {\n            unchecked {\n                // Overflow not possible: value <= totalSupply or value <= fromBalance <= totalSupply.\n                $._totalSupply -= value;\n            }\n        } else {\n            unchecked {\n                // Overflow not possible: balance + value is at most totalSupply, which we know fits into a uint256.\n                $._balances[to] += value;\n            }\n        }\n\n        emit Transfer(from, to, value);\n    }\n\n    /**\n     * @dev Creates a `value` amount of tokens and assigns them to `account`, by transferring it from address(0).\n     * Relies on the `_update` mechanism\n     *\n     * Emits a {Transfer} event with `from` set to the zero address.\n     *\n     * NOTE: This function is not virtual, {_update} should be overridden instead.\n     */\n    function _mint(address account, uint256 value) internal {\n        if (account == address(0)) {\n            revert ERC20InvalidReceiver(address(0));\n        }\n        _update(address(0), account, value);\n    }\n\n    /**\n     * @dev Destroys a `value` amount of tokens from `account`, lowering the total supply.\n     * Relies on the `_update` mechanism.\n     *\n     * Emits a {Transfer} event with `to` set to the zero address.\n     *\n     * NOTE: This function is not virtual, {_update} should be overridden instead\n     */\n    function _burn(address account, uint256 value) internal {\n        if (account == address(0)) {\n            revert ERC20InvalidSender(address(0));\n        }\n        _update(account, address(0), value);\n    }\n\n    /**\n     * @dev Sets `value` as the allowance of `spender` over the `owner` s tokens.\n     *\n     * This internal function is equivalent to `approve`, and can be used to\n     * e.g. set automatic allowances for certain subsystems, etc.\n     *\n     * Emits an {Approval} event.\n     *\n     * Requirements:\n     *\n     * - `owner` cannot be the zero address.\n     * - `spender` cannot be the zero address.\n     *\n     * Overrides to this logic should be done to the variant with an additional `bool emitEvent` argument.\n     */\n    function _approve(address owner, address spender, uint256 value) internal {\n        _approve(owner, spender, value, true);\n    }\n\n    /**\n     * @dev Variant of {_approve} with an optional flag to enable or disable the {Approval} event.\n     *\n     * By default (when calling {_approve}) the flag is set to true. On the other hand, approval changes made by\n     * `_spendAllowance` during the `transferFrom` operation set the flag to false. This saves gas by not emitting any\n     * `Approval` event during `transferFrom` operations.\n     *\n     * Anyone who wishes to continue emitting `Approval` events on the`transferFrom` operation can force the flag to\n     * true using the following override:\n     *\n     * ```solidity\n     * function _approve(address owner, address spender, uint256 value, bool) internal virtual override {\n     *     super._approve(owner, spender, value, true);\n     * }\n     * ```\n     *\n     * Requirements are the same as {_approve}.\n     */\n    function _approve(address owner, address spender, uint256 value, bool emitEvent) internal virtual {\n        ERC20Storage storage $ = _getERC20Storage();\n        if (owner == address(0)) {\n            revert ERC20InvalidApprover(address(0));\n        }\n        if (spender == address(0)) {\n            revert ERC20InvalidSpender(address(0));\n        }\n        $._allowances[owner][spender] = value;\n        if (emitEvent) {\n            emit Approval(owner, spender, value);\n        }\n    }\n\n    /**\n     * @dev Updates `owner` s allowance for `spender` based on spent `value`.\n     *\n     * Does not update the allowance value in case of infinite allowance.\n     * Revert if not enough allowance is available.\n     *\n     * Does not emit an {Approval} event.\n     */\n    function _spendAllowance(address owner, address spender, uint256 value) internal virtual {\n        uint256 currentAllowance = allowance(owner, spender);\n        if (currentAllowance < type(uint256).max) {\n            if (currentAllowance < value) {\n                revert ERC20InsufficientAllowance(spender, currentAllowance, value);\n            }\n            unchecked {\n                _approve(owner, spender, currentAllowance - value, false);\n            }\n        }\n    }\n}\n"},"node_modules/@openzeppelin/contracts/access/extensions/IAccessControlEnumerable.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.1.0) (access/extensions/IAccessControlEnumerable.sol)\n\npragma solidity ^0.8.20;\n\nimport {IAccessControl} from \"../IAccessControl.sol\";\n\n/**\n * @dev External interface of AccessControlEnumerable declared to support ERC-165 detection.\n */\ninterface IAccessControlEnumerable is IAccessControl {\n    /**\n     * @dev Returns one of the accounts that have `role`. `index` must be a\n     * value between 0 and {getRoleMemberCount}, non-inclusive.\n     *\n     * Role bearers are not sorted in any particular way, and their ordering may\n     * change at any point.\n     *\n     * WARNING: When using {getRoleMember} and {getRoleMemberCount}, make sure\n     * you perform all queries on the same block. See the following\n     * https://forum.openzeppelin.com/t/iterating-over-elements-on-enumerableset-in-openzeppelin-contracts/2296[forum post]\n     * for more information.\n     */\n    function getRoleMember(bytes32 role, uint256 index) external view returns (address);\n\n    /**\n     * @dev Returns the number of accounts that have `role`. Can be used\n     * together with {getRoleMember} to enumerate all bearers of a role.\n     */\n    function getRoleMemberCount(bytes32 role) external view returns (uint256);\n}\n"},"node_modules/@openzeppelin/contracts-upgradeable/access/AccessControlUpgradeable.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.0.0) (access/AccessControl.sol)\n\npragma solidity ^0.8.20;\n\nimport {IAccessControl} from \"@openzeppelin/contracts/access/IAccessControl.sol\";\nimport {ContextUpgradeable} from \"../utils/ContextUpgradeable.sol\";\nimport {ERC165Upgradeable} from \"../utils/introspection/ERC165Upgradeable.sol\";\nimport {Initializable} from \"../proxy/utils/Initializable.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 AccessControlUpgradeable is Initializable, ContextUpgradeable, IAccessControl, ERC165Upgradeable {\n    struct RoleData {\n        mapping(address account => bool) hasRole;\n        bytes32 adminRole;\n    }\n\n    bytes32 public constant DEFAULT_ADMIN_ROLE = 0x00;\n\n\n    /// @custom:storage-location erc7201:openzeppelin.storage.AccessControl\n    struct AccessControlStorage {\n        mapping(bytes32 role => RoleData) _roles;\n    }\n\n    // keccak256(abi.encode(uint256(keccak256(\"openzeppelin.storage.AccessControl\")) - 1)) & ~bytes32(uint256(0xff))\n    bytes32 private constant AccessControlStorageLocation = 0x02dd7bc7dec4dceedda775e58dd541e08a116c6c53815c0bd028192f7b626800;\n\n    function _getAccessControlStorage() private pure returns (AccessControlStorage storage $) {\n        assembly {\n            $.slot := AccessControlStorageLocation\n        }\n    }\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    function __AccessControl_init() internal onlyInitializing {\n    }\n\n    function __AccessControl_init_unchained() internal onlyInitializing {\n    }\n    /**\n     * @dev See {IERC165-supportsInterface}.\n     */\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        AccessControlStorage storage $ = _getAccessControlStorage();\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        AccessControlStorage storage $ = _getAccessControlStorage();\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        AccessControlStorage storage $ = _getAccessControlStorage();\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        AccessControlStorage storage $ = _getAccessControlStorage();\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` to `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        AccessControlStorage storage $ = _getAccessControlStorage();\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"},"node_modules/@openzeppelin/contracts-upgradeable/utils/ReentrancyGuardUpgradeable.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.1.0) (utils/ReentrancyGuard.sol)\n\npragma solidity ^0.8.20;\nimport {Initializable} from \"../proxy/utils/Initializable.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 */\nabstract contract ReentrancyGuardUpgradeable is Initializable {\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    /// @custom:storage-location erc7201:openzeppelin.storage.ReentrancyGuard\n    struct ReentrancyGuardStorage {\n        uint256 _status;\n    }\n\n    // keccak256(abi.encode(uint256(keccak256(\"openzeppelin.storage.ReentrancyGuard\")) - 1)) & ~bytes32(uint256(0xff))\n    bytes32 private constant ReentrancyGuardStorageLocation = 0x9b779b17422d0df92223018b32b4d1fa46e071723d6817e2486d003becc55f00;\n\n    function _getReentrancyGuardStorage() private pure returns (ReentrancyGuardStorage storage $) {\n        assembly {\n            $.slot := ReentrancyGuardStorageLocation\n        }\n    }\n\n    /**\n     * @dev Unauthorized reentrant call.\n     */\n    error ReentrancyGuardReentrantCall();\n\n    function __ReentrancyGuard_init() internal onlyInitializing {\n        __ReentrancyGuard_init_unchained();\n    }\n\n    function __ReentrancyGuard_init_unchained() internal onlyInitializing {\n        ReentrancyGuardStorage storage $ = _getReentrancyGuardStorage();\n        $._status = 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    function _nonReentrantBefore() private {\n        ReentrancyGuardStorage storage $ = _getReentrancyGuardStorage();\n        // On the first call to nonReentrant, _status will be NOT_ENTERED\n        if ($._status == ENTERED) {\n            revert ReentrancyGuardReentrantCall();\n        }\n\n        // Any calls to nonReentrant after this point will fail\n        $._status = ENTERED;\n    }\n\n    function _nonReentrantAfter() private {\n        ReentrancyGuardStorage storage $ = _getReentrancyGuardStorage();\n        // By storing the original value once again, a refund is triggered (see\n        // https://eips.ethereum.org/EIPS/eip-2200)\n        $._status = 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        ReentrancyGuardStorage storage $ = _getReentrancyGuardStorage();\n        return $._status == ENTERED;\n    }\n}\n"},"node_modules/@openzeppelin/contracts-upgradeable/utils/introspection/ERC165Upgradeable.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.1.0) (utils/introspection/ERC165.sol)\n\npragma solidity ^0.8.20;\n\nimport {IERC165} from \"@openzeppelin/contracts/utils/introspection/IERC165.sol\";\nimport {Initializable} from \"../../proxy/utils/Initializable.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 ERC165Upgradeable is Initializable, IERC165 {\n    function __ERC165_init() internal onlyInitializing {\n    }\n\n    function __ERC165_init_unchained() internal onlyInitializing {\n    }\n    /**\n     * @dev See {IERC165-supportsInterface}.\n     */\n    function supportsInterface(bytes4 interfaceId) public view virtual returns (bool) {\n        return interfaceId == type(IERC165).interfaceId;\n    }\n}\n"},"node_modules/@openzeppelin/contracts-upgradeable/token/ERC20/extensions/ERC4626Upgradeable.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.1.0) (token/ERC20/extensions/ERC4626.sol)\n\npragma solidity ^0.8.20;\n\nimport {IERC20} from \"@openzeppelin/contracts/token/ERC20/IERC20.sol\";\nimport {IERC20Metadata} from \"@openzeppelin/contracts/token/ERC20/extensions/IERC20Metadata.sol\";\nimport {ERC20Upgradeable} from \"../ERC20Upgradeable.sol\";\nimport {SafeERC20} from \"@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol\";\nimport {IERC4626} from \"@openzeppelin/contracts/interfaces/IERC4626.sol\";\nimport {Math} from \"@openzeppelin/contracts/utils/math/Math.sol\";\nimport {Initializable} from \"../../../proxy/utils/Initializable.sol\";\n\n/**\n * @dev Implementation of the ERC-4626 \"Tokenized Vault Standard\" as defined in\n * https://eips.ethereum.org/EIPS/eip-4626[ERC-4626].\n *\n * This extension allows the minting and burning of \"shares\" (represented using the ERC-20 inheritance) in exchange for\n * underlying \"assets\" through standardized {deposit}, {mint}, {redeem} and {burn} workflows. This contract extends\n * the ERC-20 standard. Any additional extensions included along it would affect the \"shares\" token represented by this\n * contract and not the \"assets\" token which is an independent contract.\n *\n * [CAUTION]\n * ====\n * In empty (or nearly empty) ERC-4626 vaults, deposits are at high risk of being stolen through frontrunning\n * with a \"donation\" to the vault that inflates the price of a share. This is variously known as a donation or inflation\n * attack and is essentially a problem of slippage. Vault deployers can protect against this attack by making an initial\n * deposit of a non-trivial amount of the asset, such that price manipulation becomes infeasible. Withdrawals may\n * similarly be affected by slippage. Users can protect against this attack as well as unexpected slippage in general by\n * verifying the amount received is as expected, using a wrapper that performs these checks such as\n * https://github.com/fei-protocol/ERC4626#erc4626router-and-base[ERC4626Router].\n *\n * Since v4.9, this implementation introduces configurable virtual assets and shares to help developers mitigate that risk.\n * The `_decimalsOffset()` corresponds to an offset in the decimal representation between the underlying asset's decimals\n * and the vault decimals. This offset also determines the rate of virtual shares to virtual assets in the vault, which\n * itself determines the initial exchange rate. While not fully preventing the attack, analysis shows that the default\n * offset (0) makes it non-profitable even if an attacker is able to capture value from multiple user deposits, as a result\n * of the value being captured by the virtual shares (out of the attacker's donation) matching the attacker's expected gains.\n * With a larger offset, the attack becomes orders of magnitude more expensive than it is profitable. More details about the\n * underlying math can be found xref:erc4626.adoc#inflation-attack[here].\n *\n * The drawback of this approach is that the virtual shares do capture (a very small) part of the value being accrued\n * to the vault. Also, if the vault experiences losses, the users try to exit the vault, the virtual shares and assets\n * will cause the first user to exit to experience reduced losses in detriment to the last users that will experience\n * bigger losses. Developers willing to revert back to the pre-v4.9 behavior just need to override the\n * `_convertToShares` and `_convertToAssets` functions.\n *\n * To learn more, check out our xref:ROOT:erc4626.adoc[ERC-4626 guide].\n * ====\n */\nabstract contract ERC4626Upgradeable is Initializable, ERC20Upgradeable, IERC4626 {\n    using Math for uint256;\n\n    /// @custom:storage-location erc7201:openzeppelin.storage.ERC4626\n    struct ERC4626Storage {\n        IERC20 _asset;\n        uint8 _underlyingDecimals;\n    }\n\n    // keccak256(abi.encode(uint256(keccak256(\"openzeppelin.storage.ERC4626\")) - 1)) & ~bytes32(uint256(0xff))\n    bytes32 private constant ERC4626StorageLocation = 0x0773e532dfede91f04b12a73d3d2acd361424f41f76b4fb79f090161e36b4e00;\n\n    function _getERC4626Storage() private pure returns (ERC4626Storage storage $) {\n        assembly {\n            $.slot := ERC4626StorageLocation\n        }\n    }\n\n    /**\n     * @dev Attempted to deposit more assets than the max amount for `receiver`.\n     */\n    error ERC4626ExceededMaxDeposit(address receiver, uint256 assets, uint256 max);\n\n    /**\n     * @dev Attempted to mint more shares than the max amount for `receiver`.\n     */\n    error ERC4626ExceededMaxMint(address receiver, uint256 shares, uint256 max);\n\n    /**\n     * @dev Attempted to withdraw more assets than the max amount for `receiver`.\n     */\n    error ERC4626ExceededMaxWithdraw(address owner, uint256 assets, uint256 max);\n\n    /**\n     * @dev Attempted to redeem more shares than the max amount for `receiver`.\n     */\n    error ERC4626ExceededMaxRedeem(address owner, uint256 shares, uint256 max);\n\n    /**\n     * @dev Set the underlying asset contract. This must be an ERC20-compatible contract (ERC-20 or ERC-777).\n     */\n    function __ERC4626_init(IERC20 asset_) internal onlyInitializing {\n        __ERC4626_init_unchained(asset_);\n    }\n\n    function __ERC4626_init_unchained(IERC20 asset_) internal onlyInitializing {\n        ERC4626Storage storage $ = _getERC4626Storage();\n        (bool success, uint8 assetDecimals) = _tryGetAssetDecimals(asset_);\n        $._underlyingDecimals = success ? assetDecimals : 18;\n        $._asset = asset_;\n    }\n\n    /**\n     * @dev Attempts to fetch the asset decimals. A return value of false indicates that the attempt failed in some way.\n     */\n    function _tryGetAssetDecimals(IERC20 asset_) private view returns (bool ok, uint8 assetDecimals) {\n        (bool success, bytes memory encodedDecimals) = address(asset_).staticcall(\n            abi.encodeCall(IERC20Metadata.decimals, ())\n        );\n        if (success && encodedDecimals.length >= 32) {\n            uint256 returnedDecimals = abi.decode(encodedDecimals, (uint256));\n            if (returnedDecimals <= type(uint8).max) {\n                return (true, uint8(returnedDecimals));\n            }\n        }\n        return (false, 0);\n    }\n\n    /**\n     * @dev Decimals are computed by adding the decimal offset on top of the underlying asset's decimals. This\n     * \"original\" value is cached during construction of the vault contract. If this read operation fails (e.g., the\n     * asset has not been created yet), a default of 18 is used to represent the underlying asset's decimals.\n     *\n     * See {IERC20Metadata-decimals}.\n     */\n    function decimals() public view virtual override(IERC20Metadata, ERC20Upgradeable) returns (uint8) {\n        ERC4626Storage storage $ = _getERC4626Storage();\n        return $._underlyingDecimals + _decimalsOffset();\n    }\n\n    /** @dev See {IERC4626-asset}. */\n    function asset() public view virtual returns (address) {\n        ERC4626Storage storage $ = _getERC4626Storage();\n        return address($._asset);\n    }\n\n    /** @dev See {IERC4626-totalAssets}. */\n    function totalAssets() public view virtual returns (uint256) {\n        ERC4626Storage storage $ = _getERC4626Storage();\n        return $._asset.balanceOf(address(this));\n    }\n\n    /** @dev See {IERC4626-convertToShares}. */\n    function convertToShares(uint256 assets) public view virtual returns (uint256) {\n        return _convertToShares(assets, Math.Rounding.Floor);\n    }\n\n    /** @dev See {IERC4626-convertToAssets}. */\n    function convertToAssets(uint256 shares) public view virtual returns (uint256) {\n        return _convertToAssets(shares, Math.Rounding.Floor);\n    }\n\n    /** @dev See {IERC4626-maxDeposit}. */\n    function maxDeposit(address) public view virtual returns (uint256) {\n        return type(uint256).max;\n    }\n\n    /** @dev See {IERC4626-maxMint}. */\n    function maxMint(address) public view virtual returns (uint256) {\n        return type(uint256).max;\n    }\n\n    /** @dev See {IERC4626-maxWithdraw}. */\n    function maxWithdraw(address owner) public view virtual returns (uint256) {\n        return _convertToAssets(balanceOf(owner), Math.Rounding.Floor);\n    }\n\n    /** @dev See {IERC4626-maxRedeem}. */\n    function maxRedeem(address owner) public view virtual returns (uint256) {\n        return balanceOf(owner);\n    }\n\n    /** @dev See {IERC4626-previewDeposit}. */\n    function previewDeposit(uint256 assets) public view virtual returns (uint256) {\n        return _convertToShares(assets, Math.Rounding.Floor);\n    }\n\n    /** @dev See {IERC4626-previewMint}. */\n    function previewMint(uint256 shares) public view virtual returns (uint256) {\n        return _convertToAssets(shares, Math.Rounding.Ceil);\n    }\n\n    /** @dev See {IERC4626-previewWithdraw}. */\n    function previewWithdraw(uint256 assets) public view virtual returns (uint256) {\n        return _convertToShares(assets, Math.Rounding.Ceil);\n    }\n\n    /** @dev See {IERC4626-previewRedeem}. */\n    function previewRedeem(uint256 shares) public view virtual returns (uint256) {\n        return _convertToAssets(shares, Math.Rounding.Floor);\n    }\n\n    /** @dev See {IERC4626-deposit}. */\n    function deposit(uint256 assets, address receiver) public virtual returns (uint256) {\n        uint256 maxAssets = maxDeposit(receiver);\n        if (assets > maxAssets) {\n            revert ERC4626ExceededMaxDeposit(receiver, assets, maxAssets);\n        }\n\n        uint256 shares = previewDeposit(assets);\n        _deposit(_msgSender(), receiver, assets, shares);\n\n        return shares;\n    }\n\n    /** @dev See {IERC4626-mint}. */\n    function mint(uint256 shares, address receiver) public virtual returns (uint256) {\n        uint256 maxShares = maxMint(receiver);\n        if (shares > maxShares) {\n            revert ERC4626ExceededMaxMint(receiver, shares, maxShares);\n        }\n\n        uint256 assets = previewMint(shares);\n        _deposit(_msgSender(), receiver, assets, shares);\n\n        return assets;\n    }\n\n    /** @dev See {IERC4626-withdraw}. */\n    function withdraw(uint256 assets, address receiver, address owner) public virtual returns (uint256) {\n        uint256 maxAssets = maxWithdraw(owner);\n        if (assets > maxAssets) {\n            revert ERC4626ExceededMaxWithdraw(owner, assets, maxAssets);\n        }\n\n        uint256 shares = previewWithdraw(assets);\n        _withdraw(_msgSender(), receiver, owner, assets, shares);\n\n        return shares;\n    }\n\n    /** @dev See {IERC4626-redeem}. */\n    function redeem(uint256 shares, address receiver, address owner) public virtual returns (uint256) {\n        uint256 maxShares = maxRedeem(owner);\n        if (shares > maxShares) {\n            revert ERC4626ExceededMaxRedeem(owner, shares, maxShares);\n        }\n\n        uint256 assets = previewRedeem(shares);\n        _withdraw(_msgSender(), receiver, owner, assets, shares);\n\n        return assets;\n    }\n\n    /**\n     * @dev Internal conversion function (from assets to shares) with support for rounding direction.\n     */\n    function _convertToShares(uint256 assets, Math.Rounding rounding) internal view virtual returns (uint256) {\n        return assets.mulDiv(totalSupply() + 10 ** _decimalsOffset(), totalAssets() + 1, rounding);\n    }\n\n    /**\n     * @dev Internal conversion function (from shares to assets) with support for rounding direction.\n     */\n    function _convertToAssets(uint256 shares, Math.Rounding rounding) internal view virtual returns (uint256) {\n        return shares.mulDiv(totalAssets() + 1, totalSupply() + 10 ** _decimalsOffset(), rounding);\n    }\n\n    /**\n     * @dev Deposit/mint common workflow.\n     */\n    function _deposit(address caller, address receiver, uint256 assets, uint256 shares) internal virtual {\n        ERC4626Storage storage $ = _getERC4626Storage();\n        // If _asset is ERC-777, `transferFrom` can trigger a reentrancy BEFORE the transfer happens through the\n        // `tokensToSend` hook. On the other hand, the `tokenReceived` hook, that is triggered after the transfer,\n        // calls the vault, which is assumed not malicious.\n        //\n        // Conclusion: we need to do the transfer before we mint so that any reentrancy would happen before the\n        // assets are transferred and before the shares are minted, which is a valid state.\n        // slither-disable-next-line reentrancy-no-eth\n        SafeERC20.safeTransferFrom($._asset, caller, address(this), assets);\n        _mint(receiver, shares);\n\n        emit Deposit(caller, receiver, assets, shares);\n    }\n\n    /**\n     * @dev Withdraw/redeem common workflow.\n     */\n    function _withdraw(\n        address caller,\n        address receiver,\n        address owner,\n        uint256 assets,\n        uint256 shares\n    ) internal virtual {\n        ERC4626Storage storage $ = _getERC4626Storage();\n        if (caller != owner) {\n            _spendAllowance(owner, caller, shares);\n        }\n\n        // If _asset is ERC-777, `transfer` can trigger a reentrancy AFTER the transfer happens through the\n        // `tokensReceived` hook. On the other hand, the `tokensToSend` hook, that is triggered before the transfer,\n        // calls the vault, which is assumed not malicious.\n        //\n        // Conclusion: we need to do the transfer after the burn so that any reentrancy would happen after the\n        // shares are burned and after the assets are transferred, which is a valid state.\n        _burn(owner, shares);\n        SafeERC20.safeTransfer($._asset, receiver, assets);\n\n        emit Withdraw(caller, receiver, owner, assets, shares);\n    }\n\n    function _decimalsOffset() internal view virtual returns (uint8) {\n        return 0;\n    }\n}\n"},"node_modules/@openzeppelin/contracts-upgradeable/access/extensions/AccessControlEnumerableUpgradeable.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.1.0) (access/extensions/AccessControlEnumerable.sol)\n\npragma solidity ^0.8.20;\n\nimport {IAccessControlEnumerable} from \"@openzeppelin/contracts/access/extensions/IAccessControlEnumerable.sol\";\nimport {AccessControlUpgradeable} from \"../AccessControlUpgradeable.sol\";\nimport {EnumerableSet} from \"@openzeppelin/contracts/utils/structs/EnumerableSet.sol\";\nimport {Initializable} from \"../../proxy/utils/Initializable.sol\";\n\n/**\n * @dev Extension of {AccessControl} that allows enumerating the members of each role.\n */\nabstract contract AccessControlEnumerableUpgradeable is Initializable, IAccessControlEnumerable, AccessControlUpgradeable {\n    using EnumerableSet for EnumerableSet.AddressSet;\n\n    /// @custom:storage-location erc7201:openzeppelin.storage.AccessControlEnumerable\n    struct AccessControlEnumerableStorage {\n        mapping(bytes32 role => EnumerableSet.AddressSet) _roleMembers;\n    }\n\n    // keccak256(abi.encode(uint256(keccak256(\"openzeppelin.storage.AccessControlEnumerable\")) - 1)) & ~bytes32(uint256(0xff))\n    bytes32 private constant AccessControlEnumerableStorageLocation = 0xc1f6fe24621ce81ec5827caf0253cadb74709b061630e6b55e82371705932000;\n\n    function _getAccessControlEnumerableStorage() private pure returns (AccessControlEnumerableStorage storage $) {\n        assembly {\n            $.slot := AccessControlEnumerableStorageLocation\n        }\n    }\n\n    function __AccessControlEnumerable_init() internal onlyInitializing {\n    }\n\n    function __AccessControlEnumerable_init_unchained() internal onlyInitializing {\n    }\n    /**\n     * @dev See {IERC165-supportsInterface}.\n     */\n    function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {\n        return interfaceId == type(IAccessControlEnumerable).interfaceId || super.supportsInterface(interfaceId);\n    }\n\n    /**\n     * @dev Returns one of the accounts that have `role`. `index` must be a\n     * value between 0 and {getRoleMemberCount}, non-inclusive.\n     *\n     * Role bearers are not sorted in any particular way, and their ordering may\n     * change at any point.\n     *\n     * WARNING: When using {getRoleMember} and {getRoleMemberCount}, make sure\n     * you perform all queries on the same block. See the following\n     * https://forum.openzeppelin.com/t/iterating-over-elements-on-enumerableset-in-openzeppelin-contracts/2296[forum post]\n     * for more information.\n     */\n    function getRoleMember(bytes32 role, uint256 index) public view virtual returns (address) {\n        AccessControlEnumerableStorage storage $ = _getAccessControlEnumerableStorage();\n        return $._roleMembers[role].at(index);\n    }\n\n    /**\n     * @dev Returns the number of accounts that have `role`. Can be used\n     * together with {getRoleMember} to enumerate all bearers of a role.\n     */\n    function getRoleMemberCount(bytes32 role) public view virtual returns (uint256) {\n        AccessControlEnumerableStorage storage $ = _getAccessControlEnumerableStorage();\n        return $._roleMembers[role].length();\n    }\n\n    /**\n     * @dev Return all accounts that have `role`\n     *\n     * WARNING: This operation will copy the entire storage to memory, which can be quite expensive. This is designed\n     * to mostly be used by view accessors that are queried without any gas fees. Developers should keep in mind that\n     * this function has an unbounded cost, and using it as part of a state-changing function may render the function\n     * uncallable if the set grows to a point where copying to memory consumes too much gas to fit in a block.\n     */\n    function getRoleMembers(bytes32 role) public view virtual returns (address[] memory) {\n        AccessControlEnumerableStorage storage $ = _getAccessControlEnumerableStorage();\n        return $._roleMembers[role].values();\n    }\n\n    /**\n     * @dev Overload {AccessControl-_grantRole} to track enumerable memberships\n     */\n    function _grantRole(bytes32 role, address account) internal virtual override returns (bool) {\n        AccessControlEnumerableStorage storage $ = _getAccessControlEnumerableStorage();\n        bool granted = super._grantRole(role, account);\n        if (granted) {\n            $._roleMembers[role].add(account);\n        }\n        return granted;\n    }\n\n    /**\n     * @dev Overload {AccessControl-_revokeRole} to track enumerable memberships\n     */\n    function _revokeRole(bytes32 role, address account) internal virtual override returns (bool) {\n        AccessControlEnumerableStorage storage $ = _getAccessControlEnumerableStorage();\n        bool revoked = super._revokeRole(role, account);\n        if (revoked) {\n            $._roleMembers[role].remove(account);\n        }\n        return revoked;\n    }\n}\n"}},"language":"Solidity","settings":{"viaIR":false,"metadata":{"appendCBOR":true,"bytecodeHash":"ipfs","useLiteralContent":false},"libraries":{"src/implementation/ConcreteAsyncVaultImpl.sol":{"StateInitLib":"0x8d5d294fd63ee3b16abdca4b59597719a576e551","StateSetterLib":"0x5d433d113c211891d3c2bae6cd3b39adeffd64cc","AsyncVaultHelperLib":"0x5cc3c3cea2e885f1870f3cae1eb9601d5d278d4a"}},"optimizer":{"runs":190,"enabled":true},"evmVersion":"prague","remappings":["erc4626-tests/=lib/openzeppelin-contracts-upgradeable/lib/erc4626-tests/","forge-std/=lib/forge-std/src/","halmos-cheatcodes/=lib/openzeppelin-contracts-upgradeable/lib/halmos-cheatcodes/src/","@openzeppelin-upgradeable/=node_modules/@openzeppelin/contracts-upgradeable/","@openzeppelin-contracts/=node_modules/@openzeppelin/contracts/","openzeppelin-foundry-upgrades/=node_modules/@openzeppelin/foundry-upgrades/","solidity-bytes-utils/=node_modules/solidity-bytes-utils/","@layerzerolabs/lz-evm-protocol-v2/=node_modules/@layerzerolabs/lz-evm-protocol-v2/","@layerzerolabs/lz-evm-messagelib-v2/=node_modules/@layerzerolabs/lz-evm-messagelib-v2/","@layerzerolabs/lz-evm-v1-0.7/=node_modules/@layerzerolabs/lz-evm-v1-0.7/","@layerzerolabs/oapp-evm/=node_modules/@layerzerolabs/oapp-evm/","@layerzerolabs/oapp-evm-upgradeable/=node_modules/@layerzerolabs/oapp-evm-upgradeable/","@layerzerolabs/test-devtools-evm-foundry/=node_modules/@layerzerolabs/test-devtools-evm-foundry/","@openzeppelin/=node_modules/@openzeppelin/"]}},"stdJsonOutput":{"sources":{"src/lib/Time.sol":{"id":46},"src/lib/Hooks.sol":{"id":42},"src/lib/Roles.sol":{"id":43},"src/lib/ERC20Lib.sol":{"id":41},"src/lib/Constants.sol":{"id":39},"src/lib/Conversion.sol":{"id":40},"src/interface/IHook.sol":{"id":34},"src/lib/StateInitLib.sol":{"id":44},"src/lib/StateSetterLib.sol":{"id":45},"src/lib/AccessControlLib.sol":{"id":37},"src/module/AllocateModule.sol":{"id":50},"src/common/UpgradeableVault.sol":{"id":28},"src/lib/AsyncVaultHelperLib.sol":{"id":38},"src/interface/IAllocateModule.sol":{"id":31},"src/interface/IStrategyTemplate.sol":{"id":35},"src/interface/IUpgradeableVault.sol":{"id":36},"src/interface/IConcreteAsyncVaultImpl.sol":{"id":32},"src/interface/IConcreteStandardVaultImpl.sol":{"id":33},"src/implementation/ConcreteAsyncVaultImpl.sol":{"id":29},"src/implementation/ConcreteStandardVaultImpl.sol":{"id":30},"node_modules/@openzeppelin/contracts/utils/Panic.sol":{"id":23},"src/lib/storage/ConcreteAsyncVaultImplStorageLib.sol":{"id":47},"node_modules/@openzeppelin/contracts/utils/Errors.sol":{"id":22},"node_modules/@openzeppelin/contracts/utils/Address.sol":{"id":20},"node_modules/@openzeppelin/contracts/utils/Context.sol":{"id":21},"src/lib/storage/ConcreteCachedVaultStateStorageLib.sol":{"id":48},"node_modules/@openzeppelin/contracts/access/Ownable.sol":{"id":10},"src/lib/storage/ConcreteStandardVaultImplStorageLib.sol":{"id":49},"node_modules/@openzeppelin/contracts/utils/math/Math.sol":{"id":25},"node_modules/@openzeppelin/contracts/interfaces/IERC20.sol":{"id":14},"node_modules/@openzeppelin/contracts/interfaces/IERC165.sol":{"id":13},"node_modules/@openzeppelin/contracts/token/ERC20/IERC20.sol":{"id":17},"node_modules/@openzeppelin/contracts/interfaces/IERC1363.sol":{"id":12},"node_modules/@openzeppelin/contracts/interfaces/IERC4626.sol":{"id":15},"node_modules/@openzeppelin/contracts/utils/math/SafeCast.sol":{"id":26},"node_modules/@openzeppelin/contracts/access/IAccessControl.sol":{"id":9},"node_modules/@openzeppelin/contracts/interfaces/draft-IERC6093.sol":{"id":16},"node_modules/@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol":{"id":19},"node_modules/@openzeppelin/contracts/utils/introspection/IERC165.sol":{"id":24},"node_modules/@openzeppelin/contracts/utils/structs/EnumerableSet.sol":{"id":27},"node_modules/@openzeppelin/contracts-upgradeable/utils/ContextUpgradeable.sol":{"id":6},"node_modules/@openzeppelin/contracts-upgradeable/access/OwnableUpgradeable.sol":{"id":1},"node_modules/@openzeppelin/contracts-upgradeable/proxy/utils/Initializable.sol":{"id":3},"node_modules/@openzeppelin/contracts/token/ERC20/extensions/IERC20Metadata.sol":{"id":18},"node_modules/@openzeppelin/contracts-upgradeable/token/ERC20/ERC20Upgradeable.sol":{"id":4},"node_modules/@openzeppelin/contracts/access/extensions/IAccessControlEnumerable.sol":{"id":11},"node_modules/@openzeppelin/contracts-upgradeable/access/AccessControlUpgradeable.sol":{"id":0},"node_modules/@openzeppelin/contracts-upgradeable/utils/ReentrancyGuardUpgradeable.sol":{"id":7},"node_modules/@openzeppelin/contracts-upgradeable/utils/introspection/ERC165Upgradeable.sol":{"id":8},"node_modules/@openzeppelin/contracts-upgradeable/token/ERC20/extensions/ERC4626Upgradeable.sol":{"id":5},"node_modules/@openzeppelin/contracts-upgradeable/access/extensions/AccessControlEnumerableUpgradeable.sol":{"id":2}},"contracts":{"src/implementation/ConcreteAsyncVaultImpl.sol":{"ConcreteAsyncVaultImpl":{"abi":[{"type":"constructor","inputs":[{"name":"factory","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":"AddressEmptyCode","type":"error","inputs":[{"name":"target","type":"address","internalType":"address"}]},{"name":"AlreadyInitialized","type":"error","inputs":[]},{"name":"AssetAmountOutOfBounds","type":"error","inputs":[{"name":"sender","type":"address","internalType":"address"},{"name":"assets","type":"uint256","internalType":"uint256"},{"name":"minDepositAmount","type":"uint256","internalType":"uint256"},{"name":"maxDepositAmount","type":"uint256","internalType":"uint256"}]},{"name":"CannotToggleInactiveStrategy","type":"error","inputs":[]},{"name":"ERC20InsufficientAllowance","type":"error","inputs":[{"name":"spender","type":"address","internalType":"address"},{"name":"allowance","type":"uint256","internalType":"uint256"},{"name":"needed","type":"uint256","internalType":"uint256"}]},{"name":"ERC20InsufficientBalance","type":"error","inputs":[{"name":"sender","type":"address","internalType":"address"},{"name":"balance","type":"uint256","internalType":"uint256"},{"name":"needed","type":"uint256","internalType":"uint256"}]},{"name":"ERC20InvalidApprover","type":"error","inputs":[{"name":"approver","type":"address","internalType":"address"}]},{"name":"ERC20InvalidReceiver","type":"error","inputs":[{"name":"receiver","type":"address","internalType":"address"}]},{"name":"ERC20InvalidSender","type":"error","inputs":[{"name":"sender","type":"address","internalType":"address"}]},{"name":"ERC20InvalidSpender","type":"error","inputs":[{"name":"spender","type":"address","internalType":"address"}]},{"name":"ERC4626ExceededMaxDeposit","type":"error","inputs":[{"name":"receiver","type":"address","internalType":"address"},{"name":"assets","type":"uint256","internalType":"uint256"},{"name":"max","type":"uint256","internalType":"uint256"}]},{"name":"ERC4626ExceededMaxMint","type":"error","inputs":[{"name":"receiver","type":"address","internalType":"address"},{"name":"shares","type":"uint256","internalType":"uint256"},{"name":"max","type":"uint256","internalType":"uint256"}]},{"name":"ERC4626ExceededMaxRedeem","type":"error","inputs":[{"name":"owner","type":"address","internalType":"address"},{"name":"shares","type":"uint256","internalType":"uint256"},{"name":"max","type":"uint256","internalType":"uint256"}]},{"name":"ERC4626ExceededMaxWithdraw","type":"error","inputs":[{"name":"owner","type":"address","internalType":"address"},{"name":"assets","type":"uint256","internalType":"uint256"},{"name":"max","type":"uint256","internalType":"uint256"}]},{"name":"EmptyEpochIDs","type":"error","inputs":[]},{"name":"EmptyUsers","type":"error","inputs":[]},{"name":"EpochAlreadyClosed","type":"error","inputs":[{"name":"epochID","type":"uint256","internalType":"uint256"}]},{"name":"EpochAlreadyProcessed","type":"error","inputs":[{"name":"epochID","type":"uint256","internalType":"uint256"}]},{"name":"EpochNotProcessed","type":"error","inputs":[{"name":"epochID","type":"uint256","internalType":"uint256"}]},{"name":"EpochStillOpen","type":"error","inputs":[{"name":"epochID","type":"uint256","internalType":"uint256"}]},{"name":"FailedCall","type":"error","inputs":[]},{"name":"FeeRecipientNotSet","type":"error","inputs":[]},{"name":"InsufficientAssets","type":"error","inputs":[]},{"name":"InsufficientBalance","type":"error","inputs":[]},{"name":"InsufficientShares","type":"error","inputs":[]},{"name":"InvalidAllocateModule","type":"error","inputs":[]},{"name":"InvalidAsset","type":"error","inputs":[]},{"name":"InvalidDepositLimits","type":"error","inputs":[]},{"name":"InvalidFactoryOwner","type":"error","inputs":[]},{"name":"InvalidFeeRecipient","type":"error","inputs":[]},{"name":"InvalidInitialVaultManager","type":"error","inputs":[]},{"name":"InvalidInitialization","type":"error","inputs":[]},{"name":"InvalidName","type":"error","inputs":[]},{"name":"InvalidReceiver","type":"error","inputs":[]},{"name":"InvalidStrategyAsset","type":"error","inputs":[]},{"name":"InvalidSymbol","type":"error","inputs":[]},{"name":"InvalidWithdrawLimits","type":"error","inputs":[]},{"name":"ManagementFeeExceedsMaximum","type":"error","inputs":[]},{"name":"NoClaimableRequest","type":"error","inputs":[]},{"name":"NoRedeemableAssets","type":"error","inputs":[]},{"name":"NoRequestingShares","type":"error","inputs":[]},{"name":"NotFactory","type":"error","inputs":[]},{"name":"NotInitialized","type":"error","inputs":[]},{"name":"NotInitializing","type":"error","inputs":[]},{"name":"OwnableInvalidOwner","type":"error","inputs":[{"name":"owner","type":"address","internalType":"address"}]},{"name":"OwnableUnauthorizedAccount","type":"error","inputs":[{"name":"account","type":"address","internalType":"address"}]},{"name":"PerformanceFeeExceedsMaximum","type":"error","inputs":[]},{"name":"PreviousEpochAlreadyProcessed","type":"error","inputs":[{"name":"epochID","type":"uint256","internalType":"uint256"}]},{"name":"PreviousEpochNotProcessed","type":"error","inputs":[{"name":"epochID","type":"uint256","internalType":"uint256"}]},{"name":"ReentrancyGuardReentrantCall","type":"error","inputs":[]},{"name":"SafeCastOverflowedUintDowncast","type":"error","inputs":[{"name":"bits","type":"uint8","internalType":"uint8"},{"name":"value","type":"uint256","internalType":"uint256"}]},{"name":"SafeERC20FailedOperation","type":"error","inputs":[{"name":"token","type":"address","internalType":"address"}]},{"name":"StrategyAlreadyAdded","type":"error","inputs":[]},{"name":"StrategyAlreadyHalted","type":"error","inputs":[]},{"name":"StrategyDoesNotExist","type":"error","inputs":[]},{"name":"StrategyHasAllocation","type":"error","inputs":[]},{"name":"StrategyIsHalted","type":"error","inputs":[]},{"name":"ZeroAddress","type":"error","inputs":[]},{"name":"ZeroShares","type":"error","inputs":[]},{"name":"Approval","type":"event","inputs":[{"name":"owner","type":"address","indexed":true,"internalType":"address"},{"name":"spender","type":"address","indexed":true,"internalType":"address"},{"name":"value","type":"uint256","indexed":false,"internalType":"uint256"}],"anonymous":false},{"name":"DeallocationOrderUpdated","type":"event","inputs":[],"anonymous":false},{"name":"Deposit","type":"event","inputs":[{"name":"sender","type":"address","indexed":true,"internalType":"address"},{"name":"owner","type":"address","indexed":true,"internalType":"address"},{"name":"assets","type":"uint256","indexed":false,"internalType":"uint256"},{"name":"shares","type":"uint256","indexed":false,"internalType":"uint256"}],"anonymous":false},{"name":"DepositLimitsUpdated","type":"event","inputs":[{"name":"maxDepositAmount","type":"uint256","indexed":false,"internalType":"uint256"},{"name":"minDepositAmount","type":"uint256","indexed":false,"internalType":"uint256"}],"anonymous":false},{"name":"EpochClosed","type":"event","inputs":[{"name":"epochID","type":"uint256","indexed":false,"internalType":"uint256"}],"anonymous":false},{"name":"EpochProcessed","type":"event","inputs":[{"name":"epochID","type":"uint256","indexed":false,"internalType":"uint256"},{"name":"shares","type":"uint256","indexed":false,"internalType":"uint256"},{"name":"assets","type":"uint256","indexed":false,"internalType":"uint256"},{"name":"sharePrice","type":"uint256","indexed":false,"internalType":"uint256"}],"anonymous":false},{"name":"HooksSet","type":"event","inputs":[{"name":"hooks","type":"tuple","indexed":false,"components":[{"name":"target","type":"address","internalType":"address"},{"name":"flags","type":"uint96","internalType":"uint96"}],"internalType":"struct Hooks"}],"anonymous":false},{"name":"Initialized","type":"event","inputs":[{"name":"version","type":"uint64","indexed":false,"internalType":"uint64"}],"anonymous":false},{"name":"ManagementFeeAccrued","type":"event","inputs":[{"name":"recipient","type":"address","indexed":true,"internalType":"address"},{"name":"shares","type":"uint256","indexed":false,"internalType":"uint256"},{"name":"feeAmount","type":"uint256","indexed":false,"internalType":"uint256"}],"anonymous":false},{"name":"ManagementFeeRecipientUpdated","type":"event","inputs":[{"name":"managementFeeRecipient","type":"address","indexed":false,"internalType":"address"}],"anonymous":false},{"name":"ManagementFeeUpdated","type":"event","inputs":[{"name":"managementFee","type":"uint16","indexed":false,"internalType":"uint16"}],"anonymous":false},{"name":"OwnershipTransferred","type":"event","inputs":[{"name":"previousOwner","type":"address","indexed":true,"internalType":"address"},{"name":"newOwner","type":"address","indexed":true,"internalType":"address"}],"anonymous":false},{"name":"PerformanceFeeAccrued","type":"event","inputs":[{"name":"recipient","type":"address","indexed":true,"internalType":"address"},{"name":"shares","type":"uint256","indexed":false,"internalType":"uint256"},{"name":"feeAmount","type":"uint256","indexed":false,"internalType":"uint256"}],"anonymous":false},{"name":"PerformanceFeeRecipientUpdated","type":"event","inputs":[{"name":"performanceFeeRecipient","type":"address","indexed":false,"internalType":"address"}],"anonymous":false},{"name":"PerformanceFeeUpdated","type":"event","inputs":[{"name":"performanceFee","type":"uint16","indexed":false,"internalType":"uint16"}],"anonymous":false},{"name":"QueueActiveToggled","type":"event","inputs":[{"name":"isQueueActive","type":"bool","indexed":false,"internalType":"bool"}],"anonymous":false},{"name":"QueuedWithdrawal","type":"event","inputs":[{"name":"caller","type":"address","indexed":true,"internalType":"address"},{"name":"receiver","type":"address","indexed":true,"internalType":"address"},{"name":"owner","type":"address","indexed":true,"internalType":"address"},{"name":"assets","type":"uint256","indexed":false,"internalType":"uint256"},{"name":"shares","type":"uint256","indexed":false,"internalType":"uint256"},{"name":"epochID","type":"uint256","indexed":false,"internalType":"uint256"}],"anonymous":false},{"name":"RequestCancelled","type":"event","inputs":[{"name":"owner","type":"address","indexed":true,"internalType":"address"},{"name":"shares","type":"uint256","indexed":false,"internalType":"uint256"},{"name":"epochID","type":"uint256","indexed":false,"internalType":"uint256"}],"anonymous":false},{"name":"RequestClaimed","type":"event","inputs":[{"name":"owner","type":"address","indexed":true,"internalType":"address"},{"name":"assets","type":"uint256","indexed":false,"internalType":"uint256"},{"name":"epochIDs","type":"uint256[]","indexed":false,"internalType":"uint256[]"}],"anonymous":false},{"name":"RequestMovedToNextEpoch","type":"event","inputs":[{"name":"user","type":"address","indexed":true,"internalType":"address"},{"name":"shares","type":"uint256","indexed":false,"internalType":"uint256"},{"name":"currentEpochID","type":"uint256","indexed":false,"internalType":"uint256"},{"name":"nextEpochID","type":"uint256","indexed":false,"internalType":"uint256"}],"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":"StrategyAdded","type":"event","inputs":[{"name":"strategy","type":"address","indexed":false,"internalType":"address"}],"anonymous":false},{"name":"StrategyHalted","type":"event","inputs":[{"name":"strategy","type":"address","indexed":false,"internalType":"address"}],"anonymous":false},{"name":"StrategyRemoved","type":"event","inputs":[{"name":"strategy","type":"address","indexed":false,"internalType":"address"}],"anonymous":false},{"name":"StrategyStatusToggled","type":"event","inputs":[{"name":"strategy","type":"address","indexed":true,"internalType":"address"}],"anonymous":false},{"name":"StrategyYieldAccrued","type":"event","inputs":[{"name":"strategy","type":"address","indexed":true,"internalType":"address"},{"name":"currentTotalAllocatedValue","type":"uint256","indexed":false,"internalType":"uint256"},{"name":"yield","type":"uint256","indexed":false,"internalType":"uint256"},{"name":"loss","type":"uint256","indexed":false,"internalType":"uint256"}],"anonymous":false},{"name":"Transfer","type":"event","inputs":[{"name":"from","type":"address","indexed":true,"internalType":"address"},{"name":"to","type":"address","indexed":true,"internalType":"address"},{"name":"value","type":"uint256","indexed":false,"internalType":"uint256"}],"anonymous":false},{"name":"Withdraw","type":"event","inputs":[{"name":"sender","type":"address","indexed":true,"internalType":"address"},{"name":"receiver","type":"address","indexed":true,"internalType":"address"},{"name":"owner","type":"address","indexed":true,"internalType":"address"},{"name":"assets","type":"uint256","indexed":false,"internalType":"uint256"},{"name":"shares","type":"uint256","indexed":false,"internalType":"uint256"}],"anonymous":false},{"name":"WithdrawLimitsUpdated","type":"event","inputs":[{"name":"maxWithdrawAmount","type":"uint256","indexed":false,"internalType":"uint256"},{"name":"minWithdrawAmount","type":"uint256","indexed":false,"internalType":"uint256"}],"anonymous":false},{"name":"WithdrawalQueueInitialized","type":"event","inputs":[{"name":"epochID","type":"uint256","indexed":false,"internalType":"uint256"}],"anonymous":false},{"name":"YieldAccrued","type":"event","inputs":[{"name":"totalPositiveYield","type":"uint256","indexed":false,"internalType":"uint256"},{"name":"totalNegativeYield","type":"uint256","indexed":false,"internalType":"uint256"}],"anonymous":false},{"name":"DEFAULT_ADMIN_ROLE","type":"function","inputs":[],"outputs":[{"name":"","type":"bytes32","internalType":"bytes32"}],"stateMutability":"view"},{"name":"accrueYield","type":"function","inputs":[],"outputs":[],"stateMutability":"nonpayable"},{"name":"addStrategy","type":"function","inputs":[{"name":"strategy","type":"address","internalType":"address"}],"outputs":[],"stateMutability":"nonpayable"},{"name":"allocate","type":"function","inputs":[{"name":"data","type":"bytes","internalType":"bytes"}],"outputs":[],"stateMutability":"nonpayable"},{"name":"allocateModule","type":"function","inputs":[],"outputs":[{"name":"","type":"address","internalType":"address"}],"stateMutability":"view"},{"name":"allowance","type":"function","inputs":[{"name":"owner","type":"address","internalType":"address"},{"name":"spender","type":"address","internalType":"address"}],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"approve","type":"function","inputs":[{"name":"spender","type":"address","internalType":"address"},{"name":"value","type":"uint256","internalType":"uint256"}],"outputs":[{"name":"","type":"bool","internalType":"bool"}],"stateMutability":"nonpayable"},{"name":"asset","type":"function","inputs":[],"outputs":[{"name":"","type":"address","internalType":"address"}],"stateMutability":"view"},{"name":"balanceOf","type":"function","inputs":[{"name":"account","type":"address","internalType":"address"}],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"cachedTotalAssets","type":"function","inputs":[],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"cancelRequest","type":"function","inputs":[{"name":"epochID","type":"uint256","internalType":"uint256"}],"outputs":[],"stateMutability":"nonpayable"},{"name":"cancelRequest","type":"function","inputs":[{"name":"user","type":"address","internalType":"address"},{"name":"epochID","type":"uint256","internalType":"uint256"}],"outputs":[],"stateMutability":"nonpayable"},{"name":"claimUsersBatch","type":"function","inputs":[{"name":"users","type":"address[]","internalType":"address[]"},{"name":"epochID","type":"uint256","internalType":"uint256"}],"outputs":[],"stateMutability":"nonpayable"},{"name":"claimWithdrawal","type":"function","inputs":[{"name":"epochIDs","type":"uint256[]","internalType":"uint256[]"}],"outputs":[],"stateMutability":"nonpayable"},{"name":"claimWithdrawal","type":"function","inputs":[{"name":"user","type":"address","internalType":"address"},{"name":"epochIDs","type":"uint256[]","internalType":"uint256[]"}],"outputs":[],"stateMutability":"nonpayable"},{"name":"closeEpoch","type":"function","inputs":[],"outputs":[],"stateMutability":"nonpayable"},{"name":"convertToAssets","type":"function","inputs":[{"name":"shares","type":"uint256","internalType":"uint256"}],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"convertToShares","type":"function","inputs":[{"name":"assets","type":"uint256","internalType":"uint256"}],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"decimals","type":"function","inputs":[],"outputs":[{"name":"","type":"uint8","internalType":"uint8"}],"stateMutability":"view"},{"name":"deposit","type":"function","inputs":[{"name":"assets","type":"uint256","internalType":"uint256"},{"name":"receiver","type":"address","internalType":"address"}],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"nonpayable"},{"name":"factory","type":"function","inputs":[],"outputs":[{"name":"","type":"address","internalType":"address"}],"stateMutability":"view"},{"name":"getDeallocationOrder","type":"function","inputs":[],"outputs":[{"name":"order","type":"address[]","internalType":"address[]"}],"stateMutability":"view"},{"name":"getDepositLimits","type":"function","inputs":[],"outputs":[{"name":"","type":"uint256","internalType":"uint256"},{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"getEpochPricePerShare","type":"function","inputs":[{"name":"epochID","type":"uint256","internalType":"uint256"}],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"getEpochState","type":"function","inputs":[{"name":"epochID","type":"uint256","internalType":"uint256"}],"outputs":[{"name":"","type":"uint8","internalType":"enum IConcreteAsyncVaultImpl.EpochState"}],"stateMutability":"view"},{"name":"getFeeConfig","type":"function","inputs":[],"outputs":[{"name":"currentManagementFee","type":"uint16","internalType":"uint16"},{"name":"currentManagementFeeRecipient","type":"address","internalType":"address"},{"name":"currentLastManagementFeeAccrual","type":"uint32","internalType":"uint32"},{"name":"currentPerformanceFee","type":"uint16","internalType":"uint16"},{"name":"currentPerformanceFeeRecipient","type":"address","internalType":"address"}],"stateMutability":"view"},{"name":"getRoleAdmin","type":"function","inputs":[{"name":"role","type":"bytes32","internalType":"bytes32"}],"outputs":[{"name":"","type":"bytes32","internalType":"bytes32"}],"stateMutability":"view"},{"name":"getRoleMember","type":"function","inputs":[{"name":"role","type":"bytes32","internalType":"bytes32"},{"name":"index","type":"uint256","internalType":"uint256"}],"outputs":[{"name":"","type":"address","internalType":"address"}],"stateMutability":"view"},{"name":"getRoleMemberCount","type":"function","inputs":[{"name":"role","type":"bytes32","internalType":"bytes32"}],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"getRoleMembers","type":"function","inputs":[{"name":"role","type":"bytes32","internalType":"bytes32"}],"outputs":[{"name":"","type":"address[]","internalType":"address[]"}],"stateMutability":"view"},{"name":"getStrategies","type":"function","inputs":[],"outputs":[{"name":"","type":"address[]","internalType":"address[]"}],"stateMutability":"view"},{"name":"getStrategyData","type":"function","inputs":[{"name":"strategy","type":"address","internalType":"address"}],"outputs":[{"name":"","type":"tuple","components":[{"name":"status","type":"uint8","internalType":"enum IConcreteStandardVaultImpl.StrategyStatus"},{"name":"allocated","type":"uint120","internalType":"uint120"}],"internalType":"struct IConcreteStandardVaultImpl.StrategyData"}],"stateMutability":"view"},{"name":"getTotalAllocated","type":"function","inputs":[],"outputs":[{"name":"totalAllocated","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"getUserEpochRequest","type":"function","inputs":[{"name":"user","type":"address","internalType":"address"},{"name":"epochID","type":"uint256","internalType":"uint256"}],"outputs":[{"name":"shares","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"getUserEpochRequestInAssets","type":"function","inputs":[{"name":"user","type":"address","internalType":"address"},{"name":"epochID","type":"uint256","internalType":"uint256"}],"outputs":[{"name":"assets","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"getWithdrawLimits","type":"function","inputs":[],"outputs":[{"name":"","type":"uint256","internalType":"uint256"},{"name":"","type":"uint256","internalType":"uint256"}],"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":"initialize","type":"function","inputs":[{"name":"initialVersion","type":"uint64","internalType":"uint64"},{"name":"owner_","type":"address","internalType":"address"},{"name":"data","type":"bytes","internalType":"bytes"}],"outputs":[],"stateMutability":"nonpayable"},{"name":"isQueueActive","type":"function","inputs":[],"outputs":[{"name":"","type":"bool","internalType":"bool"}],"stateMutability":"view"},{"name":"latestEpochID","type":"function","inputs":[],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"managementFee","type":"function","inputs":[],"outputs":[{"name":"","type":"address","internalType":"address"},{"name":"","type":"uint16","internalType":"uint16"},{"name":"","type":"uint32","internalType":"uint32"}],"stateMutability":"view"},{"name":"maxDeposit","type":"function","inputs":[{"name":"","type":"address","internalType":"address"}],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"maxMint","type":"function","inputs":[{"name":"","type":"address","internalType":"address"}],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"maxRedeem","type":"function","inputs":[{"name":"owner","type":"address","internalType":"address"}],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"maxWithdraw","type":"function","inputs":[{"name":"owner","type":"address","internalType":"address"}],"outputs":[{"name":"maxAssets","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"mint","type":"function","inputs":[{"name":"shares","type":"uint256","internalType":"uint256"},{"name":"receiver","type":"address","internalType":"address"}],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"nonpayable"},{"name":"moveRequestToNextEpoch","type":"function","inputs":[{"name":"user","type":"address","internalType":"address"}],"outputs":[],"stateMutability":"nonpayable"},{"name":"name","type":"function","inputs":[],"outputs":[{"name":"","type":"string","internalType":"string"}],"stateMutability":"view"},{"name":"owner","type":"function","inputs":[],"outputs":[{"name":"","type":"address","internalType":"address"}],"stateMutability":"view"},{"name":"pastEpochsUnclaimedAssets","type":"function","inputs":[],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"performanceFee","type":"function","inputs":[],"outputs":[{"name":"","type":"address","internalType":"address"},{"name":"","type":"uint16","internalType":"uint16"}],"stateMutability":"view"},{"name":"previewAccrueYield","type":"function","inputs":[],"outputs":[{"name":"","type":"uint256","internalType":"uint256"},{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"previewDeposit","type":"function","inputs":[{"name":"assets","type":"uint256","internalType":"uint256"}],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"previewMint","type":"function","inputs":[{"name":"shares","type":"uint256","internalType":"uint256"}],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"previewRedeem","type":"function","inputs":[{"name":"shares","type":"uint256","internalType":"uint256"}],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"previewWithdraw","type":"function","inputs":[{"name":"assets","type":"uint256","internalType":"uint256"}],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"processEpoch","type":"function","inputs":[],"outputs":[],"stateMutability":"nonpayable"},{"name":"redeem","type":"function","inputs":[{"name":"shares","type":"uint256","internalType":"uint256"},{"name":"receiver","type":"address","internalType":"address"},{"name":"owner","type":"address","internalType":"address"}],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"nonpayable"},{"name":"removeStrategy","type":"function","inputs":[{"name":"strategy","type":"address","internalType":"address"}],"outputs":[],"stateMutability":"nonpayable"},{"name":"renounceOwnership","type":"function","inputs":[],"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":"setDeallocationOrder","type":"function","inputs":[{"name":"order","type":"address[]","internalType":"address[]"}],"outputs":[],"stateMutability":"nonpayable"},{"name":"setDepositLimits","type":"function","inputs":[{"name":"minDepositAmount","type":"uint256","internalType":"uint256"},{"name":"maxDepositAmount","type":"uint256","internalType":"uint256"}],"outputs":[],"stateMutability":"nonpayable"},{"name":"setHooks","type":"function","inputs":[{"name":"hooks","type":"tuple","components":[{"name":"target","type":"address","internalType":"address"},{"name":"flags","type":"uint96","internalType":"uint96"}],"internalType":"struct Hooks"}],"outputs":[],"stateMutability":"nonpayable"},{"name":"setWithdrawLimits","type":"function","inputs":[{"name":"minWithdrawAmount","type":"uint256","internalType":"uint256"},{"name":"maxWithdrawAmount","type":"uint256","internalType":"uint256"}],"outputs":[],"stateMutability":"nonpayable"},{"name":"supportsInterface","type":"function","inputs":[{"name":"interfaceId","type":"bytes4","internalType":"bytes4"}],"outputs":[{"name":"","type":"bool","internalType":"bool"}],"stateMutability":"view"},{"name":"symbol","type":"function","inputs":[],"outputs":[{"name":"","type":"string","internalType":"string"}],"stateMutability":"view"},{"name":"toggleQueueActive","type":"function","inputs":[],"outputs":[],"stateMutability":"nonpayable"},{"name":"toggleStrategyStatus","type":"function","inputs":[{"name":"strategy","type":"address","internalType":"address"}],"outputs":[],"stateMutability":"nonpayable"},{"name":"totalAssets","type":"function","inputs":[],"outputs":[{"name":"totalAssetsWithYield","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"totalRequestedSharesForCurrentEpochs","type":"function","inputs":[],"outputs":[{"name":"","type":"uint256","internalType":"uint256"},{"name":"","type":"uint256","internalType":"uint256"},{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"totalRequestedSharesPerEpoch","type":"function","inputs":[{"name":"epochID","type":"uint256","internalType":"uint256"}],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"totalSupply","type":"function","inputs":[],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"transfer","type":"function","inputs":[{"name":"to","type":"address","internalType":"address"},{"name":"value","type":"uint256","internalType":"uint256"}],"outputs":[{"name":"","type":"bool","internalType":"bool"}],"stateMutability":"nonpayable"},{"name":"transferFrom","type":"function","inputs":[{"name":"from","type":"address","internalType":"address"},{"name":"to","type":"address","internalType":"address"},{"name":"value","type":"uint256","internalType":"uint256"}],"outputs":[{"name":"","type":"bool","internalType":"bool"}],"stateMutability":"nonpayable"},{"name":"transferOwnership","type":"function","inputs":[{"name":"newOwner","type":"address","internalType":"address"}],"outputs":[],"stateMutability":"nonpayable"},{"name":"updateManagementFee","type":"function","inputs":[{"name":"managementFee_","type":"uint16","internalType":"uint16"}],"outputs":[],"stateMutability":"nonpayable"},{"name":"updateManagementFeeRecipient","type":"function","inputs":[{"name":"recipient","type":"address","internalType":"address"}],"outputs":[],"stateMutability":"nonpayable"},{"name":"updatePerformanceFee","type":"function","inputs":[{"name":"performanceFee_","type":"uint16","internalType":"uint16"}],"outputs":[],"stateMutability":"nonpayable"},{"name":"updatePerformanceFeeRecipient","type":"function","inputs":[{"name":"recipient","type":"address","internalType":"address"}],"outputs":[],"stateMutability":"nonpayable"},{"name":"upgrade","type":"function","inputs":[{"name":"newVersion","type":"uint64","internalType":"uint64"},{"name":"data","type":"bytes","internalType":"bytes"}],"outputs":[],"stateMutability":"nonpayable"},{"name":"version","type":"function","inputs":[],"outputs":[{"name":"","type":"uint64","internalType":"uint64"}],"stateMutability":"view"},{"name":"withdraw","type":"function","inputs":[{"name":"assets","type":"uint256","internalType":"uint256"},{"name":"receiver","type":"address","internalType":"address"},{"name":"owner","type":"address","internalType":"address"}],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"nonpayable"}],"metadata":"{\"compiler\":{\"version\":\"0.8.27+commit.40a35a09\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[{\"internalType\":\"address\",\"name\":\"factory\",\"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\":\"target\",\"type\":\"address\"}],\"name\":\"AddressEmptyCode\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"AlreadyInitialized\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"assets\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"minDepositAmount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"maxDepositAmount\",\"type\":\"uint256\"}],\"name\":\"AssetAmountOutOfBounds\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"CannotToggleInactiveStrategy\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"allowance\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"needed\",\"type\":\"uint256\"}],\"name\":\"ERC20InsufficientAllowance\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"balance\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"needed\",\"type\":\"uint256\"}],\"name\":\"ERC20InsufficientBalance\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"approver\",\"type\":\"address\"}],\"name\":\"ERC20InvalidApprover\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"receiver\",\"type\":\"address\"}],\"name\":\"ERC20InvalidReceiver\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"}],\"name\":\"ERC20InvalidSender\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"}],\"name\":\"ERC20InvalidSpender\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"receiver\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"assets\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"max\",\"type\":\"uint256\"}],\"name\":\"ERC4626ExceededMaxDeposit\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"receiver\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"shares\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"max\",\"type\":\"uint256\"}],\"name\":\"ERC4626ExceededMaxMint\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"shares\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"max\",\"type\":\"uint256\"}],\"name\":\"ERC4626ExceededMaxRedeem\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"assets\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"max\",\"type\":\"uint256\"}],\"name\":\"ERC4626ExceededMaxWithdraw\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"EmptyEpochIDs\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"EmptyUsers\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"epochID\",\"type\":\"uint256\"}],\"name\":\"EpochAlreadyClosed\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"epochID\",\"type\":\"uint256\"}],\"name\":\"EpochAlreadyProcessed\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"epochID\",\"type\":\"uint256\"}],\"name\":\"EpochNotProcessed\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"epochID\",\"type\":\"uint256\"}],\"name\":\"EpochStillOpen\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"FailedCall\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"FeeRecipientNotSet\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InsufficientAssets\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InsufficientBalance\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InsufficientShares\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InvalidAllocateModule\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InvalidAsset\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InvalidDepositLimits\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InvalidFactoryOwner\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InvalidFeeRecipient\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InvalidInitialVaultManager\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InvalidInitialization\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InvalidName\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InvalidReceiver\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InvalidStrategyAsset\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InvalidSymbol\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InvalidWithdrawLimits\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"ManagementFeeExceedsMaximum\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"NoClaimableRequest\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"NoRedeemableAssets\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"NoRequestingShares\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"NotFactory\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"NotInitialized\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"NotInitializing\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"}],\"name\":\"OwnableInvalidOwner\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"OwnableUnauthorizedAccount\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"PerformanceFeeExceedsMaximum\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"epochID\",\"type\":\"uint256\"}],\"name\":\"PreviousEpochAlreadyProcessed\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"epochID\",\"type\":\"uint256\"}],\"name\":\"PreviousEpochNotProcessed\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"ReentrancyGuardReentrantCall\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"uint8\",\"name\":\"bits\",\"type\":\"uint8\"},{\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"SafeCastOverflowedUintDowncast\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"}],\"name\":\"SafeERC20FailedOperation\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"StrategyAlreadyAdded\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"StrategyAlreadyHalted\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"StrategyDoesNotExist\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"StrategyHasAllocation\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"StrategyIsHalted\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"ZeroAddress\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"ZeroShares\",\"type\":\"error\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"Approval\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[],\"name\":\"DeallocationOrderUpdated\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"assets\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"shares\",\"type\":\"uint256\"}],\"name\":\"Deposit\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"maxDepositAmount\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"minDepositAmount\",\"type\":\"uint256\"}],\"name\":\"DepositLimitsUpdated\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"epochID\",\"type\":\"uint256\"}],\"name\":\"EpochClosed\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"epochID\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"shares\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"assets\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"sharePrice\",\"type\":\"uint256\"}],\"name\":\"EpochProcessed\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"target\",\"type\":\"address\"},{\"internalType\":\"uint96\",\"name\":\"flags\",\"type\":\"uint96\"}],\"indexed\":false,\"internalType\":\"struct Hooks\",\"name\":\"hooks\",\"type\":\"tuple\"}],\"name\":\"HooksSet\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint64\",\"name\":\"version\",\"type\":\"uint64\"}],\"name\":\"Initialized\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"shares\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"feeAmount\",\"type\":\"uint256\"}],\"name\":\"ManagementFeeAccrued\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"managementFeeRecipient\",\"type\":\"address\"}],\"name\":\"ManagementFeeRecipientUpdated\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint16\",\"name\":\"managementFee\",\"type\":\"uint16\"}],\"name\":\"ManagementFeeUpdated\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"previousOwner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"OwnershipTransferred\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"shares\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"feeAmount\",\"type\":\"uint256\"}],\"name\":\"PerformanceFeeAccrued\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"performanceFeeRecipient\",\"type\":\"address\"}],\"name\":\"PerformanceFeeRecipientUpdated\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint16\",\"name\":\"performanceFee\",\"type\":\"uint16\"}],\"name\":\"PerformanceFeeUpdated\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"bool\",\"name\":\"isQueueActive\",\"type\":\"bool\"}],\"name\":\"QueueActiveToggled\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"caller\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"receiver\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"assets\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"shares\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"epochID\",\"type\":\"uint256\"}],\"name\":\"QueuedWithdrawal\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"shares\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"epochID\",\"type\":\"uint256\"}],\"name\":\"RequestCancelled\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"assets\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256[]\",\"name\":\"epochIDs\",\"type\":\"uint256[]\"}],\"name\":\"RequestClaimed\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"user\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"shares\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"currentEpochID\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"nextEpochID\",\"type\":\"uint256\"}],\"name\":\"RequestMovedToNextEpoch\",\"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\":\"strategy\",\"type\":\"address\"}],\"name\":\"StrategyAdded\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"strategy\",\"type\":\"address\"}],\"name\":\"StrategyHalted\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"strategy\",\"type\":\"address\"}],\"name\":\"StrategyRemoved\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"strategy\",\"type\":\"address\"}],\"name\":\"StrategyStatusToggled\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"strategy\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"currentTotalAllocatedValue\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"yield\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"loss\",\"type\":\"uint256\"}],\"name\":\"StrategyYieldAccrued\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"Transfer\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"receiver\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"assets\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"shares\",\"type\":\"uint256\"}],\"name\":\"Withdraw\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"maxWithdrawAmount\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"minWithdrawAmount\",\"type\":\"uint256\"}],\"name\":\"WithdrawLimitsUpdated\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"epochID\",\"type\":\"uint256\"}],\"name\":\"WithdrawalQueueInitialized\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"totalPositiveYield\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"totalNegativeYield\",\"type\":\"uint256\"}],\"name\":\"YieldAccrued\",\"type\":\"event\"},{\"inputs\":[],\"name\":\"DEFAULT_ADMIN_ROLE\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"accrueYield\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"strategy\",\"type\":\"address\"}],\"name\":\"addStrategy\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"}],\"name\":\"allocate\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"allocateModule\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"}],\"name\":\"allowance\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"approve\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"asset\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"balanceOf\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"cachedTotalAssets\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"epochID\",\"type\":\"uint256\"}],\"name\":\"cancelRequest\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"user\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"epochID\",\"type\":\"uint256\"}],\"name\":\"cancelRequest\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address[]\",\"name\":\"users\",\"type\":\"address[]\"},{\"internalType\":\"uint256\",\"name\":\"epochID\",\"type\":\"uint256\"}],\"name\":\"claimUsersBatch\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256[]\",\"name\":\"epochIDs\",\"type\":\"uint256[]\"}],\"name\":\"claimWithdrawal\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"user\",\"type\":\"address\"},{\"internalType\":\"uint256[]\",\"name\":\"epochIDs\",\"type\":\"uint256[]\"}],\"name\":\"claimWithdrawal\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"closeEpoch\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"shares\",\"type\":\"uint256\"}],\"name\":\"convertToAssets\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"assets\",\"type\":\"uint256\"}],\"name\":\"convertToShares\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"decimals\",\"outputs\":[{\"internalType\":\"uint8\",\"name\":\"\",\"type\":\"uint8\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"assets\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"receiver\",\"type\":\"address\"}],\"name\":\"deposit\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"factory\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getDeallocationOrder\",\"outputs\":[{\"internalType\":\"address[]\",\"name\":\"order\",\"type\":\"address[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getDepositLimits\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"epochID\",\"type\":\"uint256\"}],\"name\":\"getEpochPricePerShare\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"epochID\",\"type\":\"uint256\"}],\"name\":\"getEpochState\",\"outputs\":[{\"internalType\":\"enum IConcreteAsyncVaultImpl.EpochState\",\"name\":\"\",\"type\":\"uint8\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getFeeConfig\",\"outputs\":[{\"internalType\":\"uint16\",\"name\":\"currentManagementFee\",\"type\":\"uint16\"},{\"internalType\":\"address\",\"name\":\"currentManagementFeeRecipient\",\"type\":\"address\"},{\"internalType\":\"uint32\",\"name\":\"currentLastManagementFeeAccrual\",\"type\":\"uint32\"},{\"internalType\":\"uint16\",\"name\":\"currentPerformanceFee\",\"type\":\"uint16\"},{\"internalType\":\"address\",\"name\":\"currentPerformanceFeeRecipient\",\"type\":\"address\"}],\"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\":\"uint256\",\"name\":\"index\",\"type\":\"uint256\"}],\"name\":\"getRoleMember\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"}],\"name\":\"getRoleMemberCount\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"}],\"name\":\"getRoleMembers\",\"outputs\":[{\"internalType\":\"address[]\",\"name\":\"\",\"type\":\"address[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getStrategies\",\"outputs\":[{\"internalType\":\"address[]\",\"name\":\"\",\"type\":\"address[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"strategy\",\"type\":\"address\"}],\"name\":\"getStrategyData\",\"outputs\":[{\"components\":[{\"internalType\":\"enum IConcreteStandardVaultImpl.StrategyStatus\",\"name\":\"status\",\"type\":\"uint8\"},{\"internalType\":\"uint120\",\"name\":\"allocated\",\"type\":\"uint120\"}],\"internalType\":\"struct IConcreteStandardVaultImpl.StrategyData\",\"name\":\"\",\"type\":\"tuple\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getTotalAllocated\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"totalAllocated\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"user\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"epochID\",\"type\":\"uint256\"}],\"name\":\"getUserEpochRequest\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"shares\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"user\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"epochID\",\"type\":\"uint256\"}],\"name\":\"getUserEpochRequestInAssets\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"assets\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getWithdrawLimits\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"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\":\"uint64\",\"name\":\"initialVersion\",\"type\":\"uint64\"},{\"internalType\":\"address\",\"name\":\"owner_\",\"type\":\"address\"},{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"}],\"name\":\"initialize\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"isQueueActive\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"latestEpochID\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"managementFee\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"uint16\",\"name\":\"\",\"type\":\"uint16\"},{\"internalType\":\"uint32\",\"name\":\"\",\"type\":\"uint32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"maxDeposit\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"maxMint\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"}],\"name\":\"maxRedeem\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"}],\"name\":\"maxWithdraw\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"maxAssets\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"shares\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"receiver\",\"type\":\"address\"}],\"name\":\"mint\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"user\",\"type\":\"address\"}],\"name\":\"moveRequestToNextEpoch\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"name\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"owner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"pastEpochsUnclaimedAssets\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"performanceFee\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"uint16\",\"name\":\"\",\"type\":\"uint16\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"previewAccrueYield\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"assets\",\"type\":\"uint256\"}],\"name\":\"previewDeposit\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"shares\",\"type\":\"uint256\"}],\"name\":\"previewMint\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"shares\",\"type\":\"uint256\"}],\"name\":\"previewRedeem\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"assets\",\"type\":\"uint256\"}],\"name\":\"previewWithdraw\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"processEpoch\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"shares\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"receiver\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"}],\"name\":\"redeem\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"strategy\",\"type\":\"address\"}],\"name\":\"removeStrategy\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"renounceOwnership\",\"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\":\"address[]\",\"name\":\"order\",\"type\":\"address[]\"}],\"name\":\"setDeallocationOrder\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"minDepositAmount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"maxDepositAmount\",\"type\":\"uint256\"}],\"name\":\"setDepositLimits\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"target\",\"type\":\"address\"},{\"internalType\":\"uint96\",\"name\":\"flags\",\"type\":\"uint96\"}],\"internalType\":\"struct Hooks\",\"name\":\"hooks\",\"type\":\"tuple\"}],\"name\":\"setHooks\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"minWithdrawAmount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"maxWithdrawAmount\",\"type\":\"uint256\"}],\"name\":\"setWithdrawLimits\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes4\",\"name\":\"interfaceId\",\"type\":\"bytes4\"}],\"name\":\"supportsInterface\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"symbol\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"toggleQueueActive\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"strategy\",\"type\":\"address\"}],\"name\":\"toggleStrategyStatus\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"totalAssets\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"totalAssetsWithYield\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"totalRequestedSharesForCurrentEpochs\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"epochID\",\"type\":\"uint256\"}],\"name\":\"totalRequestedSharesPerEpoch\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"totalSupply\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"transfer\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"transferFrom\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"transferOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint16\",\"name\":\"managementFee_\",\"type\":\"uint16\"}],\"name\":\"updateManagementFee\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"}],\"name\":\"updateManagementFeeRecipient\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint16\",\"name\":\"performanceFee_\",\"type\":\"uint16\"}],\"name\":\"updatePerformanceFee\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"}],\"name\":\"updatePerformanceFeeRecipient\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint64\",\"name\":\"newVersion\",\"type\":\"uint64\"},{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"}],\"name\":\"upgrade\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"version\",\"outputs\":[{\"internalType\":\"uint64\",\"name\":\"\",\"type\":\"uint64\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"assets\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"receiver\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"}],\"name\":\"withdraw\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}],\"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.\"}],\"AddressEmptyCode(address)\":[{\"details\":\"There's no code at `target` (it is not a contract).\"}],\"AssetAmountOutOfBounds(address,uint256,uint256,uint256)\":[{\"details\":\"Thrown when the asset amount is out of bounds.\"}],\"CannotToggleInactiveStrategy()\":[{\"details\":\"Thrown when attempting to toggle the status of an inactive strategy.\"}],\"ERC20InsufficientAllowance(address,uint256,uint256)\":[{\"details\":\"Indicates a failure with the `spender`’s `allowance`. Used in transfers.\",\"params\":{\"allowance\":\"Amount of tokens a `spender` is allowed to operate with.\",\"needed\":\"Minimum amount required to perform a transfer.\",\"spender\":\"Address that may be allowed to operate on tokens without being their owner.\"}}],\"ERC20InsufficientBalance(address,uint256,uint256)\":[{\"details\":\"Indicates an error related to the current `balance` of a `sender`. Used in transfers.\",\"params\":{\"balance\":\"Current balance for the interacting account.\",\"needed\":\"Minimum amount required to perform a transfer.\",\"sender\":\"Address whose tokens are being transferred.\"}}],\"ERC20InvalidApprover(address)\":[{\"details\":\"Indicates a failure with the `approver` of a token to be approved. Used in approvals.\",\"params\":{\"approver\":\"Address initiating an approval operation.\"}}],\"ERC20InvalidReceiver(address)\":[{\"details\":\"Indicates a failure with the token `receiver`. Used in transfers.\",\"params\":{\"receiver\":\"Address to which tokens are being transferred.\"}}],\"ERC20InvalidSender(address)\":[{\"details\":\"Indicates a failure with the token `sender`. Used in transfers.\",\"params\":{\"sender\":\"Address whose tokens are being transferred.\"}}],\"ERC20InvalidSpender(address)\":[{\"details\":\"Indicates a failure with the `spender` to be approved. Used in approvals.\",\"params\":{\"spender\":\"Address that may be allowed to operate on tokens without being their owner.\"}}],\"ERC4626ExceededMaxDeposit(address,uint256,uint256)\":[{\"details\":\"Attempted to deposit more assets than the max amount for `receiver`.\"}],\"ERC4626ExceededMaxMint(address,uint256,uint256)\":[{\"details\":\"Attempted to mint more shares than the max amount for `receiver`.\"}],\"ERC4626ExceededMaxRedeem(address,uint256,uint256)\":[{\"details\":\"Attempted to redeem more shares than the max amount for `receiver`.\"}],\"ERC4626ExceededMaxWithdraw(address,uint256,uint256)\":[{\"details\":\"Attempted to withdraw more assets than the max amount for `receiver`.\"}],\"EmptyEpochIDs()\":[{\"details\":\"Thrown when attempting to claim with empty epoch IDs.\"}],\"EmptyUsers()\":[{\"details\":\"Thrown when attempting to claim with empty users.\"}],\"EpochAlreadyClosed(uint256)\":[{\"details\":\"Thrown when attempting to process an epoch that is already closed.\",\"params\":{\"epochID\":\"The epoch that was already closed.\"}}],\"EpochAlreadyProcessed(uint256)\":[{\"details\":\"Thrown when attempting to cancel a request for an epoch that has already been processed.\"}],\"EpochNotProcessed(uint256)\":[{\"details\":\"Thrown when attempting to roll to next epoch while current epoch is not processed.\"}],\"EpochStillOpen(uint256)\":[{\"details\":\"Thrown when attempting to process an epoch that is still open.\",\"params\":{\"epochID\":\"The epoch that was still open.\"}}],\"FailedCall()\":[{\"details\":\"A call to an address target failed. The target may have reverted.\"}],\"FeeRecipientNotSet()\":[{\"details\":\"Thrown when attempting to set a management fee without setting a recipient first.\"}],\"InsufficientAssets()\":[{\"details\":\"Thrown when calculated assets are zero.\"}],\"InsufficientBalance()\":[{\"details\":\"Thrown when the vault has insufficient balance to process the epoch.\"}],\"InsufficientShares()\":[{\"details\":\"Thrown when calculated shares are zero.\"}],\"InvalidAllocateModule()\":[{\"details\":\"Thrown when the allocate module is invalid.\"}],\"InvalidAsset()\":[{\"details\":\"Thrown when the asset is invalid.\"}],\"InvalidDepositLimits()\":[{\"details\":\"Thrown when the deposit limits are invalid.\"}],\"InvalidFeeRecipient()\":[{\"details\":\"Thrown when attempting to set an invalid fee recipient address (address(0)).\"}],\"InvalidInitialVaultManager()\":[{\"details\":\"Thrown when the initial vault manager is invalid.\"}],\"InvalidInitialization()\":[{\"details\":\"The contract is already initialized.\"}],\"InvalidName()\":[{\"details\":\"Thrown when the name is invalid.\"}],\"InvalidReceiver()\":[{\"details\":\"Thrown when attempting to withdraw to the zero address.\"}],\"InvalidStrategyAsset()\":[{\"details\":\"Thrown when attempting to add a strategy that uses a different asset than the vault.\"}],\"InvalidSymbol()\":[{\"details\":\"Thrown when the symbol is invalid.\"}],\"InvalidWithdrawLimits()\":[{\"details\":\"Thrown when the withdraw limits are invalid.\"}],\"ManagementFeeExceedsMaximum()\":[{\"details\":\"Thrown when attempting to set a management fee that exceeds the maximum allowed.\"}],\"NoClaimableRequest()\":[{\"details\":\"Thrown when attempting to claim a request that is not claimable.\"}],\"NoRedeemableAssets()\":[{\"details\":\"Thrown when there are no redeemable assets available.\"}],\"NoRequestingShares()\":[{\"details\":\"Thrown when attempting to operate on an epoch with no requesting shares.\"}],\"NotInitializing()\":[{\"details\":\"The contract is not initializing.\"}],\"OwnableInvalidOwner(address)\":[{\"details\":\"The owner is not a valid owner account. (eg. `address(0)`)\"}],\"OwnableUnauthorizedAccount(address)\":[{\"details\":\"The caller account is not authorized to perform an operation.\"}],\"PerformanceFeeExceedsMaximum()\":[{\"details\":\"Thrown when attempting to set a performance fee that exceeds the maximum allowed.\"}],\"PreviousEpochAlreadyProcessed(uint256)\":[{\"details\":\"Thrown when attempting to process an epoch that was already processed.\"}],\"PreviousEpochNotProcessed(uint256)\":[{\"details\":\"Thrown when attempting to close an epoch that and previous epoch was not processed.\"}],\"ReentrancyGuardReentrantCall()\":[{\"details\":\"Unauthorized reentrant call.\"}],\"SafeCastOverflowedUintDowncast(uint8,uint256)\":[{\"details\":\"Value doesn't fit in an uint of `bits` size.\"}],\"SafeERC20FailedOperation(address)\":[{\"details\":\"An operation with an ERC-20 token failed.\"}],\"StrategyAlreadyAdded()\":[{\"details\":\"Thrown when attempting to add a strategy that has already been added to the vault.\"}],\"StrategyAlreadyHalted()\":[{\"details\":\"Thrown when attempting to halt a strategy that is already halted.\"}],\"StrategyDoesNotExist()\":[{\"details\":\"Thrown when attempting to operate on a strategy that doesn't exist in the vault.\"}],\"StrategyHasAllocation()\":[{\"details\":\"Thrown when attempting to remove a strategy that has allocation or is in the deallocation order.\"}],\"StrategyIsHalted()\":[{\"details\":\"Thrown when attempting to interact with a strategy that is halted.\"}],\"ZeroAddress()\":[{\"details\":\"Thrown when attempting to operate on a zero address.\"}],\"ZeroShares()\":[{\"details\":\"Thrown when attempting to withdraw zero shares.\"}]},\"events\":{\"Approval(address,address,uint256)\":{\"details\":\"Emitted when the allowance of a `spender` for an `owner` is set by a call to {approve}. `value` is the new allowance.\"},\"DeallocationOrderUpdated()\":{\"details\":\"Emitted when the deallocation order is updated.\"},\"DepositLimitsUpdated(uint256,uint256)\":{\"details\":\"Emitted when deposit limits are updated.\",\"params\":{\"maxDepositAmount\":\"The new maximum deposit amount.\",\"minDepositAmount\":\"The new minimum deposit amount.\"}},\"EpochClosed(uint256)\":{\"details\":\"Emitted when an epoch is closed.\",\"params\":{\"epochID\":\"The epoch that was closed.\"}},\"EpochProcessed(uint256,uint256,uint256,uint256)\":{\"details\":\"Emitted when an epoch's withdrawal requests are processed.\",\"params\":{\"assets\":\"The total assets reserved for the epoch.\",\"epochID\":\"The epoch ID that was processed.\",\"sharePrice\":\"The share price locked for the epoch.\",\"shares\":\"The total shares processed in the epoch.\"}},\"Initialized(uint64)\":{\"details\":\"Triggered when the contract has been initialized or reinitialized.\"},\"ManagementFeeAccrued(address,uint256,uint256)\":{\"details\":\"Emitted when management fee is accrued.\",\"params\":{\"feeAmount\":\"The asset value of the management fee.\",\"recipient\":\"The address that received the management fee shares.\",\"shares\":\"The number of shares minted as management fee.\"}},\"ManagementFeeRecipientUpdated(address)\":{\"details\":\"Emitted when management fee recipient is updated.\",\"params\":{\"managementFeeRecipient\":\"The new management fee recipient address.\"}},\"ManagementFeeUpdated(uint16)\":{\"details\":\"Emitted when management fee is updated.\",\"params\":{\"managementFee\":\"The new management fee rate in basis points.\"}},\"PerformanceFeeAccrued(address,uint256,uint256)\":{\"details\":\"Emitted when performance fee is accrued.\",\"params\":{\"feeAmount\":\"The asset value of the performance fee.\",\"recipient\":\"The address that received the performance fee shares.\",\"shares\":\"The number of shares minted as performance fee.\"}},\"PerformanceFeeRecipientUpdated(address)\":{\"details\":\"Emitted when performance fee recipient is updated.\",\"params\":{\"performanceFeeRecipient\":\"The new performance fee recipient address.\"}},\"PerformanceFeeUpdated(uint16)\":{\"details\":\"Emitted when performance fee is updated.\",\"params\":{\"performanceFee\":\"The new performance fee rate in basis points.\"}},\"QueueActiveToggled(bool)\":{\"details\":\"Emitted when the queue is toggled.\",\"params\":{\"isQueueActive\":\"The active status of the queue.\"}},\"QueuedWithdrawal(address,address,address,uint256,uint256,uint256)\":{\"details\":\"Emitted when a user submits a withdrawal request that is queued for epoch processing.\",\"params\":{\"assets\":\"The amount of assets requested for withdrawal.\",\"epochID\":\"The epoch in which the request was queued.\",\"owner\":\"The address of the user making the request.\",\"shares\":\"The amount of shares transferred to the vault for the request.\"}},\"RequestCancelled(address,uint256,uint256)\":{\"details\":\"Emitted when a user cancels their pending withdrawal request.\",\"params\":{\"epochID\":\"The epoch from which the request was cancelled.\",\"owner\":\"The address of the user cancelling the request.\",\"shares\":\"The amount of shares returned to the user.\"}},\"RequestClaimed(address,uint256,uint256[])\":{\"details\":\"Emitted when a user claims their processed withdrawal request.\",\"params\":{\"assets\":\"The amount of assets transferred to the user.\",\"epochIDs\":\"The epoch IDs from which the request was claimed.\",\"owner\":\"The address of the user claiming the withdrawal.\"}},\"RequestMovedToNextEpoch(address,uint256,uint256,uint256)\":{\"details\":\"Emitted when a user's request is moved to the next epoch.\",\"params\":{\"currentEpochID\":\"The epoch from which the request was moved.\",\"nextEpochID\":\"The epoch to which the request was moved.\",\"shares\":\"The amount of shares moved.\",\"user\":\"The address of the user whose request was moved.\"}},\"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 signaling 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`)\"},\"StrategyAdded(address)\":{\"details\":\"Emitted when a new strategy is successfully added to the vault.\",\"params\":{\"strategy\":\"The address of the strategy contract that was added.\"}},\"StrategyHalted(address)\":{\"details\":\"Emitted when a strategy is set to Halted status.\",\"params\":{\"strategy\":\"The address of the strategy contract that was halted.\"}},\"StrategyRemoved(address)\":{\"details\":\"Emitted when a strategy is successfully removed from the vault.\",\"params\":{\"strategy\":\"The address of the strategy contract that was removed.\"}},\"StrategyStatusToggled(address)\":{\"details\":\"Emitted when a strategy's status is toggled between Active and Halted.\",\"params\":{\"strategy\":\"The address of the strategy contract whose status was toggled.\"}},\"StrategyYieldAccrued(address,uint256,uint256,uint256)\":{\"details\":\"Emitted when an individual strategy's yield is accrued.\",\"params\":{\"currentTotalAllocatedValue\":\"The current total allocated value reported by the strategy.\",\"loss\":\"The amount of loss incurred by this strategy since last accrual.\",\"strategy\":\"The address of the strategy contract whose yield was accrued.\",\"yield\":\"The amount of positive yield generated by this strategy since last accrual.\"}},\"Transfer(address,address,uint256)\":{\"details\":\"Emitted when `value` tokens are moved from one account (`from`) to another (`to`). Note that `value` may be zero.\"},\"WithdrawLimitsUpdated(uint256,uint256)\":{\"details\":\"Emitted when withdraw limits are updated.\",\"params\":{\"maxWithdrawAmount\":\"The new maximum withdraw amount.\",\"minWithdrawAmount\":\"The new minimum withdraw amount.\"}},\"WithdrawalQueueInitialized(uint256)\":{\"details\":\"Emitted when the withdrawal queue is initialized.\",\"params\":{\"epochID\":\"The initial epoch ID.\"}},\"YieldAccrued(uint256,uint256)\":{\"details\":\"Emitted when the yield accrual operation is completed across all strategies.\",\"params\":{\"totalNegativeYield\":\"The total amount of losses incurred across all strategies.\",\"totalPositiveYield\":\"The total amount of positive yield generated across all strategies.\"}}},\"kind\":\"dev\",\"methods\":{\"accrueYield()\":{\"details\":\"This function updates the vault's internal accounting by querying the current      value of all strategy allocations and calculating net yield or losses.This function can be called by anyone to update the vault's accounting.The yield accrual operation does not trigger actual fund movements, it only         updates the vault's internal state to reflect current strategy values.\"},\"addStrategy(address)\":{\"details\":\"Adds a new strategy to the vault.The strategy must implement the IStrategyTemplate interface and use the same underlying asset as the vault.Only callable by accounts with the STRATEGY_MANAGER role.\",\"params\":{\"strategy\":\"The address of the strategy contract to add. Requirements: - The strategy's asset() must match the vault's asset() - The strategy must not already be added to the vault - Caller must have STRATEGY_MANAGER role Emits: - StrategyAdded event Reverts: - InvalidStrategyAsset if strategy uses different asset - StrategyAlreadyAdded if strategy is already in the vault\"}},\"allocate(bytes)\":{\"details\":\"This function performs a yield accrual operation first to update vault accounting,      then executes the allocation operations specified in the data parameter.All operations are performed via delegatecall to the respective modules to maintain      proper storage context and access control.Only callable by accounts with the ALLOCATOR role.The function automatically triggers yield accrual before allocation to ensure         accurate vault accounting prior to fund movements.\",\"params\":{\"data\":\"ABI-encoded array of AllocateParams structures containing the allocation             operations to execute. Each param specifies whether to allocate or deallocate             funds, which strategy to use, and any additional data required by the strategy.\"}},\"allocateModule()\":{\"details\":\"Returns the address of the allocate module.\",\"returns\":{\"_0\":\"The address of the allocate module.\"}},\"allowance(address,address)\":{\"details\":\"See {IERC20-allowance}.\"},\"approve(address,uint256)\":{\"details\":\"See {IERC20-approve}. NOTE: If `value` is the maximum `uint256`, the allowance is not updated on `transferFrom`. This is semantically equivalent to an infinite approval. Requirements: - `spender` cannot be the zero address.\"},\"asset()\":{\"details\":\"See {IERC4626-asset}. \"},\"balanceOf(address)\":{\"details\":\"See {IERC20-balanceOf}.\"},\"cachedTotalAssets()\":{\"details\":\"Returns the cached value of total assets after the last call.\",\"returns\":{\"_0\":\"The cached value of total assets after the last call.\"}},\"cancelRequest(address,uint256)\":{\"details\":\"Users can only cancel requests from epochs that haven't been processed yet (no price locked)Returns shares back to the user and updates epoch accounting\",\"params\":{\"epochID\":\"The epoch ID from which to cancel the request\",\"user\":\"The user address to cancel the request for\"}},\"cancelRequest(uint256)\":{\"details\":\"Users can only cancel requests from epochs that haven't been processed yet (no price locked)Returns shares back to the user and updates epoch accounting\",\"params\":{\"epochID\":\"The epoch ID from which to cancel the request\"}},\"claimWithdrawal(address,uint256[])\":{\"details\":\"Processes each epoch internally, aggregates assets and shares, then burns and transfers onceMore gas efficient than claiming epochs individuallySkips epochs with no claimable amounts (zero shares or unprocessed epochs)\",\"params\":{\"epochIDs\":\"Array of epoch IDs to claim from\",\"user\":\"The user address to claim from\"}},\"claimWithdrawal(uint256[])\":{\"details\":\"Processes each epoch internally, aggregates assets and shares, then burns and transfers onceMore gas efficient than claiming epochs individuallySkips epochs with no claimable amounts (zero shares or unprocessed epochs)\",\"params\":{\"epochIDs\":\"Array of epoch IDs to claim from\"}},\"closeEpoch()\":{\"details\":\"Only callable by WITHDRAWAL_MANAGER roleCloses the current epoch and increments the epoch IDCan only be called if the previous epoch is processed (!)\"},\"convertToAssets(uint256)\":{\"details\":\"See {IERC4626-convertToAssets}. \"},\"convertToShares(uint256)\":{\"details\":\"See {IERC4626-convertToShares}. \"},\"decimals()\":{\"details\":\"Decimals are computed by adding the decimal offset on top of the underlying asset's decimals. This \\\"original\\\" value is cached during construction of the vault contract. If this read operation fails (e.g., the asset has not been created yet), a default of 18 is used to represent the underlying asset's decimals. See {IERC20Metadata-decimals}.\"},\"deposit(uint256,address)\":{\"details\":\"Mints shares Vault shares to receiver by depositing exactly amount of underlying tokens. - MUST emit the Deposit event. - MAY support an additional flow in which the underlying tokens are owned by the Vault contract before the   deposit execution, and are accounted for during deposit. - MUST revert if all of assets cannot be deposited (due to deposit limit being reached, slippage, the user not   approving enough underlying tokens to the Vault contract, etc). NOTE: most implementations will require pre-approval of the Vault with the Vault’s underlying asset token.\"},\"getDepositLimits()\":{\"details\":\"Returns the deposit limits.\",\"returns\":{\"_0\":\"The maximum deposit amount.\",\"_1\":\"The minimum deposit amount.\"}},\"getEpochPricePerShare(uint256)\":{\"details\":\"Returns the share price that was locked when the epoch was processedReturns 0 if the epoch has not been processed yet\",\"params\":{\"epochID\":\"The epoch ID to check\"},\"returns\":{\"_0\":\"The share price locked when the epoch was processed (in assets per 1e18 shares)\"}},\"getEpochState(uint256)\":{\"details\":\"Returns the state of an epoch\",\"params\":{\"epochID\":\"The epoch ID to check\"},\"returns\":{\"_0\":\"The state of the epoch\"}},\"getFeeConfig()\":{\"returns\":{\"currentLastManagementFeeAccrual\":\"The timestamp of the last management fee accrual.\",\"currentManagementFee\":\"The current management fee in basis points.\",\"currentManagementFeeRecipient\":\"The current management fee recipient address.\",\"currentPerformanceFee\":\"The current performance fee in basis points.\",\"currentPerformanceFeeRecipient\":\"The current performance fee recipient address.\"}},\"getRoleAdmin(bytes32)\":{\"details\":\"Returns the admin role that controls `role`. See {grantRole} and {revokeRole}. To change a role's admin, use {_setRoleAdmin}.\"},\"getRoleMember(bytes32,uint256)\":{\"details\":\"Returns one of the accounts that have `role`. `index` must be a value between 0 and {getRoleMemberCount}, non-inclusive. Role bearers are not sorted in any particular way, and their ordering may change at any point. WARNING: When using {getRoleMember} and {getRoleMemberCount}, make sure you perform all queries on the same block. See the following https://forum.openzeppelin.com/t/iterating-over-elements-on-enumerableset-in-openzeppelin-contracts/2296[forum post] for more information.\"},\"getRoleMemberCount(bytes32)\":{\"details\":\"Returns the number of accounts that have `role`. Can be used together with {getRoleMember} to enumerate all bearers of a role.\"},\"getRoleMembers(bytes32)\":{\"details\":\"Return all accounts that have `role` WARNING: This operation will copy the entire storage to memory, which can be quite expensive. This is designed to mostly be used by view accessors that are queried without any gas fees. Developers should keep in mind that this function has an unbounded cost, and using it as part of a state-changing function may render the function uncallable if the set grows to a point where copying to memory consumes too much gas to fit in a block.\"},\"getStrategies()\":{\"details\":\"Returns an array of all strategy addresses currently managed by the vault.This function provides a way to enumerate all active strategies for external integrations and monitoring.\",\"returns\":{\"_0\":\"An array containing the addresses of all strategies added to the vault. Note: - The returned array includes strategies in all statuses (Active, Inactive, Emergency) - The order of strategies in the array is not guaranteed - Returns an empty array if no strategies have been added\"}},\"getStrategyData(address)\":{\"details\":\"Retrieves the current data and status information for a specific strategy.This function provides read-only access to strategy metadata including allocation amounts and status.\",\"params\":{\"strategy\":\"The address of the strategy contract to query.\"},\"returns\":{\"_0\":\"The StrategyData struct containing the strategy's current status and allocated amount. Note: - Returns default values (Inactive status, 0 allocated) for non-existent strategies - Does not revert for invalid strategy addresses\"}},\"getTotalAllocated()\":{\"details\":\"Returns the total amount of assets allocated to all strategies.\",\"returns\":{\"totalAllocated\":\"The total amount of assets allocated to all strategies.\"}},\"getUserEpochRequest(address,uint256)\":{\"details\":\"Returns the amount of shares requested by the specified user in the epoch\",\"params\":{\"epochID\":\"The epoch ID to check\",\"user\":\"The user address to check\"},\"returns\":{\"shares\":\"The amount of shares requested by the user in the epoch\"}},\"getUserEpochRequestInAssets(address,uint256)\":{\"details\":\"Returns the amount of assets claimable by the caller from the specified epochReturns 0 if epoch is not processed, no request exists, or epoch is current/future\",\"params\":{\"epochID\":\"The epoch ID to check\"},\"returns\":{\"assets\":\"The amount of assets claimable from the epoch\"}},\"getWithdrawLimits()\":{\"details\":\"Returns the withdraw limits.\",\"returns\":{\"_0\":\"The maximum withdraw amount.\",\"_1\":\"The minimum withdraw amount.\"}},\"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`.\"},\"initialize(uint64,address,bytes)\":{\"params\":{\"data\":\"some data to use\",\"initialVersion\":\"initial version of the vault\",\"owner\":\"initial owner of the vault\"}},\"isQueueActive()\":{\"details\":\"Returns true if the queue is active, false otherwise\",\"returns\":{\"_0\":\"The active status of the queue\"}},\"latestEpochID()\":{\"details\":\"New withdrawal requests are queued in this epoch\",\"returns\":{\"_0\":\"The current epoch ID\"}},\"managementFee()\":{\"details\":\"Returns the management fee configuration.\",\"returns\":{\"_0\":\"The address that receives management fees.\",\"_1\":\"The management fee rate in basis points (where 10,000 = 100%).\",\"_2\":\"The timestamp of the last management fee accrual.\"}},\"maxDeposit(address)\":{\"details\":\"See {IERC4626-maxDeposit}. \"},\"maxMint(address)\":{\"details\":\"See {IERC4626-maxMint}. \"},\"maxRedeem(address)\":{\"details\":\"Returns the maximum amount of Vault shares that can be redeemed from the owner balance in the Vault, through a redeem call. - MUST return a limited value if owner is subject to some withdrawal limit or timelock. - MUST return balanceOf(owner) if owner is not subject to any withdrawal limit or timelock. - MUST NOT revert.\"},\"maxWithdraw(address)\":{\"details\":\"Returns the maximum amount of the underlying asset that can be withdrawn from the owner balance in the Vault, through a withdraw call. - MUST return a limited value if owner is subject to some withdrawal limit or timelock. - MUST NOT revert.\"},\"mint(uint256,address)\":{\"details\":\"Mints exactly shares Vault shares to receiver by depositing amount of underlying tokens. - MUST emit the Deposit event. - MAY support an additional flow in which the underlying tokens are owned by the Vault contract before the mint   execution, and are accounted for during mint. - MUST revert if all of shares cannot be minted (due to deposit limit being reached, slippage, the user not   approving enough underlying tokens to the Vault contract, etc). NOTE: most implementations will require pre-approval of the Vault with the Vault’s underlying asset token.\"},\"moveRequestToNextEpoch(address)\":{\"details\":\"Validates inputs, determines amount to move, updates storage for both epochs.\",\"params\":{\"user\":\"The user whose request to move\"}},\"name()\":{\"details\":\"Returns the name of the token.\"},\"owner()\":{\"details\":\"Returns the address of the current owner.\"},\"pastEpochsUnclaimedAssets()\":{\"details\":\"This amount is subtracted from totalAssets() to exclude reserved funds from active vault operations\",\"returns\":{\"_0\":\"The total assets reserved for past epoch claims\"}},\"performanceFee()\":{\"details\":\"Returns the performance fee configuration.\",\"returns\":{\"_0\":\"The address that receives performance fees.\",\"_1\":\"The performance fee rate in basis points (where 10,000 = 100%).\"}},\"previewAccrueYield()\":{\"details\":\"This function simulates the yield accrual operation without actually executing it,      providing a view of what the vault's total assets would be after accounting      for yield and losses across all active strategies.The calculation includes the current lastTotalAssets plus any positive      yield minus any losses that would be realized during yield accrual.This is a view function that does not modify state or trigger any actual      fund movements or strategy interactions.\",\"returns\":{\"_0\":\"The total amount of assets that would be available in the vault after yield accrual,         denominated in the vault's underlying asset token.\",\"_1\":\"The total amount of shares that would be available in the vault after yield accrual,         calculated as current totalSupply + management fee shares.\"}},\"previewDeposit(uint256)\":{\"details\":\"See {IERC4626-previewDeposit}.\"},\"previewMint(uint256)\":{\"details\":\"Allows an on-chain or off-chain user to simulate the effects of their mint at the current block, given current on-chain conditions. - MUST return as close to and no fewer than the exact amount of assets that would be deposited in a mint call   in the same transaction. I.e. mint should return the same or fewer assets as previewMint if called in the   same transaction. - MUST NOT account for mint limits like those returned from maxMint and should always act as though the mint   would be accepted, regardless if the user has enough tokens approved, etc. - MUST be inclusive of deposit fees. Integrators should be aware of the existence of deposit fees. - MUST NOT revert. NOTE: any unfavorable discrepancy between convertToAssets and previewMint SHOULD be considered slippage in share price or some other type of condition, meaning the depositor will lose assets by minting.\"},\"previewRedeem(uint256)\":{\"details\":\"Allows an on-chain or off-chain user to simulate the effects of their redeemption at the current block, given current on-chain conditions. - MUST return as close to and no more than the exact amount of assets that would be withdrawn in a redeem call   in the same transaction. I.e. redeem should return the same or more assets as previewRedeem if called in the   same transaction. - MUST NOT account for redemption limits like those returned from maxRedeem and should always act as though the   redemption would be accepted, regardless if the user has enough shares, etc. - MUST be inclusive of withdrawal fees. Integrators should be aware of the existence of withdrawal fees. - MUST NOT revert. NOTE: any unfavorable discrepancy between convertToAssets and previewRedeem SHOULD be considered slippage in share price or some other type of condition, meaning the depositor will lose assets by redeeming.\"},\"previewWithdraw(uint256)\":{\"details\":\"Allows an on-chain or off-chain user to simulate the effects of their withdrawal at the current block, given current on-chain conditions. - MUST return as close to and no fewer than the exact amount of Vault shares that would be burned in a withdraw   call in the same transaction. I.e. withdraw should return the same or fewer shares as previewWithdraw if   called   in the same transaction. - MUST NOT account for withdrawal limits like those returned from maxWithdraw and should always act as though   the withdrawal would be accepted, regardless if the user has enough shares, etc. - MUST be inclusive of withdrawal fees. Integrators should be aware of the existence of withdrawal fees. - MUST NOT revert. NOTE: any unfavorable discrepancy between convertToShares and previewWithdraw SHOULD be considered slippage in share price or some other type of condition, meaning the depositor will lose assets by depositing.\"},\"processEpoch()\":{\"details\":\"Harvests all strategies to get current accurate pricing before processingCalculates share price and reserves required assets for the epochCan process any epoch with pending requests, enabling historical processingOnly callable by ALLOCATOR role\"},\"redeem(uint256,address,address)\":{\"details\":\"Burns exactly shares from owner and sends assets of underlying tokens to receiver. - MUST emit the Withdraw event. - MAY support an additional flow in which the underlying tokens are owned by the Vault contract before the   redeem execution, and are accounted for during redeem. - MUST revert if all of shares cannot be redeemed (due to withdrawal limit being reached, slippage, the owner   not having enough shares, etc). NOTE: some implementations will require pre-requesting to the Vault before a withdrawal may be performed. Those methods should be performed separately.\"},\"removeStrategy(address)\":{\"details\":\"Removes a strategy from the vault.The strategy can only be removed if it has no allocated funds, unless it's in Halted status.Only callable by accounts with the STRATEGY_MANAGER role.\",\"params\":{\"strategy\":\"The address of the strategy contract to remove. Requirements: - Strategy must exist in the vault - Strategy must have zero allocated funds OR be in Halted status - Caller must have STRATEGY_MANAGER role Emits: - StrategyRemoved event Reverts: - StrategyDoesNotExist if strategy is not in the vault - Custom revert if strategy has allocated funds and is not in Halted status\"}},\"renounceOwnership()\":{\"details\":\"Leaves the contract without owner. It will not be possible to call `onlyOwner` functions. Can only be called by the current owner. NOTE: Renouncing ownership will leave the contract without an owner, thereby disabling any functionality that is only available to the owner.\"},\"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.\"},\"setDepositLimits(uint256,uint256)\":{\"details\":\"Sets the deposit limits.Only callable by accounts with VAULT_MANAGER role.\",\"params\":{\"maxDepositAmount\":\"The maximum deposit amount.\",\"minDepositAmount\":\"The minimum deposit amount.\"}},\"setHooks((address,uint96))\":{\"details\":\"This function sets the hooks for the vault.Only callable by accounts with the HOOK_MANAGER role.\",\"params\":{\"hooks\":\"The hooks to set.\"}},\"setWithdrawLimits(uint256,uint256)\":{\"details\":\"Sets the withdraw limits.Only callable by accounts with VAULT_MANAGER role.\",\"params\":{\"maxWithdrawAmount\":\"The maximum withdraw amount.\",\"minWithdrawAmount\":\"The minimum withdraw amount.\"}},\"supportsInterface(bytes4)\":{\"details\":\"See {IERC165-supportsInterface}.\"},\"symbol()\":{\"details\":\"Returns the symbol of the token, usually a shorter version of the name.\"},\"toggleQueueActive()\":{\"details\":\"Only callable by the ALLOCATOR role\"},\"toggleStrategyStatus(address)\":{\"details\":\"Toggles a strategy's status between Active and Halted.This is a safety mechanism to isolate problematic strategies or reactivate previously halted ones.Active strategies can receive allocations and participate in yield accrual and withdrawal operations.Halted strategies are skipped during yield accrual and withdrawal operations.Only callable by accounts with the STRATEGY_MANAGER role.\",\"params\":{\"strategy\":\"The address of the strategy contract to toggle. Requirements: - Strategy must exist in the vault - Strategy must be either Active or Halted (cannot toggle Inactive strategies) - Caller must have STRATEGY_MANAGER role Emits: - StrategyStatusToggled event Reverts: - StrategyDoesNotExist if strategy is not in the vault\"}},\"totalAssets()\":{\"details\":\"Returns the total amount of the underlying asset that is “managed” by Vault. - SHOULD include any compounding that occurs from yield. - MUST be inclusive of any fees that are charged against assets in the Vault. - MUST NOT revert.\"},\"totalRequestedSharesForCurrentEpochs()\":{\"details\":\"Returns the total shares from all users that requested withdrawal in the active and processing epochs\",\"returns\":{\"_0\":\"The total shares requested in the active epoch\",\"_1\":\"The total shares requested in the processing epoch\",\"_2\":\"The total shares requested in the last processed epoch\"}},\"totalRequestedSharesPerEpoch(uint256)\":{\"details\":\"Returns the total shares from all users that requested withdrawal in the epochReturns 0 after epoch is processed (shares moved to requestingSharesInPast)\",\"params\":{\"epochID\":\"The epoch ID to check\"},\"returns\":{\"_0\":\"The total shares requested in the epoch\"}},\"totalSupply()\":{\"details\":\"See {IERC20-totalSupply}.\"},\"transfer(address,uint256)\":{\"details\":\"See {IERC20-transfer}. Requirements: - `to` cannot be the zero address. - the caller must have a balance of at least `value`.\"},\"transferFrom(address,address,uint256)\":{\"details\":\"See {IERC20-transferFrom}. Skips emitting an {Approval} event indicating an allowance update. This is not required by the ERC. See {xref-ERC20-_approve-address-address-uint256-bool-}[_approve]. NOTE: Does not update the allowance if the current allowance is the maximum `uint256`. Requirements: - `from` and `to` cannot be the zero address. - `from` must have a balance of at least `value`. - the caller must have allowance for ``from``'s tokens of at least `value`.\"},\"transferOwnership(address)\":{\"details\":\"Transfers ownership of the contract to a new account (`newOwner`). Can only be called by the current owner.\"},\"updateManagementFee(uint16)\":{\"details\":\"Only callable by accounts with VAULT_MANAGER role.Fee must be <= MAX_MANAGEMENT_FEE.If fee > 0, recipient must be set.\",\"params\":{\"managementFee\":\"The new management fee in basis points.\"}},\"updateManagementFeeRecipient(address)\":{\"details\":\"Only callable by accounts with VAULT_MANAGER role.Recipient cannot be address(0).\",\"params\":{\"recipient\":\"The new management fee recipient address.\"}},\"updatePerformanceFee(uint16)\":{\"details\":\"Only callable by accounts with VAULT_MANAGER role.Fee must be <= MAX_PERFORMANCE_FEE.If fee > 0, recipient must be set.\",\"params\":{\"performanceFee\":\"The new performance fee in basis points.\"}},\"updatePerformanceFeeRecipient(address)\":{\"details\":\"Only callable by accounts with VAULT_MANAGER.Recipient cannot be address(0).\",\"params\":{\"recipient\":\"The new performance fee recipient address.\"}},\"upgrade(uint64,bytes)\":{\"params\":{\"data\":\"some data to use\",\"newVersion\":\"new version of the vault\"}},\"version()\":{\"details\":\"Starts from 1.\",\"returns\":{\"_0\":\"version of the vault\"}},\"withdraw(uint256,address,address)\":{\"details\":\"Burns shares from owner and sends exactly assets of underlying tokens to receiver. - MUST emit the Withdraw event. - MAY support an additional flow in which the underlying tokens are owned by the Vault contract before the   withdraw execution, and are accounted for during withdraw. - MUST revert if all of assets cannot be withdrawn (due to withdrawal limit being reached, slippage, the owner   not having enough shares, etc). Note that some implementations will require pre-requesting to the Vault before a withdrawal may be performed. Those methods should be performed separately.\"}},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{\"accrueYield()\":{\"notice\":\"Accrues yield and accounts for losses across all active strategies in the vault.\"},\"allocate(bytes)\":{\"notice\":\"Executes fund allocation and deallocation operations across multiple strategies.\"},\"cancelRequest(address,uint256)\":{\"notice\":\"Cancel pending redeem request for a specific epoch (only unprocessed epochs)\"},\"cancelRequest(uint256)\":{\"notice\":\"Cancel pending redeem request for a specific epoch (only unprocessed epochs)\"},\"claimWithdrawal(address,uint256[])\":{\"notice\":\"Claim processed redeem requests from specified epochs\"},\"claimWithdrawal(uint256[])\":{\"notice\":\"Claim processed redeem requests from specified epochs\"},\"closeEpoch()\":{\"notice\":\"Close the current epoch\"},\"factory()\":{\"notice\":\"Get the factory's address.\"},\"getDeallocationOrder()\":{\"notice\":\"Returns the deallocation order from strategies.\"},\"getEpochPricePerShare(uint256)\":{\"notice\":\"Get share price for a specific epoch\"},\"getEpochState(uint256)\":{\"notice\":\"Get the state of an epoch\"},\"getFeeConfig()\":{\"notice\":\"Returns the current fee configuration for the vault.\"},\"getUserEpochRequest(address,uint256)\":{\"notice\":\"Get user's redeem request for a specific epoch\"},\"getUserEpochRequestInAssets(address,uint256)\":{\"notice\":\"Get claimable redeem request from a specific epoch\"},\"initialize(uint64,address,bytes)\":{\"notice\":\"Initialize `UpgradeableVaultProxy` contract by using a given data and setting a particular version and owner.\"},\"isQueueActive()\":{\"notice\":\"Get whether the queue is active\"},\"latestEpochID()\":{\"notice\":\"Get current epoch ID\"},\"moveRequestToNextEpoch(address)\":{\"notice\":\"Internal function to move a deposit request to the next deposit epoch\"},\"pastEpochsUnclaimedAssets()\":{\"notice\":\"Get total redeemable assets from past epochs\"},\"previewAccrueYield()\":{\"notice\":\"Previews the total assets that would be available after accruing yield from all strategies.\"},\"processEpoch()\":{\"notice\":\"Process all pending redeem requests for a specific epoch\"},\"setDeallocationOrder(address[])\":{\"notice\":\"overwrites the deallocation order from strategies;\"},\"setHooks((address,uint96))\":{\"notice\":\"Sets the hooks for the vault.\"},\"toggleQueueActive()\":{\"notice\":\"Toggle the active status of the queue\"},\"totalRequestedSharesForCurrentEpochs()\":{\"notice\":\"Get total requested shares in the active and processing epochs\"},\"totalRequestedSharesPerEpoch(uint256)\":{\"notice\":\"Get total requested shares in a specific epoch\"},\"updateManagementFee(uint16)\":{\"notice\":\"Updates the management fee for the vault.\"},\"updateManagementFeeRecipient(address)\":{\"notice\":\"Updates the management fee recipient for the vault.\"},\"updatePerformanceFee(uint16)\":{\"notice\":\"Updates the performance fee for the vault.\"},\"updatePerformanceFeeRecipient(address)\":{\"notice\":\"Updates the performance fee recipient for the vault.\"},\"upgrade(uint64,bytes)\":{\"notice\":\"Upgrade this vault to a specific newer version using a given data.\"},\"version()\":{\"notice\":\"Get the vault's version.\"}},\"version\":1}},\"settings\":{\"compilationTarget\":{\"src/implementation/ConcreteAsyncVaultImpl.sol\":\"ConcreteAsyncVaultImpl\"},\"evmVersion\":\"prague\",\"libraries\":{\"src/implementation/ConcreteAsyncVaultImpl.sol:AsyncVaultHelperLib\":\"0x5cc3c3cea2e885f1870f3cae1eb9601d5d278d4a\",\"src/implementation/ConcreteAsyncVaultImpl.sol:StateInitLib\":\"0x8d5d294fd63ee3b16abdca4b59597719a576e551\",\"src/implementation/ConcreteAsyncVaultImpl.sol:StateSetterLib\":\"0x5d433d113c211891d3c2bae6cd3b39adeffd64cc\"},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":190},\"remappings\":[\":@layerzerolabs/lz-evm-messagelib-v2/=node_modules/@layerzerolabs/lz-evm-messagelib-v2/\",\":@layerzerolabs/lz-evm-protocol-v2/=node_modules/@layerzerolabs/lz-evm-protocol-v2/\",\":@layerzerolabs/lz-evm-v1-0.7/=node_modules/@layerzerolabs/lz-evm-v1-0.7/\",\":@layerzerolabs/oapp-evm-upgradeable/=node_modules/@layerzerolabs/oapp-evm-upgradeable/\",\":@layerzerolabs/oapp-evm/=node_modules/@layerzerolabs/oapp-evm/\",\":@layerzerolabs/test-devtools-evm-foundry/=node_modules/@layerzerolabs/test-devtools-evm-foundry/\",\":@openzeppelin-contracts/=node_modules/@openzeppelin/contracts/\",\":@openzeppelin-upgradeable/=node_modules/@openzeppelin/contracts-upgradeable/\",\":@openzeppelin/=node_modules/@openzeppelin/\",\":erc4626-tests/=lib/openzeppelin-contracts-upgradeable/lib/erc4626-tests/\",\":forge-std/=lib/forge-std/src/\",\":halmos-cheatcodes/=lib/openzeppelin-contracts-upgradeable/lib/halmos-cheatcodes/src/\",\":openzeppelin-foundry-upgrades/=node_modules/@openzeppelin/foundry-upgrades/\",\":solidity-bytes-utils/=node_modules/solidity-bytes-utils/\"]},\"sources\":{\"node_modules/@openzeppelin/contracts-upgradeable/access/AccessControlUpgradeable.sol\":{\"keccak256\":\"0x6662ec4e5cefca03eeadd073e9469df8d2944bb2ee8ec8f7622c2c46aab5f225\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://4d8544c6f8daa4d1bc215c6a72fe0acdb748664a105b0e5efc19295667521d45\",\"dweb:/ipfs/QmdGWqdnXT8S3RgCR6aV8XHZrsybieMQLLnug1NtpSjEXN\"]},\"node_modules/@openzeppelin/contracts-upgradeable/access/OwnableUpgradeable.sol\":{\"keccak256\":\"0xc163fcf9bb10138631a9ba5564df1fa25db9adff73bd9ee868a8ae1858fe093a\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://9706d43a0124053d9880f6e31a59f31bc0a6a3dc1acd66ce0a16e1111658c5f6\",\"dweb:/ipfs/QmUFmfowzkRwGtDu36cXV9SPTBHJ3n7dG9xQiK5B28jTf2\"]},\"node_modules/@openzeppelin/contracts-upgradeable/access/extensions/AccessControlEnumerableUpgradeable.sol\":{\"keccak256\":\"0xaec38804089a16494f7d45ebbbeab78fe05e5dc4bc2eae1d2af458fe999fb43c\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://04796408e2c4a1051afb23319e9505edb595a3d9c663ff5d6fcfb8e185ab1d93\",\"dweb:/ipfs/Qma8ZTi4kGyqg45SyNibbJSqMF7broiQnJPHhEGLcZyF9U\"]},\"node_modules/@openzeppelin/contracts-upgradeable/proxy/utils/Initializable.sol\":{\"keccak256\":\"0x631188737069917d2f909d29ce62c4d48611d326686ba6683e26b72a23bfac0b\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://7a61054ae84cd6c4d04c0c4450ba1d6de41e27e0a2c4f1bcdf58f796b401c609\",\"dweb:/ipfs/QmUvtdp7X1mRVyC3CsHrtPbgoqWaXHp3S1ZR24tpAQYJWM\"]},\"node_modules/@openzeppelin/contracts-upgradeable/token/ERC20/ERC20Upgradeable.sol\":{\"keccak256\":\"0x5c54228bbb2f1f8616179c51bdb90b7960f4a3414c390ad5c6ead6763eb55a59\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://745fe72596bb8fde5f294d9d6b943db942202e4445536ee00da3ba011f876e86\",\"dweb:/ipfs/QmcjeESkk4rbhUVaSBfyq5f8rY56Jms1TwcJXaRD55K3UH\"]},\"node_modules/@openzeppelin/contracts-upgradeable/token/ERC20/extensions/ERC4626Upgradeable.sol\":{\"keccak256\":\"0xa683afe511eb3a2e8a039c5aa18feda651c6de04b92e101532ac76661fdaad8f\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://d2117b118221d039e98d77bef9b0b68e95b600403f16aa1b565e3d6c0bcd6384\",\"dweb:/ipfs/QmZAhSMkC257uzT16gLkkuS1q7sLRos1Euj1oPMJXg8rSh\"]},\"node_modules/@openzeppelin/contracts-upgradeable/utils/ContextUpgradeable.sol\":{\"keccak256\":\"0xdbef5f0c787055227243a7318ef74c8a5a1108ca3a07f2b3a00ef67769e1e397\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://08e39f23d5b4692f9a40803e53a8156b72b4c1f9902a88cd65ba964db103dab9\",\"dweb:/ipfs/QmPKn6EYDgpga7KtpkA8wV2yJCYGMtc9K4LkJfhKX2RVSV\"]},\"node_modules/@openzeppelin/contracts-upgradeable/utils/ReentrancyGuardUpgradeable.sol\":{\"keccak256\":\"0x361126a17677994081cd9cb69c3f50cffff6e920d25cb7e428acdb1ae41d1866\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://19ae787a7dd001269cd60a394b1a5261b78925a0fc3a6f927beb2986a9aa56cf\",\"dweb:/ipfs/QmYLfXiuKmcRgTDBEDXMMjXU8t6JxsspUmjxYzqWS55oEv\"]},\"node_modules/@openzeppelin/contracts-upgradeable/utils/introspection/ERC165Upgradeable.sol\":{\"keccak256\":\"0xc8ed8d2056934b7675b695dec032f2920c2f5c6cf33a17ca85650940675323ab\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://3c8ccc75d1cd792d192aa09e54dd49ea35fe85baa9fcd17486f29227d9f29b89\",\"dweb:/ipfs/QmbboSbFUEiM9tdEgBwuTRb7bykFoJXZ7dsSr1PSREJXMr\"]},\"node_modules/@openzeppelin/contracts/access/IAccessControl.sol\":{\"keccak256\":\"0xc1c2a7f1563b77050dc6d507db9f4ada5d042c1f6a9ddbffdc49c77cdc0a1606\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://fd54abb96a6156d9a761f6fdad1d3004bc48d2d4fce47f40a3f91a7ae83fc3a1\",\"dweb:/ipfs/QmUrFSGkTDJ7WaZ6qPVVe3Gn5uN2viPb7x7QQ35UX4DofX\"]},\"node_modules/@openzeppelin/contracts/access/Ownable.sol\":{\"keccak256\":\"0xff6d0bb2e285473e5311d9d3caacb525ae3538a80758c10649a4d61029b017bb\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://8ed324d3920bb545059d66ab97d43e43ee85fd3bd52e03e401f020afb0b120f6\",\"dweb:/ipfs/QmfEckWLmZkDDcoWrkEvMWhms66xwTLff9DDhegYpvHo1a\"]},\"node_modules/@openzeppelin/contracts/access/extensions/IAccessControlEnumerable.sol\":{\"keccak256\":\"0xca774fbe0568762efdc1a7cba31f09549c7fa96dbe97410f4843fa2f0bc000a3\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://0187ffdbf3d61b6d86cba4fcd9826e53d876987d620533ee84c681bdaf0f3ba3\",\"dweb:/ipfs/QmVJDqdJv6uzHY7ifncfv2QJep8XTzS3bGb4s5Exhuv86m\"]},\"node_modules/@openzeppelin/contracts/interfaces/IERC1363.sol\":{\"keccak256\":\"0x9b6b3e7803bc5f2f8cd7ad57db8ac1def61a9930a5a3107df4882e028a9605d7\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://da62d6be1f5c6edf577f0cb45666a8aa9c2086a4bac87d95d65f02e2f4c36a4b\",\"dweb:/ipfs/QmNkpvBpoCMvX8JwAFNSc5XxJ2q5BXJpL5L1txb4QkqVFF\"]},\"node_modules/@openzeppelin/contracts/interfaces/IERC165.sol\":{\"keccak256\":\"0xde7e9fd9aee8d4f40772f96bb3b58836cbc6dfc0227014a061947f8821ea9724\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://11fea9f8bc98949ac6709f0c1699db7430d2948137aa94d5a9e95a91f61a710a\",\"dweb:/ipfs/QmQdfRXxQjwP6yn3DVo1GHPpriKNcFghSPi94Z1oKEFUNS\"]},\"node_modules/@openzeppelin/contracts/interfaces/IERC20.sol\":{\"keccak256\":\"0xce41876e78d1badc0512229b4d14e4daf83bc1003d7f83978d18e0e56f965b9c\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://a2608291cb038b388d80b79a06b6118a42f7894ff67b7da10ec0dbbf5b2973ba\",\"dweb:/ipfs/QmWohqcBLbcxmA4eGPhZDXe5RYMMEEpFq22nfkaUMvTfw1\"]},\"node_modules/@openzeppelin/contracts/interfaces/IERC4626.sol\":{\"keccak256\":\"0x666c704c58d4cf404eecd6e4a898a87e25b00b45416678de914e160582c3ff17\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://6def3cc823ae3f155da28a241a8ff91538222053ed9d78f415758a9133e211a1\",\"dweb:/ipfs/QmSriniszojh4UP4WQqxCJhq2XsbCAULcB4qRij4EYw9Gi\"]},\"node_modules/@openzeppelin/contracts/interfaces/draft-IERC6093.sol\":{\"keccak256\":\"0x880da465c203cec76b10d72dbd87c80f387df4102274f23eea1f9c9b0918792b\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://399594cd8bb0143bc9e55e0f1d071d0d8c850a394fb7a319d50edd55d9ed822b\",\"dweb:/ipfs/QmbPZzgtT6LEm9CMqWfagQFwETbV1ztpECBB1DtQHrKiRz\"]},\"node_modules/@openzeppelin/contracts/token/ERC20/IERC20.sol\":{\"keccak256\":\"0xe06a3f08a987af6ad2e1c1e774405d4fe08f1694b67517438b467cecf0da0ef7\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://df6f0c459663c9858b6cba2cda1d14a7d05a985bed6d2de72bd8e78c25ee79db\",\"dweb:/ipfs/QmeTTxZ7qVk9rjEv2R4CpCwdf8UMCcRqDNMvzNxHc3Fnn9\"]},\"node_modules/@openzeppelin/contracts/token/ERC20/extensions/IERC20Metadata.sol\":{\"keccak256\":\"0x70f2f713b13b7ce4610bcd0ac9fec0f3cc43693b043abcb8dc40a42a726eb330\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://c13d13304ac79a83ab1c30168967d19e2203342ebbd6a9bbce4db7550522dcbf\",\"dweb:/ipfs/QmeN5jKMN2vw5bhacr6tkg78afbTTZUeaacNHqjWt4Ew1r\"]},\"node_modules/@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol\":{\"keccak256\":\"0x4ea01544758fd2c7045961904686bfe232d2220a04ecaa2d6b08dac17827febf\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://fabe6bef5167ae741dd8c22d7f81d3f9120bd61b290762a2e8f176712567d329\",\"dweb:/ipfs/QmSnEitJ6xmf1SSAUeZozD7Gx7h8bNnX3a1ZBzqeivsvVg\"]},\"node_modules/@openzeppelin/contracts/utils/Address.sol\":{\"keccak256\":\"0xaaa1d17c1129b127a4a401db2fbd72960e2671474be3d08cae71ccdc42f7624c\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://cb2f27cd3952aa667e198fba0d9b7bcec52fbb12c16f013c25fe6fb52b29cc0e\",\"dweb:/ipfs/QmeuohBFoeyDPZA9JNCTEDz3VBfBD4EABWuWXVhHAuEpKR\"]},\"node_modules/@openzeppelin/contracts/utils/Context.sol\":{\"keccak256\":\"0x493033a8d1b176a037b2cc6a04dad01a5c157722049bbecf632ca876224dd4b2\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://6a708e8a5bdb1011c2c381c9a5cfd8a9a956d7d0a9dc1bd8bcdaf52f76ef2f12\",\"dweb:/ipfs/Qmax9WHBnVsZP46ZxEMNRQpLQnrdE4dK8LehML1Py8FowF\"]},\"node_modules/@openzeppelin/contracts/utils/Errors.sol\":{\"keccak256\":\"0x6afa713bfd42cf0f7656efa91201007ac465e42049d7de1d50753a373648c123\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://ba1d02f4847670a1b83dec9f7d37f0b0418d6043447b69f3a29a5f9efc547fcf\",\"dweb:/ipfs/QmQ7iH2keLNUKgq2xSWcRmuBE5eZ3F5whYAkAGzCNNoEWB\"]},\"node_modules/@openzeppelin/contracts/utils/Panic.sol\":{\"keccak256\":\"0xf7fe324703a64fc51702311dc51562d5cb1497734f074e4f483bfb6717572d7a\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://c6a5ff4f9fd8649b7ee20800b7fa387d3465bd77cf20c2d1068cd5c98e1ed57a\",\"dweb:/ipfs/QmVSaVJf9FXFhdYEYeCEfjMVHrxDh5qL4CGkxdMWpQCrqG\"]},\"node_modules/@openzeppelin/contracts/utils/introspection/IERC165.sol\":{\"keccak256\":\"0x79796192ec90263f21b464d5bc90b777a525971d3de8232be80d9c4f9fb353b8\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://f6fda447a62815e8064f47eff0dd1cf58d9207ad69b5d32280f8d7ed1d1e4621\",\"dweb:/ipfs/QmfDRc7pxfaXB2Dh9np5Uf29Na3pQ7tafRS684wd3GLjVL\"]},\"node_modules/@openzeppelin/contracts/utils/math/Math.sol\":{\"keccak256\":\"0xa00be322d7db5786750ce0ac7e2f5b633ac30a5ed5fa1ced1e74acfc19acecea\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://6c84e822f87cbdc4082533b626667b6928715bb2b1e8e7eb96954cebb9e38c8d\",\"dweb:/ipfs/QmZmy9dgxLTerBAQDuuHqbL6EpgRxddqgv5KmwpXYVbKz1\"]},\"node_modules/@openzeppelin/contracts/utils/math/SafeCast.sol\":{\"keccak256\":\"0x195533c86d0ef72bcc06456a4f66a9b941f38eb403739b00f21fd7c1abd1ae54\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://b1d578337048cad08c1c03041cca5978eff5428aa130c781b271ad9e5566e1f8\",\"dweb:/ipfs/QmPFKL2r9CBsMwmUqqdcFPfHZB2qcs9g1HDrPxzWSxomvy\"]},\"node_modules/@openzeppelin/contracts/utils/structs/EnumerableSet.sol\":{\"keccak256\":\"0x9b161e97b8967d4bc0c08d25741889a30692cdda4b71910bf1b0e315f1962212\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://821500c39d095eaa25b06f46e65f1d0e97c4c96b39227f79077dee7d9e84051f\",\"dweb:/ipfs/QmSTeGorKzSWF6HAmxo32uCZiEuKNvreQdUiX1AaYtUMTz\"]},\"src/common/UpgradeableVault.sol\":{\"keccak256\":\"0xaa283bbf81534519ff6bbe0af1777682a544b654f9030f15c3a9c7fd44bd6e00\",\"license\":\"AGPL-3.0\",\"urls\":[\"bzz-raw://3bd4441cac1e698f547dfb3db2f53facd21f7dcfc8d6cc3786da01f633703bd0\",\"dweb:/ipfs/QmXUFJ8qfjWYxSiNUefdf8XTUypcfFQu4iXtPA4qEsVJQe\"]},\"src/implementation/ConcreteAsyncVaultImpl.sol\":{\"keccak256\":\"0xb09b1ede46c12bb7bc8bdc4c9056837ebd00b206323a1d33aa5dfe29739ecab7\",\"license\":\"AGPL-3.0\",\"urls\":[\"bzz-raw://fb6cb3b2f9e1d1f98dbdcd8d5cc886b64ed74ea69595a036efac03ac84060625\",\"dweb:/ipfs/QmQpmf7eRmYatGFmXSEXrGAGFg1VsS7oobGQqskAyhaDk1\"]},\"src/implementation/ConcreteStandardVaultImpl.sol\":{\"keccak256\":\"0x7724d0e4a52770e6a79bb515067d809149916b14e4c507a7da44cae15ff4b439\",\"license\":\"AGPL-3.0\",\"urls\":[\"bzz-raw://4f3e57fd54bb78ea5215eed4ccbe488485a4972145d2b8c705c0537306c4497c\",\"dweb:/ipfs/QmbxHABw5tjgBcY8dSWfrUXGoQhfktz3GEmhtbTNCPjomt\"]},\"src/interface/IAllocateModule.sol\":{\"keccak256\":\"0xa26141402f03df064dedb5bc2061f2907971d234ccf0d6973a1f6dbefe0ce994\",\"license\":\"UNLICENSED\",\"urls\":[\"bzz-raw://d7526df1499168d9f87e80a68202142d5e59c3e5e84df3190415769e1c2b1eeb\",\"dweb:/ipfs/QmXUdHt3bBinvVKQUNWjwAMZ4271EWsu3peqxGaG91UpD6\"]},\"src/interface/IConcreteAsyncVaultImpl.sol\":{\"keccak256\":\"0x9855e348d2e4f69432fafb684287e020117bc90ee43485fe6bd205555b78c95b\",\"license\":\"UNLICENSED\",\"urls\":[\"bzz-raw://8cb91fd5a304f2eee01410c5b90b293e7c4ce739bcb27639665e65107f2cf445\",\"dweb:/ipfs/QmTSouJnkZbyE5fRqvRBsNpQefMHyTTuTWT2CdL5WEkTjJ\"]},\"src/interface/IConcreteStandardVaultImpl.sol\":{\"keccak256\":\"0x695ae10dd76d1cccdf2782d41e7bb7345344505ff9771899ac995cd961778816\",\"license\":\"UNLICENSED\",\"urls\":[\"bzz-raw://c71ff104732c38e93169fe688e27ae6bb47ce495f090e193100f773dbc1d8f64\",\"dweb:/ipfs/QmUe2wDQ9j78Q8hG4ojZyt8vs21VzzAcoaSiPXRXMMZJN7\"]},\"src/interface/IHook.sol\":{\"keccak256\":\"0x8937e7f954ae1b44584109ba0e6bd125e278420cf6cbe3a79fc3ce40e3e6c5db\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://745a1cdd52a799fd5b1a25568d0d4ae4a49c05a9a9ddd531f35c2c1cf26c6738\",\"dweb:/ipfs/QmQyTRGv28tLEXvCbmensUZvbMBx5Jdh4sjc98TsQzDydk\"]},\"src/interface/IStrategyTemplate.sol\":{\"keccak256\":\"0xe94aafcf946327d4480b9f81037c2e44d7c73c1b6dfadaf5890fdf9685bbd805\",\"license\":\"UNLICENSED\",\"urls\":[\"bzz-raw://48ab9eb30ecf48a0e5b83292e66704b0ce19c389efd4ec41b162ae36cdfb70d0\",\"dweb:/ipfs/QmYi7KvsMi9z9v8fCp79kmT8vD3qpM5pMgv8hLMbuWGKvM\"]},\"src/interface/IUpgradeableVault.sol\":{\"keccak256\":\"0xfd2b342ea1a2353b592a3105bb5e48486c44d42364a5e9725e84e42e2e8ff494\",\"license\":\"UNLICENSED\",\"urls\":[\"bzz-raw://b66b53c605bc77b0863c799af1f6f3ceee6e56a5eff512331d2dbac42fb67982\",\"dweb:/ipfs/Qmb1woVHvFMPfdiCWSPVGisx6bCC3mpNgKvEDTMtTcVSFL\"]},\"src/lib/AccessControlLib.sol\":{\"keccak256\":\"0xb7ee7af31e150b111b80ad4b2ea3f8cef01999c44b202e5b6967e912af257602\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://d901254b31b67301724e63322f59bd89ef86964c41a92c6df0c500fc0024c79c\",\"dweb:/ipfs/QmWxqMwLqPV5a9HrfQeTBFgQsWEDkwpzHUr7bDzdHd2HZW\"]},\"src/lib/AsyncVaultHelperLib.sol\":{\"keccak256\":\"0xf99e894dd669b0e182f467cebd56548111b0eaf18aec574389a752e08cd4642d\",\"license\":\"UNLICENSED\",\"urls\":[\"bzz-raw://fa310ecff4d2fefa38506eef99308610cfeecd53698819c2c16108154fed2379\",\"dweb:/ipfs/QmRdmGpL1aVqyjj7Nv1ct5NLKtoorTBc6gjkZr9LdMEfqg\"]},\"src/lib/Constants.sol\":{\"keccak256\":\"0x0e9b6e2138cf4f6582143c4dc3ad8b57b5dfae1be3039635c9294c054c9f7373\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://6725ee3fa340c5df39aa3c3729fd4dc13c3e2ddc50926acb155d078e3bb95793\",\"dweb:/ipfs/QmRVPjtmKUq9rStzt5SEA3YCNV247XT5mPCWLBgFrgdoZ4\"]},\"src/lib/Conversion.sol\":{\"keccak256\":\"0xf00ba0b241fd23eaf9d628ad966541f034758390d5866af915164eeaaea5a3b4\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://53c99a9be16b2868fc969d35e366eb8369caa9defe3ba1dd6fcd5632ed66e514\",\"dweb:/ipfs/QmPNe2iKsnfa77NTgPzPkxjygiDiHQ7Yhns3DLJj2XCb5K\"]},\"src/lib/ERC20Lib.sol\":{\"keccak256\":\"0xa5b6f3b45ba746883af5128bfe86fe9f1e59e7267fe07c8518d736424a27ff51\",\"license\":\"UNLICENSED\",\"urls\":[\"bzz-raw://41ff37d96e572d9a2d01f8efa0bd4e7f5452e9cb05416d580905932315e4249f\",\"dweb:/ipfs/QmVAg4LYoYvRVNP5Zgh5PuhRTSh8NhTNVTWU28yHtQFYB7\"]},\"src/lib/Hooks.sol\":{\"keccak256\":\"0x8698e909c2002e40060e858df248c3ea869797b21511f8ef7b6da46c0e509c05\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://fcd4a3197d2eb586902461f59026ab06aaa9434e4b2f38191b609771f27db00d\",\"dweb:/ipfs/QmRyhg7QMmTUzfrnMqK9NrY3zcPBfAP7JGoB4N8SDcbTpU\"]},\"src/lib/Roles.sol\":{\"keccak256\":\"0x409ce729af7337ff4a3ffa317df82a1f4eb4feb638d2376a551d5b84b3c89456\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://361ba89d5fe9b1aa842245deca78e311e8ee89681161672ad42a05a0c7a7fd8b\",\"dweb:/ipfs/QmXRGbfUr165h9vsaCE33AULgbgxBuAyzj4MnnU525N9bf\"]},\"src/lib/StateInitLib.sol\":{\"keccak256\":\"0xe70f106fb0f137832c10d900529ec9bca93ee724fec71a79665b1f009cc6bb23\",\"urls\":[\"bzz-raw://7c757215f1e105c345183687403154dc5d18fdfc7431bbb1da75b1ea73dbcac2\",\"dweb:/ipfs/QmSuUrgm9uCGoSvE3KN3FnXi3F1fbmUhYYgVjMLgn3ZM2t\"]},\"src/lib/StateSetterLib.sol\":{\"keccak256\":\"0x7a7e5003f278828fb937b51ae733472bd446bcd1aef302516a5a7127ebcfcd6d\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://54c435054f516bedb7269fa3967d493c5931b16d0df90e5441efcb9fdce95af8\",\"dweb:/ipfs/QmSMfNcpfWQ4sPPwVRqhM7VdgjgtAE9sWW4XacJ1zCse3A\"]},\"src/lib/Time.sol\":{\"keccak256\":\"0x6c22846623af11b1d77339d3bef649c578e4fed7b5f9029a9dc3750cb451eb79\",\"license\":\"UNLICENSED\",\"urls\":[\"bzz-raw://d6fa0195283193d8880d0222a22bcbe2229315230771ef16d1fceab21fcddd1b\",\"dweb:/ipfs/QmdhCmGQiy99BthrwqW5i9PHZU1AGzFck7bULtEC9iASLN\"]},\"src/lib/storage/ConcreteAsyncVaultImplStorageLib.sol\":{\"keccak256\":\"0x7ddac5ec8e62a538b4188007e9aca9ea984fe650d91db77af4da5b5d5ca5194f\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://c8356bb42f98239c2682ac5a38f1f2f93d21f820cb1876dd1f98a67338daae30\",\"dweb:/ipfs/QmNfg3ikb5VbWiiKDd7bdo7dYiuZdNFFgT7MX2aUxcMA8F\"]},\"src/lib/storage/ConcreteCachedVaultStateStorageLib.sol\":{\"keccak256\":\"0x1da5d6244eb213ff273aaec57cb30d01090cf5c60394eaeefa2fcbedd448c00c\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://593c6edb0c464be5edbb3fe47a00756332bff07f11623c7097b89a7c3e1c28b1\",\"dweb:/ipfs/QmPNE4AF7LLryAppiJ3z8oPKjMbJQLeHFiFDwPhh3HJsJM\"]},\"src/lib/storage/ConcreteStandardVaultImplStorageLib.sol\":{\"keccak256\":\"0xd32e072adcbbc3e2436a315fb5d108d9ac3da7e1ebc4529af1807701948e5ece\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://67aa2ac3e73fa1e85b9506a57ebfd4770e18102552fc86b8a27755c3d59dbe53\",\"dweb:/ipfs/QmSeTgzHsRQresJsNvSZhRjVZQvquShCPCXWYsb8ghUEa7\"]},\"src/module/AllocateModule.sol\":{\"keccak256\":\"0x95a18813e10b4e8aa13e072a5c58f59bda0874c7afed2b9ac109e424ad0343e0\",\"license\":\"UNLICENSED\",\"urls\":[\"bzz-raw://409d853e743108bfcd40c6e809b5d9e63ca7ffa0d424f9a79ed302a5c7eff5d8\",\"dweb:/ipfs/QmRLsK1M4kYKtp6KDWyn5W31dAWZT5Xcvx44gJEuABVCHa\"]}},\"version\":1}","userdoc":{"kind":"user","methods":{"factory()":{"notice":"Get the factory's address."},"version()":{"notice":"Get the vault's version."},"closeEpoch()":{"notice":"Close the current epoch"},"accrueYield()":{"notice":"Accrues yield and accounts for losses across all active strategies in the vault."},"getFeeConfig()":{"notice":"Returns the current fee configuration for the vault."},"processEpoch()":{"notice":"Process all pending redeem requests for a specific epoch"},"allocate(bytes)":{"notice":"Executes fund allocation and deallocation operations across multiple strategies."},"isQueueActive()":{"notice":"Get whether the queue is active"},"latestEpochID()":{"notice":"Get current epoch ID"},"toggleQueueActive()":{"notice":"Toggle the active status of the queue"},"previewAccrueYield()":{"notice":"Previews the total assets that would be available after accruing yield from all strategies."},"upgrade(uint64,bytes)":{"notice":"Upgrade this vault to a specific newer version using a given data."},"cancelRequest(uint256)":{"notice":"Cancel pending redeem request for a specific epoch (only unprocessed epochs)"},"getDeallocationOrder()":{"notice":"Returns the deallocation order from strategies."},"getEpochState(uint256)":{"notice":"Get the state of an epoch"},"claimWithdrawal(uint256[])":{"notice":"Claim processed redeem requests from specified epochs"},"setHooks((address,uint96))":{"notice":"Sets the hooks for the vault."},"pastEpochsUnclaimedAssets()":{"notice":"Get total redeemable assets from past epochs"},"updateManagementFee(uint16)":{"notice":"Updates the management fee for the vault."},"updatePerformanceFee(uint16)":{"notice":"Updates the performance fee for the vault."},"cancelRequest(address,uint256)":{"notice":"Cancel pending redeem request for a specific epoch (only unprocessed epochs)"},"getEpochPricePerShare(uint256)":{"notice":"Get share price for a specific epoch"},"moveRequestToNextEpoch(address)":{"notice":"Internal function to move a deposit request to the next deposit epoch"},"setDeallocationOrder(address[])":{"notice":"overwrites the deallocation order from strategies;"},"initialize(uint64,address,bytes)":{"notice":"Initialize `UpgradeableVaultProxy` contract by using a given data and setting a particular version and owner."},"claimWithdrawal(address,uint256[])":{"notice":"Claim processed redeem requests from specified epochs"},"getUserEpochRequest(address,uint256)":{"notice":"Get user's redeem request for a specific epoch"},"totalRequestedSharesPerEpoch(uint256)":{"notice":"Get total requested shares in a specific epoch"},"updateManagementFeeRecipient(address)":{"notice":"Updates the management fee recipient for the vault."},"totalRequestedSharesForCurrentEpochs()":{"notice":"Get total requested shares in the active and processing epochs"},"updatePerformanceFeeRecipient(address)":{"notice":"Updates the performance fee recipient for the vault."},"getUserEpochRequestInAssets(address,uint256)":{"notice":"Get claimable redeem request from a specific epoch"}},"version":1},"devdoc":{"kind":"dev","errors":{"EmptyUsers()":[{"details":"Thrown when attempting to claim with empty users."}],"FailedCall()":[{"details":"A call to an address target failed. The target may have reverted."}],"ZeroShares()":[{"details":"Thrown when attempting to withdraw zero shares."}],"InvalidName()":[{"details":"Thrown when the name is invalid."}],"ZeroAddress()":[{"details":"Thrown when attempting to operate on a zero address."}],"InvalidAsset()":[{"details":"Thrown when the asset is invalid."}],"EmptyEpochIDs()":[{"details":"Thrown when attempting to claim with empty epoch IDs."}],"InvalidSymbol()":[{"details":"Thrown when the symbol is invalid."}],"InvalidReceiver()":[{"details":"Thrown when attempting to withdraw to the zero address."}],"NotInitializing()":[{"details":"The contract is not initializing."}],"StrategyIsHalted()":[{"details":"Thrown when attempting to interact with a strategy that is halted."}],"FeeRecipientNotSet()":[{"details":"Thrown when attempting to set a management fee without setting a recipient first."}],"InsufficientAssets()":[{"details":"Thrown when calculated assets are zero."}],"InsufficientShares()":[{"details":"Thrown when calculated shares are zero."}],"NoClaimableRequest()":[{"details":"Thrown when attempting to claim a request that is not claimable."}],"NoRedeemableAssets()":[{"details":"Thrown when there are no redeemable assets available."}],"NoRequestingShares()":[{"details":"Thrown when attempting to operate on an epoch with no requesting shares."}],"InsufficientBalance()":[{"details":"Thrown when the vault has insufficient balance to process the epoch."}],"InvalidFeeRecipient()":[{"details":"Thrown when attempting to set an invalid fee recipient address (address(0))."}],"InvalidDepositLimits()":[{"details":"Thrown when the deposit limits are invalid."}],"InvalidStrategyAsset()":[{"details":"Thrown when attempting to add a strategy that uses a different asset than the vault."}],"StrategyAlreadyAdded()":[{"details":"Thrown when attempting to add a strategy that has already been added to the vault."}],"StrategyDoesNotExist()":[{"details":"Thrown when attempting to operate on a strategy that doesn't exist in the vault."}],"EpochStillOpen(uint256)":[{"params":{"epochID":"The epoch that was still open."},"details":"Thrown when attempting to process an epoch that is still open."}],"InvalidAllocateModule()":[{"details":"Thrown when the allocate module is invalid."}],"InvalidInitialization()":[{"details":"The contract is already initialized."}],"InvalidWithdrawLimits()":[{"details":"Thrown when the withdraw limits are invalid."}],"StrategyAlreadyHalted()":[{"details":"Thrown when attempting to halt a strategy that is already halted."}],"StrategyHasAllocation()":[{"details":"Thrown when attempting to remove a strategy that has allocation or is in the deallocation order."}],"AddressEmptyCode(address)":[{"details":"There's no code at `target` (it is not a contract)."}],"EpochNotProcessed(uint256)":[{"details":"Thrown when attempting to roll to next epoch while current epoch is not processed."}],"ERC20InvalidSender(address)":[{"params":{"sender":"Address whose tokens are being transferred."},"details":"Indicates a failure with the token `sender`. Used in transfers."}],"EpochAlreadyClosed(uint256)":[{"params":{"epochID":"The epoch that was already closed."},"details":"Thrown when attempting to process an epoch that is already closed."}],"ERC20InvalidSpender(address)":[{"params":{"spender":"Address that may be allowed to operate on tokens without being their owner."},"details":"Indicates a failure with the `spender` to be approved. Used in approvals."}],"InvalidInitialVaultManager()":[{"details":"Thrown when the initial vault manager is invalid."}],"OwnableInvalidOwner(address)":[{"details":"The owner is not a valid owner account. (eg. `address(0)`)"}],"ERC20InvalidApprover(address)":[{"params":{"approver":"Address initiating an approval operation."},"details":"Indicates a failure with the `approver` of a token to be approved. Used in approvals."}],"ERC20InvalidReceiver(address)":[{"params":{"receiver":"Address to which tokens are being transferred."},"details":"Indicates a failure with the token `receiver`. Used in transfers."}],"ManagementFeeExceedsMaximum()":[{"details":"Thrown when attempting to set a management fee that exceeds the maximum allowed."}],"AccessControlBadConfirmation()":[{"details":"The caller of a function is not the expected one. NOTE: Don't confuse with {AccessControlUnauthorizedAccount}."}],"CannotToggleInactiveStrategy()":[{"details":"Thrown when attempting to toggle the status of an inactive strategy."}],"EpochAlreadyProcessed(uint256)":[{"details":"Thrown when attempting to cancel a request for an epoch that has already been processed."}],"PerformanceFeeExceedsMaximum()":[{"details":"Thrown when attempting to set a performance fee that exceeds the maximum allowed."}],"ReentrancyGuardReentrantCall()":[{"details":"Unauthorized reentrant call."}],"SafeERC20FailedOperation(address)":[{"details":"An operation with an ERC-20 token failed."}],"PreviousEpochNotProcessed(uint256)":[{"details":"Thrown when attempting to close an epoch that and previous epoch was not processed."}],"OwnableUnauthorizedAccount(address)":[{"details":"The caller account is not authorized to perform an operation."}],"PreviousEpochAlreadyProcessed(uint256)":[{"details":"Thrown when attempting to process an epoch that was already processed."}],"SafeCastOverflowedUintDowncast(uint8,uint256)":[{"details":"Value doesn't fit in an uint of `bits` size."}],"ERC4626ExceededMaxMint(address,uint256,uint256)":[{"details":"Attempted to mint more shares than the max amount for `receiver`."}],"AccessControlUnauthorizedAccount(address,bytes32)":[{"details":"The `account` is missing a role."}],"ERC20InsufficientBalance(address,uint256,uint256)":[{"params":{"needed":"Minimum amount required to perform a transfer.","sender":"Address whose tokens are being transferred.","balance":"Current balance for the interacting account."},"details":"Indicates an error related to the current `balance` of a `sender`. Used in transfers."}],"ERC4626ExceededMaxRedeem(address,uint256,uint256)":[{"details":"Attempted to redeem more shares than the max amount for `receiver`."}],"ERC4626ExceededMaxDeposit(address,uint256,uint256)":[{"details":"Attempted to deposit more assets than the max amount for `receiver`."}],"ERC20InsufficientAllowance(address,uint256,uint256)":[{"params":{"needed":"Minimum amount required to perform a transfer.","spender":"Address that may be allowed to operate on tokens without being their owner.","allowance":"Amount of tokens a `spender` is allowed to operate with."},"details":"Indicates a failure with the `spender`’s `allowance`. Used in transfers."}],"ERC4626ExceededMaxWithdraw(address,uint256,uint256)":[{"details":"Attempted to withdraw more assets than the max amount for `receiver`."}],"AssetAmountOutOfBounds(address,uint256,uint256,uint256)":[{"details":"Thrown when the asset amount is out of bounds."}]},"events":{"Initialized(uint64)":{"details":"Triggered when the contract has been initialized or reinitialized."},"EpochClosed(uint256)":{"params":{"epochID":"The epoch that was closed."},"details":"Emitted when an epoch is closed."},"StrategyAdded(address)":{"params":{"strategy":"The address of the strategy contract that was added."},"details":"Emitted when a new strategy is successfully added to the vault."},"StrategyHalted(address)":{"params":{"strategy":"The address of the strategy contract that was halted."},"details":"Emitted when a strategy is set to Halted status."},"QueueActiveToggled(bool)":{"params":{"isQueueActive":"The active status of the queue."},"details":"Emitted when the queue is toggled."},"StrategyRemoved(address)":{"params":{"strategy":"The address of the strategy contract that was removed."},"details":"Emitted when a strategy is successfully removed from the vault."},"DeallocationOrderUpdated()":{"details":"Emitted when the deallocation order is updated."},"ManagementFeeUpdated(uint16)":{"params":{"managementFee":"The new management fee rate in basis points."},"details":"Emitted when management fee is updated."},"PerformanceFeeUpdated(uint16)":{"params":{"performanceFee":"The new performance fee rate in basis points."},"details":"Emitted when performance fee is updated."},"YieldAccrued(uint256,uint256)":{"params":{"totalNegativeYield":"The total amount of losses incurred across all strategies.","totalPositiveYield":"The total amount of positive yield generated across all strategies."},"details":"Emitted when the yield accrual operation is completed across all strategies."},"StrategyStatusToggled(address)":{"params":{"strategy":"The address of the strategy contract whose status was toggled."},"details":"Emitted when a strategy's status is toggled between Active and Halted."},"Approval(address,address,uint256)":{"details":"Emitted when the allowance of a `spender` for an `owner` is set by a call to {approve}. `value` is the new allowance."},"Transfer(address,address,uint256)":{"details":"Emitted when `value` tokens are moved from one account (`from`) to another (`to`). Note that `value` may be zero."},"WithdrawalQueueInitialized(uint256)":{"params":{"epochID":"The initial epoch ID."},"details":"Emitted when the withdrawal queue is initialized."},"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`)"},"DepositLimitsUpdated(uint256,uint256)":{"params":{"maxDepositAmount":"The new maximum deposit amount.","minDepositAmount":"The new minimum deposit amount."},"details":"Emitted when deposit limits are updated."},"ManagementFeeRecipientUpdated(address)":{"params":{"managementFeeRecipient":"The new management fee recipient address."},"details":"Emitted when management fee recipient is updated."},"WithdrawLimitsUpdated(uint256,uint256)":{"params":{"maxWithdrawAmount":"The new maximum withdraw amount.","minWithdrawAmount":"The new minimum withdraw amount."},"details":"Emitted when withdraw limits are updated."},"PerformanceFeeRecipientUpdated(address)":{"params":{"performanceFeeRecipient":"The new performance fee recipient address."},"details":"Emitted when performance fee recipient is updated."},"RequestCancelled(address,uint256,uint256)":{"params":{"owner":"The address of the user cancelling the request.","shares":"The amount of shares returned to the user.","epochID":"The epoch from which the request was cancelled."},"details":"Emitted when a user cancels their pending withdrawal request."},"RequestClaimed(address,uint256,uint256[])":{"params":{"owner":"The address of the user claiming the withdrawal.","assets":"The amount of assets transferred to the user.","epochIDs":"The epoch IDs from which the request was claimed."},"details":"Emitted when a user claims their processed withdrawal request."},"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 signaling this."},"ManagementFeeAccrued(address,uint256,uint256)":{"params":{"shares":"The number of shares minted as management fee.","feeAmount":"The asset value of the management fee.","recipient":"The address that received the management fee shares."},"details":"Emitted when management fee is accrued."},"PerformanceFeeAccrued(address,uint256,uint256)":{"params":{"shares":"The number of shares minted as performance fee.","feeAmount":"The asset value of the performance fee.","recipient":"The address that received the performance fee shares."},"details":"Emitted when performance fee is accrued."},"EpochProcessed(uint256,uint256,uint256,uint256)":{"params":{"assets":"The total assets reserved for the epoch.","shares":"The total shares processed in the epoch.","epochID":"The epoch ID that was processed.","sharePrice":"The share price locked for the epoch."},"details":"Emitted when an epoch's withdrawal requests are processed."},"StrategyYieldAccrued(address,uint256,uint256,uint256)":{"params":{"loss":"The amount of loss incurred by this strategy since last accrual.","yield":"The amount of positive yield generated by this strategy since last accrual.","strategy":"The address of the strategy contract whose yield was accrued.","currentTotalAllocatedValue":"The current total allocated value reported by the strategy."},"details":"Emitted when an individual strategy's yield is accrued."},"RequestMovedToNextEpoch(address,uint256,uint256,uint256)":{"params":{"user":"The address of the user whose request was moved.","shares":"The amount of shares moved.","nextEpochID":"The epoch to which the request was moved.","currentEpochID":"The epoch from which the request was moved."},"details":"Emitted when a user's request is moved to the next epoch."},"QueuedWithdrawal(address,address,address,uint256,uint256,uint256)":{"params":{"owner":"The address of the user making the request.","assets":"The amount of assets requested for withdrawal.","shares":"The amount of shares transferred to the vault for the request.","epochID":"The epoch in which the request was queued."},"details":"Emitted when a user submits a withdrawal request that is queued for epoch processing."}},"methods":{"name()":{"details":"Returns the name of the token."},"asset()":{"details":"See {IERC4626-asset}. "},"owner()":{"details":"Returns the address of the current owner."},"symbol()":{"details":"Returns the symbol of the token, usually a shorter version of the name."},"version()":{"details":"Starts from 1.","returns":{"_0":"version of the vault"}},"decimals()":{"details":"Decimals are computed by adding the decimal offset on top of the underlying asset's decimals. This \"original\" value is cached during construction of the vault contract. If this read operation fails (e.g., the asset has not been created yet), a default of 18 is used to represent the underlying asset's decimals. See {IERC20Metadata-decimals}."},"closeEpoch()":{"details":"Only callable by WITHDRAWAL_MANAGER roleCloses the current epoch and increments the epoch IDCan only be called if the previous epoch is processed (!)"},"accrueYield()":{"details":"This function updates the vault's internal accounting by querying the current      value of all strategy allocations and calculating net yield or losses.This function can be called by anyone to update the vault's accounting.The yield accrual operation does not trigger actual fund movements, it only         updates the vault's internal state to reflect current strategy values."},"totalAssets()":{"details":"Returns the total amount of the underlying asset that is “managed” by Vault. - SHOULD include any compounding that occurs from yield. - MUST be inclusive of any fees that are charged against assets in the Vault. - MUST NOT revert."},"totalSupply()":{"details":"See {IERC20-totalSupply}."},"getFeeConfig()":{"returns":{"currentManagementFee":"The current management fee in basis points.","currentPerformanceFee":"The current performance fee in basis points.","currentManagementFeeRecipient":"The current management fee recipient address.","currentPerformanceFeeRecipient":"The current performance fee recipient address.","currentLastManagementFeeAccrual":"The timestamp of the last management fee accrual."}},"processEpoch()":{"details":"Harvests all strategies to get current accurate pricing before processingCalculates share price and reserves required assets for the epochCan process any epoch with pending requests, enabling historical processingOnly callable by ALLOCATOR role"},"allocate(bytes)":{"params":{"data":"ABI-encoded array of AllocateParams structures containing the allocation             operations to execute. Each param specifies whether to allocate or deallocate             funds, which strategy to use, and any additional data required by the strategy."},"details":"This function performs a yield accrual operation first to update vault accounting,      then executes the allocation operations specified in the data parameter.All operations are performed via delegatecall to the respective modules to maintain      proper storage context and access control.Only callable by accounts with the ALLOCATOR role.The function automatically triggers yield accrual before allocation to ensure         accurate vault accounting prior to fund movements."},"getStrategies()":{"details":"Returns an array of all strategy addresses currently managed by the vault.This function provides a way to enumerate all active strategies for external integrations and monitoring.","returns":{"_0":"An array containing the addresses of all strategies added to the vault. Note: - The returned array includes strategies in all statuses (Active, Inactive, Emergency) - The order of strategies in the array is not guaranteed - Returns an empty array if no strategies have been added"}},"isQueueActive()":{"details":"Returns true if the queue is active, false otherwise","returns":{"_0":"The active status of the queue"}},"latestEpochID()":{"details":"New withdrawal requests are queued in this epoch","returns":{"_0":"The current epoch ID"}},"managementFee()":{"details":"Returns the management fee configuration.","returns":{"_0":"The address that receives management fees.","_1":"The management fee rate in basis points (where 10,000 = 100%).","_2":"The timestamp of the last management fee accrual."}},"allocateModule()":{"details":"Returns the address of the allocate module.","returns":{"_0":"The address of the allocate module."}},"maxMint(address)":{"details":"See {IERC4626-maxMint}. "},"performanceFee()":{"details":"Returns the performance fee configuration.","returns":{"_0":"The address that receives performance fees.","_1":"The performance fee rate in basis points (where 10,000 = 100%)."}},"balanceOf(address)":{"details":"See {IERC20-balanceOf}."},"getDepositLimits()":{"details":"Returns the deposit limits.","returns":{"_0":"The maximum deposit amount.","_1":"The minimum deposit amount."}},"maxRedeem(address)":{"details":"Returns the maximum amount of Vault shares that can be redeemed from the owner balance in the Vault, through a redeem call. - MUST return a limited value if owner is subject to some withdrawal limit or timelock. - MUST return balanceOf(owner) if owner is not subject to any withdrawal limit or timelock. - MUST NOT revert."},"cachedTotalAssets()":{"details":"Returns the cached value of total assets after the last call.","returns":{"_0":"The cached value of total assets after the last call."}},"getTotalAllocated()":{"details":"Returns the total amount of assets allocated to all strategies.","returns":{"totalAllocated":"The total amount of assets allocated to all strategies."}},"getWithdrawLimits()":{"details":"Returns the withdraw limits.","returns":{"_0":"The maximum withdraw amount.","_1":"The minimum withdraw amount."}},"maxDeposit(address)":{"details":"See {IERC4626-maxDeposit}. "},"renounceOwnership()":{"details":"Leaves the contract without owner. It will not be possible to call `onlyOwner` functions. Can only be called by the current owner. NOTE: Renouncing ownership will leave the contract without an owner, thereby disabling any functionality that is only available to the owner."},"toggleQueueActive()":{"details":"Only callable by the ALLOCATOR role"},"addStrategy(address)":{"params":{"strategy":"The address of the strategy contract to add. Requirements: - The strategy's asset() must match the vault's asset() - The strategy must not already be added to the vault - Caller must have STRATEGY_MANAGER role Emits: - StrategyAdded event Reverts: - InvalidStrategyAsset if strategy uses different asset - StrategyAlreadyAdded if strategy is already in the vault"},"details":"Adds a new strategy to the vault.The strategy must implement the IStrategyTemplate interface and use the same underlying asset as the vault.Only callable by accounts with the STRATEGY_MANAGER role."},"maxWithdraw(address)":{"details":"Returns the maximum amount of the underlying asset that can be withdrawn from the owner balance in the Vault, through a withdraw call. - MUST return a limited value if owner is subject to some withdrawal limit or timelock. - MUST NOT revert."},"previewAccrueYield()":{"details":"This function simulates the yield accrual operation without actually executing it,      providing a view of what the vault's total assets would be after accounting      for yield and losses across all active strategies.The calculation includes the current lastTotalAssets plus any positive      yield minus any losses that would be realized during yield accrual.This is a view function that does not modify state or trigger any actual      fund movements or strategy interactions.","returns":{"_0":"The total amount of assets that would be available in the vault after yield accrual,         denominated in the vault's underlying asset token.","_1":"The total amount of shares that would be available in the vault after yield accrual,         calculated as current totalSupply + management fee shares."}},"previewMint(uint256)":{"details":"Allows an on-chain or off-chain user to simulate the effects of their mint at the current block, given current on-chain conditions. - MUST return as close to and no fewer than the exact amount of assets that would be deposited in a mint call   in the same transaction. I.e. mint should return the same or fewer assets as previewMint if called in the   same transaction. - MUST NOT account for mint limits like those returned from maxMint and should always act as though the mint   would be accepted, regardless if the user has enough tokens approved, etc. - MUST be inclusive of deposit fees. Integrators should be aware of the existence of deposit fees. - MUST NOT revert. NOTE: any unfavorable discrepancy between convertToAssets and previewMint SHOULD be considered slippage in share price or some other type of condition, meaning the depositor will lose assets by minting."},"getRoleAdmin(bytes32)":{"details":"Returns the admin role that controls `role`. See {grantRole} and {revokeRole}. To change a role's admin, use {_setRoleAdmin}."},"mint(uint256,address)":{"details":"Mints exactly shares Vault shares to receiver by depositing amount of underlying tokens. - MUST emit the Deposit event. - MAY support an additional flow in which the underlying tokens are owned by the Vault contract before the mint   execution, and are accounted for during mint. - MUST revert if all of shares cannot be minted (due to deposit limit being reached, slippage, the user not   approving enough underlying tokens to the Vault contract, etc). NOTE: most implementations will require pre-approval of the Vault with the Vault’s underlying asset token."},"upgrade(uint64,bytes)":{"params":{"data":"some data to use","newVersion":"new version of the vault"}},"cancelRequest(uint256)":{"params":{"epochID":"The epoch ID from which to cancel the request"},"details":"Users can only cancel requests from epochs that haven't been processed yet (no price locked)Returns shares back to the user and updates epoch accounting"},"getEpochState(uint256)":{"params":{"epochID":"The epoch ID to check"},"details":"Returns the state of an epoch","returns":{"_0":"The state of the epoch"}},"previewRedeem(uint256)":{"details":"Allows an on-chain or off-chain user to simulate the effects of their redeemption at the current block, given current on-chain conditions. - MUST return as close to and no more than the exact amount of assets that would be withdrawn in a redeem call   in the same transaction. I.e. redeem should return the same or more assets as previewRedeem if called in the   same transaction. - MUST NOT account for redemption limits like those returned from maxRedeem and should always act as though the   redemption would be accepted, regardless if the user has enough shares, etc. - MUST be inclusive of withdrawal fees. Integrators should be aware of the existence of withdrawal fees. - MUST NOT revert. NOTE: any unfavorable discrepancy between convertToAssets and previewRedeem SHOULD be considered slippage in share price or some other type of condition, meaning the depositor will lose assets by redeeming."},"getRoleMembers(bytes32)":{"details":"Return all accounts that have `role` WARNING: This operation will copy the entire storage to memory, which can be quite expensive. This is designed to mostly be used by view accessors that are queried without any gas fees. Developers should keep in mind that this function has an unbounded cost, and using it as part of a state-changing function may render the function uncallable if the set grows to a point where copying to memory consumes too much gas to fit in a block."},"previewDeposit(uint256)":{"details":"See {IERC4626-previewDeposit}."},"removeStrategy(address)":{"params":{"strategy":"The address of the strategy contract to remove. Requirements: - Strategy must exist in the vault - Strategy must have zero allocated funds OR be in Halted status - Caller must have STRATEGY_MANAGER role Emits: - StrategyRemoved event Reverts: - StrategyDoesNotExist if strategy is not in the vault - Custom revert if strategy has allocated funds and is not in Halted status"},"details":"Removes a strategy from the vault.The strategy can only be removed if it has no allocated funds, unless it's in Halted status.Only callable by accounts with the STRATEGY_MANAGER role."},"approve(address,uint256)":{"details":"See {IERC20-approve}. NOTE: If `value` is the maximum `uint256`, the allowance is not updated on `transferFrom`. This is semantically equivalent to an infinite approval. Requirements: - `spender` cannot be the zero address."},"convertToAssets(uint256)":{"details":"See {IERC4626-convertToAssets}. "},"convertToShares(uint256)":{"details":"See {IERC4626-convertToShares}. "},"deposit(uint256,address)":{"details":"Mints shares Vault shares to receiver by depositing exactly amount of underlying tokens. - MUST emit the Deposit event. - MAY support an additional flow in which the underlying tokens are owned by the Vault contract before the   deposit execution, and are accounted for during deposit. - MUST revert if all of assets cannot be deposited (due to deposit limit being reached, slippage, the user not   approving enough underlying tokens to the Vault contract, etc). NOTE: most implementations will require pre-approval of the Vault with the Vault’s underlying asset token."},"getStrategyData(address)":{"params":{"strategy":"The address of the strategy contract to query."},"details":"Retrieves the current data and status information for a specific strategy.This function provides read-only access to strategy metadata including allocation amounts and status.","returns":{"_0":"The StrategyData struct containing the strategy's current status and allocated amount. Note: - Returns default values (Inactive status, 0 allocated) for non-existent strategies - Does not revert for invalid strategy addresses"}},"hasRole(bytes32,address)":{"details":"Returns `true` if `account` has been granted `role`."},"previewWithdraw(uint256)":{"details":"Allows an on-chain or off-chain user to simulate the effects of their withdrawal at the current block, given current on-chain conditions. - MUST return as close to and no fewer than the exact amount of Vault shares that would be burned in a withdraw   call in the same transaction. I.e. withdraw should return the same or fewer shares as previewWithdraw if   called   in the same transaction. - MUST NOT account for withdrawal limits like those returned from maxWithdraw and should always act as though   the withdrawal would be accepted, regardless if the user has enough shares, etc. - MUST be inclusive of withdrawal fees. Integrators should be aware of the existence of withdrawal fees. - MUST NOT revert. NOTE: any unfavorable discrepancy between convertToShares and previewWithdraw SHOULD be considered slippage in share price or some other type of condition, meaning the depositor will lose assets by depositing."},"supportsInterface(bytes4)":{"details":"See {IERC165-supportsInterface}."},"transfer(address,uint256)":{"details":"See {IERC20-transfer}. Requirements: - `to` cannot be the zero address. - the caller must have a balance of at least `value`."},"allowance(address,address)":{"details":"See {IERC20-allowance}."},"claimWithdrawal(uint256[])":{"params":{"epochIDs":"Array of epoch IDs to claim from"},"details":"Processes each epoch internally, aggregates assets and shares, then burns and transfers onceMore gas efficient than claiming epochs individuallySkips epochs with no claimable amounts (zero shares or unprocessed epochs)"},"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."},"setHooks((address,uint96))":{"params":{"hooks":"The hooks to set."},"details":"This function sets the hooks for the vault.Only callable by accounts with the HOOK_MANAGER role."},"transferOwnership(address)":{"details":"Transfers ownership of the contract to a new account (`newOwner`). Can only be called by the current owner."},"getRoleMemberCount(bytes32)":{"details":"Returns the number of accounts that have `role`. Can be used together with {getRoleMember} to enumerate all bearers of a role."},"pastEpochsUnclaimedAssets()":{"details":"This amount is subtracted from totalAssets() to exclude reserved funds from active vault operations","returns":{"_0":"The total assets reserved for past epoch claims"}},"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."},"updateManagementFee(uint16)":{"params":{"managementFee":"The new management fee in basis points."},"details":"Only callable by accounts with VAULT_MANAGER role.Fee must be <= MAX_MANAGEMENT_FEE.If fee > 0, recipient must be set."},"updatePerformanceFee(uint16)":{"params":{"performanceFee":"The new performance fee in basis points."},"details":"Only callable by accounts with VAULT_MANAGER role.Fee must be <= MAX_PERFORMANCE_FEE.If fee > 0, recipient must be set."},"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."},"toggleStrategyStatus(address)":{"params":{"strategy":"The address of the strategy contract to toggle. Requirements: - Strategy must exist in the vault - Strategy must be either Active or Halted (cannot toggle Inactive strategies) - Caller must have STRATEGY_MANAGER role Emits: - StrategyStatusToggled event Reverts: - StrategyDoesNotExist if strategy is not in the vault"},"details":"Toggles a strategy's status between Active and Halted.This is a safety mechanism to isolate problematic strategies or reactivate previously halted ones.Active strategies can receive allocations and participate in yield accrual and withdrawal operations.Halted strategies are skipped during yield accrual and withdrawal operations.Only callable by accounts with the STRATEGY_MANAGER role."},"cancelRequest(address,uint256)":{"params":{"user":"The user address to cancel the request for","epochID":"The epoch ID from which to cancel the request"},"details":"Users can only cancel requests from epochs that haven't been processed yet (no price locked)Returns shares back to the user and updates epoch accounting"},"getEpochPricePerShare(uint256)":{"params":{"epochID":"The epoch ID to check"},"details":"Returns the share price that was locked when the epoch was processedReturns 0 if the epoch has not been processed yet","returns":{"_0":"The share price locked when the epoch was processed (in assets per 1e18 shares)"}},"getRoleMember(bytes32,uint256)":{"details":"Returns one of the accounts that have `role`. `index` must be a value between 0 and {getRoleMemberCount}, non-inclusive. Role bearers are not sorted in any particular way, and their ordering may change at any point. WARNING: When using {getRoleMember} and {getRoleMemberCount}, make sure you perform all queries on the same block. See the following https://forum.openzeppelin.com/t/iterating-over-elements-on-enumerableset-in-openzeppelin-contracts/2296[forum post] for more information."},"moveRequestToNextEpoch(address)":{"params":{"user":"The user whose request to move"},"details":"Validates inputs, determines amount to move, updates storage for both epochs."},"redeem(uint256,address,address)":{"details":"Burns exactly shares from owner and sends assets of underlying tokens to receiver. - MUST emit the Withdraw event. - MAY support an additional flow in which the underlying tokens are owned by the Vault contract before the   redeem execution, and are accounted for during redeem. - MUST revert if all of shares cannot be redeemed (due to withdrawal limit being reached, slippage, the owner   not having enough shares, etc). NOTE: some implementations will require pre-requesting to the Vault before a withdrawal may be performed. Those methods should be performed separately."},"initialize(uint64,address,bytes)":{"params":{"data":"some data to use","owner":"initial owner of the vault","initialVersion":"initial version of the vault"}},"setDepositLimits(uint256,uint256)":{"params":{"maxDepositAmount":"The maximum deposit amount.","minDepositAmount":"The minimum deposit amount."},"details":"Sets the deposit limits.Only callable by accounts with VAULT_MANAGER role."},"withdraw(uint256,address,address)":{"details":"Burns shares from owner and sends exactly assets of underlying tokens to receiver. - MUST emit the Withdraw event. - MAY support an additional flow in which the underlying tokens are owned by the Vault contract before the   withdraw execution, and are accounted for during withdraw. - MUST revert if all of assets cannot be withdrawn (due to withdrawal limit being reached, slippage, the owner   not having enough shares, etc). Note that some implementations will require pre-requesting to the Vault before a withdrawal may be performed. Those methods should be performed separately."},"claimWithdrawal(address,uint256[])":{"params":{"user":"The user address to claim from","epochIDs":"Array of epoch IDs to claim from"},"details":"Processes each epoch internally, aggregates assets and shares, then burns and transfers onceMore gas efficient than claiming epochs individuallySkips epochs with no claimable amounts (zero shares or unprocessed epochs)"},"setWithdrawLimits(uint256,uint256)":{"params":{"maxWithdrawAmount":"The maximum withdraw amount.","minWithdrawAmount":"The minimum withdraw amount."},"details":"Sets the withdraw limits.Only callable by accounts with VAULT_MANAGER role."},"getUserEpochRequest(address,uint256)":{"params":{"user":"The user address to check","epochID":"The epoch ID to check"},"details":"Returns the amount of shares requested by the specified user in the epoch","returns":{"shares":"The amount of shares requested by the user in the epoch"}},"totalRequestedSharesPerEpoch(uint256)":{"params":{"epochID":"The epoch ID to check"},"details":"Returns the total shares from all users that requested withdrawal in the epochReturns 0 after epoch is processed (shares moved to requestingSharesInPast)","returns":{"_0":"The total shares requested in the epoch"}},"transferFrom(address,address,uint256)":{"details":"See {IERC20-transferFrom}. Skips emitting an {Approval} event indicating an allowance update. This is not required by the ERC. See {xref-ERC20-_approve-address-address-uint256-bool-}[_approve]. NOTE: Does not update the allowance if the current allowance is the maximum `uint256`. Requirements: - `from` and `to` cannot be the zero address. - `from` must have a balance of at least `value`. - the caller must have allowance for ``from``'s tokens of at least `value`."},"updateManagementFeeRecipient(address)":{"params":{"recipient":"The new management fee recipient address."},"details":"Only callable by accounts with VAULT_MANAGER role.Recipient cannot be address(0)."},"totalRequestedSharesForCurrentEpochs()":{"details":"Returns the total shares from all users that requested withdrawal in the active and processing epochs","returns":{"_0":"The total shares requested in the active epoch","_1":"The total shares requested in the processing epoch","_2":"The total shares requested in the last processed epoch"}},"updatePerformanceFeeRecipient(address)":{"params":{"recipient":"The new performance fee recipient address."},"details":"Only callable by accounts with VAULT_MANAGER.Recipient cannot be address(0)."},"getUserEpochRequestInAssets(address,uint256)":{"params":{"epochID":"The epoch ID to check"},"details":"Returns the amount of assets claimable by the caller from the specified epochReturns 0 if epoch is not processed, no request exists, or epoch is current/future","returns":{"assets":"The amount of assets claimable from the epoch"}}},"version":1},"storageLayout":{"types":null,"storage":[]},"transientStorageLayout":{"types":null,"storage":[]},"evm":{"bytecode":{"object":"60a060405234801561000f575f5ffd5b5060405161605b38038061605b83398101604081905261002e916100fe565b808061003861004c565b6001600160a01b03166080525061012b9050565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00805468010000000000000000900460ff161561009c5760405163f92ee8a960e01b815260040160405180910390fd5b80546001600160401b03908116146100fb5780546001600160401b0319166001600160401b0390811782556040519081527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b50565b5f6020828403121561010e575f5ffd5b81516001600160a01b0381168114610124575f5ffd5b9392505050565b608051615efc61015f5f395f8181610abe01528181610e6c0152818161165a015281816118760152612a500152615efc5ff3fe608060405234801561000f575f5ffd5b50600436106104a6575f3560e01c80637d3fdf011161026e578063b3d7f6b911610156578063ca15c873116100ca578063d905777e1161008f578063d905777e14610b47578063dbb1fc0d14610b5a578063dd62ed3e14610b62578063e045f2e014610b75578063ef8b30f714610b88578063f2fde38b14610b9b575f5ffd5b8063ca15c87314610af3578063cdd5f2c814610b06578063ce96cb7714610b0e578063d547741f14610b21578063d87826c914610b34575f5ffd5b8063bf2460001161011b578063bf24600014610a8b578063c10af4c714610a93578063c39a93eb14610aa6578063c45a015514610ab9578063c63d75b61461071d578063c6e6f59214610ae0575f5ffd5b8063b3d7f6b914610a37578063b460af9414610a4a578063b49a60bb14610a5d578063ba08765214610a65578063ba73664614610a78575f5ffd5b806394bf804d116101ed578063a3246ad3116101b2578063a3246ad3146109a8578063a6f7f5d6146109bb578063a9059cbb146109f1578063acd078e014610a04578063b15fd3b114610a0c578063b19c2c7014610a2f575f5ffd5b806394bf804d1461090857806395d89b411461091b57806398b3abb4146109235780639e51f5cc1461094d578063a217fddf146109a1575f5ffd5b8063887344ff11610233578063887344ff146108b45780638c7f67c1146108c75780638da5cb5b146108da5780639010d07c146108e257806391d14854146108f5575f5ffd5b80637d3fdf01146108525780637f414cf81461086557806382299a5c1461086d578063859844fc14610875578063877887821461088a575f5ffd5b80632f2ff15d1161039157806354fd4d501161031057806367881fd0116102d557806367881fd0146107f65780636e553f6514610809578063709ac1c31461081c57806370a082311461082f578063715018a61461084257806372c5291c1461084a575f5ffd5b806354fd4d501461075757806357ec83cc146107775780635aef467a1461078a5780635e30d7fe1461079d5780635fbbc0d2146107b0575f5ffd5b806338d52e0f1161035657806338d52e0f146106ea5780633c256b981461070a578063402d267d1461071d5780634cdad506146107315780634eddea0614610744575f5ffd5b80632f2ff15d146106775780633015394c1461068a5780633033bc101461069d578063313ce567146106bd57806336568abe146106d7575f5ffd5b80630a28a47711610428578063223e5479116103ed578063223e5479146105f8578063227475de1461060b57806323b872dd1461061e578063248a9ca3146106315780632968676e146106445780632b060a6814610664575f5ffd5b80630a28a477146105a357806312526a48146105b657806315b6c1ea146105c9578063175188e8146105dd57806318160ddd146105f0575f5ffd5b806306e566001161046e57806306e566001461053857806306fdde031461054b57806307a2d13a146105605780630900cf6c14610573578063095ea7b314610590575f5ffd5b806301e1d114146104aa57806301ffc9a7146104c557806304fb78b6146104e8578063052aa633146104f2578063059d9c7514610530575b5f5ffd5b6104b2610bae565b6040519081526020015b60405180910390f35b6104d86104d33660046151cc565b610bbd565b60405190151581526020016104bc565b6104f0610be7565b005b6104b26105003660046151f3565b5f9081527f0ada5b606f7944319310c49c0f9f30d6272793a991bd2b9c3db8049867746702602052604090205490565b6104f0610c7b565b6104f061054636600461521e565b610c96565b610553610d3f565b6040516104bc9190615239565b6104b261056e3660046151f3565b610dff565b61057b610e0a565b604080519283526020830191909152016104bc565b6104d861059e36600461526e565b610e1c565b6104b26105b13660046151f3565b610e33565b6104f06105c436600461521e565b610e59565b5f516020615dc75f395f51905f52546104b2565b6104f06105eb36600461521e565b610f8e565b6104b2611031565b6104f061060636600461521e565b611056565b6104b261061936600461526e565b611160565b6104d861062c366004615298565b611191565b6104b261063f3660046151f3565b6111b6565b61065761065236600461521e565b6111d6565b6040516104bc91906152ea565b6104f061067236600461531e565b61125d565b6104f061068536600461533e565b6112f0565b6104f06106983660046151f3565b611312565b6106b06106ab3660046151f3565b61137b565b6040516104bc919061536c565b6106c56113ef565b60405160ff90911681526020016104bc565b6104f06106e536600461533e565b611431565b6106f2611469565b6040516001600160a01b0390911681526020016104bc565b6104f06107183660046153cd565b61149d565b6104b261072b36600461521e565b505f1990565b6104b261073f3660046151f3565b611508565b6104f061075236600461531e565b611525565b61075f611583565b6040516001600160401b0390911681526020016104bc565b6104f0610785366004615463565b6115a7565b6104f06107983660046154c1565b611748565b6104f06107ab3660046154f3565b6117f0565b6107b8611936565b6040805161ffff96871681526001600160a01b03958616602082015263ffffffff90941690840152931660608201529116608082015260a0016104bc565b6104f0610804366004615541565b61198a565b6104b261081736600461533e565b611a65565b6104f061082a366004615584565b611bcd565b6104b261083d36600461521e565b611c30565b6104f0611c56565b6104b2611c67565b6104f06108603660046155b9565b611c7d565b61057b611d2e565b6104b2611d4b565b61087d611dd3565b6040516104bc9190615622565b610892611e3c565b604080516001600160a01b03909316835261ffff9091166020830152016104bc565b6104f06108c236600461526e565b611e69565b6104f06108d53660046153cd565b611f1a565b6106f2611f85565b6106f26108f036600461531e565b611fad565b6104d861090336600461533e565b611fd2565b6104b261091636600461533e565b612008565b610553612152565b7f0ada5b606f7944319310c49c0f9f30d6272793a991bd2b9c3db80498677467055460ff166104d8565b6104b261095b36600461526e565b6001600160a01b03919091165f9081527f0ada5b606f7944319310c49c0f9f30d6272793a991bd2b9c3db804986774670360209081526040808320938352929052205490565b6104b25f81565b61087d6109b63660046151f3565b612190565b6109c36121b9565b604080516001600160a01b03909416845261ffff909216602084015263ffffffff16908201526060016104bc565b6104d86109ff36600461526e565b6121f6565b61057b612203565b610a14612223565b604080519384526020840192909252908201526060016104bc565b6104f061229c565b6104b2610a453660046151f3565b6123e1565b6104b2610a5836600461566d565b6123ff565b61087d6125a2565b6104b2610a7336600461566d565b6125b7565b6104b2610a863660046151f3565b612746565b6106f261278d565b6104f0610aa1366004615584565b6127a8565b6104f0610ab43660046156ac565b61280b565b6106f27f000000000000000000000000000000000000000000000000000000000000000081565b6104b2610aee3660046151f3565b61288d565b6104b2610b013660046151f3565b612898565b6104f06128bc565b6104b2610b1c36600461521e565b612915565b6104f0610b2f36600461533e565b612928565b6104f0610b4236600461521e565b612944565b6104b2610b5536600461521e565b6129b6565b6104b26129e0565b6104b2610b703660046156f3565b6129f4565b6104f0610b8336600461521e565b612a3d565b6104b2610b963660046151f3565b612b3f565b6104f0610ba936600461521e565b612b5c565b5f610bb7612b96565b50919050565b5f6001600160e01b03198216635a05180f60e01b1480610be15750610be182612c14565b92915050565b5f516020615e075f395f51905f52610bfe81612c48565b7f0ada5b606f7944319310c49c0f9f30d6272793a991bd2b9c3db8049867746705805460ff19811660ff909116159081179091556040805182815290515f516020615e675f395f51905f5292917f622ac9e7dfefe4b395a61df3b2d570aa753a3c9febd3ad24f919322920895fce919081900360200190a1505050565b610c83612c52565b610c8b612c9c565b50610c94612e99565b565b5f516020615e875f395f51905f52610cad81612c48565b6001600160a01b038216610cd45760405163d92e233d60e01b815260040160405180910390fd5b604051620372b360e91b81526001600160a01b0383166004820152730000000000000000000000000000000000000000906306e56600906024015b5f6040518083038186803b158015610d25575f5ffd5b505af4158015610d37573d5f5f3e3d5ffd5b505050505050565b7f52c63247e1f47db19d5ce0460030c497f067ca4cebf71ba98eeadabe20bace0380546060915f516020615de75f395f51905f5291610d7d9061571f565b80601f0160208091040260200160405190810160405280929190818152602001828054610da99061571f565b8015610df45780601f10610dcb57610100808354040283529160200191610df4565b820191905f5260205f20905b815481529060010190602001808311610dd757829003601f168201915b505050505091505090565b5f610be1825f612ebf565b5f5f610e14612b96565b915091509091565b5f33610e29818585612f01565b5060019392505050565b5f5f5f610e3e612b96565b9092509050610e5184828460015f612f0e565b949350505050565b610e61612c52565b610e69612c9c565b507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316638da5cb5b6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610ec6573d5f5f3e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610eea9190615751565b6001600160a01b0316336001600160a01b031614610f1b5760405163d29ecfe160e01b815260040160405180910390fd5b60405163024a4d4960e31b81526001600160a01b0382166004820152730000000000000000000000000000000000000000906312526a48906024015b5f6040518083038186803b158015610f6d575f5ffd5b505af4158015610f7f573d5f5f3e3d5ffd5b50505050610f8b612e99565b50565b610f96612c52565b7f1893e1a169e79f2fe8aa327b1bceb2fede7a1b76a54824f95ea0e737720954ae610fc081612c48565b6040516302ea311d60e31b81526001600160a01b03831660048201527300000000000000000000000000000000000000009063175188e8906024015b5f6040518083038186803b158015611012575f5ffd5b505af4158015611024573d5f5f3e3d5ffd5b5050505050610f8b612e99565b7f52c63247e1f47db19d5ce0460030c497f067ca4cebf71ba98eeadabe20bace025490565b61105e612c52565b7f1893e1a169e79f2fe8aa327b1bceb2fede7a1b76a54824f95ea0e737720954ae61108881612c48565b611090611469565b6001600160a01b0316826001600160a01b03166338d52e0f6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156110d5573d5f5f3e3d5ffd5b505050506040513d601f19601f820116820180604052508101906110f99190615751565b6001600160a01b0316146111205760405163e76673ef60e01b815260040160405180910390fd5b60405163223e547960e01b81526001600160a01b03831660048201527300000000000000000000000000000000000000009063223e547990602401610ffc565b5f805f516020615e675f395f51905f529050610e518484835f015461118487612746565b61118c6113ef565b612f5c565b5f3361119e858285612fec565b6111a9858585613037565b60019150505b9392505050565b5f9081525f516020615e275f395f51905f52602052604090206001015490565b604080518082019091525f80825260208201526111f1613094565b6001600160a01b0383165f90815260089190910160205260409081902081518083019092528054829060ff16600281111561122e5761122e6152d6565b600281111561123f5761123f6152d6565b8152905461010090046001600160781b031660209091015292915050565b611265612c52565b5f516020615e075f395f51905f5261127c81612c48565b604051630560c14d60e31b8152600481018490526024810183905273000000000000000000000000000000000000000090632b060a68906044015b5f6040518083038186803b1580156112cd575f5ffd5b505af41580156112df573d5f5f3e3d5ffd5b50505050506112ec612e99565b5050565b6112f9826111b6565b61130281612c48565b61130c83836130b8565b50505050565b60405163887344ff60e01b8152336004820152602481018290527300000000000000000000000000000000000000009063887344ff906044015b5f6040518083038186803b158015611362575f5ffd5b505af4158015611374573d5f5f3e3d5ffd5b5050505050565b6040516303033bc160e41b8152600481018290525f9073000000000000000000000000000000000000000090633033bc1090602401602060405180830381865af41580156113cb573d5f5f3e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610be1919061576c565b5f807f0773e532dfede91f04b12a73d3d2acd361424f41f76b4fb79f090161e36b4e0090505f815461142b9190600160a01b900460ff1661579e565b91505090565b6001600160a01b038116331461145a5760405163334bd91960e11b815260040160405180910390fd5b61146482826130fa565b505050565b5f807f0773e532dfede91f04b12a73d3d2acd361424f41f76b4fb79f090161e36b4e005b546001600160a01b031692915050565b806114bb5760405163dae42f1960e01b815260040160405180910390fd5b73000000000000000000000000000000000000000063bed0dc336114dd611469565b3385856114e86113ef565b6040518663ffffffff1660e01b8152600401610d0f9594939291906157b7565b5f5f5f611513612b96565b9092509050610e518482845f80613133565b61152d612c52565b5f516020615e075f395f51905f5261154481612c48565b60405163276ef50360e11b8152600481018490526024810183905273000000000000000000000000000000000000000090634eddea06906044016112b7565b5f6115a25f516020615ea75f395f51905f52546001600160401b031690565b905090565b5f516020615ea75f395f51905f52546001600160401b0316156115dc5760405162dc149f60e41b815260040160405180910390fd5b5f516020615ea75f395f51905f528054859190600160401b900460ff1680611611575080546001600160401b03808416911610155b1561162f5760405163f92ee8a960e01b815260040160405180910390fd5b805468ffffffffffffffffff19166001600160401b03831617600160401b1781556001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000166116813390565b6001600160a01b0316146116a857604051631966391b60e11b815260040160405180910390fd5b6116b0613178565b6116b985613188565b6116f9868686868080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061319992505050565b805460ff60401b191681556040516001600160401b03831681527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a1505050505050565b61175282826131b2565b5f516020615dc75f395f51905f5254611769611469565b6040516370a0823160e01b81523060048201526001600160a01b0391909116906370a0823190602401602060405180830381865afa1580156117ad573d5f5f3e3d5ffd5b505050506040513d601f19601f820116820180604052508101906117d19190615810565b10156112ec57604051631e9acf1760e31b815260040160405180910390fd5b6117f8612c52565b5f516020615ea75f395f51905f528054849190600160401b900460ff168061182d575080546001600160401b03808416911610155b1561184b5760405163f92ee8a960e01b815260040160405180910390fd5b805468ffffffffffffffffff19166001600160401b03831617600160401b1781556001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001661189d3390565b6001600160a01b0316146118c457604051631966391b60e11b815260040160405180910390fd5b6118e5610f8b5f516020615ea75f395f51905f52546001600160401b031690565b805460ff60401b191681556040516001600160401b03831681527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15050611464612e99565b5f5f5f5f5f5f611944613094565b6005810154600690910154600160a01b80830461ffff9081169a6001600160a01b038086169b50600160b01b90950463ffffffff16995091830416965091169350915050565b5f516020615e875f395f51905f526119a181612c48565b6001600160a01b0384166119c85760405163d92e233d60e01b815260040160405180910390fd5b816119e65760405163dae42f1960e01b815260040160405180910390fd5b73000000000000000000000000000000000000000063bed0dc33611a08611469565b868686611a136113ef565b6040518663ffffffff1660e01b8152600401611a339594939291906157b7565b5f6040518083038186803b158015611a49575f5ffd5b505af4158015611a5b573d5f5f3e3d5ffd5b5050505050505050565b5f611a6e612c52565b611a76612c9c565b506001600160a01b038216611a9e57604051631e4ec46b60e01b815260040160405180910390fd5b5f611aa7613094565b60408051808201909152600c91909101546001600160a01b0381168252600160a01b90046001600160601b0316602082015290505f611ae46129e0565b9050611af1826001613301565b15611b0357611b038233878785613335565b5f19611b13565b60405180910390fd5b5f611b2a611b1f611031565b8890855f6001612f0e565b90505f5f611b36611d2e565b909250905081611b46868b615848565b11158015611b545750808910155b338a838590919293611b7d57604051630cd147c960e31b8152600401611b0a949392919061585b565b50505050611b93611b8b3390565b898b866133ac565b611b9e866002613301565b15611bbd57611bbd338a858b611bb26129e0565b8b9493929190613449565b5090945050505050610be1612e99565b611bd5612c52565b5f516020615e075f395f51905f52611bec81612c48565b611bf4612c9c565b5060405163709ac1c360e01b815261ffff831660048201527300000000000000000000000000000000000000009063709ac1c390602401610ffc565b6001600160a01b03165f9081525f516020615de75f395f51905f52602052604090205490565b611c5e6134b5565b610c945f6134e7565b5f5f516020615e675f395f51905f525b54919050565b611c85612c52565b7f233f5edd266b4c1e845863cec156a09138880d786ad44f83338de5088db7bf00611caf81612c48565b5f611cb8613094565b8351602080860180516001600160601b03908116600160a01b026001600160a01b03909416938417600c86015560408051948552915116918301919091529192507fdf54464c1716ef505e744140e0952c7818e8fca244bda3dae5d2f971860aef0d910160405180910390a15050610f8b612e99565b5f5f5f611d39613094565b80546002909101549094909350915050565b5f5f611d55613094565b90505f611d6482600901613557565b90505f5b8151811015611dcd57826008015f838381518110611d8857611d88615881565b6020908102919091018101516001600160a01b031682528101919091526040015f2054611dc39061010090046001600160781b031685615848565b9350600101611d68565b50505090565b6060611ddd613094565b600b01805480602002602001604051908101604052809291908181526020018280548015611e3257602002820191905f5260205f20905b81546001600160a01b03168152600190910190602001808311611e14575b5050505050905090565b5f5f5f611e47613094565b600601546001600160a01b03811694600160a01b90910461ffff169350915050565b5f516020615e875f395f51905f52611e8081612c48565b6001600160a01b038316611ea75760405163d92e233d60e01b815260040160405180910390fd5b60405163887344ff60e01b81526001600160a01b0384166004820152602481018390527300000000000000000000000000000000000000009063887344ff906044015f6040518083038186803b158015611eff575f5ffd5b505af4158015611f11573d5f5f3e3d5ffd5b50505050505050565b611f22612c52565b7fdcac51f5d253e2787a458cfb1d6b8faf248cf16367710f9e3b6bd5644d23f8db611f4c81612c48565b604051638c7f67c160e01b815273000000000000000000000000000000000000000090638c7f67c1906112b790869086906004016158dd565b5f807f9016d09d72d40fdae2fd8ceac6b6234c7706214fd39c1cd1e609a0528c19930061148d565b5f8281525f516020615da75f395f51905f52602081905260408220610e519084613563565b5f9182525f516020615e275f395f51905f52602090815260408084206001600160a01b0393909316845291905290205460ff1690565b5f612011612c52565b612019612c9c565b506001600160a01b03821661204157604051631e4ec46b60e01b815260040160405180910390fd5b5f61204a613094565b60408051808201909152600c91909101546001600160a01b0381168252600160a01b90046001600160601b0316602082015290505f6120876129e0565b9050612094826003613301565b156120a6576120a6823387878561356e565b5f195f6120bf6120b4611031565b889085600180613133565b90505f5f6120cb611d2e565b9092509050816120db8685615848565b111580156120e95750808310155b338483859091929361211257604051630cd147c960e31b8152600401611b0a949392919061585b565b505050506121286121203390565b89858c6133ac565b612133866004613301565b15611bbd57611bbd33848b8b6121476129e0565b8b94939291906135b5565b7f52c63247e1f47db19d5ce0460030c497f067ca4cebf71ba98eeadabe20bace0480546060915f516020615de75f395f51905f5291610d7d9061571f565b5f8181525f516020615da75f395f51905f5260208190526040909120606091906111af90613557565b5f5f5f5f6121c5613094565b600501546001600160a01b03811695600160a01b820461ffff169550600160b01b90910463ffffffff169350915050565b5f33610e29818585613037565b5f5f5f61220e613094565b90508060010154816003015492509250509091565b5f5f5f73000000000000000000000000000000000000000063b15fd3b16040518163ffffffff1660e01b8152600401606060405180830381865af415801561226d573d5f5f3e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061229191906158f0565b925092509250909192565b6122a4612c9c565b506122ad612c52565b5f516020615e875f395f51905f526122c481612c48565b5f6122cd6113ef565b90507300000000000000000000000000000000000000006323818cb961230e6122f784600a6159fe565b6122ff611031565b6123076129e0565b5f5f613133565b612316611469565b6040516370a0823160e01b81523060048201526001600160a01b0391909116906370a0823190602401602060405180830381865afa15801561235a573d5f5f3e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061237e9190615810565b6040516001600160e01b031960e085901b1681526004810192909252602482015260ff841660448201526064015f6040518083038186803b1580156123c1575f5ffd5b505af41580156123d3573d5f5f3e3d5ffd5b505050505050610c94612e99565b5f5f5f6123ec612b96565b9092509050610e5184828460015f613133565b5f612408612c52565b612410612c9c565b506001600160a01b03831661243857604051631e4ec46b60e01b815260040160405180910390fd5b5f612441613094565b60408051808201909152600c91909101546001600160a01b0381168252600160a01b90046001600160601b0316602082015290505f61247e6129e0565b905061248b826005613301565b1561249e5761249e8233888888866135ec565b5f6124a7611031565b90505f6124c382845f5f6124ba8b611c30565b93929190613133565b90505f6124d4898486600180612f0e565b9050818911806124ef5750886124ed338a8a8d8661363b565b105b1561251357868983604051633fa733bb60e21b8152600401611b0a93929190615827565b5f5f61251d612203565b91509150818b111580156125315750808b10155b338c83859091929361255a57604051630cd147c960e31b8152600401611b0a949392919061585b565b5050505061257260068861330190919063ffffffff16565b1561259157612591338c858d6125866129e0565b8c9493929190613796565b5090955050505050506111af612e99565b60606115a26125af613094565b600901613557565b5f6125c0612c52565b6125c8612c9c565b506001600160a01b0383166125f057604051631e4ec46b60e01b815260040160405180910390fd5b5f6125f9613094565b60408051808201909152600c91909101546001600160a01b0381168252600160a01b90046001600160601b0316602082015290505f6126366129e0565b9050612643826007613301565b15612656576126568233888888866137cd565b5f61266085611c30565b90505f61267961266e611031565b8990855f6001613133565b905081881180612694575080612692338989858d61363b565b105b156126b857858883604051632e52afbb60e21b8152600401611b0a93929190615827565b5f5f6126c2612203565b915091508183111580156126d65750808310155b33848385909192936126ff57604051630cd147c960e31b8152600401611b0a949392919061585b565b5050505061271760088761330190919063ffffffff16565b156127365761273633848c8c61272b6129e0565b8b949392919061381f565b50909450505050506111af612e99565b5f8181527f0ada5b606f7944319310c49c0f9f30d6272793a991bd2b9c3db8049867746704602052604081205480820361278257505f92915050565b6111af600182615a0c565b5f612796613094565b600401546001600160a01b0316919050565b6127b0612c52565b5f516020615e075f395f51905f526127c781612c48565b6127cf612c9c565b5060405163c10af4c760e01b815261ffff831660048201527300000000000000000000000000000000000000009063c10af4c790602401610ffc565b5f516020615e875f395f51905f5261282281612c48565b8261284057604051636d2d9ea160e11b815260040160405180910390fd5b730000000000000000000000000000000000000000633e19d9fd612862611469565b86868661286d6113ef565b6040518663ffffffff1660e01b8152600401611a33959493929190615a1f565b5f610be1825f613856565b5f8181525f516020615da75f395f51905f526020819052604082206111af90613898565b5f516020615e875f395f51905f526128d381612c48565b73000000000000000000000000000000000000000063cdd5f2c86040518163ffffffff1660e01b81526004015f6040518083038186803b158015611362575f5ffd5b5f61291f826138a1565b50909392505050565b612931826111b6565b61293a81612c48565b61130c83836130fa565b61294c612c52565b7f1893e1a169e79f2fe8aa327b1bceb2fede7a1b76a54824f95ea0e737720954ae61297681612c48565b60405163d87826c960e01b81526001600160a01b03831660048201527300000000000000000000000000000000000000009063d87826c990602401610ffc565b5f5f5f5f6129c3856138a1565b919450925090506129d78382845f80612f0e565b95945050505050565b5f5f516020615e475f395f51905f52611c77565b6001600160a01b039182165f9081527f52c63247e1f47db19d5ce0460030c497f067ca4cebf71ba98eeadabe20bace016020908152604080832093909416825291909152205490565b612a45612c52565b612a4d612c9c565b507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316638da5cb5b6040518163ffffffff1660e01b8152600401602060405180830381865afa158015612aaa573d5f5f3e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612ace9190615751565b6001600160a01b0316336001600160a01b031614612aff5760405163d29ecfe160e01b815260040160405180910390fd5b6040516307022f9760e51b81526001600160a01b03821660048201527300000000000000000000000000000000000000009063e045f2e090602401610f57565b5f5f5f612b4a612b96565b9092509050610e518482845f80612f0e565b612b646134b5565b6001600160a01b038116612b8d57604051631e4fbdf760e01b81525f6004820152602401611b0a565b610f8b816134e7565b5f5f5f5f612ba26138e9565b915091505f612baf611031565b90505f8284612bbc6129e0565b612bc69190615848565b612bd09190615a0c565b90505f612bdc8261395f565b509050612be98184615848565b92505f612bf883878787613a6f565b509050612c058185615848565b92989297509195505050505050565b5f6001600160e01b03198216637965db0b60e01b1480610be157506301ffc9a760e01b6001600160e01b0319831614610be1565b610f8b8133613b1a565b7f9b779b17422d0df92223018b32b4d1fa46e071723d6817e2486d003becc55f00805460011901612c9657604051633ee5aeb560e01b815260040160405180910390fd5b60029055565b5f5f612ca6613094565b90505f5f5f612cb784600901613557565b80519091505f5b81811015612e09575f5f5f612ceb868581518110612cde57612cde615881565b6020026020010151613b53565b925092509250825f141580612cff57508115155b15612dfb57612d0d81613cab565b896008015f888781518110612d2457612d24615881565b60200260200101516001600160a01b03166001600160a01b031681526020019081526020015f205f0160016101000a8154816001600160781b0302191690836001600160781b031602179055508288612d7d9190615848565b9750612d898288615848565b9650858481518110612d9d57612d9d615881565b60200260200101516001600160a01b03167fe11daacdf6490767a003932f47d7701165c31eb98ae03312422400522e33b11d828585604051612df2939291909283526020830191909152604082015260600190565b60405180910390a25b505050806001019050612cbe565b5050505f612e215f516020615e475f395f51905f5290565b90505f8284835f0154612e349190615848565b612e3e9190615a0c565b8083559050612e4c81613ce2565b612e57818585613da8565b60408051858152602081018590527ffe2ebf53456a69d7b70affc98b9021c791a9bce3af6fa5d24dfbc2db0f817b54910160405180910390a195945050505050565b60017f9b779b17422d0df92223018b32b4d1fa46e071723d6817e2486d003becc55f0055565b5f5f5f612eca6138e9565b915091506129d7612ed9611031565b8284612ee36129e0565b612eed9190615848565b612ef79190615a0c565b879190875f613133565b6114648383836001613e46565b5f612f31612f1d866001615848565b612f28866001615848565b88919086613f29565b9050818015612f3e575080155b156129d757604051633999656760e01b815260040160405180910390fd5b5f821580612f6a5750838510155b15612f7657505f6129d7565b6001600160a01b0386165f9081527f0ada5b606f7944319310c49c0f9f30d6272793a991bd2b9c3db80498677467036020908152604080832088845290915281205490819003612fc9575f9150506129d7565b612fe184612fd885600a6159fe565b8391905f613f29565b979650505050505050565b5f612ff784846129f4565b90505f1981101561130c578181101561302957828183604051637dc7a0d960e11b8152600401611b0a93929190615827565b61130c84848484035f613e46565b6001600160a01b03831661306057604051634b637e8f60e11b81525f6004820152602401611b0a565b6001600160a01b0382166130895760405163ec442f0560e01b81525f6004820152602401611b0a565b611464838383613f6b565b7fe74d828616eceb28be4a8cf3f9eeee868e1f44ce928ee17a9d7ad296fa52be0090565b5f5f516020615da75f395f51905f52816130d28585614083565b90508015610e51575f8581526020839052604090206130f19085614124565b50949350505050565b5f5f516020615da75f395f51905f52816131148585614138565b90508015610e51575f8581526020839052604090206130f190856141b1565b5f61314d613142856001615848565b612f28876001615848565b905081801561315a575080155b156129d7576040516396d8043360e01b815260040160405180910390fd5b6131806141c5565b610c946141fb565b6131906141c5565b610f8b81614203565b6131a483838361420b565b606081015161130c81614388565b6131ba612c52565b7fdcac51f5d253e2787a458cfb1d6b8faf248cf16367710f9e3b6bd5644d23f8db6131e481612c48565b6131ec612c9c565b505f638f5d2a4760e01b8484604051602401613209929190615a5e565b60408051601f198184030181529190526020810180516001600160e01b03166001600160e01b03199093169290921790915290506132588161324961278d565b6001600160a01b0316906143d6565b505f516020615dc75f395f51905f5254613270611469565b6040516370a0823160e01b81523060048201526001600160a01b0391909116906370a0823190602401602060405180830381865afa1580156132b4573d5f5f3e3d5ffd5b505050506040513d601f19601f820116820180604052508101906132d89190615810565b10156132f757604051631e9acf1760e31b815260040160405180910390fd5b50506112ec612e99565b5f61330c838361443f565b1580613320575082516001600160a01b0316155b1561332c57505f610be1565b50600192915050565b84516040516384a88ad560e01b81526001600160a01b03868116600483015260248201869052848116604483015260648201849052909116906384a88ad5906084015b5f604051808303815f87803b15801561338f575f5ffd5b505af11580156133a1573d5f5f3e3d5ffd5b505050505050505050565b6133bf6133b7611469565b853085614471565b815f516020615e475f395f51905f5280545f906133dd908490615848565b909155506133ed905083826144d8565b826001600160a01b0316846001600160a01b03167fdcbc1c05240f31ff3ad067ef1ee35ce4997762752e3a095284754544f4c709d7848460405161343b929190918252602082015260400190565b60405180910390a350505050565b8551604051635121af7560e01b81526001600160a01b0390911690635121af75906134809088908890889088908890600401615a8c565b5f604051808303815f87803b158015613497575f5ffd5b505af11580156134a9573d5f5f3e3d5ffd5b50505050505050505050565b336134be611f85565b6001600160a01b031614610c945760405163118cdaa760e01b8152336004820152602401611b0a565b7f9016d09d72d40fdae2fd8ceac6b6234c7706214fd39c1cd1e609a0528c19930080546001600160a01b031981166001600160a01b03848116918217845560405192169182907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0905f90a3505050565b60605f6111af8361450c565b5f6111af8383614565565b84516040516398377f0360e01b81526001600160a01b03868116600483015260248201869052848116604483015260648201849052909116906398377f0390608401613378565b855160405163b4e1167360e01b81526001600160a01b039091169063b4e11673906134809088908890889088908890600401615a8c565b855160405163dd3a450b60e01b81526001600160a01b0387811660048301526024820187905285811660448301528481166064830152608482018490529091169063dd3a450b9060a401613480565b5f5f821161365c57604051639811e0c760e01b815260040160405180910390fd5b7f0ada5b606f7944319310c49c0f9f30d6272793a991bd2b9c3db8049867746705545f516020615e675f395f51905f529060ff161561378157846001600160a01b0316876001600160a01b0316146136b9576136b9858885612fec565b6136c4853085613037565b80546001600160a01b0387165f9081526003830160209081526040808320848452909152812080548692906136fa908490615848565b90915550505f8181526002830160205260408120805486929061371e908490615848565b909155505060408051868152602081018690529081018290526001600160a01b0380881691898216918b16907f0cddd4f59848797de89e03b9d9afb2b9ffbb42b032a976132b69b165a988d91d9060600160405180910390a484925050506129d7565b61378e878787878761458b565b9150506129d7565b85516040516328ea381560e21b81526001600160a01b039091169063a3a8e054906134809088908890889088908890600401615a8c565b8551604051600162c2788160e01b031981526001600160a01b0387811660048301526024820187905285811660448301528481166064830152608482018490529091169063ff3d877f9060a401613480565b855160405163a4940aed60e01b81526001600160a01b039091169063a4940aed906134809088908890889088908890600401615a8c565b5f5f5f6138616138e9565b915091506129d7613870611031565b828461387a6129e0565b6138849190615848565b61388e9190615a0c565b879190875f612f0e565b5f610be1825490565b5f5f5f5f6138ae85611c30565b90505f5f6138ba612b96565b90925090505f6138cd8483858480613133565b90506138d88161493a565b9650919450925050505b9193909250565b5f5f5f6138f76125af613094565b80519091505f5b81811015613958575f5f61391d858481518110612cde57612cde615881565b5091509150815f14158061393057508015155b1561394e5761393f8288615848565b965061394b8187615848565b95505b50506001016138fe565b5050509091565b5f5f5f61396a613094565b6005810154909150600160a01b900461ffff165f0361398e57505f93849350915050565b5f613997614b86565b600583015490915063ffffffff600160b01b90910481169082168190036139c557505f958695509350505050565b5f6139d08284615abf565b600585015463ffffffff9190911691505f90612710906139fb90600160a01b900461ffff168a615adb565b613a059190615b06565b90506301e13380613a168383615adb565b613a209190615b06565b9550855f03613a3857505f9788975095505050505050565b87861115613a44578795505b613a63613a4f611031565b613a59888b615a0c565b8891905f80612f0e565b96505050505050915091565b5f5f5f613a7a613094565b6006810154909150600160a01b900461ffff161580613a995750858510155b15613aaa575f5f9250925050613b11565b5f613ab58688615a0c565b60068301549091505f90613ad8908390600160a01b900461ffff16612710614b90565b9050805f03613aef575f5f94509450505050613b11565b5f613b0887613afe848d615a0c565b8491905f80612f0e565b95509093505050505b94509492505050565b613b248282611fd2565b6112ec5760405163e2517d3f60e01b81526001600160a01b038216600482015260248101839052604401611b0a565b5f5f5f5f613b5f613094565b6001600160a01b0386165f9081526008820160205260409020549091506001600160781b036101008204169060019060ff166002811115613ba257613ba26152d6565b14613bb7575f5f5f94509450945050506138e2565b5f866001600160a01b031663538a018f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015613bf4573d5f5f3e3d5ffd5b505050506040513d601f19601f82011682018060405250810190613c189190615810565b90506001600160781b03811015613c2f5780613c38565b6001600160781b035b90505f5f836001600160781b03168303613c5b57909650945092506138e2915050565b836001600160781b0316831115613c8657613c7f6001600160781b03851684615a0c565b9150613c9c565b613c99836001600160781b038616615a0c565b90505b90989097509095509350505050565b5f6001600160781b03821115613cde576040516306dfcc6560e41b81526078600482015260248101839052604401611b0a565b5090565b5f5f613ced8361395f565b915091505f613cfa613094565b9050613d04614b86565b60058201805463ffffffff92909216600160b01b0263ffffffff60b01b19831681179091556001600160a01b039081169116178315801590613d4e57506001600160a01b03811615155b1561137457613d5d81856144d8565b60408051858152602081018590526001600160a01b038316917fe0a6c0d2df19a90b154d31618f7d6897e3b5bc6d509af23fb86c4f5395d31b8d910160405180910390a25050505050565b5f5f613dbd858585613db8611031565b613a6f565b91509150815f03613dcf575050505050565b5f613dd8613094565b60068101549091506001600160a01b03168015611f1157613df981856144d8565b60408051858152602081018590526001600160a01b038316917f71dd3803aa05c93645074cd325b45c8dd9dcc3396f538083f54611df04ebe9a9910160405180910390a250505050505050565b5f516020615de75f395f51905f526001600160a01b038516613e7d5760405163e602df0560e01b81525f6004820152602401611b0a565b6001600160a01b038416613ea657604051634a1406b160e11b81525f6004820152602401611b0a565b6001600160a01b038086165f9081526001830160209081526040808320938816835292905220839055811561137457836001600160a01b0316856001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92585604051613f1a91815260200190565b60405180910390a35050505050565b5f613f56613f3683614c46565b8015613f5157505f8480613f4c57613f4c615af2565b868809115b151590565b613f61868686614b90565b6129d79190615848565b5f516020615de75f395f51905f526001600160a01b038416613fa55781816002015f828254613f9a9190615848565b909155506140029050565b6001600160a01b0384165f9081526020829052604090205482811015613fe45784818460405163391434e360e21b8152600401611b0a93929190615827565b6001600160a01b0385165f9081526020839052604090209083900390555b6001600160a01b03831661402057600281018054839003905561403e565b6001600160a01b0383165f9081526020829052604090208054830190555b826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8460405161343b91815260200190565b5f5f516020615e275f395f51905f5261409c8484611fd2565b61411b575f848152602082815260408083206001600160a01b03871684529091529020805460ff191660011790556140d13390565b6001600160a01b0316836001600160a01b0316857f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a46001915050610be1565b5f915050610be1565b5f6111af836001600160a01b038416614c72565b5f5f516020615e275f395f51905f526141518484611fd2565b1561411b575f848152602082815260408083206001600160a01b0387168085529252808320805460ff1916905551339287917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a46001915050610be1565b5f6111af836001600160a01b038416614cbe565b5f516020615ea75f395f51905f5254600160401b900460ff16610c9457604051631afcd79f60e31b815260040160405180910390fd5b612e996141c5565b612b646141c5565b5f5f5f5f5f858060200190518101906142249190615ba2565b9398509196509450925090506001600160a01b03851661425757604051638f16646d60e01b815260040160405180910390fd5b6001600160a01b03841661427e57604051636448d6e960e11b815260040160405180910390fd5b6001600160a01b0383166142a5576040516320fb0c8560e21b815260040160405180910390fd5b5f8251116142c65760405163430f13b360e01b815260040160405180910390fd5b5f8151116142e75760405163010466f160e21b815260040160405180910390fd5b6142f18282614d98565b6142fa84614de8565b614302614e6b565b60408051636da12bef60e01b81526001600160a01b03808816600483015285166024820152336044820152905173000000000000000000000000000000000000000091636da12bef916064808301925f929190829003018186803b158015614368575f5ffd5b505af415801561437a573d5f5f3e3d5ffd5b505050505050505050505050565b6143906141c5565b60405163b64bdb0160e01b81526001600160a01b03821660048201523360248201527300000000000000000000000000000000000000009063b64bdb019060440161134c565b60605f5f846001600160a01b0316846040516143f29190615c3e565b5f60405180830381855af49150503d805f811461442a576040519150601f19603f3d011682016040523d82523d5f602084013e61442f565b606091505b50915091506129d7858383614e73565b5f60608260ff161061445257505f610be1565b506020820151600160ff83161b166001600160601b0316151592915050565b6040516001600160a01b03848116602483015283811660448301526064820183905261130c9186918216906323b872dd906084015b604051602081830303815290604052915060e01b6020820180516001600160e01b038381831617835250505050614ecf565b6001600160a01b0382166145015760405163ec442f0560e01b81525f6004820152602401611b0a565b6112ec5f8383613f6b565b6060815f0180548060200260200160405190810160405280929190818152602001828054801561455957602002820191905f5260205f20905b815481526020019060010190808311614545575b50505050509050919050565b5f825f01828154811061457a5761457a615881565b905f5260205f200154905092915050565b5f5f614595613094565b90505f6145a0611469565b6040516370a0823160e01b81523060048201526001600160a01b0391909116906370a0823190602401602060405180830381865afa1580156145e4573d5f5f3e3d5ffd5b505050506040513d601f19601f820116820180604052508101906146089190615810565b90505f6146205f516020615dc75f395f51905f525490565b90505f81831015614631575f61463b565b61463b8284615a0c565b905086811015614920575f84600b0180548060200260200160405190810160405280929190818152602001828054801561469c57602002820191905f5260205f20905b81546001600160a01b0316815260019091019060200180831161467e575b505050505090505f815190505f5f5b8281101561491b576001886008015f8684815181106146cc576146cc615881565b6020908102919091018101516001600160a01b031682528101919091526040015f205460ff166002811115614703576147036152d6565b14158061473c575061473a84828151811061472057614720615881565b602002602001015189600901614f3b90919063ffffffff16565b155b61491357848b0391505f84828151811061475857614758615881565b60200260200101516001600160a01b031663ac7a1b5b6040518163ffffffff1660e01b8152600401602060405180830381865afa15801561479b573d5f5f3e3d5ffd5b505050506040513d601f19601f820116820180604052508101906147bf9190615810565b90505f838210156147d057816147d2565b835b90508015614902575f8684815181106147ed576147ed615881565b60200260200101516001600160a01b0316634b6d39f5836040518263ffffffff1660e01b815260040161482291815260200190565b6020604051808303815f875af115801561483e573d5f5f3e3d5ffd5b505050506040513d601f19601f820116820180604052508101906148629190615810565b905061486d81613cab565b8b6008015f89878151811061488457614884615881565b60200260200101516001600160a01b03166001600160a01b031681526020019081526020015f205f0160018282829054906101000a90046001600160781b03166148ce9190615c54565b92506101000a8154816001600160781b0302191690836001600160781b0316021790555080886148fe9190615848565b9750505b8c871061491057505061491b565b50505b6001016146ab565b505050505b61492d8a8a8a8a8a614f5c565b9998505050505050505050565b5f5f614944613094565b90505f61494f611469565b6040516370a0823160e01b81523060048201526001600160a01b0391909116906370a0823190602401602060405180830381865afa158015614993573d5f5f3e3d5ffd5b505050506040513d601f19601f820116820180604052508101906149b79190615810565b905083811015614b7e575f82600b01805480602002602001604051908101604052809291908181526020018280548015614a1857602002820191905f5260205f20905b81546001600160a01b031681526001909101906020018083116149fa575b505083519394505f925050505b81811015614b76576001856008015f858481518110614a4657614a46615881565b6020908102919091018101516001600160a01b031682528101919091526040015f205460ff166002811115614a7d57614a7d6152d6565b141580614ab65750614ab4838281518110614a9a57614a9a615881565b602002602001015186600901614f3b90919063ffffffff16565b155b614b6e575f84880390505f848381518110614ad357614ad3615881565b60200260200101516001600160a01b031663ac7a1b5b6040518163ffffffff1660e01b8152600401602060405180830381865afa158015614b16573d5f5f3e3d5ffd5b505050506040513d601f19601f82011682018060405250810190614b3a9190615810565b90505f82821015614b4b5781614b4d565b825b9050614b598188615848565b9650898710614b6a57505050614b76565b5050505b600101614a25565b5050506111af565b509192915050565b5f6115a242615027565b5f838302815f1985870982811083820303915050805f03614bc457838281614bba57614bba615af2565b04925050506111af565b808411614bdb57614bdb6003851502601118615057565b5f848688095f868103871696879004966002600389028118808a02820302808a02820302808a02820302808a02820302808a02820302808a02909103029181900381900460010186841190950394909402919094039290920491909117919091029150509392505050565b5f6002826003811115614c5b57614c5b6152d6565b614c659190615c73565b60ff166001149050919050565b5f818152600183016020526040812054614cb757508154600181810184555f848152602080822090930184905584548482528286019093526040902091909155610be1565b505f610be1565b5f818152600183016020526040812054801561411b575f614ce0600183615a0c565b85549091505f90614cf390600190615a0c565b9050808214614d52575f865f018281548110614d1157614d11615881565b905f5260205f200154905080875f018481548110614d3157614d31615881565b5f918252602080832090910192909255918252600188019052604090208390555b8554869080614d6357614d63615c94565b600190038181905f5260205f20015f90559055856001015f8681526020019081526020015f205f905560019350505050610be1565b614da06141c5565b5f516020615de75f395f51905f527f52c63247e1f47db19d5ce0460030c497f067ca4cebf71ba98eeadabe20bace03614dd98482615cec565b506004810161130c8382615cec565b614df06141c5565b7f0773e532dfede91f04b12a73d3d2acd361424f41f76b4fb79f090161e36b4e005f80614e1c84615068565b9150915081614e2c576012614e2e565b805b83546001600160a81b031916600160a01b60ff92909216919091026001600160a01b031916176001600160a01b0394909416939093179091555050565b610c946141c5565b606082614e8857614e838261513e565b6111af565b8151158015614e9f57506001600160a01b0384163b155b15614ec857604051639996b31560e01b81526001600160a01b0385166004820152602401611b0a565b50806111af565b5f5f60205f8451602086015f885af180614eee576040513d5f823e3d81fd5b50505f513d91508115614f05578060011415614f12565b6001600160a01b0384163b155b1561130c57604051635274afe760e01b81526001600160a01b0385166004820152602401611b0a565b6001600160a01b0381165f90815260018301602052604081205415156111af565b826001600160a01b0316856001600160a01b031614614f8057614f80838683612fec565b815f516020615e475f395f51905f5280545f90614f9e908490615a0c565b90915550614fae90508382615167565b614fc0614fb9611469565b858461519b565b826001600160a01b0316846001600160a01b0316866001600160a01b03167ffbde797d201c681b91056529119e0b02407c7bb96a4a2c75c01fc9667232c8db8585604051615018929190918252602082015260400190565b60405180910390a45050505050565b5f63ffffffff821115613cde576040516306dfcc6560e41b81526020600482015260248101839052604401611b0a565b634e487b715f52806020526024601cfd5b60408051600481526024810182526020810180516001600160e01b031663313ce56760e01b17905290515f918291829182916001600160a01b038716916150ae91615c3e565b5f60405180830381855afa9150503d805f81146150e6576040519150601f19603f3d011682016040523d82523d5f602084013e6150eb565b606091505b50915091508180156150ff57506020815110155b15615132575f818060200190518101906151199190615810565b905060ff8111615130576001969095509350505050565b505b505f9485945092505050565b80511561514e5780518082602001fd5b60405163d6bda27560e01b815260040160405180910390fd5b6001600160a01b03821661519057604051634b637e8f60e11b81525f6004820152602401611b0a565b6112ec825f83613f6b565b6040516001600160a01b0383811660248301526044820183905261146491859182169063a9059cbb906064016144a6565b5f602082840312156151dc575f5ffd5b81356001600160e01b0319811681146111af575f5ffd5b5f60208284031215615203575f5ffd5b5035919050565b6001600160a01b0381168114610f8b575f5ffd5b5f6020828403121561522e575f5ffd5b81356111af8161520a565b602081525f82518060208401528060208501604085015e5f604082850101526040601f19601f83011684010191505092915050565b5f5f6040838503121561527f575f5ffd5b823561528a8161520a565b946020939093013593505050565b5f5f5f606084860312156152aa575f5ffd5b83356152b58161520a565b925060208401356152c58161520a565b929592945050506040919091013590565b634e487b7160e01b5f52602160045260245ffd5b8151604082019060038110615301576153016152d6565b808352506001600160781b03602084015116602083015292915050565b5f5f6040838503121561532f575f5ffd5b50508035926020909101359150565b5f5f6040838503121561534f575f5ffd5b8235915060208301356153618161520a565b809150509250929050565b6020810160048310615380576153806152d6565b91905290565b5f5f83601f840112615396575f5ffd5b5081356001600160401b038111156153ac575f5ffd5b6020830191508360208260051b85010111156153c6575f5ffd5b9250929050565b5f5f602083850312156153de575f5ffd5b82356001600160401b038111156153f3575f5ffd5b6153ff85828601615386565b90969095509350505050565b80356001600160401b0381168114615421575f5ffd5b919050565b5f5f83601f840112615436575f5ffd5b5081356001600160401b0381111561544c575f5ffd5b6020830191508360208285010111156153c6575f5ffd5b5f5f5f5f60608587031215615476575f5ffd5b61547f8561540b565b9350602085013561548f8161520a565b925060408501356001600160401b038111156154a9575f5ffd5b6154b587828801615426565b95989497509550505050565b5f5f602083850312156154d2575f5ffd5b82356001600160401b038111156154e7575f5ffd5b6153ff85828601615426565b5f5f5f60408486031215615505575f5ffd5b61550e8461540b565b925060208401356001600160401b03811115615528575f5ffd5b61553486828701615426565b9497909650939450505050565b5f5f5f60408486031215615553575f5ffd5b833561555e8161520a565b925060208401356001600160401b03811115615578575f5ffd5b61553486828701615386565b5f60208284031215615594575f5ffd5b813561ffff811681146111af575f5ffd5b634e487b7160e01b5f52604160045260245ffd5b5f60408284031280156155ca575f5ffd5b50604080519081016001600160401b03811182821017156155ed576155ed6155a5565b60405282356155fb8161520a565b815260208301356001600160601b0381168114615616575f5ffd5b60208201529392505050565b602080825282518282018190525f918401906040840190835b818110156156625783516001600160a01b031683526020938401939092019160010161563b565b509095945050505050565b5f5f5f6060848603121561567f575f5ffd5b8335925060208401356156918161520a565b915060408401356156a18161520a565b809150509250925092565b5f5f5f604084860312156156be575f5ffd5b83356001600160401b038111156156d3575f5ffd5b6156df86828701615386565b909790965060209590950135949350505050565b5f5f60408385031215615704575f5ffd5b823561570f8161520a565b915060208301356153618161520a565b600181811c9082168061573357607f821691505b602082108103610bb757634e487b7160e01b5f52602260045260245ffd5b5f60208284031215615761575f5ffd5b81516111af8161520a565b5f6020828403121561577c575f5ffd5b8151600481106111af575f5ffd5b634e487b7160e01b5f52601160045260245ffd5b60ff8181168382160190811115610be157610be161578a565b6001600160a01b0386811682528516602082015260806040820181905281018390525f6001600160fb1b038411156157ed575f5ffd5b8360051b808660a085013760ff939093166060830152500160a001949350505050565b5f60208284031215615820575f5ffd5b5051919050565b6001600160a01b039390931683526020830191909152604082015260600190565b80820180821115610be157610be161578a565b6001600160a01b0394909416845260208401929092526040830152606082015260800190565b634e487b7160e01b5f52603260045260245ffd5b8183526020830192505f815f5b848110156158d35781356158b58161520a565b6001600160a01b0316865260209586019591909101906001016158a2565b5093949350505050565b602081525f610e51602083018486615895565b5f5f5f60608486031215615902575f5ffd5b5050815160208301516040909301519094929350919050565b6001815b60018411156159565780850481111561593a5761593a61578a565b600184161561594857908102905b60019390931c92800261591f565b935093915050565b5f8261596c57506001610be1565b8161597857505f610be1565b816001811461598e5760028114615998576159b4565b6001915050610be1565b60ff8411156159a9576159a961578a565b50506001821b610be1565b5060208310610133831016604e8410600b84101617156159d7575081810a610be1565b6159e35f19848461591b565b805f19048211156159f6576159f661578a565b029392505050565b5f6111af60ff84168361595e565b81810381811115610be157610be161578a565b6001600160a01b03861681526080602082018190525f90615a439083018688615895565b905083604083015260ff831660608301529695505050505050565b60208152816020820152818360408301375f818301604090810191909152601f909201601f19160101919050565b6001600160a01b039586168152602081019490945260408401929092529092166060820152608081019190915260a00190565b63ffffffff8281168282160390811115610be157610be161578a565b8082028115828204841417610be157610be161578a565b634e487b7160e01b5f52601260045260245ffd5b5f82615b1457615b14615af2565b500490565b5f82601f830112615b28575f5ffd5b81516001600160401b03811115615b4157615b416155a5565b604051601f8201601f19908116603f011681016001600160401b0381118282101715615b6f57615b6f6155a5565b604052818152838201602001851015615b86575f5ffd5b8160208501602083015e5f918101602001919091529392505050565b5f5f5f5f5f60a08688031215615bb6575f5ffd5b8551615bc18161520a565b6020870151909550615bd28161520a565b6040870151909450615be38161520a565b60608701519093506001600160401b03811115615bfe575f5ffd5b615c0a88828901615b19565b92505060808601516001600160401b03811115615c25575f5ffd5b615c3188828901615b19565b9150509295509295909350565b5f82518060208501845e5f920191825250919050565b6001600160781b038281168282160390811115610be157610be161578a565b5f60ff831680615c8557615c85615af2565b8060ff84160691505092915050565b634e487b7160e01b5f52603160045260245ffd5b601f82111561146457805f5260205f20601f840160051c81016020851015615ccd5750805b601f840160051c820191505b81811015611374575f8155600101615cd9565b81516001600160401b03811115615d0557615d056155a5565b615d1981615d13845461571f565b84615ca8565b6020601f821160018114615d4b575f8315615d345750848201515b5f19600385901b1c1916600184901b178455611374565b5f84815260208120601f198516915b82811015615d7a5787850151825560209485019460019092019101615d5a565b5084821015615d9757868401515f19600387901b60f8161c191681555b50505050600190811b0190555056fec1f6fe24621ce81ec5827caf0253cadb74709b061630e6b55e823717059320000ada5b606f7944319310c49c0f9f30d6272793a991bd2b9c3db804986774670152c63247e1f47db19d5ce0460030c497f067ca4cebf71ba98eeadabe20bace007d6d8b9b446e2d961101099c17de9758016a0de4ad2bd37ba4da59dcd2a1e69a02dd7bc7dec4dceedda775e58dd541e08a116c6c53815c0bd028192f7b62680031b60059595cae2ebab32b53f301cf68fb9c4eef322a90dbc8487ddf3a1979000ada5b606f7944319310c49c0f9f30d6272793a991bd2b9c3db80498677467008c2448210e908fe94c15d486079b8c1daacbaa9169018ef9ea35bf02aeeb558df0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00a26469706673582212202f318b03784f43c9238166c0e4d407ee2fd305483a03a12c8b18bd2b492f706264736f6c634300081b0033","sourceMap":"4076:8645:29:-:0;;;4261:66;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;4316:7;;1971:22:28;:20;:22::i;:::-;-1:-1:-1;;;;;2004:21:28;;;-1:-1:-1;4076:8645:29;;-1:-1:-1;4076:8645:29;7711:422:3;8870:21;7900:15;;;;;;;7896:76;;;7938:23;;-1:-1:-1;;;7938:23:3;;;;;;;;;;;7896:76;7985:14;;-1:-1:-1;;;;;7985:14:3;;;:34;7981:146;;8035:33;;-1:-1:-1;;;;;;8035:33:3;-1:-1:-1;;;;;8035:33:3;;;;;8087:29;;453:50:51;;;8087:29:3;;441:2:51;426:18;8087:29:3;;;;;;;7981:146;7760:373;7711:422::o;14:290:51:-;84:6;137:2;125:9;116:7;112:23;108:32;105:52;;;153:1;150;143:12;105:52;179:16;;-1:-1:-1;;;;;224:31:51;;214:42;;204:70;;270:1;267;260:12;204:70;293:5;14:290;-1:-1:-1;;;14:290:51:o;309:200::-;4076:8645:29;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","linkReferences":{"src/lib/StateInitLib.sol":{"StateInitLib":[{"start":17552,"length":20},{"start":17683,"length":20}]},"src/lib/StateSetterLib.sol":{"StateSetterLib":[{"start":4248,"length":20},{"start":4413,"length":20},{"start":4765,"length":20},{"start":5112,"length":20},{"start":5824,"length":20},{"start":7533,"length":20},{"start":8378,"length":20},{"start":10568,"length":20},{"start":10995,"length":20},{"start":11388,"length":20}]},"src/lib/AsyncVaultHelperLib.sol":{"AsyncVaultHelperLib":[{"start":3664,"length":20},{"start":5261,"length":20},{"start":5362,"length":20},{"start":5660,"length":20},{"start":6983,"length":20},{"start":8235,"length":20},{"start":9095,"length":20},{"start":9264,"length":20},{"start":10657,"length":20},{"start":10804,"length":20}]}}},"deployedBytecode":{"object":"608060405234801561000f575f5ffd5b50600436106104a6575f3560e01c80637d3fdf011161026e578063b3d7f6b911610156578063ca15c873116100ca578063d905777e1161008f578063d905777e14610b47578063dbb1fc0d14610b5a578063dd62ed3e14610b62578063e045f2e014610b75578063ef8b30f714610b88578063f2fde38b14610b9b575f5ffd5b8063ca15c87314610af3578063cdd5f2c814610b06578063ce96cb7714610b0e578063d547741f14610b21578063d87826c914610b34575f5ffd5b8063bf2460001161011b578063bf24600014610a8b578063c10af4c714610a93578063c39a93eb14610aa6578063c45a015514610ab9578063c63d75b61461071d578063c6e6f59214610ae0575f5ffd5b8063b3d7f6b914610a37578063b460af9414610a4a578063b49a60bb14610a5d578063ba08765214610a65578063ba73664614610a78575f5ffd5b806394bf804d116101ed578063a3246ad3116101b2578063a3246ad3146109a8578063a6f7f5d6146109bb578063a9059cbb146109f1578063acd078e014610a04578063b15fd3b114610a0c578063b19c2c7014610a2f575f5ffd5b806394bf804d1461090857806395d89b411461091b57806398b3abb4146109235780639e51f5cc1461094d578063a217fddf146109a1575f5ffd5b8063887344ff11610233578063887344ff146108b45780638c7f67c1146108c75780638da5cb5b146108da5780639010d07c146108e257806391d14854146108f5575f5ffd5b80637d3fdf01146108525780637f414cf81461086557806382299a5c1461086d578063859844fc14610875578063877887821461088a575f5ffd5b80632f2ff15d1161039157806354fd4d501161031057806367881fd0116102d557806367881fd0146107f65780636e553f6514610809578063709ac1c31461081c57806370a082311461082f578063715018a61461084257806372c5291c1461084a575f5ffd5b806354fd4d501461075757806357ec83cc146107775780635aef467a1461078a5780635e30d7fe1461079d5780635fbbc0d2146107b0575f5ffd5b806338d52e0f1161035657806338d52e0f146106ea5780633c256b981461070a578063402d267d1461071d5780634cdad506146107315780634eddea0614610744575f5ffd5b80632f2ff15d146106775780633015394c1461068a5780633033bc101461069d578063313ce567146106bd57806336568abe146106d7575f5ffd5b80630a28a47711610428578063223e5479116103ed578063223e5479146105f8578063227475de1461060b57806323b872dd1461061e578063248a9ca3146106315780632968676e146106445780632b060a6814610664575f5ffd5b80630a28a477146105a357806312526a48146105b657806315b6c1ea146105c9578063175188e8146105dd57806318160ddd146105f0575f5ffd5b806306e566001161046e57806306e566001461053857806306fdde031461054b57806307a2d13a146105605780630900cf6c14610573578063095ea7b314610590575f5ffd5b806301e1d114146104aa57806301ffc9a7146104c557806304fb78b6146104e8578063052aa633146104f2578063059d9c7514610530575b5f5ffd5b6104b2610bae565b6040519081526020015b60405180910390f35b6104d86104d33660046151cc565b610bbd565b60405190151581526020016104bc565b6104f0610be7565b005b6104b26105003660046151f3565b5f9081527f0ada5b606f7944319310c49c0f9f30d6272793a991bd2b9c3db8049867746702602052604090205490565b6104f0610c7b565b6104f061054636600461521e565b610c96565b610553610d3f565b6040516104bc9190615239565b6104b261056e3660046151f3565b610dff565b61057b610e0a565b604080519283526020830191909152016104bc565b6104d861059e36600461526e565b610e1c565b6104b26105b13660046151f3565b610e33565b6104f06105c436600461521e565b610e59565b5f516020615dc75f395f51905f52546104b2565b6104f06105eb36600461521e565b610f8e565b6104b2611031565b6104f061060636600461521e565b611056565b6104b261061936600461526e565b611160565b6104d861062c366004615298565b611191565b6104b261063f3660046151f3565b6111b6565b61065761065236600461521e565b6111d6565b6040516104bc91906152ea565b6104f061067236600461531e565b61125d565b6104f061068536600461533e565b6112f0565b6104f06106983660046151f3565b611312565b6106b06106ab3660046151f3565b61137b565b6040516104bc919061536c565b6106c56113ef565b60405160ff90911681526020016104bc565b6104f06106e536600461533e565b611431565b6106f2611469565b6040516001600160a01b0390911681526020016104bc565b6104f06107183660046153cd565b61149d565b6104b261072b36600461521e565b505f1990565b6104b261073f3660046151f3565b611508565b6104f061075236600461531e565b611525565b61075f611583565b6040516001600160401b0390911681526020016104bc565b6104f0610785366004615463565b6115a7565b6104f06107983660046154c1565b611748565b6104f06107ab3660046154f3565b6117f0565b6107b8611936565b6040805161ffff96871681526001600160a01b03958616602082015263ffffffff90941690840152931660608201529116608082015260a0016104bc565b6104f0610804366004615541565b61198a565b6104b261081736600461533e565b611a65565b6104f061082a366004615584565b611bcd565b6104b261083d36600461521e565b611c30565b6104f0611c56565b6104b2611c67565b6104f06108603660046155b9565b611c7d565b61057b611d2e565b6104b2611d4b565b61087d611dd3565b6040516104bc9190615622565b610892611e3c565b604080516001600160a01b03909316835261ffff9091166020830152016104bc565b6104f06108c236600461526e565b611e69565b6104f06108d53660046153cd565b611f1a565b6106f2611f85565b6106f26108f036600461531e565b611fad565b6104d861090336600461533e565b611fd2565b6104b261091636600461533e565b612008565b610553612152565b7f0ada5b606f7944319310c49c0f9f30d6272793a991bd2b9c3db80498677467055460ff166104d8565b6104b261095b36600461526e565b6001600160a01b03919091165f9081527f0ada5b606f7944319310c49c0f9f30d6272793a991bd2b9c3db804986774670360209081526040808320938352929052205490565b6104b25f81565b61087d6109b63660046151f3565b612190565b6109c36121b9565b604080516001600160a01b03909416845261ffff909216602084015263ffffffff16908201526060016104bc565b6104d86109ff36600461526e565b6121f6565b61057b612203565b610a14612223565b604080519384526020840192909252908201526060016104bc565b6104f061229c565b6104b2610a453660046151f3565b6123e1565b6104b2610a5836600461566d565b6123ff565b61087d6125a2565b6104b2610a7336600461566d565b6125b7565b6104b2610a863660046151f3565b612746565b6106f261278d565b6104f0610aa1366004615584565b6127a8565b6104f0610ab43660046156ac565b61280b565b6106f27f000000000000000000000000000000000000000000000000000000000000000081565b6104b2610aee3660046151f3565b61288d565b6104b2610b013660046151f3565b612898565b6104f06128bc565b6104b2610b1c36600461521e565b612915565b6104f0610b2f36600461533e565b612928565b6104f0610b4236600461521e565b612944565b6104b2610b5536600461521e565b6129b6565b6104b26129e0565b6104b2610b703660046156f3565b6129f4565b6104f0610b8336600461521e565b612a3d565b6104b2610b963660046151f3565b612b3f565b6104f0610ba936600461521e565b612b5c565b5f610bb7612b96565b50919050565b5f6001600160e01b03198216635a05180f60e01b1480610be15750610be182612c14565b92915050565b5f516020615e075f395f51905f52610bfe81612c48565b7f0ada5b606f7944319310c49c0f9f30d6272793a991bd2b9c3db8049867746705805460ff19811660ff909116159081179091556040805182815290515f516020615e675f395f51905f5292917f622ac9e7dfefe4b395a61df3b2d570aa753a3c9febd3ad24f919322920895fce919081900360200190a1505050565b610c83612c52565b610c8b612c9c565b50610c94612e99565b565b5f516020615e875f395f51905f52610cad81612c48565b6001600160a01b038216610cd45760405163d92e233d60e01b815260040160405180910390fd5b604051620372b360e91b81526001600160a01b0383166004820152730000000000000000000000000000000000000000906306e56600906024015b5f6040518083038186803b158015610d25575f5ffd5b505af4158015610d37573d5f5f3e3d5ffd5b505050505050565b7f52c63247e1f47db19d5ce0460030c497f067ca4cebf71ba98eeadabe20bace0380546060915f516020615de75f395f51905f5291610d7d9061571f565b80601f0160208091040260200160405190810160405280929190818152602001828054610da99061571f565b8015610df45780601f10610dcb57610100808354040283529160200191610df4565b820191905f5260205f20905b815481529060010190602001808311610dd757829003601f168201915b505050505091505090565b5f610be1825f612ebf565b5f5f610e14612b96565b915091509091565b5f33610e29818585612f01565b5060019392505050565b5f5f5f610e3e612b96565b9092509050610e5184828460015f612f0e565b949350505050565b610e61612c52565b610e69612c9c565b507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316638da5cb5b6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610ec6573d5f5f3e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610eea9190615751565b6001600160a01b0316336001600160a01b031614610f1b5760405163d29ecfe160e01b815260040160405180910390fd5b60405163024a4d4960e31b81526001600160a01b0382166004820152730000000000000000000000000000000000000000906312526a48906024015b5f6040518083038186803b158015610f6d575f5ffd5b505af4158015610f7f573d5f5f3e3d5ffd5b50505050610f8b612e99565b50565b610f96612c52565b7f1893e1a169e79f2fe8aa327b1bceb2fede7a1b76a54824f95ea0e737720954ae610fc081612c48565b6040516302ea311d60e31b81526001600160a01b03831660048201527300000000000000000000000000000000000000009063175188e8906024015b5f6040518083038186803b158015611012575f5ffd5b505af4158015611024573d5f5f3e3d5ffd5b5050505050610f8b612e99565b7f52c63247e1f47db19d5ce0460030c497f067ca4cebf71ba98eeadabe20bace025490565b61105e612c52565b7f1893e1a169e79f2fe8aa327b1bceb2fede7a1b76a54824f95ea0e737720954ae61108881612c48565b611090611469565b6001600160a01b0316826001600160a01b03166338d52e0f6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156110d5573d5f5f3e3d5ffd5b505050506040513d601f19601f820116820180604052508101906110f99190615751565b6001600160a01b0316146111205760405163e76673ef60e01b815260040160405180910390fd5b60405163223e547960e01b81526001600160a01b03831660048201527300000000000000000000000000000000000000009063223e547990602401610ffc565b5f805f516020615e675f395f51905f529050610e518484835f015461118487612746565b61118c6113ef565b612f5c565b5f3361119e858285612fec565b6111a9858585613037565b60019150505b9392505050565b5f9081525f516020615e275f395f51905f52602052604090206001015490565b604080518082019091525f80825260208201526111f1613094565b6001600160a01b0383165f90815260089190910160205260409081902081518083019092528054829060ff16600281111561122e5761122e6152d6565b600281111561123f5761123f6152d6565b8152905461010090046001600160781b031660209091015292915050565b611265612c52565b5f516020615e075f395f51905f5261127c81612c48565b604051630560c14d60e31b8152600481018490526024810183905273000000000000000000000000000000000000000090632b060a68906044015b5f6040518083038186803b1580156112cd575f5ffd5b505af41580156112df573d5f5f3e3d5ffd5b50505050506112ec612e99565b5050565b6112f9826111b6565b61130281612c48565b61130c83836130b8565b50505050565b60405163887344ff60e01b8152336004820152602481018290527300000000000000000000000000000000000000009063887344ff906044015b5f6040518083038186803b158015611362575f5ffd5b505af4158015611374573d5f5f3e3d5ffd5b5050505050565b6040516303033bc160e41b8152600481018290525f9073000000000000000000000000000000000000000090633033bc1090602401602060405180830381865af41580156113cb573d5f5f3e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610be1919061576c565b5f807f0773e532dfede91f04b12a73d3d2acd361424f41f76b4fb79f090161e36b4e0090505f815461142b9190600160a01b900460ff1661579e565b91505090565b6001600160a01b038116331461145a5760405163334bd91960e11b815260040160405180910390fd5b61146482826130fa565b505050565b5f807f0773e532dfede91f04b12a73d3d2acd361424f41f76b4fb79f090161e36b4e005b546001600160a01b031692915050565b806114bb5760405163dae42f1960e01b815260040160405180910390fd5b73000000000000000000000000000000000000000063bed0dc336114dd611469565b3385856114e86113ef565b6040518663ffffffff1660e01b8152600401610d0f9594939291906157b7565b5f5f5f611513612b96565b9092509050610e518482845f80613133565b61152d612c52565b5f516020615e075f395f51905f5261154481612c48565b60405163276ef50360e11b8152600481018490526024810183905273000000000000000000000000000000000000000090634eddea06906044016112b7565b5f6115a25f516020615ea75f395f51905f52546001600160401b031690565b905090565b5f516020615ea75f395f51905f52546001600160401b0316156115dc5760405162dc149f60e41b815260040160405180910390fd5b5f516020615ea75f395f51905f528054859190600160401b900460ff1680611611575080546001600160401b03808416911610155b1561162f5760405163f92ee8a960e01b815260040160405180910390fd5b805468ffffffffffffffffff19166001600160401b03831617600160401b1781556001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000166116813390565b6001600160a01b0316146116a857604051631966391b60e11b815260040160405180910390fd5b6116b0613178565b6116b985613188565b6116f9868686868080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525061319992505050565b805460ff60401b191681556040516001600160401b03831681527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a1505050505050565b61175282826131b2565b5f516020615dc75f395f51905f5254611769611469565b6040516370a0823160e01b81523060048201526001600160a01b0391909116906370a0823190602401602060405180830381865afa1580156117ad573d5f5f3e3d5ffd5b505050506040513d601f19601f820116820180604052508101906117d19190615810565b10156112ec57604051631e9acf1760e31b815260040160405180910390fd5b6117f8612c52565b5f516020615ea75f395f51905f528054849190600160401b900460ff168061182d575080546001600160401b03808416911610155b1561184b5760405163f92ee8a960e01b815260040160405180910390fd5b805468ffffffffffffffffff19166001600160401b03831617600160401b1781556001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001661189d3390565b6001600160a01b0316146118c457604051631966391b60e11b815260040160405180910390fd5b6118e5610f8b5f516020615ea75f395f51905f52546001600160401b031690565b805460ff60401b191681556040516001600160401b03831681527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15050611464612e99565b5f5f5f5f5f5f611944613094565b6005810154600690910154600160a01b80830461ffff9081169a6001600160a01b038086169b50600160b01b90950463ffffffff16995091830416965091169350915050565b5f516020615e875f395f51905f526119a181612c48565b6001600160a01b0384166119c85760405163d92e233d60e01b815260040160405180910390fd5b816119e65760405163dae42f1960e01b815260040160405180910390fd5b73000000000000000000000000000000000000000063bed0dc33611a08611469565b868686611a136113ef565b6040518663ffffffff1660e01b8152600401611a339594939291906157b7565b5f6040518083038186803b158015611a49575f5ffd5b505af4158015611a5b573d5f5f3e3d5ffd5b5050505050505050565b5f611a6e612c52565b611a76612c9c565b506001600160a01b038216611a9e57604051631e4ec46b60e01b815260040160405180910390fd5b5f611aa7613094565b60408051808201909152600c91909101546001600160a01b0381168252600160a01b90046001600160601b0316602082015290505f611ae46129e0565b9050611af1826001613301565b15611b0357611b038233878785613335565b5f19611b13565b60405180910390fd5b5f611b2a611b1f611031565b8890855f6001612f0e565b90505f5f611b36611d2e565b909250905081611b46868b615848565b11158015611b545750808910155b338a838590919293611b7d57604051630cd147c960e31b8152600401611b0a949392919061585b565b50505050611b93611b8b3390565b898b866133ac565b611b9e866002613301565b15611bbd57611bbd338a858b611bb26129e0565b8b9493929190613449565b5090945050505050610be1612e99565b611bd5612c52565b5f516020615e075f395f51905f52611bec81612c48565b611bf4612c9c565b5060405163709ac1c360e01b815261ffff831660048201527300000000000000000000000000000000000000009063709ac1c390602401610ffc565b6001600160a01b03165f9081525f516020615de75f395f51905f52602052604090205490565b611c5e6134b5565b610c945f6134e7565b5f5f516020615e675f395f51905f525b54919050565b611c85612c52565b7f233f5edd266b4c1e845863cec156a09138880d786ad44f83338de5088db7bf00611caf81612c48565b5f611cb8613094565b8351602080860180516001600160601b03908116600160a01b026001600160a01b03909416938417600c86015560408051948552915116918301919091529192507fdf54464c1716ef505e744140e0952c7818e8fca244bda3dae5d2f971860aef0d910160405180910390a15050610f8b612e99565b5f5f5f611d39613094565b80546002909101549094909350915050565b5f5f611d55613094565b90505f611d6482600901613557565b90505f5b8151811015611dcd57826008015f838381518110611d8857611d88615881565b6020908102919091018101516001600160a01b031682528101919091526040015f2054611dc39061010090046001600160781b031685615848565b9350600101611d68565b50505090565b6060611ddd613094565b600b01805480602002602001604051908101604052809291908181526020018280548015611e3257602002820191905f5260205f20905b81546001600160a01b03168152600190910190602001808311611e14575b5050505050905090565b5f5f5f611e47613094565b600601546001600160a01b03811694600160a01b90910461ffff169350915050565b5f516020615e875f395f51905f52611e8081612c48565b6001600160a01b038316611ea75760405163d92e233d60e01b815260040160405180910390fd5b60405163887344ff60e01b81526001600160a01b0384166004820152602481018390527300000000000000000000000000000000000000009063887344ff906044015f6040518083038186803b158015611eff575f5ffd5b505af4158015611f11573d5f5f3e3d5ffd5b50505050505050565b611f22612c52565b7fdcac51f5d253e2787a458cfb1d6b8faf248cf16367710f9e3b6bd5644d23f8db611f4c81612c48565b604051638c7f67c160e01b815273000000000000000000000000000000000000000090638c7f67c1906112b790869086906004016158dd565b5f807f9016d09d72d40fdae2fd8ceac6b6234c7706214fd39c1cd1e609a0528c19930061148d565b5f8281525f516020615da75f395f51905f52602081905260408220610e519084613563565b5f9182525f516020615e275f395f51905f52602090815260408084206001600160a01b0393909316845291905290205460ff1690565b5f612011612c52565b612019612c9c565b506001600160a01b03821661204157604051631e4ec46b60e01b815260040160405180910390fd5b5f61204a613094565b60408051808201909152600c91909101546001600160a01b0381168252600160a01b90046001600160601b0316602082015290505f6120876129e0565b9050612094826003613301565b156120a6576120a6823387878561356e565b5f195f6120bf6120b4611031565b889085600180613133565b90505f5f6120cb611d2e565b9092509050816120db8685615848565b111580156120e95750808310155b338483859091929361211257604051630cd147c960e31b8152600401611b0a949392919061585b565b505050506121286121203390565b89858c6133ac565b612133866004613301565b15611bbd57611bbd33848b8b6121476129e0565b8b94939291906135b5565b7f52c63247e1f47db19d5ce0460030c497f067ca4cebf71ba98eeadabe20bace0480546060915f516020615de75f395f51905f5291610d7d9061571f565b5f8181525f516020615da75f395f51905f5260208190526040909120606091906111af90613557565b5f5f5f5f6121c5613094565b600501546001600160a01b03811695600160a01b820461ffff169550600160b01b90910463ffffffff169350915050565b5f33610e29818585613037565b5f5f5f61220e613094565b90508060010154816003015492509250509091565b5f5f5f73000000000000000000000000000000000000000063b15fd3b16040518163ffffffff1660e01b8152600401606060405180830381865af415801561226d573d5f5f3e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061229191906158f0565b925092509250909192565b6122a4612c9c565b506122ad612c52565b5f516020615e875f395f51905f526122c481612c48565b5f6122cd6113ef565b90507300000000000000000000000000000000000000006323818cb961230e6122f784600a6159fe565b6122ff611031565b6123076129e0565b5f5f613133565b612316611469565b6040516370a0823160e01b81523060048201526001600160a01b0391909116906370a0823190602401602060405180830381865afa15801561235a573d5f5f3e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061237e9190615810565b6040516001600160e01b031960e085901b1681526004810192909252602482015260ff841660448201526064015f6040518083038186803b1580156123c1575f5ffd5b505af41580156123d3573d5f5f3e3d5ffd5b505050505050610c94612e99565b5f5f5f6123ec612b96565b9092509050610e5184828460015f613133565b5f612408612c52565b612410612c9c565b506001600160a01b03831661243857604051631e4ec46b60e01b815260040160405180910390fd5b5f612441613094565b60408051808201909152600c91909101546001600160a01b0381168252600160a01b90046001600160601b0316602082015290505f61247e6129e0565b905061248b826005613301565b1561249e5761249e8233888888866135ec565b5f6124a7611031565b90505f6124c382845f5f6124ba8b611c30565b93929190613133565b90505f6124d4898486600180612f0e565b9050818911806124ef5750886124ed338a8a8d8661363b565b105b1561251357868983604051633fa733bb60e21b8152600401611b0a93929190615827565b5f5f61251d612203565b91509150818b111580156125315750808b10155b338c83859091929361255a57604051630cd147c960e31b8152600401611b0a949392919061585b565b5050505061257260068861330190919063ffffffff16565b1561259157612591338c858d6125866129e0565b8c9493929190613796565b5090955050505050506111af612e99565b60606115a26125af613094565b600901613557565b5f6125c0612c52565b6125c8612c9c565b506001600160a01b0383166125f057604051631e4ec46b60e01b815260040160405180910390fd5b5f6125f9613094565b60408051808201909152600c91909101546001600160a01b0381168252600160a01b90046001600160601b0316602082015290505f6126366129e0565b9050612643826007613301565b15612656576126568233888888866137cd565b5f61266085611c30565b90505f61267961266e611031565b8990855f6001613133565b905081881180612694575080612692338989858d61363b565b105b156126b857858883604051632e52afbb60e21b8152600401611b0a93929190615827565b5f5f6126c2612203565b915091508183111580156126d65750808310155b33848385909192936126ff57604051630cd147c960e31b8152600401611b0a949392919061585b565b5050505061271760088761330190919063ffffffff16565b156127365761273633848c8c61272b6129e0565b8b949392919061381f565b50909450505050506111af612e99565b5f8181527f0ada5b606f7944319310c49c0f9f30d6272793a991bd2b9c3db8049867746704602052604081205480820361278257505f92915050565b6111af600182615a0c565b5f612796613094565b600401546001600160a01b0316919050565b6127b0612c52565b5f516020615e075f395f51905f526127c781612c48565b6127cf612c9c565b5060405163c10af4c760e01b815261ffff831660048201527300000000000000000000000000000000000000009063c10af4c790602401610ffc565b5f516020615e875f395f51905f5261282281612c48565b8261284057604051636d2d9ea160e11b815260040160405180910390fd5b730000000000000000000000000000000000000000633e19d9fd612862611469565b86868661286d6113ef565b6040518663ffffffff1660e01b8152600401611a33959493929190615a1f565b5f610be1825f613856565b5f8181525f516020615da75f395f51905f526020819052604082206111af90613898565b5f516020615e875f395f51905f526128d381612c48565b73000000000000000000000000000000000000000063cdd5f2c86040518163ffffffff1660e01b81526004015f6040518083038186803b158015611362575f5ffd5b5f61291f826138a1565b50909392505050565b612931826111b6565b61293a81612c48565b61130c83836130fa565b61294c612c52565b7f1893e1a169e79f2fe8aa327b1bceb2fede7a1b76a54824f95ea0e737720954ae61297681612c48565b60405163d87826c960e01b81526001600160a01b03831660048201527300000000000000000000000000000000000000009063d87826c990602401610ffc565b5f5f5f5f6129c3856138a1565b919450925090506129d78382845f80612f0e565b95945050505050565b5f5f516020615e475f395f51905f52611c77565b6001600160a01b039182165f9081527f52c63247e1f47db19d5ce0460030c497f067ca4cebf71ba98eeadabe20bace016020908152604080832093909416825291909152205490565b612a45612c52565b612a4d612c9c565b507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316638da5cb5b6040518163ffffffff1660e01b8152600401602060405180830381865afa158015612aaa573d5f5f3e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612ace9190615751565b6001600160a01b0316336001600160a01b031614612aff5760405163d29ecfe160e01b815260040160405180910390fd5b6040516307022f9760e51b81526001600160a01b03821660048201527300000000000000000000000000000000000000009063e045f2e090602401610f57565b5f5f5f612b4a612b96565b9092509050610e518482845f80612f0e565b612b646134b5565b6001600160a01b038116612b8d57604051631e4fbdf760e01b81525f6004820152602401611b0a565b610f8b816134e7565b5f5f5f5f612ba26138e9565b915091505f612baf611031565b90505f8284612bbc6129e0565b612bc69190615848565b612bd09190615a0c565b90505f612bdc8261395f565b509050612be98184615848565b92505f612bf883878787613a6f565b509050612c058185615848565b92989297509195505050505050565b5f6001600160e01b03198216637965db0b60e01b1480610be157506301ffc9a760e01b6001600160e01b0319831614610be1565b610f8b8133613b1a565b7f9b779b17422d0df92223018b32b4d1fa46e071723d6817e2486d003becc55f00805460011901612c9657604051633ee5aeb560e01b815260040160405180910390fd5b60029055565b5f5f612ca6613094565b90505f5f5f612cb784600901613557565b80519091505f5b81811015612e09575f5f5f612ceb868581518110612cde57612cde615881565b6020026020010151613b53565b925092509250825f141580612cff57508115155b15612dfb57612d0d81613cab565b896008015f888781518110612d2457612d24615881565b60200260200101516001600160a01b03166001600160a01b031681526020019081526020015f205f0160016101000a8154816001600160781b0302191690836001600160781b031602179055508288612d7d9190615848565b9750612d898288615848565b9650858481518110612d9d57612d9d615881565b60200260200101516001600160a01b03167fe11daacdf6490767a003932f47d7701165c31eb98ae03312422400522e33b11d828585604051612df2939291909283526020830191909152604082015260600190565b60405180910390a25b505050806001019050612cbe565b5050505f612e215f516020615e475f395f51905f5290565b90505f8284835f0154612e349190615848565b612e3e9190615a0c565b8083559050612e4c81613ce2565b612e57818585613da8565b60408051858152602081018590527ffe2ebf53456a69d7b70affc98b9021c791a9bce3af6fa5d24dfbc2db0f817b54910160405180910390a195945050505050565b60017f9b779b17422d0df92223018b32b4d1fa46e071723d6817e2486d003becc55f0055565b5f5f5f612eca6138e9565b915091506129d7612ed9611031565b8284612ee36129e0565b612eed9190615848565b612ef79190615a0c565b879190875f613133565b6114648383836001613e46565b5f612f31612f1d866001615848565b612f28866001615848565b88919086613f29565b9050818015612f3e575080155b156129d757604051633999656760e01b815260040160405180910390fd5b5f821580612f6a5750838510155b15612f7657505f6129d7565b6001600160a01b0386165f9081527f0ada5b606f7944319310c49c0f9f30d6272793a991bd2b9c3db80498677467036020908152604080832088845290915281205490819003612fc9575f9150506129d7565b612fe184612fd885600a6159fe565b8391905f613f29565b979650505050505050565b5f612ff784846129f4565b90505f1981101561130c578181101561302957828183604051637dc7a0d960e11b8152600401611b0a93929190615827565b61130c84848484035f613e46565b6001600160a01b03831661306057604051634b637e8f60e11b81525f6004820152602401611b0a565b6001600160a01b0382166130895760405163ec442f0560e01b81525f6004820152602401611b0a565b611464838383613f6b565b7fe74d828616eceb28be4a8cf3f9eeee868e1f44ce928ee17a9d7ad296fa52be0090565b5f5f516020615da75f395f51905f52816130d28585614083565b90508015610e51575f8581526020839052604090206130f19085614124565b50949350505050565b5f5f516020615da75f395f51905f52816131148585614138565b90508015610e51575f8581526020839052604090206130f190856141b1565b5f61314d613142856001615848565b612f28876001615848565b905081801561315a575080155b156129d7576040516396d8043360e01b815260040160405180910390fd5b6131806141c5565b610c946141fb565b6131906141c5565b610f8b81614203565b6131a483838361420b565b606081015161130c81614388565b6131ba612c52565b7fdcac51f5d253e2787a458cfb1d6b8faf248cf16367710f9e3b6bd5644d23f8db6131e481612c48565b6131ec612c9c565b505f638f5d2a4760e01b8484604051602401613209929190615a5e565b60408051601f198184030181529190526020810180516001600160e01b03166001600160e01b03199093169290921790915290506132588161324961278d565b6001600160a01b0316906143d6565b505f516020615dc75f395f51905f5254613270611469565b6040516370a0823160e01b81523060048201526001600160a01b0391909116906370a0823190602401602060405180830381865afa1580156132b4573d5f5f3e3d5ffd5b505050506040513d601f19601f820116820180604052508101906132d89190615810565b10156132f757604051631e9acf1760e31b815260040160405180910390fd5b50506112ec612e99565b5f61330c838361443f565b1580613320575082516001600160a01b0316155b1561332c57505f610be1565b50600192915050565b84516040516384a88ad560e01b81526001600160a01b03868116600483015260248201869052848116604483015260648201849052909116906384a88ad5906084015b5f604051808303815f87803b15801561338f575f5ffd5b505af11580156133a1573d5f5f3e3d5ffd5b505050505050505050565b6133bf6133b7611469565b853085614471565b815f516020615e475f395f51905f5280545f906133dd908490615848565b909155506133ed905083826144d8565b826001600160a01b0316846001600160a01b03167fdcbc1c05240f31ff3ad067ef1ee35ce4997762752e3a095284754544f4c709d7848460405161343b929190918252602082015260400190565b60405180910390a350505050565b8551604051635121af7560e01b81526001600160a01b0390911690635121af75906134809088908890889088908890600401615a8c565b5f604051808303815f87803b158015613497575f5ffd5b505af11580156134a9573d5f5f3e3d5ffd5b50505050505050505050565b336134be611f85565b6001600160a01b031614610c945760405163118cdaa760e01b8152336004820152602401611b0a565b7f9016d09d72d40fdae2fd8ceac6b6234c7706214fd39c1cd1e609a0528c19930080546001600160a01b031981166001600160a01b03848116918217845560405192169182907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0905f90a3505050565b60605f6111af8361450c565b5f6111af8383614565565b84516040516398377f0360e01b81526001600160a01b03868116600483015260248201869052848116604483015260648201849052909116906398377f0390608401613378565b855160405163b4e1167360e01b81526001600160a01b039091169063b4e11673906134809088908890889088908890600401615a8c565b855160405163dd3a450b60e01b81526001600160a01b0387811660048301526024820187905285811660448301528481166064830152608482018490529091169063dd3a450b9060a401613480565b5f5f821161365c57604051639811e0c760e01b815260040160405180910390fd5b7f0ada5b606f7944319310c49c0f9f30d6272793a991bd2b9c3db8049867746705545f516020615e675f395f51905f529060ff161561378157846001600160a01b0316876001600160a01b0316146136b9576136b9858885612fec565b6136c4853085613037565b80546001600160a01b0387165f9081526003830160209081526040808320848452909152812080548692906136fa908490615848565b90915550505f8181526002830160205260408120805486929061371e908490615848565b909155505060408051868152602081018690529081018290526001600160a01b0380881691898216918b16907f0cddd4f59848797de89e03b9d9afb2b9ffbb42b032a976132b69b165a988d91d9060600160405180910390a484925050506129d7565b61378e878787878761458b565b9150506129d7565b85516040516328ea381560e21b81526001600160a01b039091169063a3a8e054906134809088908890889088908890600401615a8c565b8551604051600162c2788160e01b031981526001600160a01b0387811660048301526024820187905285811660448301528481166064830152608482018490529091169063ff3d877f9060a401613480565b855160405163a4940aed60e01b81526001600160a01b039091169063a4940aed906134809088908890889088908890600401615a8c565b5f5f5f6138616138e9565b915091506129d7613870611031565b828461387a6129e0565b6138849190615848565b61388e9190615a0c565b879190875f612f0e565b5f610be1825490565b5f5f5f5f6138ae85611c30565b90505f5f6138ba612b96565b90925090505f6138cd8483858480613133565b90506138d88161493a565b9650919450925050505b9193909250565b5f5f5f6138f76125af613094565b80519091505f5b81811015613958575f5f61391d858481518110612cde57612cde615881565b5091509150815f14158061393057508015155b1561394e5761393f8288615848565b965061394b8187615848565b95505b50506001016138fe565b5050509091565b5f5f5f61396a613094565b6005810154909150600160a01b900461ffff165f0361398e57505f93849350915050565b5f613997614b86565b600583015490915063ffffffff600160b01b90910481169082168190036139c557505f958695509350505050565b5f6139d08284615abf565b600585015463ffffffff9190911691505f90612710906139fb90600160a01b900461ffff168a615adb565b613a059190615b06565b90506301e13380613a168383615adb565b613a209190615b06565b9550855f03613a3857505f9788975095505050505050565b87861115613a44578795505b613a63613a4f611031565b613a59888b615a0c565b8891905f80612f0e565b96505050505050915091565b5f5f5f613a7a613094565b6006810154909150600160a01b900461ffff161580613a995750858510155b15613aaa575f5f9250925050613b11565b5f613ab58688615a0c565b60068301549091505f90613ad8908390600160a01b900461ffff16612710614b90565b9050805f03613aef575f5f94509450505050613b11565b5f613b0887613afe848d615a0c565b8491905f80612f0e565b95509093505050505b94509492505050565b613b248282611fd2565b6112ec5760405163e2517d3f60e01b81526001600160a01b038216600482015260248101839052604401611b0a565b5f5f5f5f613b5f613094565b6001600160a01b0386165f9081526008820160205260409020549091506001600160781b036101008204169060019060ff166002811115613ba257613ba26152d6565b14613bb7575f5f5f94509450945050506138e2565b5f866001600160a01b031663538a018f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015613bf4573d5f5f3e3d5ffd5b505050506040513d601f19601f82011682018060405250810190613c189190615810565b90506001600160781b03811015613c2f5780613c38565b6001600160781b035b90505f5f836001600160781b03168303613c5b57909650945092506138e2915050565b836001600160781b0316831115613c8657613c7f6001600160781b03851684615a0c565b9150613c9c565b613c99836001600160781b038616615a0c565b90505b90989097509095509350505050565b5f6001600160781b03821115613cde576040516306dfcc6560e41b81526078600482015260248101839052604401611b0a565b5090565b5f5f613ced8361395f565b915091505f613cfa613094565b9050613d04614b86565b60058201805463ffffffff92909216600160b01b0263ffffffff60b01b19831681179091556001600160a01b039081169116178315801590613d4e57506001600160a01b03811615155b1561137457613d5d81856144d8565b60408051858152602081018590526001600160a01b038316917fe0a6c0d2df19a90b154d31618f7d6897e3b5bc6d509af23fb86c4f5395d31b8d910160405180910390a25050505050565b5f5f613dbd858585613db8611031565b613a6f565b91509150815f03613dcf575050505050565b5f613dd8613094565b60068101549091506001600160a01b03168015611f1157613df981856144d8565b60408051858152602081018590526001600160a01b038316917f71dd3803aa05c93645074cd325b45c8dd9dcc3396f538083f54611df04ebe9a9910160405180910390a250505050505050565b5f516020615de75f395f51905f526001600160a01b038516613e7d5760405163e602df0560e01b81525f6004820152602401611b0a565b6001600160a01b038416613ea657604051634a1406b160e11b81525f6004820152602401611b0a565b6001600160a01b038086165f9081526001830160209081526040808320938816835292905220839055811561137457836001600160a01b0316856001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92585604051613f1a91815260200190565b60405180910390a35050505050565b5f613f56613f3683614c46565b8015613f5157505f8480613f4c57613f4c615af2565b868809115b151590565b613f61868686614b90565b6129d79190615848565b5f516020615de75f395f51905f526001600160a01b038416613fa55781816002015f828254613f9a9190615848565b909155506140029050565b6001600160a01b0384165f9081526020829052604090205482811015613fe45784818460405163391434e360e21b8152600401611b0a93929190615827565b6001600160a01b0385165f9081526020839052604090209083900390555b6001600160a01b03831661402057600281018054839003905561403e565b6001600160a01b0383165f9081526020829052604090208054830190555b826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8460405161343b91815260200190565b5f5f516020615e275f395f51905f5261409c8484611fd2565b61411b575f848152602082815260408083206001600160a01b03871684529091529020805460ff191660011790556140d13390565b6001600160a01b0316836001600160a01b0316857f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a46001915050610be1565b5f915050610be1565b5f6111af836001600160a01b038416614c72565b5f5f516020615e275f395f51905f526141518484611fd2565b1561411b575f848152602082815260408083206001600160a01b0387168085529252808320805460ff1916905551339287917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a46001915050610be1565b5f6111af836001600160a01b038416614cbe565b5f516020615ea75f395f51905f5254600160401b900460ff16610c9457604051631afcd79f60e31b815260040160405180910390fd5b612e996141c5565b612b646141c5565b5f5f5f5f5f858060200190518101906142249190615ba2565b9398509196509450925090506001600160a01b03851661425757604051638f16646d60e01b815260040160405180910390fd5b6001600160a01b03841661427e57604051636448d6e960e11b815260040160405180910390fd5b6001600160a01b0383166142a5576040516320fb0c8560e21b815260040160405180910390fd5b5f8251116142c65760405163430f13b360e01b815260040160405180910390fd5b5f8151116142e75760405163010466f160e21b815260040160405180910390fd5b6142f18282614d98565b6142fa84614de8565b614302614e6b565b60408051636da12bef60e01b81526001600160a01b03808816600483015285166024820152336044820152905173000000000000000000000000000000000000000091636da12bef916064808301925f929190829003018186803b158015614368575f5ffd5b505af415801561437a573d5f5f3e3d5ffd5b505050505050505050505050565b6143906141c5565b60405163b64bdb0160e01b81526001600160a01b03821660048201523360248201527300000000000000000000000000000000000000009063b64bdb019060440161134c565b60605f5f846001600160a01b0316846040516143f29190615c3e565b5f60405180830381855af49150503d805f811461442a576040519150601f19603f3d011682016040523d82523d5f602084013e61442f565b606091505b50915091506129d7858383614e73565b5f60608260ff161061445257505f610be1565b506020820151600160ff83161b166001600160601b0316151592915050565b6040516001600160a01b03848116602483015283811660448301526064820183905261130c9186918216906323b872dd906084015b604051602081830303815290604052915060e01b6020820180516001600160e01b038381831617835250505050614ecf565b6001600160a01b0382166145015760405163ec442f0560e01b81525f6004820152602401611b0a565b6112ec5f8383613f6b565b6060815f0180548060200260200160405190810160405280929190818152602001828054801561455957602002820191905f5260205f20905b815481526020019060010190808311614545575b50505050509050919050565b5f825f01828154811061457a5761457a615881565b905f5260205f200154905092915050565b5f5f614595613094565b90505f6145a0611469565b6040516370a0823160e01b81523060048201526001600160a01b0391909116906370a0823190602401602060405180830381865afa1580156145e4573d5f5f3e3d5ffd5b505050506040513d601f19601f820116820180604052508101906146089190615810565b90505f6146205f516020615dc75f395f51905f525490565b90505f81831015614631575f61463b565b61463b8284615a0c565b905086811015614920575f84600b0180548060200260200160405190810160405280929190818152602001828054801561469c57602002820191905f5260205f20905b81546001600160a01b0316815260019091019060200180831161467e575b505050505090505f815190505f5f5b8281101561491b576001886008015f8684815181106146cc576146cc615881565b6020908102919091018101516001600160a01b031682528101919091526040015f205460ff166002811115614703576147036152d6565b14158061473c575061473a84828151811061472057614720615881565b602002602001015189600901614f3b90919063ffffffff16565b155b61491357848b0391505f84828151811061475857614758615881565b60200260200101516001600160a01b031663ac7a1b5b6040518163ffffffff1660e01b8152600401602060405180830381865afa15801561479b573d5f5f3e3d5ffd5b505050506040513d601f19601f820116820180604052508101906147bf9190615810565b90505f838210156147d057816147d2565b835b90508015614902575f8684815181106147ed576147ed615881565b60200260200101516001600160a01b0316634b6d39f5836040518263ffffffff1660e01b815260040161482291815260200190565b6020604051808303815f875af115801561483e573d5f5f3e3d5ffd5b505050506040513d601f19601f820116820180604052508101906148629190615810565b905061486d81613cab565b8b6008015f89878151811061488457614884615881565b60200260200101516001600160a01b03166001600160a01b031681526020019081526020015f205f0160018282829054906101000a90046001600160781b03166148ce9190615c54565b92506101000a8154816001600160781b0302191690836001600160781b0316021790555080886148fe9190615848565b9750505b8c871061491057505061491b565b50505b6001016146ab565b505050505b61492d8a8a8a8a8a614f5c565b9998505050505050505050565b5f5f614944613094565b90505f61494f611469565b6040516370a0823160e01b81523060048201526001600160a01b0391909116906370a0823190602401602060405180830381865afa158015614993573d5f5f3e3d5ffd5b505050506040513d601f19601f820116820180604052508101906149b79190615810565b905083811015614b7e575f82600b01805480602002602001604051908101604052809291908181526020018280548015614a1857602002820191905f5260205f20905b81546001600160a01b031681526001909101906020018083116149fa575b505083519394505f925050505b81811015614b76576001856008015f858481518110614a4657614a46615881565b6020908102919091018101516001600160a01b031682528101919091526040015f205460ff166002811115614a7d57614a7d6152d6565b141580614ab65750614ab4838281518110614a9a57614a9a615881565b602002602001015186600901614f3b90919063ffffffff16565b155b614b6e575f84880390505f848381518110614ad357614ad3615881565b60200260200101516001600160a01b031663ac7a1b5b6040518163ffffffff1660e01b8152600401602060405180830381865afa158015614b16573d5f5f3e3d5ffd5b505050506040513d601f19601f82011682018060405250810190614b3a9190615810565b90505f82821015614b4b5781614b4d565b825b9050614b598188615848565b9650898710614b6a57505050614b76565b5050505b600101614a25565b5050506111af565b509192915050565b5f6115a242615027565b5f838302815f1985870982811083820303915050805f03614bc457838281614bba57614bba615af2565b04925050506111af565b808411614bdb57614bdb6003851502601118615057565b5f848688095f868103871696879004966002600389028118808a02820302808a02820302808a02820302808a02820302808a02820302808a02909103029181900381900460010186841190950394909402919094039290920491909117919091029150509392505050565b5f6002826003811115614c5b57614c5b6152d6565b614c659190615c73565b60ff166001149050919050565b5f818152600183016020526040812054614cb757508154600181810184555f848152602080822090930184905584548482528286019093526040902091909155610be1565b505f610be1565b5f818152600183016020526040812054801561411b575f614ce0600183615a0c565b85549091505f90614cf390600190615a0c565b9050808214614d52575f865f018281548110614d1157614d11615881565b905f5260205f200154905080875f018481548110614d3157614d31615881565b5f918252602080832090910192909255918252600188019052604090208390555b8554869080614d6357614d63615c94565b600190038181905f5260205f20015f90559055856001015f8681526020019081526020015f205f905560019350505050610be1565b614da06141c5565b5f516020615de75f395f51905f527f52c63247e1f47db19d5ce0460030c497f067ca4cebf71ba98eeadabe20bace03614dd98482615cec565b506004810161130c8382615cec565b614df06141c5565b7f0773e532dfede91f04b12a73d3d2acd361424f41f76b4fb79f090161e36b4e005f80614e1c84615068565b9150915081614e2c576012614e2e565b805b83546001600160a81b031916600160a01b60ff92909216919091026001600160a01b031916176001600160a01b0394909416939093179091555050565b610c946141c5565b606082614e8857614e838261513e565b6111af565b8151158015614e9f57506001600160a01b0384163b155b15614ec857604051639996b31560e01b81526001600160a01b0385166004820152602401611b0a565b50806111af565b5f5f60205f8451602086015f885af180614eee576040513d5f823e3d81fd5b50505f513d91508115614f05578060011415614f12565b6001600160a01b0384163b155b1561130c57604051635274afe760e01b81526001600160a01b0385166004820152602401611b0a565b6001600160a01b0381165f90815260018301602052604081205415156111af565b826001600160a01b0316856001600160a01b031614614f8057614f80838683612fec565b815f516020615e475f395f51905f5280545f90614f9e908490615a0c565b90915550614fae90508382615167565b614fc0614fb9611469565b858461519b565b826001600160a01b0316846001600160a01b0316866001600160a01b03167ffbde797d201c681b91056529119e0b02407c7bb96a4a2c75c01fc9667232c8db8585604051615018929190918252602082015260400190565b60405180910390a45050505050565b5f63ffffffff821115613cde576040516306dfcc6560e41b81526020600482015260248101839052604401611b0a565b634e487b715f52806020526024601cfd5b60408051600481526024810182526020810180516001600160e01b031663313ce56760e01b17905290515f918291829182916001600160a01b038716916150ae91615c3e565b5f60405180830381855afa9150503d805f81146150e6576040519150601f19603f3d011682016040523d82523d5f602084013e6150eb565b606091505b50915091508180156150ff57506020815110155b15615132575f818060200190518101906151199190615810565b905060ff8111615130576001969095509350505050565b505b505f9485945092505050565b80511561514e5780518082602001fd5b60405163d6bda27560e01b815260040160405180910390fd5b6001600160a01b03821661519057604051634b637e8f60e11b81525f6004820152602401611b0a565b6112ec825f83613f6b565b6040516001600160a01b0383811660248301526044820183905261146491859182169063a9059cbb906064016144a6565b5f602082840312156151dc575f5ffd5b81356001600160e01b0319811681146111af575f5ffd5b5f60208284031215615203575f5ffd5b5035919050565b6001600160a01b0381168114610f8b575f5ffd5b5f6020828403121561522e575f5ffd5b81356111af8161520a565b602081525f82518060208401528060208501604085015e5f604082850101526040601f19601f83011684010191505092915050565b5f5f6040838503121561527f575f5ffd5b823561528a8161520a565b946020939093013593505050565b5f5f5f606084860312156152aa575f5ffd5b83356152b58161520a565b925060208401356152c58161520a565b929592945050506040919091013590565b634e487b7160e01b5f52602160045260245ffd5b8151604082019060038110615301576153016152d6565b808352506001600160781b03602084015116602083015292915050565b5f5f6040838503121561532f575f5ffd5b50508035926020909101359150565b5f5f6040838503121561534f575f5ffd5b8235915060208301356153618161520a565b809150509250929050565b6020810160048310615380576153806152d6565b91905290565b5f5f83601f840112615396575f5ffd5b5081356001600160401b038111156153ac575f5ffd5b6020830191508360208260051b85010111156153c6575f5ffd5b9250929050565b5f5f602083850312156153de575f5ffd5b82356001600160401b038111156153f3575f5ffd5b6153ff85828601615386565b90969095509350505050565b80356001600160401b0381168114615421575f5ffd5b919050565b5f5f83601f840112615436575f5ffd5b5081356001600160401b0381111561544c575f5ffd5b6020830191508360208285010111156153c6575f5ffd5b5f5f5f5f60608587031215615476575f5ffd5b61547f8561540b565b9350602085013561548f8161520a565b925060408501356001600160401b038111156154a9575f5ffd5b6154b587828801615426565b95989497509550505050565b5f5f602083850312156154d2575f5ffd5b82356001600160401b038111156154e7575f5ffd5b6153ff85828601615426565b5f5f5f60408486031215615505575f5ffd5b61550e8461540b565b925060208401356001600160401b03811115615528575f5ffd5b61553486828701615426565b9497909650939450505050565b5f5f5f60408486031215615553575f5ffd5b833561555e8161520a565b925060208401356001600160401b03811115615578575f5ffd5b61553486828701615386565b5f60208284031215615594575f5ffd5b813561ffff811681146111af575f5ffd5b634e487b7160e01b5f52604160045260245ffd5b5f60408284031280156155ca575f5ffd5b50604080519081016001600160401b03811182821017156155ed576155ed6155a5565b60405282356155fb8161520a565b815260208301356001600160601b0381168114615616575f5ffd5b60208201529392505050565b602080825282518282018190525f918401906040840190835b818110156156625783516001600160a01b031683526020938401939092019160010161563b565b509095945050505050565b5f5f5f6060848603121561567f575f5ffd5b8335925060208401356156918161520a565b915060408401356156a18161520a565b809150509250925092565b5f5f5f604084860312156156be575f5ffd5b83356001600160401b038111156156d3575f5ffd5b6156df86828701615386565b909790965060209590950135949350505050565b5f5f60408385031215615704575f5ffd5b823561570f8161520a565b915060208301356153618161520a565b600181811c9082168061573357607f821691505b602082108103610bb757634e487b7160e01b5f52602260045260245ffd5b5f60208284031215615761575f5ffd5b81516111af8161520a565b5f6020828403121561577c575f5ffd5b8151600481106111af575f5ffd5b634e487b7160e01b5f52601160045260245ffd5b60ff8181168382160190811115610be157610be161578a565b6001600160a01b0386811682528516602082015260806040820181905281018390525f6001600160fb1b038411156157ed575f5ffd5b8360051b808660a085013760ff939093166060830152500160a001949350505050565b5f60208284031215615820575f5ffd5b5051919050565b6001600160a01b039390931683526020830191909152604082015260600190565b80820180821115610be157610be161578a565b6001600160a01b0394909416845260208401929092526040830152606082015260800190565b634e487b7160e01b5f52603260045260245ffd5b8183526020830192505f815f5b848110156158d35781356158b58161520a565b6001600160a01b0316865260209586019591909101906001016158a2565b5093949350505050565b602081525f610e51602083018486615895565b5f5f5f60608486031215615902575f5ffd5b5050815160208301516040909301519094929350919050565b6001815b60018411156159565780850481111561593a5761593a61578a565b600184161561594857908102905b60019390931c92800261591f565b935093915050565b5f8261596c57506001610be1565b8161597857505f610be1565b816001811461598e5760028114615998576159b4565b6001915050610be1565b60ff8411156159a9576159a961578a565b50506001821b610be1565b5060208310610133831016604e8410600b84101617156159d7575081810a610be1565b6159e35f19848461591b565b805f19048211156159f6576159f661578a565b029392505050565b5f6111af60ff84168361595e565b81810381811115610be157610be161578a565b6001600160a01b03861681526080602082018190525f90615a439083018688615895565b905083604083015260ff831660608301529695505050505050565b60208152816020820152818360408301375f818301604090810191909152601f909201601f19160101919050565b6001600160a01b039586168152602081019490945260408401929092529092166060820152608081019190915260a00190565b63ffffffff8281168282160390811115610be157610be161578a565b8082028115828204841417610be157610be161578a565b634e487b7160e01b5f52601260045260245ffd5b5f82615b1457615b14615af2565b500490565b5f82601f830112615b28575f5ffd5b81516001600160401b03811115615b4157615b416155a5565b604051601f8201601f19908116603f011681016001600160401b0381118282101715615b6f57615b6f6155a5565b604052818152838201602001851015615b86575f5ffd5b8160208501602083015e5f918101602001919091529392505050565b5f5f5f5f5f60a08688031215615bb6575f5ffd5b8551615bc18161520a565b6020870151909550615bd28161520a565b6040870151909450615be38161520a565b60608701519093506001600160401b03811115615bfe575f5ffd5b615c0a88828901615b19565b92505060808601516001600160401b03811115615c25575f5ffd5b615c3188828901615b19565b9150509295509295909350565b5f82518060208501845e5f920191825250919050565b6001600160781b038281168282160390811115610be157610be161578a565b5f60ff831680615c8557615c85615af2565b8060ff84160691505092915050565b634e487b7160e01b5f52603160045260245ffd5b601f82111561146457805f5260205f20601f840160051c81016020851015615ccd5750805b601f840160051c820191505b81811015611374575f8155600101615cd9565b81516001600160401b03811115615d0557615d056155a5565b615d1981615d13845461571f565b84615ca8565b6020601f821160018114615d4b575f8315615d345750848201515b5f19600385901b1c1916600184901b178455611374565b5f84815260208120601f198516915b82811015615d7a5787850151825560209485019460019092019101615d5a565b5084821015615d9757868401515f19600387901b60f8161c191681555b50505050600190811b0190555056fec1f6fe24621ce81ec5827caf0253cadb74709b061630e6b55e823717059320000ada5b606f7944319310c49c0f9f30d6272793a991bd2b9c3db804986774670152c63247e1f47db19d5ce0460030c497f067ca4cebf71ba98eeadabe20bace007d6d8b9b446e2d961101099c17de9758016a0de4ad2bd37ba4da59dcd2a1e69a02dd7bc7dec4dceedda775e58dd541e08a116c6c53815c0bd028192f7b62680031b60059595cae2ebab32b53f301cf68fb9c4eef322a90dbc8487ddf3a1979000ada5b606f7944319310c49c0f9f30d6272793a991bd2b9c3db80498677467008c2448210e908fe94c15d486079b8c1daacbaa9169018ef9ea35bf02aeeb558df0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00a26469706673582212202f318b03784f43c9238166c0e4d407ee2fd305483a03a12c8b18bd2b492f706264736f6c634300081b0033","sourceMap":"4076:8645:29:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;18473:236:30;;;:::i;:::-;;;160:25:51;;;148:2;133:18;18473:236:30;;;;;;;;1695:212:2;;;;;;:::i;:::-;;:::i;:::-;;;652:14:51;;645:22;627:41;;615:2;600:18;1695:212:2;487:187:51;5152:379:29;;;:::i;:::-;;9473:197;;;;;;:::i;:::-;9559:7;9585:78;;;:69;:78;;;;;;;9473:197;5873:84:30;;;:::i;8549:210:29:-;;;;;;:::i;:::-;;:::i;2716:144:4:-;;;:::i;:::-;;;;;;;:::i;7511:148:5:-;;;;;;:::i;:::-;;:::i;18294:129:30:-;;;:::i;:::-;;;;1895:25:51;;;1951:2;1936:18;;1929:34;;;;1868:18;18294:129:30;1721:248:51;5210:186:4;;;;;;:::i;:::-;;:::i;17451:363:30:-;;;;;;:::i;:::-;;:::i;6877:250::-;;;;;;:::i;:::-;;:::i;9256:167:29:-;-1:-1:-1;;;;;;;;;;;9350:66:29;9256:167;;15986:162:30;;;;;;:::i;:::-;;:::i;3896:152:4:-;;;:::i;15673:245:30:-;;;;;;:::i;:::-;;:::i;6888:424:29:-;;;;;;:::i;:::-;;:::i;5988:244:4:-;;;;;;:::i;:::-;;:::i;4759:191:0:-;;;;;;:::i;:::-;;:::i;19440:145:30:-;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;7478:251::-;;;;;;:::i;:::-;;:::i;5246:136:0:-;;;;;;:::i;:::-;;:::i;5581:130:29:-;;;;;;:::i;:::-;;:::i;10254:149::-;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;6612:221:5:-;;;:::i;:::-;;;4977:4:51;4965:17;;;4947:36;;4935:2;4920:18;6612:221:5;4805:184:51;6348:245:0;;;;;;:::i;:::-;;:::i;6877:153:5:-;;;:::i;:::-;;;-1:-1:-1;;;;;5158:32:51;;;5140:51;;5128:2;5113:18;6877:153:5;4994:203:51;7387:223:29;;;;;;:::i;:::-;;:::i;7708:108:5:-;;;;;;:::i;:::-;-1:-1:-1;;;7792:17:5;7708:108;17864:362:30;;;;;;:::i;:::-;;:::i;7180:245::-;;;;;;:::i;:::-;;:::i;2238:98:28:-;;;:::i;:::-;;;-1:-1:-1;;;;;6178:31:51;;;6160:50;;6148:2;6133:18;2238:98:28;6016:200:51;2395:345:28;;;;;;:::i;:::-;;:::i;12172:385:29:-;;;;;;:::i;:::-;;:::i;2799:231:28:-;;;;;;:::i;:::-;;:::i;7782:625:30:-;;;:::i;:::-;;;;8553:6:51;8541:19;;;8523:38;;-1:-1:-1;;;;;8597:32:51;;;8592:2;8577:18;;8570:60;8678:10;8666:23;;;8646:18;;;8639:51;8726:19;;8721:2;8706:18;;8699:47;8783:32;;8777:3;8762:19;;8755:61;8510:3;8495:19;7782:625:30;8270:552:51;7660:347:29;;;;;;:::i;:::-;;:::i;8457:1475:30:-;;;;;;:::i;:::-;;:::i;6593:231::-;;;;;;:::i;:::-;;:::i;4106:171:4:-;;;;;;:::i;:::-;;:::i;3155:101:1:-;;;:::i;9063:143:29:-;;;:::i;15105:238:30:-;;;;;;:::i;:::-;;:::i;20003:205::-;;;:::i;21075:357::-;;;:::i;16475:134::-;;;:::i;:::-;;;;;;;:::i;20815:207::-;;;:::i;:::-;;;;-1:-1:-1;;;;;11770:32:51;;;11752:51;;11851:6;11839:19;;;11834:2;11819:18;;11812:47;11725:18;20815:207:30;11580:285:51;5761:226:29;;;;;;:::i;:::-;;:::i;15431:174:30:-;;;;;;:::i;:::-;;:::i;2441:144:1:-;;;:::i;2492:233:2:-;;;;;;:::i;:::-;;:::i;3732:207:0:-;;;;;;:::i;:::-;;:::i;9982:1399:30:-;;;;;;:::i;:::-;;:::i;2973:148:4:-;;;:::i;11979:140:29:-;12058:54;;;;11979:140;;8809:204;;;;;;:::i;:::-;-1:-1:-1;;;;;8933:64:29;;;;8900:14;8933:64;;;:58;:64;;;;;;;;:73;;;;;;;;;8809:204;2317:49:0;;2362:4;2317:49;;3658:227:2;;;;;;:::i;:::-;;:::i;20522:240:30:-;;;:::i;:::-;;;;-1:-1:-1;;;;;12879:32:51;;;12861:51;;12960:6;12948:19;;;12943:2;12928:18;;12921:47;13016:10;13004:23;12984:18;;;12977:51;12849:2;12834:18;20522:240:30;12663:371:51;4472:178:4;;;;;;:::i;:::-;;:::i;20261:208:30:-;;;:::i;9720:188:29:-;;;:::i;:::-;;;;13241:25:51;;;13297:2;13282:18;;13275:34;;;;13325:18;;;13318:34;13229:2;13214:18;9720:188:29;13039:319:51;6169:637:29;;;:::i;17086:315:30:-;;;;;;:::i;:::-;;:::i;11431:1830::-;;;;;;:::i;:::-;;:::i;19653:121::-;;;:::i;13311:1726::-;;;;;;:::i;:::-;;:::i;9958:290:29:-;;;;;;:::i;:::-;;:::i;19842:108:30:-;;;:::i;6010:227::-;;;;;;:::i;:::-;;:::i;8013:289:29:-;;;;;;:::i;:::-;;:::i;1889:32:28:-;;;;;7309:148:5;;;;;;:::i;:::-;;:::i;2893:222:2:-;;;;;;:::i;:::-;;:::i;5993:126:29:-;;;:::i;19153:219:30:-;;;;;;:::i;:::-;;:::i;5662:138:0:-;;;;;;:::i;:::-;;:::i;16216:174:30:-;;;;;;:::i;:::-;;:::i;18759:344::-;;;;;;:::i;:::-;;:::i;21438:128::-;;;:::i;4708:195:4:-;;;;;;:::i;:::-;;:::i;6290:250:30:-;;;;;;:::i;:::-;;:::i;16674:362::-;;;;;;:::i;:::-;;:::i;3405:215:1:-;;;;;;:::i;:::-;;:::i;18473:236:30:-;18604:28;18674;:26;:28::i;:::-;-1:-1:-1;18648:54:30;18473:236;-1:-1:-1;18473:236:30:o;1695:212:2:-;1780:4;-1:-1:-1;;;;;;1803:57:2;;-1:-1:-1;;;1803:57:2;;:97;;;1864:36;1888:11;1864:23;:36::i;:::-;1796:104;1695:212;-1:-1:-1;;1695:212:2:o;5152:379:29:-;-1:-1:-1;;;;;;;;;;;3191:16:0;3202:4;3191:10;:16::i;:::-;5407:15:29;;;-1:-1:-1;;5432:37:29;::::1;5407:15;::::0;;::::1;5406:16;5432:37:::0;;::::1;::::0;;;5485:39:::1;::::0;;627:41:51;;;5485:39:29;;-1:-1:-1;;;;;;;;;;;1448:37:47;5406:16:29;5485:39:::1;::::0;;;;;615:2:51;5485:39:29;;::::1;5231:300;;5152:379:::0;:::o;5873:84:30:-;3395:21:7;:19;:21::i;:::-;5936:14:30::1;:12;:14::i;:::-;;3437:20:7::0;:18;:20::i;:::-;5873:84:30:o;8549:210:29:-;-1:-1:-1;;;;;;;;;;;3191:16:0;3202:4;3191:10;:16::i;:::-;-1:-1:-1;;;;;8660:18:29;::::1;8652:42;;;;-1:-1:-1::0;;;8652:42:29::1;;;;;;;;;;;;8704:48;::::0;-1:-1:-1;;;8704:48:29;;-1:-1:-1;;;;;5158:32:51;;8704:48:29::1;::::0;::::1;5140:51:51::0;8704:19:29::1;::::0;:42:::1;::::0;5113:18:51;;8704:48:29::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8549:210:::0;;:::o;2716:144:4:-;2846:7;2839:14;;2761:13;;-1:-1:-1;;;;;;;;;;;2064:20:4;2839:14;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2716:144;:::o;7511:148:5:-;7581:7;7607:45;7624:6;7632:19;7607:16;:45::i;18294:129:30:-;18353:7;18362;18388:28;:26;:28::i;:::-;18381:35;;;;18294:129;;:::o;5210:186:4:-;5283:4;966:10:6;5337:31:4;966:10:6;5353:7:4;5362:5;5337:8;:31::i;:::-;-1:-1:-1;5385:4:4;;5210:186;-1:-1:-1;;;5210:186:4:o;17451:363:30:-;17600:7;17624:26;17652:19;17675:28;:26;:28::i;:::-;17623:80;;-1:-1:-1;17623:80:30;-1:-1:-1;17721:86:30;:6;17623:80;;17781:18;17801:5;17721:26;:86::i;:::-;17714:93;17451:363;-1:-1:-1;;;;17451:363:30:o;6877:250::-;3395:21:7;:19;:21::i;:::-;5155:14:30::1;:12;:14::i;:::-;;7014:7:::2;-1:-1:-1::0;;;;;7006:22:30::2;;:24;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1::0;;;;;6992:38:30::2;:10;-1:-1:-1::0;;;;;6992:38:30::2;;6984:70;;;;-1:-1:-1::0;;;6984:70:30::2;;;;;;;;;;;;7065:55;::::0;-1:-1:-1;;;7065:55:30;;-1:-1:-1;;;;;5158:32:51;;7065:55:30::2;::::0;::::2;5140:51:51::0;7065:14:30::2;::::0;:44:::2;::::0;5113:18:51;;7065:55:30::2;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3437:20:7::0;:18;:20::i;:::-;6877:250:30;:::o;15986:162::-;3395:21:7;:19;:21::i;:::-;481:29:43::1;3191:16:0;3202:4;3191:10;:16::i;:::-;16102:39:30::2;::::0;-1:-1:-1;;;16102:39:30;;-1:-1:-1;;;;;5158:32:51;;16102:39:30::2;::::0;::::2;5140:51:51::0;16102:14:30::2;::::0;:29:::2;::::0;5113:18:51;;16102:39:30::2;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3426:1:7::1;3437:20:::0;:18;:20::i;3896:152:4:-;4027:14;;;3896:152::o;15673:245:30:-;3395:21:7;:19;:21::i;:::-;481:29:43::1;3191:16:0;3202:4;3191:10;:16::i;:::-;15833:7:30::2;:5;:7::i;:::-;-1:-1:-1::0;;;;;15794:46:30::2;15812:8;-1:-1:-1::0;;;;;15794:33:30::2;;:35;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1::0;;;;;15794:46:30::2;;15786:79;;;;-1:-1:-1::0;;;15786:79:30::2;;;;;;;;;;;;15875:36;::::0;-1:-1:-1;;;15875:36:30;;-1:-1:-1;;;;;5158:32:51;;15875:36:30::2;::::0;::::2;5140:51:51::0;15875:14:30::2;::::0;:26:::2;::::0;5113:18:51;;15875:36:30::2;4994:203:51::0;6888:424:29;6987:14;;-1:-1:-1;;;;;;;;;;;7013:127:29;;7160:145;7221:4;7227:7;7236:1;:15;;;7253:30;7275:7;7253:21;:30::i;:::-;7285:10;:8;:10::i;:::-;7160:47;:145::i;5988:244:4:-;6075:4;966:10:6;6131:37:4;6147:4;966:10:6;6162:5:4;6131:15;:37::i;:::-;6178:26;6188:4;6194:2;6198:5;6178:9;:26::i;:::-;6221:4;6214:11;;;5988:244;;;;;;:::o;4759:191:0:-;4824:7;4919:14;;;-1:-1:-1;;;;;;;;;;;4919:14:0;;;;;:24;;;;4759:191::o;19440:145:30:-;-1:-1:-1;;;;;;;;;;;;;;;;;19542:13:30;:11;:13::i;:::-;-1:-1:-1;;;;;19542:36:30;;;;;;:26;;;;;:36;;;;;;;19535:43;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;:::i;:::-;;;;;;;;-1:-1:-1;;;;;19535:43:30;;;;;;;;-1:-1:-1;;19440:145:30:o;7478:251::-;3395:21:7;:19;:21::i;:::-;-1:-1:-1;;;;;;;;;;;3191:16:0::1;3202:4;3191:10;:16::i;:::-;7652:70:30::2;::::0;-1:-1:-1;;;7652:70:30;;::::2;::::0;::::2;1895:25:51::0;;;1936:18;;;1929:34;;;7652:14:30::2;::::0;:32:::2;::::0;1868:18:51;;7652:70:30::2;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3426:1:7::1;3437:20:::0;:18;:20::i;:::-;7478:251:30;;:::o;5246:136:0:-;5320:18;5333:4;5320:12;:18::i;:::-;3191:16;3202:4;3191:10;:16::i;:::-;5350:25:::1;5361:4;5367:7;5350:10;:25::i;:::-;;5246:136:::0;;;:::o;5581:130:29:-;5648:56;;-1:-1:-1;;;5648:56:29;;966:10:6;5648:56:29;;;16125:51:51;16192:18;;;16185:34;;;5648:19:29;;:33;;16098:18:51;;5648:56:29;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5581:130;:::o;10254:149::-;10354:42;;-1:-1:-1;;;10354:42:29;;;;;160:25:51;;;10325:10:29;;10354:19;;:33;;133:18:51;;10354:42:29;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;6612:221:5:-;6704:5;;4204:22;6721:47;-1:-1:-1;13626:5:5;6785:21;;:41;;;-1:-1:-1;;;6785:21:5;;;;:41;:::i;:::-;6778:48;;;6612:221;:::o;6348:245:0:-;-1:-1:-1;;;;;6441:34:0;;966:10:6;6441:34:0;6437:102;;6498:30;;-1:-1:-1;;;6498:30:0;;;;;;;;;;;6437:102;6549:37;6561:4;6567:18;6549:11;:37::i;:::-;;6348:245;;:::o;6877:153:5:-;6923:7;;4204:22;6969:20;7014:8;-1:-1:-1;;;;;7014:8:5;;6877:153;-1:-1:-1;;6877:153:5:o;7387:223:29:-;7476:19;7468:45;;;;-1:-1:-1;;;7468:45:29;;;;;;;;;;;;7523:19;:35;7559:7;:5;:7::i;:::-;966:10:6;7582:8:29;;7592:10;:8;:10::i;:::-;7523:80;;;;;;;;;;;;;;;;;;;:::i;17864:362:30:-;18011:7;18035:26;18063:19;18086:28;:26;:28::i;:::-;18034:80;;-1:-1:-1;18034:80:30;-1:-1:-1;18132:87:30;:6;18034:80;;18192:19;;18132:26;:87::i;7180:245::-;3395:21:7;:19;:21::i;:::-;-1:-1:-1;;;;;;;;;;;3191:16:0::1;3202:4;3191:10;:16::i;:::-;7351:67:30::2;::::0;-1:-1:-1;;;7351:67:30;;::::2;::::0;::::2;1895:25:51::0;;;1936:18;;;1929:34;;;7351:14:30::2;::::0;:31:::2;::::0;1868:18:51;;7351:67:30::2;1721:248:51::0;2238:98:28;2280:6;2305:24;-1:-1:-1;;;;;;;;;;;8325:39:3;-1:-1:-1;;;;;8325:39:3;;8243:128;2305:24:28;2298:31;;2238:98;:::o;2395:345::-;-1:-1:-1;;;;;;;;;;;8325:39:3;-1:-1:-1;;;;;8325:39:3;2078:29:28;2074:87;;2130:20;;-1:-1:-1;;;2130:20:28;;;;;;;;;;;2074:87;-1:-1:-1;;;;;;;;;;;6431:15:3;;2537:14:28;;8870:21:3;-1:-1:-1;;;6431:15:3;::::1;;;::::0;:44:::1;;-1:-1:-1::0;6450:14:3;;-1:-1:-1;;;;;6450:25:3;;::::1;:14:::0;::::1;:25;;6431:44;6427:105;;;6498:23;;-1:-1:-1::0;;;6498:23:3::1;;;;;;;;;;;6427:105;6541:24:::0;;-1:-1:-1;;6575:22:3;-1:-1:-1;;;;;6541:24:3;::::1;6575:22:::0;-1:-1:-1;;;6575:22:3::1;::::0;;-1:-1:-1;;;;;2591:7:28::2;2575:23;:12;966:10:6::0;;887:96;2575:12:28::2;-1:-1:-1::0;;;;;2575:23:28::2;;2567:46;;;;-1:-1:-1::0;;;2567:46:28::2;;;;;;;;;;;;2624:24;:22;:24::i;:::-;2659:22;2674:6;2659:14;:22::i;:::-;2692:41;2704:14;2720:6;2728:4;;2692:41;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::2;::::0;;;;-1:-1:-1;2692:11:28::2;::::0;-1:-1:-1;;;2692:41:28:i:2;:::-;6618:23:3::0;;-1:-1:-1;;;;6618:23:3::1;::::0;;6656:20:::1;::::0;-1:-1:-1;;;;;6178:31:51;;6160:50;;6656:20:3::1;::::0;6148:2:51;6133:18;6656:20:3::1;;;;;;;6291:392;2171:1:28;2395:345:::0;;;;:::o;12172:385:29:-;12328:20;12343:4;;12328:14;:20::i;:::-;-1:-1:-1;;;;;;;;;;;12439:66:29;12386:7;:5;:7::i;:::-;12379:40;;-1:-1:-1;;;12379:40:29;;12413:4;12379:40;;;5140:51:51;-1:-1:-1;;;;;12379:25:29;;;;;;;5113:18:51;;12379:40:29;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:126;;12358:192;;;;-1:-1:-1;;;12358:192:29;;;;;;;;;;;2799:231:28;3395:21:7;:19;:21::i;:::-;-1:-1:-1;;;;;;;;;;;6431:15:3;;2892:10:28;;8870:21:3;-1:-1:-1;;;6431:15:3;::::1;;;::::0;:44:::1;;-1:-1:-1::0;6450:14:3;;-1:-1:-1;;;;;6450:25:3;;::::1;:14:::0;::::1;:25;;6431:44;6427:105;;;6498:23;;-1:-1:-1::0;;;6498:23:3::1;;;;;;;;;;;6427:105;6541:24:::0;;-1:-1:-1;;6575:22:3;-1:-1:-1;;;;;6541:24:3;::::1;6575:22:::0;-1:-1:-1;;;6575:22:3::1;::::0;;-1:-1:-1;;;;;2938:7:28::2;2922:23;:12;966:10:6::0;;887:96;2922:12:28::2;-1:-1:-1::0;;;;;2922:23:28::2;;2914:46;;;;-1:-1:-1::0;;;2914:46:28::2;;;;;;;;;;;;2971:52;2980:24;-1:-1:-1::0;;;;;;;;;;;8325:39:3;-1:-1:-1;;;;;8325:39:3;;8243:128;2971:52:28::2;6618:23:3::0;;-1:-1:-1;;;;6618:23:3::1;::::0;;6656:20:::1;::::0;-1:-1:-1;;;;;6178:31:51;;6160:50;;6656:20:3::1;::::0;6148:2:51;6133:18;6656:20:3::1;;;;;;;6291:392;3426:1:7;3437:20:::0;:18;:20::i;7782:625:30:-;7883:27;7924:37;7975:38;8027:28;8069:38;8132:48;8183:13;:11;:13::i;:::-;8228:15;;;;8335:16;;;;;-1:-1:-1;;;8228:15:30;;;;;;;;-1:-1:-1;;;;;8257:24:30;;;;-1:-1:-1;;;;8295:26:30;;;;;;-1:-1:-1;8335:16:30;;;;;-1:-1:-1;8365:25:30;;;-1:-1:-1;7782:625:30;-1:-1:-1;;7782:625:30:o;7660:347:29:-;-1:-1:-1;;;;;;;;;;;3191:16:0;3202:4;3191:10;:16::i;:::-;-1:-1:-1;;;;;7829:18:29;::::1;7821:42;;;;-1:-1:-1::0;;;7821:42:29::1;;;;;;;;;;;;7881:19:::0;7873:45:::1;;;;-1:-1:-1::0;;;7873:45:29::1;;;;;;;;;;;;7928:19;:35;7964:7;:5;:7::i;:::-;7973:4;7979:8;;7989:10;:8;:10::i;:::-;7928:72;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;7660:347:::0;;;;:::o;8457:1475:30:-;8649:7;3395:21:7;:19;:21::i;:::-;5155:14:30::1;:12;:14::i;:::-;-1:-1:-1::0;;;;;;8680:22:30;::::2;8672:50;;;;-1:-1:-1::0;;;8672:50:30::2;;;;;;;;;;;;8733:14;8750:13;:11;:13::i;:::-;8733:36;::::0;;;;::::2;::::0;;;8750:19:::2;::::0;;;::::2;8733:36:::0;-1:-1:-1;;;;;8733:36:30;::::2;::::0;;-1:-1:-1;;;8733:36:30;::::2;-1:-1:-1::0;;;;;8733:36:30::2;;::::0;::::2;::::0;;-1:-1:-1;;8814:19:30::2;:17;:19::i;:::-;8779:54:::0;-1:-1:-1;8893:36:30::2;:1:::0;376::42::2;8893:14:30;:36::i;:::-;8889:137;;;8945:70;:1:::0;966:10:6;8972:6:30;8980:8;8990:24;8945:12:::2;:70::i;:::-;-1:-1:-1::0;;9112:110:30::2;::::0;9157:54:::2;;;;;;;;9112:110;9232:14;9249:94;9276:13;:11;:13::i;:::-;9249:6:::0;;9291:24;9317:19:::2;9338:4;9249:26;:94::i;:::-;9232:111;;9355:24;9381;9409:18;:16;:18::i;:::-;9354:73:::0;;-1:-1:-1;9354:73:30;-1:-1:-1;9354:73:30;9458:33:::2;9467:24:::0;9458:6;:33:::2;:::i;:::-;:53;;:83;;;;;9525:16;9515:6;:26;;9458:83;9578:10;9590:6;9598:16;9616;9437:206;;;;;;;;-1:-1:-1::0;;;9437:206:30::2;;;;;;;;;;;:::i;:::-;;;;;9654:48;9663:12;966:10:6::0;;887:96;9663:12:30::2;9677:8;9687:6;9695;9654:8;:48::i;:::-;9764:37;:1:::0;413::42::2;9764:14:30;:37::i;:::-;9760:142;;;9817:74;966:10:6::0;9845:6:30::2;9853;9861:8;9871:19;:17;:19::i;:::-;9817:1:::0;;:74;;;;:13:::2;:74::i;:::-;-1:-1:-1::0;9919:6:30;;-1:-1:-1;;;;;3437:20:7;:18;:20::i;6593:231:30:-;3395:21:7;:19;:21::i;:::-;-1:-1:-1;;;;;;;;;;;3191:16:0::1;3202:4;3191:10;:16::i;:::-;5155:14:30::2;:12;:14::i;:::-;-1:-1:-1::0;6765:52:30::3;::::0;-1:-1:-1;;;6765:52:30;;19037:6:51;19025:19;;6765:52:30::3;::::0;::::3;19007:38:51::0;6765:14:30::3;::::0;:35:::3;::::0;18980:18:51;;6765:52:30::3;18855:196:51::0;4106:171:4;-1:-1:-1;;;;;4250:20:4;4171:7;4250:20;;;-1:-1:-1;;;;;;;;;;;4250:20:4;;;;;;;4106:171::o;3155:101:1:-;2334:13;:11;:13::i;:::-;3219:30:::1;3246:1;3219:18;:30::i;9063:143:29:-:0;9119:7;-1:-1:-1;;;;;;;;;;;9145:40:29;:54;;9063:143;-1:-1:-1;9063:143:29:o;15105:238:30:-;3395:21:7;:19;:21::i;:::-;324:25:43::1;3191:16:0;3202:4;3191:10;:16::i;:::-;15215:48:30::2;15266:13;:11;:13::i;:::-;15290:15:::0;;::::2;::::0;;::::2;::::0;;-1:-1:-1;;;;;15290:15:30;;::::2;-1:-1:-1::0;;;15290:15:30::2;-1:-1:-1::0;;;;;15290:15:30;;::::2;::::0;;::::2;:7;::::0;::::2;:15:::0;15321::::2;::::0;;19250:58:51;;;19350:24;;19346:57;19324:20;;;19317:87;;;;15290:7:30;;-1:-1:-1;15321:15:30::2;::::0;19223:18:51;15321:15:30::2;;;;;;;15205:138;3426:1:7::1;3437:20:::0;:18;:20::i;20003:205:30:-;20052:7;20061;20080:48;20131:13;:11;:13::i;:::-;20162:18;;20182;;;;;20162;;20182;;-1:-1:-1;20003:205:30;-1:-1:-1;;20003:205:30:o;21075:357::-;21125:22;21159:48;21210:13;:11;:13::i;:::-;21159:64;;21234:27;21264:21;:1;:12;;:19;:21::i;:::-;21234:51;-1:-1:-1;21301:9:30;21296:130;21320:10;:17;21316:1;:21;21296:130;;;21376:1;:14;;:29;21391:10;21402:1;21391:13;;;;;;;;:::i;:::-;;;;;;;;;;;;-1:-1:-1;;;;;21376:29:30;;;;;;;;;;;-1:-1:-1;21376:29:30;:39;21358:57;;21376:39;;;-1:-1:-1;;;;;21376:39:30;21358:57;;:::i;:::-;;-1:-1:-1;21339:3:30;;21296:130;;;;21149:283;;21075:357;:::o;16475:134::-;16530:22;16571:13;:11;:13::i;:::-;:31;;16564:38;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;16564:38:30;;;;;;;;;;;;;;;;;;;;;;;16475:134;:::o;20815:207::-;20862:7;20871:6;20889:48;20940:13;:11;:13::i;:::-;20971:25;;;-1:-1:-1;;;;;20971:25:30;;;-1:-1:-1;;;20998:16:30;;;;;;-1:-1:-1;20971:25:30;-1:-1:-1;;20815:207:30:o;5761:226:29:-;-1:-1:-1;;;;;;;;;;;3191:16:0;3202:4;3191:10;:16::i;:::-;-1:-1:-1;;;;;5888:18:29;::::1;5880:42;;;;-1:-1:-1::0;;;5880:42:29::1;;;;;;;;;;;;5932:48;::::0;-1:-1:-1;;;5932:48:29;;-1:-1:-1;;;;;16143:32:51;;5932:48:29::1;::::0;::::1;16125:51:51::0;16192:18;;;16185:34;;;5932:19:29::1;::::0;:33:::1;::::0;16098:18:51;;5932:48:29::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5761:226:::0;;;:::o;15431:174:30:-;3395:21:7;:19;:21::i;:::-;643:22:43::1;3191:16:0;3202:4;3191:10;:16::i;:::-;15556:42:30::2;::::0;-1:-1:-1;;;15556:42:30;;:14:::2;::::0;:35:::2;::::0;:42:::2;::::0;15592:5;;;;15556:42:::2;;;:::i;2441:144:1:-:0;2487:7;;1313:22;2533:20;1192:159;2492:233:2;2573:7;2688:20;;;-1:-1:-1;;;;;;;;;;;2688:20:2;;;;;;;:30;;2712:5;2688:23;:30::i;3732:207:0:-;3809:4;3901:14;;;-1:-1:-1;;;;;;;;;;;3901:14:0;;;;;;;;-1:-1:-1;;;;;3901:31:0;;;;;;;;;;;;;;;3732:207::o;9982:1399:30:-;10171:7;3395:21:7;:19;:21::i;:::-;5155:14:30::1;:12;:14::i;:::-;-1:-1:-1::0;;;;;;10202:22:30;::::2;10194:50;;;;-1:-1:-1::0;;;10194:50:30::2;;;;;;;;;;;;10255:14;10272:13;:11;:13::i;:::-;10255:36;::::0;;;;::::2;::::0;;;10272:19:::2;::::0;;;::::2;10255:36:::0;-1:-1:-1;;;;;10255:36:30;::::2;::::0;;-1:-1:-1;;;10255:36:30;::::2;-1:-1:-1::0;;;;;10255:36:30::2;;::::0;::::2;::::0;;-1:-1:-1;;10336:19:30::2;:17;:19::i;:::-;10301:54:::0;-1:-1:-1;10412:33:30::2;:1:::0;446::42::2;10412:14:30;:33::i;:::-;10408:106;;;10447:67;:1:::0;966:10:6;10471:6:30;10479:8;10489:24;10447:9:::2;:67::i;:::-;-1:-1:-1::0;;10689:14:30::2;10706:93;10733:13;:11;:13::i;:::-;10706:6:::0;;10748:24;10774:18:::2;::::0;10706:26:::2;:93::i;:::-;10689:110;;10811:24;10837;10865:18;:16;:18::i;:::-;10810:73:::0;;-1:-1:-1;10810:73:30;-1:-1:-1;10810:73:30;10914:33:::2;10923:24:::0;10914:6;:33:::2;:::i;:::-;:53;;:83;;;;;10981:16;10971:6;:26;;10914:83;966:10:6::0;11048:6:30::2;11056:16;11074;10893:208;;;;;;;;-1:-1:-1::0;;;10893:208:30::2;;;;;;;;;;;:::i;:::-;;;;;11112:48;11121:12;966:10:6::0;;887:96;11121:12:30::2;11135:8;11145:6;11153;11112:8;:48::i;:::-;11219:34;:1:::0;480::42::2;11219:14:30;:34::i;:::-;11215:136;;;11269:71;966:10:6::0;11294:6:30::2;11302;11310:8;11320:19;:17;:19::i;:::-;11269:1:::0;;:71;;;;:10:::2;:71::i;2973:148:4:-:0;3105:9;3098:16;;3020:13;;-1:-1:-1;;;;;;;;;;;2064:20:4;3098:16;;;:::i;3658:227:2:-;3753:40;3849:20;;;-1:-1:-1;;;;;;;;;;;3849:20:2;;;;;;;;3725:16;;1403:38;3849:29;;:27;:29::i;20522:240:30:-;20568:7;20577:6;20585;20603:48;20654:13;:11;:13::i;:::-;20685:24;;;-1:-1:-1;;;;;20685:24:30;;;-1:-1:-1;;;20711:15:30;;;;;-1:-1:-1;;;;20728:26:30;;;;;;-1:-1:-1;20685:24:30;-1:-1:-1;;20522:240:30:o;4472:178:4:-;4541:4;966:10:6;4595:27:4;966:10:6;4612:2:4;4616:5;4595:9;:27::i;20261:208:30:-;20311:7;20320;20339:48;20390:13;:11;:13::i;:::-;20339:64;;20421:1;:19;;;20442:1;:19;;;20413:49;;;;;20261:208;;:::o;9720:188:29:-;9799:7;9808;9817;9843:19;:56;:58;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;9836:65;;;;;;9720:188;;;:::o;6169:637::-;5155:14:30;:12;:14::i;:::-;;3395:21:7::1;:19;:21::i;:::-;-1:-1:-1::0;;;;;;;;;;;3191:16:0::2;3202:4;3191:10;:16::i;:::-;6360:14:29::3;6377:10;:8;:10::i;:::-;6360:27:::0;-1:-1:-1;6397:19:29::3;:32;6468:143;6519:14;6360:27:::0;6519:2:::3;:14;:::i;:::-;6535:13;:11;:13::i;:::-;6550:19;:17;:19::i;:::-;6571;6592:5;6468:33;:143::i;:::-;6662:7;:5;:7::i;:::-;6655:40;::::0;-1:-1:-1;;;6655:40:29;;6689:4:::3;6655:40;::::0;::::3;5140:51:51::0;-1:-1:-1;;;;;6655:25:29;;;::::3;::::0;::::3;::::0;5113:18:51;;6655:40:29::3;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;6397:402;::::0;-1:-1:-1;;;;;;6397:402:29::3;::::0;;;;;;::::3;::::0;::::3;22457:25:51::0;;;;22498:18;;;22491:34;22573:4;22561:17;;22541:18;;;22534:45;22430:18;;6397:402:29::3;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6278:528;3426:1:7::2;3437:20:::1;:18;:20::i;17086:315:30:-:0;17191:7;17211:26;17239:19;17262:28;:26;:28::i;:::-;17210:80;;-1:-1:-1;17210:80:30;-1:-1:-1;17308:86:30;:6;17210:80;;17368:18;17388:5;17308:26;:86::i;11431:1830::-;11639:7;3395:21:7;:19;:21::i;:::-;5155:14:30::1;:12;:14::i;:::-;-1:-1:-1::0;;;;;;11670:22:30;::::2;11662:50;;;;-1:-1:-1::0;;;11662:50:30::2;;;;;;;;;;;;11723:14;11740:13;:11;:13::i;:::-;11723:36;::::0;;;;::::2;::::0;;;11740:19:::2;::::0;;;::::2;11723:36:::0;-1:-1:-1;;;;;11723:36:30;::::2;::::0;;-1:-1:-1;;;11723:36:30;::::2;-1:-1:-1::0;;;;;11723:36:30::2;;::::0;::::2;::::0;;-1:-1:-1;;11807:19:30::2;:17;:19::i;:::-;11769:57:::0;-1:-1:-1;11841:37:30::2;:1:::0;517::42::2;11841:14:30;:37::i;:::-;11837:149;;;11894:81;:1:::0;966:10:6;11922:6:30;11930:8;11940:5;11947:27;11894:13:::2;:81::i;:::-;12245:20;12268:13;:11;:13::i;:::-;12245:36;;12291:17;12323:107;12360:12;12374:27;12403:19;12424:5;12323:16;12333:5;12323:9;:16::i;:::-;:36:::0;:107;;;:36:::2;:107::i;:::-;12291:139:::0;-1:-1:-1;12441:14:30::2;12458:95;:6:::0;12485:12;12499:27;12528:18:::2;::::0;12458:26:::2;:95::i;:::-;12441:112;;12576:9;12567:6;:18;:94;;;-1:-1:-1::0;12655:6:30;12589:63:::2;966:10:6::0;12620:8:30::2;12630:5;12637:6;12645;12589:16;:63::i;:::-;:72;12567:94;12563:184;;;12711:5;12718:6;12726:9;12684:52;;-1:-1:-1::0;;;12684:52:30::2;;;;;;;;;;:::i;12563:184::-;12758:25;12785;12814:19;:17;:19::i;:::-;12757:76;;;;12874:17;12864:6;:27;;:58;;;;;12905:17;12895:6;:27;;12864:58;966:10:6::0;12973:6:30::2;12981:17;13000;12843:185;;;;;;;;-1:-1:-1::0;;;12843:185:30::2;;;;;;;;;;;:::i;:::-;;;;;13091:38;555:1:42;13091::30;:14;;:38;;;;:::i;:::-;13087:144;;;13145:75;966:10:6::0;13174:6:30::2;13182;13190:8;13200:19;:17;:19::i;:::-;13145:1:::0;;:75;;;;:14:::2;:75::i;:::-;-1:-1:-1::0;13248:6:30;;-1:-1:-1;;;;;;3437:20:7;:18;:20::i;19653:121:30:-;19699:16;19734:33;:13;:11;:13::i;:::-;:24;;:31;:33::i;13311:1726::-;13517:7;3395:21:7;:19;:21::i;:::-;5155:14:30::1;:12;:14::i;:::-;-1:-1:-1::0;;;;;;13548:22:30;::::2;13540:50;;;;-1:-1:-1::0;;;13540:50:30::2;;;;;;;;;;;;13601:14;13618:13;:11;:13::i;:::-;13601:36;::::0;;;;::::2;::::0;;;13618:19:::2;::::0;;;::::2;13601:36:::0;-1:-1:-1;;;;;13601:36:30;::::2;::::0;;-1:-1:-1;;;13601:36:30;::::2;-1:-1:-1::0;;;;;13601:36:30::2;;::::0;::::2;::::0;;-1:-1:-1;;13685:19:30::2;:17;:19::i;:::-;13647:57:::0;-1:-1:-1;13764:35:30::2;:1:::0;590::42::2;13764:14:30;:35::i;:::-;13760:145;;;13815:79;:1:::0;966:10:6;13841:6:30;13849:8;13859:5;13866:27;13815:11:::2;:79::i;:::-;14163:17;14183:16;14193:5;14183:9;:16::i;:::-;14163:36;;14210:14;14239:97;14266:13;:11;:13::i;:::-;14239:6:::0;;14281:27;14310:19:::2;14331:4;14239:26;:97::i;:::-;14210:126;;14360:9;14351:6;:18;:94;;;-1:-1:-1::0;14439:6:30;14373:63:::2;966:10:6::0;14404:8:30::2;14414:5;14421:6;14429;14373:16;:63::i;:::-;:72;14351:94;14347:182;;;14493:5;14500:6;14508:9;14468:50;;-1:-1:-1::0;;;14468:50:30::2;;;;;;;;;;:::i;14347:182::-;14540:25;14567;14596:19;:17;:19::i;:::-;14539:76;;;;14656:17;14646:6;:27;;:58;;;;;14687:17;14677:6;:27;;14646:58;966:10:6::0;14755:6:30::2;14763:17;14782;14625:185;;;;;;;;-1:-1:-1::0;;;14625:185:30::2;;;;;;;;;;;:::i;:::-;;;;;14871:36;626:1:42;14871::30;:14;;:36;;;;:::i;:::-;14867:140;;;14923:73;966:10:6::0;14950:6:30::2;14958;14966:8;14976:19;:17;:19::i;:::-;14923:1:::0;;:73;;;;:12:::2;:73::i;:::-;-1:-1:-1::0;15024:6:30;;-1:-1:-1;;;;;3437:20:7;:18;:20::i;9958:290:29:-;10035:7;10082:75;;;:66;:75;;;;;;10171:22;;;10167:36;;-1:-1:-1;10202:1:29;;9958:290;-1:-1:-1;;9958:290:29:o;10167:36::-;10220:21;10240:1;10220:17;:21;:::i;19842:108:30:-;19889:7;19915:13;:11;:13::i;:::-;:28;;;-1:-1:-1;;;;;19915:28:30;;19842:108;-1:-1:-1;19842:108:30:o;6010:227::-;3395:21:7;:19;:21::i;:::-;-1:-1:-1;;;;;;;;;;;3191:16:0::1;3202:4;3191:10;:16::i;:::-;5155:14:30::2;:12;:14::i;:::-;-1:-1:-1::0;6180:50:30::3;::::0;-1:-1:-1;;;6180:50:30;;19037:6:51;19025:19;;6180:50:30::3;::::0;::::3;19007:38:51::0;6180:14:30::3;::::0;:34:::3;::::0;18980:18:51;;6180:50:30::3;18855:196:51::0;8013:289:29;-1:-1:-1;;;;;;;;;;;3191:16:0;3202:4;3191:10;:16::i;:::-;8182::29;8174:39:::1;;;;-1:-1:-1::0;;;8174:39:29::1;;;;;;;;;;;;8223:19;:35;8259:7;:5;:7::i;:::-;8268:5;;8275:7;8284:10;:8;:10::i;:::-;8223:72;;;;;;;;;;;;;;;;;;;:::i;7309:148:5:-:0;7379:7;7405:45;7422:6;7430:19;7405:16;:45::i;2893:222:2:-;2964:7;3079:20;;;-1:-1:-1;;;;;;;;;;;3079:20:2;;;;;;;:29;;:27;:29::i;5993:126:29:-;-1:-1:-1;;;;;;;;;;;3191:16:0;3202:4;3191:10;:16::i;:::-;6080:19:29::1;:30;:32;;;;;;;;;;;;;;;;;;;;;;;;;;;;;19153:219:30::0;19297:17;19346:19;19359:5;19346:12;:19::i;:::-;-1:-1:-1;19330:35:30;;19153:219;-1:-1:-1;;;19153:219:30:o;5662:138:0:-;5737:18;5750:4;5737:12;:18::i;:::-;3191:16;3202:4;3191:10;:16::i;:::-;5767:26:::1;5779:4;5785:7;5767:11;:26::i;16216:174:30:-:0;3395:21:7;:19;:21::i;:::-;481:29:43::1;3191:16:0;3202:4;3191:10;:16::i;:::-;16338:45:30::2;::::0;-1:-1:-1;;;16338:45:30;;-1:-1:-1;;;;;5158:32:51;;16338:45:30::2;::::0;::::2;5140:51:51::0;16338:14:30::2;::::0;:35:::2;::::0;5113:18:51;;16338:45:30::2;4994:203:51::0;18759:344:30;18861:7;18881:17;18900:27;18929;18960:19;18973:5;18960:12;:19::i;:::-;18880:99;;-1:-1:-1;18880:99:30;-1:-1:-1;18880:99:30;-1:-1:-1;18997:99:30;18880;;;19069:19;;18997:29;:99::i;:::-;18990:106;18759:344;-1:-1:-1;;;;;18759:344:30:o;21438:128::-;21488:7;-1:-1:-1;;;;;;;;;;;21514:27:30;718:181:48;4708:195:4;-1:-1:-1;;;;;4867:20:4;;;4788:7;4867:20;;;:13;:20;;;;;;;;:29;;;;;;;;;;;;;4708:195::o;6290:250:30:-;3395:21:7;:19;:21::i;:::-;5155:14:30::1;:12;:14::i;:::-;;6428:7:::2;-1:-1:-1::0;;;;;6420:22:30::2;;:24;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1::0;;;;;6404:40:30::2;966:10:6::0;-1:-1:-1;;;;;6404:40:30::2;;6396:72;;;;-1:-1:-1::0;;;6396:72:30::2;;;;;;;;;;;;6479:54;::::0;-1:-1:-1;;;6479:54:30;;-1:-1:-1;;;;;5158:32:51;;6479:54:30::2;::::0;::::2;5140:51:51::0;6479:14:30::2;::::0;:43:::2;::::0;5113:18:51;;6479:54:30::2;4994:203:51::0;16674:362:30;16822:7;16846:26;16874:19;16897:28;:26;:28::i;:::-;16845:80;;-1:-1:-1;16845:80:30;-1:-1:-1;16942:87:30;:6;16845:80;;17002:19;;16942:26;:87::i;3405:215:1:-;2334:13;:11;:13::i;:::-;-1:-1:-1;;;;;3489:22:1;::::1;3485:91;;3534:31;::::0;-1:-1:-1;;;3534:31:1;;3562:1:::1;3534:31;::::0;::::1;5140:51:51::0;5113:18;;3534:31:1::1;4994:203:51::0;3485:91:1::1;3585:28;3604:8;3585:18;:28::i;33277:731:30:-:0;33346:7;33355;33375:26;33403;33433:21;:19;:21::i;:::-;33374:80;;;;33465:25;33493:13;:11;:13::i;:::-;33465:41;;33516:25;33587:18;33566;33544:19;:17;:19::i;:::-;:40;;;;:::i;:::-;:61;;;;:::i;:::-;33516:89;;33617:27;33649:39;33670:17;33649:20;:39::i;:::-;-1:-1:-1;33616:72:30;-1:-1:-1;33698:40:30;33616:72;33698:40;;:::i;:::-;;;33750:28;33795:99;33817:17;33836:18;33856;33876:17;33795:21;:99::i;:::-;-1:-1:-1;33749:145:30;-1:-1:-1;33904:41:30;33749:145;33904:41;;:::i;:::-;33964:17;;33904:41;;-1:-1:-1;33277:731:30;;-1:-1:-1;;;;;;33277:731:30:o;3443:202:0:-;3528:4;-1:-1:-1;;;;;;3551:47:0;;-1:-1:-1;;;3551:47:0;;:87;;-1:-1:-1;;;;;;;;;;1134:40:8;;;3602:36:0;1035:146:8;4148:103:0;4214:30;4225:4;966:10:6;4214::0;:30::i;3470:384:7:-;2532:30;3670:9;;-1:-1:-1;;3670:20:7;3666:88;;3713:30;;-1:-1:-1;;;3713:30:7;;;;;;;;;;;3666:88;1991:1;3828:19;;3470:384::o;23576:1921:30:-;23626:7;23645:48;23696:13;:11;:13::i;:::-;23645:64;;23720:26;23756;23806:27;23836:21;:1;:12;;:19;:21::i;:::-;23899:17;;23806:51;;-1:-1:-1;23871:25:30;23931:842;23951:17;23947:1;:21;23931:842;;;23994:21;24017:12;24031:35;24090:36;24112:10;24123:1;24112:13;;;;;;;;:::i;:::-;;;;;;;24090:21;:36::i;:::-;23993:133;;;;;;24385:13;24402:1;24385:18;;:31;;;-1:-1:-1;24407:9:30;;;24385:31;24381:378;;;24482:39;:27;:37;:39::i;:::-;24440:1;:14;;:29;24455:10;24466:1;24455:13;;;;;;;;:::i;:::-;;;;;;;-1:-1:-1;;;;;24440:29:30;-1:-1:-1;;;;;24440:29:30;;;;;;;;;;;;:39;;;:81;;;;;-1:-1:-1;;;;;24440:81:30;;;;;-1:-1:-1;;;;;24440:81:30;;;;;;24566:13;24544:35;;;;;:::i;:::-;;-1:-1:-1;24601:26:30;24623:4;24601:26;;:::i;:::-;;;24676:10;24687:1;24676:13;;;;;;;;:::i;:::-;;;;;;;-1:-1:-1;;;;;24655:85:30;;24691:27;24720:13;24735:4;24655:85;;;;;;;13241:25:51;;;13297:2;13282:18;;13275:34;;;;13340:2;13325:18;;13318:34;13229:2;13214:18;;13039:319;24655:85:30;;;;;;;;24381:378;23975:798;;;23970:3;;;;;23931:842;;;;23792:991;;24793:67;24863:27;-1:-1:-1;;;;;;;;;;;844:39:48;718:181;24863:27:30;24793:97;;24901:25;24978:18;24957;24929:7;:25;;;:46;;;;:::i;:::-;:67;;;;:::i;:::-;25044:45;;;24901:95;-1:-1:-1;25204:38:30;24901:95;25204:19;:38::i;:::-;25308:79;25329:17;25348:18;25368;25308:20;:79::i;:::-;25403:52;;;1895:25:51;;;1951:2;1936:18;;1929:34;;;25403:52:30;;1868:18:51;25403:52:30;;;;;;;25473:17;23576:1921;-1:-1:-1;;;;;23576:1921:30:o;3860:283:7:-;1949:1;2532:30;4113:23;3860:283::o;43837:372:30:-;43943:7;43963:26;43991;44021:21;:19;:21::i;:::-;43962:80;;;;44059:143;44099:13;:11;:13::i;:::-;44157:18;44136;44114:19;:17;:19::i;:::-;:40;;;;:::i;:::-;:61;;;;:::i;:::-;44059:6;;:143;44177:8;44187:5;44059:26;:143::i;10001:128:4:-;10085:37;10094:5;10101:7;10110:5;10117:4;10085:8;:37::i;280:514:40:-;477:14;559:135;586:16;:12;601:1;586:16;:::i;:::-;646;:12;661:1;646:16;:::i;:::-;559:6;;:135;676:8;559:13;:135::i;:::-;550:144;;708:8;:23;;;;-1:-1:-1;720:11:40;;708:23;704:83;;;740:47;;-1:-1:-1;;;740:47:40;;;;;;;;;;;9205:561:38;9401:14;9488:15;;;:43;;;9518:13;9507:7;:24;;9488:43;9484:57;;;-1:-1:-1;9540:1:38;9533:8;;9484:57;-1:-1:-1;;;;;9569:64:38;;9552:14;9569:64;;;:58;:64;;;;;;;;:73;;;;;;;;;;9656:11;;;9652:25;;9676:1;9669:8;;;;;9652:25;9697:62;9711:10;9723:14;9729:8;9723:2;:14;:::i;:::-;9697:6;;:62;9739:19;9697:13;:62::i;:::-;9688:71;9205:561;-1:-1:-1;;;;;;;9205:561:38:o;11745:476:4:-;11844:24;11871:25;11881:5;11888:7;11871:9;:25::i;:::-;11844:52;;-1:-1:-1;;11910:16:4;:36;11906:309;;;11985:5;11966:16;:24;11962:130;;;12044:7;12053:16;12071:5;12017:60;;-1:-1:-1;;;12017:60:4;;;;;;;;;;:::i;11962:130::-;12133:57;12142:5;12149:7;12177:5;12158:16;:24;12184:5;12133:8;:57::i;6605:300::-;-1:-1:-1;;;;;6688:18:4;;6684:86;;6729:30;;-1:-1:-1;;;6729:30:4;;6756:1;6729:30;;;5140:51:51;5113:18;;6729:30:4;4994:203:51;6684:86:4;-1:-1:-1;;;;;6783:16:4;;6779:86;;6822:32;;-1:-1:-1;;;6822:32:4;;6851:1;6822:32;;;5140:51:51;5113:18;;6822:32:4;4994:203:51;6779:86:4;6874:24;6882:4;6888:2;6892:5;6874:7;:24::i;2235:183:49:-;2362:40;;2235:183::o;3987:348:2:-;4073:4;-1:-1:-1;;;;;;;;;;;4073:4:2;4193:31;4210:4;4216:7;4193:16;:31::i;:::-;4178:46;;4238:7;4234:71;;;4261:14;:20;;;;;;;;;;:33;;4286:7;4261:24;:33::i;:::-;;4321:7;3987:348;-1:-1:-1;;;;3987:348:2:o;4438:353::-;4525:4;-1:-1:-1;;;;;;;;;;;4525:4:2;4645:32;4663:4;4669:7;4645:17;:32::i;:::-;4630:47;;4691:7;4687:74;;;4714:14;:20;;;;;;;;;;:36;;4742:7;4714:27;:36::i;800:514:40:-;997:14;1079:135;1106:16;:12;1121:1;1106:16;:::i;:::-;1166;:12;1181:1;1166:16;:::i;1079:135::-;1070:144;;1228:8;:23;;;;-1:-1:-1;1240:11:40;;1228:23;1224:83;;;1260:47;;-1:-1:-1;;;1260:47:40;;;;;;;;;;;2684:111:7;6931:20:3;:18;:20::i;:::-;2754:34:7::1;:32;:34::i;1847:127:1:-:0;6931:20:3;:18;:20::i;:::-;1929:38:1::1;1954:12;1929:24;:38::i;4419:352:29:-:0;4533:46;4551:14;4567:5;4574:4;4533:17;:46::i;:::-;4689:4;4679:15;;4673:22;4714:50;4673:22;4714:29;:50::i;5392:428:30:-;3395:21:7;:19;:21::i;:::-;643:22:43::1;3191:16:0;3202:4;3191:10;:16::i;:::-;5155:14:30::2;:12;:14::i;:::-;;5555:25:::3;5606:38;;;5646:4;;5583:68;;;;;;;;;:::i;:::-;;::::0;;-1:-1:-1;;5583:68:30;;::::3;::::0;;;;;;::::3;::::0;::::3;::::0;;-1:-1:-1;;;;;5583:68:30::3;-1:-1:-1::0;;;;;;5583:68:30;;::::3;::::0;;;::::3;::::0;;;;-1:-1:-1;5661:51:30::3;5583:68:::0;5661:16:::3;:14;:16::i;:::-;-1:-1:-1::0;;;;;5661:37:30::3;::::0;::::3;:51::i;:::-;-1:-1:-1::0;;;;;;;;;;;;9350:66:29;5737:7:30::3;:5;:7::i;:::-;5730:40;::::0;-1:-1:-1;;;5730:40:30;;5764:4:::3;5730:40;::::0;::::3;5140:51:51::0;-1:-1:-1;;;;;5730:25:30;;;::::3;::::0;::::3;::::0;5113:18:51;;5730:40:30::3;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:59;;5722:91;;;;-1:-1:-1::0;;;5722:91:30::3;;;;;;;;;;;;5505:315;3426:1:7::1;3437:20:::0;:18;:20::i;1140:190:42:-;1218:4;1239:23;1249:1;1252:9;1239;:23::i;:::-;1238:24;:50;;;-1:-1:-1;1266:8:42;;-1:-1:-1;;;;;1266:22:42;;1238:50;1234:68;;;-1:-1:-1;1297:5:42;1290:12;;1234:68;-1:-1:-1;1319:4:42;1140:190;;;;:::o;1336:210::-;1480:8;;1474:65;;-1:-1:-1;;;1474:65:42;;-1:-1:-1;;;;;23914:32:51;;;1474:65:42;;;23896:51:51;23963:18;;;23956:34;;;24026:32;;;24006:18;;;23999:60;24075:18;;;24068:34;;;1474:26:42;;;;;;23868:19:51;;1474:65:42;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1336:210;;;;;:::o;30055:915:30:-;30734:74;30768:7;:5;:7::i;:::-;30778:6;30794:4;30801:6;30734:26;:74::i;:::-;30867:6;-1:-1:-1;;;;;;;;;;;30818:55:30;;:45;;:55;;;;;:::i;:::-;;;;-1:-1:-1;30883:23:30;;-1:-1:-1;30889:8:30;30899:6;30883:5;:23::i;:::-;30938:8;-1:-1:-1;;;;;30922:41:30;30930:6;-1:-1:-1;;;;;30922:41:30;;30948:6;30956;30922:41;;;;;;1895:25:51;;;1951:2;1936:18;;1929:34;1883:2;1868:18;;1721:248;30922:41:30;;;;;;;;30055:915;;;;:::o;2310:278:42:-;2513:8;;2507:74;;-1:-1:-1;;;2507:74:42;;-1:-1:-1;;;;;2507:27:42;;;;;;:74;;2535:6;;2543;;2551;;2559:8;;2569:11;;2507:74;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2310:278;;;;;;:::o;2658:162:1:-;966:10:6;2717:7:1;:5;:7::i;:::-;-1:-1:-1;;;;;2717:23:1;;2713:101;;2763:40;;-1:-1:-1;;;2763:40:1;;966:10:6;2763:40:1;;;5140:51:51;5113:18;;2763:40:1;4994:203:51;3774:248:1;1313:22;3923:8;;-1:-1:-1;;;;;;3941:19:1;;-1:-1:-1;;;;;3941:19:1;;;;;;;;3975:40;;3923:8;;;;;3975:40;;3847:24;;3975:40;3837:185;;3774:248;:::o;10243:273:27:-;10306:16;10334:22;10359:19;10367:3;10359:7;:19::i;9547:156::-;9621:7;9671:22;9675:3;9687:5;9671:3;:22::i;1552:192:42:-;1681:8;;1675:62;;-1:-1:-1;;;1675:62:42;;-1:-1:-1;;;;;23914:32:51;;;1675:62:42;;;23896:51:51;23963:18;;;23956:34;;;24026:32;;;24006:18;;;23999:60;24075:18;;;24068:34;;;1675:23:42;;;;;;23868:19:51;;1675:62:42;23665:443:51;2594:272:42;2794:8;;2788:71;;-1:-1:-1;;;2788:71:42;;-1:-1:-1;;;;;2788:24:42;;;;;;:71;;2813:6;;2821;;2829;;2837:8;;2847:11;;2788:71;;;:::i;1750:276::-;1952:8;;1946:73;;-1:-1:-1;;;1946:73:42;;-1:-1:-1;;;;;24910:32:51;;;1946:73:42;;;24892:51:51;24959:18;;;24952:34;;;25022:32;;;25002:18;;;24995:60;25091:32;;;25071:18;;;25064:60;25140:19;;;25133:35;;;1946:27:42;;;;;;24864:19:51;;1946:73:42;24633:541:51;10717:1212:29;10891:7;10931:1;10922:6;:10;10914:33;;;;-1:-1:-1;;;10914:33:29;;;;;;;;;;;;11100:15;;-1:-1:-1;;;;;;;;;;;1448:37:47;11100:15:29;;11096:827;;;11145:5;-1:-1:-1;;;;;11135:15:29;:6;-1:-1:-1;;;;;11135:15:29;;11131:92;;11170:38;11186:5;11193:6;11201;11170:15;:38::i;:::-;11322:39;11332:5;11347:4;11354:6;11322:9;:39::i;:::-;11445:15;;-1:-1:-1;;;;;11474:29:29;;11420:22;11474:29;;;:19;;;:29;;;;;;;;:45;;;;;;;;:55;;11523:6;;11420:22;11474:55;;11523:6;;11474:55;:::i;:::-;;;;-1:-1:-1;;11543:46:29;;;;:30;;;:46;;;;;:56;;11593:6;;11543:46;:56;;11593:6;;11543:56;:::i;:::-;;;;-1:-1:-1;;11619:73:29;;;13241:25:51;;;13297:2;13282:18;;13275:34;;;13325:18;;;13318:34;;;-1:-1:-1;;;;;11619:73:29;;;;;;;;;;;;;13229:2:51;13214:18;11619:73:29;;;;;;;11805:6;11798:13;;;;;;11096:827;11849:63;11872:6;11880:8;11890:5;11897:6;11905;11849:22;:63::i;:::-;11842:70;;;;;2872:280:42;3076:8;;3070:75;;-1:-1:-1;;;3070:75:42;;-1:-1:-1;;;;;3070:28:42;;;;;;:75;;3099:6;;3107;;3115;;3123:8;;3133:11;;3070:75;;;:::i;2032:272::-;2232:8;;2226:71;;-1:-1:-1;;;;;;2226:71:42;;-1:-1:-1;;;;;24910:32:51;;;2226:71:42;;;24892:51:51;24959:18;;;24952:34;;;25022:32;;;25002:18;;;24995:60;25091:32;;;25071:18;;;25064:60;25140:19;;;25133:35;;;2226:25:42;;;;;;24864:19:51;;2226:71:42;24633:541:51;3158:276:42;3360:8;;3354:73;;-1:-1:-1;;;3354:73:42;;-1:-1:-1;;;;;3354:26:42;;;;;;:73;;3381:6;;3389;;3397;;3405:8;;3415:11;;3354:73;;;:::i;42865:372:30:-;42971:7;42991:26;43019;43049:21;:19;:21::i;:::-;42990:80;;;;43087:143;43127:13;:11;:13::i;:::-;43185:18;43164;43142:19;:17;:19::i;:::-;:40;;;;:::i;:::-;:61;;;;:::i;:::-;43087:6;;:143;43205:8;43215:5;43087:26;:143::i;9090:115:27:-;9153:7;9179:19;9187:3;4556:18;;4474:107;40153:477:30;40221:7;40230;40239;40258:19;40280:16;40290:5;40280:9;:16::i;:::-;40258:38;;40307:26;40335;40365:28;:26;:28::i;:::-;40306:87;;-1:-1:-1;40306:87:30;-1:-1:-1;40404:17:30;40436:99;:11;40306:87;;40404:17;;40436:31;:99::i;:::-;40404:131;;40554:28;40572:9;40554:17;:28::i;:::-;40546:77;-1:-1:-1;40584:18:30;;-1:-1:-1;40604:18:30;-1:-1:-1;;;40153:477:30;;;;;;:::o;34263:608::-;34357:26;34385;34427:27;34457:33;:13;:11;:13::i;:33::-;34528:17;;34427:63;;-1:-1:-1;34500:25:30;34556:309;34576:17;34572:1;:21;34556:309;;;34615:21;34638:12;34655:36;34677:10;34688:1;34677:13;;;;;;;;:::i;34655:36::-;34614:77;;;;;34710:13;34727:1;34710:18;;:31;;;-1:-1:-1;34732:9:30;;;34710:31;34706:149;;;34761:35;34783:13;34761:35;;:::i;:::-;;-1:-1:-1;34814:26:30;34836:4;34814:26;;:::i;:::-;;;34706:149;-1:-1:-1;;34595:3:30;;34556:309;;;;34417:454;;34263:608;;:::o;36903:1256::-;37006:17;37025;37058:48;37109:13;:11;:13::i;:::-;37137:15;;;;;;-1:-1:-1;;;;37137:15:30;;;;37156:1;37137:20;37133:39;;-1:-1:-1;37167:1:30;;;;-1:-1:-1;36903:1256:30;-1:-1:-1;;36903:1256:30:o;37133:39::-;37183:18;37204:16;:14;:16::i;:::-;37251:26;;;;37183:37;;-1:-1:-1;37251:26:30;-1:-1:-1;;;37251:26:30;;;;;;37292;;;;;37288:45;;-1:-1:-1;37328:1:30;;;;-1:-1:-1;36903:1256:30;-1:-1:-1;;;;36903:1256:30:o;37288:45::-;37344:19;37366:25;37380:11;37366;:25;:::i;:::-;37527:15;;;;37344:47;;;;;;-1:-1:-1;37481:23:30;;219:6:39;;37508:34:30;;-1:-1:-1;;;37527:15:30;;37507:76;37527:15;37508:16;:34;:::i;:::-;37507:76;;;;:::i;:::-;37481:102;-1:-1:-1;37640:8:30;37606:29;37624:11;37481:102;37606:29;:::i;:::-;37605:44;;;;:::i;:::-;37593:56;;37664:9;37677:1;37664:14;37660:33;;-1:-1:-1;37688:1:30;;;;-1:-1:-1;36903:1256:30;-1:-1:-1;;;;;;36903:1256:30:o;37660:33::-;37792:16;37780:9;:28;37776:87;;;37836:16;37824:28;;37776:87;38010:102;38040:13;:11;:13::i;:::-;38055:28;38074:9;38055:16;:28;:::i;:::-;38010:9;;:102;38085:19;;38010:29;:102::i;:::-;37986:126;;38123:29;;;;;36903:1256;;;:::o;38653:746::-;38816:7;38825;38848:48;38899:13;:11;:13::i;:::-;38927:16;;;;;;-1:-1:-1;;;;38927:16:30;;;;:21;;:48;;;38961:13;38953:4;:21;;38927:48;38923:67;;;38985:1;38988;38977:13;;;;;;;38923:67;39001:24;39028:20;39044:4;39028:13;:20;:::i;:::-;39108:16;;;;39001:47;;-1:-1:-1;39058:17:30;;39078:86;;39001:47;;-1:-1:-1;;;39108:16:30;;;;219:6:39;39078:11:30;:86::i;:::-;39058:106;;39179:9;39192:1;39179:14;39175:33;;39203:1;39206;39195:13;;;;;;;;;39175:33;39219:17;39251:101;39281:11;39294:29;39314:9;39294:17;:29;:::i;:::-;39251:9;;:101;39325:19;;39251:29;:101::i;:::-;39219:133;-1:-1:-1;39382:9:30;;-1:-1:-1;;;;38653:746:30;;;;;;;;:::o;4381:197:0:-;4469:22;4477:4;4483:7;4469;:22::i;:::-;4464:108;;4514:47;;-1:-1:-1;;;4514:47:0;;-1:-1:-1;;;;;16143:32:51;;4514:47:0;;;16125:51:51;16192:18;;;16185:34;;;16098:18;;4514:47:0;15943:282:51;35481:1130:30;35553:7;35562;35571;35590:48;35641:13;:11;:13::i;:::-;-1:-1:-1;;;;;35699:24:30;;35665:31;35699:24;;;:14;;;:24;;;;;:34;:14;;-1:-1:-1;;;;;;35699:34:30;;;;;;;35748:31;;:83;;;;;;;;:::i;:::-;;35744:130;;35855:1;35858;35861;35847:16;;;;;;;;;;35744:130;35884:34;35939:8;-1:-1:-1;;;;;35921:47:30;;:49;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;35884:86;-1:-1:-1;;;;;;36022:47:30;;;36021:98;;36093:26;36021:98;;;-1:-1:-1;;;;;36021:98:30;35980:139;;36130:13;36153:12;36209:23;-1:-1:-1;;;;;36179:53:30;:26;:53;36175:371;;36256:5;;-1:-1:-1;36263:4:30;-1:-1:-1;36269:26:30;-1:-1:-1;36248:48:30;;-1:-1:-1;;36248:48:30;36175:371;36346:23;-1:-1:-1;;;;;36317:52:30;:26;:52;36313:233;;;36393:52;-1:-1:-1;;;;;36393:52:30;;:26;:52;:::i;:::-;36385:60;;36313:233;;;36483:52;36509:26;-1:-1:-1;;;;;36483:52:30;;;:::i;:::-;36476:59;;36313:233;36564:5;;;;-1:-1:-1;36577:26:30;;-1:-1:-1;35481:1130:30;-1:-1:-1;;;;35481:1130:30:o;9773:218:26:-;9830:7;-1:-1:-1;;;;;9853:25:26;;9849:105;;;9901:42;;-1:-1:-1;;;9901:42:26;;9932:3;9901:42;;;26245:36:51;26297:18;;;26290:34;;;26218:18;;9901:42:26;26063:267:51;9849:105:26;-1:-1:-1;9978:5:26;9773:218::o;31149:728:30:-;31225:17;31244;31265:39;31286:17;31265:20;:39::i;:::-;31224:80;;;;31315:48;31366:13;:11;:13::i;:::-;31315:64;;31460:16;:14;:16::i;:::-;31431:26;;;:45;;;;;;;-1:-1:-1;;;31431:45:30;-1:-1:-1;;;;31431:45:30;;;;;;;-1:-1:-1;;;;;31571:24:30;;;;;;31609:14;;;;;:54;;-1:-1:-1;;;;;;31627:36:30;;;;31609:54;31605:266;;;31734:40;31740:22;31764:9;31734:5;:40::i;:::-;31794:66;;;1895:25:51;;;1951:2;1936:18;;1929:34;;;-1:-1:-1;;;;;31794:66:30;;;;;1868:18:51;31794:66:30;;;;;;;31214:663;;;;31149:728;:::o;32201:732::-;32315:28;32345:17;32378:76;32400:17;32419:13;32434:4;32440:13;:11;:13::i;:::-;32378:21;:76::i;:::-;32314:140;;;;32469:20;32493:1;32469:25;32465:38;;32496:7;;32201:732;;;:::o;32465:38::-;32513:48;32564:13;:11;:13::i;:::-;32674:25;;;;32513:64;;-1:-1:-1;;;;;;32674:25:30;32713:37;;32709:218;;32766:52;32772:23;32797:20;32766:5;:52::i;:::-;32837:79;;;1895:25:51;;;1951:2;1936:18;;1929:34;;;-1:-1:-1;;;;;32837:79:30;;;;;1868:18:51;32837:79:30;;;;;;;32304:629;;;;32201:732;;;:::o;10976:487:4:-;-1:-1:-1;;;;;;;;;;;;;;;;11141:19:4;;11137:89;;11183:32;;-1:-1:-1;;;11183:32:4;;11212:1;11183:32;;;5140:51:51;5113:18;;11183:32:4;4994:203:51;11137:89:4;-1:-1:-1;;;;;11239:21:4;;11235:90;;11283:31;;-1:-1:-1;;;11283:31:4;;11311:1;11283:31;;;5140:51:51;5113:18;;11283:31:4;4994:203:51;11235:90:4;-1:-1:-1;;;;;11334:20:4;;;;;;;:13;;;:20;;;;;;;;:29;;;;;;;;;:37;;;11381:76;;;;11431:7;-1:-1:-1;;;;;11415:31:4;11424:5;-1:-1:-1;;;;;11415:31:4;;11440:5;11415:31;;;;160:25:51;;148:2;133:18;;14:177;11415:31:4;;;;;;;;11074:389;10976:487;;;;:::o;9351:238:25:-;9452:7;9506:76;9522:26;9539:8;9522:16;:26::i;:::-;:59;;;;;9580:1;9565:11;9552:25;;;;;:::i;:::-;9562:1;9559;9552:25;:29;9522:59;34914:9:26;34907:17;;34795:145;9506:76:25;9478:25;9485:1;9488;9491:11;9478:6;:25::i;:::-;:104;;;;:::i;7220:1170:4:-;-1:-1:-1;;;;;;;;;;;;;;;;7362:18:4;;7358:546;;7516:5;7498:1;:14;;;:23;;;;;;;:::i;:::-;;;;-1:-1:-1;7358:546:4;;-1:-1:-1;7358:546:4;;-1:-1:-1;;;;;7574:17:4;;7552:19;7574:17;;;;;;;;;;;7609:19;;;7605:115;;;7680:4;7686:11;7699:5;7655:50;;-1:-1:-1;;;7655:50:4;;;;;;;;;;:::i;7605:115::-;-1:-1:-1;;;;;7840:17:4;;:11;:17;;;;;;;;;;7860:19;;;;7840:39;;7358:546;-1:-1:-1;;;;;7918:16:4;;7914:429;;8081:14;;;:23;;;;;;;7914:429;;;-1:-1:-1;;;;;8294:15:4;;:11;:15;;;;;;;;;;:24;;;;;;7914:429;8373:2;-1:-1:-1;;;;;8358:25:4;8367:4;-1:-1:-1;;;;;8358:25:4;;8377:5;8358:25;;;;160::51;;148:2;133:18;;14:177;7270:387:0;7347:4;-1:-1:-1;;;;;;;;;;;7437:22:0;7445:4;7451:7;7437;:22::i;:::-;7432:219;;7475:8;:14;;;;;;;;;;;-1:-1:-1;;;;;7475:31:0;;;;;;;;;:38;;-1:-1:-1;;7475:38:0;7509:4;7475:38;;;7559:12;966:10:6;;887:96;7559:12:0;-1:-1:-1;;;;;7532:40:0;7550:7;-1:-1:-1;;;;;7532:40:0;7544:4;7532:40;;;;;;;;;;7593:4;7586:11;;;;;7432:219;7635:5;7628:12;;;;;8289:150:27;8359:4;8382:50;8387:3;-1:-1:-1;;;;;8407:23:27;;8382:4;:50::i;7892:388:0:-;7970:4;-1:-1:-1;;;;;;;;;;;8059:22:0;8067:4;8073:7;8059;:22::i;:::-;8055:219;;;8131:5;8097:14;;;;;;;;;;;-1:-1:-1;;;;;8097:31:0;;;;;;;;;;:39;;-1:-1:-1;;8097:39:0;;;8155:40;966:10:6;;8097:14:0;;8155:40;;8131:5;8155:40;8216:4;8209:11;;;;;8607:156:27;8680:4;8703:53;8711:3;-1:-1:-1;;;;;8731:23:27;;8703:7;:53::i;7084:141:3:-;-1:-1:-1;;;;;;;;;;;8560:40:3;-1:-1:-1;;;8560:40:3;;;;7146:73;;7191:17;;-1:-1:-1;;;7191:17:3;;;;;;;;;;;2801:183:7;6931:20:3;:18;:20::i;1980:235:1:-;6931:20:3;:18;:20::i;21702:1034:30:-;21912:26;21952:13;21979:27;22020:18;22052:20;22096:4;22085:61;;;;;;;;;;;;:::i;:::-;21898:248;;-1:-1:-1;21898:248:30;;-1:-1:-1;21898:248:30;-1:-1:-1;21898:248:30;-1:-1:-1;21898:248:30;-1:-1:-1;;;;;;22165:32:30;;22157:66;;;;-1:-1:-1;;;22157:66:30;;;;;;;;;;;;-1:-1:-1;;;;;22241:19:30;;22233:44;;;;-1:-1:-1;;;22233:44:30;;;;;;;;;;;;-1:-1:-1;;;;;22295:33:30;;22287:72;;;;-1:-1:-1;;;22287:72:30;;;;;;;;;;;;22399:1;22384:4;22378:18;:22;22370:46;;;;-1:-1:-1;;;22370:46:30;;;;;;;;;;;;22457:1;22440:6;22434:20;:24;22426:50;;;;-1:-1:-1;;;22426:50:30;;;;;;;;;;;;22487:36;22510:4;22516:6;22487:22;:36::i;:::-;22533:39;22565:5;22533:24;:39::i;:::-;22582:42;:40;:42::i;:::-;22635:94;;;-1:-1:-1;;;22635:94:30;;-1:-1:-1;;;;;28295:32:51;;;22635:94:30;;;28277:51:51;28364:32;;28344:18;;;28337:60;966:10:6;28413:18:51;;;28406:60;22635:94:30;;:12;;:39;;28250:18:51;;;;;-1:-1:-1;;22635:94:30;;;;;;;:12;:94;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;21888:848;;;;;21702:1034;;;:::o;4920:182:29:-;6931:20:3;:18;:20::i;:::-;5024:71:29::1;::::0;-1:-1:-1;;;5024:71:29;;-1:-1:-1;;;;;28677:32:51;;5024:71:29::1;::::0;::::1;28659:51:51::0;966:10:6;28726:18:51;;;28719:60;5024:12:29::1;::::0;:36:::1;::::0;28632:18:51;;5024:71:29::1;28477:308:51::0;3916:253:20;3999:12;4024;4038:23;4065:6;-1:-1:-1;;;;;4065:19:20;4085:4;4065:25;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4023:67;;;;4107:55;4134:6;4142:7;4151:10;4107:26;:55::i;945:189:42:-;1020:4;1053:2;1040:9;:15;;;1036:33;;-1:-1:-1;1064:5:42;1057:12;;1036:33;-1:-1:-1;1094:7:42;;;;1106:1;:14;;;;1087:34;-1:-1:-1;;;;;1087:34:42;1086:41;;945:189;;;;:::o;1618:188:19:-;1745:53;;-1:-1:-1;;;;;29316:32:51;;;1745:53:19;;;29298:51:51;29385:32;;;29365:18;;;29358:60;29434:18;;;29427:34;;;1718:81:19;;1738:5;;1760:18;;;;;29271::51;;1745:53:19;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;1745:53:19;;;;;;;;;;;1718:19;:81::i;8733:208:4:-;-1:-1:-1;;;;;8803:21:4;;8799:91;;8847:32;;-1:-1:-1;;;8847:32:4;;8876:1;8847:32;;;5140:51:51;5113:18;;8847:32:4;4994:203:51;8799:91:4;8899:35;8915:1;8919:7;8928:5;8899:7;:35::i;5581:109:27:-;5637:16;5672:3;:11;;5665:18;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5581:109;;;:::o;4923:118::-;4990:7;5016:3;:11;;5028:5;5016:18;;;;;;;;:::i;:::-;;;;;;;;;5009:25;;4923:118;;;;:::o;26969:2034:30:-;27126:7;27149:48;27200:13;:11;:13::i;:::-;27149:64;;27224:21;27255:7;:5;:7::i;:::-;27248:40;;-1:-1:-1;;;27248:40:30;;27282:4;27248:40;;;5140:51:51;-1:-1:-1;;;;;27248:25:30;;;;;;;5113:18:51;;27248:40:30;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;27224:64;;27298:20;27321:15;-1:-1:-1;;;;;;;;;;;9350:66:29;;9256:167;27321:15:30;27298:38;;27346:31;27397:12;27380:13;:29;;:64;;27443:1;27380:64;;;27412:28;27428:12;27412:13;:28;:::i;:::-;27346:98;;27484:6;27458:23;:32;27454:1441;;;27506:34;27543:1;:19;;27506:56;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;27506:56:30;;;;;;;;;;;;;;;;;;;;;;;27576:25;27604:17;:24;27576:52;;27643:21;27683:9;27678:1207;27698:17;27694:1;:21;27678:1207;;;27813:48;27766:1;:14;;:36;27781:17;27799:1;27781:20;;;;;;;;:::i;:::-;;;;;;;;;;;;-1:-1:-1;;;;;27766:36:30;;;;;;;;;;;-1:-1:-1;27766:36:30;:43;;;:95;;;;;;;;:::i;:::-;;;27765:169;;;;27891:43;27913:17;27931:1;27913:20;;;;;;;;:::i;:::-;;;;;;;27891:1;:12;;:21;;:43;;;;:::i;:::-;27890:44;27765:169;27953:8;27740:221;28037:23;28028:6;:32;28012:48;;28097:38;28156:17;28174:1;28156:20;;;;;;;;:::i;:::-;;;;;;;-1:-1:-1;;;;;28138:51:30;;:53;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;28097:94;;28209:22;28289:13;28255:30;:47;;28254:98;;28322:30;28254:98;;;28306:13;28254:98;28209:143;-1:-1:-1;28375:18:30;;28371:437;;28476:23;28520:17;28538:1;28520:20;;;;;;;;:::i;:::-;;;;;;;-1:-1:-1;;;;;28502:50:30;;28553:14;28502:66;;;;;;;;;;;;;160:25:51;;148:2;133:18;;14:177;28502:66:30;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;28476:92;;28697:27;:15;:25;:27::i;:::-;28647:1;:14;;:36;28662:17;28680:1;28662:20;;;;;;;;:::i;:::-;;;;;;;-1:-1:-1;;;;;28647:36:30;-1:-1:-1;;;;;28647:36:30;;;;;;;;;;;;:46;;;:77;;;;;;;;;;-1:-1:-1;;;;;28647:77:30;;;;;:::i;:::-;;;;;;;;-1:-1:-1;;;;;28647:77:30;;;;;-1:-1:-1;;;;;28647:77:30;;;;;;28774:15;28747:42;;;;;:::i;:::-;;;28395:413;28371:437;28857:6;28830:23;:33;28826:44;;28865:5;;;;28826:44;27722:1163;;27678:1207;27717:3;;27678:1207;;;;27492:1403;;;27454:1441;28905:50;28915:6;28923:8;28933:5;28940:6;28948;28905:9;:50::i;:::-;28973:23;26969:2034;-1:-1:-1;;;;;;;;;26969:2034:30:o;40808:1457::-;40891:7;40910:48;40961:13;:11;:13::i;:::-;40910:64;;40985:31;41026:7;:5;:7::i;:::-;41019:40;;-1:-1:-1;;;41019:40:30;;41053:4;41019:40;;;5140:51:51;-1:-1:-1;;;;;41019:25:30;;;;;;;5113:18:51;;41019:40:30;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;40985:74;;41099:15;41073:23;:41;41069:1149;;;41130:34;41167:1;:19;;41130:56;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;41130:56:30;;;;;;;;;;;;;;;;-1:-1:-1;;41228:24:30;;41130:56;;-1:-1:-1;41200:25:30;;-1:-1:-1;;;41267:869:30;41287:17;41283:1;:21;41267:869;;;41402:48;41355:1;:14;;:36;41370:17;41388:1;41370:20;;;;;;;;:::i;:::-;;;;;;;;;;;;-1:-1:-1;;;;;41355:36:30;;;;;;;;;;;-1:-1:-1;41355:36:30;:43;;;:95;;;;;;;;:::i;:::-;;;41354:169;;;;41480:43;41502:17;41520:1;41502:20;;;;;;;;:::i;:::-;;;;;;;41480:1;:12;;:21;;:43;;;;:::i;:::-;41479:44;41354:169;41542:8;41329:221;41569:21;41674:23;41656:15;:41;41640:57;;41734:38;41793:17;41811:1;41793:20;;;;;;;;:::i;:::-;;;;;;;-1:-1:-1;;;;;41775:51:30;;:53;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;41734:94;;41846:22;41926:13;41892:30;:47;;41891:98;;41959:30;41891:98;;;41943:13;41891:98;41846:143;-1:-1:-1;42008:41:30;41846:143;42008:41;;:::i;:::-;;;42099:15;42072:23;:42;42068:53;;42116:5;;;;;42068:53;41311:825;;;41267:869;41306:3;;41267:869;;;;41116:1030;;41069:1149;;;-1:-1:-1;42192:15:30;;42235:23;-1:-1:-1;;40808:1457:30:o;450:110:46:-;494:6;519:34;537:15;519:17;:34::i;4996:4226:25:-;5078:14;5449:5;;;5078:14;-1:-1:-1;;5453:1:25;5449;5621:20;5694:5;5690:2;5687:13;5679:5;5675:2;5671:14;5667:34;5658:43;;;5796:5;5805:1;5796:10;5792:368;;6134:11;6126:5;:19;;;;;:::i;:::-;;6119:26;;;;;;5792:368;6285:5;6270:11;:20;6266:143;;6310:84;3066:5;6330:16;;3065:36;940:4:23;3060:42:25;6310:11;:84::i;:::-;6664:17;6799:11;6796:1;6793;6786:25;7199:12;7229:15;;;7214:31;;7348:22;;;;;8094:1;8075;:15;;8074:21;;8327;;;8323:25;;8312:36;8397:21;;;8393:25;;8382:36;8469:21;;;8465:25;;8454:36;8540:21;;;8536:25;;8525:36;8613:21;;;8609:25;;8598:36;8687:21;;;8683:25;;;8672:36;7597:12;;;;7593:23;;;7618:1;7589:31;6913:20;;;6902:32;;;7709:12;;;;6960:21;;;;7446:16;;;;7700:21;;;;9163:15;;;;;-1:-1:-1;;4996:4226:25;;;;;:::o;28183:122::-;28251:4;28292:1;28280:8;28274:15;;;;;;;;:::i;:::-;:19;;;;:::i;:::-;:24;;28297:1;28274:24;28267:31;;28183:122;;;:::o;2241:406:27:-;2304:4;4360:21;;;:14;;;:21;;;;;;2320:321;;-1:-1:-1;2362:23:27;;;;;;;;:11;:23;;;;;;;;;;;;;2544:18;;2520:21;;;:14;;;:21;;;;;;:42;;;;2576:11;;2320:321;-1:-1:-1;2625:5:27;2618:12;;2815:1368;2881:4;3010:21;;;:14;;;:21;;;;;;3046:13;;3042:1135;;3413:18;3434:12;3445:1;3434:8;:12;:::i;:::-;3480:18;;3413:33;;-1:-1:-1;3460:17:27;;3480:22;;3501:1;;3480:22;:::i;:::-;3460:42;;3535:9;3521:10;:23;3517:378;;3564:17;3584:3;:11;;3596:9;3584:22;;;;;;;;:::i;:::-;;;;;;;;;3564:42;;3731:9;3705:3;:11;;3717:10;3705:23;;;;;;;;:::i;:::-;;;;;;;;;;;;:35;;;;3844:25;;;:14;;;:25;;;;;:36;;;3517:378;3973:17;;:3;;:17;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;4076:3;:14;;:21;4091:5;4076:21;;;;;;;;;;;4069:28;;;4119:4;4112:11;;;;;;;2435:216:4;6931:20:3;:18;:20::i;:::-;-1:-1:-1;;;;;;;;;;;2600:7:4;:15:::1;2610:5:::0;2600:7;:15:::1;:::i;:::-;-1:-1:-1::0;2625:9:4::1;::::0;::::1;:19;2637:7:::0;2625:9;:19:::1;:::i;5210:304:5:-:0;6931:20:3;:18;:20::i;:::-;4204:22:5;5295:24:::1;::::0;5390:28:::1;5411:6:::0;5390:20:::1;:28::i;:::-;5352:66;;;;5452:7;:28;;5478:2;5452:28;;;5462:13;5452:28;5428:52:::0;;-1:-1:-1;;;;;;5490:17:5;-1:-1:-1;;;5428:52:5::1;::::0;;;::::1;::::0;;;::::1;-1:-1:-1::0;;;;;;5490:17:5;;-1:-1:-1;;;;;5490:17:5;;;::::1;::::0;;;::::1;::::0;;;-1:-1:-1;;5210:304:5:o;1544:85:2:-;6931:20:3;:18;:20::i;4437:582:20:-;4581:12;4610:7;4605:408;;4633:19;4641:10;4633:7;:19::i;:::-;4605:408;;;4857:17;;:22;:49;;;;-1:-1:-1;;;;;;4883:18:20;;;:23;4857:49;4853:119;;;4933:24;;-1:-1:-1;;;4933:24:20;;-1:-1:-1;;;;;5158:32:51;;4933:24:20;;;5140:51:51;5113:18;;4933:24:20;4994:203:51;4853:119:20;-1:-1:-1;4992:10:20;4985:17;;7686:720:19;7766:18;7794:19;7932:4;7929:1;7922:4;7916:11;7909:4;7903;7899:15;7896:1;7889:5;7882;7877:60;7989:7;7979:176;;8033:4;8027:11;8078:16;8075:1;8070:3;8055:40;8124:16;8119:3;8112:29;7979:176;-1:-1:-1;;8232:1:19;8226:8;8182:16;;-1:-1:-1;8258:15:19;;:68;;8310:11;8325:1;8310:16;;8258:68;;;-1:-1:-1;;;;;8276:26:19;;;:31;8258:68;8254:146;;;8349:40;;-1:-1:-1;;;8349:40:19;;-1:-1:-1;;;;;5158:32:51;;8349:40:19;;;5140:51:51;5113:18;;8349:40:19;4994:203:51;8844:165:27;-1:-1:-1;;;;;8977:23:27;;8924:4;4360:21;;;:14;;;:21;;;;;;:26;;8947:55;4264:129;29009:982:30;29187:5;-1:-1:-1;;;;;29177:15:30;:6;-1:-1:-1;;;;;29177:15:30;;29173:84;;29208:38;29224:5;29231:6;29239;29208:15;:38::i;:::-;29816:6;-1:-1:-1;;;;;;;;;;;29767:55:30;;:45;;:55;;;;;:::i;:::-;;;;-1:-1:-1;29832:20:30;;-1:-1:-1;29838:5:30;29845:6;29832:5;:20::i;:::-;29862:57;29892:7;:5;:7::i;:::-;29902:8;29912:6;29862:22;:57::i;:::-;29962:5;-1:-1:-1;;;;;29935:49:30;29952:8;-1:-1:-1;;;;;29935:49:30;29944:6;-1:-1:-1;;;;;29935:49:30;;29969:6;29977;29935:49;;;;;;1895:25:51;;;1951:2;1936:18;;1929:34;1883:2;1868:18;;1721:248;29935:49:30;;;;;;;;29009:982;;;;;:::o;15296:213:26:-;15352:6;15382:16;15374:24;;15370:103;;;15421:41;;-1:-1:-1;;;15421:41:26;;15452:2;15421:41;;;26245:36:51;26297:18;;;26290:34;;;26218:18;;15421:41:26;26063:267:51;1776:194:23;1881:10;1875:4;1868:24;1918:4;1912;1905:18;1949:4;1943;1936:18;5657:550:5;5851:43;;;;;;;;;;;;;;;;-1:-1:-1;;;;;5851:43:5;-1:-1:-1;;;5851:43:5;;;5811:93;;5724:7;;;;;;;;-1:-1:-1;;;;;5811:26:5;;;:93;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5764:140;;;;5918:7;:39;;;;;5955:2;5929:15;:22;:28;;5918:39;5914:260;;;5973:24;6011:15;6000:38;;;;;;;;;;;;:::i;:::-;5973:65;-1:-1:-1;6076:15:5;6056:35;;6052:112;;6119:4;;6131:16;;-1:-1:-1;5657:550:5;-1:-1:-1;;;;5657:550:5:o;6052:112::-;5959:215;5914:260;-1:-1:-1;6191:5:5;;;;-1:-1:-1;5657:550:5;-1:-1:-1;;;5657:550:5:o;5559:487:20:-;5690:17;;:21;5686:354;;5887:10;5881:17;5943:15;5930:10;5926:2;5922:19;5915:44;5686:354;6010:19;;-1:-1:-1;;;6010:19:20;;;;;;;;;;;9259:206:4;-1:-1:-1;;;;;9329:21:4;;9325:89;;9373:30;;-1:-1:-1;;;9373:30:4;;9400:1;9373:30;;;5140:51:51;5113:18;;9373:30:4;4994:203:51;9325:89:4;9423:35;9431:7;9448:1;9452:5;9423:7;:35::i;1219:160:19:-;1328:43;;-1:-1:-1;;;;;16143:32:51;;;1328:43:19;;;16125:51:51;16192:18;;;16185:34;;;1301:71:19;;1321:5;;1343:14;;;;;16098:18:51;;1328:43:19;15943:282:51;196:286;254:6;307:2;295:9;286:7;282:23;278:32;275:52;;;323:1;320;313:12;275:52;349:23;;-1:-1:-1;;;;;;401:32:51;;391:43;;381:71;;448:1;445;438:12;679:226;738:6;791:2;779:9;770:7;766:23;762:32;759:52;;;807:1;804;797:12;759:52;-1:-1:-1;852:23:51;;679:226;-1:-1:-1;679:226:51:o;910:131::-;-1:-1:-1;;;;;985:31:51;;975:42;;965:70;;1031:1;1028;1021:12;1046:247;1105:6;1158:2;1146:9;1137:7;1133:23;1129:32;1126:52;;;1174:1;1171;1164:12;1126:52;1213:9;1200:23;1232:31;1257:5;1232:31;:::i;1298:418::-;1447:2;1436:9;1429:21;1410:4;1479:6;1473:13;1522:6;1517:2;1506:9;1502:18;1495:34;1581:6;1576:2;1568:6;1564:15;1559:2;1548:9;1544:18;1538:50;1637:1;1632:2;1623:6;1612:9;1608:22;1604:31;1597:42;1707:2;1700;1696:7;1691:2;1683:6;1679:15;1675:29;1664:9;1660:45;1656:54;1648:62;;;1298:418;;;;:::o;1974:367::-;2042:6;2050;2103:2;2091:9;2082:7;2078:23;2074:32;2071:52;;;2119:1;2116;2109:12;2071:52;2158:9;2145:23;2177:31;2202:5;2177:31;:::i;:::-;2227:5;2305:2;2290:18;;;;2277:32;;-1:-1:-1;;;1974:367:51:o;2346:508::-;2423:6;2431;2439;2492:2;2480:9;2471:7;2467:23;2463:32;2460:52;;;2508:1;2505;2498:12;2460:52;2547:9;2534:23;2566:31;2591:5;2566:31;:::i;:::-;2616:5;-1:-1:-1;2673:2:51;2658:18;;2645:32;2686:33;2645:32;2686:33;:::i;:::-;2346:508;;2738:7;;-1:-1:-1;;;2818:2:51;2803:18;;;;2790:32;;2346:508::o;3272:127::-;3333:10;3328:3;3324:20;3321:1;3314:31;3364:4;3361:1;3354:15;3388:4;3385:1;3378:15;3404:421;3622:13;;3600:2;3585:18;;;3661:1;3654:9;;3644:43;;3667:18;;:::i;:::-;3714:2;3703:9;3696:21;;-1:-1:-1;;;;;3777:4:51;3769:6;3765:17;3759:24;3755:63;3748:4;3737:9;3733:20;3726:93;3404:421;;;;:::o;3830:346::-;3898:6;3906;3959:2;3947:9;3938:7;3934:23;3930:32;3927:52;;;3975:1;3972;3965:12;3927:52;-1:-1:-1;;4020:23:51;;;4140:2;4125:18;;;4112:32;;-1:-1:-1;3830:346:51:o;4181:367::-;4249:6;4257;4310:2;4298:9;4289:7;4285:23;4281:32;4278:52;;;4326:1;4323;4316:12;4278:52;4371:23;;;-1:-1:-1;4470:2:51;4455:18;;4442:32;4483:33;4442:32;4483:33;:::i;:::-;4535:7;4525:17;;;4181:367;;;;;:::o;4553:247::-;4701:2;4686:18;;4734:1;4723:13;;4713:47;;4740:18;;:::i;:::-;4769:25;;;4553:247;:::o;5202:367::-;5265:8;5275:6;5329:3;5322:4;5314:6;5310:17;5306:27;5296:55;;5347:1;5344;5337:12;5296:55;-1:-1:-1;5370:20:51;;-1:-1:-1;;;;;5402:30:51;;5399:50;;;5445:1;5442;5435:12;5399:50;5482:4;5474:6;5470:17;5458:29;;5542:3;5535:4;5525:6;5522:1;5518:14;5510:6;5506:27;5502:38;5499:47;5496:67;;;5559:1;5556;5549:12;5496:67;5202:367;;;;;:::o;5574:437::-;5660:6;5668;5721:2;5709:9;5700:7;5696:23;5692:32;5689:52;;;5737:1;5734;5727:12;5689:52;5777:9;5764:23;-1:-1:-1;;;;;5802:6:51;5799:30;5796:50;;;5842:1;5839;5832:12;5796:50;5881:70;5943:7;5934:6;5923:9;5919:22;5881:70;:::i;:::-;5970:8;;5855:96;;-1:-1:-1;5574:437:51;-1:-1:-1;;;;5574:437:51:o;6221:171::-;6288:20;;-1:-1:-1;;;;;6337:30:51;;6327:41;;6317:69;;6382:1;6379;6372:12;6317:69;6221:171;;;:::o;6397:347::-;6448:8;6458:6;6512:3;6505:4;6497:6;6493:17;6489:27;6479:55;;6530:1;6527;6520:12;6479:55;-1:-1:-1;6553:20:51;;-1:-1:-1;;;;;6585:30:51;;6582:50;;;6628:1;6625;6618:12;6582:50;6665:4;6657:6;6653:17;6641:29;;6717:3;6710:4;6701:6;6693;6689:19;6685:30;6682:39;6679:59;;;6734:1;6731;6724:12;6749:616;6836:6;6844;6852;6860;6913:2;6901:9;6892:7;6888:23;6884:32;6881:52;;;6929:1;6926;6919:12;6881:52;6952:28;6970:9;6952:28;:::i;:::-;6942:38;;7030:2;7019:9;7015:18;7002:32;7043:31;7068:5;7043:31;:::i;:::-;7093:5;-1:-1:-1;7149:2:51;7134:18;;7121:32;-1:-1:-1;;;;;7165:30:51;;7162:50;;;7208:1;7205;7198:12;7162:50;7247:58;7297:7;7288:6;7277:9;7273:22;7247:58;:::i;:::-;6749:616;;;;-1:-1:-1;7324:8:51;-1:-1:-1;;;;6749:616:51:o;7370:409::-;7440:6;7448;7501:2;7489:9;7480:7;7476:23;7472:32;7469:52;;;7517:1;7514;7507:12;7469:52;7557:9;7544:23;-1:-1:-1;;;;;7582:6:51;7579:30;7576:50;;;7622:1;7619;7612:12;7576:50;7661:58;7711:7;7702:6;7691:9;7687:22;7661:58;:::i;7784:481::-;7862:6;7870;7878;7931:2;7919:9;7910:7;7906:23;7902:32;7899:52;;;7947:1;7944;7937:12;7899:52;7970:28;7988:9;7970:28;:::i;:::-;7960:38;;8049:2;8038:9;8034:18;8021:32;-1:-1:-1;;;;;8068:6:51;8065:30;8062:50;;;8108:1;8105;8098:12;8062:50;8147:58;8197:7;8188:6;8177:9;8173:22;8147:58;:::i;:::-;7784:481;;8224:8;;-1:-1:-1;8121:84:51;;-1:-1:-1;;;;7784:481:51:o;8827:572::-;8922:6;8930;8938;8991:2;8979:9;8970:7;8966:23;8962:32;8959:52;;;9007:1;9004;8997:12;8959:52;9046:9;9033:23;9065:31;9090:5;9065:31;:::i;:::-;9115:5;-1:-1:-1;9171:2:51;9156:18;;9143:32;-1:-1:-1;;;;;9187:30:51;;9184:50;;;9230:1;9227;9220:12;9184:50;9269:70;9331:7;9322:6;9311:9;9307:22;9269:70;:::i;9776:272::-;9834:6;9887:2;9875:9;9866:7;9862:23;9858:32;9855:52;;;9903:1;9900;9893:12;9855:52;9942:9;9929:23;9992:6;9985:5;9981:18;9974:5;9971:29;9961:57;;10014:1;10011;10004:12;10053:127;10114:10;10109:3;10105:20;10102:1;10095:31;10145:4;10142:1;10135:15;10169:4;10166:1;10159:15;10185:748;10268:6;10328:2;10316:9;10307:7;10303:23;10299:32;10343:2;10340:22;;;10358:1;10355;10348:12;10340:22;-1:-1:-1;10427:2:51;10421:9;;;10457:15;;-1:-1:-1;;;;;10487:34:51;;10523:22;;;10484:62;10481:88;;;10549:18;;:::i;:::-;10585:2;10578:22;10622:23;;10654:31;10622:23;10654:31;:::i;:::-;10694:21;;10767:2;10752:18;;10739:32;-1:-1:-1;;;;;10802:40:51;;10790:53;;10780:81;;10857:1;10854;10847:12;10780:81;10889:2;10877:15;;10870:32;10881:6;10185:748;-1:-1:-1;;;10185:748:51:o;10938:637::-;11128:2;11140:21;;;11210:13;;11113:18;;;11232:22;;;11080:4;;11311:15;;;11285:2;11270:18;;;11080:4;11354:195;11368:6;11365:1;11362:13;11354:195;;;11433:13;;-1:-1:-1;;;;;11429:39:51;11417:52;;11498:2;11524:15;;;;11489:12;;;;11465:1;11383:9;11354:195;;;-1:-1:-1;11566:3:51;;10938:637;-1:-1:-1;;;;;10938:637:51:o;13363:508::-;13440:6;13448;13456;13509:2;13497:9;13488:7;13484:23;13480:32;13477:52;;;13525:1;13522;13515:12;13477:52;13570:23;;;-1:-1:-1;13669:2:51;13654:18;;13641:32;13682:33;13641:32;13682:33;:::i;:::-;13734:7;-1:-1:-1;13793:2:51;13778:18;;13765:32;13806:33;13765:32;13806:33;:::i;:::-;13858:7;13848:17;;;13363:508;;;;;:::o;13876:551::-;13971:6;13979;13987;14040:2;14028:9;14019:7;14015:23;14011:32;14008:52;;;14056:1;14053;14046:12;14008:52;14096:9;14083:23;-1:-1:-1;;;;;14121:6:51;14118:30;14115:50;;;14161:1;14158;14151:12;14115:50;14200:70;14262:7;14253:6;14242:9;14238:22;14200:70;:::i;:::-;14289:8;;14174:96;;-1:-1:-1;14393:2:51;14378:18;;;;14365:32;;13876:551;-1:-1:-1;;;;13876:551:51:o;14432:388::-;14500:6;14508;14561:2;14549:9;14540:7;14536:23;14532:32;14529:52;;;14577:1;14574;14567:12;14529:52;14616:9;14603:23;14635:31;14660:5;14635:31;:::i;:::-;14685:5;-1:-1:-1;14742:2:51;14727:18;;14714:32;14755:33;14714:32;14755:33;:::i;15041:380::-;15120:1;15116:12;;;;15163;;;15184:61;;15238:4;15230:6;15226:17;15216:27;;15184:61;15291:2;15283:6;15280:14;15260:18;15257:38;15254:161;;15337:10;15332:3;15328:20;15325:1;15318:31;15372:4;15369:1;15362:15;15400:4;15397:1;15390:15;15426:251;15496:6;15549:2;15537:9;15528:7;15524:23;15520:32;15517:52;;;15565:1;15562;15555:12;15517:52;15597:9;15591:16;15616:31;15641:5;15616:31;:::i;16420:276::-;16506:6;16559:2;16547:9;16538:7;16534:23;16530:32;16527:52;;;16575:1;16572;16565:12;16527:52;16607:9;16601:16;16646:1;16639:5;16636:12;16626:40;;16662:1;16659;16652:12;16701:127;16762:10;16757:3;16753:20;16750:1;16743:31;16793:4;16790:1;16783:15;16817:4;16814:1;16807:15;16833:148;16921:4;16900:12;;;16914;;;16896:31;;16939:13;;16936:39;;;16955:18;;:::i;16986:727::-;-1:-1:-1;;;;;17263:32:51;;;17245:51;;17332:32;;17327:2;17312:18;;17305:60;17401:3;17396:2;17381:18;;17374:31;;;17421:19;;17414:35;;;-1:-1:-1;;;;;;17461:31:51;;17458:51;;;17505:1;17502;17495:12;17458:51;17539:6;17536:1;17532:14;17597:6;17589;17583:3;17572:9;17568:19;17555:49;17701:4;17689:17;;;;17684:2;17669:18;;17662:45;-1:-1:-1;17625:22:51;17649:3;17621:32;;16986:727;-1:-1:-1;;;;16986:727:51:o;17718:230::-;17788:6;17841:2;17829:9;17820:7;17816:23;17812:32;17809:52;;;17857:1;17854;17847:12;17809:52;-1:-1:-1;17902:16:51;;17718:230;-1:-1:-1;17718:230:51:o;17953:345::-;-1:-1:-1;;;;;18173:32:51;;;;18155:51;;18237:2;18222:18;;18215:34;;;;18280:2;18265:18;;18258:34;18143:2;18128:18;;17953:345::o;18303:125::-;18368:9;;;18389:10;;;18386:36;;;18402:18;;:::i;18433:417::-;-1:-1:-1;;;;;18682:32:51;;;;18664:51;;18746:2;18731:18;;18724:34;;;;18789:2;18774:18;;18767:34;18832:2;18817:18;;18810:34;18651:3;18636:19;;18433:417::o;19415:127::-;19476:10;19471:3;19467:20;19464:1;19457:31;19507:4;19504:1;19497:15;19531:4;19528:1;19521:15;19547:505;19647:6;19642:3;19635:19;19679:4;19674:3;19670:14;19663:21;;19617:3;19707:5;19730:1;19740:287;19754:6;19751:1;19748:13;19740:287;;;19831:6;19818:20;19851:33;19876:7;19851:33;:::i;:::-;-1:-1:-1;;;;;19909:33:51;19897:46;;19972:4;19963:14;;;;20000:17;;;;;19939:1;19769:9;19740:287;;;-1:-1:-1;20043:3:51;;19547:505;-1:-1:-1;;;;19547:505:51:o;20057:296::-;20254:2;20243:9;20236:21;20217:4;20274:73;20343:2;20332:9;20328:18;20320:6;20312;20274:73;:::i;20358:456::-;20446:6;20454;20462;20515:2;20503:9;20494:7;20490:23;20486:32;20483:52;;;20531:1;20528;20521:12;20483:52;-1:-1:-1;;20576:16:51;;20682:2;20667:18;;20661:25;20778:2;20763:18;;;20757:25;20576:16;;20661:25;;-1:-1:-1;20757:25:51;20358:456;-1:-1:-1;20358:456:51:o;20819:375::-;20907:1;20925:5;20939:249;20960:1;20950:8;20947:15;20939:249;;;21010:4;21005:3;21001:14;20995:4;20992:24;20989:50;;;21019:18;;:::i;:::-;21069:1;21059:8;21055:16;21052:49;;;21083:16;;;;21052:49;21166:1;21162:16;;;;;21122:15;;20939:249;;;20819:375;;;;;;:::o;21199:902::-;21248:5;21278:8;21268:80;;-1:-1:-1;21319:1:51;21333:5;;21268:80;21367:4;21357:76;;-1:-1:-1;21404:1:51;21418:5;;21357:76;21449:4;21467:1;21462:59;;;;21535:1;21530:174;;;;21442:262;;21462:59;21492:1;21483:10;;21506:5;;;21530:174;21567:3;21557:8;21554:17;21551:43;;;21574:18;;:::i;:::-;-1:-1:-1;;21630:1:51;21616:16;;21689:5;;21442:262;;21788:2;21778:8;21775:16;21769:3;21763:4;21760:13;21756:36;21750:2;21740:8;21737:16;21732:2;21726:4;21723:12;21719:35;21716:77;21713:203;;;-1:-1:-1;21825:19:51;;;21901:5;;21713:203;21948:42;-1:-1:-1;;21973:8:51;21967:4;21948:42;:::i;:::-;22026:6;22022:1;22018:6;22014:19;22005:7;22002:32;21999:58;;;22037:18;;:::i;:::-;22075:20;;21199:902;-1:-1:-1;;;21199:902:51:o;22106:140::-;22164:5;22193:47;22234:4;22224:8;22220:19;22214:4;22193:47;:::i;22590:128::-;22657:9;;;22678:11;;;22675:37;;;22692:18;;:::i;22723:544::-;-1:-1:-1;;;;;23000:32:51;;22982:51;;23069:3;23064:2;23049:18;;23042:31;;;-1:-1:-1;;23090:74:51;;23144:19;;23136:6;23128;23090:74;:::i;:::-;23082:82;;23200:6;23195:2;23184:9;23180:18;23173:34;23255:4;23247:6;23243:17;23238:2;23227:9;23223:18;23216:45;22723:544;;;;;;;;:::o;23272:388::-;23429:2;23418:9;23411:21;23468:6;23463:2;23452:9;23448:18;23441:34;23525:6;23517;23512:2;23501:9;23497:18;23484:48;23581:1;23552:22;;;23576:2;23548:31;;;23541:42;;;;23644:2;23623:15;;;-1:-1:-1;;23619:29:51;23604:45;23600:54;;23272:388;-1:-1:-1;23272:388:51:o;24113:515::-;-1:-1:-1;;;;;24390:32:51;;;24372:51;;24454:2;24439:18;;24432:34;;;;24497:2;24482:18;;24475:34;;;;24545:32;;;24540:2;24525:18;;24518:60;24609:3;24594:19;;24587:35;;;;24359:3;24344:19;;24113:515::o;25179:170::-;25276:10;25269:18;;;25249;;;25245:43;;25300:20;;25297:46;;;25323:18;;:::i;25354:168::-;25427:9;;;25458;;25475:15;;;25469:22;;25455:37;25445:71;;25496:18;;:::i;25527:127::-;25588:10;25583:3;25579:20;25576:1;25569:31;25619:4;25616:1;25609:15;25643:4;25640:1;25633:15;25659:120;25699:1;25725;25715:35;;25730:18;;:::i;:::-;-1:-1:-1;25764:9:51;;25659:120::o;26335:743::-;26389:5;26442:3;26435:4;26427:6;26423:17;26419:27;26409:55;;26460:1;26457;26450:12;26409:55;26493:6;26487:13;-1:-1:-1;;;;;26515:6:51;26512:30;26509:56;;;26545:18;;:::i;:::-;26614:2;26608:9;26706:2;26668:17;;-1:-1:-1;;26664:31:51;;;26697:2;26660:40;26656:54;26644:67;;-1:-1:-1;;;;;26726:34:51;;26762:22;;;26723:62;26720:88;;;26788:18;;:::i;:::-;26824:2;26817:22;26848;;;26889:19;;;26910:4;26885:30;26882:39;-1:-1:-1;26879:59:51;;;26934:1;26931;26924:12;26879:59;26991:6;26984:4;26976:6;26972:17;26965:4;26957:6;26953:17;26947:51;27046:1;27018:19;;;27039:4;27014:30;27007:41;;;;27022:6;26335:743;-1:-1:-1;;;26335:743:51:o;27083:979::-;27233:6;27241;27249;27257;27265;27318:3;27306:9;27297:7;27293:23;27289:33;27286:53;;;27335:1;27332;27325:12;27286:53;27367:9;27361:16;27386:31;27411:5;27386:31;:::i;:::-;27486:2;27471:18;;27465:25;27436:5;;-1:-1:-1;27499:33:51;27465:25;27499:33;:::i;:::-;27603:2;27588:18;;27582:25;27551:7;;-1:-1:-1;27616:33:51;27582:25;27616:33;:::i;:::-;27719:2;27704:18;;27698:25;27668:7;;-1:-1:-1;;;;;;27735:30:51;;27732:50;;;27778:1;27775;27768:12;27732:50;27801:61;27854:7;27845:6;27834:9;27830:22;27801:61;:::i;:::-;27791:71;;;27908:3;27897:9;27893:19;27887:26;-1:-1:-1;;;;;27928:8:51;27925:32;27922:52;;;27970:1;27967;27960:12;27922:52;27993:63;28048:7;28037:8;28026:9;28022:24;27993:63;:::i;:::-;27983:73;;;27083:979;;;;;;;;:::o;28790:301::-;28919:3;28957:6;28951:13;29003:6;28996:4;28988:6;28984:17;28979:3;28973:37;29065:1;29029:16;;29054:13;;;-1:-1:-1;29029:16:51;28790:301;-1:-1:-1;28790:301:51:o;29472:237::-;-1:-1:-1;;;;;29585:40:51;;;29543;;;29539:87;;29638:42;;29635:68;;;29683:18;;:::i;29714:157::-;29744:1;29778:4;29775:1;29771:12;29802:3;29792:37;;29809:18;;:::i;:::-;29861:3;29854:4;29851:1;29847:12;29843:22;29838:27;;;29714:157;;;;:::o;29876:127::-;29937:10;29932:3;29928:20;29925:1;29918:31;29968:4;29965:1;29958:15;29992:4;29989:1;29982:15;30134:518;30236:2;30231:3;30228:11;30225:421;;;30272:5;30269:1;30262:16;30316:4;30313:1;30303:18;30386:2;30374:10;30370:19;30367:1;30363:27;30357:4;30353:38;30422:4;30410:10;30407:20;30404:47;;;-1:-1:-1;30445:4:51;30404:47;30500:2;30495:3;30491:12;30488:1;30484:20;30478:4;30474:31;30464:41;;30555:81;30573:2;30566:5;30563:13;30555:81;;;30632:1;30618:16;;30599:1;30588:13;30555:81;;30828:1299;30954:3;30948:10;-1:-1:-1;;;;;30973:6:51;30970:30;30967:56;;;31003:18;;:::i;:::-;31032:97;31122:6;31082:38;31114:4;31108:11;31082:38;:::i;:::-;31076:4;31032:97;:::i;:::-;31178:4;31209:2;31198:14;;31226:1;31221:649;;;;31914:1;31931:6;31928:89;;;-1:-1:-1;31983:19:51;;;31977:26;31928:89;-1:-1:-1;;30785:1:51;30781:11;;;30777:24;30773:29;30763:40;30809:1;30805:11;;;30760:57;32030:81;;31191:930;;31221:649;30081:1;30074:14;;;30118:4;30105:18;;-1:-1:-1;;31257:20:51;;;31375:222;31389:7;31386:1;31383:14;31375:222;;;31471:19;;;31465:26;31450:42;;31578:4;31563:20;;;;31531:1;31519:14;;;;31405:12;31375:222;;;31379:3;31625:6;31616:7;31613:19;31610:201;;;31686:19;;;31680:26;-1:-1:-1;;31769:1:51;31765:14;;;31781:3;31761:24;31757:37;31753:42;31738:58;31723:74;;31610:201;-1:-1:-1;;;;31857:1:51;31841:14;;;31837:22;31824:36;;-1:-1:-1;30828:1299:51:o","linkReferences":{"src/lib/StateInitLib.sol":{"StateInitLib":[{"start":17201,"length":20},{"start":17332,"length":20}]},"src/lib/StateSetterLib.sol":{"StateSetterLib":[{"start":3897,"length":20},{"start":4062,"length":20},{"start":4414,"length":20},{"start":4761,"length":20},{"start":5473,"length":20},{"start":7182,"length":20},{"start":8027,"length":20},{"start":10217,"length":20},{"start":10644,"length":20},{"start":11037,"length":20}]},"src/lib/AsyncVaultHelperLib.sol":{"AsyncVaultHelperLib":[{"start":3313,"length":20},{"start":4910,"length":20},{"start":5011,"length":20},{"start":5309,"length":20},{"start":6632,"length":20},{"start":7884,"length":20},{"start":8744,"length":20},{"start":8913,"length":20},{"start":10306,"length":20},{"start":10453,"length":20}]}},"immutableReferences":{"8178":[{"start":2750,"length":32},{"start":3692,"length":32},{"start":5722,"length":32},{"start":6262,"length":32},{"start":10832,"length":32}]}}}}}}},"signatures":{"function":[{"signature":"accrueYield()","signatureHash4":"0x059d9c75","signatureHash32":"0x059d9c75da1ecabc3a581a3ab8cadf44a2defc131ed5671917a6076a04548160"},{"signature":"addStrategy(address)","signatureHash4":"0x223e5479","signatureHash32":"0x223e547978c4623791a4cd8cc941e6ee1232689077d6ebb284f27cf19adb078f"},{"signature":"allocate(bytes)","signatureHash4":"0x5aef467a","signatureHash32":"0x5aef467add24130c94e7dd903e7d2ce4b870e5fa4faadc444b548bcf04faf00d"},{"signature":"allocateModule()","signatureHash4":"0xbf246000","signatureHash32":"0xbf24600088296fb63c8fc48d0ebe5b3d9f75a06705be297418728b4f9c56f853"},{"signature":"allowance(address,address)","signatureHash4":"0xdd62ed3e","signatureHash32":"0xdd62ed3e90e97b3d417db9c0c7522647811bafca5afc6694f143588d255fdfb4"},{"signature":"approve(address,uint256)","signatureHash4":"0x095ea7b3","signatureHash32":"0x095ea7b334ae44009aa867bfb386f5c3b4b443ac6f0ee573fa91c4608fbadfba"},{"signature":"asset()","signatureHash4":"0x38d52e0f","signatureHash32":"0x38d52e0f1dbe7a70d1f1bbce52487d111fd5a226368cd8ae0e1fc641c0299139"},{"signature":"balanceOf(address)","signatureHash4":"0x70a08231","signatureHash32":"0x70a08231b98ef4ca268c9cc3f6b4590e4bfec28280db06bb5d45e689f2a360be"},{"signature":"cachedTotalAssets()","signatureHash4":"0xdbb1fc0d","signatureHash32":"0xdbb1fc0dafa66ac5de2319e3460c0d68d660f9ce7c55fac6de604f2282e4d08a"},{"signature":"cancelRequest(address,uint256)","signatureHash4":"0x887344ff","signatureHash32":"0x887344ff008fb60ca3237d39308b7cfb6c60391ceef9ac041d8e0de79a5f298d"},{"signature":"cancelRequest(uint256)","signatureHash4":"0x3015394c","signatureHash32":"0x3015394c1484010a5e745928034c4b6e39ee820f149f659646eb6ea0f59d2753"},{"signature":"claimUsersBatch(address[],uint256)","signatureHash4":"0xc39a93eb","signatureHash32":"0xc39a93eb914b233462262251a77767f71120dd7f8da013eea189ca51f34c74fe"},{"signature":"claimWithdrawal(address,uint256[])","signatureHash4":"0x67881fd0","signatureHash32":"0x67881fd0980945654b52eb9efcc103a9afdd9f81868db4bec17936ca4ca06f50"},{"signature":"claimWithdrawal(uint256[])","signatureHash4":"0x3c256b98","signatureHash32":"0x3c256b9871b263b7b61b1b0018b6fc396bd4ad6c9e9e0d74724e674efdada558"},{"signature":"closeEpoch()","signatureHash4":"0xcdd5f2c8","signatureHash32":"0xcdd5f2c87ebd358f4c7cb6e31dd74cd2ca8552b41173eb0e6d77bf139fd2e3fc"},{"signature":"convertToAssets(uint256)","signatureHash4":"0x07a2d13a","signatureHash32":"0x07a2d13addb87fe4b871c7a7ed785ea40eb373aa4328e5835df32153f89e2be7"},{"signature":"convertToShares(uint256)","signatureHash4":"0xc6e6f592","signatureHash32":"0xc6e6f5920ab9d3ed18e775f95f68b651e74148ef95e22e169f51deec917a7357"},{"signature":"decimals()","signatureHash4":"0x313ce567","signatureHash32":"0x313ce567add4d438edf58b94ff345d7d38c45b17dfc0f947988d7819dca364f9"},{"signature":"DEFAULT_ADMIN_ROLE()","signatureHash4":"0xa217fddf","signatureHash32":"0xa217fddfde7807bb766525e432eeeecaaf4de889a05e8df9fb827257fb978cf4"},{"signature":"deposit(uint256,address)","signatureHash4":"0x6e553f65","signatureHash32":"0x6e553f653991036c188afcef45e14f9ecb45269ff9c675358bbb3a2eeb78e03b"},{"signature":"factory()","signatureHash4":"0xc45a0155","signatureHash32":"0xc45a01550ceb4bc5c6b2e6f722b5033a03078f9bd6673457375ba94c26ac1cf0"},{"signature":"getDeallocationOrder()","signatureHash4":"0x859844fc","signatureHash32":"0x859844fc904907e2478e7c71dd6f08aceb34f42662640c376836493fc0c51f1a"},{"signature":"getDepositLimits()","signatureHash4":"0x7f414cf8","signatureHash32":"0x7f414cf8f57f72e694f939fff1df3b2b9419bec8a95d824e22ac8347365650fb"},{"signature":"getEpochPricePerShare(uint256)","signatureHash4":"0xba736646","signatureHash32":"0xba7366467333f266276f2d4952652f2aefcd9e62e1cb94c8cf445fab4cfb52eb"},{"signature":"getEpochState(uint256)","signatureHash4":"0x3033bc10","signatureHash32":"0x3033bc10cd0e1fc2a42c29495982324524e611049b0f6482635a0d8f2959a09b"},{"signature":"getFeeConfig()","signatureHash4":"0x5fbbc0d2","signatureHash32":"0x5fbbc0d2ae56aaf2126d8716f808dfce1ee708bcf732dd8c9aae0b885a377ca0"},{"signature":"getRoleAdmin(bytes32)","signatureHash4":"0x248a9ca3","signatureHash32":"0x248a9ca39e7e298ea3bbd193e7d36b87492efea84ff513fd03940aaa5bc0d98f"},{"signature":"getRoleMember(bytes32,uint256)","signatureHash4":"0x9010d07c","signatureHash32":"0x9010d07c35d39c6d4cd0e3e64f2d5224175be836ce7811540697d664e50bd5b0"},{"signature":"getRoleMemberCount(bytes32)","signatureHash4":"0xca15c873","signatureHash32":"0xca15c87324184fe11fcfd1b62f305b0106b501a357855ca24a74263983ccd675"},{"signature":"getRoleMembers(bytes32)","signatureHash4":"0xa3246ad3","signatureHash32":"0xa3246ad3dae02b9b03b7aa5c057223d8a342d49c7de04bf22643dd30b3b5dc09"},{"signature":"getStrategies()","signatureHash4":"0xb49a60bb","signatureHash32":"0xb49a60bb540bda5b55334b92b8ba8ad10841ba3fa9e5827e12a97d23b2eb5cc5"},{"signature":"getStrategyData(address)","signatureHash4":"0x2968676e","signatureHash32":"0x2968676e4aede5c5c62806e8cff8a72c8978f6f71437a1f406949f6947f86eee"},{"signature":"getTotalAllocated()","signatureHash4":"0x82299a5c","signatureHash32":"0x82299a5ce80259ccd4e47ca0ff7896c8db09ce4e4ab6941574c44ceea259b4b6"},{"signature":"getUserEpochRequest(address,uint256)","signatureHash4":"0x9e51f5cc","signatureHash32":"0x9e51f5cc4025dce762630d790411912f889bf4c9770cbbfb26e1f7de7594fac3"},{"signature":"getUserEpochRequestInAssets(address,uint256)","signatureHash4":"0x227475de","signatureHash32":"0x227475def84db39a3603472d42a481502f08ebd14ae983c4a8bcaa33cb11c33d"},{"signature":"getWithdrawLimits()","signatureHash4":"0xacd078e0","signatureHash32":"0xacd078e0c6aac469db10e5c41129568c27e74e513f180a0bf970abc44fd60575"},{"signature":"grantRole(bytes32,address)","signatureHash4":"0x2f2ff15d","signatureHash32":"0x2f2ff15deca029b64bbc0874ae59c8f39be024a95aa718b4c13ca407db350be8"},{"signature":"hasRole(bytes32,address)","signatureHash4":"0x91d14854","signatureHash32":"0x91d1485424b278bc736d5d34907ed48280c7188845bc82b33370da2b4dc1194e"},{"signature":"initialize(uint64,address,bytes)","signatureHash4":"0x57ec83cc","signatureHash32":"0x57ec83cce79d9d139bdcd7c5a1ac65b4e3d5a993e134895e4bf8394bf8516215"},{"signature":"isQueueActive()","signatureHash4":"0x98b3abb4","signatureHash32":"0x98b3abb42907a3c59a98df095cf0d5dd90fd6ca524ea3e34858f200c25456f20"},{"signature":"latestEpochID()","signatureHash4":"0x72c5291c","signatureHash32":"0x72c5291c30b950bdd13b0029fe7445e2c9831805e6f68ad8195e1c8f5169afbe"},{"signature":"managementFee()","signatureHash4":"0xa6f7f5d6","signatureHash32":"0xa6f7f5d6b4b6c0911e98163c4de6fcae3dddcfb8916a4ed6e367ac2301f9d815"},{"signature":"maxDeposit(address)","signatureHash4":"0x402d267d","signatureHash32":"0x402d267d68336aa646ef8ec29881846fe65b505496b0e3c0d66c3c71ebca0b9d"},{"signature":"maxMint(address)","signatureHash4":"0xc63d75b6","signatureHash32":"0xc63d75b6db33f8f33f081cb1034d0189537c4967e609cbdbd35a6ac96a38dbce"},{"signature":"maxRedeem(address)","signatureHash4":"0xd905777e","signatureHash32":"0xd905777e6188a52d95537f77f9293d7c55ab6da19483be4a797af4b2329d6078"},{"signature":"maxWithdraw(address)","signatureHash4":"0xce96cb77","signatureHash32":"0xce96cb771ee0ee5438eec17718897557e7db15d685a5c83b309cbd37b191b8c4"},{"signature":"mint(uint256,address)","signatureHash4":"0x94bf804d","signatureHash32":"0x94bf804d99f2e506274f8f54327419cf422bd9efa05b9d7afe19d8049dcab16d"},{"signature":"moveRequestToNextEpoch(address)","signatureHash4":"0x06e56600","signatureHash32":"0x06e56600334b042847518dfe25019945249999e1bbc344dbb98adbb849b39609"},{"signature":"name()","signatureHash4":"0x06fdde03","signatureHash32":"0x06fdde0383f15d582d1a74511486c9ddf862a882fb7904b3d9fe9b8b8e58a796"},{"signature":"owner()","signatureHash4":"0x8da5cb5b","signatureHash32":"0x8da5cb5b36e7f68c1d2e56001220cdbdd3ba2616072f718acfda4a06441a807d"},{"signature":"pastEpochsUnclaimedAssets()","signatureHash4":"0x15b6c1ea","signatureHash32":"0x15b6c1eaf33ff8bcaa6b7e0072c068ce646a5934964d1ae89827518941811ef3"},{"signature":"performanceFee()","signatureHash4":"0x87788782","signatureHash32":"0x877887823743807fe427fa574aa6b0eae6aab006227a2bdc52adcf9142605c16"},{"signature":"previewAccrueYield()","signatureHash4":"0x0900cf6c","signatureHash32":"0x0900cf6c6a71a4defea0ab71ef04ebecb81ad239dfdbdb8586748d90535c5250"},{"signature":"previewDeposit(uint256)","signatureHash4":"0xef8b30f7","signatureHash32":"0xef8b30f73f706809e695608f776076874a713cf88edd86595a08e925f20c217f"},{"signature":"previewMint(uint256)","signatureHash4":"0xb3d7f6b9","signatureHash32":"0xb3d7f6b9638bbc33e68026f247be37f99ef5e7a0a876c11b709f75b175ec170d"},{"signature":"previewRedeem(uint256)","signatureHash4":"0x4cdad506","signatureHash32":"0x4cdad506b0d2802827e85739d7f82f09a428af7a9aa4806240ca073483c7fa7b"},{"signature":"previewWithdraw(uint256)","signatureHash4":"0x0a28a477","signatureHash32":"0x0a28a477d2fbe6a0242a8363413ce82b248f4001016791c1a6be68e82529ff3e"},{"signature":"processEpoch()","signatureHash4":"0xb19c2c70","signatureHash32":"0xb19c2c70c2b476a902d0c32e2fb449bb7762b2fef8e3fb85c7464a0314c443d5"},{"signature":"redeem(uint256,address,address)","signatureHash4":"0xba087652","signatureHash32":"0xba087652ef750b77b3f3b86ecd8aac56de04fbc0d6751abdd0992cabce379054"},{"signature":"removeStrategy(address)","signatureHash4":"0x175188e8","signatureHash32":"0x175188e8a0a618bce41b83efbab89857a7ed13997c3b6017eee3bafbe493bfaf"},{"signature":"renounceOwnership()","signatureHash4":"0x715018a6","signatureHash32":"0x715018a616b5f2044428f6fadb7deef4ce9ca76ef60ea57978964ad137bbe7ae"},{"signature":"renounceRole(bytes32,address)","signatureHash4":"0x36568abe","signatureHash32":"0x36568abe2c7e6c1d662bad0fe1760ac72cf2f9478a86be824d68ec83895c49e9"},{"signature":"revokeRole(bytes32,address)","signatureHash4":"0xd547741f","signatureHash32":"0xd547741fd8d55981251e167708119763c372f2b41e85a1468b0a759b055a009f"},{"signature":"setDeallocationOrder(address[])","signatureHash4":"0x8c7f67c1","signatureHash32":"0x8c7f67c1128e83e093f4348f6d38d9666f8bcfa7f9c044765d64c9947acb45ba"},{"signature":"setDepositLimits(uint256,uint256)","signatureHash4":"0x4eddea06","signatureHash32":"0x4eddea06f10e8b8b0eec84abc46dabe1290ebb8611afc2d4c981b154e559865e"},{"signature":"setHooks((address,uint96))","signatureHash4":"0x7d3fdf01","signatureHash32":"0x7d3fdf013f2eb012c653ae1f82a0a4a04631bff8baf1291ea024a71ddb60694d"},{"signature":"setWithdrawLimits(uint256,uint256)","signatureHash4":"0x2b060a68","signatureHash32":"0x2b060a686302ce19cf4d2a41815f3e529bc39da9e6b4a44e1beb9881d3dcfabc"},{"signature":"supportsInterface(bytes4)","signatureHash4":"0x01ffc9a7","signatureHash32":"0x01ffc9a7a5cef8baa21ed3c5c0d7e23accb804b619e9333b597f47a0d84076e2"},{"signature":"symbol()","signatureHash4":"0x95d89b41","signatureHash32":"0x95d89b41e2f5f391a79ec54e9d87c79d6e777c63e32c28da95b4e9e4a79250ec"},{"signature":"toggleQueueActive()","signatureHash4":"0x04fb78b6","signatureHash32":"0x04fb78b66253cc9ad77aa158db1a4e674560d47fa10b0c559b86067f1aac7434"},{"signature":"toggleStrategyStatus(address)","signatureHash4":"0xd87826c9","signatureHash32":"0xd87826c97ffb451f2a5f41f39561c18454232ab254882d6fbe82b6b22313fdfb"},{"signature":"totalAssets()","signatureHash4":"0x01e1d114","signatureHash32":"0x01e1d114555339877359e7bf87ceaa25576f6f649af8416cb9480f56ce6774f0"},{"signature":"totalRequestedSharesForCurrentEpochs()","signatureHash4":"0xb15fd3b1","signatureHash32":"0xb15fd3b133368675dd8e0ac23ee3c699d16eec468e7f9647a279f63a0e6cb4ff"},{"signature":"totalRequestedSharesPerEpoch(uint256)","signatureHash4":"0x052aa633","signatureHash32":"0x052aa6336b44268f5f7c8f0caf2a27a1b07708841d14b5790e117450f00bb199"},{"signature":"totalSupply()","signatureHash4":"0x18160ddd","signatureHash32":"0x18160ddd7f15c72528c2f94fd8dfe3c8d5aa26e2c50c7d81f4bc7bee8d4b7932"},{"signature":"transfer(address,uint256)","signatureHash4":"0xa9059cbb","signatureHash32":"0xa9059cbb2ab09eb219583f4a59a5d0623ade346d962bcd4e46b11da047c9049b"},{"signature":"transferFrom(address,address,uint256)","signatureHash4":"0x23b872dd","signatureHash32":"0x23b872dd7302113369cda2901243429419bec145408fa8b352b3dd92b66c680b"},{"signature":"transferOwnership(address)","signatureHash4":"0xf2fde38b","signatureHash32":"0xf2fde38b092330466c661fc723d5289b90272a3e580e3187d1d7ef788506c557"},{"signature":"updateManagementFeeRecipient(address)","signatureHash4":"0xe045f2e0","signatureHash32":"0xe045f2e0e8c9abf65b4bee583ee8c87167bdc9e61875d600ddbe75f416cccbef"},{"signature":"updateManagementFee(uint16)","signatureHash4":"0xc10af4c7","signatureHash32":"0xc10af4c74114573b7d80f82daaac794c086ea8985bde3b42dd83cbcd2d353e42"},{"signature":"updatePerformanceFeeRecipient(address)","signatureHash4":"0x12526a48","signatureHash32":"0x12526a487162d41fb3108d6cd3ee24ced4b8ce3f6f27dc243d2f2609879e6365"},{"signature":"updatePerformanceFee(uint16)","signatureHash4":"0x709ac1c3","signatureHash32":"0x709ac1c3b8ed458addbf49f7a4fa909245c51ba6b171d09c6b74f7e8fd441ff4"},{"signature":"upgrade(uint64,bytes)","signatureHash4":"0x5e30d7fe","signatureHash32":"0x5e30d7feb836767b5607b2d4efaf5f7e4ecefc2777bd67710a60acc1ee467130"},{"signature":"version()","signatureHash4":"0x54fd4d50","signatureHash32":"0x54fd4d50fce680dbc2593d9e893064bfa880e5642d0036394e1a1849f7fc0749"},{"signature":"withdraw(uint256,address,address)","signatureHash4":"0xb460af94","signatureHash32":"0xb460af94a08911df9ce375fb2a190ee15b3a9dfdda8ede7986fb72478f042661"}],"event":[{"signature":"Approval(address,address,uint256)","signatureHash4":"0x8c5be1e5","signatureHash32":"0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925"},{"signature":"DeallocationOrderUpdated()","signatureHash4":"0xf213ccca","signatureHash32":"0xf213ccca76967e32e2b615b9b54a24877dedd9f518917285b4434fa8a32ac3c8"},{"signature":"Deposit(address,address,uint256,uint256)","signatureHash4":"0xdcbc1c05","signatureHash32":"0xdcbc1c05240f31ff3ad067ef1ee35ce4997762752e3a095284754544f4c709d7"},{"signature":"DepositLimitsUpdated(uint256,uint256)","signatureHash4":"0xb2ad710f","signatureHash32":"0xb2ad710f2954a5376267a683f9ece9ec46ee7dfb47075163379904ee941df8da"},{"signature":"EpochClosed(uint256)","signatureHash4":"0x994f44cc","signatureHash32":"0x994f44cc2cff87a53744bdd989739fbb7526a024471963da0cdcfbb8984d4dd6"},{"signature":"EpochProcessed(uint256,uint256,uint256,uint256)","signatureHash4":"0x21ef7373","signatureHash32":"0x21ef73735721f857baf78cf90599632b92efadcbfa4939ee363a78e2bde98233"},{"signature":"HooksSet((address,uint96))","signatureHash4":"0xdf54464c","signatureHash32":"0xdf54464c1716ef505e744140e0952c7818e8fca244bda3dae5d2f971860aef0d"},{"signature":"Initialized(uint64)","signatureHash4":"0xc7f505b2","signatureHash32":"0xc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2"},{"signature":"ManagementFeeAccrued(address,uint256,uint256)","signatureHash4":"0xe0a6c0d2","signatureHash32":"0xe0a6c0d2df19a90b154d31618f7d6897e3b5bc6d509af23fb86c4f5395d31b8d"},{"signature":"ManagementFeeRecipientUpdated(address)","signatureHash4":"0x30c0d0c4","signatureHash32":"0x30c0d0c456be4717e0d6b3380210e06fc3086bac236008079dbaea3b4bf5cfc5"},{"signature":"ManagementFeeUpdated(uint16)","signatureHash4":"0xc4eec90b","signatureHash32":"0xc4eec90bd91e3e929c5f8f28f94b3f302d6c560d5263d4f56a6a73e051cfaa62"},{"signature":"OwnershipTransferred(address,address)","signatureHash4":"0x8be0079c","signatureHash32":"0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0"},{"signature":"PerformanceFeeAccrued(address,uint256,uint256)","signatureHash4":"0x71dd3803","signatureHash32":"0x71dd3803aa05c93645074cd325b45c8dd9dcc3396f538083f54611df04ebe9a9"},{"signature":"PerformanceFeeRecipientUpdated(address)","signatureHash4":"0x939c33bb","signatureHash32":"0x939c33bbb5fe1fa1d8b709606d083e76dbc3e2e3d6f4811432252b8838501d9b"},{"signature":"PerformanceFeeUpdated(uint16)","signatureHash4":"0x0632b4dd","signatureHash32":"0x0632b4ddf7c06e7e3bc19b7ce92862c7de91b312a392142116fb574a06a47cfd"},{"signature":"QueueActiveToggled(bool)","signatureHash4":"0x622ac9e7","signatureHash32":"0x622ac9e7dfefe4b395a61df3b2d570aa753a3c9febd3ad24f919322920895fce"},{"signature":"QueuedWithdrawal(address,address,address,uint256,uint256,uint256)","signatureHash4":"0x0cddd4f5","signatureHash32":"0x0cddd4f59848797de89e03b9d9afb2b9ffbb42b032a976132b69b165a988d91d"},{"signature":"RequestCancelled(address,uint256,uint256)","signatureHash4":"0x55ec94ca","signatureHash32":"0x55ec94ca0f01023d07c5752a75f44048cfbdb0e4cfedf5e7eacecf21fcde3587"},{"signature":"RequestClaimed(address,uint256,uint256[])","signatureHash4":"0xfd0891c0","signatureHash32":"0xfd0891c0724c3d28422ae2fa771462d963c6a1e26226ad7ec53ca2816b3a60e8"},{"signature":"RequestMovedToNextEpoch(address,uint256,uint256,uint256)","signatureHash4":"0x35985706","signatureHash32":"0x35985706f0d158853e7565a78d61d5e87be3a04aa04ce10ee47e95588794e55f"},{"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":"StrategyAdded(address)","signatureHash4":"0x3f008fd5","signatureHash32":"0x3f008fd510eae7a9e7bee13513d7b83bef8003d488b5a3d0b0da4de71d6846f1"},{"signature":"StrategyHalted(address)","signatureHash4":"0x2c8d79fd","signatureHash32":"0x2c8d79fde8ac1cb0dcc314fa92f3d28fb94c9d70d8140b6d6c457b70d1865e4e"},{"signature":"StrategyRemoved(address)","signatureHash4":"0x09a1db4b","signatureHash32":"0x09a1db4b80c32706328728508c941a6b954f31eb5affd32f236c1fd405f8fea4"},{"signature":"StrategyStatusToggled(address)","signatureHash4":"0x45657909","signatureHash32":"0x45657909758a694c1489dd2578cae7b8e1fd2269f4bf7e8e89ccd384c188275e"},{"signature":"StrategyYieldAccrued(address,uint256,uint256,uint256)","signatureHash4":"0xe11daacd","signatureHash32":"0xe11daacdf6490767a003932f47d7701165c31eb98ae03312422400522e33b11d"},{"signature":"Transfer(address,address,uint256)","signatureHash4":"0xddf252ad","signatureHash32":"0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef"},{"signature":"Withdraw(address,address,address,uint256,uint256)","signatureHash4":"0xfbde797d","signatureHash32":"0xfbde797d201c681b91056529119e0b02407c7bb96a4a2c75c01fc9667232c8db"},{"signature":"WithdrawalQueueInitialized(uint256)","signatureHash4":"0xdee8874e","signatureHash32":"0xdee8874e98e535bacc31bfa764370b3d4056ab9ad0ca03688c51f56b959c135c"},{"signature":"WithdrawLimitsUpdated(uint256,uint256)","signatureHash4":"0x15fca23f","signatureHash32":"0x15fca23f7c1d558b6c1a69e8f1fbf87738e5e23864be739bc32cc22e60467718"},{"signature":"YieldAccrued(uint256,uint256)","signatureHash4":"0xfe2ebf53","signatureHash32":"0xfe2ebf53456a69d7b70affc98b9021c791a9bce3af6fa5d24dfbc2db0f817b54"}],"error":[{"signature":"AccessControlBadConfirmation()","signatureHash4":"0x6697b232","signatureHash32":"0x6697b23232a647058342c0724fe7c415cab25915b54e5dbc03f233173d37b41c"},{"signature":"AccessControlUnauthorizedAccount(address,bytes32)","signatureHash4":"0xe2517d3f","signatureHash32":"0xe2517d3fbfae6f8515ef5ff1ccedc3933ab0cbbda0b492c06eb54ad10ef03b3e"},{"signature":"AddressEmptyCode(address)","signatureHash4":"0x9996b315","signatureHash32":"0x9996b315c842ff135b8fc4a08ad5df1c344efbc03d2687aecc0678050d2aac89"},{"signature":"AlreadyInitialized()","signatureHash4":"0x0dc149f0","signatureHash32":"0x0dc149f07762891dbcea3fe72770f3d63a1863fc54b2f084e8c59ec476996927"},{"signature":"AssetAmountOutOfBounds(address,uint256,uint256,uint256)","signatureHash4":"0x668a3e48","signatureHash32":"0x668a3e486a33e87898a6d071e5335c2c408e8a45bc73f207195fd71791ef66c3"},{"signature":"CannotToggleInactiveStrategy()","signatureHash4":"0x63413f33","signatureHash32":"0x63413f33a69f20a2af0832372ecb720935bd6e1672292dc012593bdf146d27d4"},{"signature":"EmptyEpochIDs()","signatureHash4":"0xdae42f19","signatureHash32":"0xdae42f191d23241bff5f7523025db078801d23bc175cd05bbadd86a8d0ee2a0f"},{"signature":"EmptyUsers()","signatureHash4":"0xda5b3d42","signatureHash32":"0xda5b3d4291476036aafe20cae3a2bb61f9e32deadf18e03253275b2684b3279e"},{"signature":"EpochAlreadyClosed(uint256)","signatureHash4":"0xed171096","signatureHash32":"0xed1710969817e7b2df9f659f1b98429e140b92219a424017ef541aa21f35ea2f"},{"signature":"EpochAlreadyProcessed(uint256)","signatureHash4":"0x00b90be2","signatureHash32":"0x00b90be261a50ae9d70e9b6ccecf102deed401f3b5ff816b0e53a1b365780232"},{"signature":"EpochNotProcessed(uint256)","signatureHash4":"0xcb57f0bc","signatureHash32":"0xcb57f0bc7352d703738ff2764cc0c98d35c0dc9177662268fc6fde3503bbf539"},{"signature":"EpochStillOpen(uint256)","signatureHash4":"0xfb351db7","signatureHash32":"0xfb351db701af7d69e2380f3c5dad4b169b701b1aedfa714a6922f16c190dd00b"},{"signature":"ERC20InsufficientAllowance(address,uint256,uint256)","signatureHash4":"0xfb8f41b2","signatureHash32":"0xfb8f41b23e99d2101d86da76cdfa87dd51c82ed07d3cb62cbc473e469dbc75c3"},{"signature":"ERC20InsufficientBalance(address,uint256,uint256)","signatureHash4":"0xe450d38c","signatureHash32":"0xe450d38cd8d9f7d95077d567d60ed49c7254716e6ad08fc9872816c97e0ffec6"},{"signature":"ERC20InvalidApprover(address)","signatureHash4":"0xe602df05","signatureHash32":"0xe602df05cc75712490294c6c104ab7c17f4030363910a7a2626411c6d3118847"},{"signature":"ERC20InvalidReceiver(address)","signatureHash4":"0xec442f05","signatureHash32":"0xec442f055133b72f3b2f9f0bb351c406b178527de2040a7d1feb4e058771f613"},{"signature":"ERC20InvalidSender(address)","signatureHash4":"0x96c6fd1e","signatureHash32":"0x96c6fd1edd0cd6ef7ff0ecc0facdf53148dc0048b57fe58af65755250a7a96bd"},{"signature":"ERC20InvalidSpender(address)","signatureHash4":"0x94280d62","signatureHash32":"0x94280d62c347d8d9f4d59a76ea321452406db88df38e0c9da304f58b57b373a2"},{"signature":"ERC4626ExceededMaxDeposit(address,uint256,uint256)","signatureHash4":"0x79012fb2","signatureHash32":"0x79012fb2819fcdc1de669c08773dbcd6bdc757862642f75fb1c584dadf259dfe"},{"signature":"ERC4626ExceededMaxMint(address,uint256,uint256)","signatureHash4":"0x284ff667","signatureHash32":"0x284ff667dc615a39438518c22e8955b9470327d9de8a4d7e21c926b260d65176"},{"signature":"ERC4626ExceededMaxRedeem(address,uint256,uint256)","signatureHash4":"0xb94abeec","signatureHash32":"0xb94abeec0557d36b5f0bc8f115deec7b184dcbff94ac66d55e37c8f301e75269"},{"signature":"ERC4626ExceededMaxWithdraw(address,uint256,uint256)","signatureHash4":"0xfe9cceec","signatureHash32":"0xfe9cceec2bd1f9b68641914cc354eacaeb1cc2169f5ba0639930f241e87142f0"},{"signature":"FailedCall()","signatureHash4":"0xd6bda275","signatureHash32":"0xd6bda27508c0fb6d8a39b4b122878dab26f731a7d4e4abe711dd3731899052a4"},{"signature":"FeeRecipientNotSet()","signatureHash4":"0x6dd72d47","signatureHash32":"0x6dd72d474efcd7f34a61e50363cee1d3d00c990751826ff5a88720f7e4819072"},{"signature":"InsufficientAssets()","signatureHash4":"0x96d80433","signatureHash32":"0x96d80433b44d9ef937ced1b4b9865bf742b86f9de5e90812e4ed0a5f78e7be63"},{"signature":"InsufficientBalance()","signatureHash4":"0xf4d678b8","signatureHash32":"0xf4d678b8ce6b5157126b1484a53523762a93571537a7d5ae97d8014a44715c94"},{"signature":"InsufficientShares()","signatureHash4":"0x39996567","signatureHash32":"0x399965675cfec4301cbe5ec24fb407575c5a7e4f40d219532068c8e5b35040f9"},{"signature":"InvalidAllocateModule()","signatureHash4":"0x8f16646d","signatureHash32":"0x8f16646db99e01143bcb0a8345e1a1335de0ccb4da865b54b305c7f839f2a1ed"},{"signature":"InvalidAsset()","signatureHash4":"0xc891add2","signatureHash32":"0xc891add29a7ab9d41e37185f104bcdb2f36b82070c641cc70969e3180fe2f51a"},{"signature":"InvalidDepositLimits()","signatureHash4":"0x7211b830","signatureHash32":"0x7211b830b1b49ea7df666b3b2c3932f1a7860a8bba3ce164f914f9d67e90c1b2"},{"signature":"InvalidFactoryOwner()","signatureHash4":"0xd29ecfe1","signatureHash32":"0xd29ecfe1ce5e091b24ccff746c8cfe4e1a9b0ae9226490f6b8747cbe7e2301b4"},{"signature":"InvalidFeeRecipient()","signatureHash4":"0x768dc598","signatureHash32":"0x768dc598040f8a15186549e30e61f63c67b0dcea435dcc58af3b3815a00be04a"},{"signature":"InvalidInitialization()","signatureHash4":"0xf92ee8a9","signatureHash32":"0xf92ee8a957075833165f68c320933b1a1294aafc84ee6e0dd3fb178008f9aaf5"},{"signature":"InvalidInitialVaultManager()","signatureHash4":"0x83ec3214","signatureHash32":"0x83ec3214f141fcb4edead902eb7a3318e13f9e23256ccdd93515f7db6595c334"},{"signature":"InvalidName()","signatureHash4":"0x430f13b3","signatureHash32":"0x430f13b3258f41708e03c9ac10900c92a05198a20080a57c2127a1b40ea76e92"},{"signature":"InvalidReceiver()","signatureHash4":"0x1e4ec46b","signatureHash32":"0x1e4ec46ba639431522ed9b9ce6d5e4d79b6e4cb2c689f14af956db4edf067a7d"},{"signature":"InvalidStrategyAsset()","signatureHash4":"0xe76673ef","signatureHash32":"0xe76673ef8bc99a58ecba89a5100e57321d006fb5160ce40ebcdf11f140c14140"},{"signature":"InvalidSymbol()","signatureHash4":"0x04119bc4","signatureHash32":"0x04119bc463cbaad70c035ff41b8e99def150c7fef0c59420332fbb28d8e79053"},{"signature":"InvalidWithdrawLimits()","signatureHash4":"0xabaf805d","signatureHash32":"0xabaf805d76cc4db7535d76df7e26870d9f5c58170177affc745eeb63d5ea5780"},{"signature":"ManagementFeeExceedsMaximum()","signatureHash4":"0x2cdc92ef","signatureHash32":"0x2cdc92ef79322f2d9f2d65fd2df22268163cc325f0378c2145ce9151b3f035d8"},{"signature":"NoClaimableRequest()","signatureHash4":"0x4bece4e4","signatureHash32":"0x4bece4e4b0b9608023b02ade31bdc0461836f8b468cb77b3143963ba5abf1520"},{"signature":"NoRedeemableAssets()","signatureHash4":"0xb1ce7b0b","signatureHash32":"0xb1ce7b0be31f2772b2239022b32c75fee19b12b1814eebaaa2935c46f10fb9ed"},{"signature":"NoRequestingShares()","signatureHash4":"0x04b26983","signatureHash32":"0x04b26983dba01948f11902ac1a8bcde386804087c61a286837a7b63796394c66"},{"signature":"NotFactory()","signatureHash4":"0x32cc7236","signatureHash32":"0x32cc723614e775fc4a8386492bc9a860c12fe98d5f5f28ec17e265818645b229"},{"signature":"NotInitialized()","signatureHash4":"0x87138d5c","signatureHash32":"0x87138d5c8c2e77cb9f25c07b03277aad63d22f6a05255580ec55d2c21666e734"},{"signature":"NotInitializing()","signatureHash4":"0xd7e6bcf8","signatureHash32":"0xd7e6bcf8597daa127dc9f0048d2f08d5ef140a2cb659feabd700beff1f7a8302"},{"signature":"OwnableInvalidOwner(address)","signatureHash4":"0x1e4fbdf7","signatureHash32":"0x1e4fbdf7f3ef8bcaa855599e3abf48b232380f183f08f6f813d9ffa5bd585188"},{"signature":"OwnableUnauthorizedAccount(address)","signatureHash4":"0x118cdaa7","signatureHash32":"0x118cdaa7a341953d1887a2245fd6665d741c67c8c50581daa59e1d03373fa188"},{"signature":"PerformanceFeeExceedsMaximum()","signatureHash4":"0x4734ffd8","signatureHash32":"0x4734ffd83947d1da3683edcc572003b3f927506d2cae69772471d4be0da499d0"},{"signature":"PreviousEpochAlreadyProcessed(uint256)","signatureHash4":"0xe4a3796b","signatureHash32":"0xe4a3796b2335fa43b1e5982c9b8eaac4f4f8d72982ebe9158df591b1f0fd43a2"},{"signature":"PreviousEpochNotProcessed(uint256)","signatureHash4":"0x6e1eaf88","signatureHash32":"0x6e1eaf8819baf53e746248c7656fb0c8e89163e815167fccc324daacb8b3559f"},{"signature":"ReentrancyGuardReentrantCall()","signatureHash4":"0x3ee5aeb5","signatureHash32":"0x3ee5aeb571de7fc460830b4d0017439a1ca56fb0bc39062227ade4fe4a24c1ca"},{"signature":"SafeCastOverflowedUintDowncast(uint8,uint256)","signatureHash4":"0x6dfcc650","signatureHash32":"0x6dfcc6503a32754ce7a89698e18201fc5294fd4aad43edefee786f88423b1a12"},{"signature":"SafeERC20FailedOperation(address)","signatureHash4":"0x5274afe7","signatureHash32":"0x5274afe73c98b4749fc91ffae6b7b574e7842cb2144a159e9377a5f20b32edf9"},{"signature":"StrategyAlreadyAdded()","signatureHash4":"0x165e2367","signatureHash32":"0x165e2367140be02e477f8fc7dfe666271d6bf58b1a80cb536ed47c9b117e0774"},{"signature":"StrategyAlreadyHalted()","signatureHash4":"0x12596456","signatureHash32":"0x125964565f7a21910a3ef7b3c36c9764925b55543a73756b2cd9da71e075ba61"},{"signature":"StrategyDoesNotExist()","signatureHash4":"0x5737b5dd","signatureHash32":"0x5737b5dd6ac5b322cf51658f114eb0b00a607b9a0b58baa464e22ca2eef0ee0e"},{"signature":"StrategyHasAllocation()","signatureHash4":"0x1725acc5","signatureHash32":"0x1725acc53e26c66a28c3eb845acf1030d18f9fde799ae804d99af14d6a0c32d9"},{"signature":"StrategyIsHalted()","signatureHash4":"0x04ed770b","signatureHash32":"0x04ed770b4ae49eb6b8069d156e938462b33486b9c7c2b0b5b80809185167e24e"},{"signature":"ZeroAddress()","signatureHash4":"0xd92e233d","signatureHash32":"0xd92e233df2717d4a40030e20904abd27b68fcbeede117eaaccbbdac9618c8c73"},{"signature":"ZeroShares()","signatureHash4":"0x9811e0c7","signatureHash32":"0x9811e0c7eeca2ee0fa751e2e19d78682ad689ea04816cfe0cf1c5863234abd3f"}]},"proxyResolution":{"isProxy":false,"proxyType":null,"implementations":[]},"match":"match","chainId":"42161","address":"0xBCF719a564a9b7C0822B2EcC14c93852e954b1d4"}