{"matchId":"38435838","creationMatch":"exact_match","runtimeMatch":"exact_match","verifiedAt":"2026-06-29T01:40:03Z","creationBytecode":{"onchainBytecode":"0x60a080604052346100c257306080525f516020614cef5f395f51905f525460ff8160401c166100b3576002600160401b03196001600160401b03821601610060575b604051614c2890816100c7823960805181818161232901526123bc0152f35b6001600160401b0319166001600160401b039081175f516020614cef5f395f51905f525581527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d290602090a15f80610041565b63f92ee8a960e01b5f5260045ffd5b5f80fdfe60806040526004361015610011575f80fd5b5f5f3560e01c8062b9a3f61461362857806301ffc9a7146135d1578063050690261461358457806306a1701e146135375780632372dd5f146134e7578063248a9ca3146134b45780632a77511214612df95780632c8c4f5314612b2f5780632f2ff15d14612af15780632f5066dd1461282557806331f57072146125f757806336568abe146125b25780633ea09e2e146125625780634f1ef2861461237d57806352d1902d14612316578063539d7b1514611d9b5780637140904914611bc257806379ffc233146119d6578063802892691461193757806391d14854146118ee57806393512617146118a9578063a217fddf1461188d578063a3d1b21d1461183d578063ad3cb1cc146117f4578063ae09b9c714611496578063bc8e939f14611271578063c4d66de81461112a578063c57e91d714610c6e578063d3fc564914610b5d578063d547741f14610b16578063d8b273f6146107fc578063e6b26a4a146107a8578063f3fa30ef1461027a578063f5b541a6146102525763fbb61d7d1461019a575f80fd5b3461023f57608036600319011261023f57806101b4613a4d565b6101bc613a63565b906044356001600160401b03811161024d576101dc903690600401613b24565b906101e56143d0565b6001600160a01b031691823b1561024d5761021d92849283604051809681958294632590ce8b60e11b8452606435916004850161436d565b03925af180156102425761022e5750f35b8161023891613ae8565b61023f5780f35b80fd5b6040513d84823e3d90fd5b505050fd5b503461023f578060031936011261023f5760206040515f516020614b735f395f51905f528152f35b503461023f5761028936613d55565b9693979495926040519861029c8a613ab9565b868a5260208a019787895260408b019088825260608c01978989526102bf6143d0565b6040516338d52e0f60e01b81526001600160a01b039190911690602081600481855afa90811561079d578b9161077e575b506040516370a0823160e01b81526001600160a01b0393841660048201819052999093909116602084602481845afa938415610666578c94610749575b50926020602494604051958680926370a0823160e01b82528760048301525afa938415610666578c94610715575b508087111561070e5761036e81886142a2565b935b8461053c575b50505050506040519063e4182b0960e01b82526020826004818a5afa9182156105315789926104fa575b50936103c49160409552845195869485946311e918cb60e01b8652600486016142d9565b038187865af180156104ef5791602091600493869187916104be575b508752885260405163e4182b0960e01b815292839182905afa9283156104b2579261047a575b505251106104225761041e9060405191829182613bad565b0390f35b60405162461bcd60e51b815260206004820152603f60248201527f5661756c745632416c6c6f6361746f722e616c6c6f63617465546f6b656e3a2060448201525f516020614b335f395f51905f526064820152608490fd5b9091506020813d6020116104aa575b8161049660209383613ae8565b810103126104a65751905f610406565b5f80fd5b3d9150610489565b604051903d90823e3d90fd5b90506104e2915060403d6040116104e8575b6104da8183613ae8565b8101906142c3565b5f6103e0565b503d6104d0565b6040513d86823e3d90fd5b9150936020823d602011610529575b8161051660209383613ae8565b810103126104a6579051909360406103a0565b3d9150610509565b6040513d8b823e3d90fd5b81018091116106fa57808711156106f35761055790876142a2565b60405163ad468d1160e01b8152602081600481875afa9081156106e8578d916106b9575b50811515806106a7575b6105ee575b5050813b156105ea57918a916105b79383604051809681958294635c9ce04d60e01b845260048401613e3e565b03925af18015610531579089916105d1575b808080610376565b816105db91613ae8565b6105e657875f6105c9565b8780fd5b8a80fd5b6040516305c0524560e31b8152908d82600481885afa91821561069a578e8093610675575b5050843b1561067157908d9161063d6040519485938493632590ce8b60e11b85526004850161436d565b038183875af1801561066657908c911561058a578161065b91613ae8565b6105ea578a5f61058a565b6040513d8e823e3d90fd5b8d80fd5b6106929293503d8091833e61068a8183613ae8565b81019061430b565b905f8e610613565b8e604051903d90823e3d90fd5b506001600160a01b0381161515610585565b6106db915060203d6020116106e1575b6106d38183613ae8565b810190614283565b5f61057b565b503d6106c9565b6040513d8f823e3d90fd5b508a610557565b634e487b7160e01b8c52601160045260248cfd5b8b93610370565b9093506020813d602011610741575b8161073160209383613ae8565b810103126104a65751925f61035b565b3d9150610724565b93506020843d602011610776575b8161076460209383613ae8565b810103126104a657925192602061032d565b3d9150610757565b610797915060203d6020116106e1576106d38183613ae8565b5f6102f0565b6040513d8d823e3d90fd5b503461023f57806107b836613c26565b936107c49291926143d0565b6001600160a01b031690813b156107f85785809461021d6040519788968795869463848802f360e01b865260048601613e63565b8580fd5b503461023f5761012036600319011261023f57610817613a4d565b61081f613a63565b610827613a8d565b836064356001600160401b038111610b1257610847903690600401613c93565b929094610852613aa3565b9360a4356001600160401b038111610b0e57610872903690600401613c93565b61087a613b6a565b60e435979092906001600160a01b03891689036105e6576040519a6004958960608e6108a581613ab9565b82815282602082015282604082015201526108be6143d0565b895c6001600160a01b0319166001600160a01b038916178a5d6001805c6001600160a01b0319166001600160a01b038e1617905d60208c6040519889809263e4182b0960e01b825260018060a01b03165afa8015610b03578c978b91610abc575b506109bd979694926109af9694926109749260045d6040519b8c99636c5939fb60e11b60208c015260018060a01b031660408b015260018060a01b031660608a015261012060808a0152610140890191613ea0565b6001600160a01b0394851660a08801528b851660c08801526101043560e08801529316610100860152848303601f1901610120860152613ea0565b03601f198101845283613ae8565b6001600160a01b0381163b15610ab85760405163701195a160e11b81529384928391859183916109ff919061010435906001600160a01b031660048501613e17565b03926001600160a01b03165af180156104ef57610aa3575b5091602060049360025c845260035c82850152845c60408501526040519485809263e4182b0960e01b825260018060a01b03165afa9081156104b25790610a6f575b61041e9250606082015260405191829182613bad565b506020823d602011610a9b575b81610a8960209383613ae8565b810103126104a65761041e9151610a59565b3d9150610a7c565b610aae848092613ae8565b610ab8575f610a17565b8280fd5b9750509391985093916020863d602011610afb575b81610ade60209383613ae8565b810103126104a65794518c988b96939592949092916109bd61091f565b3d9150610ad1565b6040513d8c823e3d90fd5b8480fd5b5080fd5b503461023f57604036600319011261023f57610b59600435610b36613a63565b90610b54610b4f825f525f602052600160405f20015490565b614479565b614799565b5080f35b503461023f5760c036600319011261023f5780610b78613a4d565b610b80613a63565b6044356001600160401b03811161024d57610b9f903690600401613b24565b91610ba8613b97565b916084356001600160401b0381116107f857610bc8903690600401613b24565b9360a43592610bd56143d0565b6001600160a01b031691823b15610c6a57604051632590ce8b60e11b815291879183918291610c099188916004850161436d565b038183865af1908115610c5f578691610c4a575b5050803b15610b0e5761021d9385809460405196879586948593635c9ce04d60e01b85526004850161436d565b81610c5491613ae8565b610b0e57845f610c1d565b6040513d88823e3d90fd5b8680fd5b503461023f576101c036600319011261023f57610c89613a4d565b610c91613a63565b9082610c9b613a8d565b6064356001600160401b038111610ab857610cba903690600401613b24565b92610cc3613aa3565b9360a4356001600160401b038111610b0e57610ce3903690600401613b24565b90610cec613b6a565b610cf4613b80565b61014435976001600160a01b03891689036105e65761018435916001600160a01b0383168303611126576101a4356001600160401b038111611122576004968c93610d438c9336908b01613b24565b97836060604051610d5381613ab9565b8281528260208201528260408201520152610d6c6143d0565b610124359560e4359460209190805c6001600160a01b0319166001600160a01b038f1617905d6001805c6001600160a01b0319166001600160a01b03831617905d60405163e4182b0960e01b81529b8c9182906001600160a01b03165afa80156106e8578f9a8e916110e9575b5060045d610124355f1914611068575b60e4355f1914610fe7575b6040805163c57e91d760e01b60208201526001600160a01b039b8c16918101919091529b90991660608c01526101c060808c01528a98610e39906101e08b0190613d31565b6001600160a01b0390911660a08a0152888103601f190160c08a0152610e5e91613d31565b6001600160a01b0395861660e08901526101008801919091529084166101208701526101408601919091528883166101608601526101643561018086015291166101a0840152828103601f19016101c0840152610eba91613d31565b03601f1981018352610ecc9083613ae8565b6001600160a01b0381163b15610ab85760405163701195a160e11b8152938492839185918391610f0e919061016435906001600160a01b031660048501613e17565b03926001600160a01b03165af18015610fdc57610fc7575b5060405163e4182b0960e01b81529160025c916004805c9160035c9160209187919082906001600160a01b03165afa9283156104b25792610f91575b61041e945060405193610f7485613ab9565b845260208401526040830152606082015260405191829182613bad565b91506020843d602011610fbf575b81610fac60209383613ae8565b810103126104a65761041e935191610f62565b3d9150610f9f565b610fd2838092613ae8565b610b12575f610f26565b6040513d85823e3d90fd5b60405163075300a160e01b8152995092506020898c818061100c8c8960048401613def565b03916001600160a01b03165afa8015610666578e998d9161102f575b5092610df4565b9950509a506020883d602011611060575b8161104d60209383613ae8565b810103126104a6578d9a8d98515f611028565b3d9150611040565b604051630b78039760e31b8152995094506020898c818061108d898b60048401613def565b03916001600160a01b03165afa8015610666578e998d916110b0575b5094610de9565b9950509a506020883d6020116110e1575b816110ce60209383613ae8565b810103126104a6578d9a8d98515f6110a9565b3d91506110c1565b9a50509b506020893d60201161111a575b8161110760209383613ae8565b810103126104a6578e9b8e99515f610dd9565b3d91506110fa565b8980fd5b8880fd5b503461023f57602036600319011261023f57611144613a4d565b5f516020614bb35f395f51905f52549060ff8260401c1615916001600160401b03811680159081611269575b600114908161125f575b159081611256575b506112475767ffffffffffffffff1981166001175f516020614bb35f395f51905f52556111c091908361121b575b506111ba81614536565b506144b1565b506111c85780f35b60ff60401b195f516020614bb35f395f51905f5254165f516020614bb35f395f51905f52557fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2602060405160018152a180f35b68ffffffffffffffffff191668010000000000000001175f516020614bb35f395f51905f52555f6111b0565b63f92ee8a960e01b8452600484fd5b9050155f611182565b303b15915061117a565b849150611170565b503461023f5760e036600319011261023f5761128b613a4d565b90611294613a63565b9061129d613a8d565b926112a6613aa3565b9360a4356001600160401b038111611492576112c6903690600401613b24565b94604051956112d487613ab9565b8487526020870195858752604088019386855260608901958787526112f76143d0565b60405163e4182b0960e01b81526001600160a01b0391909116956020826004818a5afa91821561053157899261145b575b5093611350916040955284519586948594630957e04760e31b86526064359160048701614397565b038187865af180156104ef57916020916004938691879161143a575b508752875260405163e4182b0960e01b815292839182905afa9283156104b25792611406575b505260c4359051106113ae5761041e9060405191829182613bad565b60405162461bcd60e51b815260206004820152603f60248201527f5661756c745632416c6c6f6361746f722e7265616c6c6f63617465426f783a2060448201525f516020614b335f395f51905f526064820152608490fd5b9091506020813d602011611432575b8161142260209383613ae8565b810103126104a65751905f611392565b3d9150611415565b9050611455915060403d6040116104e8576104da8183613ae8565b5f61136c565b9150936020823d60201161148a575b8161147760209383613ae8565b810103126104a657905190936040611328565b3d915061146a565b8380fd5b503461023f576114a536613d55565b9294909693604051976114b789613ab9565b89895260208901968a885260408a01928b84528b60608c01958187526114db6143d0565b60405163e4182b0960e01b81526001600160a01b039190911695906020816004818a5afa9283156104b257926117bd575b50936115309160409552845197889485946313a8a0f760e21b8652600486016142d9565b03818c855af1908115610531576004936020928b918c9161179c575b508852895260405163e4182b0960e01b815293849182905afa91821561179157889261175d575b50528251106116e85781516001600160a01b0390911692859190843b15610ab857604051632590ce8b60e11b8152918391839182916115b6919060048401613e3e565b038183885af18015610242576116d3575b505060405163ad468d1160e01b815291602083600481845afa9283156116c85785936116a7575b506001600160a01b03831661160c575b6040518061041e8682613bad565b6040516305c0524560e31b815285929091908383600481855afa9283156104ef57849361168b575b505191813b1561149257836116609560405196879586948593635c9ce04d60e01b85526004850161436d565b03925af18015610fdc57611676575b80806115fe565b611681838092613ae8565b610b12578161166f565b6116a09193503d8086833e61068a8183613ae8565b915f611634565b6116c191935060203d6020116106e1576106d38183613ae8565b915f6115ee565b6040513d87823e3d90fd5b816116dd91613ae8565b61149257835f6115c7565b60405162461bcd60e51b815260206004820152604160248201527f5661756c745632416c6c6f6361746f722e6465616c6c6f63617465546f6b656e60448201527f3a205265636569766564206c657373207468616e206d696e20657870656374656064820152601960fa1b608482015260a490fd5b9091506020813d602011611789575b8161177960209383613ae8565b810103126104a65751905f611573565b3d915061176c565b6040513d8a823e3d90fd5b90506117b7915060403d6040116104e8576104da8183613ae8565b5f61154c565b9150936020823d6020116117ec575b816117d960209383613ae8565b810103126104a65790519093604061150c565b3d91506117cc565b503461023f578060031936011261023f575061041e604051611817604082613ae8565b60058152640352e302e360dc1b6020820152604051918291602083526020830190613d31565b503461023f578061184d36613c26565b936118599291926143d0565b6001600160a01b031690813b156107f85785809461021d6040519788968795869463f5cc819560e01b865260048601613e63565b503461023f578060031936011261023f57602090604051908152f35b503461023f57604036600319011261023f576118c3613a4d565b6024358015158103610ab8576118d7614819565b156118e557610b59906144b1565b610b5990614708565b503461023f57604036600319011261023f57604061190a613a63565b91600435815280602052209060018060a01b03165f52602052602060ff60405f2054166040519015158152f35b503461023f57604036600319011261023f57611951613a4d565b9060206001600160a01b03611964613a63565b6040516370a0823160e01b81526001600160a01b03909516600486015284916024918391165afa9081156104b257906119a3575b602090604051908152f35b506020813d6020116119ce575b816119bd60209383613ae8565b810103126104a65760209051611998565b3d91506119b0565b503461023f576119e536613cc0565b94916040969394919651966119f988613ab9565b8488526020880195858752604089019386855260608a0195878752611a1c6143d0565b60405163e4182b0960e01b81526001600160a01b0391909116956020826004818a5afa918215610531578992611b8b575b5093611a719160409552845195869485946311e918cb60e01b8652600486016142d9565b038187865af180156104ef579160209160049386918791611b6a575b508752885260405163e4182b0960e01b815292839182905afa9283156104b25792611b36575b50525110611acb5761041e9060405191829182613bad565b60405162461bcd60e51b815260206004820152603d60248201527f5661756c745632416c6c6f6361746f722e616c6c6f63617465426f783a20526560448201527f636569766564206c657373207468616e206d696e2065787065637465640000006064820152608490fd5b9091506020813d602011611b62575b81611b5260209383613ae8565b810103126104a65751905f611ab3565b3d9150611b45565b9050611b85915060403d6040116104e8576104da8183613ae8565b5f611a8d565b9150936020823d602011611bba575b81611ba760209383613ae8565b810103126104a657905190936040611a4d565b3d9150611b9a565b503461023f57611bd136613cc0565b9491604096939491965196611be588613ab9565b8488526020880195858752604089019386855260608a0195878752611c086143d0565b60405163e4182b0960e01b81526001600160a01b0391909116956020826004818a5afa918215610531578992611d64575b5093611c5d9160409552845195869485946313a8a0f760e21b8652600486016142d9565b038187865af180156104ef579160209160049386918791611d43575b508752885260405163e4182b0960e01b815292839182905afa9283156104b25792611d0f575b50525110611cb75761041e9060405191829182613bad565b60405162461bcd60e51b815260206004820152603f60248201527f5661756c745632416c6c6f6361746f722e6465616c6c6f63617465426f783a2060448201525f516020614b335f395f51905f526064820152608490fd5b9091506020813d602011611d3b575b81611d2b60209383613ae8565b810103126104a65751905f611c9f565b3d9150611d1e565b9050611d5e915060403d6040116104e8576104da8183613ae8565b5f611c79565b9150936020823d602011611d93575b81611d8060209383613ae8565b810103126104a657905190936040611c39565b3d9150611d73565b503461023f5760c036600319011261023f57611db5613a4d565b90611dbe613a63565b91611dc7613a8d565b92611dd0613b97565b926084356001600160401b038111610b1257611df0903690600401613b24565b9160405194611dfe86613ab9565b8286526020860194838652836040880152836060880152611e1d6143d0565b6040516338d52e0f60e01b81526001600160a01b03919091169490602081600481895afa9081156116c85785916122f7575b506040516370a0823160e01b81523060048201526001600160a01b03918216999094918116929091602086602481875afa9081156122ec5787916122b7575b6040516370a0823160e01b815230600482015296506020876024818f5afa968715611791578897612283575b506001600160a01b0316803b156105e65787809160246040518094819363bc25cf7760e01b83528a60048401525af180156117915790889161226e575b50506040516370a0823160e01b815230600482015290602082602481885afa801561179157889061223a575b611f2d92506142a2565b9384156121d5578a840361207e575b5050505050604051916370a0823160e01b83523060048401526020836024818a5afa9081156104b2579061204a575b611f7592506142a2565b80835280845260a43511611fd157905160405163a9059cbb60e01b60208201526001600160a01b039092166024830152604482015261041e92611fc59190611fc082606481016109af565b614a49565b60405191829182613bad565b60405162461bcd60e51b815260206004820152604560248201527f5661756c745632416c6c6f6361746f722e7265696e76657374536b696d41646160448201527f707465723a205265636569766564206c657373207468616e206d696e206578706064820152641958dd195960da1b608482015260a490fd5b506020823d602011612076575b8161206460209383613ae8565b810103126104a657611f759151611f6b565b3d9150612057565b6001600160a01b03169361209381868561461c565b843b15610c6a5786908b6120d360405194859384936316dbcdbf60e21b855289600486015260248501526044840152608060648401526084830190613d31565b038183885af18015610c5f579086916121c0575b50506040519185806020850163095ea7b360e01b815286602487015281604487015260448652612118606487613ae8565b85519082855af190612128614a02565b8261218e575b5081612183575b5015612143575b8080611f3c565b611fc061217b936040519063095ea7b360e01b6020830152602482015286604482015260448152612175606482613ae8565b82614a49565b5f808061213c565b90503b15155f612135565b805191925081159182156121a6575b5050905f61212e565b6121b99250602080918301019101614a31565b5f8061219d565b816121ca91613ae8565b610b0e57845f6120e7565b60405162461bcd60e51b815260206004820152603760248201527f5661756c745632416c6c6f6361746f722e7265696e76657374536b696d4164616044820152761c1d195c8e88139bc81d1bdad95b9cc81cdada5b5b5959604a1b6064820152608490fd5b506020823d602011612266575b8161225460209383613ae8565b810103126104a657611f2d9151611f23565b3d9150612247565b8161227891613ae8565b610c6a57865f611ef7565b9096506020813d6020116122af575b8161229f60209383613ae8565b810103126104a65751955f611eba565b3d9150612292565b90506020863d6020116122e4575b816122d260209383613ae8565b810103126104a6576024955190611e8e565b3d91506122c5565b6040513d89823e3d90fd5b612310915060203d6020116106e1576106d38183613ae8565b5f611e4f565b503461023f578060031936011261023f577f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316300361236e5760206040515f516020614b535f395f51905f528152f35b63703e46dd60e11b8152600490fd5b50604036600319011261023f57612392613a4d565b906024356001600160401b038111610b12576123b2903690600401613b24565b6001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016308114908115612540575b50612531576123f4614819565b6040516352d1902d60e01b8152926001600160a01b0381169190602085600481865afa809585966124fd575b5061243957634c9c8ce360e01b84526004839052602484fd5b9091845f516020614b535f395f51905f5281036124eb5750813b156124d9575f516020614b535f395f51905f5280546001600160a01b031916821790557fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b8480a281518390156124bf5780836020610b5995519101845af46124b9614a02565b91614ab4565b505050346124ca5780f35b63b398979f60e01b8152600490fd5b634c9c8ce360e01b8452600452602483fd5b632a87526960e21b8552600452602484fd5b9095506020813d602011612529575b8161251960209383613ae8565b81010312610b0e5751945f612420565b3d915061250c565b63703e46dd60e11b8252600482fd5b5f516020614b535f395f51905f52546001600160a01b0316141590505f6123e7565b503461023f578061257236613c26565b9361257e9291926143d0565b6001600160a01b031690813b156107f85785809461021d6040519788968795869463adb04a3d60e01b865260048601613e63565b503461023f57604036600319011261023f576125cc613a63565b336001600160a01b038216036125e857610b5990600435614799565b63334bd91960e11b8252600482fd5b503461023f57604036600319011261023f576004356024356001600160401b038111610ab85761262b903690600401613c93565b9190835c6001600160a01b03163303612816578083859201602082820312610ab85761265682613bd7565b6001600160e01b031916636c5939fb60e11b8103612718575061267990826141e8565b50919a965050505050505b6001600160a01b03169161269985848861461c565b823b1561149257604051631ee81e6560e31b81526001600160a01b0387166004820152602481018690526060604482015292849284928391859183916126e491606484019190613ea0565b03925af1801561024257612703575b505061270091339061461c565b80f35b8161270d91613ae8565b610ab857825f6126f3565b632f5066dd60e01b810361274157506127319082614146565b50919b9750505050505050612684565b632c8c4f5360e01b8103612769575061275a90826140a0565b509b9750505050505050612684565b625cd1fb60e11b810361279557506127819082613fc1565b505050979c98505050505050505094612684565b90925063c57e91d760e01b036127c5576127b0859282613ed9565b505050989d9950505050505050505094612684565b60405162461bcd60e51b815260206004820152602360248201527f5661756c745632416c6c6f6361746f723a20496e76616c6964206f706572617460448201526234b7b760e91b6064820152608490fd5b637e5f4b6160e01b8452600484fd5b503461023f5761014036600319011261023f57612840613a4d565b612848613a63565b612850613a8d565b836064356001600160401b038111610b1257612870903690600401613c93565b92909461287b613aa3565b9560a4356001600160401b038111610b0e5760609761289f60049236908401613c93565b906128a8613b6a565b926128b1613b80565b95896040519d8e6128c181613ab9565b82815282602082015282604082015201526128da6143d0565b61012435968a5c6001600160a01b0319166001600160a01b038a16178b5d6001805c6001600160a01b0319166001600160a01b038f1617905d60208d6040519889809263e4182b0960e01b825260018060a01b03165afa801561079d578d978c91612ab8575b5060045d610124355f1914612a29575b60408051632f5066dd60e01b60208201526001600160a01b039889169181019190915299871660608b015261014060808b0152909516996129f79589956129e99590949093909290916129a891610160890191613ea0565b6001600160a01b0394851660a088015260e43560c088015260e087018d905261010087018990529316610120860152848303601f1901610140860152613ea0565b03601f198101855284613ae8565b6001600160a01b0382163b1561149257836109ff956040519687958694859363701195a160e11b855260048501613e17565b604051630b78039760e31b8152909750955060208680612a4e8a8f8660048501613ec0565b03816001600160a01b038d165afa8015610b03578c968b91612a72575b5096612950565b95939a5050929094506020843d602011612ab0575b81612a9460209383613ae8565b810103126104a65792518c988b959294939092916129a8612a6b565b3d9150612a87565b97505099506020863d602011612ae9575b81612ad660209383613ae8565b810103126104a6578d998c96515f612940565b3d9150612ac9565b503461023f57604036600319011261023f57610b59600435612b11613a63565b90612b2a610b4f825f525f602052600160405f20015490565b6145a7565b503461023f5761014036600319011261023f5780612b4b613a4d565b612b53613a63565b90612b5c613a8d565b6064356001600160401b038111610b0e57612b7b903690600401613c93565b9290612b85613aa3565b60a435926001600160401b0384116105e657612ba688943690600401613c93565b612bb1939193613b6a565b9360e43595612bbe613b80565b6101243597612bcb6143d0565b979b6001600160a01b03909616988c98968791805c6001600160a01b0319168c17905d6001600160a01b0316986001805c6001600160a01b0319168b17905d5f1914612d7b575b5f1914612cec575b91612c6c612c8d9492612cc1999897969460018060a01b03169c6040519c8d9a632c8c4f5360e01b60208d015260408c015260018060a01b031660608b015261014060808b01526101608a0191613ea0565b6001600160a01b0390931660a0880152868303601f190160c0880152613ea0565b6001600160a01b0390921660e08401526101008301526101208201869052610140820187905203601f198101845283613ae8565b803b15610b0e5761021d938580946040519687958694859363701195a160e11b855260048501613e17565b60405163075300a160e01b815290955060208180612d0f8a8f8760048501613ec0565b03816001600160a01b038e165afa9081156106e8578d91612d32575b5094612c1a565b97969594929c5050916020873d602011612d73575b81612d5460209383613ae8565b810103126104a65795518c9b9596949593949193919290612c6c612d2b565b3d9150612d47565b9b50612da26020828c8e604051809581948293630b78039760e31b84528a60048501613ec0565b03916001600160a01b03165afa90811561069a578e91612dc4575b509b612c12565b9d505060208d3d602011612df1575b81612de060209383613ae8565b810103126104a6578d9c515f612dbd565b3d9150612dd3565b503461023f57606036600319011261023f57612e13613a4d565b506044356001600160401b038111610b1257612e33903690600401613c93565b60015c6001600160a01b031633036134a55782908201602083820312610b12576001600160e01b0319612e6584613bd7565b1692636c5939fb60e11b840361301157612e809293506141e8565b6040516370a0823160e01b81523360048201529398509196509394936001600160a01b0384169190602084602481865afa938415610b03578a94612fd2575b5091612ed388868b60209560249733614894565b6040516370a0823160e01b815233600482015292839182905afa908115611791578891612f99575b5090612f06916142a2565b90333b15610c6a5760405163848802f360e01b815291879183918291612f329190888860048601613e63565b038183335af1908115610c5f578691612f84575b5050333b15610b0e57612f6f8593604051958694859463f5cc819560e01b865260048601613e63565b038183335af180156102425761022e57505080f35b81612f8e91613ae8565b610b0e57845f612f46565b919750506020813d602011612fca575b81612fb660209383613ae8565b810103126104a65751879690612f06612efb565b3d9150612fa9565b9192995092506020813d602011613009575b81612ff160209383613ae8565b810103126104a6575189989092909190612ed3612ebf565b3d9150612fe4565b632f5066dd60e01b84036130e45761302a929350614146565b95939850989395919650333b15611492578361305d916040518093819263adb04a3d60e01b83528b888860048601613e63565b038183335af19081156104ef5784916130cf575b5050333b15610ab8578491839161309d8960405195869485946310dc411b60e11b865260048601613e63565b038183335af18015610242576130ba575b50506127009433614894565b816130c491613ae8565b6107f857855f6130ae565b816130d991613ae8565b610ab857825f613071565b632c8c4f5360e01b84036131d8576130fd9293506140a0565b975097509293909194333b156111265760405163adb04a3d60e01b815289818061312d8b8d888860048601613e63565b038183335af1908115610b03578a916131c3575b5050333b15611126578291899161316d8660405195869485946310dc411b60e11b865260048601613e63565b038183335af19081156117915788916131ae575b5050333b15610c6a5760405163848802f360e01b815291879183918291612f329190888860048601613e63565b816131b891613ae8565b610c6a57865f613181565b816131cd91613ae8565b61112657885f613141565b625cd1fb60e11b8403613336576131f0929350613fc1565b95939798929b509598909950333b1561331d576132268c8b8d604051938492839263adb04a3d60e01b8452888860048601613e63565b038183335af19081156106e8578d91613321575b5050333b1561331d5782918c916132668660405195869485946310dc411b60e11b865260048601613e63565b038183335af190811561079d578b91613308575b50506040516370a0823160e01b8152336004820152936001600160a01b0386169390602086602481885afa958615610666578c966132c7575b50928660249593612ed39360209633614894565b9492939b5094506020843d602011613300575b816132e760209383613ae8565b810103126104a65792518b9a90949193909291866132b3565b3d91506132da565b8161331291613ae8565b61112257895f61327a565b8b80fd5b8161332b91613ae8565b61331d578b5f61323a565b909290915063c57e91d760e01b036127c557829161335391613ed9565b6040516370a0823160e01b8152336004820152939d50919b5096999798949795969495946001600160a01b0385169190602084602481865afa938415613498578f94613459575b50916133af8d8f889060209560249733614894565b6040516370a0823160e01b815233600482015292839182905afa9081156106e8578d91613420575b50906133e2916142a2565b818111156134185750905b333b156105ea5760405163adb04a3d60e01b8152918b918391829161312d9190888860048601613e63565b9050906133ed565b919c50506020813d602011613451575b8161343d60209383613ae8565b810103126104a657518c9b906133e26133d7565b3d9150613430565b929e5092506020823d602011613490575b8161347760209383613ae8565b810103126104a65790518e9d90929091906133af61339a565b3d915061346a565b8f604051903d90823e3d90fd5b63e4705dc760e01b8352600483fd5b503461023f57602036600319011261023f5760206134df6004355f525f602052600160405f20015490565b604051908152f35b503461023f57806134f736613c26565b936135039291926143d0565b6001600160a01b031690813b156107f85785809461021d604051978896879586946310dc411b60e11b865260048601613e63565b503461023f578061354736613bec565b916135506143d0565b6001600160a01b031691823b1561024d5761021d92849283604051809681958294632590ce8b60e11b845260048401613e3e565b503461023f578061359436613bec565b9161359d6143d0565b6001600160a01b031691823b1561024d5761021d92849283604051809681958294635c9ce04d60e01b845260048401613e3e565b503461023f57602036600319011261023f5760043563ffffffff60e01b8116809103610b1257602090637965db0b60e01b8114908115613617575b506040519015158152f35b6301ffc9a760e01b1490508261360c565b50346104a6576101a03660031901126104a657613643613a4d565b61364b613a63565b613653613a8d565b926064356001600160401b0381116104a657613673903690600401613b24565b9261367c613aa3565b9460a4356001600160401b0381116104a65761369c903690600401613b24565b936136a5613b6a565b9660e435976136b2613b80565b610124356001600160a01b03811696909391908785036104a6576101443599610164356001600160a01b03811694908590036104a657610184359c6001600160401b038e116104a6578e9d61370b903690600401613b24565b9760405161371881613ab9565b5f8152602081015f9052604081015f90526060015f90526137376143d0565b9c9d8e9d6001600160a01b03909516999094905f805c6001600160a01b0319168c17905d6001600160a01b03169d8e6001805c6001600160a01b0319168217905d60405180809263e4182b0960e01b82525a92600491602094fa90811561390d575f91613a1b575b5060045d5f1914613994575b508c9d9e5f9d999a9b9c9d1914613918575b6040519a8b99625cd1fb60e11b60208c015260408b0152600160a01b600190031660608a0152608089016101a090526101c089016137fa91613d31565b6001600160a01b0390911660a0890152878103601f190160c089015261381f91613d31565b6001600160a01b0394851660e08801526101008701919091529216610120850152610140840187905261016084018a9052610180840152828103601f19016101a084015261386c91613d31565b03601f198101835261387e9083613ae8565b803b156104a6576138a9955f80946040519889958694859363701195a160e11b855260048501613e17565b03925af192831561390d576004936138fa575b5060025c9160035c6020855c926040519687809263e4182b0960e01b82525afa9283156104b25792610f915761041e945060405193610f7485613ab9565b61390691505f90613ae8565b5f5f6138bc565b6040513d5f823e3d90fd5b60405163075300a160e01b8152985092506020888061393b898760048401613def565b03816001600160a01b038e165afa801561390d578d985f9161395f575b50926137bd565b9850506020883d60201161398c575b8161397b60209383613ae8565b810103126104a6578c97515f613958565b3d915061396e565b8a9b9c9d9e506020906139be9a9b60405180809d8194630b78039760e31b83528760048401613def565b03916001600160a01b03165afa801561390d578e995f916139e6575b509d9c9b9a99986137ab565b9950506020893d602011613a13575b81613a0260209383613ae8565b810103126104a6578d98515f6139da565b3d91506139f5565b90506020813d602011613a45575b81613a3660209383613ae8565b810103126104a657515f61379f565b3d9150613a29565b600435906001600160a01b03821682036104a657565b602435906001600160a01b03821682036104a657565b35906001600160a01b03821682036104a657565b604435906001600160a01b03821682036104a657565b608435906001600160a01b03821682036104a657565b608081019081106001600160401b03821117613ad457604052565b634e487b7160e01b5f52604160045260245ffd5b90601f801991011681019081106001600160401b03821117613ad457604052565b6001600160401b038111613ad457601f01601f191660200190565b81601f820112156104a657803590613b3b82613b09565b92613b496040519485613ae8565b828452602083830101116104a657815f926020809301838601378301015290565b60c435906001600160a01b03821682036104a657565b61010435906001600160a01b03821682036104a657565b606435906001600160a01b03821682036104a657565b91909160608060808301948051845260208101516020850152604081015160408501520151910152565b35906001600160e01b0319821682036104a657565b60609060031901126104a6576004356001600160a01b03811681036104a657906024356001600160a01b03811681036104a6579060443590565b60a06003198201126104a6576004356001600160a01b03811681036104a657916024356001600160a01b03811681036104a65791604435906001600160401b0382116104a657613c7891600401613b24565b906064356001600160a01b03811681036104a6579060843590565b9181601f840112156104a6578235916001600160401b0383116104a657602083818601950101116104a657565b60c06003198201126104a6576004356001600160a01b03811681036104a657916024356001600160a01b03811681036104a65791604435916064356001600160a01b03811681036104a65791608435906001600160401b0382116104a657613d2a91600401613b24565b9060a43590565b805180835260209291819084018484015e5f828201840152601f01601f1916010190565b6101006003198201126104a6576004356001600160a01b03811681036104a657916024356001600160a01b03811681036104a657916044356001600160a01b03811681036104a657916064356001600160a01b03811681036104a657916084359160a4356001600160a01b03811681036104a6579160c435906001600160401b0382116104a657613de891600401613b24565b9060e43590565b90613e07602091949394604084526040840190613d31565b6001600160a01b03909416910152565b613e3b939260609260018060a01b0316825260208201528160408201520190613d31565b90565b92919060018060a01b03168352606060208401525f6060840152604060808401930152565b6001600160a01b03909116815260806020820181905292949392606092613e8c91830190613d31565b6001600160a01b0390951660408201520152565b908060209392818452848401375f828201840152601f01601f1916010190565b91602091613e0791959495604085526040850191613ea0565b9190916101c0818403126104a657613ef081613bd7565b92613efd60208301613a79565b92613f0a60408401613a79565b9260608101356001600160401b0381116104a65783613f2a918301613b24565b92613f3760808301613a79565b9260a08301356001600160401b0381116104a65782613f57918501613b24565b92613f6460c08201613a79565b9260e082013592613f786101008401613a79565b9261012081013592613f8d6101408301613a79565b9261016083013592613fa26101808201613a79565b926101a08201356001600160401b0381116104a657613e3b9201613b24565b906101a0828203126104a657613fd682613bd7565b92613fe360208401613a79565b92613ff060408201613a79565b9260608201356001600160401b0381116104a65781614010918401613b24565b9261401d60808401613a79565b9260a08101356001600160401b0381116104a6578361403d918301613b24565b9261404a60c08301613a79565b9260e08301359261405e6101008201613a79565b9261406c6101208301613a79565b92610140830135926140816101608201613a79565b926101808201356001600160401b0381116104a657613e3b9201613b24565b91610140838303126104a6576140b583613bd7565b926140c260208201613a79565b926140cf60408301613a79565b9260608301356001600160401b0381116104a657826140ef918501613b24565b926140fc60808201613a79565b9260a0820135906001600160401b0382116104a65761411c918301613b24565b9161412960c08301613a79565b9160e0810135916101206141406101008401613a79565b92013590565b90610140828203126104a65761415b82613bd7565b9261416860208401613a79565b9261417560408201613a79565b9260608201356001600160401b0381116104a65781614195918401613b24565b926141a260808401613a79565b9260a0810135926141b560c08301613a79565b9260e0830135926141c96101008201613a79565b926101208201356001600160401b0381116104a657613e3b9201613b24565b91610120838303126104a6576141fd83613bd7565b9261420a60208201613a79565b9261421760408301613a79565b9260608301356001600160401b0381116104a65782614237918501613b24565b9261424460808201613a79565b9261425160a08301613a79565b9260c08301359261426460e08201613a79565b926101008201356001600160401b0381116104a657613e3b9201613b24565b908160209103126104a657516001600160a01b03811681036104a65790565b919082039182116142af57565b634e487b7160e01b5f52601160045260245ffd5b91908260409103126104a6576020825192015190565b6001600160a01b03918216815260208101929092529091166040820152608060608201819052613e3b92910190613d31565b6020818303126104a6578051906001600160401b0382116104a6570181601f820112156104a65780519061433e82613b09565b9261434c6040519485613ae8565b828452602083830101116104a657815f9260208093018386015e8301015290565b9392916143929060409260018060a01b03168652606060208701526060860190613d31565b930152565b6001600160a01b039182168152918116602083015260408201929092529116606082015260a060808201819052613e3b92910190613d31565b335f9081525f516020614b935f395f51905f52602052604090205460ff168015614455575b156143fc57565b60405162461bcd60e51b815260206004820152602b60248201527f5661756c745632416c6c6f6361746f723a2043616c6c6572206973206e6f742060448201526a30b71037b832b930ba37b960a91b6064820152608490fd5b50335f9081525f516020614bd35f395f51905f52602052604090205460ff166143f5565b5f8181526020818152604080832033845290915290205460ff161561449b5750565b63e2517d3f60e01b5f523360045260245260445ffd5b6001600160a01b0381165f9081525f516020614b935f395f51905f52602052604090205460ff16614531576001600160a01b03165f8181525f516020614b935f395f51905f5260205260408120805460ff191660011790553391905f516020614b735f395f51905f52905f516020614b135f395f51905f529080a4600190565b505f90565b6001600160a01b0381165f9081525f516020614bd35f395f51905f52602052604090205460ff16614531576001600160a01b03165f8181525f516020614bd35f395f51905f5260205260408120805460ff191660011790553391905f516020614b135f395f51905f528180a4600190565b5f818152602081815260408083206001600160a01b038616845290915290205460ff16614616575f818152602081815260408083206001600160a01b0395909516808452949091528120805460ff19166001179055339291905f516020614b135f395f51905f529080a4600190565b50505f90565b60405163095ea7b360e01b602082019081526001600160a01b03841660248301526044820194909452919261465483606481016129e9565b82516001600160a01b038316915f91829182855af190614672614a02565b826146d6575b50816146cb575b501561468a57505050565b60405163095ea7b360e01b60208201526001600160a01b0390931660248401525f60448085019190915283526146c992611fc090612175606482613ae8565b565b90503b15155f61467f565b805191925081159182156146ee575b5050905f614678565b6147019250602080918301019101614a31565b5f806146e5565b6001600160a01b0381165f9081525f516020614b935f395f51905f52602052604090205460ff1615614531576001600160a01b03165f8181525f516020614b935f395f51905f5260205260408120805460ff191690553391905f516020614b735f395f51905f52907ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9080a4600190565b5f818152602081815260408083206001600160a01b038616845290915290205460ff1615614616575f818152602081815260408083206001600160a01b0395909516808452949091528120805460ff19169055339291907ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9080a4600190565b335f9081525f516020614bd35f395f51905f52602052604090205460ff161561483e57565b60405162461bcd60e51b815260206004820152602860248201527f5661756c745632416c6c6f6361746f723a2043616c6c6572206973206e6f742060448201526730b71030b236b4b760c11b6064820152608490fd5b6040516338d52e0f60e01b81529495929491936001600160a01b039091169291602081600481875afa90811561390d575f916149e3575b506001600160a01b0382811691160361494057505f604094956149038651978896879586946311e918cb60e01b8652600486016142d9565b03925af1801561390d575f915f9161491f575b5060035d60025d565b905061493a915060403d6040116104e8576104da8183613ae8565b5f614916565b946040516338d52e0f60e01b8152602081600481875afa90811561390d575f916149c4575b506001600160a01b0382811691160361499d57505f604094956149038651978896879586946313a8a0f760e21b8652600486016142d9565b9092945f90614903604096875198899788968795630957e04760e31b875260048701614397565b6149dd915060203d6020116106e1576106d38183613ae8565b5f614965565b6149fc915060203d6020116106e1576106d38183613ae8565b5f6148cb565b3d15614a2c573d90614a1382613b09565b91614a216040519384613ae8565b82523d5f602084013e565b606090565b908160209103126104a6575180151581036104a65790565b5f80614a719260018060a01b03169360208151910182865af1614a6a614a02565b9083614ab4565b8051908115159182614a99575b5050614a875750565b635274afe760e01b5f5260045260245ffd5b614aac9250602080918301019101614a31565b155f80614a7e565b90614ad85750805115614ac957805190602001fd5b630a12f52160e11b5f5260045ffd5b81511580614b09575b614ae9575090565b639996b31560e01b5f9081526001600160a01b0391909116600452602490fd5b50803b15614ae156fe2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d5265636569766564206c657373207468616e206d696e20657870656374656400360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc97667070c54ef182b0f5858b034beac1b6f3089aa2d3188bb1e8929f4fa9b929ee57cd81e84075558e8fcc182a1f4393f91fc97f963a136e66b7f949a62f319ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00ad3228b676f7d3cd4284a5443f17f1962b36e491b30a40b2405849e597ba5fb5a2646970667358221220f9f40c16890681a9fe88125c9bdd981a284c6496d6925f37d09ad8e12953dfa864736f6c634300081c0033f0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00","recompiledBytecode":"0x60a080604052346100c257306080525f516020614cef5f395f51905f525460ff8160401c166100b3576002600160401b03196001600160401b03821601610060575b604051614c2890816100c7823960805181818161232901526123bc0152f35b6001600160401b0319166001600160401b039081175f516020614cef5f395f51905f525581527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d290602090a15f80610041565b63f92ee8a960e01b5f5260045ffd5b5f80fdfe60806040526004361015610011575f80fd5b5f5f3560e01c8062b9a3f61461362857806301ffc9a7146135d1578063050690261461358457806306a1701e146135375780632372dd5f146134e7578063248a9ca3146134b45780632a77511214612df95780632c8c4f5314612b2f5780632f2ff15d14612af15780632f5066dd1461282557806331f57072146125f757806336568abe146125b25780633ea09e2e146125625780634f1ef2861461237d57806352d1902d14612316578063539d7b1514611d9b5780637140904914611bc257806379ffc233146119d6578063802892691461193757806391d14854146118ee57806393512617146118a9578063a217fddf1461188d578063a3d1b21d1461183d578063ad3cb1cc146117f4578063ae09b9c714611496578063bc8e939f14611271578063c4d66de81461112a578063c57e91d714610c6e578063d3fc564914610b5d578063d547741f14610b16578063d8b273f6146107fc578063e6b26a4a146107a8578063f3fa30ef1461027a578063f5b541a6146102525763fbb61d7d1461019a575f80fd5b3461023f57608036600319011261023f57806101b4613a4d565b6101bc613a63565b906044356001600160401b03811161024d576101dc903690600401613b24565b906101e56143d0565b6001600160a01b031691823b1561024d5761021d92849283604051809681958294632590ce8b60e11b8452606435916004850161436d565b03925af180156102425761022e5750f35b8161023891613ae8565b61023f5780f35b80fd5b6040513d84823e3d90fd5b505050fd5b503461023f578060031936011261023f5760206040515f516020614b735f395f51905f528152f35b503461023f5761028936613d55565b9693979495926040519861029c8a613ab9565b868a5260208a019787895260408b019088825260608c01978989526102bf6143d0565b6040516338d52e0f60e01b81526001600160a01b039190911690602081600481855afa90811561079d578b9161077e575b506040516370a0823160e01b81526001600160a01b0393841660048201819052999093909116602084602481845afa938415610666578c94610749575b50926020602494604051958680926370a0823160e01b82528760048301525afa938415610666578c94610715575b508087111561070e5761036e81886142a2565b935b8461053c575b50505050506040519063e4182b0960e01b82526020826004818a5afa9182156105315789926104fa575b50936103c49160409552845195869485946311e918cb60e01b8652600486016142d9565b038187865af180156104ef5791602091600493869187916104be575b508752885260405163e4182b0960e01b815292839182905afa9283156104b2579261047a575b505251106104225761041e9060405191829182613bad565b0390f35b60405162461bcd60e51b815260206004820152603f60248201527f5661756c745632416c6c6f6361746f722e616c6c6f63617465546f6b656e3a2060448201525f516020614b335f395f51905f526064820152608490fd5b9091506020813d6020116104aa575b8161049660209383613ae8565b810103126104a65751905f610406565b5f80fd5b3d9150610489565b604051903d90823e3d90fd5b90506104e2915060403d6040116104e8575b6104da8183613ae8565b8101906142c3565b5f6103e0565b503d6104d0565b6040513d86823e3d90fd5b9150936020823d602011610529575b8161051660209383613ae8565b810103126104a6579051909360406103a0565b3d9150610509565b6040513d8b823e3d90fd5b81018091116106fa57808711156106f35761055790876142a2565b60405163ad468d1160e01b8152602081600481875afa9081156106e8578d916106b9575b50811515806106a7575b6105ee575b5050813b156105ea57918a916105b79383604051809681958294635c9ce04d60e01b845260048401613e3e565b03925af18015610531579089916105d1575b808080610376565b816105db91613ae8565b6105e657875f6105c9565b8780fd5b8a80fd5b6040516305c0524560e31b8152908d82600481885afa91821561069a578e8093610675575b5050843b1561067157908d9161063d6040519485938493632590ce8b60e11b85526004850161436d565b038183875af1801561066657908c911561058a578161065b91613ae8565b6105ea578a5f61058a565b6040513d8e823e3d90fd5b8d80fd5b6106929293503d8091833e61068a8183613ae8565b81019061430b565b905f8e610613565b8e604051903d90823e3d90fd5b506001600160a01b0381161515610585565b6106db915060203d6020116106e1575b6106d38183613ae8565b810190614283565b5f61057b565b503d6106c9565b6040513d8f823e3d90fd5b508a610557565b634e487b7160e01b8c52601160045260248cfd5b8b93610370565b9093506020813d602011610741575b8161073160209383613ae8565b810103126104a65751925f61035b565b3d9150610724565b93506020843d602011610776575b8161076460209383613ae8565b810103126104a657925192602061032d565b3d9150610757565b610797915060203d6020116106e1576106d38183613ae8565b5f6102f0565b6040513d8d823e3d90fd5b503461023f57806107b836613c26565b936107c49291926143d0565b6001600160a01b031690813b156107f85785809461021d6040519788968795869463848802f360e01b865260048601613e63565b8580fd5b503461023f5761012036600319011261023f57610817613a4d565b61081f613a63565b610827613a8d565b836064356001600160401b038111610b1257610847903690600401613c93565b929094610852613aa3565b9360a4356001600160401b038111610b0e57610872903690600401613c93565b61087a613b6a565b60e435979092906001600160a01b03891689036105e6576040519a6004958960608e6108a581613ab9565b82815282602082015282604082015201526108be6143d0565b895c6001600160a01b0319166001600160a01b038916178a5d6001805c6001600160a01b0319166001600160a01b038e1617905d60208c6040519889809263e4182b0960e01b825260018060a01b03165afa8015610b03578c978b91610abc575b506109bd979694926109af9694926109749260045d6040519b8c99636c5939fb60e11b60208c015260018060a01b031660408b015260018060a01b031660608a015261012060808a0152610140890191613ea0565b6001600160a01b0394851660a08801528b851660c08801526101043560e08801529316610100860152848303601f1901610120860152613ea0565b03601f198101845283613ae8565b6001600160a01b0381163b15610ab85760405163701195a160e11b81529384928391859183916109ff919061010435906001600160a01b031660048501613e17565b03926001600160a01b03165af180156104ef57610aa3575b5091602060049360025c845260035c82850152845c60408501526040519485809263e4182b0960e01b825260018060a01b03165afa9081156104b25790610a6f575b61041e9250606082015260405191829182613bad565b506020823d602011610a9b575b81610a8960209383613ae8565b810103126104a65761041e9151610a59565b3d9150610a7c565b610aae848092613ae8565b610ab8575f610a17565b8280fd5b9750509391985093916020863d602011610afb575b81610ade60209383613ae8565b810103126104a65794518c988b96939592949092916109bd61091f565b3d9150610ad1565b6040513d8c823e3d90fd5b8480fd5b5080fd5b503461023f57604036600319011261023f57610b59600435610b36613a63565b90610b54610b4f825f525f602052600160405f20015490565b614479565b614799565b5080f35b503461023f5760c036600319011261023f5780610b78613a4d565b610b80613a63565b6044356001600160401b03811161024d57610b9f903690600401613b24565b91610ba8613b97565b916084356001600160401b0381116107f857610bc8903690600401613b24565b9360a43592610bd56143d0565b6001600160a01b031691823b15610c6a57604051632590ce8b60e11b815291879183918291610c099188916004850161436d565b038183865af1908115610c5f578691610c4a575b5050803b15610b0e5761021d9385809460405196879586948593635c9ce04d60e01b85526004850161436d565b81610c5491613ae8565b610b0e57845f610c1d565b6040513d88823e3d90fd5b8680fd5b503461023f576101c036600319011261023f57610c89613a4d565b610c91613a63565b9082610c9b613a8d565b6064356001600160401b038111610ab857610cba903690600401613b24565b92610cc3613aa3565b9360a4356001600160401b038111610b0e57610ce3903690600401613b24565b90610cec613b6a565b610cf4613b80565b61014435976001600160a01b03891689036105e65761018435916001600160a01b0383168303611126576101a4356001600160401b038111611122576004968c93610d438c9336908b01613b24565b97836060604051610d5381613ab9565b8281528260208201528260408201520152610d6c6143d0565b610124359560e4359460209190805c6001600160a01b0319166001600160a01b038f1617905d6001805c6001600160a01b0319166001600160a01b03831617905d60405163e4182b0960e01b81529b8c9182906001600160a01b03165afa80156106e8578f9a8e916110e9575b5060045d610124355f1914611068575b60e4355f1914610fe7575b6040805163c57e91d760e01b60208201526001600160a01b039b8c16918101919091529b90991660608c01526101c060808c01528a98610e39906101e08b0190613d31565b6001600160a01b0390911660a08a0152888103601f190160c08a0152610e5e91613d31565b6001600160a01b0395861660e08901526101008801919091529084166101208701526101408601919091528883166101608601526101643561018086015291166101a0840152828103601f19016101c0840152610eba91613d31565b03601f1981018352610ecc9083613ae8565b6001600160a01b0381163b15610ab85760405163701195a160e11b8152938492839185918391610f0e919061016435906001600160a01b031660048501613e17565b03926001600160a01b03165af18015610fdc57610fc7575b5060405163e4182b0960e01b81529160025c916004805c9160035c9160209187919082906001600160a01b03165afa9283156104b25792610f91575b61041e945060405193610f7485613ab9565b845260208401526040830152606082015260405191829182613bad565b91506020843d602011610fbf575b81610fac60209383613ae8565b810103126104a65761041e935191610f62565b3d9150610f9f565b610fd2838092613ae8565b610b12575f610f26565b6040513d85823e3d90fd5b60405163075300a160e01b8152995092506020898c818061100c8c8960048401613def565b03916001600160a01b03165afa8015610666578e998d9161102f575b5092610df4565b9950509a506020883d602011611060575b8161104d60209383613ae8565b810103126104a6578d9a8d98515f611028565b3d9150611040565b604051630b78039760e31b8152995094506020898c818061108d898b60048401613def565b03916001600160a01b03165afa8015610666578e998d916110b0575b5094610de9565b9950509a506020883d6020116110e1575b816110ce60209383613ae8565b810103126104a6578d9a8d98515f6110a9565b3d91506110c1565b9a50509b506020893d60201161111a575b8161110760209383613ae8565b810103126104a6578e9b8e99515f610dd9565b3d91506110fa565b8980fd5b8880fd5b503461023f57602036600319011261023f57611144613a4d565b5f516020614bb35f395f51905f52549060ff8260401c1615916001600160401b03811680159081611269575b600114908161125f575b159081611256575b506112475767ffffffffffffffff1981166001175f516020614bb35f395f51905f52556111c091908361121b575b506111ba81614536565b506144b1565b506111c85780f35b60ff60401b195f516020614bb35f395f51905f5254165f516020614bb35f395f51905f52557fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2602060405160018152a180f35b68ffffffffffffffffff191668010000000000000001175f516020614bb35f395f51905f52555f6111b0565b63f92ee8a960e01b8452600484fd5b9050155f611182565b303b15915061117a565b849150611170565b503461023f5760e036600319011261023f5761128b613a4d565b90611294613a63565b9061129d613a8d565b926112a6613aa3565b9360a4356001600160401b038111611492576112c6903690600401613b24565b94604051956112d487613ab9565b8487526020870195858752604088019386855260608901958787526112f76143d0565b60405163e4182b0960e01b81526001600160a01b0391909116956020826004818a5afa91821561053157899261145b575b5093611350916040955284519586948594630957e04760e31b86526064359160048701614397565b038187865af180156104ef57916020916004938691879161143a575b508752875260405163e4182b0960e01b815292839182905afa9283156104b25792611406575b505260c4359051106113ae5761041e9060405191829182613bad565b60405162461bcd60e51b815260206004820152603f60248201527f5661756c745632416c6c6f6361746f722e7265616c6c6f63617465426f783a2060448201525f516020614b335f395f51905f526064820152608490fd5b9091506020813d602011611432575b8161142260209383613ae8565b810103126104a65751905f611392565b3d9150611415565b9050611455915060403d6040116104e8576104da8183613ae8565b5f61136c565b9150936020823d60201161148a575b8161147760209383613ae8565b810103126104a657905190936040611328565b3d915061146a565b8380fd5b503461023f576114a536613d55565b9294909693604051976114b789613ab9565b89895260208901968a885260408a01928b84528b60608c01958187526114db6143d0565b60405163e4182b0960e01b81526001600160a01b039190911695906020816004818a5afa9283156104b257926117bd575b50936115309160409552845197889485946313a8a0f760e21b8652600486016142d9565b03818c855af1908115610531576004936020928b918c9161179c575b508852895260405163e4182b0960e01b815293849182905afa91821561179157889261175d575b50528251106116e85781516001600160a01b0390911692859190843b15610ab857604051632590ce8b60e11b8152918391839182916115b6919060048401613e3e565b038183885af18015610242576116d3575b505060405163ad468d1160e01b815291602083600481845afa9283156116c85785936116a7575b506001600160a01b03831661160c575b6040518061041e8682613bad565b6040516305c0524560e31b815285929091908383600481855afa9283156104ef57849361168b575b505191813b1561149257836116609560405196879586948593635c9ce04d60e01b85526004850161436d565b03925af18015610fdc57611676575b80806115fe565b611681838092613ae8565b610b12578161166f565b6116a09193503d8086833e61068a8183613ae8565b915f611634565b6116c191935060203d6020116106e1576106d38183613ae8565b915f6115ee565b6040513d87823e3d90fd5b816116dd91613ae8565b61149257835f6115c7565b60405162461bcd60e51b815260206004820152604160248201527f5661756c745632416c6c6f6361746f722e6465616c6c6f63617465546f6b656e60448201527f3a205265636569766564206c657373207468616e206d696e20657870656374656064820152601960fa1b608482015260a490fd5b9091506020813d602011611789575b8161177960209383613ae8565b810103126104a65751905f611573565b3d915061176c565b6040513d8a823e3d90fd5b90506117b7915060403d6040116104e8576104da8183613ae8565b5f61154c565b9150936020823d6020116117ec575b816117d960209383613ae8565b810103126104a65790519093604061150c565b3d91506117cc565b503461023f578060031936011261023f575061041e604051611817604082613ae8565b60058152640352e302e360dc1b6020820152604051918291602083526020830190613d31565b503461023f578061184d36613c26565b936118599291926143d0565b6001600160a01b031690813b156107f85785809461021d6040519788968795869463f5cc819560e01b865260048601613e63565b503461023f578060031936011261023f57602090604051908152f35b503461023f57604036600319011261023f576118c3613a4d565b6024358015158103610ab8576118d7614819565b156118e557610b59906144b1565b610b5990614708565b503461023f57604036600319011261023f57604061190a613a63565b91600435815280602052209060018060a01b03165f52602052602060ff60405f2054166040519015158152f35b503461023f57604036600319011261023f57611951613a4d565b9060206001600160a01b03611964613a63565b6040516370a0823160e01b81526001600160a01b03909516600486015284916024918391165afa9081156104b257906119a3575b602090604051908152f35b506020813d6020116119ce575b816119bd60209383613ae8565b810103126104a65760209051611998565b3d91506119b0565b503461023f576119e536613cc0565b94916040969394919651966119f988613ab9565b8488526020880195858752604089019386855260608a0195878752611a1c6143d0565b60405163e4182b0960e01b81526001600160a01b0391909116956020826004818a5afa918215610531578992611b8b575b5093611a719160409552845195869485946311e918cb60e01b8652600486016142d9565b038187865af180156104ef579160209160049386918791611b6a575b508752885260405163e4182b0960e01b815292839182905afa9283156104b25792611b36575b50525110611acb5761041e9060405191829182613bad565b60405162461bcd60e51b815260206004820152603d60248201527f5661756c745632416c6c6f6361746f722e616c6c6f63617465426f783a20526560448201527f636569766564206c657373207468616e206d696e2065787065637465640000006064820152608490fd5b9091506020813d602011611b62575b81611b5260209383613ae8565b810103126104a65751905f611ab3565b3d9150611b45565b9050611b85915060403d6040116104e8576104da8183613ae8565b5f611a8d565b9150936020823d602011611bba575b81611ba760209383613ae8565b810103126104a657905190936040611a4d565b3d9150611b9a565b503461023f57611bd136613cc0565b9491604096939491965196611be588613ab9565b8488526020880195858752604089019386855260608a0195878752611c086143d0565b60405163e4182b0960e01b81526001600160a01b0391909116956020826004818a5afa918215610531578992611d64575b5093611c5d9160409552845195869485946313a8a0f760e21b8652600486016142d9565b038187865af180156104ef579160209160049386918791611d43575b508752885260405163e4182b0960e01b815292839182905afa9283156104b25792611d0f575b50525110611cb75761041e9060405191829182613bad565b60405162461bcd60e51b815260206004820152603f60248201527f5661756c745632416c6c6f6361746f722e6465616c6c6f63617465426f783a2060448201525f516020614b335f395f51905f526064820152608490fd5b9091506020813d602011611d3b575b81611d2b60209383613ae8565b810103126104a65751905f611c9f565b3d9150611d1e565b9050611d5e915060403d6040116104e8576104da8183613ae8565b5f611c79565b9150936020823d602011611d93575b81611d8060209383613ae8565b810103126104a657905190936040611c39565b3d9150611d73565b503461023f5760c036600319011261023f57611db5613a4d565b90611dbe613a63565b91611dc7613a8d565b92611dd0613b97565b926084356001600160401b038111610b1257611df0903690600401613b24565b9160405194611dfe86613ab9565b8286526020860194838652836040880152836060880152611e1d6143d0565b6040516338d52e0f60e01b81526001600160a01b03919091169490602081600481895afa9081156116c85785916122f7575b506040516370a0823160e01b81523060048201526001600160a01b03918216999094918116929091602086602481875afa9081156122ec5787916122b7575b6040516370a0823160e01b815230600482015296506020876024818f5afa968715611791578897612283575b506001600160a01b0316803b156105e65787809160246040518094819363bc25cf7760e01b83528a60048401525af180156117915790889161226e575b50506040516370a0823160e01b815230600482015290602082602481885afa801561179157889061223a575b611f2d92506142a2565b9384156121d5578a840361207e575b5050505050604051916370a0823160e01b83523060048401526020836024818a5afa9081156104b2579061204a575b611f7592506142a2565b80835280845260a43511611fd157905160405163a9059cbb60e01b60208201526001600160a01b039092166024830152604482015261041e92611fc59190611fc082606481016109af565b614a49565b60405191829182613bad565b60405162461bcd60e51b815260206004820152604560248201527f5661756c745632416c6c6f6361746f722e7265696e76657374536b696d41646160448201527f707465723a205265636569766564206c657373207468616e206d696e206578706064820152641958dd195960da1b608482015260a490fd5b506020823d602011612076575b8161206460209383613ae8565b810103126104a657611f759151611f6b565b3d9150612057565b6001600160a01b03169361209381868561461c565b843b15610c6a5786908b6120d360405194859384936316dbcdbf60e21b855289600486015260248501526044840152608060648401526084830190613d31565b038183885af18015610c5f579086916121c0575b50506040519185806020850163095ea7b360e01b815286602487015281604487015260448652612118606487613ae8565b85519082855af190612128614a02565b8261218e575b5081612183575b5015612143575b8080611f3c565b611fc061217b936040519063095ea7b360e01b6020830152602482015286604482015260448152612175606482613ae8565b82614a49565b5f808061213c565b90503b15155f612135565b805191925081159182156121a6575b5050905f61212e565b6121b99250602080918301019101614a31565b5f8061219d565b816121ca91613ae8565b610b0e57845f6120e7565b60405162461bcd60e51b815260206004820152603760248201527f5661756c745632416c6c6f6361746f722e7265696e76657374536b696d4164616044820152761c1d195c8e88139bc81d1bdad95b9cc81cdada5b5b5959604a1b6064820152608490fd5b506020823d602011612266575b8161225460209383613ae8565b810103126104a657611f2d9151611f23565b3d9150612247565b8161227891613ae8565b610c6a57865f611ef7565b9096506020813d6020116122af575b8161229f60209383613ae8565b810103126104a65751955f611eba565b3d9150612292565b90506020863d6020116122e4575b816122d260209383613ae8565b810103126104a6576024955190611e8e565b3d91506122c5565b6040513d89823e3d90fd5b612310915060203d6020116106e1576106d38183613ae8565b5f611e4f565b503461023f578060031936011261023f577f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316300361236e5760206040515f516020614b535f395f51905f528152f35b63703e46dd60e11b8152600490fd5b50604036600319011261023f57612392613a4d565b906024356001600160401b038111610b12576123b2903690600401613b24565b6001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016308114908115612540575b50612531576123f4614819565b6040516352d1902d60e01b8152926001600160a01b0381169190602085600481865afa809585966124fd575b5061243957634c9c8ce360e01b84526004839052602484fd5b9091845f516020614b535f395f51905f5281036124eb5750813b156124d9575f516020614b535f395f51905f5280546001600160a01b031916821790557fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b8480a281518390156124bf5780836020610b5995519101845af46124b9614a02565b91614ab4565b505050346124ca5780f35b63b398979f60e01b8152600490fd5b634c9c8ce360e01b8452600452602483fd5b632a87526960e21b8552600452602484fd5b9095506020813d602011612529575b8161251960209383613ae8565b81010312610b0e5751945f612420565b3d915061250c565b63703e46dd60e11b8252600482fd5b5f516020614b535f395f51905f52546001600160a01b0316141590505f6123e7565b503461023f578061257236613c26565b9361257e9291926143d0565b6001600160a01b031690813b156107f85785809461021d6040519788968795869463adb04a3d60e01b865260048601613e63565b503461023f57604036600319011261023f576125cc613a63565b336001600160a01b038216036125e857610b5990600435614799565b63334bd91960e11b8252600482fd5b503461023f57604036600319011261023f576004356024356001600160401b038111610ab85761262b903690600401613c93565b9190835c6001600160a01b03163303612816578083859201602082820312610ab85761265682613bd7565b6001600160e01b031916636c5939fb60e11b8103612718575061267990826141e8565b50919a965050505050505b6001600160a01b03169161269985848861461c565b823b1561149257604051631ee81e6560e31b81526001600160a01b0387166004820152602481018690526060604482015292849284928391859183916126e491606484019190613ea0565b03925af1801561024257612703575b505061270091339061461c565b80f35b8161270d91613ae8565b610ab857825f6126f3565b632f5066dd60e01b810361274157506127319082614146565b50919b9750505050505050612684565b632c8c4f5360e01b8103612769575061275a90826140a0565b509b9750505050505050612684565b625cd1fb60e11b810361279557506127819082613fc1565b505050979c98505050505050505094612684565b90925063c57e91d760e01b036127c5576127b0859282613ed9565b505050989d9950505050505050505094612684565b60405162461bcd60e51b815260206004820152602360248201527f5661756c745632416c6c6f6361746f723a20496e76616c6964206f706572617460448201526234b7b760e91b6064820152608490fd5b637e5f4b6160e01b8452600484fd5b503461023f5761014036600319011261023f57612840613a4d565b612848613a63565b612850613a8d565b836064356001600160401b038111610b1257612870903690600401613c93565b92909461287b613aa3565b9560a4356001600160401b038111610b0e5760609761289f60049236908401613c93565b906128a8613b6a565b926128b1613b80565b95896040519d8e6128c181613ab9565b82815282602082015282604082015201526128da6143d0565b61012435968a5c6001600160a01b0319166001600160a01b038a16178b5d6001805c6001600160a01b0319166001600160a01b038f1617905d60208d6040519889809263e4182b0960e01b825260018060a01b03165afa801561079d578d978c91612ab8575b5060045d610124355f1914612a29575b60408051632f5066dd60e01b60208201526001600160a01b039889169181019190915299871660608b015261014060808b0152909516996129f79589956129e99590949093909290916129a891610160890191613ea0565b6001600160a01b0394851660a088015260e43560c088015260e087018d905261010087018990529316610120860152848303601f1901610140860152613ea0565b03601f198101855284613ae8565b6001600160a01b0382163b1561149257836109ff956040519687958694859363701195a160e11b855260048501613e17565b604051630b78039760e31b8152909750955060208680612a4e8a8f8660048501613ec0565b03816001600160a01b038d165afa8015610b03578c968b91612a72575b5096612950565b95939a5050929094506020843d602011612ab0575b81612a9460209383613ae8565b810103126104a65792518c988b959294939092916129a8612a6b565b3d9150612a87565b97505099506020863d602011612ae9575b81612ad660209383613ae8565b810103126104a6578d998c96515f612940565b3d9150612ac9565b503461023f57604036600319011261023f57610b59600435612b11613a63565b90612b2a610b4f825f525f602052600160405f20015490565b6145a7565b503461023f5761014036600319011261023f5780612b4b613a4d565b612b53613a63565b90612b5c613a8d565b6064356001600160401b038111610b0e57612b7b903690600401613c93565b9290612b85613aa3565b60a435926001600160401b0384116105e657612ba688943690600401613c93565b612bb1939193613b6a565b9360e43595612bbe613b80565b6101243597612bcb6143d0565b979b6001600160a01b03909616988c98968791805c6001600160a01b0319168c17905d6001600160a01b0316986001805c6001600160a01b0319168b17905d5f1914612d7b575b5f1914612cec575b91612c6c612c8d9492612cc1999897969460018060a01b03169c6040519c8d9a632c8c4f5360e01b60208d015260408c015260018060a01b031660608b015261014060808b01526101608a0191613ea0565b6001600160a01b0390931660a0880152868303601f190160c0880152613ea0565b6001600160a01b0390921660e08401526101008301526101208201869052610140820187905203601f198101845283613ae8565b803b15610b0e5761021d938580946040519687958694859363701195a160e11b855260048501613e17565b60405163075300a160e01b815290955060208180612d0f8a8f8760048501613ec0565b03816001600160a01b038e165afa9081156106e8578d91612d32575b5094612c1a565b97969594929c5050916020873d602011612d73575b81612d5460209383613ae8565b810103126104a65795518c9b9596949593949193919290612c6c612d2b565b3d9150612d47565b9b50612da26020828c8e604051809581948293630b78039760e31b84528a60048501613ec0565b03916001600160a01b03165afa90811561069a578e91612dc4575b509b612c12565b9d505060208d3d602011612df1575b81612de060209383613ae8565b810103126104a6578d9c515f612dbd565b3d9150612dd3565b503461023f57606036600319011261023f57612e13613a4d565b506044356001600160401b038111610b1257612e33903690600401613c93565b60015c6001600160a01b031633036134a55782908201602083820312610b12576001600160e01b0319612e6584613bd7565b1692636c5939fb60e11b840361301157612e809293506141e8565b6040516370a0823160e01b81523360048201529398509196509394936001600160a01b0384169190602084602481865afa938415610b03578a94612fd2575b5091612ed388868b60209560249733614894565b6040516370a0823160e01b815233600482015292839182905afa908115611791578891612f99575b5090612f06916142a2565b90333b15610c6a5760405163848802f360e01b815291879183918291612f329190888860048601613e63565b038183335af1908115610c5f578691612f84575b5050333b15610b0e57612f6f8593604051958694859463f5cc819560e01b865260048601613e63565b038183335af180156102425761022e57505080f35b81612f8e91613ae8565b610b0e57845f612f46565b919750506020813d602011612fca575b81612fb660209383613ae8565b810103126104a65751879690612f06612efb565b3d9150612fa9565b9192995092506020813d602011613009575b81612ff160209383613ae8565b810103126104a6575189989092909190612ed3612ebf565b3d9150612fe4565b632f5066dd60e01b84036130e45761302a929350614146565b95939850989395919650333b15611492578361305d916040518093819263adb04a3d60e01b83528b888860048601613e63565b038183335af19081156104ef5784916130cf575b5050333b15610ab8578491839161309d8960405195869485946310dc411b60e11b865260048601613e63565b038183335af18015610242576130ba575b50506127009433614894565b816130c491613ae8565b6107f857855f6130ae565b816130d991613ae8565b610ab857825f613071565b632c8c4f5360e01b84036131d8576130fd9293506140a0565b975097509293909194333b156111265760405163adb04a3d60e01b815289818061312d8b8d888860048601613e63565b038183335af1908115610b03578a916131c3575b5050333b15611126578291899161316d8660405195869485946310dc411b60e11b865260048601613e63565b038183335af19081156117915788916131ae575b5050333b15610c6a5760405163848802f360e01b815291879183918291612f329190888860048601613e63565b816131b891613ae8565b610c6a57865f613181565b816131cd91613ae8565b61112657885f613141565b625cd1fb60e11b8403613336576131f0929350613fc1565b95939798929b509598909950333b1561331d576132268c8b8d604051938492839263adb04a3d60e01b8452888860048601613e63565b038183335af19081156106e8578d91613321575b5050333b1561331d5782918c916132668660405195869485946310dc411b60e11b865260048601613e63565b038183335af190811561079d578b91613308575b50506040516370a0823160e01b8152336004820152936001600160a01b0386169390602086602481885afa958615610666578c966132c7575b50928660249593612ed39360209633614894565b9492939b5094506020843d602011613300575b816132e760209383613ae8565b810103126104a65792518b9a90949193909291866132b3565b3d91506132da565b8161331291613ae8565b61112257895f61327a565b8b80fd5b8161332b91613ae8565b61331d578b5f61323a565b909290915063c57e91d760e01b036127c557829161335391613ed9565b6040516370a0823160e01b8152336004820152939d50919b5096999798949795969495946001600160a01b0385169190602084602481865afa938415613498578f94613459575b50916133af8d8f889060209560249733614894565b6040516370a0823160e01b815233600482015292839182905afa9081156106e8578d91613420575b50906133e2916142a2565b818111156134185750905b333b156105ea5760405163adb04a3d60e01b8152918b918391829161312d9190888860048601613e63565b9050906133ed565b919c50506020813d602011613451575b8161343d60209383613ae8565b810103126104a657518c9b906133e26133d7565b3d9150613430565b929e5092506020823d602011613490575b8161347760209383613ae8565b810103126104a65790518e9d90929091906133af61339a565b3d915061346a565b8f604051903d90823e3d90fd5b63e4705dc760e01b8352600483fd5b503461023f57602036600319011261023f5760206134df6004355f525f602052600160405f20015490565b604051908152f35b503461023f57806134f736613c26565b936135039291926143d0565b6001600160a01b031690813b156107f85785809461021d604051978896879586946310dc411b60e11b865260048601613e63565b503461023f578061354736613bec565b916135506143d0565b6001600160a01b031691823b1561024d5761021d92849283604051809681958294632590ce8b60e11b845260048401613e3e565b503461023f578061359436613bec565b9161359d6143d0565b6001600160a01b031691823b1561024d5761021d92849283604051809681958294635c9ce04d60e01b845260048401613e3e565b503461023f57602036600319011261023f5760043563ffffffff60e01b8116809103610b1257602090637965db0b60e01b8114908115613617575b506040519015158152f35b6301ffc9a760e01b1490508261360c565b50346104a6576101a03660031901126104a657613643613a4d565b61364b613a63565b613653613a8d565b926064356001600160401b0381116104a657613673903690600401613b24565b9261367c613aa3565b9460a4356001600160401b0381116104a65761369c903690600401613b24565b936136a5613b6a565b9660e435976136b2613b80565b610124356001600160a01b03811696909391908785036104a6576101443599610164356001600160a01b03811694908590036104a657610184359c6001600160401b038e116104a6578e9d61370b903690600401613b24565b9760405161371881613ab9565b5f8152602081015f9052604081015f90526060015f90526137376143d0565b9c9d8e9d6001600160a01b03909516999094905f805c6001600160a01b0319168c17905d6001600160a01b03169d8e6001805c6001600160a01b0319168217905d60405180809263e4182b0960e01b82525a92600491602094fa90811561390d575f91613a1b575b5060045d5f1914613994575b508c9d9e5f9d999a9b9c9d1914613918575b6040519a8b99625cd1fb60e11b60208c015260408b0152600160a01b600190031660608a0152608089016101a090526101c089016137fa91613d31565b6001600160a01b0390911660a0890152878103601f190160c089015261381f91613d31565b6001600160a01b0394851660e08801526101008701919091529216610120850152610140840187905261016084018a9052610180840152828103601f19016101a084015261386c91613d31565b03601f198101835261387e9083613ae8565b803b156104a6576138a9955f80946040519889958694859363701195a160e11b855260048501613e17565b03925af192831561390d576004936138fa575b5060025c9160035c6020855c926040519687809263e4182b0960e01b82525afa9283156104b25792610f915761041e945060405193610f7485613ab9565b61390691505f90613ae8565b5f5f6138bc565b6040513d5f823e3d90fd5b60405163075300a160e01b8152985092506020888061393b898760048401613def565b03816001600160a01b038e165afa801561390d578d985f9161395f575b50926137bd565b9850506020883d60201161398c575b8161397b60209383613ae8565b810103126104a6578c97515f613958565b3d915061396e565b8a9b9c9d9e506020906139be9a9b60405180809d8194630b78039760e31b83528760048401613def565b03916001600160a01b03165afa801561390d578e995f916139e6575b509d9c9b9a99986137ab565b9950506020893d602011613a13575b81613a0260209383613ae8565b810103126104a6578d98515f6139da565b3d91506139f5565b90506020813d602011613a45575b81613a3660209383613ae8565b810103126104a657515f61379f565b3d9150613a29565b600435906001600160a01b03821682036104a657565b602435906001600160a01b03821682036104a657565b35906001600160a01b03821682036104a657565b604435906001600160a01b03821682036104a657565b608435906001600160a01b03821682036104a657565b608081019081106001600160401b03821117613ad457604052565b634e487b7160e01b5f52604160045260245ffd5b90601f801991011681019081106001600160401b03821117613ad457604052565b6001600160401b038111613ad457601f01601f191660200190565b81601f820112156104a657803590613b3b82613b09565b92613b496040519485613ae8565b828452602083830101116104a657815f926020809301838601378301015290565b60c435906001600160a01b03821682036104a657565b61010435906001600160a01b03821682036104a657565b606435906001600160a01b03821682036104a657565b91909160608060808301948051845260208101516020850152604081015160408501520151910152565b35906001600160e01b0319821682036104a657565b60609060031901126104a6576004356001600160a01b03811681036104a657906024356001600160a01b03811681036104a6579060443590565b60a06003198201126104a6576004356001600160a01b03811681036104a657916024356001600160a01b03811681036104a65791604435906001600160401b0382116104a657613c7891600401613b24565b906064356001600160a01b03811681036104a6579060843590565b9181601f840112156104a6578235916001600160401b0383116104a657602083818601950101116104a657565b60c06003198201126104a6576004356001600160a01b03811681036104a657916024356001600160a01b03811681036104a65791604435916064356001600160a01b03811681036104a65791608435906001600160401b0382116104a657613d2a91600401613b24565b9060a43590565b805180835260209291819084018484015e5f828201840152601f01601f1916010190565b6101006003198201126104a6576004356001600160a01b03811681036104a657916024356001600160a01b03811681036104a657916044356001600160a01b03811681036104a657916064356001600160a01b03811681036104a657916084359160a4356001600160a01b03811681036104a6579160c435906001600160401b0382116104a657613de891600401613b24565b9060e43590565b90613e07602091949394604084526040840190613d31565b6001600160a01b03909416910152565b613e3b939260609260018060a01b0316825260208201528160408201520190613d31565b90565b92919060018060a01b03168352606060208401525f6060840152604060808401930152565b6001600160a01b03909116815260806020820181905292949392606092613e8c91830190613d31565b6001600160a01b0390951660408201520152565b908060209392818452848401375f828201840152601f01601f1916010190565b91602091613e0791959495604085526040850191613ea0565b9190916101c0818403126104a657613ef081613bd7565b92613efd60208301613a79565b92613f0a60408401613a79565b9260608101356001600160401b0381116104a65783613f2a918301613b24565b92613f3760808301613a79565b9260a08301356001600160401b0381116104a65782613f57918501613b24565b92613f6460c08201613a79565b9260e082013592613f786101008401613a79565b9261012081013592613f8d6101408301613a79565b9261016083013592613fa26101808201613a79565b926101a08201356001600160401b0381116104a657613e3b9201613b24565b906101a0828203126104a657613fd682613bd7565b92613fe360208401613a79565b92613ff060408201613a79565b9260608201356001600160401b0381116104a65781614010918401613b24565b9261401d60808401613a79565b9260a08101356001600160401b0381116104a6578361403d918301613b24565b9261404a60c08301613a79565b9260e08301359261405e6101008201613a79565b9261406c6101208301613a79565b92610140830135926140816101608201613a79565b926101808201356001600160401b0381116104a657613e3b9201613b24565b91610140838303126104a6576140b583613bd7565b926140c260208201613a79565b926140cf60408301613a79565b9260608301356001600160401b0381116104a657826140ef918501613b24565b926140fc60808201613a79565b9260a0820135906001600160401b0382116104a65761411c918301613b24565b9161412960c08301613a79565b9160e0810135916101206141406101008401613a79565b92013590565b90610140828203126104a65761415b82613bd7565b9261416860208401613a79565b9261417560408201613a79565b9260608201356001600160401b0381116104a65781614195918401613b24565b926141a260808401613a79565b9260a0810135926141b560c08301613a79565b9260e0830135926141c96101008201613a79565b926101208201356001600160401b0381116104a657613e3b9201613b24565b91610120838303126104a6576141fd83613bd7565b9261420a60208201613a79565b9261421760408301613a79565b9260608301356001600160401b0381116104a65782614237918501613b24565b9261424460808201613a79565b9261425160a08301613a79565b9260c08301359261426460e08201613a79565b926101008201356001600160401b0381116104a657613e3b9201613b24565b908160209103126104a657516001600160a01b03811681036104a65790565b919082039182116142af57565b634e487b7160e01b5f52601160045260245ffd5b91908260409103126104a6576020825192015190565b6001600160a01b03918216815260208101929092529091166040820152608060608201819052613e3b92910190613d31565b6020818303126104a6578051906001600160401b0382116104a6570181601f820112156104a65780519061433e82613b09565b9261434c6040519485613ae8565b828452602083830101116104a657815f9260208093018386015e8301015290565b9392916143929060409260018060a01b03168652606060208701526060860190613d31565b930152565b6001600160a01b039182168152918116602083015260408201929092529116606082015260a060808201819052613e3b92910190613d31565b335f9081525f516020614b935f395f51905f52602052604090205460ff168015614455575b156143fc57565b60405162461bcd60e51b815260206004820152602b60248201527f5661756c745632416c6c6f6361746f723a2043616c6c6572206973206e6f742060448201526a30b71037b832b930ba37b960a91b6064820152608490fd5b50335f9081525f516020614bd35f395f51905f52602052604090205460ff166143f5565b5f8181526020818152604080832033845290915290205460ff161561449b5750565b63e2517d3f60e01b5f523360045260245260445ffd5b6001600160a01b0381165f9081525f516020614b935f395f51905f52602052604090205460ff16614531576001600160a01b03165f8181525f516020614b935f395f51905f5260205260408120805460ff191660011790553391905f516020614b735f395f51905f52905f516020614b135f395f51905f529080a4600190565b505f90565b6001600160a01b0381165f9081525f516020614bd35f395f51905f52602052604090205460ff16614531576001600160a01b03165f8181525f516020614bd35f395f51905f5260205260408120805460ff191660011790553391905f516020614b135f395f51905f528180a4600190565b5f818152602081815260408083206001600160a01b038616845290915290205460ff16614616575f818152602081815260408083206001600160a01b0395909516808452949091528120805460ff19166001179055339291905f516020614b135f395f51905f529080a4600190565b50505f90565b60405163095ea7b360e01b602082019081526001600160a01b03841660248301526044820194909452919261465483606481016129e9565b82516001600160a01b038316915f91829182855af190614672614a02565b826146d6575b50816146cb575b501561468a57505050565b60405163095ea7b360e01b60208201526001600160a01b0390931660248401525f60448085019190915283526146c992611fc090612175606482613ae8565b565b90503b15155f61467f565b805191925081159182156146ee575b5050905f614678565b6147019250602080918301019101614a31565b5f806146e5565b6001600160a01b0381165f9081525f516020614b935f395f51905f52602052604090205460ff1615614531576001600160a01b03165f8181525f516020614b935f395f51905f5260205260408120805460ff191690553391905f516020614b735f395f51905f52907ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9080a4600190565b5f818152602081815260408083206001600160a01b038616845290915290205460ff1615614616575f818152602081815260408083206001600160a01b0395909516808452949091528120805460ff19169055339291907ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9080a4600190565b335f9081525f516020614bd35f395f51905f52602052604090205460ff161561483e57565b60405162461bcd60e51b815260206004820152602860248201527f5661756c745632416c6c6f6361746f723a2043616c6c6572206973206e6f742060448201526730b71030b236b4b760c11b6064820152608490fd5b6040516338d52e0f60e01b81529495929491936001600160a01b039091169291602081600481875afa90811561390d575f916149e3575b506001600160a01b0382811691160361494057505f604094956149038651978896879586946311e918cb60e01b8652600486016142d9565b03925af1801561390d575f915f9161491f575b5060035d60025d565b905061493a915060403d6040116104e8576104da8183613ae8565b5f614916565b946040516338d52e0f60e01b8152602081600481875afa90811561390d575f916149c4575b506001600160a01b0382811691160361499d57505f604094956149038651978896879586946313a8a0f760e21b8652600486016142d9565b9092945f90614903604096875198899788968795630957e04760e31b875260048701614397565b6149dd915060203d6020116106e1576106d38183613ae8565b5f614965565b6149fc915060203d6020116106e1576106d38183613ae8565b5f6148cb565b3d15614a2c573d90614a1382613b09565b91614a216040519384613ae8565b82523d5f602084013e565b606090565b908160209103126104a6575180151581036104a65790565b5f80614a719260018060a01b03169360208151910182865af1614a6a614a02565b9083614ab4565b8051908115159182614a99575b5050614a875750565b635274afe760e01b5f5260045260245ffd5b614aac9250602080918301019101614a31565b155f80614a7e565b90614ad85750805115614ac957805190602001fd5b630a12f52160e11b5f5260045ffd5b81511580614b09575b614ae9575090565b639996b31560e01b5f9081526001600160a01b0391909116600452602490fd5b50803b15614ae156fe2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d5265636569766564206c657373207468616e206d696e20657870656374656400360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc97667070c54ef182b0f5858b034beac1b6f3089aa2d3188bb1e8929f4fa9b929ee57cd81e84075558e8fcc182a1f4393f91fc97f963a136e66b7f949a62f319ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00ad3228b676f7d3cd4284a5443f17f1962b36e491b30a40b2405849e597ba5fb5a2646970667358221220f9f40c16890681a9fe88125c9bdd981a284c6496d6925f37d09ad8e12953dfa864736f6c634300081c0033f0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00","sourceMap":"1796:40536:22:-:0;;;;;;;1060:4:8;1052:13;;-1:-1:-1;;;;;;;;;;;1796:40536:22;;;;;;7896:76:7;;-1:-1:-1;;;;;;;;;;;1796:40536:22;;7985:34:7;7981:146;;-1:-1:-1;1796:40536:22;;;;;;;;1052:13:8;1796:40536:22;;;;;;;;;;;7981:146:7;-1:-1:-1;;;;;;1796:40536:22;-1:-1:-1;;;;;1796:40536:22;;;-1:-1:-1;;;;;;;;;;;1796:40536:22;;;8087:29:7;;1796:40536:22;;8087:29:7;7981:146;;;;7896:76;7938:23;;;-1:-1:-1;7938:23:7;;-1:-1:-1;7938:23:7;1796:40536:22;;;","linkReferences":{},"cborAuxdata":{"1":{"value":"0xa2646970667358221220f9f40c16890681a9fe88125c9bdd981a284c6496d6925f37d09ad8e12953dfa864736f6c634300081c0033","offset":19642}},"transformations":[],"transformationValues":{}},"runtimeBytecode":{"onchainBytecode":"0x60806040526004361015610011575f80fd5b5f5f3560e01c8062b9a3f61461362857806301ffc9a7146135d1578063050690261461358457806306a1701e146135375780632372dd5f146134e7578063248a9ca3146134b45780632a77511214612df95780632c8c4f5314612b2f5780632f2ff15d14612af15780632f5066dd1461282557806331f57072146125f757806336568abe146125b25780633ea09e2e146125625780634f1ef2861461237d57806352d1902d14612316578063539d7b1514611d9b5780637140904914611bc257806379ffc233146119d6578063802892691461193757806391d14854146118ee57806393512617146118a9578063a217fddf1461188d578063a3d1b21d1461183d578063ad3cb1cc146117f4578063ae09b9c714611496578063bc8e939f14611271578063c4d66de81461112a578063c57e91d714610c6e578063d3fc564914610b5d578063d547741f14610b16578063d8b273f6146107fc578063e6b26a4a146107a8578063f3fa30ef1461027a578063f5b541a6146102525763fbb61d7d1461019a575f80fd5b3461023f57608036600319011261023f57806101b4613a4d565b6101bc613a63565b906044356001600160401b03811161024d576101dc903690600401613b24565b906101e56143d0565b6001600160a01b031691823b1561024d5761021d92849283604051809681958294632590ce8b60e11b8452606435916004850161436d565b03925af180156102425761022e5750f35b8161023891613ae8565b61023f5780f35b80fd5b6040513d84823e3d90fd5b505050fd5b503461023f578060031936011261023f5760206040515f516020614b735f395f51905f528152f35b503461023f5761028936613d55565b9693979495926040519861029c8a613ab9565b868a5260208a019787895260408b019088825260608c01978989526102bf6143d0565b6040516338d52e0f60e01b81526001600160a01b039190911690602081600481855afa90811561079d578b9161077e575b506040516370a0823160e01b81526001600160a01b0393841660048201819052999093909116602084602481845afa938415610666578c94610749575b50926020602494604051958680926370a0823160e01b82528760048301525afa938415610666578c94610715575b508087111561070e5761036e81886142a2565b935b8461053c575b50505050506040519063e4182b0960e01b82526020826004818a5afa9182156105315789926104fa575b50936103c49160409552845195869485946311e918cb60e01b8652600486016142d9565b038187865af180156104ef5791602091600493869187916104be575b508752885260405163e4182b0960e01b815292839182905afa9283156104b2579261047a575b505251106104225761041e9060405191829182613bad565b0390f35b60405162461bcd60e51b815260206004820152603f60248201527f5661756c745632416c6c6f6361746f722e616c6c6f63617465546f6b656e3a2060448201525f516020614b335f395f51905f526064820152608490fd5b9091506020813d6020116104aa575b8161049660209383613ae8565b810103126104a65751905f610406565b5f80fd5b3d9150610489565b604051903d90823e3d90fd5b90506104e2915060403d6040116104e8575b6104da8183613ae8565b8101906142c3565b5f6103e0565b503d6104d0565b6040513d86823e3d90fd5b9150936020823d602011610529575b8161051660209383613ae8565b810103126104a6579051909360406103a0565b3d9150610509565b6040513d8b823e3d90fd5b81018091116106fa57808711156106f35761055790876142a2565b60405163ad468d1160e01b8152602081600481875afa9081156106e8578d916106b9575b50811515806106a7575b6105ee575b5050813b156105ea57918a916105b79383604051809681958294635c9ce04d60e01b845260048401613e3e565b03925af18015610531579089916105d1575b808080610376565b816105db91613ae8565b6105e657875f6105c9565b8780fd5b8a80fd5b6040516305c0524560e31b8152908d82600481885afa91821561069a578e8093610675575b5050843b1561067157908d9161063d6040519485938493632590ce8b60e11b85526004850161436d565b038183875af1801561066657908c911561058a578161065b91613ae8565b6105ea578a5f61058a565b6040513d8e823e3d90fd5b8d80fd5b6106929293503d8091833e61068a8183613ae8565b81019061430b565b905f8e610613565b8e604051903d90823e3d90fd5b506001600160a01b0381161515610585565b6106db915060203d6020116106e1575b6106d38183613ae8565b810190614283565b5f61057b565b503d6106c9565b6040513d8f823e3d90fd5b508a610557565b634e487b7160e01b8c52601160045260248cfd5b8b93610370565b9093506020813d602011610741575b8161073160209383613ae8565b810103126104a65751925f61035b565b3d9150610724565b93506020843d602011610776575b8161076460209383613ae8565b810103126104a657925192602061032d565b3d9150610757565b610797915060203d6020116106e1576106d38183613ae8565b5f6102f0565b6040513d8d823e3d90fd5b503461023f57806107b836613c26565b936107c49291926143d0565b6001600160a01b031690813b156107f85785809461021d6040519788968795869463848802f360e01b865260048601613e63565b8580fd5b503461023f5761012036600319011261023f57610817613a4d565b61081f613a63565b610827613a8d565b836064356001600160401b038111610b1257610847903690600401613c93565b929094610852613aa3565b9360a4356001600160401b038111610b0e57610872903690600401613c93565b61087a613b6a565b60e435979092906001600160a01b03891689036105e6576040519a6004958960608e6108a581613ab9565b82815282602082015282604082015201526108be6143d0565b895c6001600160a01b0319166001600160a01b038916178a5d6001805c6001600160a01b0319166001600160a01b038e1617905d60208c6040519889809263e4182b0960e01b825260018060a01b03165afa8015610b03578c978b91610abc575b506109bd979694926109af9694926109749260045d6040519b8c99636c5939fb60e11b60208c015260018060a01b031660408b015260018060a01b031660608a015261012060808a0152610140890191613ea0565b6001600160a01b0394851660a08801528b851660c08801526101043560e08801529316610100860152848303601f1901610120860152613ea0565b03601f198101845283613ae8565b6001600160a01b0381163b15610ab85760405163701195a160e11b81529384928391859183916109ff919061010435906001600160a01b031660048501613e17565b03926001600160a01b03165af180156104ef57610aa3575b5091602060049360025c845260035c82850152845c60408501526040519485809263e4182b0960e01b825260018060a01b03165afa9081156104b25790610a6f575b61041e9250606082015260405191829182613bad565b506020823d602011610a9b575b81610a8960209383613ae8565b810103126104a65761041e9151610a59565b3d9150610a7c565b610aae848092613ae8565b610ab8575f610a17565b8280fd5b9750509391985093916020863d602011610afb575b81610ade60209383613ae8565b810103126104a65794518c988b96939592949092916109bd61091f565b3d9150610ad1565b6040513d8c823e3d90fd5b8480fd5b5080fd5b503461023f57604036600319011261023f57610b59600435610b36613a63565b90610b54610b4f825f525f602052600160405f20015490565b614479565b614799565b5080f35b503461023f5760c036600319011261023f5780610b78613a4d565b610b80613a63565b6044356001600160401b03811161024d57610b9f903690600401613b24565b91610ba8613b97565b916084356001600160401b0381116107f857610bc8903690600401613b24565b9360a43592610bd56143d0565b6001600160a01b031691823b15610c6a57604051632590ce8b60e11b815291879183918291610c099188916004850161436d565b038183865af1908115610c5f578691610c4a575b5050803b15610b0e5761021d9385809460405196879586948593635c9ce04d60e01b85526004850161436d565b81610c5491613ae8565b610b0e57845f610c1d565b6040513d88823e3d90fd5b8680fd5b503461023f576101c036600319011261023f57610c89613a4d565b610c91613a63565b9082610c9b613a8d565b6064356001600160401b038111610ab857610cba903690600401613b24565b92610cc3613aa3565b9360a4356001600160401b038111610b0e57610ce3903690600401613b24565b90610cec613b6a565b610cf4613b80565b61014435976001600160a01b03891689036105e65761018435916001600160a01b0383168303611126576101a4356001600160401b038111611122576004968c93610d438c9336908b01613b24565b97836060604051610d5381613ab9565b8281528260208201528260408201520152610d6c6143d0565b610124359560e4359460209190805c6001600160a01b0319166001600160a01b038f1617905d6001805c6001600160a01b0319166001600160a01b03831617905d60405163e4182b0960e01b81529b8c9182906001600160a01b03165afa80156106e8578f9a8e916110e9575b5060045d610124355f1914611068575b60e4355f1914610fe7575b6040805163c57e91d760e01b60208201526001600160a01b039b8c16918101919091529b90991660608c01526101c060808c01528a98610e39906101e08b0190613d31565b6001600160a01b0390911660a08a0152888103601f190160c08a0152610e5e91613d31565b6001600160a01b0395861660e08901526101008801919091529084166101208701526101408601919091528883166101608601526101643561018086015291166101a0840152828103601f19016101c0840152610eba91613d31565b03601f1981018352610ecc9083613ae8565b6001600160a01b0381163b15610ab85760405163701195a160e11b8152938492839185918391610f0e919061016435906001600160a01b031660048501613e17565b03926001600160a01b03165af18015610fdc57610fc7575b5060405163e4182b0960e01b81529160025c916004805c9160035c9160209187919082906001600160a01b03165afa9283156104b25792610f91575b61041e945060405193610f7485613ab9565b845260208401526040830152606082015260405191829182613bad565b91506020843d602011610fbf575b81610fac60209383613ae8565b810103126104a65761041e935191610f62565b3d9150610f9f565b610fd2838092613ae8565b610b12575f610f26565b6040513d85823e3d90fd5b60405163075300a160e01b8152995092506020898c818061100c8c8960048401613def565b03916001600160a01b03165afa8015610666578e998d9161102f575b5092610df4565b9950509a506020883d602011611060575b8161104d60209383613ae8565b810103126104a6578d9a8d98515f611028565b3d9150611040565b604051630b78039760e31b8152995094506020898c818061108d898b60048401613def565b03916001600160a01b03165afa8015610666578e998d916110b0575b5094610de9565b9950509a506020883d6020116110e1575b816110ce60209383613ae8565b810103126104a6578d9a8d98515f6110a9565b3d91506110c1565b9a50509b506020893d60201161111a575b8161110760209383613ae8565b810103126104a6578e9b8e99515f610dd9565b3d91506110fa565b8980fd5b8880fd5b503461023f57602036600319011261023f57611144613a4d565b5f516020614bb35f395f51905f52549060ff8260401c1615916001600160401b03811680159081611269575b600114908161125f575b159081611256575b506112475767ffffffffffffffff1981166001175f516020614bb35f395f51905f52556111c091908361121b575b506111ba81614536565b506144b1565b506111c85780f35b60ff60401b195f516020614bb35f395f51905f5254165f516020614bb35f395f51905f52557fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2602060405160018152a180f35b68ffffffffffffffffff191668010000000000000001175f516020614bb35f395f51905f52555f6111b0565b63f92ee8a960e01b8452600484fd5b9050155f611182565b303b15915061117a565b849150611170565b503461023f5760e036600319011261023f5761128b613a4d565b90611294613a63565b9061129d613a8d565b926112a6613aa3565b9360a4356001600160401b038111611492576112c6903690600401613b24565b94604051956112d487613ab9565b8487526020870195858752604088019386855260608901958787526112f76143d0565b60405163e4182b0960e01b81526001600160a01b0391909116956020826004818a5afa91821561053157899261145b575b5093611350916040955284519586948594630957e04760e31b86526064359160048701614397565b038187865af180156104ef57916020916004938691879161143a575b508752875260405163e4182b0960e01b815292839182905afa9283156104b25792611406575b505260c4359051106113ae5761041e9060405191829182613bad565b60405162461bcd60e51b815260206004820152603f60248201527f5661756c745632416c6c6f6361746f722e7265616c6c6f63617465426f783a2060448201525f516020614b335f395f51905f526064820152608490fd5b9091506020813d602011611432575b8161142260209383613ae8565b810103126104a65751905f611392565b3d9150611415565b9050611455915060403d6040116104e8576104da8183613ae8565b5f61136c565b9150936020823d60201161148a575b8161147760209383613ae8565b810103126104a657905190936040611328565b3d915061146a565b8380fd5b503461023f576114a536613d55565b9294909693604051976114b789613ab9565b89895260208901968a885260408a01928b84528b60608c01958187526114db6143d0565b60405163e4182b0960e01b81526001600160a01b039190911695906020816004818a5afa9283156104b257926117bd575b50936115309160409552845197889485946313a8a0f760e21b8652600486016142d9565b03818c855af1908115610531576004936020928b918c9161179c575b508852895260405163e4182b0960e01b815293849182905afa91821561179157889261175d575b50528251106116e85781516001600160a01b0390911692859190843b15610ab857604051632590ce8b60e11b8152918391839182916115b6919060048401613e3e565b038183885af18015610242576116d3575b505060405163ad468d1160e01b815291602083600481845afa9283156116c85785936116a7575b506001600160a01b03831661160c575b6040518061041e8682613bad565b6040516305c0524560e31b815285929091908383600481855afa9283156104ef57849361168b575b505191813b1561149257836116609560405196879586948593635c9ce04d60e01b85526004850161436d565b03925af18015610fdc57611676575b80806115fe565b611681838092613ae8565b610b12578161166f565b6116a09193503d8086833e61068a8183613ae8565b915f611634565b6116c191935060203d6020116106e1576106d38183613ae8565b915f6115ee565b6040513d87823e3d90fd5b816116dd91613ae8565b61149257835f6115c7565b60405162461bcd60e51b815260206004820152604160248201527f5661756c745632416c6c6f6361746f722e6465616c6c6f63617465546f6b656e60448201527f3a205265636569766564206c657373207468616e206d696e20657870656374656064820152601960fa1b608482015260a490fd5b9091506020813d602011611789575b8161177960209383613ae8565b810103126104a65751905f611573565b3d915061176c565b6040513d8a823e3d90fd5b90506117b7915060403d6040116104e8576104da8183613ae8565b5f61154c565b9150936020823d6020116117ec575b816117d960209383613ae8565b810103126104a65790519093604061150c565b3d91506117cc565b503461023f578060031936011261023f575061041e604051611817604082613ae8565b60058152640352e302e360dc1b6020820152604051918291602083526020830190613d31565b503461023f578061184d36613c26565b936118599291926143d0565b6001600160a01b031690813b156107f85785809461021d6040519788968795869463f5cc819560e01b865260048601613e63565b503461023f578060031936011261023f57602090604051908152f35b503461023f57604036600319011261023f576118c3613a4d565b6024358015158103610ab8576118d7614819565b156118e557610b59906144b1565b610b5990614708565b503461023f57604036600319011261023f57604061190a613a63565b91600435815280602052209060018060a01b03165f52602052602060ff60405f2054166040519015158152f35b503461023f57604036600319011261023f57611951613a4d565b9060206001600160a01b03611964613a63565b6040516370a0823160e01b81526001600160a01b03909516600486015284916024918391165afa9081156104b257906119a3575b602090604051908152f35b506020813d6020116119ce575b816119bd60209383613ae8565b810103126104a65760209051611998565b3d91506119b0565b503461023f576119e536613cc0565b94916040969394919651966119f988613ab9565b8488526020880195858752604089019386855260608a0195878752611a1c6143d0565b60405163e4182b0960e01b81526001600160a01b0391909116956020826004818a5afa918215610531578992611b8b575b5093611a719160409552845195869485946311e918cb60e01b8652600486016142d9565b038187865af180156104ef579160209160049386918791611b6a575b508752885260405163e4182b0960e01b815292839182905afa9283156104b25792611b36575b50525110611acb5761041e9060405191829182613bad565b60405162461bcd60e51b815260206004820152603d60248201527f5661756c745632416c6c6f6361746f722e616c6c6f63617465426f783a20526560448201527f636569766564206c657373207468616e206d696e2065787065637465640000006064820152608490fd5b9091506020813d602011611b62575b81611b5260209383613ae8565b810103126104a65751905f611ab3565b3d9150611b45565b9050611b85915060403d6040116104e8576104da8183613ae8565b5f611a8d565b9150936020823d602011611bba575b81611ba760209383613ae8565b810103126104a657905190936040611a4d565b3d9150611b9a565b503461023f57611bd136613cc0565b9491604096939491965196611be588613ab9565b8488526020880195858752604089019386855260608a0195878752611c086143d0565b60405163e4182b0960e01b81526001600160a01b0391909116956020826004818a5afa918215610531578992611d64575b5093611c5d9160409552845195869485946313a8a0f760e21b8652600486016142d9565b038187865af180156104ef579160209160049386918791611d43575b508752885260405163e4182b0960e01b815292839182905afa9283156104b25792611d0f575b50525110611cb75761041e9060405191829182613bad565b60405162461bcd60e51b815260206004820152603f60248201527f5661756c745632416c6c6f6361746f722e6465616c6c6f63617465426f783a2060448201525f516020614b335f395f51905f526064820152608490fd5b9091506020813d602011611d3b575b81611d2b60209383613ae8565b810103126104a65751905f611c9f565b3d9150611d1e565b9050611d5e915060403d6040116104e8576104da8183613ae8565b5f611c79565b9150936020823d602011611d93575b81611d8060209383613ae8565b810103126104a657905190936040611c39565b3d9150611d73565b503461023f5760c036600319011261023f57611db5613a4d565b90611dbe613a63565b91611dc7613a8d565b92611dd0613b97565b926084356001600160401b038111610b1257611df0903690600401613b24565b9160405194611dfe86613ab9565b8286526020860194838652836040880152836060880152611e1d6143d0565b6040516338d52e0f60e01b81526001600160a01b03919091169490602081600481895afa9081156116c85785916122f7575b506040516370a0823160e01b81523060048201526001600160a01b03918216999094918116929091602086602481875afa9081156122ec5787916122b7575b6040516370a0823160e01b815230600482015296506020876024818f5afa968715611791578897612283575b506001600160a01b0316803b156105e65787809160246040518094819363bc25cf7760e01b83528a60048401525af180156117915790889161226e575b50506040516370a0823160e01b815230600482015290602082602481885afa801561179157889061223a575b611f2d92506142a2565b9384156121d5578a840361207e575b5050505050604051916370a0823160e01b83523060048401526020836024818a5afa9081156104b2579061204a575b611f7592506142a2565b80835280845260a43511611fd157905160405163a9059cbb60e01b60208201526001600160a01b039092166024830152604482015261041e92611fc59190611fc082606481016109af565b614a49565b60405191829182613bad565b60405162461bcd60e51b815260206004820152604560248201527f5661756c745632416c6c6f6361746f722e7265696e76657374536b696d41646160448201527f707465723a205265636569766564206c657373207468616e206d696e206578706064820152641958dd195960da1b608482015260a490fd5b506020823d602011612076575b8161206460209383613ae8565b810103126104a657611f759151611f6b565b3d9150612057565b6001600160a01b03169361209381868561461c565b843b15610c6a5786908b6120d360405194859384936316dbcdbf60e21b855289600486015260248501526044840152608060648401526084830190613d31565b038183885af18015610c5f579086916121c0575b50506040519185806020850163095ea7b360e01b815286602487015281604487015260448652612118606487613ae8565b85519082855af190612128614a02565b8261218e575b5081612183575b5015612143575b8080611f3c565b611fc061217b936040519063095ea7b360e01b6020830152602482015286604482015260448152612175606482613ae8565b82614a49565b5f808061213c565b90503b15155f612135565b805191925081159182156121a6575b5050905f61212e565b6121b99250602080918301019101614a31565b5f8061219d565b816121ca91613ae8565b610b0e57845f6120e7565b60405162461bcd60e51b815260206004820152603760248201527f5661756c745632416c6c6f6361746f722e7265696e76657374536b696d4164616044820152761c1d195c8e88139bc81d1bdad95b9cc81cdada5b5b5959604a1b6064820152608490fd5b506020823d602011612266575b8161225460209383613ae8565b810103126104a657611f2d9151611f23565b3d9150612247565b8161227891613ae8565b610c6a57865f611ef7565b9096506020813d6020116122af575b8161229f60209383613ae8565b810103126104a65751955f611eba565b3d9150612292565b90506020863d6020116122e4575b816122d260209383613ae8565b810103126104a6576024955190611e8e565b3d91506122c5565b6040513d89823e3d90fd5b612310915060203d6020116106e1576106d38183613ae8565b5f611e4f565b503461023f578060031936011261023f577f000000000000000000000000c5a845985bdf088f44e3ddf2bd1a79b08dbe96116001600160a01b0316300361236e5760206040515f516020614b535f395f51905f528152f35b63703e46dd60e11b8152600490fd5b50604036600319011261023f57612392613a4d565b906024356001600160401b038111610b12576123b2903690600401613b24565b6001600160a01b037f000000000000000000000000c5a845985bdf088f44e3ddf2bd1a79b08dbe961116308114908115612540575b50612531576123f4614819565b6040516352d1902d60e01b8152926001600160a01b0381169190602085600481865afa809585966124fd575b5061243957634c9c8ce360e01b84526004839052602484fd5b9091845f516020614b535f395f51905f5281036124eb5750813b156124d9575f516020614b535f395f51905f5280546001600160a01b031916821790557fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b8480a281518390156124bf5780836020610b5995519101845af46124b9614a02565b91614ab4565b505050346124ca5780f35b63b398979f60e01b8152600490fd5b634c9c8ce360e01b8452600452602483fd5b632a87526960e21b8552600452602484fd5b9095506020813d602011612529575b8161251960209383613ae8565b81010312610b0e5751945f612420565b3d915061250c565b63703e46dd60e11b8252600482fd5b5f516020614b535f395f51905f52546001600160a01b0316141590505f6123e7565b503461023f578061257236613c26565b9361257e9291926143d0565b6001600160a01b031690813b156107f85785809461021d6040519788968795869463adb04a3d60e01b865260048601613e63565b503461023f57604036600319011261023f576125cc613a63565b336001600160a01b038216036125e857610b5990600435614799565b63334bd91960e11b8252600482fd5b503461023f57604036600319011261023f576004356024356001600160401b038111610ab85761262b903690600401613c93565b9190835c6001600160a01b03163303612816578083859201602082820312610ab85761265682613bd7565b6001600160e01b031916636c5939fb60e11b8103612718575061267990826141e8565b50919a965050505050505b6001600160a01b03169161269985848861461c565b823b1561149257604051631ee81e6560e31b81526001600160a01b0387166004820152602481018690526060604482015292849284928391859183916126e491606484019190613ea0565b03925af1801561024257612703575b505061270091339061461c565b80f35b8161270d91613ae8565b610ab857825f6126f3565b632f5066dd60e01b810361274157506127319082614146565b50919b9750505050505050612684565b632c8c4f5360e01b8103612769575061275a90826140a0565b509b9750505050505050612684565b625cd1fb60e11b810361279557506127819082613fc1565b505050979c98505050505050505094612684565b90925063c57e91d760e01b036127c5576127b0859282613ed9565b505050989d9950505050505050505094612684565b60405162461bcd60e51b815260206004820152602360248201527f5661756c745632416c6c6f6361746f723a20496e76616c6964206f706572617460448201526234b7b760e91b6064820152608490fd5b637e5f4b6160e01b8452600484fd5b503461023f5761014036600319011261023f57612840613a4d565b612848613a63565b612850613a8d565b836064356001600160401b038111610b1257612870903690600401613c93565b92909461287b613aa3565b9560a4356001600160401b038111610b0e5760609761289f60049236908401613c93565b906128a8613b6a565b926128b1613b80565b95896040519d8e6128c181613ab9565b82815282602082015282604082015201526128da6143d0565b61012435968a5c6001600160a01b0319166001600160a01b038a16178b5d6001805c6001600160a01b0319166001600160a01b038f1617905d60208d6040519889809263e4182b0960e01b825260018060a01b03165afa801561079d578d978c91612ab8575b5060045d610124355f1914612a29575b60408051632f5066dd60e01b60208201526001600160a01b039889169181019190915299871660608b015261014060808b0152909516996129f79589956129e99590949093909290916129a891610160890191613ea0565b6001600160a01b0394851660a088015260e43560c088015260e087018d905261010087018990529316610120860152848303601f1901610140860152613ea0565b03601f198101855284613ae8565b6001600160a01b0382163b1561149257836109ff956040519687958694859363701195a160e11b855260048501613e17565b604051630b78039760e31b8152909750955060208680612a4e8a8f8660048501613ec0565b03816001600160a01b038d165afa8015610b03578c968b91612a72575b5096612950565b95939a5050929094506020843d602011612ab0575b81612a9460209383613ae8565b810103126104a65792518c988b959294939092916129a8612a6b565b3d9150612a87565b97505099506020863d602011612ae9575b81612ad660209383613ae8565b810103126104a6578d998c96515f612940565b3d9150612ac9565b503461023f57604036600319011261023f57610b59600435612b11613a63565b90612b2a610b4f825f525f602052600160405f20015490565b6145a7565b503461023f5761014036600319011261023f5780612b4b613a4d565b612b53613a63565b90612b5c613a8d565b6064356001600160401b038111610b0e57612b7b903690600401613c93565b9290612b85613aa3565b60a435926001600160401b0384116105e657612ba688943690600401613c93565b612bb1939193613b6a565b9360e43595612bbe613b80565b6101243597612bcb6143d0565b979b6001600160a01b03909616988c98968791805c6001600160a01b0319168c17905d6001600160a01b0316986001805c6001600160a01b0319168b17905d5f1914612d7b575b5f1914612cec575b91612c6c612c8d9492612cc1999897969460018060a01b03169c6040519c8d9a632c8c4f5360e01b60208d015260408c015260018060a01b031660608b015261014060808b01526101608a0191613ea0565b6001600160a01b0390931660a0880152868303601f190160c0880152613ea0565b6001600160a01b0390921660e08401526101008301526101208201869052610140820187905203601f198101845283613ae8565b803b15610b0e5761021d938580946040519687958694859363701195a160e11b855260048501613e17565b60405163075300a160e01b815290955060208180612d0f8a8f8760048501613ec0565b03816001600160a01b038e165afa9081156106e8578d91612d32575b5094612c1a565b97969594929c5050916020873d602011612d73575b81612d5460209383613ae8565b810103126104a65795518c9b9596949593949193919290612c6c612d2b565b3d9150612d47565b9b50612da26020828c8e604051809581948293630b78039760e31b84528a60048501613ec0565b03916001600160a01b03165afa90811561069a578e91612dc4575b509b612c12565b9d505060208d3d602011612df1575b81612de060209383613ae8565b810103126104a6578d9c515f612dbd565b3d9150612dd3565b503461023f57606036600319011261023f57612e13613a4d565b506044356001600160401b038111610b1257612e33903690600401613c93565b60015c6001600160a01b031633036134a55782908201602083820312610b12576001600160e01b0319612e6584613bd7565b1692636c5939fb60e11b840361301157612e809293506141e8565b6040516370a0823160e01b81523360048201529398509196509394936001600160a01b0384169190602084602481865afa938415610b03578a94612fd2575b5091612ed388868b60209560249733614894565b6040516370a0823160e01b815233600482015292839182905afa908115611791578891612f99575b5090612f06916142a2565b90333b15610c6a5760405163848802f360e01b815291879183918291612f329190888860048601613e63565b038183335af1908115610c5f578691612f84575b5050333b15610b0e57612f6f8593604051958694859463f5cc819560e01b865260048601613e63565b038183335af180156102425761022e57505080f35b81612f8e91613ae8565b610b0e57845f612f46565b919750506020813d602011612fca575b81612fb660209383613ae8565b810103126104a65751879690612f06612efb565b3d9150612fa9565b9192995092506020813d602011613009575b81612ff160209383613ae8565b810103126104a6575189989092909190612ed3612ebf565b3d9150612fe4565b632f5066dd60e01b84036130e45761302a929350614146565b95939850989395919650333b15611492578361305d916040518093819263adb04a3d60e01b83528b888860048601613e63565b038183335af19081156104ef5784916130cf575b5050333b15610ab8578491839161309d8960405195869485946310dc411b60e11b865260048601613e63565b038183335af18015610242576130ba575b50506127009433614894565b816130c491613ae8565b6107f857855f6130ae565b816130d991613ae8565b610ab857825f613071565b632c8c4f5360e01b84036131d8576130fd9293506140a0565b975097509293909194333b156111265760405163adb04a3d60e01b815289818061312d8b8d888860048601613e63565b038183335af1908115610b03578a916131c3575b5050333b15611126578291899161316d8660405195869485946310dc411b60e11b865260048601613e63565b038183335af19081156117915788916131ae575b5050333b15610c6a5760405163848802f360e01b815291879183918291612f329190888860048601613e63565b816131b891613ae8565b610c6a57865f613181565b816131cd91613ae8565b61112657885f613141565b625cd1fb60e11b8403613336576131f0929350613fc1565b95939798929b509598909950333b1561331d576132268c8b8d604051938492839263adb04a3d60e01b8452888860048601613e63565b038183335af19081156106e8578d91613321575b5050333b1561331d5782918c916132668660405195869485946310dc411b60e11b865260048601613e63565b038183335af190811561079d578b91613308575b50506040516370a0823160e01b8152336004820152936001600160a01b0386169390602086602481885afa958615610666578c966132c7575b50928660249593612ed39360209633614894565b9492939b5094506020843d602011613300575b816132e760209383613ae8565b810103126104a65792518b9a90949193909291866132b3565b3d91506132da565b8161331291613ae8565b61112257895f61327a565b8b80fd5b8161332b91613ae8565b61331d578b5f61323a565b909290915063c57e91d760e01b036127c557829161335391613ed9565b6040516370a0823160e01b8152336004820152939d50919b5096999798949795969495946001600160a01b0385169190602084602481865afa938415613498578f94613459575b50916133af8d8f889060209560249733614894565b6040516370a0823160e01b815233600482015292839182905afa9081156106e8578d91613420575b50906133e2916142a2565b818111156134185750905b333b156105ea5760405163adb04a3d60e01b8152918b918391829161312d9190888860048601613e63565b9050906133ed565b919c50506020813d602011613451575b8161343d60209383613ae8565b810103126104a657518c9b906133e26133d7565b3d9150613430565b929e5092506020823d602011613490575b8161347760209383613ae8565b810103126104a65790518e9d90929091906133af61339a565b3d915061346a565b8f604051903d90823e3d90fd5b63e4705dc760e01b8352600483fd5b503461023f57602036600319011261023f5760206134df6004355f525f602052600160405f20015490565b604051908152f35b503461023f57806134f736613c26565b936135039291926143d0565b6001600160a01b031690813b156107f85785809461021d604051978896879586946310dc411b60e11b865260048601613e63565b503461023f578061354736613bec565b916135506143d0565b6001600160a01b031691823b1561024d5761021d92849283604051809681958294632590ce8b60e11b845260048401613e3e565b503461023f578061359436613bec565b9161359d6143d0565b6001600160a01b031691823b1561024d5761021d92849283604051809681958294635c9ce04d60e01b845260048401613e3e565b503461023f57602036600319011261023f5760043563ffffffff60e01b8116809103610b1257602090637965db0b60e01b8114908115613617575b506040519015158152f35b6301ffc9a760e01b1490508261360c565b50346104a6576101a03660031901126104a657613643613a4d565b61364b613a63565b613653613a8d565b926064356001600160401b0381116104a657613673903690600401613b24565b9261367c613aa3565b9460a4356001600160401b0381116104a65761369c903690600401613b24565b936136a5613b6a565b9660e435976136b2613b80565b610124356001600160a01b03811696909391908785036104a6576101443599610164356001600160a01b03811694908590036104a657610184359c6001600160401b038e116104a6578e9d61370b903690600401613b24565b9760405161371881613ab9565b5f8152602081015f9052604081015f90526060015f90526137376143d0565b9c9d8e9d6001600160a01b03909516999094905f805c6001600160a01b0319168c17905d6001600160a01b03169d8e6001805c6001600160a01b0319168217905d60405180809263e4182b0960e01b82525a92600491602094fa90811561390d575f91613a1b575b5060045d5f1914613994575b508c9d9e5f9d999a9b9c9d1914613918575b6040519a8b99625cd1fb60e11b60208c015260408b0152600160a01b600190031660608a0152608089016101a090526101c089016137fa91613d31565b6001600160a01b0390911660a0890152878103601f190160c089015261381f91613d31565b6001600160a01b0394851660e08801526101008701919091529216610120850152610140840187905261016084018a9052610180840152828103601f19016101a084015261386c91613d31565b03601f198101835261387e9083613ae8565b803b156104a6576138a9955f80946040519889958694859363701195a160e11b855260048501613e17565b03925af192831561390d576004936138fa575b5060025c9160035c6020855c926040519687809263e4182b0960e01b82525afa9283156104b25792610f915761041e945060405193610f7485613ab9565b61390691505f90613ae8565b5f5f6138bc565b6040513d5f823e3d90fd5b60405163075300a160e01b8152985092506020888061393b898760048401613def565b03816001600160a01b038e165afa801561390d578d985f9161395f575b50926137bd565b9850506020883d60201161398c575b8161397b60209383613ae8565b810103126104a6578c97515f613958565b3d915061396e565b8a9b9c9d9e506020906139be9a9b60405180809d8194630b78039760e31b83528760048401613def565b03916001600160a01b03165afa801561390d578e995f916139e6575b509d9c9b9a99986137ab565b9950506020893d602011613a13575b81613a0260209383613ae8565b810103126104a6578d98515f6139da565b3d91506139f5565b90506020813d602011613a45575b81613a3660209383613ae8565b810103126104a657515f61379f565b3d9150613a29565b600435906001600160a01b03821682036104a657565b602435906001600160a01b03821682036104a657565b35906001600160a01b03821682036104a657565b604435906001600160a01b03821682036104a657565b608435906001600160a01b03821682036104a657565b608081019081106001600160401b03821117613ad457604052565b634e487b7160e01b5f52604160045260245ffd5b90601f801991011681019081106001600160401b03821117613ad457604052565b6001600160401b038111613ad457601f01601f191660200190565b81601f820112156104a657803590613b3b82613b09565b92613b496040519485613ae8565b828452602083830101116104a657815f926020809301838601378301015290565b60c435906001600160a01b03821682036104a657565b61010435906001600160a01b03821682036104a657565b606435906001600160a01b03821682036104a657565b91909160608060808301948051845260208101516020850152604081015160408501520151910152565b35906001600160e01b0319821682036104a657565b60609060031901126104a6576004356001600160a01b03811681036104a657906024356001600160a01b03811681036104a6579060443590565b60a06003198201126104a6576004356001600160a01b03811681036104a657916024356001600160a01b03811681036104a65791604435906001600160401b0382116104a657613c7891600401613b24565b906064356001600160a01b03811681036104a6579060843590565b9181601f840112156104a6578235916001600160401b0383116104a657602083818601950101116104a657565b60c06003198201126104a6576004356001600160a01b03811681036104a657916024356001600160a01b03811681036104a65791604435916064356001600160a01b03811681036104a65791608435906001600160401b0382116104a657613d2a91600401613b24565b9060a43590565b805180835260209291819084018484015e5f828201840152601f01601f1916010190565b6101006003198201126104a6576004356001600160a01b03811681036104a657916024356001600160a01b03811681036104a657916044356001600160a01b03811681036104a657916064356001600160a01b03811681036104a657916084359160a4356001600160a01b03811681036104a6579160c435906001600160401b0382116104a657613de891600401613b24565b9060e43590565b90613e07602091949394604084526040840190613d31565b6001600160a01b03909416910152565b613e3b939260609260018060a01b0316825260208201528160408201520190613d31565b90565b92919060018060a01b03168352606060208401525f6060840152604060808401930152565b6001600160a01b03909116815260806020820181905292949392606092613e8c91830190613d31565b6001600160a01b0390951660408201520152565b908060209392818452848401375f828201840152601f01601f1916010190565b91602091613e0791959495604085526040850191613ea0565b9190916101c0818403126104a657613ef081613bd7565b92613efd60208301613a79565b92613f0a60408401613a79565b9260608101356001600160401b0381116104a65783613f2a918301613b24565b92613f3760808301613a79565b9260a08301356001600160401b0381116104a65782613f57918501613b24565b92613f6460c08201613a79565b9260e082013592613f786101008401613a79565b9261012081013592613f8d6101408301613a79565b9261016083013592613fa26101808201613a79565b926101a08201356001600160401b0381116104a657613e3b9201613b24565b906101a0828203126104a657613fd682613bd7565b92613fe360208401613a79565b92613ff060408201613a79565b9260608201356001600160401b0381116104a65781614010918401613b24565b9261401d60808401613a79565b9260a08101356001600160401b0381116104a6578361403d918301613b24565b9261404a60c08301613a79565b9260e08301359261405e6101008201613a79565b9261406c6101208301613a79565b92610140830135926140816101608201613a79565b926101808201356001600160401b0381116104a657613e3b9201613b24565b91610140838303126104a6576140b583613bd7565b926140c260208201613a79565b926140cf60408301613a79565b9260608301356001600160401b0381116104a657826140ef918501613b24565b926140fc60808201613a79565b9260a0820135906001600160401b0382116104a65761411c918301613b24565b9161412960c08301613a79565b9160e0810135916101206141406101008401613a79565b92013590565b90610140828203126104a65761415b82613bd7565b9261416860208401613a79565b9261417560408201613a79565b9260608201356001600160401b0381116104a65781614195918401613b24565b926141a260808401613a79565b9260a0810135926141b560c08301613a79565b9260e0830135926141c96101008201613a79565b926101208201356001600160401b0381116104a657613e3b9201613b24565b91610120838303126104a6576141fd83613bd7565b9261420a60208201613a79565b9261421760408301613a79565b9260608301356001600160401b0381116104a65782614237918501613b24565b9261424460808201613a79565b9261425160a08301613a79565b9260c08301359261426460e08201613a79565b926101008201356001600160401b0381116104a657613e3b9201613b24565b908160209103126104a657516001600160a01b03811681036104a65790565b919082039182116142af57565b634e487b7160e01b5f52601160045260245ffd5b91908260409103126104a6576020825192015190565b6001600160a01b03918216815260208101929092529091166040820152608060608201819052613e3b92910190613d31565b6020818303126104a6578051906001600160401b0382116104a6570181601f820112156104a65780519061433e82613b09565b9261434c6040519485613ae8565b828452602083830101116104a657815f9260208093018386015e8301015290565b9392916143929060409260018060a01b03168652606060208701526060860190613d31565b930152565b6001600160a01b039182168152918116602083015260408201929092529116606082015260a060808201819052613e3b92910190613d31565b335f9081525f516020614b935f395f51905f52602052604090205460ff168015614455575b156143fc57565b60405162461bcd60e51b815260206004820152602b60248201527f5661756c745632416c6c6f6361746f723a2043616c6c6572206973206e6f742060448201526a30b71037b832b930ba37b960a91b6064820152608490fd5b50335f9081525f516020614bd35f395f51905f52602052604090205460ff166143f5565b5f8181526020818152604080832033845290915290205460ff161561449b5750565b63e2517d3f60e01b5f523360045260245260445ffd5b6001600160a01b0381165f9081525f516020614b935f395f51905f52602052604090205460ff16614531576001600160a01b03165f8181525f516020614b935f395f51905f5260205260408120805460ff191660011790553391905f516020614b735f395f51905f52905f516020614b135f395f51905f529080a4600190565b505f90565b6001600160a01b0381165f9081525f516020614bd35f395f51905f52602052604090205460ff16614531576001600160a01b03165f8181525f516020614bd35f395f51905f5260205260408120805460ff191660011790553391905f516020614b135f395f51905f528180a4600190565b5f818152602081815260408083206001600160a01b038616845290915290205460ff16614616575f818152602081815260408083206001600160a01b0395909516808452949091528120805460ff19166001179055339291905f516020614b135f395f51905f529080a4600190565b50505f90565b60405163095ea7b360e01b602082019081526001600160a01b03841660248301526044820194909452919261465483606481016129e9565b82516001600160a01b038316915f91829182855af190614672614a02565b826146d6575b50816146cb575b501561468a57505050565b60405163095ea7b360e01b60208201526001600160a01b0390931660248401525f60448085019190915283526146c992611fc090612175606482613ae8565b565b90503b15155f61467f565b805191925081159182156146ee575b5050905f614678565b6147019250602080918301019101614a31565b5f806146e5565b6001600160a01b0381165f9081525f516020614b935f395f51905f52602052604090205460ff1615614531576001600160a01b03165f8181525f516020614b935f395f51905f5260205260408120805460ff191690553391905f516020614b735f395f51905f52907ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9080a4600190565b5f818152602081815260408083206001600160a01b038616845290915290205460ff1615614616575f818152602081815260408083206001600160a01b0395909516808452949091528120805460ff19169055339291907ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9080a4600190565b335f9081525f516020614bd35f395f51905f52602052604090205460ff161561483e57565b60405162461bcd60e51b815260206004820152602860248201527f5661756c745632416c6c6f6361746f723a2043616c6c6572206973206e6f742060448201526730b71030b236b4b760c11b6064820152608490fd5b6040516338d52e0f60e01b81529495929491936001600160a01b039091169291602081600481875afa90811561390d575f916149e3575b506001600160a01b0382811691160361494057505f604094956149038651978896879586946311e918cb60e01b8652600486016142d9565b03925af1801561390d575f915f9161491f575b5060035d60025d565b905061493a915060403d6040116104e8576104da8183613ae8565b5f614916565b946040516338d52e0f60e01b8152602081600481875afa90811561390d575f916149c4575b506001600160a01b0382811691160361499d57505f604094956149038651978896879586946313a8a0f760e21b8652600486016142d9565b9092945f90614903604096875198899788968795630957e04760e31b875260048701614397565b6149dd915060203d6020116106e1576106d38183613ae8565b5f614965565b6149fc915060203d6020116106e1576106d38183613ae8565b5f6148cb565b3d15614a2c573d90614a1382613b09565b91614a216040519384613ae8565b82523d5f602084013e565b606090565b908160209103126104a6575180151581036104a65790565b5f80614a719260018060a01b03169360208151910182865af1614a6a614a02565b9083614ab4565b8051908115159182614a99575b5050614a875750565b635274afe760e01b5f5260045260245ffd5b614aac9250602080918301019101614a31565b155f80614a7e565b90614ad85750805115614ac957805190602001fd5b630a12f52160e11b5f5260045ffd5b81511580614b09575b614ae9575090565b639996b31560e01b5f9081526001600160a01b0391909116600452602490fd5b50803b15614ae156fe2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d5265636569766564206c657373207468616e206d696e20657870656374656400360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc97667070c54ef182b0f5858b034beac1b6f3089aa2d3188bb1e8929f4fa9b929ee57cd81e84075558e8fcc182a1f4393f91fc97f963a136e66b7f949a62f319ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00ad3228b676f7d3cd4284a5443f17f1962b36e491b30a40b2405849e597ba5fb5a2646970667358221220f9f40c16890681a9fe88125c9bdd981a284c6496d6925f37d09ad8e12953dfa864736f6c634300081c0033","recompiledBytecode":"0x60806040526004361015610011575f80fd5b5f5f3560e01c8062b9a3f61461362857806301ffc9a7146135d1578063050690261461358457806306a1701e146135375780632372dd5f146134e7578063248a9ca3146134b45780632a77511214612df95780632c8c4f5314612b2f5780632f2ff15d14612af15780632f5066dd1461282557806331f57072146125f757806336568abe146125b25780633ea09e2e146125625780634f1ef2861461237d57806352d1902d14612316578063539d7b1514611d9b5780637140904914611bc257806379ffc233146119d6578063802892691461193757806391d14854146118ee57806393512617146118a9578063a217fddf1461188d578063a3d1b21d1461183d578063ad3cb1cc146117f4578063ae09b9c714611496578063bc8e939f14611271578063c4d66de81461112a578063c57e91d714610c6e578063d3fc564914610b5d578063d547741f14610b16578063d8b273f6146107fc578063e6b26a4a146107a8578063f3fa30ef1461027a578063f5b541a6146102525763fbb61d7d1461019a575f80fd5b3461023f57608036600319011261023f57806101b4613a4d565b6101bc613a63565b906044356001600160401b03811161024d576101dc903690600401613b24565b906101e56143d0565b6001600160a01b031691823b1561024d5761021d92849283604051809681958294632590ce8b60e11b8452606435916004850161436d565b03925af180156102425761022e5750f35b8161023891613ae8565b61023f5780f35b80fd5b6040513d84823e3d90fd5b505050fd5b503461023f578060031936011261023f5760206040515f516020614b735f395f51905f528152f35b503461023f5761028936613d55565b9693979495926040519861029c8a613ab9565b868a5260208a019787895260408b019088825260608c01978989526102bf6143d0565b6040516338d52e0f60e01b81526001600160a01b039190911690602081600481855afa90811561079d578b9161077e575b506040516370a0823160e01b81526001600160a01b0393841660048201819052999093909116602084602481845afa938415610666578c94610749575b50926020602494604051958680926370a0823160e01b82528760048301525afa938415610666578c94610715575b508087111561070e5761036e81886142a2565b935b8461053c575b50505050506040519063e4182b0960e01b82526020826004818a5afa9182156105315789926104fa575b50936103c49160409552845195869485946311e918cb60e01b8652600486016142d9565b038187865af180156104ef5791602091600493869187916104be575b508752885260405163e4182b0960e01b815292839182905afa9283156104b2579261047a575b505251106104225761041e9060405191829182613bad565b0390f35b60405162461bcd60e51b815260206004820152603f60248201527f5661756c745632416c6c6f6361746f722e616c6c6f63617465546f6b656e3a2060448201525f516020614b335f395f51905f526064820152608490fd5b9091506020813d6020116104aa575b8161049660209383613ae8565b810103126104a65751905f610406565b5f80fd5b3d9150610489565b604051903d90823e3d90fd5b90506104e2915060403d6040116104e8575b6104da8183613ae8565b8101906142c3565b5f6103e0565b503d6104d0565b6040513d86823e3d90fd5b9150936020823d602011610529575b8161051660209383613ae8565b810103126104a6579051909360406103a0565b3d9150610509565b6040513d8b823e3d90fd5b81018091116106fa57808711156106f35761055790876142a2565b60405163ad468d1160e01b8152602081600481875afa9081156106e8578d916106b9575b50811515806106a7575b6105ee575b5050813b156105ea57918a916105b79383604051809681958294635c9ce04d60e01b845260048401613e3e565b03925af18015610531579089916105d1575b808080610376565b816105db91613ae8565b6105e657875f6105c9565b8780fd5b8a80fd5b6040516305c0524560e31b8152908d82600481885afa91821561069a578e8093610675575b5050843b1561067157908d9161063d6040519485938493632590ce8b60e11b85526004850161436d565b038183875af1801561066657908c911561058a578161065b91613ae8565b6105ea578a5f61058a565b6040513d8e823e3d90fd5b8d80fd5b6106929293503d8091833e61068a8183613ae8565b81019061430b565b905f8e610613565b8e604051903d90823e3d90fd5b506001600160a01b0381161515610585565b6106db915060203d6020116106e1575b6106d38183613ae8565b810190614283565b5f61057b565b503d6106c9565b6040513d8f823e3d90fd5b508a610557565b634e487b7160e01b8c52601160045260248cfd5b8b93610370565b9093506020813d602011610741575b8161073160209383613ae8565b810103126104a65751925f61035b565b3d9150610724565b93506020843d602011610776575b8161076460209383613ae8565b810103126104a657925192602061032d565b3d9150610757565b610797915060203d6020116106e1576106d38183613ae8565b5f6102f0565b6040513d8d823e3d90fd5b503461023f57806107b836613c26565b936107c49291926143d0565b6001600160a01b031690813b156107f85785809461021d6040519788968795869463848802f360e01b865260048601613e63565b8580fd5b503461023f5761012036600319011261023f57610817613a4d565b61081f613a63565b610827613a8d565b836064356001600160401b038111610b1257610847903690600401613c93565b929094610852613aa3565b9360a4356001600160401b038111610b0e57610872903690600401613c93565b61087a613b6a565b60e435979092906001600160a01b03891689036105e6576040519a6004958960608e6108a581613ab9565b82815282602082015282604082015201526108be6143d0565b895c6001600160a01b0319166001600160a01b038916178a5d6001805c6001600160a01b0319166001600160a01b038e1617905d60208c6040519889809263e4182b0960e01b825260018060a01b03165afa8015610b03578c978b91610abc575b506109bd979694926109af9694926109749260045d6040519b8c99636c5939fb60e11b60208c015260018060a01b031660408b015260018060a01b031660608a015261012060808a0152610140890191613ea0565b6001600160a01b0394851660a08801528b851660c08801526101043560e08801529316610100860152848303601f1901610120860152613ea0565b03601f198101845283613ae8565b6001600160a01b0381163b15610ab85760405163701195a160e11b81529384928391859183916109ff919061010435906001600160a01b031660048501613e17565b03926001600160a01b03165af180156104ef57610aa3575b5091602060049360025c845260035c82850152845c60408501526040519485809263e4182b0960e01b825260018060a01b03165afa9081156104b25790610a6f575b61041e9250606082015260405191829182613bad565b506020823d602011610a9b575b81610a8960209383613ae8565b810103126104a65761041e9151610a59565b3d9150610a7c565b610aae848092613ae8565b610ab8575f610a17565b8280fd5b9750509391985093916020863d602011610afb575b81610ade60209383613ae8565b810103126104a65794518c988b96939592949092916109bd61091f565b3d9150610ad1565b6040513d8c823e3d90fd5b8480fd5b5080fd5b503461023f57604036600319011261023f57610b59600435610b36613a63565b90610b54610b4f825f525f602052600160405f20015490565b614479565b614799565b5080f35b503461023f5760c036600319011261023f5780610b78613a4d565b610b80613a63565b6044356001600160401b03811161024d57610b9f903690600401613b24565b91610ba8613b97565b916084356001600160401b0381116107f857610bc8903690600401613b24565b9360a43592610bd56143d0565b6001600160a01b031691823b15610c6a57604051632590ce8b60e11b815291879183918291610c099188916004850161436d565b038183865af1908115610c5f578691610c4a575b5050803b15610b0e5761021d9385809460405196879586948593635c9ce04d60e01b85526004850161436d565b81610c5491613ae8565b610b0e57845f610c1d565b6040513d88823e3d90fd5b8680fd5b503461023f576101c036600319011261023f57610c89613a4d565b610c91613a63565b9082610c9b613a8d565b6064356001600160401b038111610ab857610cba903690600401613b24565b92610cc3613aa3565b9360a4356001600160401b038111610b0e57610ce3903690600401613b24565b90610cec613b6a565b610cf4613b80565b61014435976001600160a01b03891689036105e65761018435916001600160a01b0383168303611126576101a4356001600160401b038111611122576004968c93610d438c9336908b01613b24565b97836060604051610d5381613ab9565b8281528260208201528260408201520152610d6c6143d0565b610124359560e4359460209190805c6001600160a01b0319166001600160a01b038f1617905d6001805c6001600160a01b0319166001600160a01b03831617905d60405163e4182b0960e01b81529b8c9182906001600160a01b03165afa80156106e8578f9a8e916110e9575b5060045d610124355f1914611068575b60e4355f1914610fe7575b6040805163c57e91d760e01b60208201526001600160a01b039b8c16918101919091529b90991660608c01526101c060808c01528a98610e39906101e08b0190613d31565b6001600160a01b0390911660a08a0152888103601f190160c08a0152610e5e91613d31565b6001600160a01b0395861660e08901526101008801919091529084166101208701526101408601919091528883166101608601526101643561018086015291166101a0840152828103601f19016101c0840152610eba91613d31565b03601f1981018352610ecc9083613ae8565b6001600160a01b0381163b15610ab85760405163701195a160e11b8152938492839185918391610f0e919061016435906001600160a01b031660048501613e17565b03926001600160a01b03165af18015610fdc57610fc7575b5060405163e4182b0960e01b81529160025c916004805c9160035c9160209187919082906001600160a01b03165afa9283156104b25792610f91575b61041e945060405193610f7485613ab9565b845260208401526040830152606082015260405191829182613bad565b91506020843d602011610fbf575b81610fac60209383613ae8565b810103126104a65761041e935191610f62565b3d9150610f9f565b610fd2838092613ae8565b610b12575f610f26565b6040513d85823e3d90fd5b60405163075300a160e01b8152995092506020898c818061100c8c8960048401613def565b03916001600160a01b03165afa8015610666578e998d9161102f575b5092610df4565b9950509a506020883d602011611060575b8161104d60209383613ae8565b810103126104a6578d9a8d98515f611028565b3d9150611040565b604051630b78039760e31b8152995094506020898c818061108d898b60048401613def565b03916001600160a01b03165afa8015610666578e998d916110b0575b5094610de9565b9950509a506020883d6020116110e1575b816110ce60209383613ae8565b810103126104a6578d9a8d98515f6110a9565b3d91506110c1565b9a50509b506020893d60201161111a575b8161110760209383613ae8565b810103126104a6578e9b8e99515f610dd9565b3d91506110fa565b8980fd5b8880fd5b503461023f57602036600319011261023f57611144613a4d565b5f516020614bb35f395f51905f52549060ff8260401c1615916001600160401b03811680159081611269575b600114908161125f575b159081611256575b506112475767ffffffffffffffff1981166001175f516020614bb35f395f51905f52556111c091908361121b575b506111ba81614536565b506144b1565b506111c85780f35b60ff60401b195f516020614bb35f395f51905f5254165f516020614bb35f395f51905f52557fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2602060405160018152a180f35b68ffffffffffffffffff191668010000000000000001175f516020614bb35f395f51905f52555f6111b0565b63f92ee8a960e01b8452600484fd5b9050155f611182565b303b15915061117a565b849150611170565b503461023f5760e036600319011261023f5761128b613a4d565b90611294613a63565b9061129d613a8d565b926112a6613aa3565b9360a4356001600160401b038111611492576112c6903690600401613b24565b94604051956112d487613ab9565b8487526020870195858752604088019386855260608901958787526112f76143d0565b60405163e4182b0960e01b81526001600160a01b0391909116956020826004818a5afa91821561053157899261145b575b5093611350916040955284519586948594630957e04760e31b86526064359160048701614397565b038187865af180156104ef57916020916004938691879161143a575b508752875260405163e4182b0960e01b815292839182905afa9283156104b25792611406575b505260c4359051106113ae5761041e9060405191829182613bad565b60405162461bcd60e51b815260206004820152603f60248201527f5661756c745632416c6c6f6361746f722e7265616c6c6f63617465426f783a2060448201525f516020614b335f395f51905f526064820152608490fd5b9091506020813d602011611432575b8161142260209383613ae8565b810103126104a65751905f611392565b3d9150611415565b9050611455915060403d6040116104e8576104da8183613ae8565b5f61136c565b9150936020823d60201161148a575b8161147760209383613ae8565b810103126104a657905190936040611328565b3d915061146a565b8380fd5b503461023f576114a536613d55565b9294909693604051976114b789613ab9565b89895260208901968a885260408a01928b84528b60608c01958187526114db6143d0565b60405163e4182b0960e01b81526001600160a01b039190911695906020816004818a5afa9283156104b257926117bd575b50936115309160409552845197889485946313a8a0f760e21b8652600486016142d9565b03818c855af1908115610531576004936020928b918c9161179c575b508852895260405163e4182b0960e01b815293849182905afa91821561179157889261175d575b50528251106116e85781516001600160a01b0390911692859190843b15610ab857604051632590ce8b60e11b8152918391839182916115b6919060048401613e3e565b038183885af18015610242576116d3575b505060405163ad468d1160e01b815291602083600481845afa9283156116c85785936116a7575b506001600160a01b03831661160c575b6040518061041e8682613bad565b6040516305c0524560e31b815285929091908383600481855afa9283156104ef57849361168b575b505191813b1561149257836116609560405196879586948593635c9ce04d60e01b85526004850161436d565b03925af18015610fdc57611676575b80806115fe565b611681838092613ae8565b610b12578161166f565b6116a09193503d8086833e61068a8183613ae8565b915f611634565b6116c191935060203d6020116106e1576106d38183613ae8565b915f6115ee565b6040513d87823e3d90fd5b816116dd91613ae8565b61149257835f6115c7565b60405162461bcd60e51b815260206004820152604160248201527f5661756c745632416c6c6f6361746f722e6465616c6c6f63617465546f6b656e60448201527f3a205265636569766564206c657373207468616e206d696e20657870656374656064820152601960fa1b608482015260a490fd5b9091506020813d602011611789575b8161177960209383613ae8565b810103126104a65751905f611573565b3d915061176c565b6040513d8a823e3d90fd5b90506117b7915060403d6040116104e8576104da8183613ae8565b5f61154c565b9150936020823d6020116117ec575b816117d960209383613ae8565b810103126104a65790519093604061150c565b3d91506117cc565b503461023f578060031936011261023f575061041e604051611817604082613ae8565b60058152640352e302e360dc1b6020820152604051918291602083526020830190613d31565b503461023f578061184d36613c26565b936118599291926143d0565b6001600160a01b031690813b156107f85785809461021d6040519788968795869463f5cc819560e01b865260048601613e63565b503461023f578060031936011261023f57602090604051908152f35b503461023f57604036600319011261023f576118c3613a4d565b6024358015158103610ab8576118d7614819565b156118e557610b59906144b1565b610b5990614708565b503461023f57604036600319011261023f57604061190a613a63565b91600435815280602052209060018060a01b03165f52602052602060ff60405f2054166040519015158152f35b503461023f57604036600319011261023f57611951613a4d565b9060206001600160a01b03611964613a63565b6040516370a0823160e01b81526001600160a01b03909516600486015284916024918391165afa9081156104b257906119a3575b602090604051908152f35b506020813d6020116119ce575b816119bd60209383613ae8565b810103126104a65760209051611998565b3d91506119b0565b503461023f576119e536613cc0565b94916040969394919651966119f988613ab9565b8488526020880195858752604089019386855260608a0195878752611a1c6143d0565b60405163e4182b0960e01b81526001600160a01b0391909116956020826004818a5afa918215610531578992611b8b575b5093611a719160409552845195869485946311e918cb60e01b8652600486016142d9565b038187865af180156104ef579160209160049386918791611b6a575b508752885260405163e4182b0960e01b815292839182905afa9283156104b25792611b36575b50525110611acb5761041e9060405191829182613bad565b60405162461bcd60e51b815260206004820152603d60248201527f5661756c745632416c6c6f6361746f722e616c6c6f63617465426f783a20526560448201527f636569766564206c657373207468616e206d696e2065787065637465640000006064820152608490fd5b9091506020813d602011611b62575b81611b5260209383613ae8565b810103126104a65751905f611ab3565b3d9150611b45565b9050611b85915060403d6040116104e8576104da8183613ae8565b5f611a8d565b9150936020823d602011611bba575b81611ba760209383613ae8565b810103126104a657905190936040611a4d565b3d9150611b9a565b503461023f57611bd136613cc0565b9491604096939491965196611be588613ab9565b8488526020880195858752604089019386855260608a0195878752611c086143d0565b60405163e4182b0960e01b81526001600160a01b0391909116956020826004818a5afa918215610531578992611d64575b5093611c5d9160409552845195869485946313a8a0f760e21b8652600486016142d9565b038187865af180156104ef579160209160049386918791611d43575b508752885260405163e4182b0960e01b815292839182905afa9283156104b25792611d0f575b50525110611cb75761041e9060405191829182613bad565b60405162461bcd60e51b815260206004820152603f60248201527f5661756c745632416c6c6f6361746f722e6465616c6c6f63617465426f783a2060448201525f516020614b335f395f51905f526064820152608490fd5b9091506020813d602011611d3b575b81611d2b60209383613ae8565b810103126104a65751905f611c9f565b3d9150611d1e565b9050611d5e915060403d6040116104e8576104da8183613ae8565b5f611c79565b9150936020823d602011611d93575b81611d8060209383613ae8565b810103126104a657905190936040611c39565b3d9150611d73565b503461023f5760c036600319011261023f57611db5613a4d565b90611dbe613a63565b91611dc7613a8d565b92611dd0613b97565b926084356001600160401b038111610b1257611df0903690600401613b24565b9160405194611dfe86613ab9565b8286526020860194838652836040880152836060880152611e1d6143d0565b6040516338d52e0f60e01b81526001600160a01b03919091169490602081600481895afa9081156116c85785916122f7575b506040516370a0823160e01b81523060048201526001600160a01b03918216999094918116929091602086602481875afa9081156122ec5787916122b7575b6040516370a0823160e01b815230600482015296506020876024818f5afa968715611791578897612283575b506001600160a01b0316803b156105e65787809160246040518094819363bc25cf7760e01b83528a60048401525af180156117915790889161226e575b50506040516370a0823160e01b815230600482015290602082602481885afa801561179157889061223a575b611f2d92506142a2565b9384156121d5578a840361207e575b5050505050604051916370a0823160e01b83523060048401526020836024818a5afa9081156104b2579061204a575b611f7592506142a2565b80835280845260a43511611fd157905160405163a9059cbb60e01b60208201526001600160a01b039092166024830152604482015261041e92611fc59190611fc082606481016109af565b614a49565b60405191829182613bad565b60405162461bcd60e51b815260206004820152604560248201527f5661756c745632416c6c6f6361746f722e7265696e76657374536b696d41646160448201527f707465723a205265636569766564206c657373207468616e206d696e206578706064820152641958dd195960da1b608482015260a490fd5b506020823d602011612076575b8161206460209383613ae8565b810103126104a657611f759151611f6b565b3d9150612057565b6001600160a01b03169361209381868561461c565b843b15610c6a5786908b6120d360405194859384936316dbcdbf60e21b855289600486015260248501526044840152608060648401526084830190613d31565b038183885af18015610c5f579086916121c0575b50506040519185806020850163095ea7b360e01b815286602487015281604487015260448652612118606487613ae8565b85519082855af190612128614a02565b8261218e575b5081612183575b5015612143575b8080611f3c565b611fc061217b936040519063095ea7b360e01b6020830152602482015286604482015260448152612175606482613ae8565b82614a49565b5f808061213c565b90503b15155f612135565b805191925081159182156121a6575b5050905f61212e565b6121b99250602080918301019101614a31565b5f8061219d565b816121ca91613ae8565b610b0e57845f6120e7565b60405162461bcd60e51b815260206004820152603760248201527f5661756c745632416c6c6f6361746f722e7265696e76657374536b696d4164616044820152761c1d195c8e88139bc81d1bdad95b9cc81cdada5b5b5959604a1b6064820152608490fd5b506020823d602011612266575b8161225460209383613ae8565b810103126104a657611f2d9151611f23565b3d9150612247565b8161227891613ae8565b610c6a57865f611ef7565b9096506020813d6020116122af575b8161229f60209383613ae8565b810103126104a65751955f611eba565b3d9150612292565b90506020863d6020116122e4575b816122d260209383613ae8565b810103126104a6576024955190611e8e565b3d91506122c5565b6040513d89823e3d90fd5b612310915060203d6020116106e1576106d38183613ae8565b5f611e4f565b503461023f578060031936011261023f577f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316300361236e5760206040515f516020614b535f395f51905f528152f35b63703e46dd60e11b8152600490fd5b50604036600319011261023f57612392613a4d565b906024356001600160401b038111610b12576123b2903690600401613b24565b6001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016308114908115612540575b50612531576123f4614819565b6040516352d1902d60e01b8152926001600160a01b0381169190602085600481865afa809585966124fd575b5061243957634c9c8ce360e01b84526004839052602484fd5b9091845f516020614b535f395f51905f5281036124eb5750813b156124d9575f516020614b535f395f51905f5280546001600160a01b031916821790557fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b8480a281518390156124bf5780836020610b5995519101845af46124b9614a02565b91614ab4565b505050346124ca5780f35b63b398979f60e01b8152600490fd5b634c9c8ce360e01b8452600452602483fd5b632a87526960e21b8552600452602484fd5b9095506020813d602011612529575b8161251960209383613ae8565b81010312610b0e5751945f612420565b3d915061250c565b63703e46dd60e11b8252600482fd5b5f516020614b535f395f51905f52546001600160a01b0316141590505f6123e7565b503461023f578061257236613c26565b9361257e9291926143d0565b6001600160a01b031690813b156107f85785809461021d6040519788968795869463adb04a3d60e01b865260048601613e63565b503461023f57604036600319011261023f576125cc613a63565b336001600160a01b038216036125e857610b5990600435614799565b63334bd91960e11b8252600482fd5b503461023f57604036600319011261023f576004356024356001600160401b038111610ab85761262b903690600401613c93565b9190835c6001600160a01b03163303612816578083859201602082820312610ab85761265682613bd7565b6001600160e01b031916636c5939fb60e11b8103612718575061267990826141e8565b50919a965050505050505b6001600160a01b03169161269985848861461c565b823b1561149257604051631ee81e6560e31b81526001600160a01b0387166004820152602481018690526060604482015292849284928391859183916126e491606484019190613ea0565b03925af1801561024257612703575b505061270091339061461c565b80f35b8161270d91613ae8565b610ab857825f6126f3565b632f5066dd60e01b810361274157506127319082614146565b50919b9750505050505050612684565b632c8c4f5360e01b8103612769575061275a90826140a0565b509b9750505050505050612684565b625cd1fb60e11b810361279557506127819082613fc1565b505050979c98505050505050505094612684565b90925063c57e91d760e01b036127c5576127b0859282613ed9565b505050989d9950505050505050505094612684565b60405162461bcd60e51b815260206004820152602360248201527f5661756c745632416c6c6f6361746f723a20496e76616c6964206f706572617460448201526234b7b760e91b6064820152608490fd5b637e5f4b6160e01b8452600484fd5b503461023f5761014036600319011261023f57612840613a4d565b612848613a63565b612850613a8d565b836064356001600160401b038111610b1257612870903690600401613c93565b92909461287b613aa3565b9560a4356001600160401b038111610b0e5760609761289f60049236908401613c93565b906128a8613b6a565b926128b1613b80565b95896040519d8e6128c181613ab9565b82815282602082015282604082015201526128da6143d0565b61012435968a5c6001600160a01b0319166001600160a01b038a16178b5d6001805c6001600160a01b0319166001600160a01b038f1617905d60208d6040519889809263e4182b0960e01b825260018060a01b03165afa801561079d578d978c91612ab8575b5060045d610124355f1914612a29575b60408051632f5066dd60e01b60208201526001600160a01b039889169181019190915299871660608b015261014060808b0152909516996129f79589956129e99590949093909290916129a891610160890191613ea0565b6001600160a01b0394851660a088015260e43560c088015260e087018d905261010087018990529316610120860152848303601f1901610140860152613ea0565b03601f198101855284613ae8565b6001600160a01b0382163b1561149257836109ff956040519687958694859363701195a160e11b855260048501613e17565b604051630b78039760e31b8152909750955060208680612a4e8a8f8660048501613ec0565b03816001600160a01b038d165afa8015610b03578c968b91612a72575b5096612950565b95939a5050929094506020843d602011612ab0575b81612a9460209383613ae8565b810103126104a65792518c988b959294939092916129a8612a6b565b3d9150612a87565b97505099506020863d602011612ae9575b81612ad660209383613ae8565b810103126104a6578d998c96515f612940565b3d9150612ac9565b503461023f57604036600319011261023f57610b59600435612b11613a63565b90612b2a610b4f825f525f602052600160405f20015490565b6145a7565b503461023f5761014036600319011261023f5780612b4b613a4d565b612b53613a63565b90612b5c613a8d565b6064356001600160401b038111610b0e57612b7b903690600401613c93565b9290612b85613aa3565b60a435926001600160401b0384116105e657612ba688943690600401613c93565b612bb1939193613b6a565b9360e43595612bbe613b80565b6101243597612bcb6143d0565b979b6001600160a01b03909616988c98968791805c6001600160a01b0319168c17905d6001600160a01b0316986001805c6001600160a01b0319168b17905d5f1914612d7b575b5f1914612cec575b91612c6c612c8d9492612cc1999897969460018060a01b03169c6040519c8d9a632c8c4f5360e01b60208d015260408c015260018060a01b031660608b015261014060808b01526101608a0191613ea0565b6001600160a01b0390931660a0880152868303601f190160c0880152613ea0565b6001600160a01b0390921660e08401526101008301526101208201869052610140820187905203601f198101845283613ae8565b803b15610b0e5761021d938580946040519687958694859363701195a160e11b855260048501613e17565b60405163075300a160e01b815290955060208180612d0f8a8f8760048501613ec0565b03816001600160a01b038e165afa9081156106e8578d91612d32575b5094612c1a565b97969594929c5050916020873d602011612d73575b81612d5460209383613ae8565b810103126104a65795518c9b9596949593949193919290612c6c612d2b565b3d9150612d47565b9b50612da26020828c8e604051809581948293630b78039760e31b84528a60048501613ec0565b03916001600160a01b03165afa90811561069a578e91612dc4575b509b612c12565b9d505060208d3d602011612df1575b81612de060209383613ae8565b810103126104a6578d9c515f612dbd565b3d9150612dd3565b503461023f57606036600319011261023f57612e13613a4d565b506044356001600160401b038111610b1257612e33903690600401613c93565b60015c6001600160a01b031633036134a55782908201602083820312610b12576001600160e01b0319612e6584613bd7565b1692636c5939fb60e11b840361301157612e809293506141e8565b6040516370a0823160e01b81523360048201529398509196509394936001600160a01b0384169190602084602481865afa938415610b03578a94612fd2575b5091612ed388868b60209560249733614894565b6040516370a0823160e01b815233600482015292839182905afa908115611791578891612f99575b5090612f06916142a2565b90333b15610c6a5760405163848802f360e01b815291879183918291612f329190888860048601613e63565b038183335af1908115610c5f578691612f84575b5050333b15610b0e57612f6f8593604051958694859463f5cc819560e01b865260048601613e63565b038183335af180156102425761022e57505080f35b81612f8e91613ae8565b610b0e57845f612f46565b919750506020813d602011612fca575b81612fb660209383613ae8565b810103126104a65751879690612f06612efb565b3d9150612fa9565b9192995092506020813d602011613009575b81612ff160209383613ae8565b810103126104a6575189989092909190612ed3612ebf565b3d9150612fe4565b632f5066dd60e01b84036130e45761302a929350614146565b95939850989395919650333b15611492578361305d916040518093819263adb04a3d60e01b83528b888860048601613e63565b038183335af19081156104ef5784916130cf575b5050333b15610ab8578491839161309d8960405195869485946310dc411b60e11b865260048601613e63565b038183335af18015610242576130ba575b50506127009433614894565b816130c491613ae8565b6107f857855f6130ae565b816130d991613ae8565b610ab857825f613071565b632c8c4f5360e01b84036131d8576130fd9293506140a0565b975097509293909194333b156111265760405163adb04a3d60e01b815289818061312d8b8d888860048601613e63565b038183335af1908115610b03578a916131c3575b5050333b15611126578291899161316d8660405195869485946310dc411b60e11b865260048601613e63565b038183335af19081156117915788916131ae575b5050333b15610c6a5760405163848802f360e01b815291879183918291612f329190888860048601613e63565b816131b891613ae8565b610c6a57865f613181565b816131cd91613ae8565b61112657885f613141565b625cd1fb60e11b8403613336576131f0929350613fc1565b95939798929b509598909950333b1561331d576132268c8b8d604051938492839263adb04a3d60e01b8452888860048601613e63565b038183335af19081156106e8578d91613321575b5050333b1561331d5782918c916132668660405195869485946310dc411b60e11b865260048601613e63565b038183335af190811561079d578b91613308575b50506040516370a0823160e01b8152336004820152936001600160a01b0386169390602086602481885afa958615610666578c966132c7575b50928660249593612ed39360209633614894565b9492939b5094506020843d602011613300575b816132e760209383613ae8565b810103126104a65792518b9a90949193909291866132b3565b3d91506132da565b8161331291613ae8565b61112257895f61327a565b8b80fd5b8161332b91613ae8565b61331d578b5f61323a565b909290915063c57e91d760e01b036127c557829161335391613ed9565b6040516370a0823160e01b8152336004820152939d50919b5096999798949795969495946001600160a01b0385169190602084602481865afa938415613498578f94613459575b50916133af8d8f889060209560249733614894565b6040516370a0823160e01b815233600482015292839182905afa9081156106e8578d91613420575b50906133e2916142a2565b818111156134185750905b333b156105ea5760405163adb04a3d60e01b8152918b918391829161312d9190888860048601613e63565b9050906133ed565b919c50506020813d602011613451575b8161343d60209383613ae8565b810103126104a657518c9b906133e26133d7565b3d9150613430565b929e5092506020823d602011613490575b8161347760209383613ae8565b810103126104a65790518e9d90929091906133af61339a565b3d915061346a565b8f604051903d90823e3d90fd5b63e4705dc760e01b8352600483fd5b503461023f57602036600319011261023f5760206134df6004355f525f602052600160405f20015490565b604051908152f35b503461023f57806134f736613c26565b936135039291926143d0565b6001600160a01b031690813b156107f85785809461021d604051978896879586946310dc411b60e11b865260048601613e63565b503461023f578061354736613bec565b916135506143d0565b6001600160a01b031691823b1561024d5761021d92849283604051809681958294632590ce8b60e11b845260048401613e3e565b503461023f578061359436613bec565b9161359d6143d0565b6001600160a01b031691823b1561024d5761021d92849283604051809681958294635c9ce04d60e01b845260048401613e3e565b503461023f57602036600319011261023f5760043563ffffffff60e01b8116809103610b1257602090637965db0b60e01b8114908115613617575b506040519015158152f35b6301ffc9a760e01b1490508261360c565b50346104a6576101a03660031901126104a657613643613a4d565b61364b613a63565b613653613a8d565b926064356001600160401b0381116104a657613673903690600401613b24565b9261367c613aa3565b9460a4356001600160401b0381116104a65761369c903690600401613b24565b936136a5613b6a565b9660e435976136b2613b80565b610124356001600160a01b03811696909391908785036104a6576101443599610164356001600160a01b03811694908590036104a657610184359c6001600160401b038e116104a6578e9d61370b903690600401613b24565b9760405161371881613ab9565b5f8152602081015f9052604081015f90526060015f90526137376143d0565b9c9d8e9d6001600160a01b03909516999094905f805c6001600160a01b0319168c17905d6001600160a01b03169d8e6001805c6001600160a01b0319168217905d60405180809263e4182b0960e01b82525a92600491602094fa90811561390d575f91613a1b575b5060045d5f1914613994575b508c9d9e5f9d999a9b9c9d1914613918575b6040519a8b99625cd1fb60e11b60208c015260408b0152600160a01b600190031660608a0152608089016101a090526101c089016137fa91613d31565b6001600160a01b0390911660a0890152878103601f190160c089015261381f91613d31565b6001600160a01b0394851660e08801526101008701919091529216610120850152610140840187905261016084018a9052610180840152828103601f19016101a084015261386c91613d31565b03601f198101835261387e9083613ae8565b803b156104a6576138a9955f80946040519889958694859363701195a160e11b855260048501613e17565b03925af192831561390d576004936138fa575b5060025c9160035c6020855c926040519687809263e4182b0960e01b82525afa9283156104b25792610f915761041e945060405193610f7485613ab9565b61390691505f90613ae8565b5f5f6138bc565b6040513d5f823e3d90fd5b60405163075300a160e01b8152985092506020888061393b898760048401613def565b03816001600160a01b038e165afa801561390d578d985f9161395f575b50926137bd565b9850506020883d60201161398c575b8161397b60209383613ae8565b810103126104a6578c97515f613958565b3d915061396e565b8a9b9c9d9e506020906139be9a9b60405180809d8194630b78039760e31b83528760048401613def565b03916001600160a01b03165afa801561390d578e995f916139e6575b509d9c9b9a99986137ab565b9950506020893d602011613a13575b81613a0260209383613ae8565b810103126104a6578d98515f6139da565b3d91506139f5565b90506020813d602011613a45575b81613a3660209383613ae8565b810103126104a657515f61379f565b3d9150613a29565b600435906001600160a01b03821682036104a657565b602435906001600160a01b03821682036104a657565b35906001600160a01b03821682036104a657565b604435906001600160a01b03821682036104a657565b608435906001600160a01b03821682036104a657565b608081019081106001600160401b03821117613ad457604052565b634e487b7160e01b5f52604160045260245ffd5b90601f801991011681019081106001600160401b03821117613ad457604052565b6001600160401b038111613ad457601f01601f191660200190565b81601f820112156104a657803590613b3b82613b09565b92613b496040519485613ae8565b828452602083830101116104a657815f926020809301838601378301015290565b60c435906001600160a01b03821682036104a657565b61010435906001600160a01b03821682036104a657565b606435906001600160a01b03821682036104a657565b91909160608060808301948051845260208101516020850152604081015160408501520151910152565b35906001600160e01b0319821682036104a657565b60609060031901126104a6576004356001600160a01b03811681036104a657906024356001600160a01b03811681036104a6579060443590565b60a06003198201126104a6576004356001600160a01b03811681036104a657916024356001600160a01b03811681036104a65791604435906001600160401b0382116104a657613c7891600401613b24565b906064356001600160a01b03811681036104a6579060843590565b9181601f840112156104a6578235916001600160401b0383116104a657602083818601950101116104a657565b60c06003198201126104a6576004356001600160a01b03811681036104a657916024356001600160a01b03811681036104a65791604435916064356001600160a01b03811681036104a65791608435906001600160401b0382116104a657613d2a91600401613b24565b9060a43590565b805180835260209291819084018484015e5f828201840152601f01601f1916010190565b6101006003198201126104a6576004356001600160a01b03811681036104a657916024356001600160a01b03811681036104a657916044356001600160a01b03811681036104a657916064356001600160a01b03811681036104a657916084359160a4356001600160a01b03811681036104a6579160c435906001600160401b0382116104a657613de891600401613b24565b9060e43590565b90613e07602091949394604084526040840190613d31565b6001600160a01b03909416910152565b613e3b939260609260018060a01b0316825260208201528160408201520190613d31565b90565b92919060018060a01b03168352606060208401525f6060840152604060808401930152565b6001600160a01b03909116815260806020820181905292949392606092613e8c91830190613d31565b6001600160a01b0390951660408201520152565b908060209392818452848401375f828201840152601f01601f1916010190565b91602091613e0791959495604085526040850191613ea0565b9190916101c0818403126104a657613ef081613bd7565b92613efd60208301613a79565b92613f0a60408401613a79565b9260608101356001600160401b0381116104a65783613f2a918301613b24565b92613f3760808301613a79565b9260a08301356001600160401b0381116104a65782613f57918501613b24565b92613f6460c08201613a79565b9260e082013592613f786101008401613a79565b9261012081013592613f8d6101408301613a79565b9261016083013592613fa26101808201613a79565b926101a08201356001600160401b0381116104a657613e3b9201613b24565b906101a0828203126104a657613fd682613bd7565b92613fe360208401613a79565b92613ff060408201613a79565b9260608201356001600160401b0381116104a65781614010918401613b24565b9261401d60808401613a79565b9260a08101356001600160401b0381116104a6578361403d918301613b24565b9261404a60c08301613a79565b9260e08301359261405e6101008201613a79565b9261406c6101208301613a79565b92610140830135926140816101608201613a79565b926101808201356001600160401b0381116104a657613e3b9201613b24565b91610140838303126104a6576140b583613bd7565b926140c260208201613a79565b926140cf60408301613a79565b9260608301356001600160401b0381116104a657826140ef918501613b24565b926140fc60808201613a79565b9260a0820135906001600160401b0382116104a65761411c918301613b24565b9161412960c08301613a79565b9160e0810135916101206141406101008401613a79565b92013590565b90610140828203126104a65761415b82613bd7565b9261416860208401613a79565b9261417560408201613a79565b9260608201356001600160401b0381116104a65781614195918401613b24565b926141a260808401613a79565b9260a0810135926141b560c08301613a79565b9260e0830135926141c96101008201613a79565b926101208201356001600160401b0381116104a657613e3b9201613b24565b91610120838303126104a6576141fd83613bd7565b9261420a60208201613a79565b9261421760408301613a79565b9260608301356001600160401b0381116104a65782614237918501613b24565b9261424460808201613a79565b9261425160a08301613a79565b9260c08301359261426460e08201613a79565b926101008201356001600160401b0381116104a657613e3b9201613b24565b908160209103126104a657516001600160a01b03811681036104a65790565b919082039182116142af57565b634e487b7160e01b5f52601160045260245ffd5b91908260409103126104a6576020825192015190565b6001600160a01b03918216815260208101929092529091166040820152608060608201819052613e3b92910190613d31565b6020818303126104a6578051906001600160401b0382116104a6570181601f820112156104a65780519061433e82613b09565b9261434c6040519485613ae8565b828452602083830101116104a657815f9260208093018386015e8301015290565b9392916143929060409260018060a01b03168652606060208701526060860190613d31565b930152565b6001600160a01b039182168152918116602083015260408201929092529116606082015260a060808201819052613e3b92910190613d31565b335f9081525f516020614b935f395f51905f52602052604090205460ff168015614455575b156143fc57565b60405162461bcd60e51b815260206004820152602b60248201527f5661756c745632416c6c6f6361746f723a2043616c6c6572206973206e6f742060448201526a30b71037b832b930ba37b960a91b6064820152608490fd5b50335f9081525f516020614bd35f395f51905f52602052604090205460ff166143f5565b5f8181526020818152604080832033845290915290205460ff161561449b5750565b63e2517d3f60e01b5f523360045260245260445ffd5b6001600160a01b0381165f9081525f516020614b935f395f51905f52602052604090205460ff16614531576001600160a01b03165f8181525f516020614b935f395f51905f5260205260408120805460ff191660011790553391905f516020614b735f395f51905f52905f516020614b135f395f51905f529080a4600190565b505f90565b6001600160a01b0381165f9081525f516020614bd35f395f51905f52602052604090205460ff16614531576001600160a01b03165f8181525f516020614bd35f395f51905f5260205260408120805460ff191660011790553391905f516020614b135f395f51905f528180a4600190565b5f818152602081815260408083206001600160a01b038616845290915290205460ff16614616575f818152602081815260408083206001600160a01b0395909516808452949091528120805460ff19166001179055339291905f516020614b135f395f51905f529080a4600190565b50505f90565b60405163095ea7b360e01b602082019081526001600160a01b03841660248301526044820194909452919261465483606481016129e9565b82516001600160a01b038316915f91829182855af190614672614a02565b826146d6575b50816146cb575b501561468a57505050565b60405163095ea7b360e01b60208201526001600160a01b0390931660248401525f60448085019190915283526146c992611fc090612175606482613ae8565b565b90503b15155f61467f565b805191925081159182156146ee575b5050905f614678565b6147019250602080918301019101614a31565b5f806146e5565b6001600160a01b0381165f9081525f516020614b935f395f51905f52602052604090205460ff1615614531576001600160a01b03165f8181525f516020614b935f395f51905f5260205260408120805460ff191690553391905f516020614b735f395f51905f52907ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9080a4600190565b5f818152602081815260408083206001600160a01b038616845290915290205460ff1615614616575f818152602081815260408083206001600160a01b0395909516808452949091528120805460ff19169055339291907ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9080a4600190565b335f9081525f516020614bd35f395f51905f52602052604090205460ff161561483e57565b60405162461bcd60e51b815260206004820152602860248201527f5661756c745632416c6c6f6361746f723a2043616c6c6572206973206e6f742060448201526730b71030b236b4b760c11b6064820152608490fd5b6040516338d52e0f60e01b81529495929491936001600160a01b039091169291602081600481875afa90811561390d575f916149e3575b506001600160a01b0382811691160361494057505f604094956149038651978896879586946311e918cb60e01b8652600486016142d9565b03925af1801561390d575f915f9161491f575b5060035d60025d565b905061493a915060403d6040116104e8576104da8183613ae8565b5f614916565b946040516338d52e0f60e01b8152602081600481875afa90811561390d575f916149c4575b506001600160a01b0382811691160361499d57505f604094956149038651978896879586946313a8a0f760e21b8652600486016142d9565b9092945f90614903604096875198899788968795630957e04760e31b875260048701614397565b6149dd915060203d6020116106e1576106d38183613ae8565b5f614965565b6149fc915060203d6020116106e1576106d38183613ae8565b5f6148cb565b3d15614a2c573d90614a1382613b09565b91614a216040519384613ae8565b82523d5f602084013e565b606090565b908160209103126104a6575180151581036104a65790565b5f80614a719260018060a01b03169360208151910182865af1614a6a614a02565b9083614ab4565b8051908115159182614a99575b5050614a875750565b635274afe760e01b5f5260045260245ffd5b614aac9250602080918301019101614a31565b155f80614a7e565b90614ad85750805115614ac957805190602001fd5b630a12f52160e11b5f5260045ffd5b81511580614b09575b614ae9575090565b639996b31560e01b5f9081526001600160a01b0391909116600452602490fd5b50803b15614ae156fe2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d5265636569766564206c657373207468616e206d696e20657870656374656400360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc97667070c54ef182b0f5858b034beac1b6f3089aa2d3188bb1e8929f4fa9b929ee57cd81e84075558e8fcc182a1f4393f91fc97f963a136e66b7f949a62f319ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00ad3228b676f7d3cd4284a5443f17f1962b36e491b30a40b2405849e597ba5fb5a2646970667358221220f9f40c16890681a9fe88125c9bdd981a284c6496d6925f37d09ad8e12953dfa864736f6c634300081c0033","sourceMap":"1796:40536:22:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;1796:40536:22;;;;;;;:::i;:::-;;;:::i;:::-;;;;-1:-1:-1;;;;;1796:40536:22;;;;;;;;;;;:::i;:::-;4295:74;;;:::i;:::-;-1:-1:-1;;;;;1796:40536:22;;7300:39;;;;;;1796:40536;;;;;;;;;;;;;;;7300:39;;1796:40536;;7300:39;1796:40536;7300:39;;;:::i;:::-;;;;;;;;;;;1796:40536;;7300:39;;;;;:::i;:::-;1796:40536;;7300:39;1796:40536;;;;7300:39;1796:40536;;;;;;;;;7300:39;1796:40536;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;1796:40536:22;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;4295:74;;:::i;:::-;1796:40536;;-1:-1:-1;;;16341:13:22;;-1:-1:-1;;;;;1796:40536:22;;;;;;;;;;16341:13;;;;;;;;;;;1796:40536;-1:-1:-1;1796:40536:22;;-1:-1:-1;;;16389:32:22;;-1:-1:-1;;;;;1796:40536:22;;;;16389:32;;1796:40536;;;;;;;;;;;16389:32;1796:40536;;16389:32;;;;;;;;;;;1796:40536;;;;16389:32;1796:40536;;;;;;;;;;16456:34;;;1796:40536;16456:34;;1796:40536;16456:34;;;;;;;;;;;1796:40536;-1:-1:-1;16526:21:22;;;;;;16550;;;;:::i;:::-;16526:49;;16590:19;16586:621;;16526:49;1796:40536;;;;;;;;;;;17241:25;;1796:40536;17241:25;1796:40536;17241:25;;;;;;;;;;;;;16526:49;1796:40536;;17314:48;1796:40536;;;;;;;;;;;;;;17314:48;;1796:40536;17314:48;;;:::i;:::-;;;;;;;;;;;;1796:40536;17314:48;1796:40536;17314:48;;1796:40536;;17314:48;;;16526:49;-1:-1:-1;1796:40536:22;;;;;;-1:-1:-1;;;17396:25:22;;1796:40536;;;;;17396:25;;;;;;;;;;16526:49;1796:40536;;;17440:30;1796:40536;;;;;;;;;;;:::i;:::-;;;;;;;-1:-1:-1;;;1796:40536:22;;;;;;;;16389:32;1796:40536;;;;;;;;-1:-1:-1;;;;;;;;;;;1796:40536:22;;;;;;;17396:25;;;;1796:40536;17396:25;;1796:40536;17396:25;;;;;;1796:40536;17396:25;;;:::i;:::-;;;1796:40536;;;;;17396:25;;;;1796:40536;-1:-1:-1;1796:40536:22;;17396:25;;;-1:-1:-1;17396:25:22;;;1796:40536;;;;;;;;;;17314:48;;;;;;1796:40536;17314:48;1796:40536;17314:48;;;;;;;;:::i;:::-;;;;;:::i;:::-;;;;;;;;;;1796:40536;;;;;;;;;17241:25;;;;1796:40536;17241:25;;1796:40536;17241:25;;;;;;1796:40536;17241:25;;;:::i;:::-;;;1796:40536;;;;;;17241:25;;1796:40536;17241:25;;;;;-1:-1:-1;17241:25:22;;;1796:40536;;;;;;;;;16586:621;1796:40536;;;;;;;16724:27;;;;;;16754;;;;:::i;:::-;1796:40536;;-1:-1:-1;;;16932:24:22;;1796:40536;;;;16932:24;;;;;;;;;;;;16724:61;16974:20;;;;:54;;;16724:61;16970:168;;16724:61;17152:44;;;;;;;1796:40536;;;17152:44;1796:40536;;;;;;;;;;;;;17152:44;;1796:40536;17152:44;;;:::i;:::-;;;;;;;;;;;;;;16724:61;16586:621;;;;;17152:44;;;;;:::i;:::-;1796:40536;;17152:44;;;;1796:40536;;;;17152:44;1796:40536;;;16970:168;1796:40536;;-1:-1:-1;;;17083:21:22;;1796:40536;17083:21;1796:40536;;;17083:21;;;;;;;;;;;;;16970:168;17048:75;;;;;;;1796:40536;;;17048:75;1796:40536;;;;;;;;;;17048:75;;1796:40536;17048:75;;;:::i;:::-;;;;;;;;;;;;;;;16970:168;17048:75;;;;;:::i;:::-;1796:40536;;17048:75;;16970:168;;17048:75;1796:40536;;;;;;;;;17048:75;1796:40536;;;17083:21;;;;;;;;;;;;;;:::i;:::-;;;;;:::i;:::-;;;;;;;1796:40536;;;;;;;;;;;16974:54;-1:-1:-1;;;;;;1796:40536:22;;16998:30;;16974:54;;16932:24;;;;1796:40536;16932:24;1796:40536;16932:24;;;;;;;;:::i;:::-;;;;;:::i;:::-;;;;;;;;;;1796:40536;;;;;;;;;16724:61;;;;;1796:40536;-1:-1:-1;;;1796:40536:22;;;;;16389:32;1796:40536;;16526:49;;;;;16456:34;;;;1796:40536;16456:34;;1796:40536;16456:34;;;;;;1796:40536;16456:34;;;:::i;:::-;;;1796:40536;;;;;16456:34;;;;;;;-1:-1:-1;16456:34:22;;16389:32;;;1796:40536;16389:32;;1796:40536;16389:32;;;;;;1796:40536;16389:32;;;:::i;:::-;;;1796:40536;;;;;;;;16389:32;;;;;-1:-1:-1;16389:32:22;;16341:13;;;;1796:40536;16341:13;1796:40536;16341:13;;;;;;;:::i;:::-;;;;;1796:40536;;;;;;;;;;;;;;;;;;:::i;:::-;4295:74;;;;;;:::i;:::-;-1:-1:-1;;;;;1796:40536:22;;14483:74;;;;;1796:40536;;;14483:74;1796:40536;;;;;;;;;;;;14483:74;;1796:40536;14483:74;;;:::i;:::-;1796:40536;;;;;;;;;;-1:-1:-1;;1796:40536:22;;;;;;:::i;:::-;;;:::i;:::-;;;:::i;:::-;;;;-1:-1:-1;;;;;1796:40536:22;;;;;;;;;;;:::i;:::-;;;;;;:::i;:::-;;;;-1:-1:-1;;;;;1796:40536:22;;;;;;;;;;;:::i;:::-;;;:::i;:::-;;;;;;;-1:-1:-1;;;;;1796:40536:22;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;4295:74;;:::i;:::-;1796:40536;;-1:-1:-1;;;;;;1796:40536:22;-1:-1:-1;;;;;1796:40536:22;;;;;;;;-1:-1:-1;;;;;;1796:40536:22;-1:-1:-1;;;;;1796:40536:22;;;;;;;;;;;;;;;;20005:25;;1796:40536;;;;;;20005:25;;;;;;;;;;;;1796:40536;;20127:306;1796:40536;;;;;;;;;;;;;;33821:34;;;;;;1796:40536;20127:306;;1796:40536;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1;;;;;1796:40536:22;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;1796:40536:22;;;;;;:::i;:::-;20127:306;1796:40536;;20127:306;;;;;;:::i;:::-;-1:-1:-1;;;;;1796:40536:22;;20041:402;;;;1796:40536;;-1:-1:-1;;;20041:402:22;;1796:40536;;;;;;;;;20041:402;;1796:40536;;;;-1:-1:-1;;;;;1796:40536:22;;20041:402;;;:::i;:::-;;;-1:-1:-1;;;;;1796:40536:22;20041:402;;;;;;;;1796:40536;;;;;;20472:9;1796:40536;;;20509:9;1796:40536;;;;;;;;;;;;;;;;;;;;20600:25;;1796:40536;;;;;;20600:25;;;;;;;;;;1796:40536;;;;;;;;;;;;;;;:::i;20600:25::-;;1796:40536;20600:25;;1796:40536;20600:25;;;;;;1796:40536;20600:25;;;:::i;:::-;;;1796:40536;;;;;;;20600:25;;;;;-1:-1:-1;20600:25:22;;20041:402;;;;;;:::i;:::-;1796:40536;;20041:402;;;1796:40536;;;;20005:25;;;;;;;;;;1796:40536;20005:25;;1796:40536;20005:25;;;;;;1796:40536;20005:25;;;:::i;:::-;;;1796:40536;;;;;;;;;;20005:25;;;;1796:40536;;;20127:306;20005:25;;;;;-1:-1:-1;20005:25:22;;;1796:40536;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;1796:40536:22;;;;4747:26:1;1796:40536:22;;;;:::i;:::-;4717:18:1;2475:4;4717:18;;3901:6;1796:40536:22;3901:6:1;1796:40536:22;;3901:22:1;1796:40536:22;3901:6:1;1796:40536:22;3901:22:1;1796:40536:22;3810:120:1;;4717:18;2475:4;:::i;:::-;4747:26;:::i;:::-;;1796:40536:22;;;;;;;;;-1:-1:-1;;1796:40536:22;;;;;;;:::i;:::-;;;:::i;:::-;;;-1:-1:-1;;;;;1796:40536:22;;;;;;;;;;;:::i;:::-;;;;:::i;:::-;;;;-1:-1:-1;;;;;1796:40536:22;;;;;;;;;;;:::i;:::-;;;;4295:74;;;:::i;:::-;-1:-1:-1;;;;;1796:40536:22;;8047:47;;;;;1796:40536;;-1:-1:-1;;;8047:47:22;;1796:40536;;;;;;;8047:47;;1796:40536;;;8047:47;;;:::i;:::-;;;;;;;;;;;;;;;;1796:40536;8104:41;;;;;;;;1796:40536;;;;;;;;;;;;;;;;8104:41;;1796:40536;8104:41;;;:::i;8047:47::-;;;;;:::i;:::-;1796:40536;;8047:47;;;;;1796:40536;;;;;;;;;8047:47;1796:40536;;;;;;;;;;-1:-1:-1;;1796:40536:22;;;;;;:::i;:::-;;;:::i;:::-;;;;;:::i;:::-;;;-1:-1:-1;;;;;1796:40536:22;;;;;;;;;;;:::i;:::-;;;;:::i;:::-;;;;-1:-1:-1;;;;;1796:40536:22;;;;;;;;;;;:::i;:::-;;;;:::i;:::-;;;:::i;:::-;;;;-1:-1:-1;;;;;1796:40536:22;;;;;;;;;-1:-1:-1;;;;;1796:40536:22;;;;;;;;-1:-1:-1;;;;;1796:40536:22;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;4295:74;;:::i;:::-;1796:40536;;;;;;;;;;;-1:-1:-1;;;;;;1796:40536:22;-1:-1:-1;;;;;1796:40536:22;;;;;;;;-1:-1:-1;;;;;;1796:40536:22;-1:-1:-1;;;;;1796:40536:22;;;;;;;-1:-1:-1;;;29803:25:22;;1796:40536;;;;;-1:-1:-1;;;;;1796:40536:22;29803:25;;;;;;;;;;;;1796:40536;;;;;;-1:-1:-1;;29843:35:22;29839:145;;1796:40536;;;-1:-1:-1;;29997:37:22;29993:157;;1796:40536;;;;-1:-1:-1;;;1796:40536:22;30250:489;;1796:40536;-1:-1:-1;;;;;1796:40536:22;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1;;;;;1796:40536:22;;;;;;;;;;-1:-1:-1;;1796:40536:22;;;;;;;;:::i;:::-;-1:-1:-1;;;;;1796:40536:22;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;1796:40536:22;;;;;;;;:::i;:::-;30250:489;1796:40536;;30250:489;;;;;;;;:::i;:::-;-1:-1:-1;;;;;1796:40536:22;;30160:589;;;;1796:40536;;-1:-1:-1;;;30160:589:22;;1796:40536;;;;;;;;;30160:589;;1796:40536;;;;-1:-1:-1;;;;;1796:40536:22;;30160:589;;;:::i;:::-;;;-1:-1:-1;;;;;1796:40536:22;30160:589;;;;;;;;1796:40536;-1:-1:-1;1796:40536:22;;-1:-1:-1;;;30918:25:22;;1796:40536;30802:9;1796:40536;;;;;;30835:9;1796:40536;;;;;;;;;-1:-1:-1;;;;;1796:40536:22;30918:25;;;;;;;;;;1796:40536;;;;;;;;;;:::i;:::-;;;;30767:187;;1796:40536;;30767:187;;1796:40536;;30767:187;;1796:40536;;;;;;;;:::i;30918:25::-;;;1796:40536;30918:25;;1796:40536;30918:25;;;;;;1796:40536;30918:25;;;:::i;:::-;;;1796:40536;;;;;;;30918:25;;;;;;-1:-1:-1;30918:25:22;;30160:589;;;;;;:::i;:::-;1796:40536;;30160:589;;;;1796:40536;;;;;;;;;29993:157;1796:40536;;-1:-1:-1;;;30069:70:22;;1796:40536;-1:-1:-1;1796:40536:22;-1:-1:-1;1796:40536:22;;30069:70;1796:40536;;30069:70;;1796:40536;;30069:70;;;:::i;:::-;;;-1:-1:-1;;;;;1796:40536:22;30069:70;;;;;;;;;;;;29993:157;30050:89;29993:157;;;30069:70;;;;;;1796:40536;30069:70;;1796:40536;30069:70;;;;;;1796:40536;30069:70;;;:::i;:::-;;;1796:40536;;;;;;;;;30069:70;;;;;;-1:-1:-1;30069:70:22;;29839:145;1796:40536;;-1:-1:-1;;;29911:62:22;;1796:40536;-1:-1:-1;1796:40536:22;-1:-1:-1;1796:40536:22;;29911:62;1796:40536;;29911:62;;1796:40536;;29911:62;;;:::i;:::-;;;-1:-1:-1;;;;;1796:40536:22;29911:62;;;;;;;;;;;;29839:145;29894:79;29839:145;;;29911:62;;;;;;1796:40536;29911:62;;1796:40536;29911:62;;;;;;1796:40536;29911:62;;;:::i;:::-;;;1796:40536;;;;;;;;;29911:62;;;;;;-1:-1:-1;29911:62:22;;29803:25;;;;;;1796:40536;29803:25;;1796:40536;29803:25;;;;;;1796:40536;29803:25;;;:::i;:::-;;;1796:40536;;;;;;;;;29803:25;;;;;;-1:-1:-1;29803:25:22;;1796:40536;;;;;;;;;;;;;;;-1:-1:-1;;1796:40536:22;;;;;;:::i;:::-;-1:-1:-1;;;;;;;;;;;1796:40536:22;;;;;;;4301:16:7;1796:40536:22;-1:-1:-1;;;;;1796:40536:22;;4726:16:7;;:34;;;;1796:40536:22;4805:1:7;4790:16;:50;;;;1796:40536:22;4855:13:7;:30;;;;1796:40536:22;4851:91:7;;;-1:-1:-1;;1796:40536:22;;4805:1:7;1796:40536:22;-1:-1:-1;;;;;;;;;;;1796:40536:22;3943:39;;1796:40536;;4979:67:7;;1796:40536:22;3889:44;;;;:::i;:::-;;3943:39;:::i;:::-;;5066:101:7;;1796:40536:22;;5066:101:7;1796:40536:22;;;;-1:-1:-1;;;;;;;;;;;1796:40536:22;;-1:-1:-1;;;;;;;;;;;1796:40536:22;5142:14:7;1796:40536:22;;;4805:1:7;1796:40536:22;;5142:14:7;1796:40536:22;;4979:67:7;-1:-1:-1;;1796:40536:22;;;-1:-1:-1;;;;;;;;;;;1796:40536:22;4979:67:7;;;4851:91;-1:-1:-1;;;4908:23:7;;1796:40536:22;4908:23:7;;4855:30;4872:13;;;4855:30;;;4790:50;4818:4;4810:25;:30;;-1:-1:-1;4790:50:7;;4726:34;;;-1:-1:-1;4726:34:7;;1796:40536:22;;;;;;;-1:-1:-1;;1796:40536:22;;;;;;:::i;:::-;;;;:::i;:::-;;;;:::i;:::-;;;;:::i;:::-;;;;-1:-1:-1;;;;;1796:40536:22;;;;;;;;;;;:::i;:::-;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;4295:74;;:::i;:::-;1796:40536;;-1:-1:-1;;;13653:25:22;;-1:-1:-1;;;;;1796:40536:22;;;;;;;;;;13653:25;;;;;;;;;;;1796:40536;;;13726:61;1796:40536;;;;;;;;;;;;;;13726:61;;1796:40536;;13726:61;1796:40536;13726:61;;;:::i;:::-;;;;;;;;;;;;1796:40536;13726:61;1796:40536;13726:61;;1796:40536;;13726:61;;;1796:40536;-1:-1:-1;1796:40536:22;;;;;;-1:-1:-1;;;13821:25:22;;1796:40536;;;;;13821:25;;;;;;;;;;1796:40536;;;;;;;13865:30;1796:40536;;;;;;;;;;;:::i;:::-;;;-1:-1:-1;;;1796:40536:22;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;1796:40536:22;;;;;;;13821:25;;;;1796:40536;13821:25;;1796:40536;13821:25;;;;;;1796:40536;13821:25;;;:::i;:::-;;;1796:40536;;;;;13821:25;;;;;;;-1:-1:-1;13821:25:22;;13726:61;;;;;;1796:40536;13726:61;1796:40536;13726:61;;;;;;;:::i;:::-;;;;13653:25;;;;1796:40536;13653:25;;1796:40536;13653:25;;;;;;1796:40536;13653:25;;;:::i;:::-;;;1796:40536;;;;;;13653:25;;1796:40536;13653:25;;;;;-1:-1:-1;13653:25:22;;1796:40536;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;4295:74;;:::i;:::-;1796:40536;;-1:-1:-1;;;17953:25:22;;-1:-1:-1;;;;;1796:40536:22;;;;;;;;;;;17953:25;;;;;;;;;;1796:40536;;;18026:52;1796:40536;;;;;;;;;;;;;;18026:52;;1796:40536;18026:52;;;:::i;:::-;;;;;;;;;;;;1796:40536;18026:52;1796:40536;18026:52;;1796:40536;;18026:52;;;1796:40536;-1:-1:-1;1796:40536:22;;;;;;-1:-1:-1;;;18112:25:22;;1796:40536;;;;;18112:25;;;;;;;;;;;1796:40536;;;;;18156:30;1796:40536;;;;-1:-1:-1;;;;;1796:40536:22;;;;;;;18267:46;;;;;1796:40536;;-1:-1:-1;;;18267:46:22;;1796:40536;;;;;;;18267:46;;1796:40536;;18267:46;;;:::i;:::-;;;;;;;;;;;;;1796:40536;-1:-1:-1;;1796:40536:22;;-1:-1:-1;;;18351:24:22;;1796:40536;;;;;;18351:24;;;;;;;;;;;1796:40536;-1:-1:-1;;;;;;1796:40536:22;;18385:133;;1796:40536;;;;;;;;:::i;18385:133::-;1796:40536;;-1:-1:-1;;;18468:21:22;;1796:40536;;;;;;;;;;18468:21;;;;;;;;;;;18385:133;1796:40536;;18435:72;;;;;;1796:40536;18435:72;1796:40536;;;;;;;;;;;;;18435:72;;1796:40536;18435:72;;;:::i;:::-;;;;;;;;;;;18385:133;;;;;18435:72;;;;;;:::i;:::-;1796:40536;;18435:72;;;18468:21;;;;;;;;;;;;;;:::i;:::-;;;;;18351:24;;;;;1796:40536;18351:24;1796:40536;18351:24;;;;;;;:::i;:::-;;;;;;1796:40536;;;;;;;;;18267:46;;;;;:::i;:::-;1796:40536;;18267:46;;;;1796:40536;;;-1:-1:-1;;;1796:40536:22;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;1796:40536:22;;;;;;;18112:25;;;;1796:40536;18112:25;;1796:40536;18112:25;;;;;;1796:40536;18112:25;;;:::i;:::-;;;1796:40536;;;;;18112:25;;;;;;;-1:-1:-1;18112:25:22;;;1796:40536;;;;;;;;;18026:52;;;;;;1796:40536;18026:52;1796:40536;18026:52;;;;;;;:::i;:::-;;;;17953:25;;;;1796:40536;17953:25;;1796:40536;17953:25;;;;;;1796:40536;17953:25;;;:::i;:::-;;;1796:40536;;;;;;17953:25;;1796:40536;17953:25;;;;;-1:-1:-1;17953:25:22;;1796:40536;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;-1:-1:-1;;;1796:40536:22;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;:::i;:::-;4295:74;;;;;;:::i;:::-;-1:-1:-1;;;;;1796:40536:22;;15230:66;;;;;1796:40536;;;15230:66;1796:40536;;;;;;;;;;;;15230:66;;1796:40536;15230:66;;;:::i;1796:40536::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;1796:40536:22;;;;;;:::i;:::-;;;;;;;;;;4375:68;;:::i;:::-;5723:138;;;5748:35;;;:::i;5723:138::-;5814:36;;;:::i;1796:40536::-;;;;;;;-1:-1:-1;;1796:40536:22;;;;;;;:::i;:::-;;;;;;;;;;2954:29:1;1796:40536:22;;;;;;-1:-1:-1;1796:40536:22;;;;;;-1:-1:-1;1796:40536:22;;;;;;;;;;;;;;;;;;-1:-1:-1;;1796:40536:22;;;;;;:::i;:::-;;;-1:-1:-1;;;;;1796:40536:22;;:::i;:::-;;;-1:-1:-1;;;8534:24:22;;-1:-1:-1;;;;;1796:40536:22;;;;8534:24;;1796:40536;;;;;;;;8534:24;;;;;;;;;;1796:40536;;;;;;;;;8534:24;;1796:40536;8534:24;;1796:40536;8534:24;;;;;;1796:40536;8534:24;;;:::i;:::-;;;1796:40536;;;;;;;8534:24;;;;;-1:-1:-1;8534:24:22;;1796:40536;;;;;;;;:::i;:::-;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;4295:74;;:::i;:::-;1796:40536;;-1:-1:-1;;;11397:25:22;;-1:-1:-1;;;;;1796:40536:22;;;;;;;;;;11397:25;;;;;;;;;;;1796:40536;;;11470:48;1796:40536;;;;;;;;;;;;;;11470:48;;1796:40536;11470:48;;;:::i;:::-;;;;;;;;;;;;1796:40536;11470:48;1796:40536;11470:48;;1796:40536;;11470:48;;;1796:40536;-1:-1:-1;1796:40536:22;;;;;;-1:-1:-1;;;11552:25:22;;1796:40536;;;;;11552:25;;;;;;;;;;1796:40536;;;;11596:30;1796:40536;;;;;;;;;;;:::i;:::-;;;-1:-1:-1;;;1796:40536:22;;;;;;;;;;;;;;;;;;;;;;;;;11552:25;;;;1796:40536;11552:25;;1796:40536;11552:25;;;;;;1796:40536;11552:25;;;:::i;:::-;;;1796:40536;;;;;11552:25;;;;;;;-1:-1:-1;11552:25:22;;11470:48;;;;;;1796:40536;11470:48;1796:40536;11470:48;;;;;;;:::i;:::-;;;;11397:25;;;;1796:40536;11397:25;;1796:40536;11397:25;;;;;;1796:40536;11397:25;;;:::i;:::-;;;1796:40536;;;;;;11397:25;;1796:40536;11397:25;;;;;-1:-1:-1;11397:25:22;;1796:40536;;;;;;;;:::i;:::-;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;4295:74;;:::i;:::-;1796:40536;;-1:-1:-1;;;12484:25:22;;-1:-1:-1;;;;;1796:40536:22;;;;;;;;;;12484:25;;;;;;;;;;;1796:40536;;;12557:52;1796:40536;;;;;;;;;;;;;;12557:52;;1796:40536;12557:52;;;:::i;:::-;;;;;;;;;;;;1796:40536;12557:52;1796:40536;12557:52;;1796:40536;;12557:52;;;1796:40536;-1:-1:-1;1796:40536:22;;;;;;-1:-1:-1;;;12643:25:22;;1796:40536;;;;;12643:25;;;;;;;;;;1796:40536;;;;12687:30;1796:40536;;;;;;;;;;;:::i;:::-;;;-1:-1:-1;;;1796:40536:22;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;1796:40536:22;;;;;;;12643:25;;;;1796:40536;12643:25;;1796:40536;12643:25;;;;;;1796:40536;12643:25;;;:::i;:::-;;;1796:40536;;;;;12643:25;;;;;;;-1:-1:-1;12643:25:22;;12557:52;;;;;;1796:40536;12557:52;1796:40536;12557:52;;;;;;;:::i;:::-;;;;12484:25;;;;1796:40536;12484:25;;1796:40536;12484:25;;;;;;1796:40536;12484:25;;;:::i;:::-;;;1796:40536;;;;;;12484:25;;1796:40536;12484:25;;;;;-1:-1:-1;12484:25:22;;1796:40536;;;;;;;-1:-1:-1;;1796:40536:22;;;;;;:::i;:::-;;;;:::i;:::-;;;;:::i;:::-;;;;:::i;:::-;;;;-1:-1:-1;;;;;1796:40536:22;;;;;;;;;;;:::i;:::-;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;4295:74;;:::i;:::-;1796:40536;;-1:-1:-1;;;9455:13:22;;-1:-1:-1;;;;;1796:40536:22;;;;;;;;;;;9455:13;;;;;;;;;;;1796:40536;-1:-1:-1;1796:40536:22;;-1:-1:-1;;;9512:34:22;;9540:4;1796:40536;9512:34;;1796:40536;-1:-1:-1;;;;;1796:40536:22;;;;;;;;;;;;;;;;;9512:34;;;;;;;;;;;1796:40536;;;-1:-1:-1;;;9585:30:22;;9540:4;1796:40536;9585:30;;1796:40536;;-1:-1:-1;1796:40536:22;;;;;9585:30;;;;;;;;;;;1796:40536;-1:-1:-1;;;;;;1796:40536:22;9626:51;;;;;1796:40536;;;;;;;;;;;;;9626:51;;;1796:40536;9626:51;;1796:40536;9626:51;;;;;;;;;;;1796:40536;-1:-1:-1;;1796:40536:22;;-1:-1:-1;;;9706:34:22;;9540:4;1796:40536;9706:34;;1796:40536;;;;;;9706:34;;;;;;;;;;;1796:40536;9706:59;;;;:::i;:::-;9783:11;;;1796:40536;;9869:36;;;9865:236;;1796:40536;;;;;;;;;;;;10129:30;;9540:4;1796:40536;10129:30;;1796:40536;;10129:30;1796:40536;10129:30;;;;;;;;;;;;1796:40536;10129:51;;;;:::i;:::-;1796:40536;;;;;;;;-1:-1:-1;1796:40536:22;;;;;;-1:-1:-1;;;1796:40536:22;1412:43:12;;;-1:-1:-1;;;;;1796:40536:22;;;;1412:43:12;;1796:40536:22;;;;;;;1412:43:12;;1796:40536:22;1412:43:12;1796:40536:22;;;;1412:43:12;1796:40536:22;1412:43:12;;:::i;:::-;1796:40536:22;;;;;;;:::i;:::-;;;-1:-1:-1;;;1796:40536:22;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;1796:40536:22;;;;;;;10129:30;;1796:40536;10129:30;;1796:40536;10129:30;;;;;;1796:40536;10129:30;;;:::i;:::-;;;1796:40536;;;;10129:51;1796:40536;;10129:30;;;;;-1:-1:-1;10129:30:22;;9865:236;-1:-1:-1;;;;;1796:40536:22;;9962:7;;1796:40536;9962:7;;:::i;:::-;9984:49;;;;;1796:40536;;;;;;;;;;;;;;9984:49;;;1796:40536;9984:49;;1796:40536;;;;;;;;;;;;;;;;;;;:::i;:::-;9984:49;;;;;;;;;;;;;;;9865:236;1796:40536;;;;3411:47:12;;;1796:40536:22;3411:47:12;;1796:40536:22;;;3411:47:12;;;1796:40536:22;3411:47:12;;1796:40536:22;;;;;;;3411:47:12;;;1796:40536:22;3411:47:12;;:::i;:::-;5615:25;;;;;;;;;;:::i;:::-;5657:69;;;9865:236:22;5657:103:12;;;;9865:236:22;3473:45:12;;3469:201;;9865:236:22;;;;;3469:201:12;3561:43;3646:12;1796:40536:22;;;;;;;;3561:43:12;;;1796:40536:22;3561:43:12;;1796:40536:22;;;;;;;3561:43:12;;;1796:40536:22;3561:43:12;;:::i;:::-;;;:::i;3646:12::-;3469:201;;;;;5657:103;5730:26;;;:30;;5657:103;;;:69;1796:40536:22;;;;-1:-1:-1;5669:22:12;;;:56;;;;5657:69;;;;;;;5669:56;5695:30;;;1796:40536:22;5695:30:12;;;;;;;;:::i;:::-;5669:56;;;;9984:49:22;;;;;:::i;:::-;1796:40536;;9984:49;;;;1796:40536;;;-1:-1:-1;;;1796:40536:22;;;;;;;;;;;;;;;;;-1:-1:-1;;;1796:40536:22;;;;;;;9706:34;;1796:40536;9706:34;;1796:40536;9706:34;;;;;;1796:40536;9706:34;;;:::i;:::-;;;1796:40536;;;;9706:59;1796:40536;;9706:34;;;;;-1:-1:-1;9706:34:22;;9626:51;;;;;:::i;:::-;1796:40536;;9626:51;;;;9585:30;;;;1796:40536;9585:30;;1796:40536;9585:30;;;;;;1796:40536;9585:30;;;:::i;:::-;;;1796:40536;;;;;9585:30;;;;;;;-1:-1:-1;9585:30:22;;9512:34;;;1796:40536;9512:34;;1796:40536;9512:34;;;;;;1796:40536;9512:34;;;:::i;:::-;;;1796:40536;;;;;;;9512:34;;;;;;-1:-1:-1;9512:34:22;;;1796:40536;;;;;;;;;9455:13;;;;1796:40536;9455:13;1796:40536;9455:13;;;;;;;:::i;:::-;;;;1796:40536;;;;;;;;;;;;;4845:6:8;-1:-1:-1;;;;;1796:40536:22;4836:4:8;4828:23;4824:145;;1796:40536:22;;;-1:-1:-1;;;;;;;;;;;1796:40536:22;;;4824:145:8;-1:-1:-1;;;4929:29:8;;1796:40536:22;;4929:29:8;1796:40536:22;-1:-1:-1;1796:40536:22;;-1:-1:-1;;1796:40536:22;;;;;;:::i;:::-;;;;-1:-1:-1;;;;;1796:40536:22;;;;;;;;;;;:::i;:::-;-1:-1:-1;;;;;4422:6:8;1796:40536:22;4413:4:8;4405:23;;;:120;;;;1796:40536:22;4388:251:8;;;4375:68:22;;:::i;:::-;1796:40536;;-1:-1:-1;;;5885:52:8;;1796:40536:22;-1:-1:-1;;;;;1796:40536:22;;;;;;;;;5885:52:8;;;;;;;;1796:40536:22;-1:-1:-1;5881:437:8;;-1:-1:-1;;;6247:60:8;;1796:40536:22;;;;;2320:47:5;6247:60:8;5881:437;5979:40;;;-1:-1:-1;;;;;;;;;;;5979:40:8;;5975:120;;2263:29:5;;;:34;2259:119;;-1:-1:-1;;;;;;;;;;;1796:40536:22;;-1:-1:-1;;;;;;1796:40536:22;;;;;2922:27:5;;;;1796:40536:22;;;;2964:15:5;:11;;4255:25:13;;1796:40536:22;4297:55:13;4255:25;;;;;;;;;:::i;:::-;4297:55;;:::i;2960:148:5:-;6648:9;;;;6644:70;;1796:40536:22;;6644:70:5;-1:-1:-1;;;6684:19:5;;1796:40536:22;;6684:19:5;2259:119;-1:-1:-1;;;2320:47:5;;1796:40536:22;;;2320:47:5;;5975:120:8;-1:-1:-1;;;6046:34:8;;1796:40536:22;;;6046:34:8;;5885:52;;;;1796:40536:22;5885:52:8;;1796:40536:22;5885:52:8;;;;;;1796:40536:22;5885:52:8;;;:::i;:::-;;;1796:40536:22;;;;;5885:52:8;;;;;;;-1:-1:-1;5885:52:8;;4388:251;-1:-1:-1;;;4599:29:8;;1796:40536:22;4599:29:8;;4405:120;-1:-1:-1;;;;;;;;;;;1796:40536:22;-1:-1:-1;;;;;1796:40536:22;4483:42:8;;;-1:-1:-1;4405:120:8;;;1796:40536:22;;;;;;;;;:::i;:::-;4295:74;;;;;;:::i;:::-;-1:-1:-1;;;;;1796:40536:22;;15581:62;;;;;1796:40536;;;15581:62;1796:40536;;;;;;;;;;;;15581:62;;1796:40536;15581:62;;;:::i;1796:40536::-;;;;;;;-1:-1:-1;;1796:40536:22;;;;;;:::i;:::-;735:10:14;-1:-1:-1;;;;;1796:40536:22;;5421:34:1;5417:102;;5529:37;1796:40536:22;;;5529:37:1;:::i;5417:102::-;-1:-1:-1;;;5478:30:1;;1796:40536:22;5478:30:1;;1796:40536:22;;;;;;;-1:-1:-1;;1796:40536:22;;;;;;;;-1:-1:-1;;;;;1796:40536:22;;;;;;;;;;;:::i;:::-;;;;;-1:-1:-1;;;;;1796:40536:22;31409:10;:21;1796:40536;;31485:26;;;;;1796:40536;;;;;;;;;;:::i;:::-;-1:-1:-1;;;;;;1796:40536:22;-1:-1:-1;;;31571:47:22;;33821:34;;31667:91;;;;;:::i;:::-;-1:-1:-1;31634:124:22;;;-1:-1:-1;;;;;;31567:1518:22;-1:-1:-1;;;;;1796:40536:22;;33189:6;;1796:40536;33189:6;;:::i;:::-;33275:34;;;;;1796:40536;;-1:-1:-1;;;33275:34:22;;-1:-1:-1;;;;;1796:40536:22;;;33275:34;;1796:40536;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;33275:34;;;;;;;;;;31567:1518;31409:10;;33397:6;31409:10;;33397:6;;:::i;:::-;1796:40536;;33275:34;;;;;:::i;:::-;1796:40536;;33275:34;;;;31567:1518;-1:-1:-1;;;31779:49:22;;33931:36;;31879:146;;;;;:::i;:::-;-1:-1:-1;31844:181:22;;;-1:-1:-1;;;;;;;31567:1518:22;;31775:1310;-1:-1:-1;;;32046:48:22;;34045:35;;32145:146;;;;;:::i;:::-;-1:-1:-1;32110:181:22;;-1:-1:-1;;;;;;;31567:1518:22;;32042:1043;-1:-1:-1;;;32312:62:22;;27198:49;;32431:171;;;;;:::i;:::-;32390:212;;;;;;;;;;;;;;;31567:1518;;32308:777;34297:43;;-1:-1:-1;;;;32623:56:22;34297:43;;32818:180;;;;;:::i;:::-;32775:223;;;;;;;;;;;;;;;;31567:1518;;32619:466;1796:40536;;-1:-1:-1;;;33029:45:22;;1796:40536;;33029:45;;1796:40536;;;;;;;;;;;-1:-1:-1;;;1796:40536:22;;;;;;33029:45;1796:40536;-1:-1:-1;;;1796:40536:22;;;;;;;;;;;;-1:-1:-1;;1796:40536:22;;;;;;:::i;:::-;;;:::i;:::-;;;:::i;:::-;;;;-1:-1:-1;;;;;1796:40536:22;;;;;;;;;;;:::i;:::-;;;;;;:::i;:::-;;;;-1:-1:-1;;;;;1796:40536:22;;;;;;;;;;;;;;:::i;:::-;;;;:::i;:::-;;;;:::i;:::-;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;4295:74;;:::i;:::-;1796:40536;;;;;-1:-1:-1;;;;;;1796:40536:22;-1:-1:-1;;;;;1796:40536:22;;;;;;;;-1:-1:-1;;;;;;1796:40536:22;-1:-1:-1;;;;;1796:40536:22;;;;;;;;;;;;;;;;22035:25;;1796:40536;;;;;;22035:25;;;;;;;;;;;;1796:40536;;;;;;-1:-1:-1;;22075:31:22;22071:125;;1796:40536;;;;-1:-1:-1;;;1796:40536:22;22292:342;;1796:40536;-1:-1:-1;;;;;1796:40536:22;;;;;;;;;;;;;;;;;;;;;;;;;;22292:342;;1796:40536;;;;;;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1;;;;;1796:40536:22;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;1796:40536:22;;;;;;:::i;:::-;22292:342;1796:40536;;22292:342;;;;;;:::i;:::-;-1:-1:-1;;;;;1796:40536:22;;22206:438;;;;1796:40536;22206:438;1796:40536;;;;;;;;;;;;;22206:438;;1796:40536;22206:438;;;:::i;22071:125::-;1796:40536;;-1:-1:-1;;;22135:50:22;;1796:40536;;-1:-1:-1;1796:40536:22;-1:-1:-1;1796:40536:22;;;22135:50;1796:40536;;22135:50;1796:40536;22135:50;;;:::i;:::-;;1796:40536;-1:-1:-1;;;;;1796:40536:22;;22135:50;;;;;;;;;;;;22071:125;-1:-1:-1;22122:63:22;22071:125;;22135:50;;;;;;;;;;1796:40536;22135:50;;1796:40536;22135:50;;;;;;1796:40536;22135:50;;;:::i;:::-;;;1796:40536;;;;;;;;;;22135:50;;;1796:40536;;;;22135:50;;;;;-1:-1:-1;22135:50:22;;22035:25;;;;;;1796:40536;22035:25;;1796:40536;22035:25;;;;;;1796:40536;22035:25;;;:::i;:::-;;;1796:40536;;;;;;;;;22035:25;;;;;;-1:-1:-1;22035:25:22;;1796:40536;;;;;;;-1:-1:-1;;1796:40536:22;;;;4330:25:1;1796:40536:22;;;;:::i;:::-;4300:18:1;2475:4;4300:18;;3901:6;1796:40536:22;3901:6:1;1796:40536:22;;3901:22:1;1796:40536:22;3901:6:1;1796:40536:22;3901:22:1;1796:40536:22;3810:120:1;;2475:4;4330:25;:::i;1796:40536:22:-;;;;;;;-1:-1:-1;;1796:40536:22;;;;;;;:::i;:::-;;;:::i;:::-;;;;:::i;:::-;;;-1:-1:-1;;;;;1796:40536:22;;;;;;;;;;;:::i;:::-;;;;;:::i;:::-;;;;-1:-1:-1;;;;;1796:40536:22;;;;;;;;;;;;:::i;:::-;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;4295:74;;;:::i;:::-;4361:1;;-1:-1:-1;;;;;1796:40536:22;;;;4361:1;;;;;1796:40536;;-1:-1:-1;;;;;;1796:40536:22;;;;;-1:-1:-1;;;;;1796:40536:22;;;;;-1:-1:-1;;;;;;1796:40536:22;;;;;-1:-1:-1;;24123:31:22;24119:133;;1796:40536;-1:-1:-1;;24265:37:22;24261:157;;1796:40536;;;;;;24514:363;1796:40536;;;;;;;;;;;;;;34045:35;;;;;;1796:40536;24514:363;;1796:40536;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1;;;;;1796:40536:22;;;;;;;;;;-1:-1:-1;;1796:40536:22;;;;;;:::i;:::-;-1:-1:-1;;;;;1796:40536:22;;;;;;;;;;;;;;;;;;;;;;;24514:363;-1:-1:-1;;24514:363:22;;;;;;:::i;:::-;24428:459;;;;;;1796:40536;;;;;;;;;;;;;;;;24428:459;;1796:40536;24428:459;;;:::i;24261:157::-;1796:40536;;-1:-1:-1;;;24337:70:22;;1796:40536;;-1:-1:-1;1796:40536:22;;;24337:70;1796:40536;;24337:70;1796:40536;24337:70;;;:::i;:::-;;1796:40536;-1:-1:-1;;;;;1796:40536:22;;24337:70;;;;;;;;;;;24261:157;-1:-1:-1;24318:89:22;24261:157;;24337:70;;;;;;;;;;1796:40536;24337:70;;1796:40536;24337:70;;;;;;1796:40536;24337:70;;;:::i;:::-;;;1796:40536;;;;;;;;24337:70;;;;;;;;;;1796:40536;;24337:70;;;;;-1:-1:-1;24337:70:22;;24119:133;1796:40536;;24183:58;1796:40536;;;;;;;;;;;;;;;24183:58;;;1796:40536;24183:58;;;:::i;:::-;;;-1:-1:-1;;;;;1796:40536:22;24183:58;;;;;;;;;;;24119:133;24170:71;24119:133;;;24183:58;;;;1796:40536;24183:58;;1796:40536;24183:58;;;;;;1796:40536;24183:58;;;:::i;:::-;;;1796:40536;;;;;;;24183:58;;;;;;-1:-1:-1;24183:58:22;;1796:40536;;;;;;;-1:-1:-1;;1796:40536:22;;;;;;:::i;:::-;;;;-1:-1:-1;;;;;1796:40536:22;;;;;;;;;;;:::i;:::-;;;-1:-1:-1;;;;;1796:40536:22;33660:10;:18;1796:40536;;33730:26;;;;1796:40536;;;;;;;-1:-1:-1;;;;;;1796:40536:22;;;:::i;:::-;;;-1:-1:-1;;;33808:47:22;;33821:34;;35063:91;;;;;:::i;:::-;1796:40536;;-1:-1:-1;;;35241:39:22;;33660:10;1796:40536;35241:39;;1796:40536;;;-1:-1:-1;1796:40536:22;;-1:-1:-1;1796:40536:22;;;-1:-1:-1;;;;;1796:40536:22;;;;;;;;;35241:39;;;;;;;;;;;33804:674;33660:10;;35398;33660;;;1796:40536;33660:10;1796:40536;33660:10;;35398;:::i;:::-;1796:40536;;-1:-1:-1;;;35496:39:22;;33660:10;1796:40536;35496:39;;1796:40536;;;;;;35496:39;;;;;;;;;;;33804:674;35574:34;;;;;:::i;:::-;33660:10;;35666:76;;;;1796:40536;;-1:-1:-1;;;35666:76:22;;1796:40536;;;;;;;35666:76;;1796:40536;35666:76;;1796:40536;35666:76;;;:::i;:::-;;33660:10;;;35666:76;;;;;;;;;;;33804:674;33660:10;;;35803:62;;;;;1796:40536;;;;;;;;;;;;35803:62;;1796:40536;35803:62;;;:::i;:::-;;33660:10;;;35803:62;;;;;;;;33804:674;;1796:40536;;35666:76;;;;;:::i;:::-;1796:40536;;35666:76;;;;35496:39;;;;;1796:40536;35496:39;;1796:40536;35496:39;;;;;;1796:40536;35496:39;;;:::i;:::-;;;1796:40536;;;;;;;;35574:34;35496:39;;;;;-1:-1:-1;35496:39:22;;35241;;;;;;;1796:40536;35241:39;;1796:40536;35241:39;;;;;;1796:40536;35241:39;;;:::i;:::-;;;1796:40536;;;;;;;;;;;;35398:10;35241:39;;;;;-1:-1:-1;35241:39:22;;33804:674;-1:-1:-1;;;33918:49:22;;33931:36;;36272:100;;;;;:::i;:::-;33660:10;;;;;;;;;;;36430:61;;;;1796:40536;36430:61;1796:40536;;;;;;;;;;36430:61;;;;;1796:40536;36430:61;;;:::i;:::-;;33660:10;;;36430:61;;;;;;;;;;;33914:564;33660:10;;;36533:76;;;;1796:40536;;;;36533:76;1796:40536;;;;;;;;;;;36533:76;;1796:40536;36533:76;;;:::i;:::-;;33660:10;;;36533:76;;;;;;;;33914:564;33660:10;;36740:16;33660:10;;36740:16;:::i;36533:76::-;;;;;:::i;:::-;1796:40536;;36533:76;;;;36430:61;;;;;:::i;:::-;1796:40536;;36430:61;;;;33914:564;-1:-1:-1;;;34032:48:22;;34045:35;;37185:100;;;;;:::i;:::-;33660:10;;;;;;;;;;37322:69;;;;1796:40536;;-1:-1:-1;;;37322:69:22;;;1796:40536;;37322:69;;;;;1796:40536;37322:69;;;:::i;:::-;;33660:10;;;37322:69;;;;;;;;;;;34028:450;33660:10;;;37451:84;;;;1796:40536;;;;37451:84;1796:40536;;;;;;;;;;;37451:84;;1796:40536;37451:84;;;:::i;:::-;;33660:10;;;37451:84;;;;;;;;;;;34028:450;33660:10;;;37591:78;;;;1796:40536;;-1:-1:-1;;;37591:78:22;;1796:40536;;;;;;;37591:78;;1796:40536;37591:78;;1796:40536;37591:78;;;:::i;37451:84::-;;;;;:::i;:::-;1796:40536;;37451:84;;;;37322:69;;;;;:::i;:::-;1796:40536;;37322:69;;;;34028:450;-1:-1:-1;;;34144:62:22;;27198:49;;38355:125;;;;;:::i;:::-;33660:10;;;;;;;;;;;;;38542:69;;;;;1796:40536;;;;;;;;;;;;;38542:69;;;;1796:40536;38542:69;;;:::i;:::-;;33660:10;;;38542:69;;;;;;;;;;;34140:338;33660:10;;;38657:92;;;;1796:40536;;;;38657:92;1796:40536;;;;;;;;;;;38657:92;;1796:40536;38657:92;;;:::i;:::-;;33660:10;;;38657:92;;;;;;;;;;;34140:338;-1:-1:-1;;1796:40536:22;;-1:-1:-1;;;38843:41:22;;33660:10;1796:40536;38843:41;;1796:40536;;-1:-1:-1;;;;;1796:40536:22;;;;;;;;;38843:41;;;;;;;;;;;34140:338;33660:10;;;1796:40536;33660:10;;39014:20;33660:10;1796:40536;33660:10;;39014:20;:::i;38843:41::-;;;;;;;;1796:40536;38843:41;;1796:40536;38843:41;;;;;;1796:40536;38843:41;;;:::i;:::-;;;1796:40536;;;;;;;;;;38843:41;;1796:40536;;;;38843:41;;;;;-1:-1:-1;38843:41:22;;38657:92;;;;;:::i;:::-;1796:40536;;38657:92;;;;;1796:40536;;;38542:69;;;;;:::i;:::-;1796:40536;;38542:69;;;;34140:338;34297:43;;;;-1:-1:-1;;;;34284:56:22;34297:43;;40109:180;;;;;:::i;:::-;1796:40536;;-1:-1:-1;;;40377:37:22;;33660:10;1796:40536;40377:37;;1796:40536;;;-1:-1:-1;1796:40536:22;;-1:-1:-1;1796:40536:22;;;;;;;;;;;-1:-1:-1;;;;;1796:40536:22;;;;;;;;;40377:37;;;;;;;;;;;34280:198;33660:10;;40550:12;33660:10;;;;1796:40536;33660:10;1796:40536;33660:10;;40550:12;:::i;:::-;1796:40536;;-1:-1:-1;;;40654:37:22;;33660:10;1796:40536;40654:37;;1796:40536;;;;;;40654:37;;;;;;;;;;;34280:198;40727:28;;;;;:::i;:::-;40863:32;;;;;;:67;;;33660:10;40967:74;;;;1796:40536;;-1:-1:-1;;;40967:74:22;;1796:40536;;;;;;;40967:74;;1796:40536;40967:74;;1796:40536;40967:74;;;:::i;40863:67::-;;;;;;40654:37;;;;;1796:40536;40654:37;;1796:40536;40654:37;;;;;;1796:40536;40654:37;;;:::i;:::-;;;1796:40536;;;;;;;;40727:28;40654:37;;;;;-1:-1:-1;40654:37:22;;40377;;;;;;1796:40536;40377:37;;1796:40536;40377:37;;;;;;1796:40536;40377:37;;;:::i;:::-;;;1796:40536;;;;;;;;;;;;;40550:12;40377:37;;;;;-1:-1:-1;40377:37:22;;;1796:40536;;;;;;;;;;;;-1:-1:-1;;;1796:40536:22;;;;;;;;;;;;-1:-1:-1;;1796:40536:22;;;;;;;;3901:6:1;1796:40536:22;3901:6:1;1796:40536:22;;3901:22:1;1796:40536:22;3901:6:1;1796:40536:22;3901:22:1;1796:40536:22;3810:120:1;;1796:40536:22;;;;;;;;;;;;;;;;:::i;:::-;4295:74;;;;;;:::i;:::-;-1:-1:-1;;;;;1796:40536:22;;14867:76;;;;;1796:40536;;;14867:76;1796:40536;;;;;;;;;;;;14867:76;;1796:40536;14867:76;;;:::i;1796:40536::-;;;;;;;;;:::i;:::-;4295:74;;;:::i;:::-;-1:-1:-1;;;;;1796:40536:22;;6796:37;;;;;;1796:40536;;;;;;;;;;;;;;;6796:37;;1796:40536;6796:37;;;:::i;1796:40536::-;;;;;;;;;:::i;:::-;4295:74;;;:::i;:::-;-1:-1:-1;;;;;1796:40536:22;;6416:35;;;;;;1796:40536;;;;;;;;;;;;;;;6416:35;;1796:40536;6416:35;;;:::i;1796:40536::-;;;;;;;-1:-1:-1;;1796:40536:22;;;;;;;;;;;;;;;;;;-1:-1:-1;;;2673:47:1;;;:87;;;;1796:40536:22;;;;;;;;;;2673:87:1;-1:-1:-1;;;861:40:16;;-1:-1:-1;2673:87:1;;;1796:40536:22;;;;;;;-1:-1:-1;;1796:40536:22;;;;;;:::i;:::-;;;:::i;:::-;;;:::i;:::-;;;;-1:-1:-1;;;;;1796:40536:22;;;;;;;;;;;:::i;:::-;;;;:::i;:::-;;;;-1:-1:-1;;;;;1796:40536:22;;;;;;;;;;;:::i;:::-;;;;:::i;:::-;;;;;;;:::i;:::-;;;-1:-1:-1;;;;;1796:40536:22;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;1796:40536:22;;;;;;;;;;;;-1:-1:-1;;;;;1796:40536:22;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;4295:74;;:::i;:::-;26139:1724;;;;-1:-1:-1;;;;;1796:40536:22;;;;26139:1724;;-1:-1:-1;1796:40536:22;;;-1:-1:-1;;;;;;1796:40536:22;;;;;-1:-1:-1;;;;;1796:40536:22;;;;;;-1:-1:-1;;;;;;1796:40536:22;;;;;;;;;;;;;26727:25;;;;1796:40536;26727:25;1796:40536;26727:25;;;;;;;1796:40536;26727:25;;;1796:40536;;;;-1:-1:-1;;26767:31:22;26763:133;;1796:40536;26781:17;;;;;;;;;;;;26909:41;26905:169;;1796:40536;;;27198:49;;;;;;1796:40536;27170:471;;1796:40536;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1;;;;;1796:40536:22;;;;;;;;;;-1:-1:-1;;1796:40536:22;;;;;;;;:::i;:::-;-1:-1:-1;;;;;1796:40536:22;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;1796:40536:22;;;;;;;;:::i;:::-;27170:471;1796:40536;;27170:471;;;;;;;;:::i;:::-;27084:567;;;;;;1796:40536;;;;;;;;;;;;;;;;27084:567;;1796:40536;27084:567;;;:::i;:::-;;;;;;;;;;1796:40536;27084:567;;;1796:40536;;27704:9;1796:40536;;27737:9;1796:40536;;;;;;;;;;;;;;27820:25;;;;;;;;;;;;1796:40536;;;;;;;;;:::i;27084:567::-;;;;1796:40536;27084:567;;:::i;:::-;1796:40536;27084:567;;;;1796:40536;;;;;;;;;26905:169;1796:40536;;-1:-1:-1;;;26989:74:22;;1796:40536;-1:-1:-1;1796:40536:22;-1:-1:-1;1796:40536:22;;;26989:74;;1796:40536;;26989:74;;;:::i;:::-;;1796:40536;-1:-1:-1;;;;;1796:40536:22;;26989:74;;;;;;;;1796:40536;26989:74;;;26905:169;26966:97;26905:169;;;26989:74;;;;1796:40536;26989:74;;1796:40536;26989:74;;;;;;1796:40536;26989:74;;;:::i;:::-;;;1796:40536;;;;;;;26989:74;;;;;;-1:-1:-1;26989:74:22;;26763:133;1796:40536;;;;;;;;26827:58;1796:40536;;;;;;;;;;;;26827:58;;;1796:40536;26827:58;;;:::i;:::-;;;-1:-1:-1;;;;;1796:40536:22;26827:58;;;;;;;;1796:40536;26827:58;;;26763:133;26814:71;26763:133;;;;;;;;26827:58;;;;1796:40536;26827:58;;1796:40536;26827:58;;;;;;1796:40536;26827:58;;;:::i;:::-;;;1796:40536;;;;;;;26827:58;;;;;;-1:-1:-1;26827:58:22;;26727:25;;;1796:40536;26727:25;;1796:40536;26727:25;;;;;;1796:40536;26727:25;;;:::i;:::-;;;1796:40536;;;;;26727:25;;;;;;-1:-1:-1;26727:25:22;;1796:40536;;;;-1:-1:-1;;;;;1796:40536:22;;;;;;:::o;:::-;;;;-1:-1:-1;;;;;1796:40536:22;;;;;;:::o;:::-;;;-1:-1:-1;;;;;1796:40536:22;;;;;;:::o;:::-;;;;-1:-1:-1;;;;;1796:40536:22;;;;;;:::o;:::-;;;;-1:-1:-1;;;;;1796:40536:22;;;;;;:::o;:::-;;;;;;;-1:-1:-1;;;;;1796:40536:22;;;;;;;:::o;:::-;;;;-1:-1:-1;1796:40536:22;;;;;-1:-1:-1;1796:40536:22;;;;;;;;;;;;;;-1:-1:-1;;;;;1796:40536:22;;;;;;;:::o;:::-;-1:-1:-1;;;;;1796:40536:22;;;;;;-1:-1:-1;;1796:40536:22;;;;:::o;:::-;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;:::i;:::-;;;;;;;;;;;;;-1:-1:-1;1796:40536:22;;;;;;;;;;;;;;:::o;:::-;;;;-1:-1:-1;;;;;1796:40536:22;;;;;;:::o;:::-;;;;-1:-1:-1;;;;;1796:40536:22;;;;;;:::o;:::-;;;;-1:-1:-1;;;;;1796:40536:22;;;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;:::-;;;-1:-1:-1;;;;;;1796:40536:22;;;;;;:::o;:::-;;;;;;;;;;;-1:-1:-1;;;;;1796:40536:22;;;;;;;;;-1:-1:-1;;;;;1796:40536:22;;;;;;;;;;:::o;:::-;;-1:-1:-1;;1796:40536:22;;;;;;;-1:-1:-1;;;;;1796:40536:22;;;;;;;;;-1:-1:-1;;;;;1796:40536:22;;;;;;;;;;-1:-1:-1;;;;;1796:40536:22;;;;;;;;;:::i;:::-;;;;-1:-1:-1;;;;;1796:40536:22;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;-1:-1:-1;;;;;1796:40536:22;;;;;;;;;;;;;;;:::o;:::-;;-1:-1:-1;;1796:40536:22;;;;;;;-1:-1:-1;;;;;1796:40536:22;;;;;;;;;-1:-1:-1;;;;;1796:40536:22;;;;;;;;;;;;-1:-1:-1;;;;;1796:40536:22;;;;;;;;;;-1:-1:-1;;;;;1796:40536:22;;;;;;;;;:::i;:::-;;;;;:::o;:::-;;;;;;;;;;;;;;;;;-1:-1:-1;1796:40536:22;;;;;;;;-1:-1:-1;;1796:40536:22;;;;:::o;:::-;;-1:-1:-1;;1796:40536:22;;;;;;;-1:-1:-1;;;;;1796:40536:22;;;;;;;;;-1:-1:-1;;;;;1796:40536:22;;;;;;;;;-1:-1:-1;;;;;1796:40536:22;;;;;;;;;-1:-1:-1;;;;;1796:40536:22;;;;;;;;;;;;-1:-1:-1;;;;;1796:40536:22;;;;;;;;;;-1:-1:-1;;;;;1796:40536:22;;;;;;;;;:::i;:::-;;;;;:::o;:::-;;;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1;;;;;1796:40536:22;;;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;:::-;-1:-1:-1;;;;;1796:40536:22;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1;;;;;1796:40536:22;;;;;;;;;:::o;:::-;;;;;;;;;;;;;-1:-1:-1;1796:40536:22;;;;;;;;-1:-1:-1;;1796:40536:22;;;;:::o;:::-;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;-1:-1:-1;;;;;1796:40536:22;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;-1:-1:-1;;;;;1796:40536:22;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;:::i;:::-;;;;;;-1:-1:-1;;;;;1796:40536:22;;;;;;;;:::i;:::-;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;-1:-1:-1;;;;;1796:40536:22;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;-1:-1:-1;;;;;1796:40536:22;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;;;;;:::i;:::-;;;;;;-1:-1:-1;;;;;1796:40536:22;;;;;;;;:::i;:::-;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;-1:-1:-1;;;;;1796:40536:22;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;-1:-1:-1;;;;;1796:40536:22;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;;;;;;:::i;:::-;;;;;:::o;:::-;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;-1:-1:-1;;;;;1796:40536:22;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;:::i;:::-;;;;;;-1:-1:-1;;;;;1796:40536:22;;;;;;;;:::i;:::-;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;-1:-1:-1;;;;;1796:40536:22;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;;;;;:::i;:::-;;;;;;-1:-1:-1;;;;;1796:40536:22;;;;;;;;:::i;:::-;;;;;;;;;;-1:-1:-1;;;;;1796:40536:22;;;;;;;:::o;:::-;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;:::-;-1:-1:-1;;;;;1796:40536:22;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;-1:-1:-1;;;;;1796:40536:22;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;:::i;:::-;;;;;;;;;;;;;-1:-1:-1;1796:40536:22;;;;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;:::o;:::-;-1:-1:-1;;;;;1796:40536:22;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;4449:227::-;735:10:14;2954:6:1;1796:40536:22;;;-1:-1:-1;;;;;;;;;;;1796:40536:22;;;;;;;;4552:69;;;;4449:227;1796:40536;;;4449:227::o;1796:40536::-;;;-1:-1:-1;;;1796:40536:22;;;;;;;;;;;;;;;;;-1:-1:-1;;;1796:40536:22;;;;;;;4552:69;-1:-1:-1;735:10:14;2954:6:1;1796:40536:22;;;-1:-1:-1;;;;;;;;;;;1796:40536:22;;;;;;;;4552:69;;3199:103:1;2954:6;1796:40536:22;;;;;;;;;;;735:10:14;1796:40536:22;;;;;;;;;;3519:23:1;3515:108;;3199:103;:::o;3515:108::-;3565:47;;;2954:6;3565:47;735:10:14;3565:47:1;1796:40536:22;;;;2954:6:1;3565:47;6179:316;-1:-1:-1;;;;;1796:40536:22;;;;;;-1:-1:-1;;;;;;;;;;;1796:40536:22;;;;;;;;;;-1:-1:-1;;;;;1796:40536:22;;;;;-1:-1:-1;;;;;;;;;;;1796:40536:22;;;;;;;-1:-1:-1;;1796:40536:22;;;;;735:10:14;;1796:40536:22;-1:-1:-1;;;;;;;;;;;2278:26:22;-1:-1:-1;;;;;;;;;;;6370:40:1;1796:40536:22;6370:40:1;6347:4;6424:11;:::o;6272:217::-;6466:12;1796:40536:22;6466:12:1;:::o;6179:316::-;-1:-1:-1;;;;;1796:40536:22;;;;;;-1:-1:-1;;;;;;;;;;;1796:40536:22;;;;;;;;;;-1:-1:-1;;;;;1796:40536:22;;;;;-1:-1:-1;;;;;;;;;;;1796:40536:22;;;;;;;-1:-1:-1;;1796:40536:22;;;;;735:10:14;;1796:40536:22;-1:-1:-1;;;;;;;;;;;1796:40536:22;;6370:40:1;6347:4;6424:11;:::o;6179:316::-;1796:40536:22;;;;;;;;;;;;-1:-1:-1;;;;;1796:40536:22;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;1796:40536:22;;;;;;;;;;;;;;;-1:-1:-1;;1796:40536:22;;;;;735:10:14;;1796:40536:22;;-1:-1:-1;;;;;;;;;;;6370:40:1;1796:40536:22;6370:40:1;6347:4;6424:11;:::o;6272:217::-;6466:12;;1796:40536:22;6466:12:1;:::o;3296:380:12:-;1796:40536:22;;-1:-1:-1;;;3411:47:12;;;;;;-1:-1:-1;;;;;1796:40536:22;;3411:47:12;;;1796:40536:22;;;;;;;;3296:380:12;;3411:47;1796:40536:22;;;;3411:47:12;1796:40536:22;3411:47:12;5615:25;;-1:-1:-1;;;;;1796:40536:22;;;-1:-1:-1;;;;;1796:40536:22;5615:25:12;;;;;:::i;:::-;5657:69;;;3296:380;5657:103;;;;3296:380;3473:45;;3469:201;;3296:380;;;:::o;3469:201::-;1796:40536:22;;-1:-1:-1;;;3411:47:12;3561:43;;;-1:-1:-1;;;;;1796:40536:22;;;3411:47:12;3561:43;;1796:40536:22;-1:-1:-1;1796:40536:22;;;;;;;;3561:43:12;;3646:12;;3561:43;;;;1796:40536:22;3561:43:12;:::i;3646:12::-;3296:380::o;5657:103::-;5730:26;;;:30;;5657:103;;;:69;1796:40536:22;;;;-1:-1:-1;5669:22:12;;;:56;;;;5657:69;;;;;;;5669:56;5695:30;;;3411:47;5695:30;;;;;;;;:::i;:::-;5669:56;;;;6730:317:1;-1:-1:-1;;;;;1796:40536:22;;;;;;-1:-1:-1;;;;;;;;;;;1796:40536:22;;;;;;;;;;;-1:-1:-1;;;;;1796:40536:22;;;;;-1:-1:-1;;;;;;;;;;;1796:40536:22;;;;;;;-1:-1:-1;;1796:40536:22;;;735:10:14;;1796:40536:22;-1:-1:-1;;;;;;;;;;;2278:26:22;6922:40:1;;1796:40536:22;6922:40:1;1796:40536:22;6976:11:1;:::o;6730:317::-;1796:40536:22;;;;;;;;;;;;-1:-1:-1;;;;;1796:40536:22;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;1796:40536:22;;;;;;;;;;;;;;;-1:-1:-1;;1796:40536:22;;;735:10:14;;1796:40536:22;;6922:40:1;;1796:40536:22;6922:40:1;1796:40536:22;6976:11:1;:::o;4682:154:22:-;735:10:14;2232:4:1;1796:40536:22;;;-1:-1:-1;;;;;;;;;;;1796:40536:22;;;;;;;;;;;4682:154::o;1796:40536::-;;;-1:-1:-1;;;1796:40536:22;;;;;;;;;;;;;;;;;-1:-1:-1;;;1796:40536:22;;;;;;;41790:540;1796:40536;;-1:-1:-1;;;41951:11:22;;41790:540;;;;;;-1:-1:-1;;;;;1796:40536:22;;;;41790:540;41951:11;1796:40536;41951:11;1796:40536;;41951:11;;;;;;;-1:-1:-1;41951:11:22;;;41790:540;-1:-1:-1;;;;;;1796:40536:22;;;;;41929:33;1796:40536;;;-1:-1:-1;1796:40536:22;;;42003:48;1796:40536;;;;;;;;;;;;42003:48;;41951:11;42003:48;;;:::i;:::-;;;;;;;;;-1:-1:-1;;;42003:48:22;;;41925:399;1796:40536;41978:73;1796:40536;41978:73;1796:40536;41790:540::o;42003:48::-;;;;;;1796:40536;42003:48;1796:40536;42003:48;;;;;;;:::i;:::-;;;;41925:399;1796:40536;;;;;;42092:11;;41951;42092;41951;42092;;;;;;;;;-1:-1:-1;42092:11:22;;;41925:399;-1:-1:-1;;;;;;1796:40536:22;;;;;42072:31;1796:40536;;;-1:-1:-1;1796:40536:22;;;42144:52;1796:40536;;;;;;;;;;;;42144:52;;41951:11;42144:52;;;:::i;42068:256::-;1796:40536;;;-1:-1:-1;1796:40536:22;42252:61;1796:40536;;;;;;;;;;;;;;42252:61;;41951:11;42252:61;;;:::i;42092:11::-;;;;41951;42092;41951;42092;;;;;;;:::i;:::-;;;;41951;;;;;;;;;;;;;;:::i;:::-;;;;1796:40536;;;;;;;;;;:::i;:::-;;;;;;;;:::i;:::-;;;;-1:-1:-1;1796:40536:22;;;;:::o;:::-;;;:::o;:::-;;;;;;;;;;;;;;;;;;:::o;4059:629:12:-;2847:1:13;4059:629:12;3510:55:13;4059:629:12;1796:40536:22;;;;;;3462:31:13;;;;;;;;;;;;:::i;:::-;3510:55;;;:::i;:::-;1796:40536:22;;4551:22:12;;;;:57;;;;4059:629;4547:135;;;;4059:629;:::o;4547:135::-;4631:40;;;2847:1:13;4631:40:12;;1796:40536:22;;2847:1:13;4631:40:12;4551:57;4578:30;;;3462:31:13;4578:30:12;;;;;;;;:::i;:::-;4577:31;4551:57;;;;4625:582:13;;4797:8;;-1:-1:-1;1796:40536:22;;5874:21:13;:17;;6046:142;;;;;;5870:383;6225:17;;;5894:1;6225:17;;5894:1;6225:17;4793:408;1796:40536:22;;5045:22:13;:49;;;4793:408;5041:119;;5173:17;;:::o;5041:119::-;-1:-1:-1;;;5066:1:13;5121:24;;;-1:-1:-1;;;;;1796:40536:22;;;;5121:24:13;1796:40536:22;;;5121:24:13;5045:49;5071:18;;;:23;5045:49;","linkReferences":{},"cborAuxdata":{"1":{"value":"0xa2646970667358221220f9f40c16890681a9fe88125c9bdd981a284c6496d6925f37d09ad8e12953dfa864736f6c634300081c0033","offset":19443}},"immutableReferences":{"1547":[{"start":9001,"length":32},{"start":9148,"length":32}]},"transformations":[{"id":"1547","type":"replace","offset":9001,"reason":"immutable"},{"id":"1547","type":"replace","offset":9148,"reason":"immutable"}],"transformationValues":{"immutables":{"1547":"0x000000000000000000000000c5a845985bdf088f44e3ddf2bd1a79b08dbe9611"}}},"deployment":{"transactionHash":"0x73ffacf1e8f75a402522d62fad49cc483f5df209088c3d02c1f2632ceafdfdcb","blockNumber":"45004495","transactionIndex":"26","deployer":"0xfeed46c11F57B7126a773EeC6ae9cA7aE1C03C9a"},"sources":{"src/mv2/VaultV2Allocator.sol":{"content":"// SPDX-License-Identifier: GPL-2.0-or-later\n// Copyright (c) 2025 Steakhouse Financial\npragma solidity 0.8.28;\n\nimport {IMorpho} from \"morpho-blue/interfaces/IMorpho.sol\";\nimport {AccessControl} from \"@openzeppelin/contracts/access/AccessControl.sol\";\nimport {Initializable} from \"@openzeppelin/contracts/proxy/utils/Initializable.sol\";\nimport {UUPSUpgradeable} from \"@openzeppelin/contracts/proxy/utils/UUPSUpgradeable.sol\";\nimport {IERC20} from \"@openzeppelin/contracts/token/ERC20/IERC20.sol\";\nimport {SafeERC20} from \"@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol\";\nimport {IVaultV2} from \"vault-v2/interfaces/IVaultV2.sol\";\nimport {IBox} from \"./interfaces/IBox.sol\";\nimport {IFunding} from \"./interfaces/IFunding.sol\";\nimport {ISwapper} from \"./interfaces/ISwapper.sol\";\nimport {ErrorsLib} from \"./libraries/ErrorsLib.sol\";\n\n/// @notice Callback interface for Morpho flash loans\ninterface IMorphoFlashLoanCallback {\n    function onMorphoFlashLoan(uint256 assets, bytes calldata data) external;\n}\n\n/// @notice Callback interface for Box flash loans\ninterface IBoxFlashCallback {\n    function onBoxFlash(IERC20 token, uint256 amount, bytes calldata data) external;\n}\n\n/// @notice Interface for skimmable adapters\ninterface ISkimmableAdapter {\n    function skim(address token) external;\n}\n\n/// @notice Result struct for swap operations with slippage tracking\nstruct SwapResult {\n    uint256 expected;\n    uint256 received;\n    uint256 slippageBefore;\n    uint256 slippageAfter;\n}\n\n/**\n * @title VaultV2Allocator\n * @notice Helper contract for VaultV2 and Box allocations with flash loan support\n * @dev Upgradeable via UUPS pattern. Operators can perform complex allocation operations\n *      including leverage, deleverage, and refinancing with optional collateral/loan swaps.\n */\ncontract VaultV2Allocator is Initializable, UUPSUpgradeable, AccessControl, IMorphoFlashLoanCallback, IBoxFlashCallback {\n    using SafeERC20 for IERC20;\n\n    // =========================================================================\n    //                              Constants\n    // =========================================================================\n\n    /// @notice Role for operators allowed to perform restricted actions.\n    bytes32 public constant OPERATOR_ROLE = keccak256(\"OPERATOR_ROLE\");\n\n    // =========================================================================\n    //                           Transient Storage\n    // =========================================================================\n\n    /// @dev Morpho address for flash loan callback validation\n    address internal transient _morpho;\n\n    /// @dev Box address for flash callback validation\n    address internal transient _box;\n\n    /// @dev Expected amount from last swap\n    uint256 internal transient _expected;\n\n    /// @dev Received amount from last swap\n    uint256 internal transient _received;\n\n    /// @dev Accumulated slippage before operation\n    uint256 internal transient _slippageBefore;\n\n    /// @dev Accumulated slippage after operation\n    uint256 internal transient _slippageAfter;\n\n    // =========================================================================\n    //                              Constructor\n    // =========================================================================\n\n    /// @custom:oz-upgrades-unsafe-allow constructor\n    constructor() {\n        _disableInitializers();\n    }\n\n    // =========================================================================\n    //                              Initializer\n    // =========================================================================\n\n    /**\n     * @notice Initializes the contract, setting up access control and UUPS upgradeability.\n     * @param initialAdmin The address to grant initial admin and operator roles.\n     */\n    function initialize(address initialAdmin) public initializer {\n        _grantRole(DEFAULT_ADMIN_ROLE, initialAdmin);\n        _grantRole(OPERATOR_ROLE, initialAdmin);\n    }\n\n    // =========================================================================\n    //                              Modifiers\n    // =========================================================================\n\n    /**\n     * @notice Restricts execution to OPERATOR_ROLE or DEFAULT_ADMIN_ROLE.\n     */\n    modifier onlyOperator() {\n        _requireOperatorRole();\n        _;\n    }\n\n    modifier onlyAdmin() {\n        _requireAdminRole();\n        _;\n    }\n\n    function _requireOperatorRole() internal view {\n        address sender = _msgSender();\n        require(hasRole(OPERATOR_ROLE, sender) || hasRole(DEFAULT_ADMIN_ROLE, sender), \"VaultV2Allocator: Caller is not an operator\");\n    }\n\n    function _requireAdminRole() internal view {\n        require(hasRole(DEFAULT_ADMIN_ROLE, _msgSender()), \"VaultV2Allocator: Caller is not an admin\");\n    }\n\n    // =========================================================================\n    //                        Admin & Configuration\n    // =========================================================================\n\n    /**\n     * @notice Authorizes an upgrade to a new implementation.\n     * @dev Only callable by DEFAULT_ADMIN_ROLE. Part of OpenZeppelin UUPS pattern.\n     * @param newImplementation The address of the new implementation contract.\n     */\n    function _authorizeUpgrade(address newImplementation) internal override onlyAdmin {}\n\n    /**\n     * @notice Grants or revokes the OPERATOR_ROLE.\n     * @dev Only callable by DEFAULT_ADMIN_ROLE.\n     * @param operator The address to grant or revoke the role from.\n     * @param grant True to grant the role, false to revoke it.\n     */\n    function setOperatorRole(address operator, bool grant) external onlyAdmin {\n        if (grant) {\n            _grantRole(OPERATOR_ROLE, operator);\n        } else {\n            _revokeRole(OPERATOR_ROLE, operator);\n        }\n    }\n\n    // =========================================================================\n    //                        Simple Vault Operations\n    // =========================================================================\n\n    /**\n     * @notice Allocates funds from a VaultV2 to an adapter.\n     * @param vault The VaultV2 to allocate from.\n     * @param adapter The adapter to allocate to.\n     * @param amount The amount to allocate.\n     */\n    function allocateVault(IVaultV2 vault, address adapter, uint256 amount) external onlyOperator {\n        vault.allocate(adapter, \"\", amount);\n    }\n\n    /**\n     * @notice Deallocates funds from a VaultV2 adapter.\n     * @param vault The VaultV2 to deallocate from.\n     * @param adapter The adapter to deallocate from.\n     * @param amount The amount to deallocate.\n     */\n    function deallocateVault(IVaultV2 vault, address adapter, uint256 amount) external onlyOperator {\n        vault.deallocate(adapter, \"\", amount);\n    }\n\n    /**\n     * @notice Deallocates funds from a VaultV2 adapter using explicit adapter data.\n     * @param vault The VaultV2 to deallocate from.\n     * @param adapter The adapter to deallocate from.\n     * @param data The adapter-specific data for the deallocation.\n     * @param amount The amount to deallocate.\n     */\n    function deallocateVaultWithData(IVaultV2 vault, address adapter, bytes memory data, uint256 amount) external onlyOperator {\n        vault.deallocate(adapter, data, amount);\n    }\n\n    /**\n     * @notice Reallocates funds between two VaultV2 adapters using explicit adapter data.\n     * @param vault The VaultV2 to rebalance within.\n     * @param fromAdapter The adapter to deallocate from.\n     * @param fromData The adapter-specific data for the source deallocation.\n     * @param toAdapter The adapter to allocate to.\n     * @param toData The adapter-specific data for the destination allocation.\n     * @param amount The amount to move.\n     */\n    function reallocateVault(\n        IVaultV2 vault,\n        address fromAdapter,\n        bytes memory fromData,\n        address toAdapter,\n        bytes memory toData,\n        uint256 amount\n    ) external onlyOperator {\n        vault.deallocate(fromAdapter, fromData, amount);\n        vault.allocate(toAdapter, toData, amount);\n    }\n\n    /**\n     * @notice Returns how much of a token can currently be skimmed from an adapter.\n     * @param adapter The adapter to inspect.\n     * @param token The token to inspect.\n     * @return amount The current balance of `token` held by `adapter`.\n     */\n    function skimmableBalance(address adapter, IERC20 token) external view returns (uint256 amount) {\n        amount = token.balanceOf(adapter);\n    }\n\n    /**\n     * @notice Skims a token from an adapter, swaps it to the vault asset, and donates the proceeds to the vault.\n     * @param vault The VaultV2 receiving the donated assets.\n     * @param adapter The adapter to skim from.\n     * @param skimToken The token to skim and optionally swap.\n     * @param swapper The swapper to convert skimToken to the vault asset.\n     * @param swapData The swap data for the swapper.\n     * @param minExpected The minimum expected amount of vault assets to donate.\n     * @return result The swap result with expected, received, and slippage tracking.\n     */\n    function reinvestSkimAdapter(\n        IVaultV2 vault,\n        address adapter,\n        IERC20 skimToken,\n        ISwapper swapper,\n        bytes memory swapData,\n        uint256 minExpected\n    ) external onlyOperator returns (SwapResult memory result) {\n        IERC20 asset = IERC20(vault.asset());\n        uint256 skimTokenBalanceBefore = skimToken.balanceOf(address(this));\n        uint256 assetBalanceBefore = asset.balanceOf(address(this));\n\n        ISkimmableAdapter(adapter).skim(address(skimToken));\n\n        uint256 skimmed = skimToken.balanceOf(address(this)) - skimTokenBalanceBefore;\n        require(skimmed > 0, \"VaultV2Allocator.reinvestSkimAdapter: No tokens skimmed\");\n\n        if (address(skimToken) != address(asset)) {\n            skimToken.forceApprove(address(swapper), skimmed);\n            swapper.sell(skimToken, asset, skimmed, swapData);\n            skimToken.forceApprove(address(swapper), 0);\n        }\n\n        result.received = asset.balanceOf(address(this)) - assetBalanceBefore;\n        result.expected = result.received;\n\n        require(result.received >= minExpected, \"VaultV2Allocator.reinvestSkimAdapter: Received less than min expected\");\n\n        asset.safeTransfer(address(vault), result.received);\n    }\n\n    // =========================================================================\n    //                        Simple Box Operations\n    // =========================================================================\n\n    /**\n     * @notice Allocates base asset to a token in the Box.\n     * @param box The Box to allocate in.\n     * @param toToken The token to allocate to.\n     * @param amount The amount of base asset to allocate.\n     * @param swapper The swapper contract to use.\n     * @param swapData The swap data for the swapper.\n     * @param minExpected The minimum expected amount of tokens to receive.\n     * @return result The swap result with expected, received, and slippage tracking.\n     */\n    function allocateBox(\n        IBox box,\n        IERC20 toToken,\n        uint256 amount,\n        ISwapper swapper,\n        bytes memory swapData,\n        uint256 minExpected\n    ) external onlyOperator returns (SwapResult memory result) {\n        result.slippageBefore = box.accumulatedSlippage();\n\n        (result.expected, result.received) = box.allocate(toToken, amount, swapper, swapData);\n\n        result.slippageAfter = box.accumulatedSlippage();\n\n        require(result.received >= minExpected, \"VaultV2Allocator.allocateBox: Received less than min expected\");\n    }\n\n    /**\n     * @notice Deallocates a token back to base asset in the Box.\n     * @param box The Box to deallocate from.\n     * @param fromToken The token to deallocate.\n     * @param amount The amount of tokens to deallocate.\n     * @param swapper The swapper contract to use.\n     * @param swapData The swap data for the swapper.\n     * @param minExpected The minimum expected amount of base asset to receive.\n     * @return result The swap result with expected, received, and slippage tracking.\n     */\n    function deallocateBox(\n        IBox box,\n        IERC20 fromToken,\n        uint256 amount,\n        ISwapper swapper,\n        bytes memory swapData,\n        uint256 minExpected\n    ) external onlyOperator returns (SwapResult memory result) {\n        result.slippageBefore = box.accumulatedSlippage();\n\n        (result.expected, result.received) = box.deallocate(fromToken, amount, swapper, swapData);\n\n        result.slippageAfter = box.accumulatedSlippage();\n\n        require(result.received >= minExpected, \"VaultV2Allocator.deallocateBox: Received less than min expected\");\n    }\n\n    /**\n     * @notice Reallocates from one token to another in the Box.\n     * @param box The Box to reallocate in.\n     * @param fromToken The token to reallocate from.\n     * @param toToken The token to reallocate to.\n     * @param amount The amount of fromToken to reallocate.\n     * @param swapper The swapper contract to use.\n     * @param swapData The swap data for the swapper.\n     * @param minExpected The minimum expected amount of toToken to receive.\n     * @return result The swap result with expected, received, and slippage tracking.\n     */\n    function reallocateBox(\n        IBox box,\n        IERC20 fromToken,\n        IERC20 toToken,\n        uint256 amount,\n        ISwapper swapper,\n        bytes memory swapData,\n        uint256 minExpected\n    ) external onlyOperator returns (SwapResult memory result) {\n        result.slippageBefore = box.accumulatedSlippage();\n\n        (result.expected, result.received) = box.reallocate(fromToken, toToken, amount, swapper, swapData);\n\n        result.slippageAfter = box.accumulatedSlippage();\n\n        require(result.received >= minExpected, \"VaultV2Allocator.reallocateBox: Received less than min expected\");\n    }\n\n    // =========================================================================\n    //                        Box Funding Operations\n    // =========================================================================\n\n    /**\n     * @notice Pledges collateral to a funding module via the Box.\n     */\n    function pledgeBox(\n        IBox box,\n        IFunding fundingModule,\n        bytes memory facilityData,\n        IERC20 collateralToken,\n        uint256 collateralAmount\n    ) external onlyOperator {\n        box.pledge(fundingModule, facilityData, collateralToken, collateralAmount);\n    }\n\n    /**\n     * @notice Depledges collateral from a funding module via the Box.\n     */\n    function depledgeBox(\n        IBox box,\n        IFunding fundingModule,\n        bytes memory facilityData,\n        IERC20 collateralToken,\n        uint256 collateralAmount\n    ) external onlyOperator {\n        box.depledge(fundingModule, facilityData, collateralToken, collateralAmount);\n    }\n\n    /**\n     * @notice Borrows from a funding module via the Box.\n     */\n    function borrowBox(\n        IBox box,\n        IFunding fundingModule,\n        bytes memory facilityData,\n        IERC20 borrowToken,\n        uint256 borrowAmount\n    ) external onlyOperator {\n        box.borrow(fundingModule, facilityData, borrowToken, borrowAmount);\n    }\n\n    /**\n     * @notice Repays debt to a funding module via the Box.\n     */\n    function repayBox(\n        IBox box,\n        IFunding fundingModule,\n        bytes memory facilityData,\n        IERC20 debtToken,\n        uint256 repayAmount\n    ) external onlyOperator {\n        box.repay(fundingModule, facilityData, debtToken, repayAmount);\n    }\n\n    // =========================================================================\n    //                    Combined Vault + Box Operations\n    // =========================================================================\n\n    /**\n     * @notice Allocates from VaultV2 through Box to a token.\n     * @dev Handles liquidity sourcing from both Box and Vault.\n     */\n    function allocateToken(\n        IVaultV2 vault,\n        address adapter,\n        IBox box,\n        IERC20 toToken,\n        uint256 amount,\n        ISwapper swapper,\n        bytes memory swapData,\n        uint256 minExpected\n    ) external onlyOperator returns (SwapResult memory result) {\n        IERC20 currency = IERC20(vault.asset());\n\n        uint256 boxLiquidity = currency.balanceOf(address(box));\n        uint256 vaultLiquidity = currency.balanceOf(address(vault));\n        uint256 neededFromVault = amount > boxLiquidity ? amount - boxLiquidity : 0;\n\n        if (neededFromVault > 0) {\n            uint256 availableLiquidity = boxLiquidity + vaultLiquidity;\n            uint256 missingLiquidity = amount > availableLiquidity ? amount - availableLiquidity : 0;\n\n            // If there's not enough liquidity in the box + vault, deallocate from the liquidity adapter\n            address liquidityAdapter = vault.liquidityAdapter();\n            if (missingLiquidity > 0 && liquidityAdapter != address(0)) {\n                vault.deallocate(liquidityAdapter, vault.liquidityData(), missingLiquidity);\n            }\n\n            vault.allocate(adapter, \"\", neededFromVault);\n        }\n\n        result.slippageBefore = box.accumulatedSlippage();\n\n        (result.expected, result.received) = box.allocate(toToken, amount, swapper, swapData);\n\n        result.slippageAfter = box.accumulatedSlippage();\n\n        require(result.received >= minExpected, \"VaultV2Allocator.allocateToken: Received less than min expected\");\n    }\n\n    /**\n     * @notice Deallocates a token from Box back to VaultV2.\n     */\n    function deallocateToken(\n        IVaultV2 vault,\n        address adapter,\n        IBox box,\n        IERC20 fromToken,\n        uint256 amount,\n        ISwapper swapper,\n        bytes memory swapData,\n        uint256 minExpected\n    ) external onlyOperator returns (SwapResult memory result) {\n        result.slippageBefore = box.accumulatedSlippage();\n\n        (result.expected, result.received) = box.deallocate(fromToken, amount, swapper, swapData);\n\n        result.slippageAfter = box.accumulatedSlippage();\n\n        require(result.received >= minExpected, \"VaultV2Allocator.deallocateToken: Received less than min expected\");\n\n        vault.deallocate(adapter, \"\", result.received);\n\n        address liquidityAdapter = vault.liquidityAdapter();\n        if (liquidityAdapter != address(0)) {\n            vault.allocate(liquidityAdapter, vault.liquidityData(), result.received);\n        }\n    }\n\n    // =========================================================================\n    //                     Flash Loan Operations (Leverage)\n    // =========================================================================\n\n    /**\n     * @notice Leverages a position using a Morpho flash loan.\n     * @dev Flow: Flash loan -> Swap loan to collateral -> Pledge collateral -> Borrow to repay flash loan\n     * @param morpho The Morpho protocol address for flash loans.\n     * @param box The Box to perform operations on.\n     * @param fundingModule The funding module to use.\n     * @param facilityData The facility data for the funding module.\n     * @param swapper The swapper for loan-to-collateral conversion.\n     * @param swapData The swap data for the swapper.\n     * @param collateralToken The collateral token to acquire.\n     * @param loanToken The loan token to flash loan and borrow.\n     * @param loanAmount The amount to flash loan/borrow.\n     * @return result The swap result with expected, received, and slippage tracking.\n     */\n    function leverage(\n        IMorpho morpho,\n        IBox box,\n        IFunding fundingModule,\n        bytes calldata facilityData,\n        ISwapper swapper,\n        bytes calldata swapData,\n        IERC20 collateralToken,\n        IERC20 loanToken,\n        uint256 loanAmount\n    ) external onlyOperator returns (SwapResult memory result) {\n        _morpho = address(morpho);\n        _box = address(box);\n        _slippageBefore = box.accumulatedSlippage();\n\n        morpho.flashLoan(\n            address(loanToken),\n            loanAmount,\n            abi.encode(\n                VaultV2Allocator.leverage.selector,\n                address(box),\n                fundingModule,\n                facilityData,\n                collateralToken,\n                loanToken,\n                loanAmount,\n                swapper,\n                swapData\n            )\n        );\n\n        result.expected = _expected;\n        result.received = _received;\n        result.slippageBefore = _slippageBefore;\n        result.slippageAfter = box.accumulatedSlippage();\n    }\n\n    /**\n     * @notice Deleverages a position using a Morpho flash loan.\n     * @dev Flow: Flash loan -> Repay debt -> Depledge collateral -> Swap collateral to loan to repay flash\n     * @param morpho The Morpho protocol address for flash loans.\n     * @param box The Box to perform operations on.\n     * @param fundingModule The funding module to use.\n     * @param facilityData The facility data for the funding module.\n     * @param swapper The swapper for collateral-to-loan conversion.\n     * @param swapData The swap data for the swapper.\n     * @param collateralToken The collateral token to withdraw.\n     * @param collateralAmount The amount of collateral to withdraw (type(uint256).max for all).\n     * @param loanToken The loan token to repay.\n     * @param loanAmount The amount of debt to repay (type(uint256).max for all).\n     * @return result The swap result with expected, received, and slippage tracking.\n     */\n    function deleverage(\n        IMorpho morpho,\n        IBox box,\n        IFunding fundingModule,\n        bytes calldata facilityData,\n        ISwapper swapper,\n        bytes calldata swapData,\n        IERC20 collateralToken,\n        uint256 collateralAmount,\n        IERC20 loanToken,\n        uint256 loanAmount\n    ) external onlyOperator returns (SwapResult memory result) {\n        _morpho = address(morpho);\n        _box = address(box);\n        _slippageBefore = box.accumulatedSlippage();\n\n        if (loanAmount == type(uint256).max) {\n            loanAmount = fundingModule.debtBalance(facilityData, loanToken);\n        }\n\n        morpho.flashLoan(\n            address(loanToken),\n            loanAmount,\n            abi.encode(\n                VaultV2Allocator.deleverage.selector,\n                address(box),\n                fundingModule,\n                facilityData,\n                collateralToken,\n                collateralAmount,\n                loanToken,\n                loanAmount,\n                swapper,\n                swapData\n            )\n        );\n\n        result.expected = _expected;\n        result.received = _received;\n        result.slippageBefore = _slippageBefore;\n        result.slippageAfter = box.accumulatedSlippage();\n    }\n\n    /**\n     * @notice Refinances a position to a new facility (same collateral and loan).\n     * @dev Flow: Flash loan -> Repay old debt -> Depledge -> Pledge to new -> Borrow from new to repay flash\n     * @param morpho The Morpho protocol address for flash loans.\n     * @param box The Box to perform operations on.\n     * @param fromFundingModule The funding module to refinance from.\n     * @param fromFacilityData The facility data for the source.\n     * @param toFundingModule The funding module to refinance to.\n     * @param toFacilityData The facility data for the destination.\n     * @param collateralToken The collateral token.\n     * @param collateralAmount The amount of collateral (type(uint256).max for all).\n     * @param loanToken The loan token.\n     * @param loanAmount The amount of debt (type(uint256).max for all).\n     */\n    function refinance(\n        IMorpho morpho,\n        IBox box,\n        IFunding fromFundingModule,\n        bytes calldata fromFacilityData,\n        IFunding toFundingModule,\n        bytes calldata toFacilityData,\n        IERC20 collateralToken,\n        uint256 collateralAmount,\n        IERC20 loanToken,\n        uint256 loanAmount\n    ) external onlyOperator {\n        _morpho = address(morpho);\n        _box = address(box);\n\n        if (loanAmount == type(uint256).max) {\n            loanAmount = fromFundingModule.debtBalance(fromFacilityData, loanToken);\n        }\n        if (collateralAmount == type(uint256).max) {\n            collateralAmount = fromFundingModule.collateralBalance(fromFacilityData, collateralToken);\n        }\n\n        morpho.flashLoan(\n            address(loanToken),\n            loanAmount,\n            abi.encode(\n                VaultV2Allocator.refinance.selector,\n                address(box),\n                fromFundingModule,\n                fromFacilityData,\n                toFundingModule,\n                toFacilityData,\n                collateralToken,\n                collateralAmount,\n                loanToken,\n                loanAmount\n            )\n        );\n    }\n\n    /**\n     * @notice Refinances to a new facility while swapping collateral to a new type.\n     * @dev Flow: Flash loan -> Repay old debt -> Depledge old collateral -> Swap to new collateral\n     *            -> Pledge new collateral to new facility -> Borrow to repay flash loan\n     * @param morpho The Morpho protocol address for flash loans.\n     * @param box The Box to perform operations on.\n     * @param fromFundingModule The funding module to refinance from.\n     * @param fromFacilityData The facility data for the source.\n     * @param toFundingModule The funding module to refinance to.\n     * @param toFacilityData The facility data for the destination.\n     * @param fromCollateralToken The original collateral token.\n     * @param fromCollateralAmount The amount of original collateral (type(uint256).max for all).\n     * @param toCollateralToken The new collateral token.\n     * @param loanToken The loan token (same for both facilities).\n     * @param loanAmount The amount of debt (type(uint256).max for all).\n     * @param swapper The swapper for collateral conversion.\n     * @param swapData The swap data for the swapper.\n     * @return result The swap result with expected, received, and slippage tracking.\n     */\n    function refinanceSwapCollateral(\n        IMorpho morpho,\n        IBox box,\n        IFunding fromFundingModule,\n        bytes memory fromFacilityData,\n        IFunding toFundingModule,\n        bytes memory toFacilityData,\n        IERC20 fromCollateralToken,\n        uint256 fromCollateralAmount,\n        IERC20 toCollateralToken,\n        IERC20 loanToken,\n        uint256 loanAmount,\n        ISwapper swapper,\n        bytes memory swapData\n    ) external onlyOperator returns (SwapResult memory) {\n        _morpho = address(morpho);\n        _box = address(box);\n        _slippageBefore = box.accumulatedSlippage();\n\n        if (loanAmount == type(uint256).max) {\n            loanAmount = fromFundingModule.debtBalance(fromFacilityData, loanToken);\n        }\n        if (fromCollateralAmount == type(uint256).max) {\n            fromCollateralAmount = fromFundingModule.collateralBalance(fromFacilityData, fromCollateralToken);\n        }\n\n        morpho.flashLoan(\n            address(loanToken),\n            loanAmount,\n            abi.encode(\n                VaultV2Allocator.refinanceSwapCollateral.selector,\n                address(box),\n                fromFundingModule,\n                fromFacilityData,\n                toFundingModule,\n                toFacilityData,\n                fromCollateralToken,\n                fromCollateralAmount,\n                toCollateralToken,\n                loanToken,\n                loanAmount,\n                swapper,\n                swapData\n            )\n        );\n\n        return SwapResult({\n            expected: _expected,\n            received: _received,\n            slippageBefore: _slippageBefore,\n            slippageAfter: box.accumulatedSlippage()\n        });\n    }\n\n    /**\n     * @notice Refinances to a new facility while swapping the loan asset.\n     * @dev Flow: Flash loan new loan token -> Swap to old loan token -> Repay old debt\n     *            -> Depledge collateral -> Pledge collateral to new facility\n     *            -> Borrow new loan token to repay flash loan\n     * @param morpho The Morpho protocol address for flash loans.\n     * @param box The Box to perform operations on.\n     * @param fromFundingModule The funding module to refinance from.\n     * @param fromFacilityData The facility data for the source.\n     * @param toFundingModule The funding module to refinance to.\n     * @param toFacilityData The facility data for the destination.\n     * @param collateralToken The collateral token (same for both facilities).\n     * @param collateralAmount The amount of collateral (type(uint256).max for all).\n     * @param fromLoanToken The original loan token.\n     * @param fromLoanAmount The amount of original debt (type(uint256).max for all).\n     * @param toLoanToken The new loan token.\n     * @param toLoanAmount The amount of new loan token to flash loan.\n     * @param swapper The swapper for loan token conversion.\n     * @param swapData The swap data for the swapper.\n     * @return result The swap result with expected, received, and slippage tracking.\n     */\n    function refinanceSwapLoan(\n        IMorpho morpho,\n        IBox box,\n        IFunding fromFundingModule,\n        bytes memory fromFacilityData,\n        IFunding toFundingModule,\n        bytes memory toFacilityData,\n        IERC20 collateralToken,\n        uint256 collateralAmount,\n        IERC20 fromLoanToken,\n        uint256 fromLoanAmount,\n        IERC20 toLoanToken,\n        uint256 toLoanAmount,\n        ISwapper swapper,\n        bytes memory swapData\n    ) external onlyOperator returns (SwapResult memory) {\n        _morpho = address(morpho);\n        _box = address(box);\n        _slippageBefore = box.accumulatedSlippage();\n\n        if (fromLoanAmount == type(uint256).max) {\n            fromLoanAmount = fromFundingModule.debtBalance(fromFacilityData, fromLoanToken);\n        }\n        if (collateralAmount == type(uint256).max) {\n            collateralAmount = fromFundingModule.collateralBalance(fromFacilityData, collateralToken);\n        }\n\n        morpho.flashLoan(\n            address(toLoanToken),\n            toLoanAmount,\n            abi.encode(\n                VaultV2Allocator.refinanceSwapLoan.selector,\n                address(box),\n                fromFundingModule,\n                fromFacilityData,\n                toFundingModule,\n                toFacilityData,\n                collateralToken,\n                collateralAmount,\n                fromLoanToken,\n                fromLoanAmount,\n                toLoanToken,\n                toLoanAmount,\n                swapper,\n                swapData\n            )\n        );\n\n        return SwapResult({\n            expected: _expected,\n            received: _received,\n            slippageBefore: _slippageBefore,\n            slippageAfter: box.accumulatedSlippage()\n        });\n    }\n\n    // =========================================================================\n    //                        Flash Loan Callbacks\n    // =========================================================================\n\n    /**\n     * @notice Morpho flash loan callback.\n     * @dev Called by Morpho after flash loan funds are transferred.\n     */\n    function onMorphoFlashLoan(uint256 assets, bytes calldata data) external override {\n        require(msg.sender == _morpho, ErrorsLib.OnlyMorpho());\n\n        bytes4 operation = abi.decode(data, (bytes4));\n\n        IBox box;\n        IERC20 loanToken;\n\n        if (operation == VaultV2Allocator.leverage.selector) {\n            (, box, , , , loanToken, , , ) = abi.decode(data, (bytes4, IBox, IFunding, bytes, IERC20, IERC20, uint256, ISwapper, bytes));\n        } else if (operation == VaultV2Allocator.deleverage.selector) {\n            (, box, , , , , loanToken, , , ) = abi.decode(\n                data,\n                (bytes4, IBox, IFunding, bytes, IERC20, uint256, IERC20, uint256, ISwapper, bytes)\n            );\n        } else if (operation == VaultV2Allocator.refinance.selector) {\n            (, box, , , , , , , loanToken, ) = abi.decode(\n                data,\n                (bytes4, IBox, IFunding, bytes, IFunding, bytes, IERC20, uint256, IERC20, uint256)\n            );\n        } else if (operation == VaultV2Allocator.refinanceSwapCollateral.selector) {\n            (, box, , , , , , , , loanToken, , , ) = abi.decode(\n                data,\n                (bytes4, IBox, IFunding, bytes, IFunding, bytes, IERC20, uint256, IERC20, IERC20, uint256, ISwapper, bytes)\n            );\n        } else if (operation == VaultV2Allocator.refinanceSwapLoan.selector) {\n            // For refinanceSwapLoan, we flash the NEW loan token (toLoanToken)\n            (, box, , , , , , , , , loanToken, , , ) = abi.decode(\n                data,\n                (bytes4, IBox, IFunding, bytes, IFunding, bytes, IERC20, uint256, IERC20, uint256, IERC20, uint256, ISwapper, bytes)\n            );\n        } else {\n            revert(\"VaultV2Allocator: Invalid operation\");\n        }\n\n        // Approve the box to pull the flash loan amount\n        loanToken.forceApprove(address(box), assets);\n\n        // Call box.flash which will call back to us via onBoxFlash\n        box.flash(loanToken, assets, data);\n\n        // Repay the flash loan to Morpho\n        loanToken.forceApprove(msg.sender, assets);\n    }\n\n    /**\n     * @notice Box flash callback.\n     * @dev Called by Box after flash funds are transferred. Executes the actual operation logic.\n     */\n    function onBoxFlash(IERC20, uint256, bytes calldata data) external override {\n        require(msg.sender == _box, ErrorsLib.OnlyBox());\n\n        bytes4 operation = abi.decode(data, (bytes4));\n        IBox box = IBox(msg.sender);\n\n        if (operation == VaultV2Allocator.leverage.selector) {\n            _handleLeverage(box, data);\n        } else if (operation == VaultV2Allocator.deleverage.selector) {\n            _handleDeleverage(box, data);\n        } else if (operation == VaultV2Allocator.refinance.selector) {\n            _handleRefinance(box, data);\n        } else if (operation == VaultV2Allocator.refinanceSwapCollateral.selector) {\n            _handleRefinanceSwapCollateral(box, data);\n        } else if (operation == VaultV2Allocator.refinanceSwapLoan.selector) {\n            _handleRefinanceSwapLoan(box, data);\n        } else {\n            revert(\"VaultV2Allocator: Invalid operation\");\n        }\n    }\n\n    // =========================================================================\n    //                     Internal Flash Loan Handlers\n    // =========================================================================\n\n    function _handleLeverage(IBox box, bytes calldata data) internal {\n        (\n            ,\n            ,\n            IFunding fundingModule,\n            bytes memory facilityData,\n            IERC20 collateralToken,\n            IERC20 loanToken,\n            uint256 loanAmount,\n            ISwapper swapper,\n            bytes memory swapData\n        ) = abi.decode(data, (bytes4, IBox, IFunding, bytes, IERC20, IERC20, uint256, ISwapper, bytes));\n\n        // Record collateral balance before swap\n        uint256 beforeCollateral = collateralToken.balanceOf(address(box));\n\n        // Swap loan tokens to collateral tokens\n        _swap(box, swapper, swapData, loanToken, collateralToken, loanAmount);\n\n        // Check how much collateral was received\n        uint256 afterCollateral = collateralToken.balanceOf(address(box));\n        uint256 collateralReceived = afterCollateral - beforeCollateral;\n\n        // Pledge collateral to funding module\n        box.pledge(fundingModule, facilityData, collateralToken, collateralReceived);\n\n        // Borrow loan tokens to repay flash loan\n        box.borrow(fundingModule, facilityData, loanToken, loanAmount);\n    }\n\n    function _handleDeleverage(IBox box, bytes calldata data) internal {\n        (\n            ,\n            ,\n            IFunding fundingModule,\n            bytes memory facilityData,\n            IERC20 collateralToken,\n            uint256 collateralAmount,\n            IERC20 loanToken,\n            uint256 loanAmount,\n            ISwapper swapper,\n            bytes memory swapData\n        ) = abi.decode(data, (bytes4, IBox, IFunding, bytes, IERC20, uint256, IERC20, uint256, ISwapper, bytes));\n\n        // Repay debt with flash loaned tokens\n        box.repay(fundingModule, facilityData, loanToken, loanAmount);\n\n        // Withdraw collateral\n        box.depledge(fundingModule, facilityData, collateralToken, collateralAmount);\n\n        // Swap collateral to loan tokens to repay flash loan\n        _swap(box, swapper, swapData, collateralToken, loanToken, collateralAmount);\n    }\n\n    function _handleRefinance(IBox box, bytes calldata data) internal {\n        (\n            ,\n            ,\n            IFunding fromFundingModule,\n            bytes memory fromFacilityData,\n            IFunding toFundingModule,\n            bytes memory toFacilityData,\n            IERC20 collateralToken,\n            uint256 collateralAmount,\n            IERC20 loanToken,\n            uint256 loanAmount\n        ) = abi.decode(data, (bytes4, IBox, IFunding, bytes, IFunding, bytes, IERC20, uint256, IERC20, uint256));\n\n        // Repay old debt\n        box.repay(fromFundingModule, fromFacilityData, loanToken, loanAmount);\n\n        // Withdraw collateral from old facility\n        box.depledge(fromFundingModule, fromFacilityData, collateralToken, collateralAmount);\n\n        // Pledge collateral to new facility\n        box.pledge(toFundingModule, toFacilityData, collateralToken, collateralAmount);\n\n        // Borrow from new facility to repay flash loan\n        box.borrow(toFundingModule, toFacilityData, loanToken, loanAmount);\n    }\n\n    function _handleRefinanceSwapCollateral(IBox box, bytes calldata data) internal {\n        (\n            ,\n            ,\n            IFunding fromFundingModule,\n            bytes memory fromFacilityData,\n            IFunding toFundingModule,\n            bytes memory toFacilityData,\n            IERC20 fromCollateralToken,\n            uint256 fromCollateralAmount,\n            IERC20 toCollateralToken,\n            IERC20 loanToken,\n            uint256 loanAmount,\n            ISwapper swapper,\n            bytes memory swapData\n        ) = abi.decode(data, (bytes4, IBox, IFunding, bytes, IFunding, bytes, IERC20, uint256, IERC20, IERC20, uint256, ISwapper, bytes));\n\n        // Repay old debt with flash loaned tokens\n        box.repay(fromFundingModule, fromFacilityData, loanToken, loanAmount);\n\n        // Withdraw old collateral\n        box.depledge(fromFundingModule, fromFacilityData, fromCollateralToken, fromCollateralAmount);\n\n        // Record new collateral balance before swap\n        uint256 beforeNewCollateral = toCollateralToken.balanceOf(address(box));\n\n        // Swap old collateral to new collateral\n        _swap(box, swapper, swapData, fromCollateralToken, toCollateralToken, fromCollateralAmount);\n\n        // Calculate how much new collateral was received\n        uint256 afterNewCollateral = toCollateralToken.balanceOf(address(box));\n        uint256 newCollateralReceived = afterNewCollateral - beforeNewCollateral;\n\n        // Pledge new collateral to new facility\n        box.pledge(toFundingModule, toFacilityData, toCollateralToken, newCollateralReceived);\n\n        // Borrow from new facility to repay flash loan\n        box.borrow(toFundingModule, toFacilityData, loanToken, loanAmount);\n    }\n\n    function _handleRefinanceSwapLoan(IBox box, bytes calldata data) internal {\n        (\n            ,\n            ,\n            IFunding fromFundingModule,\n            bytes memory fromFacilityData,\n            IFunding toFundingModule,\n            bytes memory toFacilityData,\n            IERC20 collateralToken,\n            uint256 collateralAmount,\n            IERC20 fromLoanToken,\n            uint256 fromLoanAmount,\n            IERC20 toLoanToken,\n            uint256 toLoanAmount,\n            ISwapper swapper,\n            bytes memory swapData\n        ) = abi.decode(\n                data,\n                (bytes4, IBox, IFunding, bytes, IFunding, bytes, IERC20, uint256, IERC20, uint256, IERC20, uint256, ISwapper, bytes)\n            );\n\n        // Record old loan token balance before swap\n        uint256 beforeOldLoan = fromLoanToken.balanceOf(address(box));\n\n        // Swap new loan token (from flash loan) to old loan token\n        _swap(box, swapper, swapData, toLoanToken, fromLoanToken, toLoanAmount);\n\n        // Calculate how much old loan token we received\n        uint256 afterOldLoan = fromLoanToken.balanceOf(address(box));\n        uint256 oldLoanReceived = afterOldLoan - beforeOldLoan;\n\n        // Use whatever we received to repay (should be >= fromLoanAmount)\n        uint256 repayAmount = oldLoanReceived > fromLoanAmount ? fromLoanAmount : oldLoanReceived;\n\n        // Repay old debt\n        box.repay(fromFundingModule, fromFacilityData, fromLoanToken, repayAmount);\n\n        // Withdraw collateral from old facility\n        box.depledge(fromFundingModule, fromFacilityData, collateralToken, collateralAmount);\n\n        // Pledge collateral to new facility\n        box.pledge(toFundingModule, toFacilityData, collateralToken, collateralAmount);\n\n        // Borrow new loan token from new facility to repay flash loan\n        box.borrow(toFundingModule, toFacilityData, toLoanToken, toLoanAmount);\n    }\n\n    // =========================================================================\n    //                         Internal Helpers\n    // =========================================================================\n\n    /**\n     * @dev Executes a swap via Box allocation functions based on token types.\n     */\n    function _swap(IBox box, ISwapper swapper, bytes memory swapData, IERC20 fromToken, IERC20 toToken, uint256 amount) internal {\n        if (address(fromToken) == box.asset()) {\n            (_expected, _received) = box.allocate(toToken, amount, swapper, swapData);\n        } else if (address(toToken) == box.asset()) {\n            (_expected, _received) = box.deallocate(fromToken, amount, swapper, swapData);\n        } else {\n            (_expected, _received) = box.reallocate(fromToken, toToken, amount, swapper, swapData);\n        }\n    }\n}\n"},"lib/morpho-blue/src/interfaces/IMorpho.sol":{"content":"// SPDX-License-Identifier: GPL-2.0-or-later\npragma solidity >=0.5.0;\n\ntype Id is bytes32;\n\nstruct MarketParams {\n    address loanToken;\n    address collateralToken;\n    address oracle;\n    address irm;\n    uint256 lltv;\n}\n\n/// @dev Warning: For `feeRecipient`, `supplyShares` does not contain the accrued shares since the last interest\n/// accrual.\nstruct Position {\n    uint256 supplyShares;\n    uint128 borrowShares;\n    uint128 collateral;\n}\n\n/// @dev Warning: `totalSupplyAssets` does not contain the accrued interest since the last interest accrual.\n/// @dev Warning: `totalBorrowAssets` does not contain the accrued interest since the last interest accrual.\n/// @dev Warning: `totalSupplyShares` does not contain the additional shares accrued by `feeRecipient` since the last\n/// interest accrual.\nstruct Market {\n    uint128 totalSupplyAssets;\n    uint128 totalSupplyShares;\n    uint128 totalBorrowAssets;\n    uint128 totalBorrowShares;\n    uint128 lastUpdate;\n    uint128 fee;\n}\n\nstruct Authorization {\n    address authorizer;\n    address authorized;\n    bool isAuthorized;\n    uint256 nonce;\n    uint256 deadline;\n}\n\nstruct Signature {\n    uint8 v;\n    bytes32 r;\n    bytes32 s;\n}\n\n/// @dev This interface is used for factorizing IMorphoStaticTyping and IMorpho.\n/// @dev Consider using the IMorpho interface instead of this one.\ninterface IMorphoBase {\n    /// @notice The EIP-712 domain separator.\n    /// @dev Warning: Every EIP-712 signed message based on this domain separator can be reused on another chain sharing\n    /// the same chain id because the domain separator would be the same.\n    function DOMAIN_SEPARATOR() external view returns (bytes32);\n\n    /// @notice The owner of the contract.\n    /// @dev It has the power to change the owner.\n    /// @dev It has the power to set fees on markets and set the fee recipient.\n    /// @dev It has the power to enable but not disable IRMs and LLTVs.\n    function owner() external view returns (address);\n\n    /// @notice The fee recipient of all markets.\n    /// @dev The recipient receives the fees of a given market through a supply position on that market.\n    function feeRecipient() external view returns (address);\n\n    /// @notice Whether the `irm` is enabled.\n    function isIrmEnabled(address irm) external view returns (bool);\n\n    /// @notice Whether the `lltv` is enabled.\n    function isLltvEnabled(uint256 lltv) external view returns (bool);\n\n    /// @notice Whether `authorized` is authorized to modify `authorizer`'s position on all markets.\n    /// @dev Anyone is authorized to modify their own positions, regardless of this variable.\n    function isAuthorized(address authorizer, address authorized) external view returns (bool);\n\n    /// @notice The `authorizer`'s current nonce. Used to prevent replay attacks with EIP-712 signatures.\n    function nonce(address authorizer) external view returns (uint256);\n\n    /// @notice Sets `newOwner` as `owner` of the contract.\n    /// @dev Warning: No two-step transfer ownership.\n    /// @dev Warning: The owner can be set to the zero address.\n    function setOwner(address newOwner) external;\n\n    /// @notice Enables `irm` as a possible IRM for market creation.\n    /// @dev Warning: It is not possible to disable an IRM.\n    function enableIrm(address irm) external;\n\n    /// @notice Enables `lltv` as a possible LLTV for market creation.\n    /// @dev Warning: It is not possible to disable a LLTV.\n    function enableLltv(uint256 lltv) external;\n\n    /// @notice Sets the `newFee` for the given market `marketParams`.\n    /// @param newFee The new fee, scaled by WAD.\n    /// @dev Warning: The recipient can be the zero address.\n    function setFee(MarketParams memory marketParams, uint256 newFee) external;\n\n    /// @notice Sets `newFeeRecipient` as `feeRecipient` of the fee.\n    /// @dev Warning: If the fee recipient is set to the zero address, fees will accrue there and will be lost.\n    /// @dev Modifying the fee recipient will allow the new recipient to claim any pending fees not yet accrued. To\n    /// ensure that the current recipient receives all due fees, accrue interest manually prior to making any changes.\n    function setFeeRecipient(address newFeeRecipient) external;\n\n    /// @notice Creates the market `marketParams`.\n    /// @dev Here is the list of assumptions on the market's dependencies (tokens, IRM and oracle) that guarantees\n    /// Morpho behaves as expected:\n    /// - The token should be ERC-20 compliant, except that it can omit return values on `transfer` and `transferFrom`.\n    /// - The token balance of Morpho should only decrease on `transfer` and `transferFrom`. In particular, tokens with\n    /// burn functions are not supported.\n    /// - The token should not re-enter Morpho on `transfer` nor `transferFrom`.\n    /// - The token balance of the sender (resp. receiver) should decrease (resp. increase) by exactly the given amount\n    /// on `transfer` and `transferFrom`. In particular, tokens with fees on transfer are not supported.\n    /// - The IRM should not re-enter Morpho.\n    /// - The oracle should return a price with the correct scaling.\n    /// @dev Here is a list of properties on the market's dependencies that could break Morpho's liveness properties\n    /// (funds could get stuck):\n    /// - The token can revert on `transfer` and `transferFrom` for a reason other than an approval or balance issue.\n    /// - A very high amount of assets (~1e35) supplied or borrowed can make the computation of `toSharesUp` and\n    /// `toSharesDown` overflow.\n    /// - The IRM can revert on `borrowRate`.\n    /// - A very high borrow rate returned by the IRM can make the computation of `interest` in `_accrueInterest`\n    /// overflow.\n    /// - The oracle can revert on `price`. Note that this can be used to prevent `borrow`, `withdrawCollateral` and\n    /// `liquidate` from being used under certain market conditions.\n    /// - A very high price returned by the oracle can make the computation of `maxBorrow` in `_isHealthy` overflow, or\n    /// the computation of `assetsRepaid` in `liquidate` overflow.\n    /// @dev The borrow share price of a market with less than 1e4 assets borrowed can be decreased by manipulations, to\n    /// the point where `totalBorrowShares` is very large and borrowing overflows.\n    function createMarket(MarketParams memory marketParams) external;\n\n    /// @notice Supplies `assets` or `shares` on behalf of `onBehalf`, optionally calling back the caller's\n    /// `onMorphoSupply` function with the given `data`.\n    /// @dev Either `assets` or `shares` should be zero. Most use cases should rely on `assets` as an input so the\n    /// caller is guaranteed to have `assets` tokens pulled from their balance, but the possibility to mint a specific\n    /// amount of shares is given for full compatibility and precision.\n    /// @dev Supplying a large amount can revert for overflow.\n    /// @dev Supplying an amount of shares may lead to supply more or fewer assets than expected due to slippage.\n    /// Consider using the `assets` parameter to avoid this.\n    /// @param marketParams The market to supply assets to.\n    /// @param assets The amount of assets to supply.\n    /// @param shares The amount of shares to mint.\n    /// @param onBehalf The address that will own the increased supply position.\n    /// @param data Arbitrary data to pass to the `onMorphoSupply` callback. Pass empty data if not needed.\n    /// @return assetsSupplied The amount of assets supplied.\n    /// @return sharesSupplied The amount of shares minted.\n    function supply(\n        MarketParams memory marketParams,\n        uint256 assets,\n        uint256 shares,\n        address onBehalf,\n        bytes memory data\n    ) external returns (uint256 assetsSupplied, uint256 sharesSupplied);\n\n    /// @notice Withdraws `assets` or `shares` on behalf of `onBehalf` and sends the assets to `receiver`.\n    /// @dev Either `assets` or `shares` should be zero. To withdraw max, pass the `shares`'s balance of `onBehalf`.\n    /// @dev `msg.sender` must be authorized to manage `onBehalf`'s positions.\n    /// @dev Withdrawing an amount corresponding to more shares than supplied will revert for underflow.\n    /// @dev It is advised to use the `shares` input when withdrawing the full position to avoid reverts due to\n    /// conversion roundings between shares and assets.\n    /// @param marketParams The market to withdraw assets from.\n    /// @param assets The amount of assets to withdraw.\n    /// @param shares The amount of shares to burn.\n    /// @param onBehalf The address of the owner of the supply position.\n    /// @param receiver The address that will receive the withdrawn assets.\n    /// @return assetsWithdrawn The amount of assets withdrawn.\n    /// @return sharesWithdrawn The amount of shares burned.\n    function withdraw(\n        MarketParams memory marketParams,\n        uint256 assets,\n        uint256 shares,\n        address onBehalf,\n        address receiver\n    ) external returns (uint256 assetsWithdrawn, uint256 sharesWithdrawn);\n\n    /// @notice Borrows `assets` or `shares` on behalf of `onBehalf` and sends the assets to `receiver`.\n    /// @dev Either `assets` or `shares` should be zero. Most use cases should rely on `assets` as an input so the\n    /// caller is guaranteed to borrow `assets` of tokens, but the possibility to mint a specific amount of shares is\n    /// given for full compatibility and precision.\n    /// @dev `msg.sender` must be authorized to manage `onBehalf`'s positions.\n    /// @dev Borrowing a large amount can revert for overflow.\n    /// @dev Borrowing an amount of shares may lead to borrow fewer assets than expected due to slippage.\n    /// Consider using the `assets` parameter to avoid this.\n    /// @param marketParams The market to borrow assets from.\n    /// @param assets The amount of assets to borrow.\n    /// @param shares The amount of shares to mint.\n    /// @param onBehalf The address that will own the increased borrow position.\n    /// @param receiver The address that will receive the borrowed assets.\n    /// @return assetsBorrowed The amount of assets borrowed.\n    /// @return sharesBorrowed The amount of shares minted.\n    function borrow(\n        MarketParams memory marketParams,\n        uint256 assets,\n        uint256 shares,\n        address onBehalf,\n        address receiver\n    ) external returns (uint256 assetsBorrowed, uint256 sharesBorrowed);\n\n    /// @notice Repays `assets` or `shares` on behalf of `onBehalf`, optionally calling back the caller's\n    /// `onMorphoReplay` function with the given `data`.\n    /// @dev Either `assets` or `shares` should be zero. To repay max, pass the `shares`'s balance of `onBehalf`.\n    /// @dev Repaying an amount corresponding to more shares than borrowed will revert for underflow.\n    /// @dev It is advised to use the `shares` input when repaying the full position to avoid reverts due to conversion\n    /// roundings between shares and assets.\n    /// @dev An attacker can front-run a repay with a small repay making the transaction revert for underflow.\n    /// @param marketParams The market to repay assets to.\n    /// @param assets The amount of assets to repay.\n    /// @param shares The amount of shares to burn.\n    /// @param onBehalf The address of the owner of the debt position.\n    /// @param data Arbitrary data to pass to the `onMorphoRepay` callback. Pass empty data if not needed.\n    /// @return assetsRepaid The amount of assets repaid.\n    /// @return sharesRepaid The amount of shares burned.\n    function repay(\n        MarketParams memory marketParams,\n        uint256 assets,\n        uint256 shares,\n        address onBehalf,\n        bytes memory data\n    ) external returns (uint256 assetsRepaid, uint256 sharesRepaid);\n\n    /// @notice Supplies `assets` of collateral on behalf of `onBehalf`, optionally calling back the caller's\n    /// `onMorphoSupplyCollateral` function with the given `data`.\n    /// @dev Interest are not accrued since it's not required and it saves gas.\n    /// @dev Supplying a large amount can revert for overflow.\n    /// @param marketParams The market to supply collateral to.\n    /// @param assets The amount of collateral to supply.\n    /// @param onBehalf The address that will own the increased collateral position.\n    /// @param data Arbitrary data to pass to the `onMorphoSupplyCollateral` callback. Pass empty data if not needed.\n    function supplyCollateral(MarketParams memory marketParams, uint256 assets, address onBehalf, bytes memory data)\n        external;\n\n    /// @notice Withdraws `assets` of collateral on behalf of `onBehalf` and sends the assets to `receiver`.\n    /// @dev `msg.sender` must be authorized to manage `onBehalf`'s positions.\n    /// @dev Withdrawing an amount corresponding to more collateral than supplied will revert for underflow.\n    /// @param marketParams The market to withdraw collateral from.\n    /// @param assets The amount of collateral to withdraw.\n    /// @param onBehalf The address of the owner of the collateral position.\n    /// @param receiver The address that will receive the collateral assets.\n    function withdrawCollateral(MarketParams memory marketParams, uint256 assets, address onBehalf, address receiver)\n        external;\n\n    /// @notice Liquidates the given `repaidShares` of debt asset or seize the given `seizedAssets` of collateral on the\n    /// given market `marketParams` of the given `borrower`'s position, optionally calling back the caller's\n    /// `onMorphoLiquidate` function with the given `data`.\n    /// @dev Either `seizedAssets` or `repaidShares` should be zero.\n    /// @dev Seizing more than the collateral balance will underflow and revert without any error message.\n    /// @dev Repaying more than the borrow balance will underflow and revert without any error message.\n    /// @dev An attacker can front-run a liquidation with a small repay making the transaction revert for underflow.\n    /// @param marketParams The market of the position.\n    /// @param borrower The owner of the position.\n    /// @param seizedAssets The amount of collateral to seize.\n    /// @param repaidShares The amount of shares to repay.\n    /// @param data Arbitrary data to pass to the `onMorphoLiquidate` callback. Pass empty data if not needed.\n    /// @return The amount of assets seized.\n    /// @return The amount of assets repaid.\n    function liquidate(\n        MarketParams memory marketParams,\n        address borrower,\n        uint256 seizedAssets,\n        uint256 repaidShares,\n        bytes memory data\n    ) external returns (uint256, uint256);\n\n    /// @notice Executes a flash loan.\n    /// @dev Flash loans have access to the whole balance of the contract (the liquidity and deposited collateral of all\n    /// markets combined, plus donations).\n    /// @dev Warning: Not ERC-3156 compliant but compatibility is easily reached:\n    /// - `flashFee` is zero.\n    /// - `maxFlashLoan` is the token's balance of this contract.\n    /// - The receiver of `assets` is the caller.\n    /// @param token The token to flash loan.\n    /// @param assets The amount of assets to flash loan.\n    /// @param data Arbitrary data to pass to the `onMorphoFlashLoan` callback.\n    function flashLoan(address token, uint256 assets, bytes calldata data) external;\n\n    /// @notice Sets the authorization for `authorized` to manage `msg.sender`'s positions.\n    /// @param authorized The authorized address.\n    /// @param newIsAuthorized The new authorization status.\n    function setAuthorization(address authorized, bool newIsAuthorized) external;\n\n    /// @notice Sets the authorization for `authorization.authorized` to manage `authorization.authorizer`'s positions.\n    /// @dev Warning: Reverts if the signature has already been submitted.\n    /// @dev The signature is malleable, but it has no impact on the security here.\n    /// @dev The nonce is passed as argument to be able to revert with a different error message.\n    /// @param authorization The `Authorization` struct.\n    /// @param signature The signature.\n    function setAuthorizationWithSig(Authorization calldata authorization, Signature calldata signature) external;\n\n    /// @notice Accrues interest for the given market `marketParams`.\n    function accrueInterest(MarketParams memory marketParams) external;\n\n    /// @notice Returns the data stored on the different `slots`.\n    function extSloads(bytes32[] memory slots) external view returns (bytes32[] memory);\n}\n\n/// @dev This interface is inherited by Morpho so that function signatures are checked by the compiler.\n/// @dev Consider using the IMorpho interface instead of this one.\ninterface IMorphoStaticTyping is IMorphoBase {\n    /// @notice The state of the position of `user` on the market corresponding to `id`.\n    /// @dev Warning: For `feeRecipient`, `supplyShares` does not contain the accrued shares since the last interest\n    /// accrual.\n    function position(Id id, address user)\n        external\n        view\n        returns (uint256 supplyShares, uint128 borrowShares, uint128 collateral);\n\n    /// @notice The state of the market corresponding to `id`.\n    /// @dev Warning: `totalSupplyAssets` does not contain the accrued interest since the last interest accrual.\n    /// @dev Warning: `totalBorrowAssets` does not contain the accrued interest since the last interest accrual.\n    /// @dev Warning: `totalSupplyShares` does not contain the accrued shares by `feeRecipient` since the last interest\n    /// accrual.\n    function market(Id id)\n        external\n        view\n        returns (\n            uint128 totalSupplyAssets,\n            uint128 totalSupplyShares,\n            uint128 totalBorrowAssets,\n            uint128 totalBorrowShares,\n            uint128 lastUpdate,\n            uint128 fee\n        );\n\n    /// @notice The market params corresponding to `id`.\n    /// @dev This mapping is not used in Morpho. It is there to enable reducing the cost associated to calldata on layer\n    /// 2s by creating a wrapper contract with functions that take `id` as input instead of `marketParams`.\n    function idToMarketParams(Id id)\n        external\n        view\n        returns (address loanToken, address collateralToken, address oracle, address irm, uint256 lltv);\n}\n\n/// @title IMorpho\n/// @author Morpho Labs\n/// @custom:contact security@morpho.org\n/// @dev Use this interface for Morpho to have access to all the functions with the appropriate function signatures.\ninterface IMorpho is IMorphoBase {\n    /// @notice The state of the position of `user` on the market corresponding to `id`.\n    /// @dev Warning: For `feeRecipient`, `p.supplyShares` does not contain the accrued shares since the last interest\n    /// accrual.\n    function position(Id id, address user) external view returns (Position memory p);\n\n    /// @notice The state of the market corresponding to `id`.\n    /// @dev Warning: `m.totalSupplyAssets` does not contain the accrued interest since the last interest accrual.\n    /// @dev Warning: `m.totalBorrowAssets` does not contain the accrued interest since the last interest accrual.\n    /// @dev Warning: `m.totalSupplyShares` does not contain the accrued shares by `feeRecipient` since the last\n    /// interest accrual.\n    function market(Id id) external view returns (Market memory m);\n\n    /// @notice The market params corresponding to `id`.\n    /// @dev This mapping is not used in Morpho. It is there to enable reducing the cost associated to calldata on layer\n    /// 2s by creating a wrapper contract with functions that take `id` as input instead of `marketParams`.\n    function idToMarketParams(Id id) external view returns (MarketParams memory);\n}\n"},"lib/openzeppelin-contracts/contracts/access/AccessControl.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 \"./IAccessControl.sol\";\nimport {Context} from \"../utils/Context.sol\";\nimport {ERC165} from \"../utils/introspection/ERC165.sol\";\n\n/**\n * @dev Contract module that allows children to implement role-based access\n * control mechanisms. This is a lightweight version that doesn't allow enumerating role\n * members except through off-chain means by accessing the contract event logs. Some\n * applications may benefit from on-chain enumerability, for those cases see\n * {AccessControlEnumerable}.\n *\n * Roles are referred to by their `bytes32` identifier. These should be exposed\n * in the external API and be unique. The best way to achieve this is by\n * using `public constant` hash digests:\n *\n * ```solidity\n * bytes32 public constant MY_ROLE = keccak256(\"MY_ROLE\");\n * ```\n *\n * Roles can be used to represent a set of permissions. To restrict access to a\n * function call, use {hasRole}:\n *\n * ```solidity\n * function foo() public {\n *     require(hasRole(MY_ROLE, msg.sender));\n *     ...\n * }\n * ```\n *\n * Roles can be granted and revoked dynamically via the {grantRole} and\n * {revokeRole} functions. Each role has an associated admin role, and only\n * accounts that have a role's admin role can call {grantRole} and {revokeRole}.\n *\n * By default, the admin role for all roles is `DEFAULT_ADMIN_ROLE`, which means\n * that only accounts with this role will be able to grant or revoke other\n * roles. More complex role relationships can be created by using\n * {_setRoleAdmin}.\n *\n * WARNING: The `DEFAULT_ADMIN_ROLE` is also its own admin: it has permission to\n * grant and revoke this role. Extra precautions should be taken to secure\n * accounts that have been granted it. We recommend using {AccessControlDefaultAdminRules}\n * to enforce additional security measures for this role.\n */\nabstract contract AccessControl is Context, IAccessControl, ERC165 {\n    struct RoleData {\n        mapping(address account => bool) hasRole;\n        bytes32 adminRole;\n    }\n\n    mapping(bytes32 role => RoleData) private _roles;\n\n    bytes32 public constant DEFAULT_ADMIN_ROLE = 0x00;\n\n    /**\n     * @dev Modifier that checks that an account has a specific role. Reverts\n     * with an {AccessControlUnauthorizedAccount} error including the required role.\n     */\n    modifier onlyRole(bytes32 role) {\n        _checkRole(role);\n        _;\n    }\n\n    /**\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        return _roles[role].hasRole[account];\n    }\n\n    /**\n     * @dev Reverts with an {AccessControlUnauthorizedAccount} error if `_msgSender()`\n     * is missing `role`. Overriding this function changes the behavior of the {onlyRole} modifier.\n     */\n    function _checkRole(bytes32 role) internal view virtual {\n        _checkRole(role, _msgSender());\n    }\n\n    /**\n     * @dev Reverts with an {AccessControlUnauthorizedAccount} error if `account`\n     * is missing `role`.\n     */\n    function _checkRole(bytes32 role, address account) internal view virtual {\n        if (!hasRole(role, account)) {\n            revert AccessControlUnauthorizedAccount(account, role);\n        }\n    }\n\n    /**\n     * @dev Returns the admin role that controls `role`. See {grantRole} and\n     * {revokeRole}.\n     *\n     * To change a role's admin, use {_setRoleAdmin}.\n     */\n    function getRoleAdmin(bytes32 role) public view virtual returns (bytes32) {\n        return _roles[role].adminRole;\n    }\n\n    /**\n     * @dev Grants `role` to `account`.\n     *\n     * If `account` had not been already granted `role`, emits a {RoleGranted}\n     * event.\n     *\n     * Requirements:\n     *\n     * - the caller must have ``role``'s admin role.\n     *\n     * May emit a {RoleGranted} event.\n     */\n    function grantRole(bytes32 role, address account) public virtual onlyRole(getRoleAdmin(role)) {\n        _grantRole(role, account);\n    }\n\n    /**\n     * @dev Revokes `role` from `account`.\n     *\n     * If `account` had been granted `role`, emits a {RoleRevoked} event.\n     *\n     * Requirements:\n     *\n     * - the caller must have ``role``'s admin role.\n     *\n     * May emit a {RoleRevoked} event.\n     */\n    function revokeRole(bytes32 role, address account) public virtual onlyRole(getRoleAdmin(role)) {\n        _revokeRole(role, account);\n    }\n\n    /**\n     * @dev Revokes `role` from the calling account.\n     *\n     * Roles are often managed via {grantRole} and {revokeRole}: this function's\n     * purpose is to provide a mechanism for accounts to lose their privileges\n     * if they are compromised (such as when a trusted device is misplaced).\n     *\n     * If the calling account had been revoked `role`, emits a {RoleRevoked}\n     * event.\n     *\n     * Requirements:\n     *\n     * - the caller must be `callerConfirmation`.\n     *\n     * May emit a {RoleRevoked} event.\n     */\n    function renounceRole(bytes32 role, address callerConfirmation) public virtual {\n        if (callerConfirmation != _msgSender()) {\n            revert AccessControlBadConfirmation();\n        }\n\n        _revokeRole(role, callerConfirmation);\n    }\n\n    /**\n     * @dev Sets `adminRole` as ``role``'s admin role.\n     *\n     * Emits a {RoleAdminChanged} event.\n     */\n    function _setRoleAdmin(bytes32 role, bytes32 adminRole) internal virtual {\n        bytes32 previousAdminRole = getRoleAdmin(role);\n        _roles[role].adminRole = adminRole;\n        emit RoleAdminChanged(role, previousAdminRole, adminRole);\n    }\n\n    /**\n     * @dev Attempts to grant `role` to `account` and returns a boolean indicating if `role` was granted.\n     *\n     * Internal function without access restriction.\n     *\n     * May emit a {RoleGranted} event.\n     */\n    function _grantRole(bytes32 role, address account) internal virtual returns (bool) {\n        if (!hasRole(role, account)) {\n            _roles[role].hasRole[account] = true;\n            emit RoleGranted(role, account, _msgSender());\n            return true;\n        } else {\n            return false;\n        }\n    }\n\n    /**\n     * @dev Attempts to revoke `role` 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        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"},"lib/openzeppelin-contracts/contracts/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"},"lib/openzeppelin-contracts/contracts/proxy/utils/UUPSUpgradeable.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.0.0) (proxy/utils/UUPSUpgradeable.sol)\n\npragma solidity ^0.8.20;\n\nimport {IERC1822Proxiable} from \"../../interfaces/draft-IERC1822.sol\";\nimport {ERC1967Utils} from \"../ERC1967/ERC1967Utils.sol\";\n\n/**\n * @dev An upgradeability mechanism designed for UUPS proxies. The functions included here can perform an upgrade of an\n * {ERC1967Proxy}, when this contract is set as the implementation behind such a proxy.\n *\n * A security mechanism ensures that an upgrade does not turn off upgradeability accidentally, although this risk is\n * reinstated if the upgrade retains upgradeability but removes the security mechanism, e.g. by replacing\n * `UUPSUpgradeable` with a custom implementation of upgrades.\n *\n * The {_authorizeUpgrade} function must be overridden to include access restriction to the upgrade mechanism.\n */\nabstract contract UUPSUpgradeable is IERC1822Proxiable {\n    /// @custom:oz-upgrades-unsafe-allow state-variable-immutable\n    address private immutable __self = address(this);\n\n    /**\n     * @dev The version of the upgrade interface of the contract. If this getter is missing, both `upgradeTo(address)`\n     * and `upgradeToAndCall(address,bytes)` are present, and `upgradeTo` must be used if no function should be called,\n     * while `upgradeToAndCall` will invoke the `receive` function if the second argument is the empty byte string.\n     * If the getter returns `\"5.0.0\"`, only `upgradeToAndCall(address,bytes)` is present, and the second argument must\n     * be the empty byte string if no function should be called, making it impossible to invoke the `receive` function\n     * during an upgrade.\n     */\n    string public constant UPGRADE_INTERFACE_VERSION = \"5.0.0\";\n\n    /**\n     * @dev The call is from an unauthorized context.\n     */\n    error UUPSUnauthorizedCallContext();\n\n    /**\n     * @dev The storage `slot` is unsupported as a UUID.\n     */\n    error UUPSUnsupportedProxiableUUID(bytes32 slot);\n\n    /**\n     * @dev Check that the execution is being performed through a delegatecall call and that the execution context is\n     * a proxy contract with an implementation (as defined in ERC1967) pointing to self. This should only be the case\n     * for UUPS and transparent proxies that are using the current contract as their implementation. Execution of a\n     * function through ERC1167 minimal proxies (clones) would not normally pass this test, but is not guaranteed to\n     * fail.\n     */\n    modifier onlyProxy() {\n        _checkProxy();\n        _;\n    }\n\n    /**\n     * @dev Check that the execution is not being performed through a delegate call. This allows a function to be\n     * callable on the implementing contract but not through proxies.\n     */\n    modifier notDelegated() {\n        _checkNotDelegated();\n        _;\n    }\n\n    /**\n     * @dev Implementation of the ERC1822 {proxiableUUID} function. This returns the storage slot used by the\n     * implementation. It is used to validate the implementation's compatibility when performing an upgrade.\n     *\n     * IMPORTANT: A proxy pointing at a proxiable contract should not be considered proxiable itself, because this risks\n     * bricking a proxy that upgrades to it, by delegating to itself until out of gas. Thus it is critical that this\n     * function revert if invoked through a proxy. This is guaranteed by the `notDelegated` modifier.\n     */\n    function proxiableUUID() external view virtual notDelegated returns (bytes32) {\n        return ERC1967Utils.IMPLEMENTATION_SLOT;\n    }\n\n    /**\n     * @dev Upgrade the implementation of the proxy to `newImplementation`, and subsequently execute the function call\n     * encoded in `data`.\n     *\n     * Calls {_authorizeUpgrade}.\n     *\n     * Emits an {Upgraded} event.\n     *\n     * @custom:oz-upgrades-unsafe-allow-reachable delegatecall\n     */\n    function upgradeToAndCall(address newImplementation, bytes memory data) public payable virtual onlyProxy {\n        _authorizeUpgrade(newImplementation);\n        _upgradeToAndCallUUPS(newImplementation, data);\n    }\n\n    /**\n     * @dev Reverts if the execution is not performed via delegatecall or the execution\n     * context is not of a proxy with an ERC1967-compliant implementation pointing to self.\n     * See {_onlyProxy}.\n     */\n    function _checkProxy() internal view virtual {\n        if (\n            address(this) == __self || // Must be called through delegatecall\n            ERC1967Utils.getImplementation() != __self // Must be called through an active proxy\n        ) {\n            revert UUPSUnauthorizedCallContext();\n        }\n    }\n\n    /**\n     * @dev Reverts if the execution is performed via delegatecall.\n     * See {notDelegated}.\n     */\n    function _checkNotDelegated() internal view virtual {\n        if (address(this) != __self) {\n            // Must not be called through delegatecall\n            revert UUPSUnauthorizedCallContext();\n        }\n    }\n\n    /**\n     * @dev Function that should revert when `msg.sender` is not authorized to upgrade the contract. Called by\n     * {upgradeToAndCall}.\n     *\n     * Normally, this function will use an xref:access.adoc[access control] modifier such as {Ownable-onlyOwner}.\n     *\n     * ```solidity\n     * function _authorizeUpgrade(address) internal onlyOwner {}\n     * ```\n     */\n    function _authorizeUpgrade(address newImplementation) internal virtual;\n\n    /**\n     * @dev Performs an implementation upgrade with a security check for UUPS proxies, and additional setup call.\n     *\n     * As a security check, {proxiableUUID} is invoked in the new implementation, and the return value\n     * is expected to be the implementation slot in ERC1967.\n     *\n     * Emits an {IERC1967-Upgraded} event.\n     */\n    function _upgradeToAndCallUUPS(address newImplementation, bytes memory data) private {\n        try IERC1822Proxiable(newImplementation).proxiableUUID() returns (bytes32 slot) {\n            if (slot != ERC1967Utils.IMPLEMENTATION_SLOT) {\n                revert UUPSUnsupportedProxiableUUID(slot);\n            }\n            ERC1967Utils.upgradeToAndCall(newImplementation, data);\n        } catch {\n            // The implementation is not UUPS\n            revert ERC1967Utils.ERC1967InvalidImplementation(newImplementation);\n        }\n    }\n}\n"},"lib/openzeppelin-contracts/contracts/token/ERC20/IERC20.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.0.0) (token/ERC20/IERC20.sol)\n\npragma solidity ^0.8.20;\n\n/**\n * @dev Interface of the ERC20 standard as defined in the EIP.\n */\ninterface IERC20 {\n    /**\n     * @dev Emitted when `value` tokens are moved from one account (`from`) to\n     * another (`to`).\n     *\n     * Note that `value` may be zero.\n     */\n    event Transfer(address indexed from, address indexed to, uint256 value);\n\n    /**\n     * @dev Emitted when the allowance of a `spender` for an `owner` is set by\n     * a call to {approve}. `value` is the new allowance.\n     */\n    event Approval(address indexed owner, address indexed spender, uint256 value);\n\n    /**\n     * @dev Returns the value of tokens in existence.\n     */\n    function totalSupply() external view returns (uint256);\n\n    /**\n     * @dev Returns the value of tokens owned by `account`.\n     */\n    function balanceOf(address account) external view returns (uint256);\n\n    /**\n     * @dev Moves a `value` amount of tokens from the caller's account to `to`.\n     *\n     * Returns a boolean value indicating whether the operation succeeded.\n     *\n     * Emits a {Transfer} event.\n     */\n    function transfer(address to, uint256 value) external returns (bool);\n\n    /**\n     * @dev Returns the remaining number of tokens that `spender` will be\n     * allowed to spend on behalf of `owner` through {transferFrom}. This is\n     * zero by default.\n     *\n     * This value changes when {approve} or {transferFrom} are called.\n     */\n    function allowance(address owner, address spender) external view returns (uint256);\n\n    /**\n     * @dev Sets a `value` amount of tokens as the allowance of `spender` over the\n     * caller's tokens.\n     *\n     * Returns a boolean value indicating whether the operation succeeded.\n     *\n     * IMPORTANT: Beware that changing an allowance with this method brings the risk\n     * that someone may use both the old and the new allowance by unfortunate\n     * transaction ordering. One possible solution to mitigate this race\n     * condition is to first reduce the spender's allowance to 0 and set the\n     * desired value afterwards:\n     * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729\n     *\n     * Emits an {Approval} event.\n     */\n    function approve(address spender, uint256 value) external returns (bool);\n\n    /**\n     * @dev Moves a `value` amount of tokens from `from` to `to` using the\n     * allowance mechanism. `value` is then deducted from the caller's\n     * allowance.\n     *\n     * Returns a boolean value indicating whether the operation succeeded.\n     *\n     * Emits a {Transfer} event.\n     */\n    function transferFrom(address from, address to, uint256 value) external returns (bool);\n}\n"},"lib/openzeppelin-contracts/contracts/token/ERC20/utils/SafeERC20.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.0.0) (token/ERC20/utils/SafeERC20.sol)\n\npragma solidity ^0.8.20;\n\nimport {IERC20} from \"../IERC20.sol\";\nimport {IERC20Permit} from \"../extensions/IERC20Permit.sol\";\nimport {Address} from \"../../../utils/Address.sol\";\n\n/**\n * @title SafeERC20\n * @dev Wrappers around ERC20 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    using Address for address;\n\n    /**\n     * @dev An operation with an ERC20 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    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    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    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 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    function _callOptionalReturn(IERC20 token, bytes memory data) private {\n        // We need to perform a low level call here, to bypass Solidity's return data size checking mechanism, since\n        // we're implementing it ourselves. We use {Address-functionCall} to perform this call, which verifies that\n        // the target address contains contract code and also asserts for success in the low-level call.\n\n        bytes memory returndata = address(token).functionCall(data);\n        if (returndata.length != 0 && !abi.decode(returndata, (bool))) {\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 silents catches all reverts and returns a bool instead.\n     */\n    function _callOptionalReturnBool(IERC20 token, bytes memory data) private returns (bool) {\n        // We need to perform a low level call here, to bypass Solidity's return data size checking mechanism, since\n        // we're implementing it ourselves. We cannot use {Address-functionCall} here since this should return false\n        // and not revert is the subcall reverts.\n\n        (bool success, bytes memory returndata) = address(token).call(data);\n        return success && (returndata.length == 0 || abi.decode(returndata, (bool))) && address(token).code.length > 0;\n    }\n}\n"},"lib/vault-v2/src/interfaces/IVaultV2.sol":{"content":"// SPDX-License-Identifier: GPL-2.0-or-later\n// Copyright (c) 2025 Morpho Association\npragma solidity >=0.5.0;\n\nimport {IERC4626} from \"./IERC4626.sol\";\nimport {IERC2612} from \"./IERC2612.sol\";\n\nstruct Caps {\n    uint256 allocation;\n    uint128 absoluteCap;\n    uint128 relativeCap;\n}\n\ninterface IVaultV2 is IERC4626, IERC2612 {\n    // State variables\n    function virtualShares() external view returns (uint256);\n    function owner() external view returns (address);\n    function curator() external view returns (address);\n    function receiveSharesGate() external view returns (address);\n    function sendSharesGate() external view returns (address);\n    function receiveAssetsGate() external view returns (address);\n    function sendAssetsGate() external view returns (address);\n    function adapterRegistry() external view returns (address);\n    function isSentinel(address account) external view returns (bool);\n    function isAllocator(address account) external view returns (bool);\n    function firstTotalAssets() external view returns (uint256);\n    function _totalAssets() external view returns (uint128);\n    function lastUpdate() external view returns (uint64);\n    function maxRate() external view returns (uint64);\n    function adapters(uint256 index) external view returns (address);\n    function adaptersLength() external view returns (uint256);\n    function isAdapter(address account) external view returns (bool);\n    function allocation(bytes32 id) external view returns (uint256);\n    function absoluteCap(bytes32 id) external view returns (uint256);\n    function relativeCap(bytes32 id) external view returns (uint256);\n    function forceDeallocatePenalty(address adapter) external view returns (uint256);\n    function liquidityAdapter() external view returns (address);\n    function liquidityData() external view returns (bytes memory);\n    function timelock(bytes4 selector) external view returns (uint256);\n    function abdicated(bytes4 selector) external view returns (bool);\n    function executableAt(bytes memory data) external view returns (uint256);\n    function performanceFee() external view returns (uint96);\n    function performanceFeeRecipient() external view returns (address);\n    function managementFee() external view returns (uint96);\n    function managementFeeRecipient() external view returns (address);\n\n    // Gating\n    function canSendShares(address account) external view returns (bool);\n    function canReceiveShares(address account) external view returns (bool);\n    function canSendAssets(address account) external view returns (bool);\n    function canReceiveAssets(address account) external view returns (bool);\n\n    // Multicall\n    function multicall(bytes[] memory data) external;\n\n    // Owner functions\n    function setOwner(address newOwner) external;\n    function setCurator(address newCurator) external;\n    function setIsSentinel(address account, bool isSentinel) external;\n    function setName(string memory newName) external;\n    function setSymbol(string memory newSymbol) external;\n\n    // Timelocks for curator functions\n    function submit(bytes memory data) external;\n    function revoke(bytes memory data) external;\n\n    // Curator functions\n    function setIsAllocator(address account, bool newIsAllocator) external;\n    function setReceiveSharesGate(address newReceiveSharesGate) external;\n    function setSendSharesGate(address newSendSharesGate) external;\n    function setReceiveAssetsGate(address newReceiveAssetsGate) external;\n    function setSendAssetsGate(address newSendAssetsGate) external;\n    function setAdapterRegistry(address newAdapterRegistry) external;\n    function addAdapter(address account) external;\n    function removeAdapter(address account) external;\n    function increaseTimelock(bytes4 selector, uint256 newDuration) external;\n    function decreaseTimelock(bytes4 selector, uint256 newDuration) external;\n    function abdicate(bytes4 selector) external;\n    function setPerformanceFee(uint256 newPerformanceFee) external;\n    function setManagementFee(uint256 newManagementFee) external;\n    function setPerformanceFeeRecipient(address newPerformanceFeeRecipient) external;\n    function setManagementFeeRecipient(address newManagementFeeRecipient) external;\n    function increaseAbsoluteCap(bytes memory idData, uint256 newAbsoluteCap) external;\n    function decreaseAbsoluteCap(bytes memory idData, uint256 newAbsoluteCap) external;\n    function increaseRelativeCap(bytes memory idData, uint256 newRelativeCap) external;\n    function decreaseRelativeCap(bytes memory idData, uint256 newRelativeCap) external;\n    function setMaxRate(uint256 newMaxRate) external;\n    function setForceDeallocatePenalty(address adapter, uint256 newForceDeallocatePenalty) external;\n\n    // Allocator functions\n    function allocate(address adapter, bytes memory data, uint256 assets) external;\n    function deallocate(address adapter, bytes memory data, uint256 assets) external;\n    function setLiquidityAdapterAndData(address newLiquidityAdapter, bytes memory newLiquidityData) external;\n\n    // Exchange rate\n    function accrueInterest() external;\n    function accrueInterestView()\n        external\n        view\n        returns (uint256 newTotalAssets, uint256 performanceFeeShares, uint256 managementFeeShares);\n\n    // Force deallocate\n    function forceDeallocate(address adapter, bytes memory data, uint256 assets, address onBehalf)\n        external\n        returns (uint256 penaltyShares);\n}\n"},"src/mv2/interfaces/IBox.sol":{"content":"// SPDX-License-Identifier: MIT\n// Copyright (c) 2025 Steakhouse\npragma solidity >=0.8.0;\n\nimport {IERC4626} from \"@openzeppelin/contracts/interfaces/IERC4626.sol\";\nimport {IERC20} from \"@openzeppelin/contracts/token/ERC20/IERC20.sol\";\nimport {IFunding, IOracleCallback} from \"./IFunding.sol\";\nimport {IOracle} from \"./IOracle.sol\";\nimport {ISwapper} from \"./ISwapper.sol\";\n\n/// @notice Callback interface for Box flash loans\ninterface IBoxFlashCallback {\n    function onBoxFlash(IERC20 token, uint256 amount, bytes calldata data) external;\n}\n\ninterface IBox is IERC4626, IOracleCallback {\n    /* FUNCTIONS */\n\n    // ========== STATE FUNCTIONS ==========\n    function asset() external view override(IERC4626, IOracleCallback) returns (address);\n    function slippageEpochDuration() external view returns (uint256);\n    function shutdownSlippageDuration() external view returns (uint256);\n    function shutdownWarmup() external view returns (uint256);\n    function owner() external view returns (address);\n    function curator() external view returns (address);\n    function guardian() external view returns (address);\n    function shutdownTime() external view returns (uint256);\n    function skimRecipient() external view returns (address);\n    function isAllocator(address account) external view returns (bool);\n    function isFeeder(address account) external view returns (bool);\n    function tokens(uint256 index) external view returns (IERC20);\n    function oracles(IERC20 token) external view returns (IOracle);\n    function maxSlippage() external view returns (uint256);\n    function accumulatedSlippage() external view returns (uint256);\n    function slippageEpochStart() external view returns (uint256);\n    function executableAt(bytes calldata data) external view returns (uint256);\n\n    // ========== INVESTMENT MANAGEMENT ==========\n    function skim(IERC20 token) external;\n    function skimFunding(IFunding fundingModule, IERC20 token) external;\n    function allocate(\n        IERC20 token,\n        uint256 assetsAmount,\n        ISwapper swapper,\n        bytes calldata data\n    ) external returns (uint256 expected, uint256 received);\n    function deallocate(\n        IERC20 token,\n        uint256 tokensAmount,\n        ISwapper swapper,\n        bytes calldata data\n    ) external returns (uint256 expected, uint256 received);\n    function reallocate(\n        IERC20 from,\n        IERC20 to,\n        uint256 tokensAmount,\n        ISwapper swapper,\n        bytes calldata data\n    ) external returns (uint256 expected, uint256 received);\n\n    // ========== SIMPLE FUNDING OPERATIONS ==========\n    function pledge(IFunding fundingModule, bytes calldata facilityData, IERC20 collateralToken, uint256 collateralAmount) external;\n    function depledge(IFunding fundingModule, bytes calldata facilityData, IERC20 collateralToken, uint256 collateralAmount) external;\n    function borrow(IFunding fundingModule, bytes calldata facilityData, IERC20 debtToken, uint256 borrowAmount) external;\n    function repay(IFunding fundingModule, bytes calldata facilityData, IERC20 debtToken, uint256 repayAmount) external;\n\n    // ========== COMPLEX FUNDING OPERATIONS WITH FLASHLOAN AND SWAPPER ==========\n    function flash(IERC20 flashToken, uint256 flashAmount, bytes calldata data) external;\n\n    // ========== BATCHING ==========\n    function multicall(bytes[] calldata data) external;\n\n    // ========== EMERGENCY ==========\n    function shutdown() external;\n    function recover() external;\n\n    // ========== ADMIN FUNCTIONS ==========\n    function setSkimRecipient(address newSkimRecipient) external;\n    function transferOwnership(address newOwner) external;\n    function setCurator(address newCurator) external;\n    function setGuardian(address newGuardian) external;\n    function setIsAllocator(address account, bool newIsAllocator) external;\n\n    // ========== TIMELOCK GOVERNANCE ==========\n    function submit(bytes calldata data) external;\n    function timelock(bytes4 selector) external view returns (uint256);\n    function revoke(bytes calldata data) external;\n    function increaseTimelock(bytes4 selector, uint256 newDuration) external;\n    function decreaseTimelock(bytes4 selector, uint256 newDuration) external;\n    function abdicateTimelock(bytes4 selector) external;\n\n    // ========== TIMELOCKED FUNCTIONS ==========\n    function setIsFeeder(address account, bool newIsFeeder) external;\n    function setMaxSlippage(uint256 newMaxSlippage) external;\n    function addToken(IERC20 token, IOracle oracle) external;\n    function removeToken(IERC20 token) external;\n    function changeTokenOracle(IERC20 token, IOracle oracle) external;\n\n    // ========== VIEW FUNCTIONS ==========\n    function isToken(IERC20 token) external view returns (bool);\n    function isTokenOrAsset(IERC20 token) external view returns (bool);\n    function tokensLength() external view returns (uint256);\n    function isShutdown() external view returns (bool);\n    function isWinddown() external view returns (bool);\n\n    // ========== FUNDING ADMIN FUNCTIONS ==========\n    function addFunding(IFunding fundingModule) external;\n    function addFundingFacility(IFunding fundingModule, bytes calldata facilityData) external;\n    function addFundingCollateral(IFunding fundingModule, IERC20 collateralToken) external;\n    function addFundingDebt(IFunding fundingModule, IERC20 debtToken) external;\n    function removeFunding(IFunding fundingModule) external;\n    function removeFundingFacility(IFunding fundingModule, bytes calldata facilityData) external;\n    function removeFundingCollateral(IFunding fundingModule, IERC20 collateralToken) external;\n    function removeFundingDebt(IFunding fundingModule, IERC20 debtToken) external;\n\n    // ========== FUNDING VIEW FUNCTIONS ==========\n    function fundings(uint256 index) external view returns (IFunding);\n    function fundingsLength() external view returns (uint256);\n    function isFunding(IFunding fundingModule) external view returns (bool);\n}\n"},"src/mv2/interfaces/IFunding.sol":{"content":"// SPDX-License-Identifier: MIT\n// Copyright (c) 2025 Steakhouse\npragma solidity >=0.8.0;\n\nimport {IERC20} from \"@openzeppelin/contracts/token/ERC20/IERC20.sol\";\nimport {IOracle} from \"./IOracle.sol\";\n\ninterface IOracleCallback {\n    /// @dev RIs considered to have a price of ORACLE_PRECISION\n    function asset() external view returns (address);\n\n    /// @dev Returns an oracle for tokens that are not the asset\n    function oracles(IERC20 token) external view returns (IOracle);\n}\n\n/**\n * @notice Interface for a funding module\n * @notice `nav` should never revert\n */\ninterface IFunding {\n    // ========== ADMIN ==========\n    function addFacility(bytes calldata facilityData) external;\n    function removeFacility(bytes calldata facilityData) external;\n    function isFacility(bytes calldata facilityData) external view returns (bool);\n    function facilities(uint256 index) external view returns (bytes memory);\n    function facilitiesLength() external view returns (uint256);\n\n    function addCollateralToken(IERC20 collateralToken) external;\n    function removeCollateralToken(IERC20 collateralToken) external;\n    function isCollateralToken(IERC20 collateralToken) external view returns (bool);\n    function collateralTokens(uint256 index) external view returns (IERC20);\n    function collateralTokensLength() external view returns (uint256);\n\n    function addDebtToken(IERC20 debtToken) external;\n    function removeDebtToken(IERC20 debtToken) external;\n    function isDebtToken(IERC20 debtToken) external view returns (bool);\n    function debtTokens(uint256 index) external view returns (IERC20);\n    function debtTokensLength() external view returns (uint256);\n\n    // ========== ACTIONS ==========\n    function skim(IERC20 token) external;\n    function pledge(bytes calldata facilityData, IERC20 collateralToken, uint256 collateralAmount) external;\n    function depledge(bytes calldata facilityData, IERC20 collateralToken, uint256 collateralAmount) external;\n    function borrow(bytes calldata facilityData, IERC20 debtToken, uint256 borrowAmount) external;\n    function repay(bytes calldata facilityData, IERC20 debtToken, uint256 repayAmount) external;\n\n    // ========== POSITION ==========\n    function ltv(bytes calldata facilityData) external view returns (uint256);\n    function debtBalance(bytes calldata facilityData, IERC20 debtToken) external view returns (uint256);\n    function collateralBalance(bytes calldata facilityData, IERC20 collateralToken) external view returns (uint256);\n    function debtBalance(IERC20 debtToken) external view returns (uint256);\n    function collateralBalance(IERC20 collateralToken) external view returns (uint256);\n    function nav(IOracleCallback oraclesProvider) external view returns (uint256);\n}\n"},"src/mv2/interfaces/ISwapper.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity >=0.8.0;\n\nimport {IERC20} from \"@openzeppelin/contracts/token/ERC20/IERC20.sol\";\n\ninterface ISwapper {\n    /// @dev Sells `amountIn` of `input` tokens for `output` tokens.\n    /// @param input The address of the input token.\n    /// @param output The address of the output token.\n    /// @param amountIn The amount of input tokens to sell.\n    /// @param data Additional data to pass to the swapper.\n    function sell(IERC20 input, IERC20 output, uint256 amountIn, bytes calldata data) external;\n}\n"},"src/mv2/libraries/ErrorsLib.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity >=0.8.0;\n\nlibrary ErrorsLib {\n    // General errors\n    error InvalidAddress();\n    error InvalidAmount();\n    error InvalidValue();\n    error CannotRemove();\n    error AlreadyWhitelisted();\n    error NotWhitelisted();\n    error NotClean();\n    error NotAllowed();\n\n    // Access control errors\n    error OnlyOwner();\n    error OnlyCurator();\n    error OnlyGuardian();\n    error OnlyCuratorOrGuardian();\n    error OnlyAllocators();\n    error OnlyFeeders();\n    error OnlySkimRecipient();\n    error OnlyAllocatorsOrWinddown();\n    error OnlyMorpho();\n    error OnlyBox();\n    error OnlyPool();\n    error OnlyThisContract();\n    error CannotDuringShutdown();\n    error CannotDuringWinddown();\n\n    // Withdraw/Redeem errors\n    error InsufficientShares();\n    error InsufficientAllowance();\n    error InsufficientLiquidity();\n    error DataAlreadyTimelocked();\n\n    // Token errors\n    error TokenNotWhitelisted();\n    error TokenAlreadyWhitelisted();\n    error OracleRequired();\n    error NoOracleForToken();\n    error TokenBalanceMustBeZero();\n    error TooManyTokens();\n\n    // Slippage errors\n    error SwapperDidSpendTooMuch();\n    error AllocationTooExpensive();\n    error TokenSaleNotGeneratingEnoughAssets();\n    error ReallocationSlippageTooHigh();\n    error TooMuchAccumulatedSlippage();\n    error SlippageTooHigh();\n\n    // Shutdown/Recover errors\n    error OnlyGuardianOrCuratorCanShutdown();\n    error OnlyGuardianCanRecover();\n    error AlreadyShutdown();\n    error NotShutdown();\n    error CannotRecoverAfterWinddown();\n\n    // Timelock errors\n    error TimelockNotExpired();\n    error DataNotTimelocked();\n    error InvalidTimelock();\n    error TimelockNotIncreasing();\n    error TimelockNotDecreasing();\n    error FunctionDisabled();\n\n    // Skim errors\n    error CannotSkimToken();\n    error CannotSkimZero();\n    error SkimChangedNav();\n    error TransferFailed();\n\n    // Funding module errors\n    error ExcessiveLTV();\n    error NoNavDuringCache();\n    error InvalidFacilityData();\n\n    // Flash callback errors\n    error ReentryNotAllowed();\n}\n"},"lib/openzeppelin-contracts/contracts/access/IAccessControl.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.0.0) (access/IAccessControl.sol)\n\npragma solidity ^0.8.20;\n\n/**\n * @dev External interface of AccessControl declared to support ERC165 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, an admin role\n     * bearer except when using {AccessControl-_setupRole}.\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"},"lib/openzeppelin-contracts/contracts/utils/Context.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.0.1) (utils/Context.sol)\n\npragma solidity ^0.8.20;\n\n/**\n * @dev Provides information about the current execution context, including the\n * sender of the transaction and its data. While these are generally available\n * via msg.sender and msg.data, they should not be accessed in such a direct\n * manner, since when dealing with meta-transactions the account sending and\n * paying for execution may not be the actual sender (as far as an application\n * is concerned).\n *\n * This contract is only required for intermediate, library-like contracts.\n */\nabstract contract Context {\n    function _msgSender() internal view virtual returns (address) {\n        return msg.sender;\n    }\n\n    function _msgData() internal view virtual returns (bytes calldata) {\n        return msg.data;\n    }\n\n    function _contextSuffixLength() internal view virtual returns (uint256) {\n        return 0;\n    }\n}\n"},"lib/openzeppelin-contracts/contracts/utils/introspection/ERC165.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.0.0) (utils/introspection/ERC165.sol)\n\npragma solidity ^0.8.20;\n\nimport {IERC165} from \"./IERC165.sol\";\n\n/**\n * @dev Implementation of the {IERC165} interface.\n *\n * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check\n * for the additional interface id that will be supported. For example:\n *\n * ```solidity\n * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {\n *     return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId);\n * }\n * ```\n */\nabstract contract ERC165 is IERC165 {\n    /**\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"},"lib/openzeppelin-contracts/contracts/interfaces/draft-IERC1822.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.0.0) (interfaces/draft-IERC1822.sol)\n\npragma solidity ^0.8.20;\n\n/**\n * @dev ERC1822: Universal Upgradeable Proxy Standard (UUPS) documents a method for upgradeability through a simplified\n * proxy whose upgrades are fully controlled by the current implementation.\n */\ninterface IERC1822Proxiable {\n    /**\n     * @dev Returns the storage slot that the proxiable contract assumes is being used to store the implementation\n     * address.\n     *\n     * IMPORTANT: A proxy pointing at a proxiable contract should not be considered proxiable itself, because this risks\n     * bricking a proxy that upgrades to it, by delegating to itself until out of gas. Thus it is critical that this\n     * function revert if invoked through a proxy.\n     */\n    function proxiableUUID() external view returns (bytes32);\n}\n"},"lib/openzeppelin-contracts/contracts/proxy/ERC1967/ERC1967Utils.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.0.0) (proxy/ERC1967/ERC1967Utils.sol)\n\npragma solidity ^0.8.20;\n\nimport {IBeacon} from \"../beacon/IBeacon.sol\";\nimport {Address} from \"../../utils/Address.sol\";\nimport {StorageSlot} from \"../../utils/StorageSlot.sol\";\n\n/**\n * @dev This abstract contract provides getters and event emitting update functions for\n * https://eips.ethereum.org/EIPS/eip-1967[EIP1967] slots.\n */\nlibrary ERC1967Utils {\n    // We re-declare ERC-1967 events here because they can't be used directly from IERC1967.\n    // This will be fixed in Solidity 0.8.21. At that point we should remove these events.\n    /**\n     * @dev Emitted when the implementation is upgraded.\n     */\n    event Upgraded(address indexed implementation);\n\n    /**\n     * @dev Emitted when the admin account has changed.\n     */\n    event AdminChanged(address previousAdmin, address newAdmin);\n\n    /**\n     * @dev Emitted when the beacon is changed.\n     */\n    event BeaconUpgraded(address indexed beacon);\n\n    /**\n     * @dev Storage slot with the address of the current implementation.\n     * This is the keccak-256 hash of \"eip1967.proxy.implementation\" subtracted by 1.\n     */\n    // solhint-disable-next-line private-vars-leading-underscore\n    bytes32 internal constant IMPLEMENTATION_SLOT = 0x360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc;\n\n    /**\n     * @dev The `implementation` of the proxy is invalid.\n     */\n    error ERC1967InvalidImplementation(address implementation);\n\n    /**\n     * @dev The `admin` of the proxy is invalid.\n     */\n    error ERC1967InvalidAdmin(address admin);\n\n    /**\n     * @dev The `beacon` of the proxy is invalid.\n     */\n    error ERC1967InvalidBeacon(address beacon);\n\n    /**\n     * @dev An upgrade function sees `msg.value > 0` that may be lost.\n     */\n    error ERC1967NonPayable();\n\n    /**\n     * @dev Returns the current implementation address.\n     */\n    function getImplementation() internal view returns (address) {\n        return StorageSlot.getAddressSlot(IMPLEMENTATION_SLOT).value;\n    }\n\n    /**\n     * @dev Stores a new address in the EIP1967 implementation slot.\n     */\n    function _setImplementation(address newImplementation) private {\n        if (newImplementation.code.length == 0) {\n            revert ERC1967InvalidImplementation(newImplementation);\n        }\n        StorageSlot.getAddressSlot(IMPLEMENTATION_SLOT).value = newImplementation;\n    }\n\n    /**\n     * @dev Performs implementation upgrade with additional setup call if data is nonempty.\n     * This function is payable only if the setup call is performed, otherwise `msg.value` is rejected\n     * to avoid stuck value in the contract.\n     *\n     * Emits an {IERC1967-Upgraded} event.\n     */\n    function upgradeToAndCall(address newImplementation, bytes memory data) internal {\n        _setImplementation(newImplementation);\n        emit Upgraded(newImplementation);\n\n        if (data.length > 0) {\n            Address.functionDelegateCall(newImplementation, data);\n        } else {\n            _checkNonPayable();\n        }\n    }\n\n    /**\n     * @dev Storage slot with the admin of the contract.\n     * This is the keccak-256 hash of \"eip1967.proxy.admin\" subtracted by 1.\n     */\n    // solhint-disable-next-line private-vars-leading-underscore\n    bytes32 internal constant ADMIN_SLOT = 0xb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d6103;\n\n    /**\n     * @dev Returns the current admin.\n     *\n     * TIP: To get this value clients can read directly from the storage slot shown below (specified by EIP1967) using\n     * the https://eth.wiki/json-rpc/API#eth_getstorageat[`eth_getStorageAt`] RPC call.\n     * `0xb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d6103`\n     */\n    function getAdmin() internal view returns (address) {\n        return StorageSlot.getAddressSlot(ADMIN_SLOT).value;\n    }\n\n    /**\n     * @dev Stores a new address in the EIP1967 admin slot.\n     */\n    function _setAdmin(address newAdmin) private {\n        if (newAdmin == address(0)) {\n            revert ERC1967InvalidAdmin(address(0));\n        }\n        StorageSlot.getAddressSlot(ADMIN_SLOT).value = newAdmin;\n    }\n\n    /**\n     * @dev Changes the admin of the proxy.\n     *\n     * Emits an {IERC1967-AdminChanged} event.\n     */\n    function changeAdmin(address newAdmin) internal {\n        emit AdminChanged(getAdmin(), newAdmin);\n        _setAdmin(newAdmin);\n    }\n\n    /**\n     * @dev The storage slot of the UpgradeableBeacon contract which defines the implementation for this proxy.\n     * This is the keccak-256 hash of \"eip1967.proxy.beacon\" subtracted by 1.\n     */\n    // solhint-disable-next-line private-vars-leading-underscore\n    bytes32 internal constant BEACON_SLOT = 0xa3f0ad74e5423aebfd80d3ef4346578335a9a72aeaee59ff6cb3582b35133d50;\n\n    /**\n     * @dev Returns the current beacon.\n     */\n    function getBeacon() internal view returns (address) {\n        return StorageSlot.getAddressSlot(BEACON_SLOT).value;\n    }\n\n    /**\n     * @dev Stores a new beacon in the EIP1967 beacon slot.\n     */\n    function _setBeacon(address newBeacon) private {\n        if (newBeacon.code.length == 0) {\n            revert ERC1967InvalidBeacon(newBeacon);\n        }\n\n        StorageSlot.getAddressSlot(BEACON_SLOT).value = newBeacon;\n\n        address beaconImplementation = IBeacon(newBeacon).implementation();\n        if (beaconImplementation.code.length == 0) {\n            revert ERC1967InvalidImplementation(beaconImplementation);\n        }\n    }\n\n    /**\n     * @dev Change the beacon and trigger a setup call if data is nonempty.\n     * This function is payable only if the setup call is performed, otherwise `msg.value` is rejected\n     * to avoid stuck value in the contract.\n     *\n     * Emits an {IERC1967-BeaconUpgraded} event.\n     *\n     * CAUTION: Invoking this function has no effect on an instance of {BeaconProxy} since v5, since\n     * it uses an immutable beacon without looking at the value of the ERC-1967 beacon slot for\n     * efficiency.\n     */\n    function upgradeBeaconToAndCall(address newBeacon, bytes memory data) internal {\n        _setBeacon(newBeacon);\n        emit BeaconUpgraded(newBeacon);\n\n        if (data.length > 0) {\n            Address.functionDelegateCall(IBeacon(newBeacon).implementation(), data);\n        } else {\n            _checkNonPayable();\n        }\n    }\n\n    /**\n     * @dev Reverts if `msg.value` is not zero. It can be used to avoid `msg.value` stuck in the contract\n     * if an upgrade doesn't perform an initialization call.\n     */\n    function _checkNonPayable() private {\n        if (msg.value > 0) {\n            revert ERC1967NonPayable();\n        }\n    }\n}\n"},"lib/openzeppelin-contracts/contracts/token/ERC20/extensions/IERC20Permit.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.0.0) (token/ERC20/extensions/IERC20Permit.sol)\n\npragma solidity ^0.8.20;\n\n/**\n * @dev Interface of the ERC20 Permit extension allowing approvals to be made via signatures, as defined in\n * https://eips.ethereum.org/EIPS/eip-2612[EIP-2612].\n *\n * Adds the {permit} method, which can be used to change an account's ERC20 allowance (see {IERC20-allowance}) by\n * presenting a message signed by the account. By not relying on {IERC20-approve}, the token holder account doesn't\n * need to send a transaction, and thus is not required to hold Ether at all.\n *\n * ==== Security Considerations\n *\n * There are two important considerations concerning the use of `permit`. The first is that a valid permit signature\n * expresses an allowance, and it should not be assumed to convey additional meaning. In particular, it should not be\n * considered as an intention to spend the allowance in any specific way. The second is that because permits have\n * built-in replay protection and can be submitted by anyone, they can be frontrun. A protocol that uses permits should\n * take this into consideration and allow a `permit` call to fail. Combining these two aspects, a pattern that may be\n * generally recommended is:\n *\n * ```solidity\n * function doThingWithPermit(..., uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s) public {\n *     try token.permit(msg.sender, address(this), value, deadline, v, r, s) {} catch {}\n *     doThing(..., value);\n * }\n *\n * function doThing(..., uint256 value) public {\n *     token.safeTransferFrom(msg.sender, address(this), value);\n *     ...\n * }\n * ```\n *\n * Observe that: 1) `msg.sender` is used as the owner, leaving no ambiguity as to the signer intent, and 2) the use of\n * `try/catch` allows the permit to fail and makes the code tolerant to frontrunning. (See also\n * {SafeERC20-safeTransferFrom}).\n *\n * Additionally, note that smart contract wallets (such as Argent or Safe) are not able to produce permit signatures, so\n * contracts should have entry points that don't rely on permit.\n */\ninterface IERC20Permit {\n    /**\n     * @dev Sets `value` as the allowance of `spender` over ``owner``'s tokens,\n     * given ``owner``'s signed approval.\n     *\n     * IMPORTANT: The same issues {IERC20-approve} has related to transaction\n     * ordering also apply here.\n     *\n     * Emits an {Approval} event.\n     *\n     * Requirements:\n     *\n     * - `spender` cannot be the zero address.\n     * - `deadline` must be a timestamp in the future.\n     * - `v`, `r` and `s` must be a valid `secp256k1` signature from `owner`\n     * over the EIP712-formatted function arguments.\n     * - the signature must use ``owner``'s current nonce (see {nonces}).\n     *\n     * For more information on the signature format, see the\n     * https://eips.ethereum.org/EIPS/eip-2612#specification[relevant EIP\n     * section].\n     *\n     * CAUTION: See Security Considerations above.\n     */\n    function permit(\n        address owner,\n        address spender,\n        uint256 value,\n        uint256 deadline,\n        uint8 v,\n        bytes32 r,\n        bytes32 s\n    ) external;\n\n    /**\n     * @dev Returns the current nonce for `owner`. This value must be\n     * included whenever a signature is generated for {permit}.\n     *\n     * Every successful call to {permit} increases ``owner``'s nonce by one. This\n     * prevents a signature from being used multiple times.\n     */\n    function nonces(address owner) external view returns (uint256);\n\n    /**\n     * @dev Returns the domain separator used in the encoding of the signature for {permit}, as defined by {EIP712}.\n     */\n    // solhint-disable-next-line func-name-mixedcase\n    function DOMAIN_SEPARATOR() external view returns (bytes32);\n}\n"},"lib/openzeppelin-contracts/contracts/utils/Address.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.0.0) (utils/Address.sol)\n\npragma solidity ^0.8.20;\n\n/**\n * @dev Collection of functions related to the address type\n */\nlibrary Address {\n    /**\n     * @dev The ETH balance of the account is not enough to perform the operation.\n     */\n    error AddressInsufficientBalance(address account);\n\n    /**\n     * @dev There's no code at `target` (it is not a contract).\n     */\n    error AddressEmptyCode(address target);\n\n    /**\n     * @dev A call to an address target failed. The target may have reverted.\n     */\n    error FailedInnerCall();\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 AddressInsufficientBalance(address(this));\n        }\n\n        (bool success, ) = recipient.call{value: amount}(\"\");\n        if (!success) {\n            revert FailedInnerCall();\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     * {FailedInnerCall} 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 AddressInsufficientBalance(address(this));\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 {FailedInnerCall}) in case of an\n     * 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 {FailedInnerCall} 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 {FailedInnerCall}.\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            /// @solidity memory-safe-assembly\n            assembly {\n                let returndata_size := mload(returndata)\n                revert(add(32, returndata), returndata_size)\n            }\n        } else {\n            revert FailedInnerCall();\n        }\n    }\n}\n"},"lib/vault-v2/src/interfaces/IERC4626.sol":{"content":"// SPDX-License-Identifier: GPL-2.0-or-later\n// Copyright (c) 2025 Morpho Association\npragma solidity >=0.5.0;\n\nimport {IERC20} from \"./IERC20.sol\";\n\ninterface IERC4626 is IERC20 {\n    function asset() external view returns (address);\n    function totalAssets() external view returns (uint256);\n    function convertToAssets(uint256 shares) external view returns (uint256 assets);\n    function convertToShares(uint256 assets) external view returns (uint256 shares);\n    function deposit(uint256 assets, address onBehalf) external returns (uint256 shares);\n    function mint(uint256 shares, address onBehalf) external returns (uint256 assets);\n    function withdraw(uint256 assets, address receiver, address onBehalf) external returns (uint256 shares);\n    function redeem(uint256 shares, address receiver, address onBehalf) external returns (uint256 assets);\n    function previewDeposit(uint256 assets) external view returns (uint256 shares);\n    function previewMint(uint256 shares) external view returns (uint256 assets);\n    function previewWithdraw(uint256 assets) external view returns (uint256 shares);\n    function previewRedeem(uint256 shares) external view returns (uint256 assets);\n    function maxDeposit(address onBehalf) external view returns (uint256 assets);\n    function maxMint(address onBehalf) external view returns (uint256 shares);\n    function maxWithdraw(address onBehalf) external view returns (uint256 assets);\n    function maxRedeem(address onBehalf) external view returns (uint256 shares);\n}\n"},"lib/vault-v2/src/interfaces/IERC2612.sol":{"content":"// SPDX-License-Identifier: GPL-2.0-or-later\n// Copyright (c) 2025 Morpho Association\npragma solidity >=0.5.0;\n\ninterface IERC2612 {\n    function permit(address owner, address spender, uint256 shares, uint256 deadline, uint8 v, bytes32 r, bytes32 s)\n        external;\n    function nonces(address owner) external view returns (uint256);\n    function DOMAIN_SEPARATOR() external view returns (bytes32);\n}\n"},"lib/openzeppelin-contracts/contracts/interfaces/IERC4626.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.0.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 ERC4626 \"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"},"src/mv2/interfaces/IOracle.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity >=0.8.0;\n\n/// @notice Oracle interface to get a token price with 36 decimals of precision\ninterface IOracle {\n    function price() external view returns (uint256);\n}\n"},"lib/openzeppelin-contracts/contracts/utils/introspection/IERC165.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.0.0) (utils/introspection/IERC165.sol)\n\npragma solidity ^0.8.20;\n\n/**\n * @dev Interface of the ERC165 standard, as defined in the\n * https://eips.ethereum.org/EIPS/eip-165[EIP].\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[EIP section]\n     * to learn more about how these ids are created.\n     *\n     * This function call must use less than 30 000 gas.\n     */\n    function supportsInterface(bytes4 interfaceId) external view returns (bool);\n}\n"},"lib/openzeppelin-contracts/contracts/proxy/beacon/IBeacon.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.0.0) (proxy/beacon/IBeacon.sol)\n\npragma solidity ^0.8.20;\n\n/**\n * @dev This is the interface that {BeaconProxy} expects of its beacon.\n */\ninterface IBeacon {\n    /**\n     * @dev Must return an address that can be used as a delegate call target.\n     *\n     * {UpgradeableBeacon} will check that this address is a contract.\n     */\n    function implementation() external view returns (address);\n}\n"},"lib/openzeppelin-contracts/contracts/utils/StorageSlot.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.0.0) (utils/StorageSlot.sol)\n// This file was procedurally generated from scripts/generate/templates/StorageSlot.js.\n\npragma solidity ^0.8.20;\n\n/**\n * @dev Library for reading and writing primitive types to specific storage slots.\n *\n * Storage slots are often used to avoid storage conflict when dealing with upgradeable contracts.\n * This library helps with reading and writing to such slots without the need for inline assembly.\n *\n * The functions in this library return Slot structs that contain a `value` member that can be used to read or write.\n *\n * Example usage to set ERC1967 implementation slot:\n * ```solidity\n * contract ERC1967 {\n *     bytes32 internal constant _IMPLEMENTATION_SLOT = 0x360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc;\n *\n *     function _getImplementation() internal view returns (address) {\n *         return StorageSlot.getAddressSlot(_IMPLEMENTATION_SLOT).value;\n *     }\n *\n *     function _setImplementation(address newImplementation) internal {\n *         require(newImplementation.code.length > 0);\n *         StorageSlot.getAddressSlot(_IMPLEMENTATION_SLOT).value = newImplementation;\n *     }\n * }\n * ```\n */\nlibrary StorageSlot {\n    struct AddressSlot {\n        address value;\n    }\n\n    struct BooleanSlot {\n        bool value;\n    }\n\n    struct Bytes32Slot {\n        bytes32 value;\n    }\n\n    struct Uint256Slot {\n        uint256 value;\n    }\n\n    struct StringSlot {\n        string value;\n    }\n\n    struct BytesSlot {\n        bytes value;\n    }\n\n    /**\n     * @dev Returns an `AddressSlot` with member `value` located at `slot`.\n     */\n    function getAddressSlot(bytes32 slot) internal pure returns (AddressSlot storage r) {\n        /// @solidity memory-safe-assembly\n        assembly {\n            r.slot := slot\n        }\n    }\n\n    /**\n     * @dev Returns an `BooleanSlot` with member `value` located at `slot`.\n     */\n    function getBooleanSlot(bytes32 slot) internal pure returns (BooleanSlot storage r) {\n        /// @solidity memory-safe-assembly\n        assembly {\n            r.slot := slot\n        }\n    }\n\n    /**\n     * @dev Returns an `Bytes32Slot` with member `value` located at `slot`.\n     */\n    function getBytes32Slot(bytes32 slot) internal pure returns (Bytes32Slot storage r) {\n        /// @solidity memory-safe-assembly\n        assembly {\n            r.slot := slot\n        }\n    }\n\n    /**\n     * @dev Returns an `Uint256Slot` with member `value` located at `slot`.\n     */\n    function getUint256Slot(bytes32 slot) internal pure returns (Uint256Slot storage r) {\n        /// @solidity memory-safe-assembly\n        assembly {\n            r.slot := slot\n        }\n    }\n\n    /**\n     * @dev Returns an `StringSlot` with member `value` located at `slot`.\n     */\n    function getStringSlot(bytes32 slot) internal pure returns (StringSlot storage r) {\n        /// @solidity memory-safe-assembly\n        assembly {\n            r.slot := slot\n        }\n    }\n\n    /**\n     * @dev Returns an `StringSlot` representation of the string storage pointer `store`.\n     */\n    function getStringSlot(string storage store) internal pure returns (StringSlot storage r) {\n        /// @solidity memory-safe-assembly\n        assembly {\n            r.slot := store.slot\n        }\n    }\n\n    /**\n     * @dev Returns an `BytesSlot` with member `value` located at `slot`.\n     */\n    function getBytesSlot(bytes32 slot) internal pure returns (BytesSlot storage r) {\n        /// @solidity memory-safe-assembly\n        assembly {\n            r.slot := slot\n        }\n    }\n\n    /**\n     * @dev Returns an `BytesSlot` representation of the bytes storage pointer `store`.\n     */\n    function getBytesSlot(bytes storage store) internal pure returns (BytesSlot storage r) {\n        /// @solidity memory-safe-assembly\n        assembly {\n            r.slot := store.slot\n        }\n    }\n}\n"},"lib/vault-v2/src/interfaces/IERC20.sol":{"content":"// SPDX-License-Identifier: GPL-2.0-or-later\n// Copyright (c) 2025 Morpho Association\npragma solidity >=0.5.0;\n\ninterface IERC20 {\n    function decimals() external view returns (uint8);\n    function name() external view returns (string memory);\n    function symbol() external view returns (string memory);\n    function totalSupply() external view returns (uint256);\n    function balanceOf(address account) external view returns (uint256);\n    function transfer(address to, uint256 shares) external returns (bool success);\n    function transferFrom(address from, address to, uint256 shares) external returns (bool success);\n    function approve(address spender, uint256 shares) external returns (bool success);\n    function allowance(address owner, address spender) external view returns (uint256);\n}\n"},"lib/openzeppelin-contracts/contracts/token/ERC20/extensions/IERC20Metadata.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.0.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 ERC20 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"}},"compilation":{"language":"Solidity","compiler":"solc","compilerVersion":"0.8.28+commit.7893614a","compilerSettings":{"viaIR":true,"metadata":{"appendCBOR":true,"bytecodeHash":"ipfs","useLiteralContent":false},"optimizer":{"runs":100,"enabled":true},"evmVersion":"prague","remappings":["@openzeppelin/contracts/=lib/openzeppelin-contracts/contracts/","ds-auth/=lib/dss-psm/lib/dss/lib/ds-token/lib/ds-auth/src/","ds-math/=lib/dss-psm/lib/dss/lib/ds-token/lib/ds-math/src/","ds-note/=lib/dss-psm/lib/dss/lib/ds-value/lib/ds-thing/lib/ds-note/src/","ds-test/=lib/forge-std/lib/ds-test/src/","ds-thing/=lib/dss-psm/lib/dss/lib/ds-value/lib/ds-thing/src/","ds-token/=lib/dss-psm/lib/dss/lib/ds-token/src/","ds-value/=lib/dss-psm/lib/dss/lib/ds-value/src/","dss-interfaces/=lib/dss-psm/lib/dss-interfaces/src/","dss-psm/=lib/dss-psm/src/","dss/=lib/dss-psm/lib/dss/src/","erc4626-tests/=lib/openzeppelin-contracts/lib/erc4626-tests/","forge-std/=lib/forge-std/src/","morpho-blue-oracles/=lib/morpho-blue-oracles/src/","@morpho-blue-oracles/=lib/morpho-blue-oracles/","morpho-blue/=lib/morpho-blue/src/","vault-v2/=lib/vault-v2/src/","openzeppelin-contracts/=lib/openzeppelin-contracts/contracts/","@uniswap/v3-periphery/=lib/v3-periphery/","@uniswap/v3-core/=lib/v3-core/","@pendle-core-v2/=lib/pendle-core-v2-public/contracts/","@slipstream/contracts/=lib/slipstream/contracts/","contracts/=lib/slipstream/contracts/","@ensdomains/=lib/slipstream/node_modules/@ensdomains/","@nomad-xyz/=lib/slipstream/lib/ExcessivelySafeCall/","@openzeppelin/contracts-upgradeable/=lib/openzeppelin-contracts-upgradeable/contracts/","@solidity-parser/=lib/slipstream/node_modules/solhint/node_modules/@solidity-parser/","ExcessivelySafeCall/=lib/slipstream/lib/ExcessivelySafeCall/src/","base64-sol/=lib/slipstream/lib/base64/","base64/=lib/slipstream/lib/base64/","halmos-cheatcodes/=lib/openzeppelin-contracts-upgradeable/lib/halmos-cheatcodes/src/","hardhat/=lib/slipstream/node_modules/hardhat/","metamorpho-v1.1/=lib/vault-v2/lib/metamorpho-v1.1/","metamorpho/=lib/vault-v2/lib/metamorpho/","morpho-blue-irm/=lib/vault-v2/lib/morpho-blue-irm/","openzeppelin-contracts-upgradeable/=lib/openzeppelin-contracts-upgradeable/","pendle-core-v2-public/=lib/pendle-core-v2-public/contracts/","slipstream/=lib/slipstream/","solidity-lib/=lib/slipstream/lib/solidity-lib/contracts/","solmate/=lib/vault-v2/lib/morpho-blue-irm/lib/solmate/src/","steakhouse-oracles/=lib/steakhouse-oracles/src/","v3-core/=lib/v3-core/","v3-periphery/=lib/v3-periphery/contracts/"]},"name":"VaultV2Allocator","fullyQualifiedName":"src/mv2/VaultV2Allocator.sol:VaultV2Allocator"},"abi":[{"type":"constructor","inputs":[],"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":"AddressInsufficientBalance","type":"error","inputs":[{"name":"account","type":"address","internalType":"address"}]},{"name":"ERC1967InvalidImplementation","type":"error","inputs":[{"name":"implementation","type":"address","internalType":"address"}]},{"name":"ERC1967NonPayable","type":"error","inputs":[]},{"name":"FailedInnerCall","type":"error","inputs":[]},{"name":"InvalidInitialization","type":"error","inputs":[]},{"name":"NotInitializing","type":"error","inputs":[]},{"name":"OnlyBox","type":"error","inputs":[]},{"name":"OnlyMorpho","type":"error","inputs":[]},{"name":"SafeERC20FailedOperation","type":"error","inputs":[{"name":"token","type":"address","internalType":"address"}]},{"name":"UUPSUnauthorizedCallContext","type":"error","inputs":[]},{"name":"UUPSUnsupportedProxiableUUID","type":"error","inputs":[{"name":"slot","type":"bytes32","internalType":"bytes32"}]},{"name":"Initialized","type":"event","inputs":[{"name":"version","type":"uint64","indexed":false,"internalType":"uint64"}],"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":"Upgraded","type":"event","inputs":[{"name":"implementation","type":"address","indexed":true,"internalType":"address"}],"anonymous":false},{"name":"DEFAULT_ADMIN_ROLE","type":"function","inputs":[],"outputs":[{"name":"","type":"bytes32","internalType":"bytes32"}],"stateMutability":"view"},{"name":"OPERATOR_ROLE","type":"function","inputs":[],"outputs":[{"name":"","type":"bytes32","internalType":"bytes32"}],"stateMutability":"view"},{"name":"UPGRADE_INTERFACE_VERSION","type":"function","inputs":[],"outputs":[{"name":"","type":"string","internalType":"string"}],"stateMutability":"view"},{"name":"allocateBox","type":"function","inputs":[{"name":"box","type":"address","internalType":"contract IBox"},{"name":"toToken","type":"address","internalType":"contract IERC20"},{"name":"amount","type":"uint256","internalType":"uint256"},{"name":"swapper","type":"address","internalType":"contract ISwapper"},{"name":"swapData","type":"bytes","internalType":"bytes"},{"name":"minExpected","type":"uint256","internalType":"uint256"}],"outputs":[{"name":"result","type":"tuple","components":[{"name":"expected","type":"uint256","internalType":"uint256"},{"name":"received","type":"uint256","internalType":"uint256"},{"name":"slippageBefore","type":"uint256","internalType":"uint256"},{"name":"slippageAfter","type":"uint256","internalType":"uint256"}],"internalType":"struct SwapResult"}],"stateMutability":"nonpayable"},{"name":"allocateToken","type":"function","inputs":[{"name":"vault","type":"address","internalType":"contract IVaultV2"},{"name":"adapter","type":"address","internalType":"address"},{"name":"box","type":"address","internalType":"contract IBox"},{"name":"toToken","type":"address","internalType":"contract IERC20"},{"name":"amount","type":"uint256","internalType":"uint256"},{"name":"swapper","type":"address","internalType":"contract ISwapper"},{"name":"swapData","type":"bytes","internalType":"bytes"},{"name":"minExpected","type":"uint256","internalType":"uint256"}],"outputs":[{"name":"result","type":"tuple","components":[{"name":"expected","type":"uint256","internalType":"uint256"},{"name":"received","type":"uint256","internalType":"uint256"},{"name":"slippageBefore","type":"uint256","internalType":"uint256"},{"name":"slippageAfter","type":"uint256","internalType":"uint256"}],"internalType":"struct SwapResult"}],"stateMutability":"nonpayable"},{"name":"allocateVault","type":"function","inputs":[{"name":"vault","type":"address","internalType":"contract IVaultV2"},{"name":"adapter","type":"address","internalType":"address"},{"name":"amount","type":"uint256","internalType":"uint256"}],"outputs":[],"stateMutability":"nonpayable"},{"name":"borrowBox","type":"function","inputs":[{"name":"box","type":"address","internalType":"contract IBox"},{"name":"fundingModule","type":"address","internalType":"contract IFunding"},{"name":"facilityData","type":"bytes","internalType":"bytes"},{"name":"borrowToken","type":"address","internalType":"contract IERC20"},{"name":"borrowAmount","type":"uint256","internalType":"uint256"}],"outputs":[],"stateMutability":"nonpayable"},{"name":"deallocateBox","type":"function","inputs":[{"name":"box","type":"address","internalType":"contract IBox"},{"name":"fromToken","type":"address","internalType":"contract IERC20"},{"name":"amount","type":"uint256","internalType":"uint256"},{"name":"swapper","type":"address","internalType":"contract ISwapper"},{"name":"swapData","type":"bytes","internalType":"bytes"},{"name":"minExpected","type":"uint256","internalType":"uint256"}],"outputs":[{"name":"result","type":"tuple","components":[{"name":"expected","type":"uint256","internalType":"uint256"},{"name":"received","type":"uint256","internalType":"uint256"},{"name":"slippageBefore","type":"uint256","internalType":"uint256"},{"name":"slippageAfter","type":"uint256","internalType":"uint256"}],"internalType":"struct SwapResult"}],"stateMutability":"nonpayable"},{"name":"deallocateToken","type":"function","inputs":[{"name":"vault","type":"address","internalType":"contract IVaultV2"},{"name":"adapter","type":"address","internalType":"address"},{"name":"box","type":"address","internalType":"contract IBox"},{"name":"fromToken","type":"address","internalType":"contract IERC20"},{"name":"amount","type":"uint256","internalType":"uint256"},{"name":"swapper","type":"address","internalType":"contract ISwapper"},{"name":"swapData","type":"bytes","internalType":"bytes"},{"name":"minExpected","type":"uint256","internalType":"uint256"}],"outputs":[{"name":"result","type":"tuple","components":[{"name":"expected","type":"uint256","internalType":"uint256"},{"name":"received","type":"uint256","internalType":"uint256"},{"name":"slippageBefore","type":"uint256","internalType":"uint256"},{"name":"slippageAfter","type":"uint256","internalType":"uint256"}],"internalType":"struct SwapResult"}],"stateMutability":"nonpayable"},{"name":"deallocateVault","type":"function","inputs":[{"name":"vault","type":"address","internalType":"contract IVaultV2"},{"name":"adapter","type":"address","internalType":"address"},{"name":"amount","type":"uint256","internalType":"uint256"}],"outputs":[],"stateMutability":"nonpayable"},{"name":"deallocateVaultWithData","type":"function","inputs":[{"name":"vault","type":"address","internalType":"contract IVaultV2"},{"name":"adapter","type":"address","internalType":"address"},{"name":"data","type":"bytes","internalType":"bytes"},{"name":"amount","type":"uint256","internalType":"uint256"}],"outputs":[],"stateMutability":"nonpayable"},{"name":"deleverage","type":"function","inputs":[{"name":"morpho","type":"address","internalType":"contract IMorpho"},{"name":"box","type":"address","internalType":"contract IBox"},{"name":"fundingModule","type":"address","internalType":"contract IFunding"},{"name":"facilityData","type":"bytes","internalType":"bytes"},{"name":"swapper","type":"address","internalType":"contract ISwapper"},{"name":"swapData","type":"bytes","internalType":"bytes"},{"name":"collateralToken","type":"address","internalType":"contract IERC20"},{"name":"collateralAmount","type":"uint256","internalType":"uint256"},{"name":"loanToken","type":"address","internalType":"contract IERC20"},{"name":"loanAmount","type":"uint256","internalType":"uint256"}],"outputs":[{"name":"result","type":"tuple","components":[{"name":"expected","type":"uint256","internalType":"uint256"},{"name":"received","type":"uint256","internalType":"uint256"},{"name":"slippageBefore","type":"uint256","internalType":"uint256"},{"name":"slippageAfter","type":"uint256","internalType":"uint256"}],"internalType":"struct SwapResult"}],"stateMutability":"nonpayable"},{"name":"depledgeBox","type":"function","inputs":[{"name":"box","type":"address","internalType":"contract IBox"},{"name":"fundingModule","type":"address","internalType":"contract IFunding"},{"name":"facilityData","type":"bytes","internalType":"bytes"},{"name":"collateralToken","type":"address","internalType":"contract IERC20"},{"name":"collateralAmount","type":"uint256","internalType":"uint256"}],"outputs":[],"stateMutability":"nonpayable"},{"name":"getRoleAdmin","type":"function","inputs":[{"name":"role","type":"bytes32","internalType":"bytes32"}],"outputs":[{"name":"","type":"bytes32","internalType":"bytes32"}],"stateMutability":"view"},{"name":"grantRole","type":"function","inputs":[{"name":"role","type":"bytes32","internalType":"bytes32"},{"name":"account","type":"address","internalType":"address"}],"outputs":[],"stateMutability":"nonpayable"},{"name":"hasRole","type":"function","inputs":[{"name":"role","type":"bytes32","internalType":"bytes32"},{"name":"account","type":"address","internalType":"address"}],"outputs":[{"name":"","type":"bool","internalType":"bool"}],"stateMutability":"view"},{"name":"initialize","type":"function","inputs":[{"name":"initialAdmin","type":"address","internalType":"address"}],"outputs":[],"stateMutability":"nonpayable"},{"name":"leverage","type":"function","inputs":[{"name":"morpho","type":"address","internalType":"contract IMorpho"},{"name":"box","type":"address","internalType":"contract IBox"},{"name":"fundingModule","type":"address","internalType":"contract IFunding"},{"name":"facilityData","type":"bytes","internalType":"bytes"},{"name":"swapper","type":"address","internalType":"contract ISwapper"},{"name":"swapData","type":"bytes","internalType":"bytes"},{"name":"collateralToken","type":"address","internalType":"contract IERC20"},{"name":"loanToken","type":"address","internalType":"contract IERC20"},{"name":"loanAmount","type":"uint256","internalType":"uint256"}],"outputs":[{"name":"result","type":"tuple","components":[{"name":"expected","type":"uint256","internalType":"uint256"},{"name":"received","type":"uint256","internalType":"uint256"},{"name":"slippageBefore","type":"uint256","internalType":"uint256"},{"name":"slippageAfter","type":"uint256","internalType":"uint256"}],"internalType":"struct SwapResult"}],"stateMutability":"nonpayable"},{"name":"onBoxFlash","type":"function","inputs":[{"name":"","type":"address","internalType":"contract IERC20"},{"name":"","type":"uint256","internalType":"uint256"},{"name":"data","type":"bytes","internalType":"bytes"}],"outputs":[],"stateMutability":"nonpayable"},{"name":"onMorphoFlashLoan","type":"function","inputs":[{"name":"assets","type":"uint256","internalType":"uint256"},{"name":"data","type":"bytes","internalType":"bytes"}],"outputs":[],"stateMutability":"nonpayable"},{"name":"pledgeBox","type":"function","inputs":[{"name":"box","type":"address","internalType":"contract IBox"},{"name":"fundingModule","type":"address","internalType":"contract IFunding"},{"name":"facilityData","type":"bytes","internalType":"bytes"},{"name":"collateralToken","type":"address","internalType":"contract IERC20"},{"name":"collateralAmount","type":"uint256","internalType":"uint256"}],"outputs":[],"stateMutability":"nonpayable"},{"name":"proxiableUUID","type":"function","inputs":[],"outputs":[{"name":"","type":"bytes32","internalType":"bytes32"}],"stateMutability":"view"},{"name":"reallocateBox","type":"function","inputs":[{"name":"box","type":"address","internalType":"contract IBox"},{"name":"fromToken","type":"address","internalType":"contract IERC20"},{"name":"toToken","type":"address","internalType":"contract IERC20"},{"name":"amount","type":"uint256","internalType":"uint256"},{"name":"swapper","type":"address","internalType":"contract ISwapper"},{"name":"swapData","type":"bytes","internalType":"bytes"},{"name":"minExpected","type":"uint256","internalType":"uint256"}],"outputs":[{"name":"result","type":"tuple","components":[{"name":"expected","type":"uint256","internalType":"uint256"},{"name":"received","type":"uint256","internalType":"uint256"},{"name":"slippageBefore","type":"uint256","internalType":"uint256"},{"name":"slippageAfter","type":"uint256","internalType":"uint256"}],"internalType":"struct SwapResult"}],"stateMutability":"nonpayable"},{"name":"reallocateVault","type":"function","inputs":[{"name":"vault","type":"address","internalType":"contract IVaultV2"},{"name":"fromAdapter","type":"address","internalType":"address"},{"name":"fromData","type":"bytes","internalType":"bytes"},{"name":"toAdapter","type":"address","internalType":"address"},{"name":"toData","type":"bytes","internalType":"bytes"},{"name":"amount","type":"uint256","internalType":"uint256"}],"outputs":[],"stateMutability":"nonpayable"},{"name":"refinance","type":"function","inputs":[{"name":"morpho","type":"address","internalType":"contract IMorpho"},{"name":"box","type":"address","internalType":"contract IBox"},{"name":"fromFundingModule","type":"address","internalType":"contract IFunding"},{"name":"fromFacilityData","type":"bytes","internalType":"bytes"},{"name":"toFundingModule","type":"address","internalType":"contract IFunding"},{"name":"toFacilityData","type":"bytes","internalType":"bytes"},{"name":"collateralToken","type":"address","internalType":"contract IERC20"},{"name":"collateralAmount","type":"uint256","internalType":"uint256"},{"name":"loanToken","type":"address","internalType":"contract IERC20"},{"name":"loanAmount","type":"uint256","internalType":"uint256"}],"outputs":[],"stateMutability":"nonpayable"},{"name":"refinanceSwapCollateral","type":"function","inputs":[{"name":"morpho","type":"address","internalType":"contract IMorpho"},{"name":"box","type":"address","internalType":"contract IBox"},{"name":"fromFundingModule","type":"address","internalType":"contract IFunding"},{"name":"fromFacilityData","type":"bytes","internalType":"bytes"},{"name":"toFundingModule","type":"address","internalType":"contract IFunding"},{"name":"toFacilityData","type":"bytes","internalType":"bytes"},{"name":"fromCollateralToken","type":"address","internalType":"contract IERC20"},{"name":"fromCollateralAmount","type":"uint256","internalType":"uint256"},{"name":"toCollateralToken","type":"address","internalType":"contract IERC20"},{"name":"loanToken","type":"address","internalType":"contract IERC20"},{"name":"loanAmount","type":"uint256","internalType":"uint256"},{"name":"swapper","type":"address","internalType":"contract ISwapper"},{"name":"swapData","type":"bytes","internalType":"bytes"}],"outputs":[{"name":"","type":"tuple","components":[{"name":"expected","type":"uint256","internalType":"uint256"},{"name":"received","type":"uint256","internalType":"uint256"},{"name":"slippageBefore","type":"uint256","internalType":"uint256"},{"name":"slippageAfter","type":"uint256","internalType":"uint256"}],"internalType":"struct SwapResult"}],"stateMutability":"nonpayable"},{"name":"refinanceSwapLoan","type":"function","inputs":[{"name":"morpho","type":"address","internalType":"contract IMorpho"},{"name":"box","type":"address","internalType":"contract IBox"},{"name":"fromFundingModule","type":"address","internalType":"contract IFunding"},{"name":"fromFacilityData","type":"bytes","internalType":"bytes"},{"name":"toFundingModule","type":"address","internalType":"contract IFunding"},{"name":"toFacilityData","type":"bytes","internalType":"bytes"},{"name":"collateralToken","type":"address","internalType":"contract IERC20"},{"name":"collateralAmount","type":"uint256","internalType":"uint256"},{"name":"fromLoanToken","type":"address","internalType":"contract IERC20"},{"name":"fromLoanAmount","type":"uint256","internalType":"uint256"},{"name":"toLoanToken","type":"address","internalType":"contract IERC20"},{"name":"toLoanAmount","type":"uint256","internalType":"uint256"},{"name":"swapper","type":"address","internalType":"contract ISwapper"},{"name":"swapData","type":"bytes","internalType":"bytes"}],"outputs":[{"name":"","type":"tuple","components":[{"name":"expected","type":"uint256","internalType":"uint256"},{"name":"received","type":"uint256","internalType":"uint256"},{"name":"slippageBefore","type":"uint256","internalType":"uint256"},{"name":"slippageAfter","type":"uint256","internalType":"uint256"}],"internalType":"struct SwapResult"}],"stateMutability":"nonpayable"},{"name":"reinvestSkimAdapter","type":"function","inputs":[{"name":"vault","type":"address","internalType":"contract IVaultV2"},{"name":"adapter","type":"address","internalType":"address"},{"name":"skimToken","type":"address","internalType":"contract IERC20"},{"name":"swapper","type":"address","internalType":"contract ISwapper"},{"name":"swapData","type":"bytes","internalType":"bytes"},{"name":"minExpected","type":"uint256","internalType":"uint256"}],"outputs":[{"name":"result","type":"tuple","components":[{"name":"expected","type":"uint256","internalType":"uint256"},{"name":"received","type":"uint256","internalType":"uint256"},{"name":"slippageBefore","type":"uint256","internalType":"uint256"},{"name":"slippageAfter","type":"uint256","internalType":"uint256"}],"internalType":"struct SwapResult"}],"stateMutability":"nonpayable"},{"name":"renounceRole","type":"function","inputs":[{"name":"role","type":"bytes32","internalType":"bytes32"},{"name":"callerConfirmation","type":"address","internalType":"address"}],"outputs":[],"stateMutability":"nonpayable"},{"name":"repayBox","type":"function","inputs":[{"name":"box","type":"address","internalType":"contract IBox"},{"name":"fundingModule","type":"address","internalType":"contract IFunding"},{"name":"facilityData","type":"bytes","internalType":"bytes"},{"name":"debtToken","type":"address","internalType":"contract IERC20"},{"name":"repayAmount","type":"uint256","internalType":"uint256"}],"outputs":[],"stateMutability":"nonpayable"},{"name":"revokeRole","type":"function","inputs":[{"name":"role","type":"bytes32","internalType":"bytes32"},{"name":"account","type":"address","internalType":"address"}],"outputs":[],"stateMutability":"nonpayable"},{"name":"setOperatorRole","type":"function","inputs":[{"name":"operator","type":"address","internalType":"address"},{"name":"grant","type":"bool","internalType":"bool"}],"outputs":[],"stateMutability":"nonpayable"},{"name":"skimmableBalance","type":"function","inputs":[{"name":"adapter","type":"address","internalType":"address"},{"name":"token","type":"address","internalType":"contract IERC20"}],"outputs":[{"name":"amount","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"supportsInterface","type":"function","inputs":[{"name":"interfaceId","type":"bytes4","internalType":"bytes4"}],"outputs":[{"name":"","type":"bool","internalType":"bool"}],"stateMutability":"view"},{"name":"upgradeToAndCall","type":"function","inputs":[{"name":"newImplementation","type":"address","internalType":"address"},{"name":"data","type":"bytes","internalType":"bytes"}],"outputs":[],"stateMutability":"payable"}],"metadata":{"compiler":{"version":"0.8.28+commit.7893614a"},"language":"Solidity","output":{"abi":[{"inputs":[],"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":[{"internalType":"address","name":"account","type":"address"}],"name":"AddressInsufficientBalance","type":"error"},{"inputs":[{"internalType":"address","name":"implementation","type":"address"}],"name":"ERC1967InvalidImplementation","type":"error"},{"inputs":[],"name":"ERC1967NonPayable","type":"error"},{"inputs":[],"name":"FailedInnerCall","type":"error"},{"inputs":[],"name":"InvalidInitialization","type":"error"},{"inputs":[],"name":"NotInitializing","type":"error"},{"inputs":[],"name":"OnlyBox","type":"error"},{"inputs":[],"name":"OnlyMorpho","type":"error"},{"inputs":[{"internalType":"address","name":"token","type":"address"}],"name":"SafeERC20FailedOperation","type":"error"},{"inputs":[],"name":"UUPSUnauthorizedCallContext","type":"error"},{"inputs":[{"internalType":"bytes32","name":"slot","type":"bytes32"}],"name":"UUPSUnsupportedProxiableUUID","type":"error"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint64","name":"version","type":"uint64"}],"name":"Initialized","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":true,"internalType":"address","name":"implementation","type":"address"}],"name":"Upgraded","type":"event"},{"inputs":[],"name":"DEFAULT_ADMIN_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"OPERATOR_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"UPGRADE_INTERFACE_VERSION","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"contract IBox","name":"box","type":"address"},{"internalType":"contract IERC20","name":"toToken","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"contract ISwapper","name":"swapper","type":"address"},{"internalType":"bytes","name":"swapData","type":"bytes"},{"internalType":"uint256","name":"minExpected","type":"uint256"}],"name":"allocateBox","outputs":[{"components":[{"internalType":"uint256","name":"expected","type":"uint256"},{"internalType":"uint256","name":"received","type":"uint256"},{"internalType":"uint256","name":"slippageBefore","type":"uint256"},{"internalType":"uint256","name":"slippageAfter","type":"uint256"}],"internalType":"struct SwapResult","name":"result","type":"tuple"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"contract IVaultV2","name":"vault","type":"address"},{"internalType":"address","name":"adapter","type":"address"},{"internalType":"contract IBox","name":"box","type":"address"},{"internalType":"contract IERC20","name":"toToken","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"contract ISwapper","name":"swapper","type":"address"},{"internalType":"bytes","name":"swapData","type":"bytes"},{"internalType":"uint256","name":"minExpected","type":"uint256"}],"name":"allocateToken","outputs":[{"components":[{"internalType":"uint256","name":"expected","type":"uint256"},{"internalType":"uint256","name":"received","type":"uint256"},{"internalType":"uint256","name":"slippageBefore","type":"uint256"},{"internalType":"uint256","name":"slippageAfter","type":"uint256"}],"internalType":"struct SwapResult","name":"result","type":"tuple"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"contract IVaultV2","name":"vault","type":"address"},{"internalType":"address","name":"adapter","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"allocateVault","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"contract IBox","name":"box","type":"address"},{"internalType":"contract IFunding","name":"fundingModule","type":"address"},{"internalType":"bytes","name":"facilityData","type":"bytes"},{"internalType":"contract IERC20","name":"borrowToken","type":"address"},{"internalType":"uint256","name":"borrowAmount","type":"uint256"}],"name":"borrowBox","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"contract IBox","name":"box","type":"address"},{"internalType":"contract IERC20","name":"fromToken","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"contract ISwapper","name":"swapper","type":"address"},{"internalType":"bytes","name":"swapData","type":"bytes"},{"internalType":"uint256","name":"minExpected","type":"uint256"}],"name":"deallocateBox","outputs":[{"components":[{"internalType":"uint256","name":"expected","type":"uint256"},{"internalType":"uint256","name":"received","type":"uint256"},{"internalType":"uint256","name":"slippageBefore","type":"uint256"},{"internalType":"uint256","name":"slippageAfter","type":"uint256"}],"internalType":"struct SwapResult","name":"result","type":"tuple"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"contract IVaultV2","name":"vault","type":"address"},{"internalType":"address","name":"adapter","type":"address"},{"internalType":"contract IBox","name":"box","type":"address"},{"internalType":"contract IERC20","name":"fromToken","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"contract ISwapper","name":"swapper","type":"address"},{"internalType":"bytes","name":"swapData","type":"bytes"},{"internalType":"uint256","name":"minExpected","type":"uint256"}],"name":"deallocateToken","outputs":[{"components":[{"internalType":"uint256","name":"expected","type":"uint256"},{"internalType":"uint256","name":"received","type":"uint256"},{"internalType":"uint256","name":"slippageBefore","type":"uint256"},{"internalType":"uint256","name":"slippageAfter","type":"uint256"}],"internalType":"struct SwapResult","name":"result","type":"tuple"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"contract IVaultV2","name":"vault","type":"address"},{"internalType":"address","name":"adapter","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"deallocateVault","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"contract IVaultV2","name":"vault","type":"address"},{"internalType":"address","name":"adapter","type":"address"},{"internalType":"bytes","name":"data","type":"bytes"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"deallocateVaultWithData","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"contract IMorpho","name":"morpho","type":"address"},{"internalType":"contract IBox","name":"box","type":"address"},{"internalType":"contract IFunding","name":"fundingModule","type":"address"},{"internalType":"bytes","name":"facilityData","type":"bytes"},{"internalType":"contract ISwapper","name":"swapper","type":"address"},{"internalType":"bytes","name":"swapData","type":"bytes"},{"internalType":"contract IERC20","name":"collateralToken","type":"address"},{"internalType":"uint256","name":"collateralAmount","type":"uint256"},{"internalType":"contract IERC20","name":"loanToken","type":"address"},{"internalType":"uint256","name":"loanAmount","type":"uint256"}],"name":"deleverage","outputs":[{"components":[{"internalType":"uint256","name":"expected","type":"uint256"},{"internalType":"uint256","name":"received","type":"uint256"},{"internalType":"uint256","name":"slippageBefore","type":"uint256"},{"internalType":"uint256","name":"slippageAfter","type":"uint256"}],"internalType":"struct SwapResult","name":"result","type":"tuple"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"contract IBox","name":"box","type":"address"},{"internalType":"contract IFunding","name":"fundingModule","type":"address"},{"internalType":"bytes","name":"facilityData","type":"bytes"},{"internalType":"contract IERC20","name":"collateralToken","type":"address"},{"internalType":"uint256","name":"collateralAmount","type":"uint256"}],"name":"depledgeBox","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"}],"name":"getRoleAdmin","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"grantRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"hasRole","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"initialAdmin","type":"address"}],"name":"initialize","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"contract IMorpho","name":"morpho","type":"address"},{"internalType":"contract IBox","name":"box","type":"address"},{"internalType":"contract IFunding","name":"fundingModule","type":"address"},{"internalType":"bytes","name":"facilityData","type":"bytes"},{"internalType":"contract ISwapper","name":"swapper","type":"address"},{"internalType":"bytes","name":"swapData","type":"bytes"},{"internalType":"contract IERC20","name":"collateralToken","type":"address"},{"internalType":"contract IERC20","name":"loanToken","type":"address"},{"internalType":"uint256","name":"loanAmount","type":"uint256"}],"name":"leverage","outputs":[{"components":[{"internalType":"uint256","name":"expected","type":"uint256"},{"internalType":"uint256","name":"received","type":"uint256"},{"internalType":"uint256","name":"slippageBefore","type":"uint256"},{"internalType":"uint256","name":"slippageAfter","type":"uint256"}],"internalType":"struct SwapResult","name":"result","type":"tuple"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"contract IERC20","name":"","type":"address"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"onBoxFlash","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"assets","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"onMorphoFlashLoan","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"contract IBox","name":"box","type":"address"},{"internalType":"contract IFunding","name":"fundingModule","type":"address"},{"internalType":"bytes","name":"facilityData","type":"bytes"},{"internalType":"contract IERC20","name":"collateralToken","type":"address"},{"internalType":"uint256","name":"collateralAmount","type":"uint256"}],"name":"pledgeBox","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"proxiableUUID","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"contract IBox","name":"box","type":"address"},{"internalType":"contract IERC20","name":"fromToken","type":"address"},{"internalType":"contract IERC20","name":"toToken","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"contract ISwapper","name":"swapper","type":"address"},{"internalType":"bytes","name":"swapData","type":"bytes"},{"internalType":"uint256","name":"minExpected","type":"uint256"}],"name":"reallocateBox","outputs":[{"components":[{"internalType":"uint256","name":"expected","type":"uint256"},{"internalType":"uint256","name":"received","type":"uint256"},{"internalType":"uint256","name":"slippageBefore","type":"uint256"},{"internalType":"uint256","name":"slippageAfter","type":"uint256"}],"internalType":"struct SwapResult","name":"result","type":"tuple"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"contract IVaultV2","name":"vault","type":"address"},{"internalType":"address","name":"fromAdapter","type":"address"},{"internalType":"bytes","name":"fromData","type":"bytes"},{"internalType":"address","name":"toAdapter","type":"address"},{"internalType":"bytes","name":"toData","type":"bytes"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"reallocateVault","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"contract IMorpho","name":"morpho","type":"address"},{"internalType":"contract IBox","name":"box","type":"address"},{"internalType":"contract IFunding","name":"fromFundingModule","type":"address"},{"internalType":"bytes","name":"fromFacilityData","type":"bytes"},{"internalType":"contract IFunding","name":"toFundingModule","type":"address"},{"internalType":"bytes","name":"toFacilityData","type":"bytes"},{"internalType":"contract IERC20","name":"collateralToken","type":"address"},{"internalType":"uint256","name":"collateralAmount","type":"uint256"},{"internalType":"contract IERC20","name":"loanToken","type":"address"},{"internalType":"uint256","name":"loanAmount","type":"uint256"}],"name":"refinance","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"contract IMorpho","name":"morpho","type":"address"},{"internalType":"contract IBox","name":"box","type":"address"},{"internalType":"contract IFunding","name":"fromFundingModule","type":"address"},{"internalType":"bytes","name":"fromFacilityData","type":"bytes"},{"internalType":"contract IFunding","name":"toFundingModule","type":"address"},{"internalType":"bytes","name":"toFacilityData","type":"bytes"},{"internalType":"contract IERC20","name":"fromCollateralToken","type":"address"},{"internalType":"uint256","name":"fromCollateralAmount","type":"uint256"},{"internalType":"contract IERC20","name":"toCollateralToken","type":"address"},{"internalType":"contract IERC20","name":"loanToken","type":"address"},{"internalType":"uint256","name":"loanAmount","type":"uint256"},{"internalType":"contract ISwapper","name":"swapper","type":"address"},{"internalType":"bytes","name":"swapData","type":"bytes"}],"name":"refinanceSwapCollateral","outputs":[{"components":[{"internalType":"uint256","name":"expected","type":"uint256"},{"internalType":"uint256","name":"received","type":"uint256"},{"internalType":"uint256","name":"slippageBefore","type":"uint256"},{"internalType":"uint256","name":"slippageAfter","type":"uint256"}],"internalType":"struct SwapResult","name":"","type":"tuple"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"contract IMorpho","name":"morpho","type":"address"},{"internalType":"contract IBox","name":"box","type":"address"},{"internalType":"contract IFunding","name":"fromFundingModule","type":"address"},{"internalType":"bytes","name":"fromFacilityData","type":"bytes"},{"internalType":"contract IFunding","name":"toFundingModule","type":"address"},{"internalType":"bytes","name":"toFacilityData","type":"bytes"},{"internalType":"contract IERC20","name":"collateralToken","type":"address"},{"internalType":"uint256","name":"collateralAmount","type":"uint256"},{"internalType":"contract IERC20","name":"fromLoanToken","type":"address"},{"internalType":"uint256","name":"fromLoanAmount","type":"uint256"},{"internalType":"contract IERC20","name":"toLoanToken","type":"address"},{"internalType":"uint256","name":"toLoanAmount","type":"uint256"},{"internalType":"contract ISwapper","name":"swapper","type":"address"},{"internalType":"bytes","name":"swapData","type":"bytes"}],"name":"refinanceSwapLoan","outputs":[{"components":[{"internalType":"uint256","name":"expected","type":"uint256"},{"internalType":"uint256","name":"received","type":"uint256"},{"internalType":"uint256","name":"slippageBefore","type":"uint256"},{"internalType":"uint256","name":"slippageAfter","type":"uint256"}],"internalType":"struct SwapResult","name":"","type":"tuple"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"contract IVaultV2","name":"vault","type":"address"},{"internalType":"address","name":"adapter","type":"address"},{"internalType":"contract IERC20","name":"skimToken","type":"address"},{"internalType":"contract ISwapper","name":"swapper","type":"address"},{"internalType":"bytes","name":"swapData","type":"bytes"},{"internalType":"uint256","name":"minExpected","type":"uint256"}],"name":"reinvestSkimAdapter","outputs":[{"components":[{"internalType":"uint256","name":"expected","type":"uint256"},{"internalType":"uint256","name":"received","type":"uint256"},{"internalType":"uint256","name":"slippageBefore","type":"uint256"},{"internalType":"uint256","name":"slippageAfter","type":"uint256"}],"internalType":"struct SwapResult","name":"result","type":"tuple"}],"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":"contract IBox","name":"box","type":"address"},{"internalType":"contract IFunding","name":"fundingModule","type":"address"},{"internalType":"bytes","name":"facilityData","type":"bytes"},{"internalType":"contract IERC20","name":"debtToken","type":"address"},{"internalType":"uint256","name":"repayAmount","type":"uint256"}],"name":"repayBox","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":"operator","type":"address"},{"internalType":"bool","name":"grant","type":"bool"}],"name":"setOperatorRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"adapter","type":"address"},{"internalType":"contract IERC20","name":"token","type":"address"}],"name":"skimmableBalance","outputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newImplementation","type":"address"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"upgradeToAndCall","outputs":[],"stateMutability":"payable","type":"function"}],"devdoc":{"details":"Upgradeable via UUPS pattern. Operators can perform complex allocation operations      including leverage, deleverage, and refinancing with optional collateral/loan swaps.","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)."}],"AddressInsufficientBalance(address)":[{"details":"The ETH balance of the account is not enough to perform the operation."}],"ERC1967InvalidImplementation(address)":[{"details":"The `implementation` of the proxy is invalid."}],"ERC1967NonPayable()":[{"details":"An upgrade function sees `msg.value > 0` that may be lost."}],"FailedInnerCall()":[{"details":"A call to an address target failed. The target may have reverted."}],"InvalidInitialization()":[{"details":"The contract is already initialized."}],"NotInitializing()":[{"details":"The contract is not initializing."}],"SafeERC20FailedOperation(address)":[{"details":"An operation with an ERC20 token failed."}],"UUPSUnauthorizedCallContext()":[{"details":"The call is from an unauthorized context."}],"UUPSUnsupportedProxiableUUID(bytes32)":[{"details":"The storage `slot` is unsupported as a UUID."}]},"events":{"Initialized(uint64)":{"details":"Triggered when the contract has been initialized or reinitialized."},"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, an admin role bearer except when using {AccessControl-_setupRole}."},"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`)"},"Upgraded(address)":{"details":"Emitted when the implementation is upgraded."}},"kind":"dev","methods":{"allocateBox(address,address,uint256,address,bytes,uint256)":{"params":{"amount":"The amount of base asset to allocate.","box":"The Box to allocate in.","minExpected":"The minimum expected amount of tokens to receive.","swapData":"The swap data for the swapper.","swapper":"The swapper contract to use.","toToken":"The token to allocate to."},"returns":{"result":"The swap result with expected, received, and slippage tracking."}},"allocateToken(address,address,address,address,uint256,address,bytes,uint256)":{"details":"Handles liquidity sourcing from both Box and Vault."},"allocateVault(address,address,uint256)":{"params":{"adapter":"The adapter to allocate to.","amount":"The amount to allocate.","vault":"The VaultV2 to allocate from."}},"constructor":{"custom:oz-upgrades-unsafe-allow":"constructor"},"deallocateBox(address,address,uint256,address,bytes,uint256)":{"params":{"amount":"The amount of tokens to deallocate.","box":"The Box to deallocate from.","fromToken":"The token to deallocate.","minExpected":"The minimum expected amount of base asset to receive.","swapData":"The swap data for the swapper.","swapper":"The swapper contract to use."},"returns":{"result":"The swap result with expected, received, and slippage tracking."}},"deallocateVault(address,address,uint256)":{"params":{"adapter":"The adapter to deallocate from.","amount":"The amount to deallocate.","vault":"The VaultV2 to deallocate from."}},"deallocateVaultWithData(address,address,bytes,uint256)":{"params":{"adapter":"The adapter to deallocate from.","amount":"The amount to deallocate.","data":"The adapter-specific data for the deallocation.","vault":"The VaultV2 to deallocate from."}},"deleverage(address,address,address,bytes,address,bytes,address,uint256,address,uint256)":{"details":"Flow: Flash loan -> Repay debt -> Depledge collateral -> Swap collateral to loan to repay flash","params":{"box":"The Box to perform operations on.","collateralAmount":"The amount of collateral to withdraw (type(uint256).max for all).","collateralToken":"The collateral token to withdraw.","facilityData":"The facility data for the funding module.","fundingModule":"The funding module to use.","loanAmount":"The amount of debt to repay (type(uint256).max for all).","loanToken":"The loan token to repay.","morpho":"The Morpho protocol address for flash loans.","swapData":"The swap data for the swapper.","swapper":"The swapper for collateral-to-loan conversion."},"returns":{"result":"The swap result with expected, received, and slippage tracking."}},"getRoleAdmin(bytes32)":{"details":"Returns the admin role that controls `role`. See {grantRole} and {revokeRole}. To change a role's admin, use {_setRoleAdmin}."},"grantRole(bytes32,address)":{"details":"Grants `role` to `account`. If `account` had not been already granted `role`, emits a {RoleGranted} event. Requirements: - the caller must have ``role``'s admin role. May emit a {RoleGranted} event."},"hasRole(bytes32,address)":{"details":"Returns `true` if `account` has been granted `role`."},"initialize(address)":{"params":{"initialAdmin":"The address to grant initial admin and operator roles."}},"leverage(address,address,address,bytes,address,bytes,address,address,uint256)":{"details":"Flow: Flash loan -> Swap loan to collateral -> Pledge collateral -> Borrow to repay flash loan","params":{"box":"The Box to perform operations on.","collateralToken":"The collateral token to acquire.","facilityData":"The facility data for the funding module.","fundingModule":"The funding module to use.","loanAmount":"The amount to flash loan/borrow.","loanToken":"The loan token to flash loan and borrow.","morpho":"The Morpho protocol address for flash loans.","swapData":"The swap data for the swapper.","swapper":"The swapper for loan-to-collateral conversion."},"returns":{"result":"The swap result with expected, received, and slippage tracking."}},"onBoxFlash(address,uint256,bytes)":{"details":"Called by Box after flash funds are transferred. Executes the actual operation logic."},"onMorphoFlashLoan(uint256,bytes)":{"details":"Called by Morpho after flash loan funds are transferred."},"proxiableUUID()":{"details":"Implementation of the ERC1822 {proxiableUUID} function. This returns the storage slot used by the implementation. It is used to validate the implementation's compatibility when performing an upgrade. IMPORTANT: A proxy pointing at a proxiable contract should not be considered proxiable itself, because this risks bricking a proxy that upgrades to it, by delegating to itself until out of gas. Thus it is critical that this function revert if invoked through a proxy. This is guaranteed by the `notDelegated` modifier."},"reallocateBox(address,address,address,uint256,address,bytes,uint256)":{"params":{"amount":"The amount of fromToken to reallocate.","box":"The Box to reallocate in.","fromToken":"The token to reallocate from.","minExpected":"The minimum expected amount of toToken to receive.","swapData":"The swap data for the swapper.","swapper":"The swapper contract to use.","toToken":"The token to reallocate to."},"returns":{"result":"The swap result with expected, received, and slippage tracking."}},"reallocateVault(address,address,bytes,address,bytes,uint256)":{"params":{"amount":"The amount to move.","fromAdapter":"The adapter to deallocate from.","fromData":"The adapter-specific data for the source deallocation.","toAdapter":"The adapter to allocate to.","toData":"The adapter-specific data for the destination allocation.","vault":"The VaultV2 to rebalance within."}},"refinance(address,address,address,bytes,address,bytes,address,uint256,address,uint256)":{"details":"Flow: Flash loan -> Repay old debt -> Depledge -> Pledge to new -> Borrow from new to repay flash","params":{"box":"The Box to perform operations on.","collateralAmount":"The amount of collateral (type(uint256).max for all).","collateralToken":"The collateral token.","fromFacilityData":"The facility data for the source.","fromFundingModule":"The funding module to refinance from.","loanAmount":"The amount of debt (type(uint256).max for all).","loanToken":"The loan token.","morpho":"The Morpho protocol address for flash loans.","toFacilityData":"The facility data for the destination.","toFundingModule":"The funding module to refinance to."}},"refinanceSwapCollateral(address,address,address,bytes,address,bytes,address,uint256,address,address,uint256,address,bytes)":{"details":"Flow: Flash loan -> Repay old debt -> Depledge old collateral -> Swap to new collateral            -> Pledge new collateral to new facility -> Borrow to repay flash loan","params":{"box":"The Box to perform operations on.","fromCollateralAmount":"The amount of original collateral (type(uint256).max for all).","fromCollateralToken":"The original collateral token.","fromFacilityData":"The facility data for the source.","fromFundingModule":"The funding module to refinance from.","loanAmount":"The amount of debt (type(uint256).max for all).","loanToken":"The loan token (same for both facilities).","morpho":"The Morpho protocol address for flash loans.","swapData":"The swap data for the swapper.","swapper":"The swapper for collateral conversion.","toCollateralToken":"The new collateral token.","toFacilityData":"The facility data for the destination.","toFundingModule":"The funding module to refinance to."},"returns":{"_0":"result The swap result with expected, received, and slippage tracking."}},"refinanceSwapLoan(address,address,address,bytes,address,bytes,address,uint256,address,uint256,address,uint256,address,bytes)":{"details":"Flow: Flash loan new loan token -> Swap to old loan token -> Repay old debt            -> Depledge collateral -> Pledge collateral to new facility            -> Borrow new loan token to repay flash loan","params":{"box":"The Box to perform operations on.","collateralAmount":"The amount of collateral (type(uint256).max for all).","collateralToken":"The collateral token (same for both facilities).","fromFacilityData":"The facility data for the source.","fromFundingModule":"The funding module to refinance from.","fromLoanAmount":"The amount of original debt (type(uint256).max for all).","fromLoanToken":"The original loan token.","morpho":"The Morpho protocol address for flash loans.","swapData":"The swap data for the swapper.","swapper":"The swapper for loan token conversion.","toFacilityData":"The facility data for the destination.","toFundingModule":"The funding module to refinance to.","toLoanAmount":"The amount of new loan token to flash loan.","toLoanToken":"The new loan token."},"returns":{"_0":"result The swap result with expected, received, and slippage tracking."}},"reinvestSkimAdapter(address,address,address,address,bytes,uint256)":{"params":{"adapter":"The adapter to skim from.","minExpected":"The minimum expected amount of vault assets to donate.","skimToken":"The token to skim and optionally swap.","swapData":"The swap data for the swapper.","swapper":"The swapper to convert skimToken to the vault asset.","vault":"The VaultV2 receiving the donated assets."},"returns":{"result":"The swap result with expected, received, and slippage tracking."}},"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."},"setOperatorRole(address,bool)":{"details":"Only callable by DEFAULT_ADMIN_ROLE.","params":{"grant":"True to grant the role, false to revoke it.","operator":"The address to grant or revoke the role from."}},"skimmableBalance(address,address)":{"params":{"adapter":"The adapter to inspect.","token":"The token to inspect."},"returns":{"amount":"The current balance of `token` held by `adapter`."}},"supportsInterface(bytes4)":{"details":"See {IERC165-supportsInterface}."},"upgradeToAndCall(address,bytes)":{"custom:oz-upgrades-unsafe-allow-reachable":"delegatecall","details":"Upgrade the implementation of the proxy to `newImplementation`, and subsequently execute the function call encoded in `data`. Calls {_authorizeUpgrade}. Emits an {Upgraded} event."}},"stateVariables":{"_box":{"details":"Box address for flash callback validation"},"_expected":{"details":"Expected amount from last swap"},"_morpho":{"details":"Morpho address for flash loan callback validation"},"_received":{"details":"Received amount from last swap"},"_slippageAfter":{"details":"Accumulated slippage after operation"},"_slippageBefore":{"details":"Accumulated slippage before operation"}},"title":"VaultV2Allocator","version":1},"userdoc":{"kind":"user","methods":{"OPERATOR_ROLE()":{"notice":"Role for operators allowed to perform restricted actions."},"allocateBox(address,address,uint256,address,bytes,uint256)":{"notice":"Allocates base asset to a token in the Box."},"allocateToken(address,address,address,address,uint256,address,bytes,uint256)":{"notice":"Allocates from VaultV2 through Box to a token."},"allocateVault(address,address,uint256)":{"notice":"Allocates funds from a VaultV2 to an adapter."},"borrowBox(address,address,bytes,address,uint256)":{"notice":"Borrows from a funding module via the Box."},"deallocateBox(address,address,uint256,address,bytes,uint256)":{"notice":"Deallocates a token back to base asset in the Box."},"deallocateToken(address,address,address,address,uint256,address,bytes,uint256)":{"notice":"Deallocates a token from Box back to VaultV2."},"deallocateVault(address,address,uint256)":{"notice":"Deallocates funds from a VaultV2 adapter."},"deallocateVaultWithData(address,address,bytes,uint256)":{"notice":"Deallocates funds from a VaultV2 adapter using explicit adapter data."},"deleverage(address,address,address,bytes,address,bytes,address,uint256,address,uint256)":{"notice":"Deleverages a position using a Morpho flash loan."},"depledgeBox(address,address,bytes,address,uint256)":{"notice":"Depledges collateral from a funding module via the Box."},"initialize(address)":{"notice":"Initializes the contract, setting up access control and UUPS upgradeability."},"leverage(address,address,address,bytes,address,bytes,address,address,uint256)":{"notice":"Leverages a position using a Morpho flash loan."},"onBoxFlash(address,uint256,bytes)":{"notice":"Box flash callback."},"onMorphoFlashLoan(uint256,bytes)":{"notice":"Morpho flash loan callback."},"pledgeBox(address,address,bytes,address,uint256)":{"notice":"Pledges collateral to a funding module via the Box."},"reallocateBox(address,address,address,uint256,address,bytes,uint256)":{"notice":"Reallocates from one token to another in the Box."},"reallocateVault(address,address,bytes,address,bytes,uint256)":{"notice":"Reallocates funds between two VaultV2 adapters using explicit adapter data."},"refinance(address,address,address,bytes,address,bytes,address,uint256,address,uint256)":{"notice":"Refinances a position to a new facility (same collateral and loan)."},"refinanceSwapCollateral(address,address,address,bytes,address,bytes,address,uint256,address,address,uint256,address,bytes)":{"notice":"Refinances to a new facility while swapping collateral to a new type."},"refinanceSwapLoan(address,address,address,bytes,address,bytes,address,uint256,address,uint256,address,uint256,address,bytes)":{"notice":"Refinances to a new facility while swapping the loan asset."},"reinvestSkimAdapter(address,address,address,address,bytes,uint256)":{"notice":"Skims a token from an adapter, swaps it to the vault asset, and donates the proceeds to the vault."},"repayBox(address,address,bytes,address,uint256)":{"notice":"Repays debt to a funding module via the Box."},"setOperatorRole(address,bool)":{"notice":"Grants or revokes the OPERATOR_ROLE."},"skimmableBalance(address,address)":{"notice":"Returns how much of a token can currently be skimmed from an adapter."}},"notice":"Helper contract for VaultV2 and Box allocations with flash loan support","version":1}},"settings":{"compilationTarget":{"src/mv2/VaultV2Allocator.sol":"VaultV2Allocator"},"evmVersion":"prague","libraries":{},"metadata":{"bytecodeHash":"ipfs"},"optimizer":{"enabled":true,"runs":100},"remappings":[":@ensdomains/=lib/slipstream/node_modules/@ensdomains/",":@morpho-blue-oracles/=lib/morpho-blue-oracles/",":@nomad-xyz/=lib/slipstream/lib/ExcessivelySafeCall/",":@openzeppelin/contracts-upgradeable/=lib/openzeppelin-contracts-upgradeable/contracts/",":@openzeppelin/contracts/=lib/openzeppelin-contracts/contracts/",":@pendle-core-v2/=lib/pendle-core-v2-public/contracts/",":@slipstream/contracts/=lib/slipstream/contracts/",":@solidity-parser/=lib/slipstream/node_modules/solhint/node_modules/@solidity-parser/",":@uniswap/v3-core/=lib/v3-core/",":@uniswap/v3-periphery/=lib/v3-periphery/",":ExcessivelySafeCall/=lib/slipstream/lib/ExcessivelySafeCall/src/",":base64-sol/=lib/slipstream/lib/base64/",":base64/=lib/slipstream/lib/base64/",":contracts/=lib/slipstream/contracts/",":ds-auth/=lib/dss-psm/lib/dss/lib/ds-token/lib/ds-auth/src/",":ds-math/=lib/dss-psm/lib/dss/lib/ds-token/lib/ds-math/src/",":ds-note/=lib/dss-psm/lib/dss/lib/ds-value/lib/ds-thing/lib/ds-note/src/",":ds-test/=lib/forge-std/lib/ds-test/src/",":ds-thing/=lib/dss-psm/lib/dss/lib/ds-value/lib/ds-thing/src/",":ds-token/=lib/dss-psm/lib/dss/lib/ds-token/src/",":ds-value/=lib/dss-psm/lib/dss/lib/ds-value/src/",":dss-interfaces/=lib/dss-psm/lib/dss-interfaces/src/",":dss-psm/=lib/dss-psm/src/",":dss/=lib/dss-psm/lib/dss/src/",":erc4626-tests/=lib/openzeppelin-contracts/lib/erc4626-tests/",":forge-std/=lib/forge-std/src/",":halmos-cheatcodes/=lib/openzeppelin-contracts-upgradeable/lib/halmos-cheatcodes/src/",":hardhat/=lib/slipstream/node_modules/hardhat/",":metamorpho-v1.1/=lib/vault-v2/lib/metamorpho-v1.1/",":metamorpho/=lib/vault-v2/lib/metamorpho/",":morpho-blue-irm/=lib/vault-v2/lib/morpho-blue-irm/",":morpho-blue-oracles/=lib/morpho-blue-oracles/src/",":morpho-blue/=lib/morpho-blue/src/",":openzeppelin-contracts-upgradeable/=lib/openzeppelin-contracts-upgradeable/",":openzeppelin-contracts/=lib/openzeppelin-contracts/contracts/",":pendle-core-v2-public/=lib/pendle-core-v2-public/contracts/",":slipstream/=lib/slipstream/",":solidity-lib/=lib/slipstream/lib/solidity-lib/contracts/",":solmate/=lib/vault-v2/lib/morpho-blue-irm/lib/solmate/src/",":steakhouse-oracles/=lib/steakhouse-oracles/src/",":v3-core/=lib/v3-core/",":v3-periphery/=lib/v3-periphery/contracts/",":vault-v2/=lib/vault-v2/src/"],"viaIR":true},"sources":{"lib/morpho-blue/src/interfaces/IMorpho.sol":{"keccak256":"0xee9fbe10e0cd31b8d4c2c2effadaf337a6c6c43c9bdb94d2cad79fdffc47a86e","license":"GPL-2.0-or-later","urls":["bzz-raw://bc94b9b24900994cba898911edf82545052e738f6c9c2a7a56589c122014d363","dweb:/ipfs/QmXp9qkTnoPoio6KvdCFnCVW6Tjfb4Kbd4zByuiwQwwmwx"]},"lib/openzeppelin-contracts/contracts/access/AccessControl.sol":{"keccak256":"0xa0e92d42942f4f57c5be50568dac11e9d00c93efcb458026e18d2d9b9b2e7308","license":"MIT","urls":["bzz-raw://46326c0bb1e296b67185e81c918e0b40501b8b6386165855df0a3f3c634b6a80","dweb:/ipfs/QmTwyrDYtsxsk6pymJTK94PnEpzsmkpUxFuzEiakDopy4Z"]},"lib/openzeppelin-contracts/contracts/access/IAccessControl.sol":{"keccak256":"0xb6b36edd6a2999fd243ff226d6cbf84bd71af2432bbd0dfe19392996a1d9cb41","license":"MIT","urls":["bzz-raw://1fd2f35495652e57e3f99bc6c510bc5f7dd398a176ea2e72d8ed730aebc6ca26","dweb:/ipfs/QmTQV6X4gkikTib49cho5iDX3JvSQbdsoEChoDwrk3CbbH"]},"lib/openzeppelin-contracts/contracts/interfaces/IERC4626.sol":{"keccak256":"0x207f64371bc0fcc5be86713aa5da109a870cc3a6da50e93b64ee881e369b593d","license":"MIT","urls":["bzz-raw://548667cfa76683767c2c610b577f6c2f0675d0ce28f53c3f37b969c84a56b205","dweb:/ipfs/QmUzA1CKC6bDdULuS44wGd7PWBNLiHb6bh7oHwJBDZSLAx"]},"lib/openzeppelin-contracts/contracts/interfaces/draft-IERC1822.sol":{"keccak256":"0x2a1f9944df2015c081d89cd41ba22ffaf10aa6285969f0dc612b235cc448999c","license":"MIT","urls":["bzz-raw://ef381843676aec64421200ee85eaa0b1356a35f28b9fc67e746a6bbb832077d9","dweb:/ipfs/QmY8aorMYA2TeTCnu6ejDjzb4rW4t7TCtW4GZ6LoxTFm7v"]},"lib/openzeppelin-contracts/contracts/proxy/ERC1967/ERC1967Utils.sol":{"keccak256":"0x06a78f9b3ee3e6d0eb4e4cd635ba49960bea34cac1db8c0a27c75f2319f1fd65","license":"MIT","urls":["bzz-raw://547d21aa17f4f3f1a1a7edf7167beff8dd9496a0348d5588f15cc8a4b29d052a","dweb:/ipfs/QmT16JtRQSWNpLo9W23jr6CzaMuTAcQcjJJcdRd8HLJ6cE"]},"lib/openzeppelin-contracts/contracts/proxy/beacon/IBeacon.sol":{"keccak256":"0xc59a78b07b44b2cf2e8ab4175fca91e8eca1eee2df7357b8d2a8833e5ea1f64c","license":"MIT","urls":["bzz-raw://5aa4f07e65444784c29cd7bfcc2341b34381e4e5b5da9f0c5bd00d7f430e66fa","dweb:/ipfs/QmWRMh4Q9DpaU9GvsiXmDdoNYMyyece9if7hnfLz7uqzWM"]},"lib/openzeppelin-contracts/contracts/proxy/utils/Initializable.sol":{"keccak256":"0x631188737069917d2f909d29ce62c4d48611d326686ba6683e26b72a23bfac0b","license":"MIT","urls":["bzz-raw://7a61054ae84cd6c4d04c0c4450ba1d6de41e27e0a2c4f1bcdf58f796b401c609","dweb:/ipfs/QmUvtdp7X1mRVyC3CsHrtPbgoqWaXHp3S1ZR24tpAQYJWM"]},"lib/openzeppelin-contracts/contracts/proxy/utils/UUPSUpgradeable.sol":{"keccak256":"0x3ffb56bcb175984a10b1167e2eba560876bfe96a435f5d62ffed8b1bb4ebc4c7","license":"MIT","urls":["bzz-raw://7db94af56aa20efb57c3f9003eacd884faad04118967d8e35cdffe07790bbdcd","dweb:/ipfs/QmXtAshRWFjcQ1kL7gpC5CiLUZgJ9uzrZyeHp2Sux9ojPF"]},"lib/openzeppelin-contracts/contracts/token/ERC20/IERC20.sol":{"keccak256":"0xc6a8ff0ea489379b61faa647490411b80102578440ab9d84e9a957cc12164e70","license":"MIT","urls":["bzz-raw://0ea104e577e63faea3b69c415637e99e755dcbf64c5833d7140c35a714d6d90c","dweb:/ipfs/Qmau6x4Ns9XdyynRCNNp3RhLqijJjFm7z5fyZazfYFGYdq"]},"lib/openzeppelin-contracts/contracts/token/ERC20/extensions/IERC20Metadata.sol":{"keccak256":"0xaa761817f6cd7892fcf158b3c776b34551cde36f48ff9703d53898bc45a94ea2","license":"MIT","urls":["bzz-raw://0ad7c8d4d08938c8dfc43d75a148863fb324b80cf53e0a36f7e5a4ac29008850","dweb:/ipfs/QmcrhfPgVNf5mkdhQvy1pMv51TFokD3Y4Wa5WZhFqVh8UV"]},"lib/openzeppelin-contracts/contracts/token/ERC20/extensions/IERC20Permit.sol":{"keccak256":"0x6008dabfe393240d73d7dd7688033f72740d570aa422254d29a7dce8568f3aff","license":"MIT","urls":["bzz-raw://f5196ec75139918c6c7bb4251b36395e668f1fa6d206beba7e7520e74913940d","dweb:/ipfs/QmSyqjksXxmm2mCG6qRd1yuwLykypkSVBbnBnGqJRcuJMi"]},"lib/openzeppelin-contracts/contracts/token/ERC20/utils/SafeERC20.sol":{"keccak256":"0x37bb49513c49c87c4642a891b13b63571bc87013dde806617aa1efb54605f386","license":"MIT","urls":["bzz-raw://b3036b3a83b7c48f96641f2a9002b9f2dcb6a5958dd670894ada21ae8229b3d0","dweb:/ipfs/QmUNfSBdoVtjhETaUJCYcaC7pTMgbhht926tJ2uXJbiVd3"]},"lib/openzeppelin-contracts/contracts/utils/Address.sol":{"keccak256":"0xaf28a975a78550e45f65e559a3ad6a5ad43b9b8a37366999abd1b7084eb70721","license":"MIT","urls":["bzz-raw://b7bd24e224f67f65bfadf85dc2929fa965456bb2415478bd0125471b5ce35245","dweb:/ipfs/QmRaydGr8BTHs1kvaZfsNU69pKzUAGFrvABn1KiRSbE51y"]},"lib/openzeppelin-contracts/contracts/utils/Context.sol":{"keccak256":"0x493033a8d1b176a037b2cc6a04dad01a5c157722049bbecf632ca876224dd4b2","license":"MIT","urls":["bzz-raw://6a708e8a5bdb1011c2c381c9a5cfd8a9a956d7d0a9dc1bd8bcdaf52f76ef2f12","dweb:/ipfs/Qmax9WHBnVsZP46ZxEMNRQpLQnrdE4dK8LehML1Py8FowF"]},"lib/openzeppelin-contracts/contracts/utils/StorageSlot.sol":{"keccak256":"0x32ba59b4b7299237c8ba56319110989d7978a039faf754793064e967e5894418","license":"MIT","urls":["bzz-raw://1ae50c8b562427df610cc4540c9bf104acca7ef8e2dcae567ae7e52272281e9c","dweb:/ipfs/QmTHiadFCSJUPpRjNegc5SahmeU8bAoY8i9Aq6tVscbcKR"]},"lib/openzeppelin-contracts/contracts/utils/introspection/ERC165.sol":{"keccak256":"0x9e8778b14317ba9e256c30a76fd6c32b960af621987f56069e1e819c77c6a133","license":"MIT","urls":["bzz-raw://1777404f1dcd0fac188e55a288724ec3c67b45288e49cc64723e95e702b49ab8","dweb:/ipfs/QmZFdC626GButBApwDUvvTnUzdinevC3B24d7yyh57XkiA"]},"lib/openzeppelin-contracts/contracts/utils/introspection/IERC165.sol":{"keccak256":"0x4296879f55019b23e135000eb36896057e7101fb7fb859c5ef690cf14643757b","license":"MIT","urls":["bzz-raw://87b3541437c8c443ccd36795e56a338ed12855eec17f8da624511b8d1a7e14df","dweb:/ipfs/QmeJQCtZrQjtJLr6u7ZHWeH3pBnjtLWzvRrKViAi7UZqxL"]},"lib/vault-v2/src/interfaces/IERC20.sol":{"keccak256":"0x4e66403784cf08fa5b5dc072b0ddb5a168dd69e8c3cdb912eed37e7da43f32a7","license":"GPL-2.0-or-later","urls":["bzz-raw://b67ef4141949be81dc2176a28334430687013f142ccc22f62b569a0cb90abd14","dweb:/ipfs/QmNsfyx5cGaDjWoMJiPdLnNwBvCk1PqBcKYqL935aUDemu"]},"lib/vault-v2/src/interfaces/IERC2612.sol":{"keccak256":"0x8a6a5882a5ade43ae94e7406251df9911a782f34ad723df857c8a2d8764a77fe","license":"GPL-2.0-or-later","urls":["bzz-raw://12767619d08b112738bed4f6d6df29771730ca65f52c64edb9854a0c19af1c82","dweb:/ipfs/QmeqUTxqRfRz6UQkbqJaRMAmL9D4eSPDeARYhSKxR9gZNt"]},"lib/vault-v2/src/interfaces/IERC4626.sol":{"keccak256":"0x49085f03fc0d7bd727b2c3cc1ae3e5b975f8a863011ec8fda293b613c611a7c3","license":"GPL-2.0-or-later","urls":["bzz-raw://38c86fc0c3d21190aec87f79009d24849170b66f411209e106cc279e8164c425","dweb:/ipfs/QmRNQMWnoebdj3wq77NxSsYAJpDTjdFFKi3ASXHe74yvYq"]},"lib/vault-v2/src/interfaces/IVaultV2.sol":{"keccak256":"0xd2e10276f2e354162ee695eb0700f2567b4e0e635bc03b5a669aa4ac78b15633","license":"GPL-2.0-or-later","urls":["bzz-raw://12c80ecbac96d303dd09714c411751a4241278a0c758af3906d19a50203ee602","dweb:/ipfs/QmP8BEViY32ndKGSameP83xcJhUw83NBVjrZRVbMqWDi48"]},"src/mv2/VaultV2Allocator.sol":{"keccak256":"0xc533fc2ab3ae347bc342e2e376858b4b9103ff22f371dc6a1b4ae4af08818551","license":"GPL-2.0-or-later","urls":["bzz-raw://65133fe732698c56a126438f022805040aed722d168a8d95d18bf704355bc0c2","dweb:/ipfs/QmTgQX3YAZZQAp1EXzD5UdVaQVLd6buat7T7a2ia4skx1W"]},"src/mv2/interfaces/IBox.sol":{"keccak256":"0xa0c5e44103ea291347d487baf365dec8fed012d50725e9f9014c0d994486e6d0","license":"MIT","urls":["bzz-raw://c2df1a0bd392463ccca23fa4ee3052626e133494ddb9a509c8110e01fba3f6ab","dweb:/ipfs/QmadPHHkQGQhRgLYhbhPyL1jZvvixaBgoq2adsJZ7qpAKH"]},"src/mv2/interfaces/IFunding.sol":{"keccak256":"0x37539ea3fadb7eb519a8bd747c802a0fecda186c6ee13694bcd1732a558dcdbb","license":"MIT","urls":["bzz-raw://c6f3e6b27bd387ac25aca537e18529f7c001253ba9ce4599ce950fdde5a33bfe","dweb:/ipfs/QmPZjTwmmN6pnhgMCEVzi69UWgNs5jLoER4eXZsmv4tKx6"]},"src/mv2/interfaces/IOracle.sol":{"keccak256":"0x0c016ba1f83655714ef2cbc7324894f26adf3793a0d1d3584872a9825308a2fc","license":"MIT","urls":["bzz-raw://d61b32be003e8078a4803efd87d0b1888dc37be2c720f69c56d63b11fd25e5d1","dweb:/ipfs/QmcJr97stMLu85EvKCUDS8UuvaCSVnh8NbNZboTct9HLN2"]},"src/mv2/interfaces/ISwapper.sol":{"keccak256":"0x0633269d05c449ed42390fd5a6ba5a68c0460ce18a2d05104935ec0566b14bf7","license":"MIT","urls":["bzz-raw://72ea32cddd4dc61957754e211a94fb60cfed4c439239df22fe5d166657e2122d","dweb:/ipfs/QmZfSGxB4zwBkghSeUcvvgyvsvkxx1Bx7W5pCzoASkc8Yg"]},"src/mv2/libraries/ErrorsLib.sol":{"keccak256":"0x00377941428eaffde24560b3a881ac624b8b59cea3dbed76ae5aebaa39e997c6","license":"MIT","urls":["bzz-raw://2e8a26985b543333dcd4ed95982e730114780e290a0ff1c2977b16d7167c8694","dweb:/ipfs/QmUrmntQZgYgPsDoxJRPXkazGrAGJmkXVziXg4Vb58fdCW"]}},"version":1},"storageLayout":{"types":{"t_bool":{"label":"bool","encoding":"inplace","numberOfBytes":"1"},"t_address":{"label":"address","encoding":"inplace","numberOfBytes":"20"},"t_bytes32":{"label":"bytes32","encoding":"inplace","numberOfBytes":"32"},"t_mapping(t_address,t_bool)":{"key":"t_address","label":"mapping(address => bool)","value":"t_bool","encoding":"mapping","numberOfBytes":"32"},"t_struct(RoleData)427_storage":{"label":"struct AccessControl.RoleData","members":[{"slot":"0","type":"t_mapping(t_address,t_bool)","astId":424,"label":"hasRole","offset":0,"contract":"src/mv2/VaultV2Allocator.sol:VaultV2Allocator"},{"slot":"1","type":"t_bytes32","astId":426,"label":"adminRole","offset":0,"contract":"src/mv2/VaultV2Allocator.sol:VaultV2Allocator"}],"encoding":"inplace","numberOfBytes":"64"},"t_mapping(t_bytes32,t_struct(RoleData)427_storage)":{"key":"t_bytes32","label":"mapping(bytes32 => struct AccessControl.RoleData)","value":"t_struct(RoleData)427_storage","encoding":"mapping","numberOfBytes":"32"}},"storage":[{"slot":"0","type":"t_mapping(t_bytes32,t_struct(RoleData)427_storage)","astId":432,"label":"_roles","offset":0,"contract":"src/mv2/VaultV2Allocator.sol:VaultV2Allocator"}]},"transientStorageLayout":{"types":{"t_address":{"label":"address","encoding":"inplace","numberOfBytes":"20"},"t_uint256":{"label":"uint256","encoding":"inplace","numberOfBytes":"32"}},"storage":[{"slot":"0","type":"t_address","astId":3301,"label":"_morpho","offset":0,"contract":"src/mv2/VaultV2Allocator.sol:VaultV2Allocator"},{"slot":"1","type":"t_address","astId":3304,"label":"_box","offset":0,"contract":"src/mv2/VaultV2Allocator.sol:VaultV2Allocator"},{"slot":"2","type":"t_uint256","astId":3307,"label":"_expected","offset":0,"contract":"src/mv2/VaultV2Allocator.sol:VaultV2Allocator"},{"slot":"3","type":"t_uint256","astId":3310,"label":"_received","offset":0,"contract":"src/mv2/VaultV2Allocator.sol:VaultV2Allocator"},{"slot":"4","type":"t_uint256","astId":3313,"label":"_slippageBefore","offset":0,"contract":"src/mv2/VaultV2Allocator.sol:VaultV2Allocator"},{"slot":"5","type":"t_uint256","astId":3316,"label":"_slippageAfter","offset":0,"contract":"src/mv2/VaultV2Allocator.sol:VaultV2Allocator"}]},"userdoc":{"kind":"user","notice":"Helper contract for VaultV2 and Box allocations with flash loan support","methods":{"OPERATOR_ROLE()":{"notice":"Role for operators allowed to perform restricted actions."},"initialize(address)":{"notice":"Initializes the contract, setting up access control and UUPS upgradeability."},"setOperatorRole(address,bool)":{"notice":"Grants or revokes the OPERATOR_ROLE."},"onMorphoFlashLoan(uint256,bytes)":{"notice":"Morpho flash loan callback."},"onBoxFlash(address,uint256,bytes)":{"notice":"Box flash callback."},"skimmableBalance(address,address)":{"notice":"Returns how much of a token can currently be skimmed from an adapter."},"allocateVault(address,address,uint256)":{"notice":"Allocates funds from a VaultV2 to an adapter."},"deallocateVault(address,address,uint256)":{"notice":"Deallocates funds from a VaultV2 adapter."},"repayBox(address,address,bytes,address,uint256)":{"notice":"Repays debt to a funding module via the Box."},"borrowBox(address,address,bytes,address,uint256)":{"notice":"Borrows from a funding module via the Box."},"pledgeBox(address,address,bytes,address,uint256)":{"notice":"Pledges collateral to a funding module via the Box."},"depledgeBox(address,address,bytes,address,uint256)":{"notice":"Depledges collateral from a funding module via the Box."},"deallocateVaultWithData(address,address,bytes,uint256)":{"notice":"Deallocates funds from a VaultV2 adapter using explicit adapter data."},"allocateBox(address,address,uint256,address,bytes,uint256)":{"notice":"Allocates base asset to a token in the Box."},"deallocateBox(address,address,uint256,address,bytes,uint256)":{"notice":"Deallocates a token back to base asset in the Box."},"reallocateVault(address,address,bytes,address,bytes,uint256)":{"notice":"Reallocates funds between two VaultV2 adapters using explicit adapter data."},"reinvestSkimAdapter(address,address,address,address,bytes,uint256)":{"notice":"Skims a token from an adapter, swaps it to the vault asset, and donates the proceeds to the vault."},"reallocateBox(address,address,address,uint256,address,bytes,uint256)":{"notice":"Reallocates from one token to another in the Box."},"allocateToken(address,address,address,address,uint256,address,bytes,uint256)":{"notice":"Allocates from VaultV2 through Box to a token."},"leverage(address,address,address,bytes,address,bytes,address,address,uint256)":{"notice":"Leverages a position using a Morpho flash loan."},"deallocateToken(address,address,address,address,uint256,address,bytes,uint256)":{"notice":"Deallocates a token from Box back to VaultV2."},"refinance(address,address,address,bytes,address,bytes,address,uint256,address,uint256)":{"notice":"Refinances a position to a new facility (same collateral and loan)."},"deleverage(address,address,address,bytes,address,bytes,address,uint256,address,uint256)":{"notice":"Deleverages a position using a Morpho flash loan."},"refinanceSwapCollateral(address,address,address,bytes,address,bytes,address,uint256,address,address,uint256,address,bytes)":{"notice":"Refinances to a new facility while swapping collateral to a new type."},"refinanceSwapLoan(address,address,address,bytes,address,bytes,address,uint256,address,uint256,address,uint256,address,bytes)":{"notice":"Refinances to a new facility while swapping the loan asset."}},"version":1},"devdoc":{"kind":"dev","title":"VaultV2Allocator","errors":{"FailedInnerCall()":[{"details":"A call to an address target failed. The target may have reverted."}],"NotInitializing()":[{"details":"The contract is not initializing."}],"ERC1967NonPayable()":[{"details":"An upgrade function sees `msg.value > 0` that may be lost."}],"InvalidInitialization()":[{"details":"The contract is already initialized."}],"AddressEmptyCode(address)":[{"details":"There's no code at `target` (it is not a contract)."}],"UUPSUnauthorizedCallContext()":[{"details":"The call is from an unauthorized context."}],"AccessControlBadConfirmation()":[{"details":"The caller of a function is not the expected one. NOTE: Don't confuse with {AccessControlUnauthorizedAccount}."}],"SafeERC20FailedOperation(address)":[{"details":"An operation with an ERC20 token failed."}],"AddressInsufficientBalance(address)":[{"details":"The ETH balance of the account is not enough to perform the operation."}],"ERC1967InvalidImplementation(address)":[{"details":"The `implementation` of the proxy is invalid."}],"UUPSUnsupportedProxiableUUID(bytes32)":[{"details":"The storage `slot` is unsupported as a UUID."}],"AccessControlUnauthorizedAccount(address,bytes32)":[{"details":"The `account` is missing a role."}]},"events":{"Upgraded(address)":{"details":"Emitted when the implementation is upgraded."},"Initialized(uint64)":{"details":"Triggered when the contract has been initialized or reinitialized."},"RoleGranted(bytes32,address,address)":{"details":"Emitted when `account` is granted `role`. `sender` is the account that originated the contract call, an admin role bearer except when using {AccessControl-_setupRole}."},"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`)"},"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."}},"details":"Upgradeable via UUPS pattern. Operators can perform complex allocation operations      including leverage, deleverage, and refinancing with optional collateral/loan swaps.","methods":{"constructor":{"custom:oz-upgrades-unsafe-allow":"constructor"},"proxiableUUID()":{"details":"Implementation of the ERC1822 {proxiableUUID} function. This returns the storage slot used by the implementation. It is used to validate the implementation's compatibility when performing an upgrade. IMPORTANT: A proxy pointing at a proxiable contract should not be considered proxiable itself, because this risks bricking a proxy that upgrades to it, by delegating to itself until out of gas. Thus it is critical that this function revert if invoked through a proxy. This is guaranteed by the `notDelegated` modifier."},"initialize(address)":{"params":{"initialAdmin":"The address to grant initial admin and operator roles."}},"getRoleAdmin(bytes32)":{"details":"Returns the admin role that controls `role`. See {grantRole} and {revokeRole}. To change a role's admin, use {_setRoleAdmin}."},"hasRole(bytes32,address)":{"details":"Returns `true` if `account` has been granted `role`."},"supportsInterface(bytes4)":{"details":"See {IERC165-supportsInterface}."},"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."},"revokeRole(bytes32,address)":{"details":"Revokes `role` from `account`. If `account` had been granted `role`, emits a {RoleRevoked} event. Requirements: - the caller must have ``role``'s admin role. May emit a {RoleRevoked} event."},"renounceRole(bytes32,address)":{"details":"Revokes `role` from the calling account. Roles are often managed via {grantRole} and {revokeRole}: this function's purpose is to provide a mechanism for accounts to lose their privileges if they are compromised (such as when a trusted device is misplaced). If the calling account had been revoked `role`, emits a {RoleRevoked} event. Requirements: - the caller must be `callerConfirmation`. May emit a {RoleRevoked} event."},"setOperatorRole(address,bool)":{"params":{"grant":"True to grant the role, false to revoke it.","operator":"The address to grant or revoke the role from."},"details":"Only callable by DEFAULT_ADMIN_ROLE."},"upgradeToAndCall(address,bytes)":{"details":"Upgrade the implementation of the proxy to `newImplementation`, and subsequently execute the function call encoded in `data`. Calls {_authorizeUpgrade}. Emits an {Upgraded} event.","custom:oz-upgrades-unsafe-allow-reachable":"delegatecall"},"onMorphoFlashLoan(uint256,bytes)":{"details":"Called by Morpho after flash loan funds are transferred."},"onBoxFlash(address,uint256,bytes)":{"details":"Called by Box after flash funds are transferred. Executes the actual operation logic."},"skimmableBalance(address,address)":{"params":{"token":"The token to inspect.","adapter":"The adapter to inspect."},"returns":{"amount":"The current balance of `token` held by `adapter`."}},"allocateVault(address,address,uint256)":{"params":{"vault":"The VaultV2 to allocate from.","amount":"The amount to allocate.","adapter":"The adapter to allocate to."}},"deallocateVault(address,address,uint256)":{"params":{"vault":"The VaultV2 to deallocate from.","amount":"The amount to deallocate.","adapter":"The adapter to deallocate from."}},"deallocateVaultWithData(address,address,bytes,uint256)":{"params":{"data":"The adapter-specific data for the deallocation.","vault":"The VaultV2 to deallocate from.","amount":"The amount to deallocate.","adapter":"The adapter to deallocate from."}},"allocateBox(address,address,uint256,address,bytes,uint256)":{"params":{"box":"The Box to allocate in.","amount":"The amount of base asset to allocate.","swapper":"The swapper contract to use.","toToken":"The token to allocate to.","swapData":"The swap data for the swapper.","minExpected":"The minimum expected amount of tokens to receive."},"returns":{"result":"The swap result with expected, received, and slippage tracking."}},"deallocateBox(address,address,uint256,address,bytes,uint256)":{"params":{"box":"The Box to deallocate from.","amount":"The amount of tokens to deallocate.","swapper":"The swapper contract to use.","swapData":"The swap data for the swapper.","fromToken":"The token to deallocate.","minExpected":"The minimum expected amount of base asset to receive."},"returns":{"result":"The swap result with expected, received, and slippage tracking."}},"reallocateVault(address,address,bytes,address,bytes,uint256)":{"params":{"vault":"The VaultV2 to rebalance within.","amount":"The amount to move.","toData":"The adapter-specific data for the destination allocation.","fromData":"The adapter-specific data for the source deallocation.","toAdapter":"The adapter to allocate to.","fromAdapter":"The adapter to deallocate from."}},"reinvestSkimAdapter(address,address,address,address,bytes,uint256)":{"params":{"vault":"The VaultV2 receiving the donated assets.","adapter":"The adapter to skim from.","swapper":"The swapper to convert skimToken to the vault asset.","swapData":"The swap data for the swapper.","skimToken":"The token to skim and optionally swap.","minExpected":"The minimum expected amount of vault assets to donate."},"returns":{"result":"The swap result with expected, received, and slippage tracking."}},"reallocateBox(address,address,address,uint256,address,bytes,uint256)":{"params":{"box":"The Box to reallocate in.","amount":"The amount of fromToken to reallocate.","swapper":"The swapper contract to use.","toToken":"The token to reallocate to.","swapData":"The swap data for the swapper.","fromToken":"The token to reallocate from.","minExpected":"The minimum expected amount of toToken to receive."},"returns":{"result":"The swap result with expected, received, and slippage tracking."}},"allocateToken(address,address,address,address,uint256,address,bytes,uint256)":{"details":"Handles liquidity sourcing from both Box and Vault."},"leverage(address,address,address,bytes,address,bytes,address,address,uint256)":{"params":{"box":"The Box to perform operations on.","morpho":"The Morpho protocol address for flash loans.","swapper":"The swapper for loan-to-collateral conversion.","swapData":"The swap data for the swapper.","loanToken":"The loan token to flash loan and borrow.","loanAmount":"The amount to flash loan/borrow.","facilityData":"The facility data for the funding module.","fundingModule":"The funding module to use.","collateralToken":"The collateral token to acquire."},"details":"Flow: Flash loan -> Swap loan to collateral -> Pledge collateral -> Borrow to repay flash loan","returns":{"result":"The swap result with expected, received, and slippage tracking."}},"refinance(address,address,address,bytes,address,bytes,address,uint256,address,uint256)":{"params":{"box":"The Box to perform operations on.","morpho":"The Morpho protocol address for flash loans.","loanToken":"The loan token.","loanAmount":"The amount of debt (type(uint256).max for all).","toFacilityData":"The facility data for the destination.","collateralToken":"The collateral token.","toFundingModule":"The funding module to refinance to.","collateralAmount":"The amount of collateral (type(uint256).max for all).","fromFacilityData":"The facility data for the source.","fromFundingModule":"The funding module to refinance from."},"details":"Flow: Flash loan -> Repay old debt -> Depledge -> Pledge to new -> Borrow from new to repay flash"},"deleverage(address,address,address,bytes,address,bytes,address,uint256,address,uint256)":{"params":{"box":"The Box to perform operations on.","morpho":"The Morpho protocol address for flash loans.","swapper":"The swapper for collateral-to-loan conversion.","swapData":"The swap data for the swapper.","loanToken":"The loan token to repay.","loanAmount":"The amount of debt to repay (type(uint256).max for all).","facilityData":"The facility data for the funding module.","fundingModule":"The funding module to use.","collateralToken":"The collateral token to withdraw.","collateralAmount":"The amount of collateral to withdraw (type(uint256).max for all)."},"details":"Flow: Flash loan -> Repay debt -> Depledge collateral -> Swap collateral to loan to repay flash","returns":{"result":"The swap result with expected, received, and slippage tracking."}},"refinanceSwapCollateral(address,address,address,bytes,address,bytes,address,uint256,address,address,uint256,address,bytes)":{"params":{"box":"The Box to perform operations on.","morpho":"The Morpho protocol address for flash loans.","swapper":"The swapper for collateral conversion.","swapData":"The swap data for the swapper.","loanToken":"The loan token (same for both facilities).","loanAmount":"The amount of debt (type(uint256).max for all).","toFacilityData":"The facility data for the destination.","toFundingModule":"The funding module to refinance to.","fromFacilityData":"The facility data for the source.","fromFundingModule":"The funding module to refinance from.","toCollateralToken":"The new collateral token.","fromCollateralToken":"The original collateral token.","fromCollateralAmount":"The amount of original collateral (type(uint256).max for all)."},"details":"Flow: Flash loan -> Repay old debt -> Depledge old collateral -> Swap to new collateral            -> Pledge new collateral to new facility -> Borrow to repay flash loan","returns":{"_0":"result The swap result with expected, received, and slippage tracking."}},"refinanceSwapLoan(address,address,address,bytes,address,bytes,address,uint256,address,uint256,address,uint256,address,bytes)":{"params":{"box":"The Box to perform operations on.","morpho":"The Morpho protocol address for flash loans.","swapper":"The swapper for loan token conversion.","swapData":"The swap data for the swapper.","toLoanToken":"The new loan token.","toLoanAmount":"The amount of new loan token to flash loan.","fromLoanToken":"The original loan token.","fromLoanAmount":"The amount of original debt (type(uint256).max for all).","toFacilityData":"The facility data for the destination.","collateralToken":"The collateral token (same for both facilities).","toFundingModule":"The funding module to refinance to.","collateralAmount":"The amount of collateral (type(uint256).max for all).","fromFacilityData":"The facility data for the source.","fromFundingModule":"The funding module to refinance from."},"details":"Flow: Flash loan new loan token -> Swap to old loan token -> Repay old debt            -> Depledge collateral -> Pledge collateral to new facility            -> Borrow new loan token to repay flash loan","returns":{"_0":"result The swap result with expected, received, and slippage tracking."}}},"version":1,"stateVariables":{"_box":{"details":"Box address for flash callback validation"},"_morpho":{"details":"Morpho address for flash loan callback validation"},"_expected":{"details":"Expected amount from last swap"},"_received":{"details":"Received amount from last swap"},"_slippageAfter":{"details":"Accumulated slippage after operation"},"_slippageBefore":{"details":"Accumulated slippage before operation"}}},"sourceIds":{"src/mv2/interfaces/IBox.sol":{"id":23},"src/mv2/VaultV2Allocator.sol":{"id":22},"src/mv2/interfaces/IOracle.sol":{"id":25},"src/mv2/interfaces/IFunding.sol":{"id":24},"src/mv2/interfaces/ISwapper.sol":{"id":26},"src/mv2/libraries/ErrorsLib.sol":{"id":27},"lib/vault-v2/src/interfaces/IERC20.sol":{"id":18},"lib/vault-v2/src/interfaces/IERC2612.sol":{"id":19},"lib/vault-v2/src/interfaces/IERC4626.sol":{"id":20},"lib/vault-v2/src/interfaces/IVaultV2.sol":{"id":21},"lib/morpho-blue/src/interfaces/IMorpho.sol":{"id":0},"lib/openzeppelin-contracts/contracts/utils/Address.sol":{"id":13},"lib/openzeppelin-contracts/contracts/utils/Context.sol":{"id":14},"lib/openzeppelin-contracts/contracts/utils/StorageSlot.sol":{"id":15},"lib/openzeppelin-contracts/contracts/token/ERC20/IERC20.sol":{"id":9},"lib/openzeppelin-contracts/contracts/interfaces/IERC4626.sol":{"id":3},"lib/openzeppelin-contracts/contracts/access/AccessControl.sol":{"id":1},"lib/openzeppelin-contracts/contracts/proxy/beacon/IBeacon.sol":{"id":6},"lib/openzeppelin-contracts/contracts/access/IAccessControl.sol":{"id":2},"lib/openzeppelin-contracts/contracts/interfaces/draft-IERC1822.sol":{"id":4},"lib/openzeppelin-contracts/contracts/proxy/utils/Initializable.sol":{"id":7},"lib/openzeppelin-contracts/contracts/proxy/ERC1967/ERC1967Utils.sol":{"id":5},"lib/openzeppelin-contracts/contracts/utils/introspection/ERC165.sol":{"id":16},"lib/openzeppelin-contracts/contracts/proxy/utils/UUPSUpgradeable.sol":{"id":8},"lib/openzeppelin-contracts/contracts/token/ERC20/utils/SafeERC20.sol":{"id":12},"lib/openzeppelin-contracts/contracts/utils/introspection/IERC165.sol":{"id":17},"lib/openzeppelin-contracts/contracts/token/ERC20/extensions/IERC20Permit.sol":{"id":11},"lib/openzeppelin-contracts/contracts/token/ERC20/extensions/IERC20Metadata.sol":{"id":10}},"additionalInput":null,"stdJsonInput":{"sources":{"src/mv2/interfaces/IBox.sol":{"content":"// SPDX-License-Identifier: MIT\n// Copyright (c) 2025 Steakhouse\npragma solidity >=0.8.0;\n\nimport {IERC4626} from \"@openzeppelin/contracts/interfaces/IERC4626.sol\";\nimport {IERC20} from \"@openzeppelin/contracts/token/ERC20/IERC20.sol\";\nimport {IFunding, IOracleCallback} from \"./IFunding.sol\";\nimport {IOracle} from \"./IOracle.sol\";\nimport {ISwapper} from \"./ISwapper.sol\";\n\n/// @notice Callback interface for Box flash loans\ninterface IBoxFlashCallback {\n    function onBoxFlash(IERC20 token, uint256 amount, bytes calldata data) external;\n}\n\ninterface IBox is IERC4626, IOracleCallback {\n    /* FUNCTIONS */\n\n    // ========== STATE FUNCTIONS ==========\n    function asset() external view override(IERC4626, IOracleCallback) returns (address);\n    function slippageEpochDuration() external view returns (uint256);\n    function shutdownSlippageDuration() external view returns (uint256);\n    function shutdownWarmup() external view returns (uint256);\n    function owner() external view returns (address);\n    function curator() external view returns (address);\n    function guardian() external view returns (address);\n    function shutdownTime() external view returns (uint256);\n    function skimRecipient() external view returns (address);\n    function isAllocator(address account) external view returns (bool);\n    function isFeeder(address account) external view returns (bool);\n    function tokens(uint256 index) external view returns (IERC20);\n    function oracles(IERC20 token) external view returns (IOracle);\n    function maxSlippage() external view returns (uint256);\n    function accumulatedSlippage() external view returns (uint256);\n    function slippageEpochStart() external view returns (uint256);\n    function executableAt(bytes calldata data) external view returns (uint256);\n\n    // ========== INVESTMENT MANAGEMENT ==========\n    function skim(IERC20 token) external;\n    function skimFunding(IFunding fundingModule, IERC20 token) external;\n    function allocate(\n        IERC20 token,\n        uint256 assetsAmount,\n        ISwapper swapper,\n        bytes calldata data\n    ) external returns (uint256 expected, uint256 received);\n    function deallocate(\n        IERC20 token,\n        uint256 tokensAmount,\n        ISwapper swapper,\n        bytes calldata data\n    ) external returns (uint256 expected, uint256 received);\n    function reallocate(\n        IERC20 from,\n        IERC20 to,\n        uint256 tokensAmount,\n        ISwapper swapper,\n        bytes calldata data\n    ) external returns (uint256 expected, uint256 received);\n\n    // ========== SIMPLE FUNDING OPERATIONS ==========\n    function pledge(IFunding fundingModule, bytes calldata facilityData, IERC20 collateralToken, uint256 collateralAmount) external;\n    function depledge(IFunding fundingModule, bytes calldata facilityData, IERC20 collateralToken, uint256 collateralAmount) external;\n    function borrow(IFunding fundingModule, bytes calldata facilityData, IERC20 debtToken, uint256 borrowAmount) external;\n    function repay(IFunding fundingModule, bytes calldata facilityData, IERC20 debtToken, uint256 repayAmount) external;\n\n    // ========== COMPLEX FUNDING OPERATIONS WITH FLASHLOAN AND SWAPPER ==========\n    function flash(IERC20 flashToken, uint256 flashAmount, bytes calldata data) external;\n\n    // ========== BATCHING ==========\n    function multicall(bytes[] calldata data) external;\n\n    // ========== EMERGENCY ==========\n    function shutdown() external;\n    function recover() external;\n\n    // ========== ADMIN FUNCTIONS ==========\n    function setSkimRecipient(address newSkimRecipient) external;\n    function transferOwnership(address newOwner) external;\n    function setCurator(address newCurator) external;\n    function setGuardian(address newGuardian) external;\n    function setIsAllocator(address account, bool newIsAllocator) external;\n\n    // ========== TIMELOCK GOVERNANCE ==========\n    function submit(bytes calldata data) external;\n    function timelock(bytes4 selector) external view returns (uint256);\n    function revoke(bytes calldata data) external;\n    function increaseTimelock(bytes4 selector, uint256 newDuration) external;\n    function decreaseTimelock(bytes4 selector, uint256 newDuration) external;\n    function abdicateTimelock(bytes4 selector) external;\n\n    // ========== TIMELOCKED FUNCTIONS ==========\n    function setIsFeeder(address account, bool newIsFeeder) external;\n    function setMaxSlippage(uint256 newMaxSlippage) external;\n    function addToken(IERC20 token, IOracle oracle) external;\n    function removeToken(IERC20 token) external;\n    function changeTokenOracle(IERC20 token, IOracle oracle) external;\n\n    // ========== VIEW FUNCTIONS ==========\n    function isToken(IERC20 token) external view returns (bool);\n    function isTokenOrAsset(IERC20 token) external view returns (bool);\n    function tokensLength() external view returns (uint256);\n    function isShutdown() external view returns (bool);\n    function isWinddown() external view returns (bool);\n\n    // ========== FUNDING ADMIN FUNCTIONS ==========\n    function addFunding(IFunding fundingModule) external;\n    function addFundingFacility(IFunding fundingModule, bytes calldata facilityData) external;\n    function addFundingCollateral(IFunding fundingModule, IERC20 collateralToken) external;\n    function addFundingDebt(IFunding fundingModule, IERC20 debtToken) external;\n    function removeFunding(IFunding fundingModule) external;\n    function removeFundingFacility(IFunding fundingModule, bytes calldata facilityData) external;\n    function removeFundingCollateral(IFunding fundingModule, IERC20 collateralToken) external;\n    function removeFundingDebt(IFunding fundingModule, IERC20 debtToken) external;\n\n    // ========== FUNDING VIEW FUNCTIONS ==========\n    function fundings(uint256 index) external view returns (IFunding);\n    function fundingsLength() external view returns (uint256);\n    function isFunding(IFunding fundingModule) external view returns (bool);\n}\n"},"src/mv2/VaultV2Allocator.sol":{"content":"// SPDX-License-Identifier: GPL-2.0-or-later\n// Copyright (c) 2025 Steakhouse Financial\npragma solidity 0.8.28;\n\nimport {IMorpho} from \"morpho-blue/interfaces/IMorpho.sol\";\nimport {AccessControl} from \"@openzeppelin/contracts/access/AccessControl.sol\";\nimport {Initializable} from \"@openzeppelin/contracts/proxy/utils/Initializable.sol\";\nimport {UUPSUpgradeable} from \"@openzeppelin/contracts/proxy/utils/UUPSUpgradeable.sol\";\nimport {IERC20} from \"@openzeppelin/contracts/token/ERC20/IERC20.sol\";\nimport {SafeERC20} from \"@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol\";\nimport {IVaultV2} from \"vault-v2/interfaces/IVaultV2.sol\";\nimport {IBox} from \"./interfaces/IBox.sol\";\nimport {IFunding} from \"./interfaces/IFunding.sol\";\nimport {ISwapper} from \"./interfaces/ISwapper.sol\";\nimport {ErrorsLib} from \"./libraries/ErrorsLib.sol\";\n\n/// @notice Callback interface for Morpho flash loans\ninterface IMorphoFlashLoanCallback {\n    function onMorphoFlashLoan(uint256 assets, bytes calldata data) external;\n}\n\n/// @notice Callback interface for Box flash loans\ninterface IBoxFlashCallback {\n    function onBoxFlash(IERC20 token, uint256 amount, bytes calldata data) external;\n}\n\n/// @notice Interface for skimmable adapters\ninterface ISkimmableAdapter {\n    function skim(address token) external;\n}\n\n/// @notice Result struct for swap operations with slippage tracking\nstruct SwapResult {\n    uint256 expected;\n    uint256 received;\n    uint256 slippageBefore;\n    uint256 slippageAfter;\n}\n\n/**\n * @title VaultV2Allocator\n * @notice Helper contract for VaultV2 and Box allocations with flash loan support\n * @dev Upgradeable via UUPS pattern. Operators can perform complex allocation operations\n *      including leverage, deleverage, and refinancing with optional collateral/loan swaps.\n */\ncontract VaultV2Allocator is Initializable, UUPSUpgradeable, AccessControl, IMorphoFlashLoanCallback, IBoxFlashCallback {\n    using SafeERC20 for IERC20;\n\n    // =========================================================================\n    //                              Constants\n    // =========================================================================\n\n    /// @notice Role for operators allowed to perform restricted actions.\n    bytes32 public constant OPERATOR_ROLE = keccak256(\"OPERATOR_ROLE\");\n\n    // =========================================================================\n    //                           Transient Storage\n    // =========================================================================\n\n    /// @dev Morpho address for flash loan callback validation\n    address internal transient _morpho;\n\n    /// @dev Box address for flash callback validation\n    address internal transient _box;\n\n    /// @dev Expected amount from last swap\n    uint256 internal transient _expected;\n\n    /// @dev Received amount from last swap\n    uint256 internal transient _received;\n\n    /// @dev Accumulated slippage before operation\n    uint256 internal transient _slippageBefore;\n\n    /// @dev Accumulated slippage after operation\n    uint256 internal transient _slippageAfter;\n\n    // =========================================================================\n    //                              Constructor\n    // =========================================================================\n\n    /// @custom:oz-upgrades-unsafe-allow constructor\n    constructor() {\n        _disableInitializers();\n    }\n\n    // =========================================================================\n    //                              Initializer\n    // =========================================================================\n\n    /**\n     * @notice Initializes the contract, setting up access control and UUPS upgradeability.\n     * @param initialAdmin The address to grant initial admin and operator roles.\n     */\n    function initialize(address initialAdmin) public initializer {\n        _grantRole(DEFAULT_ADMIN_ROLE, initialAdmin);\n        _grantRole(OPERATOR_ROLE, initialAdmin);\n    }\n\n    // =========================================================================\n    //                              Modifiers\n    // =========================================================================\n\n    /**\n     * @notice Restricts execution to OPERATOR_ROLE or DEFAULT_ADMIN_ROLE.\n     */\n    modifier onlyOperator() {\n        _requireOperatorRole();\n        _;\n    }\n\n    modifier onlyAdmin() {\n        _requireAdminRole();\n        _;\n    }\n\n    function _requireOperatorRole() internal view {\n        address sender = _msgSender();\n        require(hasRole(OPERATOR_ROLE, sender) || hasRole(DEFAULT_ADMIN_ROLE, sender), \"VaultV2Allocator: Caller is not an operator\");\n    }\n\n    function _requireAdminRole() internal view {\n        require(hasRole(DEFAULT_ADMIN_ROLE, _msgSender()), \"VaultV2Allocator: Caller is not an admin\");\n    }\n\n    // =========================================================================\n    //                        Admin & Configuration\n    // =========================================================================\n\n    /**\n     * @notice Authorizes an upgrade to a new implementation.\n     * @dev Only callable by DEFAULT_ADMIN_ROLE. Part of OpenZeppelin UUPS pattern.\n     * @param newImplementation The address of the new implementation contract.\n     */\n    function _authorizeUpgrade(address newImplementation) internal override onlyAdmin {}\n\n    /**\n     * @notice Grants or revokes the OPERATOR_ROLE.\n     * @dev Only callable by DEFAULT_ADMIN_ROLE.\n     * @param operator The address to grant or revoke the role from.\n     * @param grant True to grant the role, false to revoke it.\n     */\n    function setOperatorRole(address operator, bool grant) external onlyAdmin {\n        if (grant) {\n            _grantRole(OPERATOR_ROLE, operator);\n        } else {\n            _revokeRole(OPERATOR_ROLE, operator);\n        }\n    }\n\n    // =========================================================================\n    //                        Simple Vault Operations\n    // =========================================================================\n\n    /**\n     * @notice Allocates funds from a VaultV2 to an adapter.\n     * @param vault The VaultV2 to allocate from.\n     * @param adapter The adapter to allocate to.\n     * @param amount The amount to allocate.\n     */\n    function allocateVault(IVaultV2 vault, address adapter, uint256 amount) external onlyOperator {\n        vault.allocate(adapter, \"\", amount);\n    }\n\n    /**\n     * @notice Deallocates funds from a VaultV2 adapter.\n     * @param vault The VaultV2 to deallocate from.\n     * @param adapter The adapter to deallocate from.\n     * @param amount The amount to deallocate.\n     */\n    function deallocateVault(IVaultV2 vault, address adapter, uint256 amount) external onlyOperator {\n        vault.deallocate(adapter, \"\", amount);\n    }\n\n    /**\n     * @notice Deallocates funds from a VaultV2 adapter using explicit adapter data.\n     * @param vault The VaultV2 to deallocate from.\n     * @param adapter The adapter to deallocate from.\n     * @param data The adapter-specific data for the deallocation.\n     * @param amount The amount to deallocate.\n     */\n    function deallocateVaultWithData(IVaultV2 vault, address adapter, bytes memory data, uint256 amount) external onlyOperator {\n        vault.deallocate(adapter, data, amount);\n    }\n\n    /**\n     * @notice Reallocates funds between two VaultV2 adapters using explicit adapter data.\n     * @param vault The VaultV2 to rebalance within.\n     * @param fromAdapter The adapter to deallocate from.\n     * @param fromData The adapter-specific data for the source deallocation.\n     * @param toAdapter The adapter to allocate to.\n     * @param toData The adapter-specific data for the destination allocation.\n     * @param amount The amount to move.\n     */\n    function reallocateVault(\n        IVaultV2 vault,\n        address fromAdapter,\n        bytes memory fromData,\n        address toAdapter,\n        bytes memory toData,\n        uint256 amount\n    ) external onlyOperator {\n        vault.deallocate(fromAdapter, fromData, amount);\n        vault.allocate(toAdapter, toData, amount);\n    }\n\n    /**\n     * @notice Returns how much of a token can currently be skimmed from an adapter.\n     * @param adapter The adapter to inspect.\n     * @param token The token to inspect.\n     * @return amount The current balance of `token` held by `adapter`.\n     */\n    function skimmableBalance(address adapter, IERC20 token) external view returns (uint256 amount) {\n        amount = token.balanceOf(adapter);\n    }\n\n    /**\n     * @notice Skims a token from an adapter, swaps it to the vault asset, and donates the proceeds to the vault.\n     * @param vault The VaultV2 receiving the donated assets.\n     * @param adapter The adapter to skim from.\n     * @param skimToken The token to skim and optionally swap.\n     * @param swapper The swapper to convert skimToken to the vault asset.\n     * @param swapData The swap data for the swapper.\n     * @param minExpected The minimum expected amount of vault assets to donate.\n     * @return result The swap result with expected, received, and slippage tracking.\n     */\n    function reinvestSkimAdapter(\n        IVaultV2 vault,\n        address adapter,\n        IERC20 skimToken,\n        ISwapper swapper,\n        bytes memory swapData,\n        uint256 minExpected\n    ) external onlyOperator returns (SwapResult memory result) {\n        IERC20 asset = IERC20(vault.asset());\n        uint256 skimTokenBalanceBefore = skimToken.balanceOf(address(this));\n        uint256 assetBalanceBefore = asset.balanceOf(address(this));\n\n        ISkimmableAdapter(adapter).skim(address(skimToken));\n\n        uint256 skimmed = skimToken.balanceOf(address(this)) - skimTokenBalanceBefore;\n        require(skimmed > 0, \"VaultV2Allocator.reinvestSkimAdapter: No tokens skimmed\");\n\n        if (address(skimToken) != address(asset)) {\n            skimToken.forceApprove(address(swapper), skimmed);\n            swapper.sell(skimToken, asset, skimmed, swapData);\n            skimToken.forceApprove(address(swapper), 0);\n        }\n\n        result.received = asset.balanceOf(address(this)) - assetBalanceBefore;\n        result.expected = result.received;\n\n        require(result.received >= minExpected, \"VaultV2Allocator.reinvestSkimAdapter: Received less than min expected\");\n\n        asset.safeTransfer(address(vault), result.received);\n    }\n\n    // =========================================================================\n    //                        Simple Box Operations\n    // =========================================================================\n\n    /**\n     * @notice Allocates base asset to a token in the Box.\n     * @param box The Box to allocate in.\n     * @param toToken The token to allocate to.\n     * @param amount The amount of base asset to allocate.\n     * @param swapper The swapper contract to use.\n     * @param swapData The swap data for the swapper.\n     * @param minExpected The minimum expected amount of tokens to receive.\n     * @return result The swap result with expected, received, and slippage tracking.\n     */\n    function allocateBox(\n        IBox box,\n        IERC20 toToken,\n        uint256 amount,\n        ISwapper swapper,\n        bytes memory swapData,\n        uint256 minExpected\n    ) external onlyOperator returns (SwapResult memory result) {\n        result.slippageBefore = box.accumulatedSlippage();\n\n        (result.expected, result.received) = box.allocate(toToken, amount, swapper, swapData);\n\n        result.slippageAfter = box.accumulatedSlippage();\n\n        require(result.received >= minExpected, \"VaultV2Allocator.allocateBox: Received less than min expected\");\n    }\n\n    /**\n     * @notice Deallocates a token back to base asset in the Box.\n     * @param box The Box to deallocate from.\n     * @param fromToken The token to deallocate.\n     * @param amount The amount of tokens to deallocate.\n     * @param swapper The swapper contract to use.\n     * @param swapData The swap data for the swapper.\n     * @param minExpected The minimum expected amount of base asset to receive.\n     * @return result The swap result with expected, received, and slippage tracking.\n     */\n    function deallocateBox(\n        IBox box,\n        IERC20 fromToken,\n        uint256 amount,\n        ISwapper swapper,\n        bytes memory swapData,\n        uint256 minExpected\n    ) external onlyOperator returns (SwapResult memory result) {\n        result.slippageBefore = box.accumulatedSlippage();\n\n        (result.expected, result.received) = box.deallocate(fromToken, amount, swapper, swapData);\n\n        result.slippageAfter = box.accumulatedSlippage();\n\n        require(result.received >= minExpected, \"VaultV2Allocator.deallocateBox: Received less than min expected\");\n    }\n\n    /**\n     * @notice Reallocates from one token to another in the Box.\n     * @param box The Box to reallocate in.\n     * @param fromToken The token to reallocate from.\n     * @param toToken The token to reallocate to.\n     * @param amount The amount of fromToken to reallocate.\n     * @param swapper The swapper contract to use.\n     * @param swapData The swap data for the swapper.\n     * @param minExpected The minimum expected amount of toToken to receive.\n     * @return result The swap result with expected, received, and slippage tracking.\n     */\n    function reallocateBox(\n        IBox box,\n        IERC20 fromToken,\n        IERC20 toToken,\n        uint256 amount,\n        ISwapper swapper,\n        bytes memory swapData,\n        uint256 minExpected\n    ) external onlyOperator returns (SwapResult memory result) {\n        result.slippageBefore = box.accumulatedSlippage();\n\n        (result.expected, result.received) = box.reallocate(fromToken, toToken, amount, swapper, swapData);\n\n        result.slippageAfter = box.accumulatedSlippage();\n\n        require(result.received >= minExpected, \"VaultV2Allocator.reallocateBox: Received less than min expected\");\n    }\n\n    // =========================================================================\n    //                        Box Funding Operations\n    // =========================================================================\n\n    /**\n     * @notice Pledges collateral to a funding module via the Box.\n     */\n    function pledgeBox(\n        IBox box,\n        IFunding fundingModule,\n        bytes memory facilityData,\n        IERC20 collateralToken,\n        uint256 collateralAmount\n    ) external onlyOperator {\n        box.pledge(fundingModule, facilityData, collateralToken, collateralAmount);\n    }\n\n    /**\n     * @notice Depledges collateral from a funding module via the Box.\n     */\n    function depledgeBox(\n        IBox box,\n        IFunding fundingModule,\n        bytes memory facilityData,\n        IERC20 collateralToken,\n        uint256 collateralAmount\n    ) external onlyOperator {\n        box.depledge(fundingModule, facilityData, collateralToken, collateralAmount);\n    }\n\n    /**\n     * @notice Borrows from a funding module via the Box.\n     */\n    function borrowBox(\n        IBox box,\n        IFunding fundingModule,\n        bytes memory facilityData,\n        IERC20 borrowToken,\n        uint256 borrowAmount\n    ) external onlyOperator {\n        box.borrow(fundingModule, facilityData, borrowToken, borrowAmount);\n    }\n\n    /**\n     * @notice Repays debt to a funding module via the Box.\n     */\n    function repayBox(\n        IBox box,\n        IFunding fundingModule,\n        bytes memory facilityData,\n        IERC20 debtToken,\n        uint256 repayAmount\n    ) external onlyOperator {\n        box.repay(fundingModule, facilityData, debtToken, repayAmount);\n    }\n\n    // =========================================================================\n    //                    Combined Vault + Box Operations\n    // =========================================================================\n\n    /**\n     * @notice Allocates from VaultV2 through Box to a token.\n     * @dev Handles liquidity sourcing from both Box and Vault.\n     */\n    function allocateToken(\n        IVaultV2 vault,\n        address adapter,\n        IBox box,\n        IERC20 toToken,\n        uint256 amount,\n        ISwapper swapper,\n        bytes memory swapData,\n        uint256 minExpected\n    ) external onlyOperator returns (SwapResult memory result) {\n        IERC20 currency = IERC20(vault.asset());\n\n        uint256 boxLiquidity = currency.balanceOf(address(box));\n        uint256 vaultLiquidity = currency.balanceOf(address(vault));\n        uint256 neededFromVault = amount > boxLiquidity ? amount - boxLiquidity : 0;\n\n        if (neededFromVault > 0) {\n            uint256 availableLiquidity = boxLiquidity + vaultLiquidity;\n            uint256 missingLiquidity = amount > availableLiquidity ? amount - availableLiquidity : 0;\n\n            // If there's not enough liquidity in the box + vault, deallocate from the liquidity adapter\n            address liquidityAdapter = vault.liquidityAdapter();\n            if (missingLiquidity > 0 && liquidityAdapter != address(0)) {\n                vault.deallocate(liquidityAdapter, vault.liquidityData(), missingLiquidity);\n            }\n\n            vault.allocate(adapter, \"\", neededFromVault);\n        }\n\n        result.slippageBefore = box.accumulatedSlippage();\n\n        (result.expected, result.received) = box.allocate(toToken, amount, swapper, swapData);\n\n        result.slippageAfter = box.accumulatedSlippage();\n\n        require(result.received >= minExpected, \"VaultV2Allocator.allocateToken: Received less than min expected\");\n    }\n\n    /**\n     * @notice Deallocates a token from Box back to VaultV2.\n     */\n    function deallocateToken(\n        IVaultV2 vault,\n        address adapter,\n        IBox box,\n        IERC20 fromToken,\n        uint256 amount,\n        ISwapper swapper,\n        bytes memory swapData,\n        uint256 minExpected\n    ) external onlyOperator returns (SwapResult memory result) {\n        result.slippageBefore = box.accumulatedSlippage();\n\n        (result.expected, result.received) = box.deallocate(fromToken, amount, swapper, swapData);\n\n        result.slippageAfter = box.accumulatedSlippage();\n\n        require(result.received >= minExpected, \"VaultV2Allocator.deallocateToken: Received less than min expected\");\n\n        vault.deallocate(adapter, \"\", result.received);\n\n        address liquidityAdapter = vault.liquidityAdapter();\n        if (liquidityAdapter != address(0)) {\n            vault.allocate(liquidityAdapter, vault.liquidityData(), result.received);\n        }\n    }\n\n    // =========================================================================\n    //                     Flash Loan Operations (Leverage)\n    // =========================================================================\n\n    /**\n     * @notice Leverages a position using a Morpho flash loan.\n     * @dev Flow: Flash loan -> Swap loan to collateral -> Pledge collateral -> Borrow to repay flash loan\n     * @param morpho The Morpho protocol address for flash loans.\n     * @param box The Box to perform operations on.\n     * @param fundingModule The funding module to use.\n     * @param facilityData The facility data for the funding module.\n     * @param swapper The swapper for loan-to-collateral conversion.\n     * @param swapData The swap data for the swapper.\n     * @param collateralToken The collateral token to acquire.\n     * @param loanToken The loan token to flash loan and borrow.\n     * @param loanAmount The amount to flash loan/borrow.\n     * @return result The swap result with expected, received, and slippage tracking.\n     */\n    function leverage(\n        IMorpho morpho,\n        IBox box,\n        IFunding fundingModule,\n        bytes calldata facilityData,\n        ISwapper swapper,\n        bytes calldata swapData,\n        IERC20 collateralToken,\n        IERC20 loanToken,\n        uint256 loanAmount\n    ) external onlyOperator returns (SwapResult memory result) {\n        _morpho = address(morpho);\n        _box = address(box);\n        _slippageBefore = box.accumulatedSlippage();\n\n        morpho.flashLoan(\n            address(loanToken),\n            loanAmount,\n            abi.encode(\n                VaultV2Allocator.leverage.selector,\n                address(box),\n                fundingModule,\n                facilityData,\n                collateralToken,\n                loanToken,\n                loanAmount,\n                swapper,\n                swapData\n            )\n        );\n\n        result.expected = _expected;\n        result.received = _received;\n        result.slippageBefore = _slippageBefore;\n        result.slippageAfter = box.accumulatedSlippage();\n    }\n\n    /**\n     * @notice Deleverages a position using a Morpho flash loan.\n     * @dev Flow: Flash loan -> Repay debt -> Depledge collateral -> Swap collateral to loan to repay flash\n     * @param morpho The Morpho protocol address for flash loans.\n     * @param box The Box to perform operations on.\n     * @param fundingModule The funding module to use.\n     * @param facilityData The facility data for the funding module.\n     * @param swapper The swapper for collateral-to-loan conversion.\n     * @param swapData The swap data for the swapper.\n     * @param collateralToken The collateral token to withdraw.\n     * @param collateralAmount The amount of collateral to withdraw (type(uint256).max for all).\n     * @param loanToken The loan token to repay.\n     * @param loanAmount The amount of debt to repay (type(uint256).max for all).\n     * @return result The swap result with expected, received, and slippage tracking.\n     */\n    function deleverage(\n        IMorpho morpho,\n        IBox box,\n        IFunding fundingModule,\n        bytes calldata facilityData,\n        ISwapper swapper,\n        bytes calldata swapData,\n        IERC20 collateralToken,\n        uint256 collateralAmount,\n        IERC20 loanToken,\n        uint256 loanAmount\n    ) external onlyOperator returns (SwapResult memory result) {\n        _morpho = address(morpho);\n        _box = address(box);\n        _slippageBefore = box.accumulatedSlippage();\n\n        if (loanAmount == type(uint256).max) {\n            loanAmount = fundingModule.debtBalance(facilityData, loanToken);\n        }\n\n        morpho.flashLoan(\n            address(loanToken),\n            loanAmount,\n            abi.encode(\n                VaultV2Allocator.deleverage.selector,\n                address(box),\n                fundingModule,\n                facilityData,\n                collateralToken,\n                collateralAmount,\n                loanToken,\n                loanAmount,\n                swapper,\n                swapData\n            )\n        );\n\n        result.expected = _expected;\n        result.received = _received;\n        result.slippageBefore = _slippageBefore;\n        result.slippageAfter = box.accumulatedSlippage();\n    }\n\n    /**\n     * @notice Refinances a position to a new facility (same collateral and loan).\n     * @dev Flow: Flash loan -> Repay old debt -> Depledge -> Pledge to new -> Borrow from new to repay flash\n     * @param morpho The Morpho protocol address for flash loans.\n     * @param box The Box to perform operations on.\n     * @param fromFundingModule The funding module to refinance from.\n     * @param fromFacilityData The facility data for the source.\n     * @param toFundingModule The funding module to refinance to.\n     * @param toFacilityData The facility data for the destination.\n     * @param collateralToken The collateral token.\n     * @param collateralAmount The amount of collateral (type(uint256).max for all).\n     * @param loanToken The loan token.\n     * @param loanAmount The amount of debt (type(uint256).max for all).\n     */\n    function refinance(\n        IMorpho morpho,\n        IBox box,\n        IFunding fromFundingModule,\n        bytes calldata fromFacilityData,\n        IFunding toFundingModule,\n        bytes calldata toFacilityData,\n        IERC20 collateralToken,\n        uint256 collateralAmount,\n        IERC20 loanToken,\n        uint256 loanAmount\n    ) external onlyOperator {\n        _morpho = address(morpho);\n        _box = address(box);\n\n        if (loanAmount == type(uint256).max) {\n            loanAmount = fromFundingModule.debtBalance(fromFacilityData, loanToken);\n        }\n        if (collateralAmount == type(uint256).max) {\n            collateralAmount = fromFundingModule.collateralBalance(fromFacilityData, collateralToken);\n        }\n\n        morpho.flashLoan(\n            address(loanToken),\n            loanAmount,\n            abi.encode(\n                VaultV2Allocator.refinance.selector,\n                address(box),\n                fromFundingModule,\n                fromFacilityData,\n                toFundingModule,\n                toFacilityData,\n                collateralToken,\n                collateralAmount,\n                loanToken,\n                loanAmount\n            )\n        );\n    }\n\n    /**\n     * @notice Refinances to a new facility while swapping collateral to a new type.\n     * @dev Flow: Flash loan -> Repay old debt -> Depledge old collateral -> Swap to new collateral\n     *            -> Pledge new collateral to new facility -> Borrow to repay flash loan\n     * @param morpho The Morpho protocol address for flash loans.\n     * @param box The Box to perform operations on.\n     * @param fromFundingModule The funding module to refinance from.\n     * @param fromFacilityData The facility data for the source.\n     * @param toFundingModule The funding module to refinance to.\n     * @param toFacilityData The facility data for the destination.\n     * @param fromCollateralToken The original collateral token.\n     * @param fromCollateralAmount The amount of original collateral (type(uint256).max for all).\n     * @param toCollateralToken The new collateral token.\n     * @param loanToken The loan token (same for both facilities).\n     * @param loanAmount The amount of debt (type(uint256).max for all).\n     * @param swapper The swapper for collateral conversion.\n     * @param swapData The swap data for the swapper.\n     * @return result The swap result with expected, received, and slippage tracking.\n     */\n    function refinanceSwapCollateral(\n        IMorpho morpho,\n        IBox box,\n        IFunding fromFundingModule,\n        bytes memory fromFacilityData,\n        IFunding toFundingModule,\n        bytes memory toFacilityData,\n        IERC20 fromCollateralToken,\n        uint256 fromCollateralAmount,\n        IERC20 toCollateralToken,\n        IERC20 loanToken,\n        uint256 loanAmount,\n        ISwapper swapper,\n        bytes memory swapData\n    ) external onlyOperator returns (SwapResult memory) {\n        _morpho = address(morpho);\n        _box = address(box);\n        _slippageBefore = box.accumulatedSlippage();\n\n        if (loanAmount == type(uint256).max) {\n            loanAmount = fromFundingModule.debtBalance(fromFacilityData, loanToken);\n        }\n        if (fromCollateralAmount == type(uint256).max) {\n            fromCollateralAmount = fromFundingModule.collateralBalance(fromFacilityData, fromCollateralToken);\n        }\n\n        morpho.flashLoan(\n            address(loanToken),\n            loanAmount,\n            abi.encode(\n                VaultV2Allocator.refinanceSwapCollateral.selector,\n                address(box),\n                fromFundingModule,\n                fromFacilityData,\n                toFundingModule,\n                toFacilityData,\n                fromCollateralToken,\n                fromCollateralAmount,\n                toCollateralToken,\n                loanToken,\n                loanAmount,\n                swapper,\n                swapData\n            )\n        );\n\n        return SwapResult({\n            expected: _expected,\n            received: _received,\n            slippageBefore: _slippageBefore,\n            slippageAfter: box.accumulatedSlippage()\n        });\n    }\n\n    /**\n     * @notice Refinances to a new facility while swapping the loan asset.\n     * @dev Flow: Flash loan new loan token -> Swap to old loan token -> Repay old debt\n     *            -> Depledge collateral -> Pledge collateral to new facility\n     *            -> Borrow new loan token to repay flash loan\n     * @param morpho The Morpho protocol address for flash loans.\n     * @param box The Box to perform operations on.\n     * @param fromFundingModule The funding module to refinance from.\n     * @param fromFacilityData The facility data for the source.\n     * @param toFundingModule The funding module to refinance to.\n     * @param toFacilityData The facility data for the destination.\n     * @param collateralToken The collateral token (same for both facilities).\n     * @param collateralAmount The amount of collateral (type(uint256).max for all).\n     * @param fromLoanToken The original loan token.\n     * @param fromLoanAmount The amount of original debt (type(uint256).max for all).\n     * @param toLoanToken The new loan token.\n     * @param toLoanAmount The amount of new loan token to flash loan.\n     * @param swapper The swapper for loan token conversion.\n     * @param swapData The swap data for the swapper.\n     * @return result The swap result with expected, received, and slippage tracking.\n     */\n    function refinanceSwapLoan(\n        IMorpho morpho,\n        IBox box,\n        IFunding fromFundingModule,\n        bytes memory fromFacilityData,\n        IFunding toFundingModule,\n        bytes memory toFacilityData,\n        IERC20 collateralToken,\n        uint256 collateralAmount,\n        IERC20 fromLoanToken,\n        uint256 fromLoanAmount,\n        IERC20 toLoanToken,\n        uint256 toLoanAmount,\n        ISwapper swapper,\n        bytes memory swapData\n    ) external onlyOperator returns (SwapResult memory) {\n        _morpho = address(morpho);\n        _box = address(box);\n        _slippageBefore = box.accumulatedSlippage();\n\n        if (fromLoanAmount == type(uint256).max) {\n            fromLoanAmount = fromFundingModule.debtBalance(fromFacilityData, fromLoanToken);\n        }\n        if (collateralAmount == type(uint256).max) {\n            collateralAmount = fromFundingModule.collateralBalance(fromFacilityData, collateralToken);\n        }\n\n        morpho.flashLoan(\n            address(toLoanToken),\n            toLoanAmount,\n            abi.encode(\n                VaultV2Allocator.refinanceSwapLoan.selector,\n                address(box),\n                fromFundingModule,\n                fromFacilityData,\n                toFundingModule,\n                toFacilityData,\n                collateralToken,\n                collateralAmount,\n                fromLoanToken,\n                fromLoanAmount,\n                toLoanToken,\n                toLoanAmount,\n                swapper,\n                swapData\n            )\n        );\n\n        return SwapResult({\n            expected: _expected,\n            received: _received,\n            slippageBefore: _slippageBefore,\n            slippageAfter: box.accumulatedSlippage()\n        });\n    }\n\n    // =========================================================================\n    //                        Flash Loan Callbacks\n    // =========================================================================\n\n    /**\n     * @notice Morpho flash loan callback.\n     * @dev Called by Morpho after flash loan funds are transferred.\n     */\n    function onMorphoFlashLoan(uint256 assets, bytes calldata data) external override {\n        require(msg.sender == _morpho, ErrorsLib.OnlyMorpho());\n\n        bytes4 operation = abi.decode(data, (bytes4));\n\n        IBox box;\n        IERC20 loanToken;\n\n        if (operation == VaultV2Allocator.leverage.selector) {\n            (, box, , , , loanToken, , , ) = abi.decode(data, (bytes4, IBox, IFunding, bytes, IERC20, IERC20, uint256, ISwapper, bytes));\n        } else if (operation == VaultV2Allocator.deleverage.selector) {\n            (, box, , , , , loanToken, , , ) = abi.decode(\n                data,\n                (bytes4, IBox, IFunding, bytes, IERC20, uint256, IERC20, uint256, ISwapper, bytes)\n            );\n        } else if (operation == VaultV2Allocator.refinance.selector) {\n            (, box, , , , , , , loanToken, ) = abi.decode(\n                data,\n                (bytes4, IBox, IFunding, bytes, IFunding, bytes, IERC20, uint256, IERC20, uint256)\n            );\n        } else if (operation == VaultV2Allocator.refinanceSwapCollateral.selector) {\n            (, box, , , , , , , , loanToken, , , ) = abi.decode(\n                data,\n                (bytes4, IBox, IFunding, bytes, IFunding, bytes, IERC20, uint256, IERC20, IERC20, uint256, ISwapper, bytes)\n            );\n        } else if (operation == VaultV2Allocator.refinanceSwapLoan.selector) {\n            // For refinanceSwapLoan, we flash the NEW loan token (toLoanToken)\n            (, box, , , , , , , , , loanToken, , , ) = abi.decode(\n                data,\n                (bytes4, IBox, IFunding, bytes, IFunding, bytes, IERC20, uint256, IERC20, uint256, IERC20, uint256, ISwapper, bytes)\n            );\n        } else {\n            revert(\"VaultV2Allocator: Invalid operation\");\n        }\n\n        // Approve the box to pull the flash loan amount\n        loanToken.forceApprove(address(box), assets);\n\n        // Call box.flash which will call back to us via onBoxFlash\n        box.flash(loanToken, assets, data);\n\n        // Repay the flash loan to Morpho\n        loanToken.forceApprove(msg.sender, assets);\n    }\n\n    /**\n     * @notice Box flash callback.\n     * @dev Called by Box after flash funds are transferred. Executes the actual operation logic.\n     */\n    function onBoxFlash(IERC20, uint256, bytes calldata data) external override {\n        require(msg.sender == _box, ErrorsLib.OnlyBox());\n\n        bytes4 operation = abi.decode(data, (bytes4));\n        IBox box = IBox(msg.sender);\n\n        if (operation == VaultV2Allocator.leverage.selector) {\n            _handleLeverage(box, data);\n        } else if (operation == VaultV2Allocator.deleverage.selector) {\n            _handleDeleverage(box, data);\n        } else if (operation == VaultV2Allocator.refinance.selector) {\n            _handleRefinance(box, data);\n        } else if (operation == VaultV2Allocator.refinanceSwapCollateral.selector) {\n            _handleRefinanceSwapCollateral(box, data);\n        } else if (operation == VaultV2Allocator.refinanceSwapLoan.selector) {\n            _handleRefinanceSwapLoan(box, data);\n        } else {\n            revert(\"VaultV2Allocator: Invalid operation\");\n        }\n    }\n\n    // =========================================================================\n    //                     Internal Flash Loan Handlers\n    // =========================================================================\n\n    function _handleLeverage(IBox box, bytes calldata data) internal {\n        (\n            ,\n            ,\n            IFunding fundingModule,\n            bytes memory facilityData,\n            IERC20 collateralToken,\n            IERC20 loanToken,\n            uint256 loanAmount,\n            ISwapper swapper,\n            bytes memory swapData\n        ) = abi.decode(data, (bytes4, IBox, IFunding, bytes, IERC20, IERC20, uint256, ISwapper, bytes));\n\n        // Record collateral balance before swap\n        uint256 beforeCollateral = collateralToken.balanceOf(address(box));\n\n        // Swap loan tokens to collateral tokens\n        _swap(box, swapper, swapData, loanToken, collateralToken, loanAmount);\n\n        // Check how much collateral was received\n        uint256 afterCollateral = collateralToken.balanceOf(address(box));\n        uint256 collateralReceived = afterCollateral - beforeCollateral;\n\n        // Pledge collateral to funding module\n        box.pledge(fundingModule, facilityData, collateralToken, collateralReceived);\n\n        // Borrow loan tokens to repay flash loan\n        box.borrow(fundingModule, facilityData, loanToken, loanAmount);\n    }\n\n    function _handleDeleverage(IBox box, bytes calldata data) internal {\n        (\n            ,\n            ,\n            IFunding fundingModule,\n            bytes memory facilityData,\n            IERC20 collateralToken,\n            uint256 collateralAmount,\n            IERC20 loanToken,\n            uint256 loanAmount,\n            ISwapper swapper,\n            bytes memory swapData\n        ) = abi.decode(data, (bytes4, IBox, IFunding, bytes, IERC20, uint256, IERC20, uint256, ISwapper, bytes));\n\n        // Repay debt with flash loaned tokens\n        box.repay(fundingModule, facilityData, loanToken, loanAmount);\n\n        // Withdraw collateral\n        box.depledge(fundingModule, facilityData, collateralToken, collateralAmount);\n\n        // Swap collateral to loan tokens to repay flash loan\n        _swap(box, swapper, swapData, collateralToken, loanToken, collateralAmount);\n    }\n\n    function _handleRefinance(IBox box, bytes calldata data) internal {\n        (\n            ,\n            ,\n            IFunding fromFundingModule,\n            bytes memory fromFacilityData,\n            IFunding toFundingModule,\n            bytes memory toFacilityData,\n            IERC20 collateralToken,\n            uint256 collateralAmount,\n            IERC20 loanToken,\n            uint256 loanAmount\n        ) = abi.decode(data, (bytes4, IBox, IFunding, bytes, IFunding, bytes, IERC20, uint256, IERC20, uint256));\n\n        // Repay old debt\n        box.repay(fromFundingModule, fromFacilityData, loanToken, loanAmount);\n\n        // Withdraw collateral from old facility\n        box.depledge(fromFundingModule, fromFacilityData, collateralToken, collateralAmount);\n\n        // Pledge collateral to new facility\n        box.pledge(toFundingModule, toFacilityData, collateralToken, collateralAmount);\n\n        // Borrow from new facility to repay flash loan\n        box.borrow(toFundingModule, toFacilityData, loanToken, loanAmount);\n    }\n\n    function _handleRefinanceSwapCollateral(IBox box, bytes calldata data) internal {\n        (\n            ,\n            ,\n            IFunding fromFundingModule,\n            bytes memory fromFacilityData,\n            IFunding toFundingModule,\n            bytes memory toFacilityData,\n            IERC20 fromCollateralToken,\n            uint256 fromCollateralAmount,\n            IERC20 toCollateralToken,\n            IERC20 loanToken,\n            uint256 loanAmount,\n            ISwapper swapper,\n            bytes memory swapData\n        ) = abi.decode(data, (bytes4, IBox, IFunding, bytes, IFunding, bytes, IERC20, uint256, IERC20, IERC20, uint256, ISwapper, bytes));\n\n        // Repay old debt with flash loaned tokens\n        box.repay(fromFundingModule, fromFacilityData, loanToken, loanAmount);\n\n        // Withdraw old collateral\n        box.depledge(fromFundingModule, fromFacilityData, fromCollateralToken, fromCollateralAmount);\n\n        // Record new collateral balance before swap\n        uint256 beforeNewCollateral = toCollateralToken.balanceOf(address(box));\n\n        // Swap old collateral to new collateral\n        _swap(box, swapper, swapData, fromCollateralToken, toCollateralToken, fromCollateralAmount);\n\n        // Calculate how much new collateral was received\n        uint256 afterNewCollateral = toCollateralToken.balanceOf(address(box));\n        uint256 newCollateralReceived = afterNewCollateral - beforeNewCollateral;\n\n        // Pledge new collateral to new facility\n        box.pledge(toFundingModule, toFacilityData, toCollateralToken, newCollateralReceived);\n\n        // Borrow from new facility to repay flash loan\n        box.borrow(toFundingModule, toFacilityData, loanToken, loanAmount);\n    }\n\n    function _handleRefinanceSwapLoan(IBox box, bytes calldata data) internal {\n        (\n            ,\n            ,\n            IFunding fromFundingModule,\n            bytes memory fromFacilityData,\n            IFunding toFundingModule,\n            bytes memory toFacilityData,\n            IERC20 collateralToken,\n            uint256 collateralAmount,\n            IERC20 fromLoanToken,\n            uint256 fromLoanAmount,\n            IERC20 toLoanToken,\n            uint256 toLoanAmount,\n            ISwapper swapper,\n            bytes memory swapData\n        ) = abi.decode(\n                data,\n                (bytes4, IBox, IFunding, bytes, IFunding, bytes, IERC20, uint256, IERC20, uint256, IERC20, uint256, ISwapper, bytes)\n            );\n\n        // Record old loan token balance before swap\n        uint256 beforeOldLoan = fromLoanToken.balanceOf(address(box));\n\n        // Swap new loan token (from flash loan) to old loan token\n        _swap(box, swapper, swapData, toLoanToken, fromLoanToken, toLoanAmount);\n\n        // Calculate how much old loan token we received\n        uint256 afterOldLoan = fromLoanToken.balanceOf(address(box));\n        uint256 oldLoanReceived = afterOldLoan - beforeOldLoan;\n\n        // Use whatever we received to repay (should be >= fromLoanAmount)\n        uint256 repayAmount = oldLoanReceived > fromLoanAmount ? fromLoanAmount : oldLoanReceived;\n\n        // Repay old debt\n        box.repay(fromFundingModule, fromFacilityData, fromLoanToken, repayAmount);\n\n        // Withdraw collateral from old facility\n        box.depledge(fromFundingModule, fromFacilityData, collateralToken, collateralAmount);\n\n        // Pledge collateral to new facility\n        box.pledge(toFundingModule, toFacilityData, collateralToken, collateralAmount);\n\n        // Borrow new loan token from new facility to repay flash loan\n        box.borrow(toFundingModule, toFacilityData, toLoanToken, toLoanAmount);\n    }\n\n    // =========================================================================\n    //                         Internal Helpers\n    // =========================================================================\n\n    /**\n     * @dev Executes a swap via Box allocation functions based on token types.\n     */\n    function _swap(IBox box, ISwapper swapper, bytes memory swapData, IERC20 fromToken, IERC20 toToken, uint256 amount) internal {\n        if (address(fromToken) == box.asset()) {\n            (_expected, _received) = box.allocate(toToken, amount, swapper, swapData);\n        } else if (address(toToken) == box.asset()) {\n            (_expected, _received) = box.deallocate(fromToken, amount, swapper, swapData);\n        } else {\n            (_expected, _received) = box.reallocate(fromToken, toToken, amount, swapper, swapData);\n        }\n    }\n}\n"},"src/mv2/interfaces/IOracle.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity >=0.8.0;\n\n/// @notice Oracle interface to get a token price with 36 decimals of precision\ninterface IOracle {\n    function price() external view returns (uint256);\n}\n"},"src/mv2/interfaces/IFunding.sol":{"content":"// SPDX-License-Identifier: MIT\n// Copyright (c) 2025 Steakhouse\npragma solidity >=0.8.0;\n\nimport {IERC20} from \"@openzeppelin/contracts/token/ERC20/IERC20.sol\";\nimport {IOracle} from \"./IOracle.sol\";\n\ninterface IOracleCallback {\n    /// @dev RIs considered to have a price of ORACLE_PRECISION\n    function asset() external view returns (address);\n\n    /// @dev Returns an oracle for tokens that are not the asset\n    function oracles(IERC20 token) external view returns (IOracle);\n}\n\n/**\n * @notice Interface for a funding module\n * @notice `nav` should never revert\n */\ninterface IFunding {\n    // ========== ADMIN ==========\n    function addFacility(bytes calldata facilityData) external;\n    function removeFacility(bytes calldata facilityData) external;\n    function isFacility(bytes calldata facilityData) external view returns (bool);\n    function facilities(uint256 index) external view returns (bytes memory);\n    function facilitiesLength() external view returns (uint256);\n\n    function addCollateralToken(IERC20 collateralToken) external;\n    function removeCollateralToken(IERC20 collateralToken) external;\n    function isCollateralToken(IERC20 collateralToken) external view returns (bool);\n    function collateralTokens(uint256 index) external view returns (IERC20);\n    function collateralTokensLength() external view returns (uint256);\n\n    function addDebtToken(IERC20 debtToken) external;\n    function removeDebtToken(IERC20 debtToken) external;\n    function isDebtToken(IERC20 debtToken) external view returns (bool);\n    function debtTokens(uint256 index) external view returns (IERC20);\n    function debtTokensLength() external view returns (uint256);\n\n    // ========== ACTIONS ==========\n    function skim(IERC20 token) external;\n    function pledge(bytes calldata facilityData, IERC20 collateralToken, uint256 collateralAmount) external;\n    function depledge(bytes calldata facilityData, IERC20 collateralToken, uint256 collateralAmount) external;\n    function borrow(bytes calldata facilityData, IERC20 debtToken, uint256 borrowAmount) external;\n    function repay(bytes calldata facilityData, IERC20 debtToken, uint256 repayAmount) external;\n\n    // ========== POSITION ==========\n    function ltv(bytes calldata facilityData) external view returns (uint256);\n    function debtBalance(bytes calldata facilityData, IERC20 debtToken) external view returns (uint256);\n    function collateralBalance(bytes calldata facilityData, IERC20 collateralToken) external view returns (uint256);\n    function debtBalance(IERC20 debtToken) external view returns (uint256);\n    function collateralBalance(IERC20 collateralToken) external view returns (uint256);\n    function nav(IOracleCallback oraclesProvider) external view returns (uint256);\n}\n"},"src/mv2/interfaces/ISwapper.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity >=0.8.0;\n\nimport {IERC20} from \"@openzeppelin/contracts/token/ERC20/IERC20.sol\";\n\ninterface ISwapper {\n    /// @dev Sells `amountIn` of `input` tokens for `output` tokens.\n    /// @param input The address of the input token.\n    /// @param output The address of the output token.\n    /// @param amountIn The amount of input tokens to sell.\n    /// @param data Additional data to pass to the swapper.\n    function sell(IERC20 input, IERC20 output, uint256 amountIn, bytes calldata data) external;\n}\n"},"src/mv2/libraries/ErrorsLib.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity >=0.8.0;\n\nlibrary ErrorsLib {\n    // General errors\n    error InvalidAddress();\n    error InvalidAmount();\n    error InvalidValue();\n    error CannotRemove();\n    error AlreadyWhitelisted();\n    error NotWhitelisted();\n    error NotClean();\n    error NotAllowed();\n\n    // Access control errors\n    error OnlyOwner();\n    error OnlyCurator();\n    error OnlyGuardian();\n    error OnlyCuratorOrGuardian();\n    error OnlyAllocators();\n    error OnlyFeeders();\n    error OnlySkimRecipient();\n    error OnlyAllocatorsOrWinddown();\n    error OnlyMorpho();\n    error OnlyBox();\n    error OnlyPool();\n    error OnlyThisContract();\n    error CannotDuringShutdown();\n    error CannotDuringWinddown();\n\n    // Withdraw/Redeem errors\n    error InsufficientShares();\n    error InsufficientAllowance();\n    error InsufficientLiquidity();\n    error DataAlreadyTimelocked();\n\n    // Token errors\n    error TokenNotWhitelisted();\n    error TokenAlreadyWhitelisted();\n    error OracleRequired();\n    error NoOracleForToken();\n    error TokenBalanceMustBeZero();\n    error TooManyTokens();\n\n    // Slippage errors\n    error SwapperDidSpendTooMuch();\n    error AllocationTooExpensive();\n    error TokenSaleNotGeneratingEnoughAssets();\n    error ReallocationSlippageTooHigh();\n    error TooMuchAccumulatedSlippage();\n    error SlippageTooHigh();\n\n    // Shutdown/Recover errors\n    error OnlyGuardianOrCuratorCanShutdown();\n    error OnlyGuardianCanRecover();\n    error AlreadyShutdown();\n    error NotShutdown();\n    error CannotRecoverAfterWinddown();\n\n    // Timelock errors\n    error TimelockNotExpired();\n    error DataNotTimelocked();\n    error InvalidTimelock();\n    error TimelockNotIncreasing();\n    error TimelockNotDecreasing();\n    error FunctionDisabled();\n\n    // Skim errors\n    error CannotSkimToken();\n    error CannotSkimZero();\n    error SkimChangedNav();\n    error TransferFailed();\n\n    // Funding module errors\n    error ExcessiveLTV();\n    error NoNavDuringCache();\n    error InvalidFacilityData();\n\n    // Flash callback errors\n    error ReentryNotAllowed();\n}\n"},"lib/vault-v2/src/interfaces/IERC20.sol":{"content":"// SPDX-License-Identifier: GPL-2.0-or-later\n// Copyright (c) 2025 Morpho Association\npragma solidity >=0.5.0;\n\ninterface IERC20 {\n    function decimals() external view returns (uint8);\n    function name() external view returns (string memory);\n    function symbol() external view returns (string memory);\n    function totalSupply() external view returns (uint256);\n    function balanceOf(address account) external view returns (uint256);\n    function transfer(address to, uint256 shares) external returns (bool success);\n    function transferFrom(address from, address to, uint256 shares) external returns (bool success);\n    function approve(address spender, uint256 shares) external returns (bool success);\n    function allowance(address owner, address spender) external view returns (uint256);\n}\n"},"lib/vault-v2/src/interfaces/IERC2612.sol":{"content":"// SPDX-License-Identifier: GPL-2.0-or-later\n// Copyright (c) 2025 Morpho Association\npragma solidity >=0.5.0;\n\ninterface IERC2612 {\n    function permit(address owner, address spender, uint256 shares, uint256 deadline, uint8 v, bytes32 r, bytes32 s)\n        external;\n    function nonces(address owner) external view returns (uint256);\n    function DOMAIN_SEPARATOR() external view returns (bytes32);\n}\n"},"lib/vault-v2/src/interfaces/IERC4626.sol":{"content":"// SPDX-License-Identifier: GPL-2.0-or-later\n// Copyright (c) 2025 Morpho Association\npragma solidity >=0.5.0;\n\nimport {IERC20} from \"./IERC20.sol\";\n\ninterface IERC4626 is IERC20 {\n    function asset() external view returns (address);\n    function totalAssets() external view returns (uint256);\n    function convertToAssets(uint256 shares) external view returns (uint256 assets);\n    function convertToShares(uint256 assets) external view returns (uint256 shares);\n    function deposit(uint256 assets, address onBehalf) external returns (uint256 shares);\n    function mint(uint256 shares, address onBehalf) external returns (uint256 assets);\n    function withdraw(uint256 assets, address receiver, address onBehalf) external returns (uint256 shares);\n    function redeem(uint256 shares, address receiver, address onBehalf) external returns (uint256 assets);\n    function previewDeposit(uint256 assets) external view returns (uint256 shares);\n    function previewMint(uint256 shares) external view returns (uint256 assets);\n    function previewWithdraw(uint256 assets) external view returns (uint256 shares);\n    function previewRedeem(uint256 shares) external view returns (uint256 assets);\n    function maxDeposit(address onBehalf) external view returns (uint256 assets);\n    function maxMint(address onBehalf) external view returns (uint256 shares);\n    function maxWithdraw(address onBehalf) external view returns (uint256 assets);\n    function maxRedeem(address onBehalf) external view returns (uint256 shares);\n}\n"},"lib/vault-v2/src/interfaces/IVaultV2.sol":{"content":"// SPDX-License-Identifier: GPL-2.0-or-later\n// Copyright (c) 2025 Morpho Association\npragma solidity >=0.5.0;\n\nimport {IERC4626} from \"./IERC4626.sol\";\nimport {IERC2612} from \"./IERC2612.sol\";\n\nstruct Caps {\n    uint256 allocation;\n    uint128 absoluteCap;\n    uint128 relativeCap;\n}\n\ninterface IVaultV2 is IERC4626, IERC2612 {\n    // State variables\n    function virtualShares() external view returns (uint256);\n    function owner() external view returns (address);\n    function curator() external view returns (address);\n    function receiveSharesGate() external view returns (address);\n    function sendSharesGate() external view returns (address);\n    function receiveAssetsGate() external view returns (address);\n    function sendAssetsGate() external view returns (address);\n    function adapterRegistry() external view returns (address);\n    function isSentinel(address account) external view returns (bool);\n    function isAllocator(address account) external view returns (bool);\n    function firstTotalAssets() external view returns (uint256);\n    function _totalAssets() external view returns (uint128);\n    function lastUpdate() external view returns (uint64);\n    function maxRate() external view returns (uint64);\n    function adapters(uint256 index) external view returns (address);\n    function adaptersLength() external view returns (uint256);\n    function isAdapter(address account) external view returns (bool);\n    function allocation(bytes32 id) external view returns (uint256);\n    function absoluteCap(bytes32 id) external view returns (uint256);\n    function relativeCap(bytes32 id) external view returns (uint256);\n    function forceDeallocatePenalty(address adapter) external view returns (uint256);\n    function liquidityAdapter() external view returns (address);\n    function liquidityData() external view returns (bytes memory);\n    function timelock(bytes4 selector) external view returns (uint256);\n    function abdicated(bytes4 selector) external view returns (bool);\n    function executableAt(bytes memory data) external view returns (uint256);\n    function performanceFee() external view returns (uint96);\n    function performanceFeeRecipient() external view returns (address);\n    function managementFee() external view returns (uint96);\n    function managementFeeRecipient() external view returns (address);\n\n    // Gating\n    function canSendShares(address account) external view returns (bool);\n    function canReceiveShares(address account) external view returns (bool);\n    function canSendAssets(address account) external view returns (bool);\n    function canReceiveAssets(address account) external view returns (bool);\n\n    // Multicall\n    function multicall(bytes[] memory data) external;\n\n    // Owner functions\n    function setOwner(address newOwner) external;\n    function setCurator(address newCurator) external;\n    function setIsSentinel(address account, bool isSentinel) external;\n    function setName(string memory newName) external;\n    function setSymbol(string memory newSymbol) external;\n\n    // Timelocks for curator functions\n    function submit(bytes memory data) external;\n    function revoke(bytes memory data) external;\n\n    // Curator functions\n    function setIsAllocator(address account, bool newIsAllocator) external;\n    function setReceiveSharesGate(address newReceiveSharesGate) external;\n    function setSendSharesGate(address newSendSharesGate) external;\n    function setReceiveAssetsGate(address newReceiveAssetsGate) external;\n    function setSendAssetsGate(address newSendAssetsGate) external;\n    function setAdapterRegistry(address newAdapterRegistry) external;\n    function addAdapter(address account) external;\n    function removeAdapter(address account) external;\n    function increaseTimelock(bytes4 selector, uint256 newDuration) external;\n    function decreaseTimelock(bytes4 selector, uint256 newDuration) external;\n    function abdicate(bytes4 selector) external;\n    function setPerformanceFee(uint256 newPerformanceFee) external;\n    function setManagementFee(uint256 newManagementFee) external;\n    function setPerformanceFeeRecipient(address newPerformanceFeeRecipient) external;\n    function setManagementFeeRecipient(address newManagementFeeRecipient) external;\n    function increaseAbsoluteCap(bytes memory idData, uint256 newAbsoluteCap) external;\n    function decreaseAbsoluteCap(bytes memory idData, uint256 newAbsoluteCap) external;\n    function increaseRelativeCap(bytes memory idData, uint256 newRelativeCap) external;\n    function decreaseRelativeCap(bytes memory idData, uint256 newRelativeCap) external;\n    function setMaxRate(uint256 newMaxRate) external;\n    function setForceDeallocatePenalty(address adapter, uint256 newForceDeallocatePenalty) external;\n\n    // Allocator functions\n    function allocate(address adapter, bytes memory data, uint256 assets) external;\n    function deallocate(address adapter, bytes memory data, uint256 assets) external;\n    function setLiquidityAdapterAndData(address newLiquidityAdapter, bytes memory newLiquidityData) external;\n\n    // Exchange rate\n    function accrueInterest() external;\n    function accrueInterestView()\n        external\n        view\n        returns (uint256 newTotalAssets, uint256 performanceFeeShares, uint256 managementFeeShares);\n\n    // Force deallocate\n    function forceDeallocate(address adapter, bytes memory data, uint256 assets, address onBehalf)\n        external\n        returns (uint256 penaltyShares);\n}\n"},"lib/morpho-blue/src/interfaces/IMorpho.sol":{"content":"// SPDX-License-Identifier: GPL-2.0-or-later\npragma solidity >=0.5.0;\n\ntype Id is bytes32;\n\nstruct MarketParams {\n    address loanToken;\n    address collateralToken;\n    address oracle;\n    address irm;\n    uint256 lltv;\n}\n\n/// @dev Warning: For `feeRecipient`, `supplyShares` does not contain the accrued shares since the last interest\n/// accrual.\nstruct Position {\n    uint256 supplyShares;\n    uint128 borrowShares;\n    uint128 collateral;\n}\n\n/// @dev Warning: `totalSupplyAssets` does not contain the accrued interest since the last interest accrual.\n/// @dev Warning: `totalBorrowAssets` does not contain the accrued interest since the last interest accrual.\n/// @dev Warning: `totalSupplyShares` does not contain the additional shares accrued by `feeRecipient` since the last\n/// interest accrual.\nstruct Market {\n    uint128 totalSupplyAssets;\n    uint128 totalSupplyShares;\n    uint128 totalBorrowAssets;\n    uint128 totalBorrowShares;\n    uint128 lastUpdate;\n    uint128 fee;\n}\n\nstruct Authorization {\n    address authorizer;\n    address authorized;\n    bool isAuthorized;\n    uint256 nonce;\n    uint256 deadline;\n}\n\nstruct Signature {\n    uint8 v;\n    bytes32 r;\n    bytes32 s;\n}\n\n/// @dev This interface is used for factorizing IMorphoStaticTyping and IMorpho.\n/// @dev Consider using the IMorpho interface instead of this one.\ninterface IMorphoBase {\n    /// @notice The EIP-712 domain separator.\n    /// @dev Warning: Every EIP-712 signed message based on this domain separator can be reused on another chain sharing\n    /// the same chain id because the domain separator would be the same.\n    function DOMAIN_SEPARATOR() external view returns (bytes32);\n\n    /// @notice The owner of the contract.\n    /// @dev It has the power to change the owner.\n    /// @dev It has the power to set fees on markets and set the fee recipient.\n    /// @dev It has the power to enable but not disable IRMs and LLTVs.\n    function owner() external view returns (address);\n\n    /// @notice The fee recipient of all markets.\n    /// @dev The recipient receives the fees of a given market through a supply position on that market.\n    function feeRecipient() external view returns (address);\n\n    /// @notice Whether the `irm` is enabled.\n    function isIrmEnabled(address irm) external view returns (bool);\n\n    /// @notice Whether the `lltv` is enabled.\n    function isLltvEnabled(uint256 lltv) external view returns (bool);\n\n    /// @notice Whether `authorized` is authorized to modify `authorizer`'s position on all markets.\n    /// @dev Anyone is authorized to modify their own positions, regardless of this variable.\n    function isAuthorized(address authorizer, address authorized) external view returns (bool);\n\n    /// @notice The `authorizer`'s current nonce. Used to prevent replay attacks with EIP-712 signatures.\n    function nonce(address authorizer) external view returns (uint256);\n\n    /// @notice Sets `newOwner` as `owner` of the contract.\n    /// @dev Warning: No two-step transfer ownership.\n    /// @dev Warning: The owner can be set to the zero address.\n    function setOwner(address newOwner) external;\n\n    /// @notice Enables `irm` as a possible IRM for market creation.\n    /// @dev Warning: It is not possible to disable an IRM.\n    function enableIrm(address irm) external;\n\n    /// @notice Enables `lltv` as a possible LLTV for market creation.\n    /// @dev Warning: It is not possible to disable a LLTV.\n    function enableLltv(uint256 lltv) external;\n\n    /// @notice Sets the `newFee` for the given market `marketParams`.\n    /// @param newFee The new fee, scaled by WAD.\n    /// @dev Warning: The recipient can be the zero address.\n    function setFee(MarketParams memory marketParams, uint256 newFee) external;\n\n    /// @notice Sets `newFeeRecipient` as `feeRecipient` of the fee.\n    /// @dev Warning: If the fee recipient is set to the zero address, fees will accrue there and will be lost.\n    /// @dev Modifying the fee recipient will allow the new recipient to claim any pending fees not yet accrued. To\n    /// ensure that the current recipient receives all due fees, accrue interest manually prior to making any changes.\n    function setFeeRecipient(address newFeeRecipient) external;\n\n    /// @notice Creates the market `marketParams`.\n    /// @dev Here is the list of assumptions on the market's dependencies (tokens, IRM and oracle) that guarantees\n    /// Morpho behaves as expected:\n    /// - The token should be ERC-20 compliant, except that it can omit return values on `transfer` and `transferFrom`.\n    /// - The token balance of Morpho should only decrease on `transfer` and `transferFrom`. In particular, tokens with\n    /// burn functions are not supported.\n    /// - The token should not re-enter Morpho on `transfer` nor `transferFrom`.\n    /// - The token balance of the sender (resp. receiver) should decrease (resp. increase) by exactly the given amount\n    /// on `transfer` and `transferFrom`. In particular, tokens with fees on transfer are not supported.\n    /// - The IRM should not re-enter Morpho.\n    /// - The oracle should return a price with the correct scaling.\n    /// @dev Here is a list of properties on the market's dependencies that could break Morpho's liveness properties\n    /// (funds could get stuck):\n    /// - The token can revert on `transfer` and `transferFrom` for a reason other than an approval or balance issue.\n    /// - A very high amount of assets (~1e35) supplied or borrowed can make the computation of `toSharesUp` and\n    /// `toSharesDown` overflow.\n    /// - The IRM can revert on `borrowRate`.\n    /// - A very high borrow rate returned by the IRM can make the computation of `interest` in `_accrueInterest`\n    /// overflow.\n    /// - The oracle can revert on `price`. Note that this can be used to prevent `borrow`, `withdrawCollateral` and\n    /// `liquidate` from being used under certain market conditions.\n    /// - A very high price returned by the oracle can make the computation of `maxBorrow` in `_isHealthy` overflow, or\n    /// the computation of `assetsRepaid` in `liquidate` overflow.\n    /// @dev The borrow share price of a market with less than 1e4 assets borrowed can be decreased by manipulations, to\n    /// the point where `totalBorrowShares` is very large and borrowing overflows.\n    function createMarket(MarketParams memory marketParams) external;\n\n    /// @notice Supplies `assets` or `shares` on behalf of `onBehalf`, optionally calling back the caller's\n    /// `onMorphoSupply` function with the given `data`.\n    /// @dev Either `assets` or `shares` should be zero. Most use cases should rely on `assets` as an input so the\n    /// caller is guaranteed to have `assets` tokens pulled from their balance, but the possibility to mint a specific\n    /// amount of shares is given for full compatibility and precision.\n    /// @dev Supplying a large amount can revert for overflow.\n    /// @dev Supplying an amount of shares may lead to supply more or fewer assets than expected due to slippage.\n    /// Consider using the `assets` parameter to avoid this.\n    /// @param marketParams The market to supply assets to.\n    /// @param assets The amount of assets to supply.\n    /// @param shares The amount of shares to mint.\n    /// @param onBehalf The address that will own the increased supply position.\n    /// @param data Arbitrary data to pass to the `onMorphoSupply` callback. Pass empty data if not needed.\n    /// @return assetsSupplied The amount of assets supplied.\n    /// @return sharesSupplied The amount of shares minted.\n    function supply(\n        MarketParams memory marketParams,\n        uint256 assets,\n        uint256 shares,\n        address onBehalf,\n        bytes memory data\n    ) external returns (uint256 assetsSupplied, uint256 sharesSupplied);\n\n    /// @notice Withdraws `assets` or `shares` on behalf of `onBehalf` and sends the assets to `receiver`.\n    /// @dev Either `assets` or `shares` should be zero. To withdraw max, pass the `shares`'s balance of `onBehalf`.\n    /// @dev `msg.sender` must be authorized to manage `onBehalf`'s positions.\n    /// @dev Withdrawing an amount corresponding to more shares than supplied will revert for underflow.\n    /// @dev It is advised to use the `shares` input when withdrawing the full position to avoid reverts due to\n    /// conversion roundings between shares and assets.\n    /// @param marketParams The market to withdraw assets from.\n    /// @param assets The amount of assets to withdraw.\n    /// @param shares The amount of shares to burn.\n    /// @param onBehalf The address of the owner of the supply position.\n    /// @param receiver The address that will receive the withdrawn assets.\n    /// @return assetsWithdrawn The amount of assets withdrawn.\n    /// @return sharesWithdrawn The amount of shares burned.\n    function withdraw(\n        MarketParams memory marketParams,\n        uint256 assets,\n        uint256 shares,\n        address onBehalf,\n        address receiver\n    ) external returns (uint256 assetsWithdrawn, uint256 sharesWithdrawn);\n\n    /// @notice Borrows `assets` or `shares` on behalf of `onBehalf` and sends the assets to `receiver`.\n    /// @dev Either `assets` or `shares` should be zero. Most use cases should rely on `assets` as an input so the\n    /// caller is guaranteed to borrow `assets` of tokens, but the possibility to mint a specific amount of shares is\n    /// given for full compatibility and precision.\n    /// @dev `msg.sender` must be authorized to manage `onBehalf`'s positions.\n    /// @dev Borrowing a large amount can revert for overflow.\n    /// @dev Borrowing an amount of shares may lead to borrow fewer assets than expected due to slippage.\n    /// Consider using the `assets` parameter to avoid this.\n    /// @param marketParams The market to borrow assets from.\n    /// @param assets The amount of assets to borrow.\n    /// @param shares The amount of shares to mint.\n    /// @param onBehalf The address that will own the increased borrow position.\n    /// @param receiver The address that will receive the borrowed assets.\n    /// @return assetsBorrowed The amount of assets borrowed.\n    /// @return sharesBorrowed The amount of shares minted.\n    function borrow(\n        MarketParams memory marketParams,\n        uint256 assets,\n        uint256 shares,\n        address onBehalf,\n        address receiver\n    ) external returns (uint256 assetsBorrowed, uint256 sharesBorrowed);\n\n    /// @notice Repays `assets` or `shares` on behalf of `onBehalf`, optionally calling back the caller's\n    /// `onMorphoReplay` function with the given `data`.\n    /// @dev Either `assets` or `shares` should be zero. To repay max, pass the `shares`'s balance of `onBehalf`.\n    /// @dev Repaying an amount corresponding to more shares than borrowed will revert for underflow.\n    /// @dev It is advised to use the `shares` input when repaying the full position to avoid reverts due to conversion\n    /// roundings between shares and assets.\n    /// @dev An attacker can front-run a repay with a small repay making the transaction revert for underflow.\n    /// @param marketParams The market to repay assets to.\n    /// @param assets The amount of assets to repay.\n    /// @param shares The amount of shares to burn.\n    /// @param onBehalf The address of the owner of the debt position.\n    /// @param data Arbitrary data to pass to the `onMorphoRepay` callback. Pass empty data if not needed.\n    /// @return assetsRepaid The amount of assets repaid.\n    /// @return sharesRepaid The amount of shares burned.\n    function repay(\n        MarketParams memory marketParams,\n        uint256 assets,\n        uint256 shares,\n        address onBehalf,\n        bytes memory data\n    ) external returns (uint256 assetsRepaid, uint256 sharesRepaid);\n\n    /// @notice Supplies `assets` of collateral on behalf of `onBehalf`, optionally calling back the caller's\n    /// `onMorphoSupplyCollateral` function with the given `data`.\n    /// @dev Interest are not accrued since it's not required and it saves gas.\n    /// @dev Supplying a large amount can revert for overflow.\n    /// @param marketParams The market to supply collateral to.\n    /// @param assets The amount of collateral to supply.\n    /// @param onBehalf The address that will own the increased collateral position.\n    /// @param data Arbitrary data to pass to the `onMorphoSupplyCollateral` callback. Pass empty data if not needed.\n    function supplyCollateral(MarketParams memory marketParams, uint256 assets, address onBehalf, bytes memory data)\n        external;\n\n    /// @notice Withdraws `assets` of collateral on behalf of `onBehalf` and sends the assets to `receiver`.\n    /// @dev `msg.sender` must be authorized to manage `onBehalf`'s positions.\n    /// @dev Withdrawing an amount corresponding to more collateral than supplied will revert for underflow.\n    /// @param marketParams The market to withdraw collateral from.\n    /// @param assets The amount of collateral to withdraw.\n    /// @param onBehalf The address of the owner of the collateral position.\n    /// @param receiver The address that will receive the collateral assets.\n    function withdrawCollateral(MarketParams memory marketParams, uint256 assets, address onBehalf, address receiver)\n        external;\n\n    /// @notice Liquidates the given `repaidShares` of debt asset or seize the given `seizedAssets` of collateral on the\n    /// given market `marketParams` of the given `borrower`'s position, optionally calling back the caller's\n    /// `onMorphoLiquidate` function with the given `data`.\n    /// @dev Either `seizedAssets` or `repaidShares` should be zero.\n    /// @dev Seizing more than the collateral balance will underflow and revert without any error message.\n    /// @dev Repaying more than the borrow balance will underflow and revert without any error message.\n    /// @dev An attacker can front-run a liquidation with a small repay making the transaction revert for underflow.\n    /// @param marketParams The market of the position.\n    /// @param borrower The owner of the position.\n    /// @param seizedAssets The amount of collateral to seize.\n    /// @param repaidShares The amount of shares to repay.\n    /// @param data Arbitrary data to pass to the `onMorphoLiquidate` callback. Pass empty data if not needed.\n    /// @return The amount of assets seized.\n    /// @return The amount of assets repaid.\n    function liquidate(\n        MarketParams memory marketParams,\n        address borrower,\n        uint256 seizedAssets,\n        uint256 repaidShares,\n        bytes memory data\n    ) external returns (uint256, uint256);\n\n    /// @notice Executes a flash loan.\n    /// @dev Flash loans have access to the whole balance of the contract (the liquidity and deposited collateral of all\n    /// markets combined, plus donations).\n    /// @dev Warning: Not ERC-3156 compliant but compatibility is easily reached:\n    /// - `flashFee` is zero.\n    /// - `maxFlashLoan` is the token's balance of this contract.\n    /// - The receiver of `assets` is the caller.\n    /// @param token The token to flash loan.\n    /// @param assets The amount of assets to flash loan.\n    /// @param data Arbitrary data to pass to the `onMorphoFlashLoan` callback.\n    function flashLoan(address token, uint256 assets, bytes calldata data) external;\n\n    /// @notice Sets the authorization for `authorized` to manage `msg.sender`'s positions.\n    /// @param authorized The authorized address.\n    /// @param newIsAuthorized The new authorization status.\n    function setAuthorization(address authorized, bool newIsAuthorized) external;\n\n    /// @notice Sets the authorization for `authorization.authorized` to manage `authorization.authorizer`'s positions.\n    /// @dev Warning: Reverts if the signature has already been submitted.\n    /// @dev The signature is malleable, but it has no impact on the security here.\n    /// @dev The nonce is passed as argument to be able to revert with a different error message.\n    /// @param authorization The `Authorization` struct.\n    /// @param signature The signature.\n    function setAuthorizationWithSig(Authorization calldata authorization, Signature calldata signature) external;\n\n    /// @notice Accrues interest for the given market `marketParams`.\n    function accrueInterest(MarketParams memory marketParams) external;\n\n    /// @notice Returns the data stored on the different `slots`.\n    function extSloads(bytes32[] memory slots) external view returns (bytes32[] memory);\n}\n\n/// @dev This interface is inherited by Morpho so that function signatures are checked by the compiler.\n/// @dev Consider using the IMorpho interface instead of this one.\ninterface IMorphoStaticTyping is IMorphoBase {\n    /// @notice The state of the position of `user` on the market corresponding to `id`.\n    /// @dev Warning: For `feeRecipient`, `supplyShares` does not contain the accrued shares since the last interest\n    /// accrual.\n    function position(Id id, address user)\n        external\n        view\n        returns (uint256 supplyShares, uint128 borrowShares, uint128 collateral);\n\n    /// @notice The state of the market corresponding to `id`.\n    /// @dev Warning: `totalSupplyAssets` does not contain the accrued interest since the last interest accrual.\n    /// @dev Warning: `totalBorrowAssets` does not contain the accrued interest since the last interest accrual.\n    /// @dev Warning: `totalSupplyShares` does not contain the accrued shares by `feeRecipient` since the last interest\n    /// accrual.\n    function market(Id id)\n        external\n        view\n        returns (\n            uint128 totalSupplyAssets,\n            uint128 totalSupplyShares,\n            uint128 totalBorrowAssets,\n            uint128 totalBorrowShares,\n            uint128 lastUpdate,\n            uint128 fee\n        );\n\n    /// @notice The market params corresponding to `id`.\n    /// @dev This mapping is not used in Morpho. It is there to enable reducing the cost associated to calldata on layer\n    /// 2s by creating a wrapper contract with functions that take `id` as input instead of `marketParams`.\n    function idToMarketParams(Id id)\n        external\n        view\n        returns (address loanToken, address collateralToken, address oracle, address irm, uint256 lltv);\n}\n\n/// @title IMorpho\n/// @author Morpho Labs\n/// @custom:contact security@morpho.org\n/// @dev Use this interface for Morpho to have access to all the functions with the appropriate function signatures.\ninterface IMorpho is IMorphoBase {\n    /// @notice The state of the position of `user` on the market corresponding to `id`.\n    /// @dev Warning: For `feeRecipient`, `p.supplyShares` does not contain the accrued shares since the last interest\n    /// accrual.\n    function position(Id id, address user) external view returns (Position memory p);\n\n    /// @notice The state of the market corresponding to `id`.\n    /// @dev Warning: `m.totalSupplyAssets` does not contain the accrued interest since the last interest accrual.\n    /// @dev Warning: `m.totalBorrowAssets` does not contain the accrued interest since the last interest accrual.\n    /// @dev Warning: `m.totalSupplyShares` does not contain the accrued shares by `feeRecipient` since the last\n    /// interest accrual.\n    function market(Id id) external view returns (Market memory m);\n\n    /// @notice The market params corresponding to `id`.\n    /// @dev This mapping is not used in Morpho. It is there to enable reducing the cost associated to calldata on layer\n    /// 2s by creating a wrapper contract with functions that take `id` as input instead of `marketParams`.\n    function idToMarketParams(Id id) external view returns (MarketParams memory);\n}\n"},"lib/openzeppelin-contracts/contracts/utils/Address.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.0.0) (utils/Address.sol)\n\npragma solidity ^0.8.20;\n\n/**\n * @dev Collection of functions related to the address type\n */\nlibrary Address {\n    /**\n     * @dev The ETH balance of the account is not enough to perform the operation.\n     */\n    error AddressInsufficientBalance(address account);\n\n    /**\n     * @dev There's no code at `target` (it is not a contract).\n     */\n    error AddressEmptyCode(address target);\n\n    /**\n     * @dev A call to an address target failed. The target may have reverted.\n     */\n    error FailedInnerCall();\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 AddressInsufficientBalance(address(this));\n        }\n\n        (bool success, ) = recipient.call{value: amount}(\"\");\n        if (!success) {\n            revert FailedInnerCall();\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     * {FailedInnerCall} 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 AddressInsufficientBalance(address(this));\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 {FailedInnerCall}) in case of an\n     * 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 {FailedInnerCall} 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 {FailedInnerCall}.\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            /// @solidity memory-safe-assembly\n            assembly {\n                let returndata_size := mload(returndata)\n                revert(add(32, returndata), returndata_size)\n            }\n        } else {\n            revert FailedInnerCall();\n        }\n    }\n}\n"},"lib/openzeppelin-contracts/contracts/utils/Context.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.0.1) (utils/Context.sol)\n\npragma solidity ^0.8.20;\n\n/**\n * @dev Provides information about the current execution context, including the\n * sender of the transaction and its data. While these are generally available\n * via msg.sender and msg.data, they should not be accessed in such a direct\n * manner, since when dealing with meta-transactions the account sending and\n * paying for execution may not be the actual sender (as far as an application\n * is concerned).\n *\n * This contract is only required for intermediate, library-like contracts.\n */\nabstract contract Context {\n    function _msgSender() internal view virtual returns (address) {\n        return msg.sender;\n    }\n\n    function _msgData() internal view virtual returns (bytes calldata) {\n        return msg.data;\n    }\n\n    function _contextSuffixLength() internal view virtual returns (uint256) {\n        return 0;\n    }\n}\n"},"lib/openzeppelin-contracts/contracts/utils/StorageSlot.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.0.0) (utils/StorageSlot.sol)\n// This file was procedurally generated from scripts/generate/templates/StorageSlot.js.\n\npragma solidity ^0.8.20;\n\n/**\n * @dev Library for reading and writing primitive types to specific storage slots.\n *\n * Storage slots are often used to avoid storage conflict when dealing with upgradeable contracts.\n * This library helps with reading and writing to such slots without the need for inline assembly.\n *\n * The functions in this library return Slot structs that contain a `value` member that can be used to read or write.\n *\n * Example usage to set ERC1967 implementation slot:\n * ```solidity\n * contract ERC1967 {\n *     bytes32 internal constant _IMPLEMENTATION_SLOT = 0x360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc;\n *\n *     function _getImplementation() internal view returns (address) {\n *         return StorageSlot.getAddressSlot(_IMPLEMENTATION_SLOT).value;\n *     }\n *\n *     function _setImplementation(address newImplementation) internal {\n *         require(newImplementation.code.length > 0);\n *         StorageSlot.getAddressSlot(_IMPLEMENTATION_SLOT).value = newImplementation;\n *     }\n * }\n * ```\n */\nlibrary StorageSlot {\n    struct AddressSlot {\n        address value;\n    }\n\n    struct BooleanSlot {\n        bool value;\n    }\n\n    struct Bytes32Slot {\n        bytes32 value;\n    }\n\n    struct Uint256Slot {\n        uint256 value;\n    }\n\n    struct StringSlot {\n        string value;\n    }\n\n    struct BytesSlot {\n        bytes value;\n    }\n\n    /**\n     * @dev Returns an `AddressSlot` with member `value` located at `slot`.\n     */\n    function getAddressSlot(bytes32 slot) internal pure returns (AddressSlot storage r) {\n        /// @solidity memory-safe-assembly\n        assembly {\n            r.slot := slot\n        }\n    }\n\n    /**\n     * @dev Returns an `BooleanSlot` with member `value` located at `slot`.\n     */\n    function getBooleanSlot(bytes32 slot) internal pure returns (BooleanSlot storage r) {\n        /// @solidity memory-safe-assembly\n        assembly {\n            r.slot := slot\n        }\n    }\n\n    /**\n     * @dev Returns an `Bytes32Slot` with member `value` located at `slot`.\n     */\n    function getBytes32Slot(bytes32 slot) internal pure returns (Bytes32Slot storage r) {\n        /// @solidity memory-safe-assembly\n        assembly {\n            r.slot := slot\n        }\n    }\n\n    /**\n     * @dev Returns an `Uint256Slot` with member `value` located at `slot`.\n     */\n    function getUint256Slot(bytes32 slot) internal pure returns (Uint256Slot storage r) {\n        /// @solidity memory-safe-assembly\n        assembly {\n            r.slot := slot\n        }\n    }\n\n    /**\n     * @dev Returns an `StringSlot` with member `value` located at `slot`.\n     */\n    function getStringSlot(bytes32 slot) internal pure returns (StringSlot storage r) {\n        /// @solidity memory-safe-assembly\n        assembly {\n            r.slot := slot\n        }\n    }\n\n    /**\n     * @dev Returns an `StringSlot` representation of the string storage pointer `store`.\n     */\n    function getStringSlot(string storage store) internal pure returns (StringSlot storage r) {\n        /// @solidity memory-safe-assembly\n        assembly {\n            r.slot := store.slot\n        }\n    }\n\n    /**\n     * @dev Returns an `BytesSlot` with member `value` located at `slot`.\n     */\n    function getBytesSlot(bytes32 slot) internal pure returns (BytesSlot storage r) {\n        /// @solidity memory-safe-assembly\n        assembly {\n            r.slot := slot\n        }\n    }\n\n    /**\n     * @dev Returns an `BytesSlot` representation of the bytes storage pointer `store`.\n     */\n    function getBytesSlot(bytes storage store) internal pure returns (BytesSlot storage r) {\n        /// @solidity memory-safe-assembly\n        assembly {\n            r.slot := store.slot\n        }\n    }\n}\n"},"lib/openzeppelin-contracts/contracts/token/ERC20/IERC20.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.0.0) (token/ERC20/IERC20.sol)\n\npragma solidity ^0.8.20;\n\n/**\n * @dev Interface of the ERC20 standard as defined in the EIP.\n */\ninterface IERC20 {\n    /**\n     * @dev Emitted when `value` tokens are moved from one account (`from`) to\n     * another (`to`).\n     *\n     * Note that `value` may be zero.\n     */\n    event Transfer(address indexed from, address indexed to, uint256 value);\n\n    /**\n     * @dev Emitted when the allowance of a `spender` for an `owner` is set by\n     * a call to {approve}. `value` is the new allowance.\n     */\n    event Approval(address indexed owner, address indexed spender, uint256 value);\n\n    /**\n     * @dev Returns the value of tokens in existence.\n     */\n    function totalSupply() external view returns (uint256);\n\n    /**\n     * @dev Returns the value of tokens owned by `account`.\n     */\n    function balanceOf(address account) external view returns (uint256);\n\n    /**\n     * @dev Moves a `value` amount of tokens from the caller's account to `to`.\n     *\n     * Returns a boolean value indicating whether the operation succeeded.\n     *\n     * Emits a {Transfer} event.\n     */\n    function transfer(address to, uint256 value) external returns (bool);\n\n    /**\n     * @dev Returns the remaining number of tokens that `spender` will be\n     * allowed to spend on behalf of `owner` through {transferFrom}. This is\n     * zero by default.\n     *\n     * This value changes when {approve} or {transferFrom} are called.\n     */\n    function allowance(address owner, address spender) external view returns (uint256);\n\n    /**\n     * @dev Sets a `value` amount of tokens as the allowance of `spender` over the\n     * caller's tokens.\n     *\n     * Returns a boolean value indicating whether the operation succeeded.\n     *\n     * IMPORTANT: Beware that changing an allowance with this method brings the risk\n     * that someone may use both the old and the new allowance by unfortunate\n     * transaction ordering. One possible solution to mitigate this race\n     * condition is to first reduce the spender's allowance to 0 and set the\n     * desired value afterwards:\n     * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729\n     *\n     * Emits an {Approval} event.\n     */\n    function approve(address spender, uint256 value) external returns (bool);\n\n    /**\n     * @dev Moves a `value` amount of tokens from `from` to `to` using the\n     * allowance mechanism. `value` is then deducted from the caller's\n     * allowance.\n     *\n     * Returns a boolean value indicating whether the operation succeeded.\n     *\n     * Emits a {Transfer} event.\n     */\n    function transferFrom(address from, address to, uint256 value) external returns (bool);\n}\n"},"lib/openzeppelin-contracts/contracts/interfaces/IERC4626.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.0.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 ERC4626 \"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"},"lib/openzeppelin-contracts/contracts/access/AccessControl.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 \"./IAccessControl.sol\";\nimport {Context} from \"../utils/Context.sol\";\nimport {ERC165} from \"../utils/introspection/ERC165.sol\";\n\n/**\n * @dev Contract module that allows children to implement role-based access\n * control mechanisms. This is a lightweight version that doesn't allow enumerating role\n * members except through off-chain means by accessing the contract event logs. Some\n * applications may benefit from on-chain enumerability, for those cases see\n * {AccessControlEnumerable}.\n *\n * Roles are referred to by their `bytes32` identifier. These should be exposed\n * in the external API and be unique. The best way to achieve this is by\n * using `public constant` hash digests:\n *\n * ```solidity\n * bytes32 public constant MY_ROLE = keccak256(\"MY_ROLE\");\n * ```\n *\n * Roles can be used to represent a set of permissions. To restrict access to a\n * function call, use {hasRole}:\n *\n * ```solidity\n * function foo() public {\n *     require(hasRole(MY_ROLE, msg.sender));\n *     ...\n * }\n * ```\n *\n * Roles can be granted and revoked dynamically via the {grantRole} and\n * {revokeRole} functions. Each role has an associated admin role, and only\n * accounts that have a role's admin role can call {grantRole} and {revokeRole}.\n *\n * By default, the admin role for all roles is `DEFAULT_ADMIN_ROLE`, which means\n * that only accounts with this role will be able to grant or revoke other\n * roles. More complex role relationships can be created by using\n * {_setRoleAdmin}.\n *\n * WARNING: The `DEFAULT_ADMIN_ROLE` is also its own admin: it has permission to\n * grant and revoke this role. Extra precautions should be taken to secure\n * accounts that have been granted it. We recommend using {AccessControlDefaultAdminRules}\n * to enforce additional security measures for this role.\n */\nabstract contract AccessControl is Context, IAccessControl, ERC165 {\n    struct RoleData {\n        mapping(address account => bool) hasRole;\n        bytes32 adminRole;\n    }\n\n    mapping(bytes32 role => RoleData) private _roles;\n\n    bytes32 public constant DEFAULT_ADMIN_ROLE = 0x00;\n\n    /**\n     * @dev Modifier that checks that an account has a specific role. Reverts\n     * with an {AccessControlUnauthorizedAccount} error including the required role.\n     */\n    modifier onlyRole(bytes32 role) {\n        _checkRole(role);\n        _;\n    }\n\n    /**\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        return _roles[role].hasRole[account];\n    }\n\n    /**\n     * @dev Reverts with an {AccessControlUnauthorizedAccount} error if `_msgSender()`\n     * is missing `role`. Overriding this function changes the behavior of the {onlyRole} modifier.\n     */\n    function _checkRole(bytes32 role) internal view virtual {\n        _checkRole(role, _msgSender());\n    }\n\n    /**\n     * @dev Reverts with an {AccessControlUnauthorizedAccount} error if `account`\n     * is missing `role`.\n     */\n    function _checkRole(bytes32 role, address account) internal view virtual {\n        if (!hasRole(role, account)) {\n            revert AccessControlUnauthorizedAccount(account, role);\n        }\n    }\n\n    /**\n     * @dev Returns the admin role that controls `role`. See {grantRole} and\n     * {revokeRole}.\n     *\n     * To change a role's admin, use {_setRoleAdmin}.\n     */\n    function getRoleAdmin(bytes32 role) public view virtual returns (bytes32) {\n        return _roles[role].adminRole;\n    }\n\n    /**\n     * @dev Grants `role` to `account`.\n     *\n     * If `account` had not been already granted `role`, emits a {RoleGranted}\n     * event.\n     *\n     * Requirements:\n     *\n     * - the caller must have ``role``'s admin role.\n     *\n     * May emit a {RoleGranted} event.\n     */\n    function grantRole(bytes32 role, address account) public virtual onlyRole(getRoleAdmin(role)) {\n        _grantRole(role, account);\n    }\n\n    /**\n     * @dev Revokes `role` from `account`.\n     *\n     * If `account` had been granted `role`, emits a {RoleRevoked} event.\n     *\n     * Requirements:\n     *\n     * - the caller must have ``role``'s admin role.\n     *\n     * May emit a {RoleRevoked} event.\n     */\n    function revokeRole(bytes32 role, address account) public virtual onlyRole(getRoleAdmin(role)) {\n        _revokeRole(role, account);\n    }\n\n    /**\n     * @dev Revokes `role` from the calling account.\n     *\n     * Roles are often managed via {grantRole} and {revokeRole}: this function's\n     * purpose is to provide a mechanism for accounts to lose their privileges\n     * if they are compromised (such as when a trusted device is misplaced).\n     *\n     * If the calling account had been revoked `role`, emits a {RoleRevoked}\n     * event.\n     *\n     * Requirements:\n     *\n     * - the caller must be `callerConfirmation`.\n     *\n     * May emit a {RoleRevoked} event.\n     */\n    function renounceRole(bytes32 role, address callerConfirmation) public virtual {\n        if (callerConfirmation != _msgSender()) {\n            revert AccessControlBadConfirmation();\n        }\n\n        _revokeRole(role, callerConfirmation);\n    }\n\n    /**\n     * @dev Sets `adminRole` as ``role``'s admin role.\n     *\n     * Emits a {RoleAdminChanged} event.\n     */\n    function _setRoleAdmin(bytes32 role, bytes32 adminRole) internal virtual {\n        bytes32 previousAdminRole = getRoleAdmin(role);\n        _roles[role].adminRole = adminRole;\n        emit RoleAdminChanged(role, previousAdminRole, adminRole);\n    }\n\n    /**\n     * @dev Attempts to grant `role` to `account` and returns a boolean indicating if `role` was granted.\n     *\n     * Internal function without access restriction.\n     *\n     * May emit a {RoleGranted} event.\n     */\n    function _grantRole(bytes32 role, address account) internal virtual returns (bool) {\n        if (!hasRole(role, account)) {\n            _roles[role].hasRole[account] = true;\n            emit RoleGranted(role, account, _msgSender());\n            return true;\n        } else {\n            return false;\n        }\n    }\n\n    /**\n     * @dev Attempts to revoke `role` 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        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"},"lib/openzeppelin-contracts/contracts/proxy/beacon/IBeacon.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.0.0) (proxy/beacon/IBeacon.sol)\n\npragma solidity ^0.8.20;\n\n/**\n * @dev This is the interface that {BeaconProxy} expects of its beacon.\n */\ninterface IBeacon {\n    /**\n     * @dev Must return an address that can be used as a delegate call target.\n     *\n     * {UpgradeableBeacon} will check that this address is a contract.\n     */\n    function implementation() external view returns (address);\n}\n"},"lib/openzeppelin-contracts/contracts/access/IAccessControl.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.0.0) (access/IAccessControl.sol)\n\npragma solidity ^0.8.20;\n\n/**\n * @dev External interface of AccessControl declared to support ERC165 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, an admin role\n     * bearer except when using {AccessControl-_setupRole}.\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"},"lib/openzeppelin-contracts/contracts/interfaces/draft-IERC1822.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.0.0) (interfaces/draft-IERC1822.sol)\n\npragma solidity ^0.8.20;\n\n/**\n * @dev ERC1822: Universal Upgradeable Proxy Standard (UUPS) documents a method for upgradeability through a simplified\n * proxy whose upgrades are fully controlled by the current implementation.\n */\ninterface IERC1822Proxiable {\n    /**\n     * @dev Returns the storage slot that the proxiable contract assumes is being used to store the implementation\n     * address.\n     *\n     * IMPORTANT: A proxy pointing at a proxiable contract should not be considered proxiable itself, because this risks\n     * bricking a proxy that upgrades to it, by delegating to itself until out of gas. Thus it is critical that this\n     * function revert if invoked through a proxy.\n     */\n    function proxiableUUID() external view returns (bytes32);\n}\n"},"lib/openzeppelin-contracts/contracts/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"},"lib/openzeppelin-contracts/contracts/proxy/ERC1967/ERC1967Utils.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.0.0) (proxy/ERC1967/ERC1967Utils.sol)\n\npragma solidity ^0.8.20;\n\nimport {IBeacon} from \"../beacon/IBeacon.sol\";\nimport {Address} from \"../../utils/Address.sol\";\nimport {StorageSlot} from \"../../utils/StorageSlot.sol\";\n\n/**\n * @dev This abstract contract provides getters and event emitting update functions for\n * https://eips.ethereum.org/EIPS/eip-1967[EIP1967] slots.\n */\nlibrary ERC1967Utils {\n    // We re-declare ERC-1967 events here because they can't be used directly from IERC1967.\n    // This will be fixed in Solidity 0.8.21. At that point we should remove these events.\n    /**\n     * @dev Emitted when the implementation is upgraded.\n     */\n    event Upgraded(address indexed implementation);\n\n    /**\n     * @dev Emitted when the admin account has changed.\n     */\n    event AdminChanged(address previousAdmin, address newAdmin);\n\n    /**\n     * @dev Emitted when the beacon is changed.\n     */\n    event BeaconUpgraded(address indexed beacon);\n\n    /**\n     * @dev Storage slot with the address of the current implementation.\n     * This is the keccak-256 hash of \"eip1967.proxy.implementation\" subtracted by 1.\n     */\n    // solhint-disable-next-line private-vars-leading-underscore\n    bytes32 internal constant IMPLEMENTATION_SLOT = 0x360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc;\n\n    /**\n     * @dev The `implementation` of the proxy is invalid.\n     */\n    error ERC1967InvalidImplementation(address implementation);\n\n    /**\n     * @dev The `admin` of the proxy is invalid.\n     */\n    error ERC1967InvalidAdmin(address admin);\n\n    /**\n     * @dev The `beacon` of the proxy is invalid.\n     */\n    error ERC1967InvalidBeacon(address beacon);\n\n    /**\n     * @dev An upgrade function sees `msg.value > 0` that may be lost.\n     */\n    error ERC1967NonPayable();\n\n    /**\n     * @dev Returns the current implementation address.\n     */\n    function getImplementation() internal view returns (address) {\n        return StorageSlot.getAddressSlot(IMPLEMENTATION_SLOT).value;\n    }\n\n    /**\n     * @dev Stores a new address in the EIP1967 implementation slot.\n     */\n    function _setImplementation(address newImplementation) private {\n        if (newImplementation.code.length == 0) {\n            revert ERC1967InvalidImplementation(newImplementation);\n        }\n        StorageSlot.getAddressSlot(IMPLEMENTATION_SLOT).value = newImplementation;\n    }\n\n    /**\n     * @dev Performs implementation upgrade with additional setup call if data is nonempty.\n     * This function is payable only if the setup call is performed, otherwise `msg.value` is rejected\n     * to avoid stuck value in the contract.\n     *\n     * Emits an {IERC1967-Upgraded} event.\n     */\n    function upgradeToAndCall(address newImplementation, bytes memory data) internal {\n        _setImplementation(newImplementation);\n        emit Upgraded(newImplementation);\n\n        if (data.length > 0) {\n            Address.functionDelegateCall(newImplementation, data);\n        } else {\n            _checkNonPayable();\n        }\n    }\n\n    /**\n     * @dev Storage slot with the admin of the contract.\n     * This is the keccak-256 hash of \"eip1967.proxy.admin\" subtracted by 1.\n     */\n    // solhint-disable-next-line private-vars-leading-underscore\n    bytes32 internal constant ADMIN_SLOT = 0xb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d6103;\n\n    /**\n     * @dev Returns the current admin.\n     *\n     * TIP: To get this value clients can read directly from the storage slot shown below (specified by EIP1967) using\n     * the https://eth.wiki/json-rpc/API#eth_getstorageat[`eth_getStorageAt`] RPC call.\n     * `0xb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d6103`\n     */\n    function getAdmin() internal view returns (address) {\n        return StorageSlot.getAddressSlot(ADMIN_SLOT).value;\n    }\n\n    /**\n     * @dev Stores a new address in the EIP1967 admin slot.\n     */\n    function _setAdmin(address newAdmin) private {\n        if (newAdmin == address(0)) {\n            revert ERC1967InvalidAdmin(address(0));\n        }\n        StorageSlot.getAddressSlot(ADMIN_SLOT).value = newAdmin;\n    }\n\n    /**\n     * @dev Changes the admin of the proxy.\n     *\n     * Emits an {IERC1967-AdminChanged} event.\n     */\n    function changeAdmin(address newAdmin) internal {\n        emit AdminChanged(getAdmin(), newAdmin);\n        _setAdmin(newAdmin);\n    }\n\n    /**\n     * @dev The storage slot of the UpgradeableBeacon contract which defines the implementation for this proxy.\n     * This is the keccak-256 hash of \"eip1967.proxy.beacon\" subtracted by 1.\n     */\n    // solhint-disable-next-line private-vars-leading-underscore\n    bytes32 internal constant BEACON_SLOT = 0xa3f0ad74e5423aebfd80d3ef4346578335a9a72aeaee59ff6cb3582b35133d50;\n\n    /**\n     * @dev Returns the current beacon.\n     */\n    function getBeacon() internal view returns (address) {\n        return StorageSlot.getAddressSlot(BEACON_SLOT).value;\n    }\n\n    /**\n     * @dev Stores a new beacon in the EIP1967 beacon slot.\n     */\n    function _setBeacon(address newBeacon) private {\n        if (newBeacon.code.length == 0) {\n            revert ERC1967InvalidBeacon(newBeacon);\n        }\n\n        StorageSlot.getAddressSlot(BEACON_SLOT).value = newBeacon;\n\n        address beaconImplementation = IBeacon(newBeacon).implementation();\n        if (beaconImplementation.code.length == 0) {\n            revert ERC1967InvalidImplementation(beaconImplementation);\n        }\n    }\n\n    /**\n     * @dev Change the beacon and trigger a setup call if data is nonempty.\n     * This function is payable only if the setup call is performed, otherwise `msg.value` is rejected\n     * to avoid stuck value in the contract.\n     *\n     * Emits an {IERC1967-BeaconUpgraded} event.\n     *\n     * CAUTION: Invoking this function has no effect on an instance of {BeaconProxy} since v5, since\n     * it uses an immutable beacon without looking at the value of the ERC-1967 beacon slot for\n     * efficiency.\n     */\n    function upgradeBeaconToAndCall(address newBeacon, bytes memory data) internal {\n        _setBeacon(newBeacon);\n        emit BeaconUpgraded(newBeacon);\n\n        if (data.length > 0) {\n            Address.functionDelegateCall(IBeacon(newBeacon).implementation(), data);\n        } else {\n            _checkNonPayable();\n        }\n    }\n\n    /**\n     * @dev Reverts if `msg.value` is not zero. It can be used to avoid `msg.value` stuck in the contract\n     * if an upgrade doesn't perform an initialization call.\n     */\n    function _checkNonPayable() private {\n        if (msg.value > 0) {\n            revert ERC1967NonPayable();\n        }\n    }\n}\n"},"lib/openzeppelin-contracts/contracts/utils/introspection/ERC165.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.0.0) (utils/introspection/ERC165.sol)\n\npragma solidity ^0.8.20;\n\nimport {IERC165} from \"./IERC165.sol\";\n\n/**\n * @dev Implementation of the {IERC165} interface.\n *\n * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check\n * for the additional interface id that will be supported. For example:\n *\n * ```solidity\n * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {\n *     return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId);\n * }\n * ```\n */\nabstract contract ERC165 is IERC165 {\n    /**\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"},"lib/openzeppelin-contracts/contracts/proxy/utils/UUPSUpgradeable.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.0.0) (proxy/utils/UUPSUpgradeable.sol)\n\npragma solidity ^0.8.20;\n\nimport {IERC1822Proxiable} from \"../../interfaces/draft-IERC1822.sol\";\nimport {ERC1967Utils} from \"../ERC1967/ERC1967Utils.sol\";\n\n/**\n * @dev An upgradeability mechanism designed for UUPS proxies. The functions included here can perform an upgrade of an\n * {ERC1967Proxy}, when this contract is set as the implementation behind such a proxy.\n *\n * A security mechanism ensures that an upgrade does not turn off upgradeability accidentally, although this risk is\n * reinstated if the upgrade retains upgradeability but removes the security mechanism, e.g. by replacing\n * `UUPSUpgradeable` with a custom implementation of upgrades.\n *\n * The {_authorizeUpgrade} function must be overridden to include access restriction to the upgrade mechanism.\n */\nabstract contract UUPSUpgradeable is IERC1822Proxiable {\n    /// @custom:oz-upgrades-unsafe-allow state-variable-immutable\n    address private immutable __self = address(this);\n\n    /**\n     * @dev The version of the upgrade interface of the contract. If this getter is missing, both `upgradeTo(address)`\n     * and `upgradeToAndCall(address,bytes)` are present, and `upgradeTo` must be used if no function should be called,\n     * while `upgradeToAndCall` will invoke the `receive` function if the second argument is the empty byte string.\n     * If the getter returns `\"5.0.0\"`, only `upgradeToAndCall(address,bytes)` is present, and the second argument must\n     * be the empty byte string if no function should be called, making it impossible to invoke the `receive` function\n     * during an upgrade.\n     */\n    string public constant UPGRADE_INTERFACE_VERSION = \"5.0.0\";\n\n    /**\n     * @dev The call is from an unauthorized context.\n     */\n    error UUPSUnauthorizedCallContext();\n\n    /**\n     * @dev The storage `slot` is unsupported as a UUID.\n     */\n    error UUPSUnsupportedProxiableUUID(bytes32 slot);\n\n    /**\n     * @dev Check that the execution is being performed through a delegatecall call and that the execution context is\n     * a proxy contract with an implementation (as defined in ERC1967) pointing to self. This should only be the case\n     * for UUPS and transparent proxies that are using the current contract as their implementation. Execution of a\n     * function through ERC1167 minimal proxies (clones) would not normally pass this test, but is not guaranteed to\n     * fail.\n     */\n    modifier onlyProxy() {\n        _checkProxy();\n        _;\n    }\n\n    /**\n     * @dev Check that the execution is not being performed through a delegate call. This allows a function to be\n     * callable on the implementing contract but not through proxies.\n     */\n    modifier notDelegated() {\n        _checkNotDelegated();\n        _;\n    }\n\n    /**\n     * @dev Implementation of the ERC1822 {proxiableUUID} function. This returns the storage slot used by the\n     * implementation. It is used to validate the implementation's compatibility when performing an upgrade.\n     *\n     * IMPORTANT: A proxy pointing at a proxiable contract should not be considered proxiable itself, because this risks\n     * bricking a proxy that upgrades to it, by delegating to itself until out of gas. Thus it is critical that this\n     * function revert if invoked through a proxy. This is guaranteed by the `notDelegated` modifier.\n     */\n    function proxiableUUID() external view virtual notDelegated returns (bytes32) {\n        return ERC1967Utils.IMPLEMENTATION_SLOT;\n    }\n\n    /**\n     * @dev Upgrade the implementation of the proxy to `newImplementation`, and subsequently execute the function call\n     * encoded in `data`.\n     *\n     * Calls {_authorizeUpgrade}.\n     *\n     * Emits an {Upgraded} event.\n     *\n     * @custom:oz-upgrades-unsafe-allow-reachable delegatecall\n     */\n    function upgradeToAndCall(address newImplementation, bytes memory data) public payable virtual onlyProxy {\n        _authorizeUpgrade(newImplementation);\n        _upgradeToAndCallUUPS(newImplementation, data);\n    }\n\n    /**\n     * @dev Reverts if the execution is not performed via delegatecall or the execution\n     * context is not of a proxy with an ERC1967-compliant implementation pointing to self.\n     * See {_onlyProxy}.\n     */\n    function _checkProxy() internal view virtual {\n        if (\n            address(this) == __self || // Must be called through delegatecall\n            ERC1967Utils.getImplementation() != __self // Must be called through an active proxy\n        ) {\n            revert UUPSUnauthorizedCallContext();\n        }\n    }\n\n    /**\n     * @dev Reverts if the execution is performed via delegatecall.\n     * See {notDelegated}.\n     */\n    function _checkNotDelegated() internal view virtual {\n        if (address(this) != __self) {\n            // Must not be called through delegatecall\n            revert UUPSUnauthorizedCallContext();\n        }\n    }\n\n    /**\n     * @dev Function that should revert when `msg.sender` is not authorized to upgrade the contract. Called by\n     * {upgradeToAndCall}.\n     *\n     * Normally, this function will use an xref:access.adoc[access control] modifier such as {Ownable-onlyOwner}.\n     *\n     * ```solidity\n     * function _authorizeUpgrade(address) internal onlyOwner {}\n     * ```\n     */\n    function _authorizeUpgrade(address newImplementation) internal virtual;\n\n    /**\n     * @dev Performs an implementation upgrade with a security check for UUPS proxies, and additional setup call.\n     *\n     * As a security check, {proxiableUUID} is invoked in the new implementation, and the return value\n     * is expected to be the implementation slot in ERC1967.\n     *\n     * Emits an {IERC1967-Upgraded} event.\n     */\n    function _upgradeToAndCallUUPS(address newImplementation, bytes memory data) private {\n        try IERC1822Proxiable(newImplementation).proxiableUUID() returns (bytes32 slot) {\n            if (slot != ERC1967Utils.IMPLEMENTATION_SLOT) {\n                revert UUPSUnsupportedProxiableUUID(slot);\n            }\n            ERC1967Utils.upgradeToAndCall(newImplementation, data);\n        } catch {\n            // The implementation is not UUPS\n            revert ERC1967Utils.ERC1967InvalidImplementation(newImplementation);\n        }\n    }\n}\n"},"lib/openzeppelin-contracts/contracts/token/ERC20/utils/SafeERC20.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.0.0) (token/ERC20/utils/SafeERC20.sol)\n\npragma solidity ^0.8.20;\n\nimport {IERC20} from \"../IERC20.sol\";\nimport {IERC20Permit} from \"../extensions/IERC20Permit.sol\";\nimport {Address} from \"../../../utils/Address.sol\";\n\n/**\n * @title SafeERC20\n * @dev Wrappers around ERC20 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    using Address for address;\n\n    /**\n     * @dev An operation with an ERC20 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    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    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    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 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    function _callOptionalReturn(IERC20 token, bytes memory data) private {\n        // We need to perform a low level call here, to bypass Solidity's return data size checking mechanism, since\n        // we're implementing it ourselves. We use {Address-functionCall} to perform this call, which verifies that\n        // the target address contains contract code and also asserts for success in the low-level call.\n\n        bytes memory returndata = address(token).functionCall(data);\n        if (returndata.length != 0 && !abi.decode(returndata, (bool))) {\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 silents catches all reverts and returns a bool instead.\n     */\n    function _callOptionalReturnBool(IERC20 token, bytes memory data) private returns (bool) {\n        // We need to perform a low level call here, to bypass Solidity's return data size checking mechanism, since\n        // we're implementing it ourselves. We cannot use {Address-functionCall} here since this should return false\n        // and not revert is the subcall reverts.\n\n        (bool success, bytes memory returndata) = address(token).call(data);\n        return success && (returndata.length == 0 || abi.decode(returndata, (bool))) && address(token).code.length > 0;\n    }\n}\n"},"lib/openzeppelin-contracts/contracts/utils/introspection/IERC165.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.0.0) (utils/introspection/IERC165.sol)\n\npragma solidity ^0.8.20;\n\n/**\n * @dev Interface of the ERC165 standard, as defined in the\n * https://eips.ethereum.org/EIPS/eip-165[EIP].\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[EIP section]\n     * to learn more about how these ids are created.\n     *\n     * This function call must use less than 30 000 gas.\n     */\n    function supportsInterface(bytes4 interfaceId) external view returns (bool);\n}\n"},"lib/openzeppelin-contracts/contracts/token/ERC20/extensions/IERC20Permit.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.0.0) (token/ERC20/extensions/IERC20Permit.sol)\n\npragma solidity ^0.8.20;\n\n/**\n * @dev Interface of the ERC20 Permit extension allowing approvals to be made via signatures, as defined in\n * https://eips.ethereum.org/EIPS/eip-2612[EIP-2612].\n *\n * Adds the {permit} method, which can be used to change an account's ERC20 allowance (see {IERC20-allowance}) by\n * presenting a message signed by the account. By not relying on {IERC20-approve}, the token holder account doesn't\n * need to send a transaction, and thus is not required to hold Ether at all.\n *\n * ==== Security Considerations\n *\n * There are two important considerations concerning the use of `permit`. The first is that a valid permit signature\n * expresses an allowance, and it should not be assumed to convey additional meaning. In particular, it should not be\n * considered as an intention to spend the allowance in any specific way. The second is that because permits have\n * built-in replay protection and can be submitted by anyone, they can be frontrun. A protocol that uses permits should\n * take this into consideration and allow a `permit` call to fail. Combining these two aspects, a pattern that may be\n * generally recommended is:\n *\n * ```solidity\n * function doThingWithPermit(..., uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s) public {\n *     try token.permit(msg.sender, address(this), value, deadline, v, r, s) {} catch {}\n *     doThing(..., value);\n * }\n *\n * function doThing(..., uint256 value) public {\n *     token.safeTransferFrom(msg.sender, address(this), value);\n *     ...\n * }\n * ```\n *\n * Observe that: 1) `msg.sender` is used as the owner, leaving no ambiguity as to the signer intent, and 2) the use of\n * `try/catch` allows the permit to fail and makes the code tolerant to frontrunning. (See also\n * {SafeERC20-safeTransferFrom}).\n *\n * Additionally, note that smart contract wallets (such as Argent or Safe) are not able to produce permit signatures, so\n * contracts should have entry points that don't rely on permit.\n */\ninterface IERC20Permit {\n    /**\n     * @dev Sets `value` as the allowance of `spender` over ``owner``'s tokens,\n     * given ``owner``'s signed approval.\n     *\n     * IMPORTANT: The same issues {IERC20-approve} has related to transaction\n     * ordering also apply here.\n     *\n     * Emits an {Approval} event.\n     *\n     * Requirements:\n     *\n     * - `spender` cannot be the zero address.\n     * - `deadline` must be a timestamp in the future.\n     * - `v`, `r` and `s` must be a valid `secp256k1` signature from `owner`\n     * over the EIP712-formatted function arguments.\n     * - the signature must use ``owner``'s current nonce (see {nonces}).\n     *\n     * For more information on the signature format, see the\n     * https://eips.ethereum.org/EIPS/eip-2612#specification[relevant EIP\n     * section].\n     *\n     * CAUTION: See Security Considerations above.\n     */\n    function permit(\n        address owner,\n        address spender,\n        uint256 value,\n        uint256 deadline,\n        uint8 v,\n        bytes32 r,\n        bytes32 s\n    ) external;\n\n    /**\n     * @dev Returns the current nonce for `owner`. This value must be\n     * included whenever a signature is generated for {permit}.\n     *\n     * Every successful call to {permit} increases ``owner``'s nonce by one. This\n     * prevents a signature from being used multiple times.\n     */\n    function nonces(address owner) external view returns (uint256);\n\n    /**\n     * @dev Returns the domain separator used in the encoding of the signature for {permit}, as defined by {EIP712}.\n     */\n    // solhint-disable-next-line func-name-mixedcase\n    function DOMAIN_SEPARATOR() external view returns (bytes32);\n}\n"},"lib/openzeppelin-contracts/contracts/token/ERC20/extensions/IERC20Metadata.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.0.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 ERC20 standard.\n */\ninterface IERC20Metadata is IERC20 {\n    /**\n     * @dev Returns the name of the token.\n     */\n    function name() external view returns (string memory);\n\n    /**\n     * @dev Returns the symbol of the token.\n     */\n    function symbol() external view returns (string memory);\n\n    /**\n     * @dev Returns the decimals places of the token.\n     */\n    function decimals() external view returns (uint8);\n}\n"}},"language":"Solidity","settings":{"viaIR":true,"metadata":{"appendCBOR":true,"bytecodeHash":"ipfs","useLiteralContent":false},"optimizer":{"runs":100,"enabled":true},"evmVersion":"prague","remappings":["@openzeppelin/contracts/=lib/openzeppelin-contracts/contracts/","ds-auth/=lib/dss-psm/lib/dss/lib/ds-token/lib/ds-auth/src/","ds-math/=lib/dss-psm/lib/dss/lib/ds-token/lib/ds-math/src/","ds-note/=lib/dss-psm/lib/dss/lib/ds-value/lib/ds-thing/lib/ds-note/src/","ds-test/=lib/forge-std/lib/ds-test/src/","ds-thing/=lib/dss-psm/lib/dss/lib/ds-value/lib/ds-thing/src/","ds-token/=lib/dss-psm/lib/dss/lib/ds-token/src/","ds-value/=lib/dss-psm/lib/dss/lib/ds-value/src/","dss-interfaces/=lib/dss-psm/lib/dss-interfaces/src/","dss-psm/=lib/dss-psm/src/","dss/=lib/dss-psm/lib/dss/src/","erc4626-tests/=lib/openzeppelin-contracts/lib/erc4626-tests/","forge-std/=lib/forge-std/src/","morpho-blue-oracles/=lib/morpho-blue-oracles/src/","@morpho-blue-oracles/=lib/morpho-blue-oracles/","morpho-blue/=lib/morpho-blue/src/","vault-v2/=lib/vault-v2/src/","openzeppelin-contracts/=lib/openzeppelin-contracts/contracts/","@uniswap/v3-periphery/=lib/v3-periphery/","@uniswap/v3-core/=lib/v3-core/","@pendle-core-v2/=lib/pendle-core-v2-public/contracts/","@slipstream/contracts/=lib/slipstream/contracts/","contracts/=lib/slipstream/contracts/","@ensdomains/=lib/slipstream/node_modules/@ensdomains/","@nomad-xyz/=lib/slipstream/lib/ExcessivelySafeCall/","@openzeppelin/contracts-upgradeable/=lib/openzeppelin-contracts-upgradeable/contracts/","@solidity-parser/=lib/slipstream/node_modules/solhint/node_modules/@solidity-parser/","ExcessivelySafeCall/=lib/slipstream/lib/ExcessivelySafeCall/src/","base64-sol/=lib/slipstream/lib/base64/","base64/=lib/slipstream/lib/base64/","halmos-cheatcodes/=lib/openzeppelin-contracts-upgradeable/lib/halmos-cheatcodes/src/","hardhat/=lib/slipstream/node_modules/hardhat/","metamorpho-v1.1/=lib/vault-v2/lib/metamorpho-v1.1/","metamorpho/=lib/vault-v2/lib/metamorpho/","morpho-blue-irm/=lib/vault-v2/lib/morpho-blue-irm/","openzeppelin-contracts-upgradeable/=lib/openzeppelin-contracts-upgradeable/","pendle-core-v2-public/=lib/pendle-core-v2-public/contracts/","slipstream/=lib/slipstream/","solidity-lib/=lib/slipstream/lib/solidity-lib/contracts/","solmate/=lib/vault-v2/lib/morpho-blue-irm/lib/solmate/src/","steakhouse-oracles/=lib/steakhouse-oracles/src/","v3-core/=lib/v3-core/","v3-periphery/=lib/v3-periphery/contracts/"]}},"stdJsonOutput":{"sources":{"src/mv2/interfaces/IBox.sol":{"id":23},"src/mv2/VaultV2Allocator.sol":{"id":22},"src/mv2/interfaces/IOracle.sol":{"id":25},"src/mv2/interfaces/IFunding.sol":{"id":24},"src/mv2/interfaces/ISwapper.sol":{"id":26},"src/mv2/libraries/ErrorsLib.sol":{"id":27},"lib/vault-v2/src/interfaces/IERC20.sol":{"id":18},"lib/vault-v2/src/interfaces/IERC2612.sol":{"id":19},"lib/vault-v2/src/interfaces/IERC4626.sol":{"id":20},"lib/vault-v2/src/interfaces/IVaultV2.sol":{"id":21},"lib/morpho-blue/src/interfaces/IMorpho.sol":{"id":0},"lib/openzeppelin-contracts/contracts/utils/Address.sol":{"id":13},"lib/openzeppelin-contracts/contracts/utils/Context.sol":{"id":14},"lib/openzeppelin-contracts/contracts/utils/StorageSlot.sol":{"id":15},"lib/openzeppelin-contracts/contracts/token/ERC20/IERC20.sol":{"id":9},"lib/openzeppelin-contracts/contracts/interfaces/IERC4626.sol":{"id":3},"lib/openzeppelin-contracts/contracts/access/AccessControl.sol":{"id":1},"lib/openzeppelin-contracts/contracts/proxy/beacon/IBeacon.sol":{"id":6},"lib/openzeppelin-contracts/contracts/access/IAccessControl.sol":{"id":2},"lib/openzeppelin-contracts/contracts/interfaces/draft-IERC1822.sol":{"id":4},"lib/openzeppelin-contracts/contracts/proxy/utils/Initializable.sol":{"id":7},"lib/openzeppelin-contracts/contracts/proxy/ERC1967/ERC1967Utils.sol":{"id":5},"lib/openzeppelin-contracts/contracts/utils/introspection/ERC165.sol":{"id":16},"lib/openzeppelin-contracts/contracts/proxy/utils/UUPSUpgradeable.sol":{"id":8},"lib/openzeppelin-contracts/contracts/token/ERC20/utils/SafeERC20.sol":{"id":12},"lib/openzeppelin-contracts/contracts/utils/introspection/IERC165.sol":{"id":17},"lib/openzeppelin-contracts/contracts/token/ERC20/extensions/IERC20Permit.sol":{"id":11},"lib/openzeppelin-contracts/contracts/token/ERC20/extensions/IERC20Metadata.sol":{"id":10}},"contracts":{"src/mv2/VaultV2Allocator.sol":{"VaultV2Allocator":{"abi":[{"type":"constructor","inputs":[],"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":"AddressInsufficientBalance","type":"error","inputs":[{"name":"account","type":"address","internalType":"address"}]},{"name":"ERC1967InvalidImplementation","type":"error","inputs":[{"name":"implementation","type":"address","internalType":"address"}]},{"name":"ERC1967NonPayable","type":"error","inputs":[]},{"name":"FailedInnerCall","type":"error","inputs":[]},{"name":"InvalidInitialization","type":"error","inputs":[]},{"name":"NotInitializing","type":"error","inputs":[]},{"name":"OnlyBox","type":"error","inputs":[]},{"name":"OnlyMorpho","type":"error","inputs":[]},{"name":"SafeERC20FailedOperation","type":"error","inputs":[{"name":"token","type":"address","internalType":"address"}]},{"name":"UUPSUnauthorizedCallContext","type":"error","inputs":[]},{"name":"UUPSUnsupportedProxiableUUID","type":"error","inputs":[{"name":"slot","type":"bytes32","internalType":"bytes32"}]},{"name":"Initialized","type":"event","inputs":[{"name":"version","type":"uint64","indexed":false,"internalType":"uint64"}],"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":"Upgraded","type":"event","inputs":[{"name":"implementation","type":"address","indexed":true,"internalType":"address"}],"anonymous":false},{"name":"DEFAULT_ADMIN_ROLE","type":"function","inputs":[],"outputs":[{"name":"","type":"bytes32","internalType":"bytes32"}],"stateMutability":"view"},{"name":"OPERATOR_ROLE","type":"function","inputs":[],"outputs":[{"name":"","type":"bytes32","internalType":"bytes32"}],"stateMutability":"view"},{"name":"UPGRADE_INTERFACE_VERSION","type":"function","inputs":[],"outputs":[{"name":"","type":"string","internalType":"string"}],"stateMutability":"view"},{"name":"allocateBox","type":"function","inputs":[{"name":"box","type":"address","internalType":"contract IBox"},{"name":"toToken","type":"address","internalType":"contract IERC20"},{"name":"amount","type":"uint256","internalType":"uint256"},{"name":"swapper","type":"address","internalType":"contract ISwapper"},{"name":"swapData","type":"bytes","internalType":"bytes"},{"name":"minExpected","type":"uint256","internalType":"uint256"}],"outputs":[{"name":"result","type":"tuple","components":[{"name":"expected","type":"uint256","internalType":"uint256"},{"name":"received","type":"uint256","internalType":"uint256"},{"name":"slippageBefore","type":"uint256","internalType":"uint256"},{"name":"slippageAfter","type":"uint256","internalType":"uint256"}],"internalType":"struct SwapResult"}],"stateMutability":"nonpayable"},{"name":"allocateToken","type":"function","inputs":[{"name":"vault","type":"address","internalType":"contract IVaultV2"},{"name":"adapter","type":"address","internalType":"address"},{"name":"box","type":"address","internalType":"contract IBox"},{"name":"toToken","type":"address","internalType":"contract IERC20"},{"name":"amount","type":"uint256","internalType":"uint256"},{"name":"swapper","type":"address","internalType":"contract ISwapper"},{"name":"swapData","type":"bytes","internalType":"bytes"},{"name":"minExpected","type":"uint256","internalType":"uint256"}],"outputs":[{"name":"result","type":"tuple","components":[{"name":"expected","type":"uint256","internalType":"uint256"},{"name":"received","type":"uint256","internalType":"uint256"},{"name":"slippageBefore","type":"uint256","internalType":"uint256"},{"name":"slippageAfter","type":"uint256","internalType":"uint256"}],"internalType":"struct SwapResult"}],"stateMutability":"nonpayable"},{"name":"allocateVault","type":"function","inputs":[{"name":"vault","type":"address","internalType":"contract IVaultV2"},{"name":"adapter","type":"address","internalType":"address"},{"name":"amount","type":"uint256","internalType":"uint256"}],"outputs":[],"stateMutability":"nonpayable"},{"name":"borrowBox","type":"function","inputs":[{"name":"box","type":"address","internalType":"contract IBox"},{"name":"fundingModule","type":"address","internalType":"contract IFunding"},{"name":"facilityData","type":"bytes","internalType":"bytes"},{"name":"borrowToken","type":"address","internalType":"contract IERC20"},{"name":"borrowAmount","type":"uint256","internalType":"uint256"}],"outputs":[],"stateMutability":"nonpayable"},{"name":"deallocateBox","type":"function","inputs":[{"name":"box","type":"address","internalType":"contract IBox"},{"name":"fromToken","type":"address","internalType":"contract IERC20"},{"name":"amount","type":"uint256","internalType":"uint256"},{"name":"swapper","type":"address","internalType":"contract ISwapper"},{"name":"swapData","type":"bytes","internalType":"bytes"},{"name":"minExpected","type":"uint256","internalType":"uint256"}],"outputs":[{"name":"result","type":"tuple","components":[{"name":"expected","type":"uint256","internalType":"uint256"},{"name":"received","type":"uint256","internalType":"uint256"},{"name":"slippageBefore","type":"uint256","internalType":"uint256"},{"name":"slippageAfter","type":"uint256","internalType":"uint256"}],"internalType":"struct SwapResult"}],"stateMutability":"nonpayable"},{"name":"deallocateToken","type":"function","inputs":[{"name":"vault","type":"address","internalType":"contract IVaultV2"},{"name":"adapter","type":"address","internalType":"address"},{"name":"box","type":"address","internalType":"contract IBox"},{"name":"fromToken","type":"address","internalType":"contract IERC20"},{"name":"amount","type":"uint256","internalType":"uint256"},{"name":"swapper","type":"address","internalType":"contract ISwapper"},{"name":"swapData","type":"bytes","internalType":"bytes"},{"name":"minExpected","type":"uint256","internalType":"uint256"}],"outputs":[{"name":"result","type":"tuple","components":[{"name":"expected","type":"uint256","internalType":"uint256"},{"name":"received","type":"uint256","internalType":"uint256"},{"name":"slippageBefore","type":"uint256","internalType":"uint256"},{"name":"slippageAfter","type":"uint256","internalType":"uint256"}],"internalType":"struct SwapResult"}],"stateMutability":"nonpayable"},{"name":"deallocateVault","type":"function","inputs":[{"name":"vault","type":"address","internalType":"contract IVaultV2"},{"name":"adapter","type":"address","internalType":"address"},{"name":"amount","type":"uint256","internalType":"uint256"}],"outputs":[],"stateMutability":"nonpayable"},{"name":"deallocateVaultWithData","type":"function","inputs":[{"name":"vault","type":"address","internalType":"contract IVaultV2"},{"name":"adapter","type":"address","internalType":"address"},{"name":"data","type":"bytes","internalType":"bytes"},{"name":"amount","type":"uint256","internalType":"uint256"}],"outputs":[],"stateMutability":"nonpayable"},{"name":"deleverage","type":"function","inputs":[{"name":"morpho","type":"address","internalType":"contract IMorpho"},{"name":"box","type":"address","internalType":"contract IBox"},{"name":"fundingModule","type":"address","internalType":"contract IFunding"},{"name":"facilityData","type":"bytes","internalType":"bytes"},{"name":"swapper","type":"address","internalType":"contract ISwapper"},{"name":"swapData","type":"bytes","internalType":"bytes"},{"name":"collateralToken","type":"address","internalType":"contract IERC20"},{"name":"collateralAmount","type":"uint256","internalType":"uint256"},{"name":"loanToken","type":"address","internalType":"contract IERC20"},{"name":"loanAmount","type":"uint256","internalType":"uint256"}],"outputs":[{"name":"result","type":"tuple","components":[{"name":"expected","type":"uint256","internalType":"uint256"},{"name":"received","type":"uint256","internalType":"uint256"},{"name":"slippageBefore","type":"uint256","internalType":"uint256"},{"name":"slippageAfter","type":"uint256","internalType":"uint256"}],"internalType":"struct SwapResult"}],"stateMutability":"nonpayable"},{"name":"depledgeBox","type":"function","inputs":[{"name":"box","type":"address","internalType":"contract IBox"},{"name":"fundingModule","type":"address","internalType":"contract IFunding"},{"name":"facilityData","type":"bytes","internalType":"bytes"},{"name":"collateralToken","type":"address","internalType":"contract IERC20"},{"name":"collateralAmount","type":"uint256","internalType":"uint256"}],"outputs":[],"stateMutability":"nonpayable"},{"name":"getRoleAdmin","type":"function","inputs":[{"name":"role","type":"bytes32","internalType":"bytes32"}],"outputs":[{"name":"","type":"bytes32","internalType":"bytes32"}],"stateMutability":"view"},{"name":"grantRole","type":"function","inputs":[{"name":"role","type":"bytes32","internalType":"bytes32"},{"name":"account","type":"address","internalType":"address"}],"outputs":[],"stateMutability":"nonpayable"},{"name":"hasRole","type":"function","inputs":[{"name":"role","type":"bytes32","internalType":"bytes32"},{"name":"account","type":"address","internalType":"address"}],"outputs":[{"name":"","type":"bool","internalType":"bool"}],"stateMutability":"view"},{"name":"initialize","type":"function","inputs":[{"name":"initialAdmin","type":"address","internalType":"address"}],"outputs":[],"stateMutability":"nonpayable"},{"name":"leverage","type":"function","inputs":[{"name":"morpho","type":"address","internalType":"contract IMorpho"},{"name":"box","type":"address","internalType":"contract IBox"},{"name":"fundingModule","type":"address","internalType":"contract IFunding"},{"name":"facilityData","type":"bytes","internalType":"bytes"},{"name":"swapper","type":"address","internalType":"contract ISwapper"},{"name":"swapData","type":"bytes","internalType":"bytes"},{"name":"collateralToken","type":"address","internalType":"contract IERC20"},{"name":"loanToken","type":"address","internalType":"contract IERC20"},{"name":"loanAmount","type":"uint256","internalType":"uint256"}],"outputs":[{"name":"result","type":"tuple","components":[{"name":"expected","type":"uint256","internalType":"uint256"},{"name":"received","type":"uint256","internalType":"uint256"},{"name":"slippageBefore","type":"uint256","internalType":"uint256"},{"name":"slippageAfter","type":"uint256","internalType":"uint256"}],"internalType":"struct SwapResult"}],"stateMutability":"nonpayable"},{"name":"onBoxFlash","type":"function","inputs":[{"name":"","type":"address","internalType":"contract IERC20"},{"name":"","type":"uint256","internalType":"uint256"},{"name":"data","type":"bytes","internalType":"bytes"}],"outputs":[],"stateMutability":"nonpayable"},{"name":"onMorphoFlashLoan","type":"function","inputs":[{"name":"assets","type":"uint256","internalType":"uint256"},{"name":"data","type":"bytes","internalType":"bytes"}],"outputs":[],"stateMutability":"nonpayable"},{"name":"pledgeBox","type":"function","inputs":[{"name":"box","type":"address","internalType":"contract IBox"},{"name":"fundingModule","type":"address","internalType":"contract IFunding"},{"name":"facilityData","type":"bytes","internalType":"bytes"},{"name":"collateralToken","type":"address","internalType":"contract IERC20"},{"name":"collateralAmount","type":"uint256","internalType":"uint256"}],"outputs":[],"stateMutability":"nonpayable"},{"name":"proxiableUUID","type":"function","inputs":[],"outputs":[{"name":"","type":"bytes32","internalType":"bytes32"}],"stateMutability":"view"},{"name":"reallocateBox","type":"function","inputs":[{"name":"box","type":"address","internalType":"contract IBox"},{"name":"fromToken","type":"address","internalType":"contract IERC20"},{"name":"toToken","type":"address","internalType":"contract IERC20"},{"name":"amount","type":"uint256","internalType":"uint256"},{"name":"swapper","type":"address","internalType":"contract ISwapper"},{"name":"swapData","type":"bytes","internalType":"bytes"},{"name":"minExpected","type":"uint256","internalType":"uint256"}],"outputs":[{"name":"result","type":"tuple","components":[{"name":"expected","type":"uint256","internalType":"uint256"},{"name":"received","type":"uint256","internalType":"uint256"},{"name":"slippageBefore","type":"uint256","internalType":"uint256"},{"name":"slippageAfter","type":"uint256","internalType":"uint256"}],"internalType":"struct SwapResult"}],"stateMutability":"nonpayable"},{"name":"reallocateVault","type":"function","inputs":[{"name":"vault","type":"address","internalType":"contract IVaultV2"},{"name":"fromAdapter","type":"address","internalType":"address"},{"name":"fromData","type":"bytes","internalType":"bytes"},{"name":"toAdapter","type":"address","internalType":"address"},{"name":"toData","type":"bytes","internalType":"bytes"},{"name":"amount","type":"uint256","internalType":"uint256"}],"outputs":[],"stateMutability":"nonpayable"},{"name":"refinance","type":"function","inputs":[{"name":"morpho","type":"address","internalType":"contract IMorpho"},{"name":"box","type":"address","internalType":"contract IBox"},{"name":"fromFundingModule","type":"address","internalType":"contract IFunding"},{"name":"fromFacilityData","type":"bytes","internalType":"bytes"},{"name":"toFundingModule","type":"address","internalType":"contract IFunding"},{"name":"toFacilityData","type":"bytes","internalType":"bytes"},{"name":"collateralToken","type":"address","internalType":"contract IERC20"},{"name":"collateralAmount","type":"uint256","internalType":"uint256"},{"name":"loanToken","type":"address","internalType":"contract IERC20"},{"name":"loanAmount","type":"uint256","internalType":"uint256"}],"outputs":[],"stateMutability":"nonpayable"},{"name":"refinanceSwapCollateral","type":"function","inputs":[{"name":"morpho","type":"address","internalType":"contract IMorpho"},{"name":"box","type":"address","internalType":"contract IBox"},{"name":"fromFundingModule","type":"address","internalType":"contract IFunding"},{"name":"fromFacilityData","type":"bytes","internalType":"bytes"},{"name":"toFundingModule","type":"address","internalType":"contract IFunding"},{"name":"toFacilityData","type":"bytes","internalType":"bytes"},{"name":"fromCollateralToken","type":"address","internalType":"contract IERC20"},{"name":"fromCollateralAmount","type":"uint256","internalType":"uint256"},{"name":"toCollateralToken","type":"address","internalType":"contract IERC20"},{"name":"loanToken","type":"address","internalType":"contract IERC20"},{"name":"loanAmount","type":"uint256","internalType":"uint256"},{"name":"swapper","type":"address","internalType":"contract ISwapper"},{"name":"swapData","type":"bytes","internalType":"bytes"}],"outputs":[{"name":"","type":"tuple","components":[{"name":"expected","type":"uint256","internalType":"uint256"},{"name":"received","type":"uint256","internalType":"uint256"},{"name":"slippageBefore","type":"uint256","internalType":"uint256"},{"name":"slippageAfter","type":"uint256","internalType":"uint256"}],"internalType":"struct SwapResult"}],"stateMutability":"nonpayable"},{"name":"refinanceSwapLoan","type":"function","inputs":[{"name":"morpho","type":"address","internalType":"contract IMorpho"},{"name":"box","type":"address","internalType":"contract IBox"},{"name":"fromFundingModule","type":"address","internalType":"contract IFunding"},{"name":"fromFacilityData","type":"bytes","internalType":"bytes"},{"name":"toFundingModule","type":"address","internalType":"contract IFunding"},{"name":"toFacilityData","type":"bytes","internalType":"bytes"},{"name":"collateralToken","type":"address","internalType":"contract IERC20"},{"name":"collateralAmount","type":"uint256","internalType":"uint256"},{"name":"fromLoanToken","type":"address","internalType":"contract IERC20"},{"name":"fromLoanAmount","type":"uint256","internalType":"uint256"},{"name":"toLoanToken","type":"address","internalType":"contract IERC20"},{"name":"toLoanAmount","type":"uint256","internalType":"uint256"},{"name":"swapper","type":"address","internalType":"contract ISwapper"},{"name":"swapData","type":"bytes","internalType":"bytes"}],"outputs":[{"name":"","type":"tuple","components":[{"name":"expected","type":"uint256","internalType":"uint256"},{"name":"received","type":"uint256","internalType":"uint256"},{"name":"slippageBefore","type":"uint256","internalType":"uint256"},{"name":"slippageAfter","type":"uint256","internalType":"uint256"}],"internalType":"struct SwapResult"}],"stateMutability":"nonpayable"},{"name":"reinvestSkimAdapter","type":"function","inputs":[{"name":"vault","type":"address","internalType":"contract IVaultV2"},{"name":"adapter","type":"address","internalType":"address"},{"name":"skimToken","type":"address","internalType":"contract IERC20"},{"name":"swapper","type":"address","internalType":"contract ISwapper"},{"name":"swapData","type":"bytes","internalType":"bytes"},{"name":"minExpected","type":"uint256","internalType":"uint256"}],"outputs":[{"name":"result","type":"tuple","components":[{"name":"expected","type":"uint256","internalType":"uint256"},{"name":"received","type":"uint256","internalType":"uint256"},{"name":"slippageBefore","type":"uint256","internalType":"uint256"},{"name":"slippageAfter","type":"uint256","internalType":"uint256"}],"internalType":"struct SwapResult"}],"stateMutability":"nonpayable"},{"name":"renounceRole","type":"function","inputs":[{"name":"role","type":"bytes32","internalType":"bytes32"},{"name":"callerConfirmation","type":"address","internalType":"address"}],"outputs":[],"stateMutability":"nonpayable"},{"name":"repayBox","type":"function","inputs":[{"name":"box","type":"address","internalType":"contract IBox"},{"name":"fundingModule","type":"address","internalType":"contract IFunding"},{"name":"facilityData","type":"bytes","internalType":"bytes"},{"name":"debtToken","type":"address","internalType":"contract IERC20"},{"name":"repayAmount","type":"uint256","internalType":"uint256"}],"outputs":[],"stateMutability":"nonpayable"},{"name":"revokeRole","type":"function","inputs":[{"name":"role","type":"bytes32","internalType":"bytes32"},{"name":"account","type":"address","internalType":"address"}],"outputs":[],"stateMutability":"nonpayable"},{"name":"setOperatorRole","type":"function","inputs":[{"name":"operator","type":"address","internalType":"address"},{"name":"grant","type":"bool","internalType":"bool"}],"outputs":[],"stateMutability":"nonpayable"},{"name":"skimmableBalance","type":"function","inputs":[{"name":"adapter","type":"address","internalType":"address"},{"name":"token","type":"address","internalType":"contract IERC20"}],"outputs":[{"name":"amount","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"supportsInterface","type":"function","inputs":[{"name":"interfaceId","type":"bytes4","internalType":"bytes4"}],"outputs":[{"name":"","type":"bool","internalType":"bool"}],"stateMutability":"view"},{"name":"upgradeToAndCall","type":"function","inputs":[{"name":"newImplementation","type":"address","internalType":"address"},{"name":"data","type":"bytes","internalType":"bytes"}],"outputs":[],"stateMutability":"payable"}],"metadata":"{\"compiler\":{\"version\":\"0.8.28+commit.7893614a\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[],\"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\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"AddressInsufficientBalance\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"implementation\",\"type\":\"address\"}],\"name\":\"ERC1967InvalidImplementation\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"ERC1967NonPayable\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"FailedInnerCall\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InvalidInitialization\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"NotInitializing\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"OnlyBox\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"OnlyMorpho\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"}],\"name\":\"SafeERC20FailedOperation\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"UUPSUnauthorizedCallContext\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"slot\",\"type\":\"bytes32\"}],\"name\":\"UUPSUnsupportedProxiableUUID\",\"type\":\"error\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint64\",\"name\":\"version\",\"type\":\"uint64\"}],\"name\":\"Initialized\",\"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\":true,\"internalType\":\"address\",\"name\":\"implementation\",\"type\":\"address\"}],\"name\":\"Upgraded\",\"type\":\"event\"},{\"inputs\":[],\"name\":\"DEFAULT_ADMIN_ROLE\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"OPERATOR_ROLE\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"UPGRADE_INTERFACE_VERSION\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"contract IBox\",\"name\":\"box\",\"type\":\"address\"},{\"internalType\":\"contract IERC20\",\"name\":\"toToken\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"internalType\":\"contract ISwapper\",\"name\":\"swapper\",\"type\":\"address\"},{\"internalType\":\"bytes\",\"name\":\"swapData\",\"type\":\"bytes\"},{\"internalType\":\"uint256\",\"name\":\"minExpected\",\"type\":\"uint256\"}],\"name\":\"allocateBox\",\"outputs\":[{\"components\":[{\"internalType\":\"uint256\",\"name\":\"expected\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"received\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"slippageBefore\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"slippageAfter\",\"type\":\"uint256\"}],\"internalType\":\"struct SwapResult\",\"name\":\"result\",\"type\":\"tuple\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"contract IVaultV2\",\"name\":\"vault\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"adapter\",\"type\":\"address\"},{\"internalType\":\"contract IBox\",\"name\":\"box\",\"type\":\"address\"},{\"internalType\":\"contract IERC20\",\"name\":\"toToken\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"internalType\":\"contract ISwapper\",\"name\":\"swapper\",\"type\":\"address\"},{\"internalType\":\"bytes\",\"name\":\"swapData\",\"type\":\"bytes\"},{\"internalType\":\"uint256\",\"name\":\"minExpected\",\"type\":\"uint256\"}],\"name\":\"allocateToken\",\"outputs\":[{\"components\":[{\"internalType\":\"uint256\",\"name\":\"expected\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"received\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"slippageBefore\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"slippageAfter\",\"type\":\"uint256\"}],\"internalType\":\"struct SwapResult\",\"name\":\"result\",\"type\":\"tuple\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"contract IVaultV2\",\"name\":\"vault\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"adapter\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"allocateVault\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"contract IBox\",\"name\":\"box\",\"type\":\"address\"},{\"internalType\":\"contract IFunding\",\"name\":\"fundingModule\",\"type\":\"address\"},{\"internalType\":\"bytes\",\"name\":\"facilityData\",\"type\":\"bytes\"},{\"internalType\":\"contract IERC20\",\"name\":\"borrowToken\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"borrowAmount\",\"type\":\"uint256\"}],\"name\":\"borrowBox\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"contract IBox\",\"name\":\"box\",\"type\":\"address\"},{\"internalType\":\"contract IERC20\",\"name\":\"fromToken\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"internalType\":\"contract ISwapper\",\"name\":\"swapper\",\"type\":\"address\"},{\"internalType\":\"bytes\",\"name\":\"swapData\",\"type\":\"bytes\"},{\"internalType\":\"uint256\",\"name\":\"minExpected\",\"type\":\"uint256\"}],\"name\":\"deallocateBox\",\"outputs\":[{\"components\":[{\"internalType\":\"uint256\",\"name\":\"expected\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"received\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"slippageBefore\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"slippageAfter\",\"type\":\"uint256\"}],\"internalType\":\"struct SwapResult\",\"name\":\"result\",\"type\":\"tuple\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"contract IVaultV2\",\"name\":\"vault\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"adapter\",\"type\":\"address\"},{\"internalType\":\"contract IBox\",\"name\":\"box\",\"type\":\"address\"},{\"internalType\":\"contract IERC20\",\"name\":\"fromToken\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"internalType\":\"contract ISwapper\",\"name\":\"swapper\",\"type\":\"address\"},{\"internalType\":\"bytes\",\"name\":\"swapData\",\"type\":\"bytes\"},{\"internalType\":\"uint256\",\"name\":\"minExpected\",\"type\":\"uint256\"}],\"name\":\"deallocateToken\",\"outputs\":[{\"components\":[{\"internalType\":\"uint256\",\"name\":\"expected\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"received\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"slippageBefore\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"slippageAfter\",\"type\":\"uint256\"}],\"internalType\":\"struct SwapResult\",\"name\":\"result\",\"type\":\"tuple\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"contract IVaultV2\",\"name\":\"vault\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"adapter\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"deallocateVault\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"contract IVaultV2\",\"name\":\"vault\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"adapter\",\"type\":\"address\"},{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"deallocateVaultWithData\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"contract IMorpho\",\"name\":\"morpho\",\"type\":\"address\"},{\"internalType\":\"contract IBox\",\"name\":\"box\",\"type\":\"address\"},{\"internalType\":\"contract IFunding\",\"name\":\"fundingModule\",\"type\":\"address\"},{\"internalType\":\"bytes\",\"name\":\"facilityData\",\"type\":\"bytes\"},{\"internalType\":\"contract ISwapper\",\"name\":\"swapper\",\"type\":\"address\"},{\"internalType\":\"bytes\",\"name\":\"swapData\",\"type\":\"bytes\"},{\"internalType\":\"contract IERC20\",\"name\":\"collateralToken\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"collateralAmount\",\"type\":\"uint256\"},{\"internalType\":\"contract IERC20\",\"name\":\"loanToken\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"loanAmount\",\"type\":\"uint256\"}],\"name\":\"deleverage\",\"outputs\":[{\"components\":[{\"internalType\":\"uint256\",\"name\":\"expected\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"received\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"slippageBefore\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"slippageAfter\",\"type\":\"uint256\"}],\"internalType\":\"struct SwapResult\",\"name\":\"result\",\"type\":\"tuple\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"contract IBox\",\"name\":\"box\",\"type\":\"address\"},{\"internalType\":\"contract IFunding\",\"name\":\"fundingModule\",\"type\":\"address\"},{\"internalType\":\"bytes\",\"name\":\"facilityData\",\"type\":\"bytes\"},{\"internalType\":\"contract IERC20\",\"name\":\"collateralToken\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"collateralAmount\",\"type\":\"uint256\"}],\"name\":\"depledgeBox\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"}],\"name\":\"getRoleAdmin\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"grantRole\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"hasRole\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"initialAdmin\",\"type\":\"address\"}],\"name\":\"initialize\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"contract IMorpho\",\"name\":\"morpho\",\"type\":\"address\"},{\"internalType\":\"contract IBox\",\"name\":\"box\",\"type\":\"address\"},{\"internalType\":\"contract IFunding\",\"name\":\"fundingModule\",\"type\":\"address\"},{\"internalType\":\"bytes\",\"name\":\"facilityData\",\"type\":\"bytes\"},{\"internalType\":\"contract ISwapper\",\"name\":\"swapper\",\"type\":\"address\"},{\"internalType\":\"bytes\",\"name\":\"swapData\",\"type\":\"bytes\"},{\"internalType\":\"contract IERC20\",\"name\":\"collateralToken\",\"type\":\"address\"},{\"internalType\":\"contract IERC20\",\"name\":\"loanToken\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"loanAmount\",\"type\":\"uint256\"}],\"name\":\"leverage\",\"outputs\":[{\"components\":[{\"internalType\":\"uint256\",\"name\":\"expected\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"received\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"slippageBefore\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"slippageAfter\",\"type\":\"uint256\"}],\"internalType\":\"struct SwapResult\",\"name\":\"result\",\"type\":\"tuple\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"contract IERC20\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"}],\"name\":\"onBoxFlash\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"assets\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"}],\"name\":\"onMorphoFlashLoan\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"contract IBox\",\"name\":\"box\",\"type\":\"address\"},{\"internalType\":\"contract IFunding\",\"name\":\"fundingModule\",\"type\":\"address\"},{\"internalType\":\"bytes\",\"name\":\"facilityData\",\"type\":\"bytes\"},{\"internalType\":\"contract IERC20\",\"name\":\"collateralToken\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"collateralAmount\",\"type\":\"uint256\"}],\"name\":\"pledgeBox\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"proxiableUUID\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"contract IBox\",\"name\":\"box\",\"type\":\"address\"},{\"internalType\":\"contract IERC20\",\"name\":\"fromToken\",\"type\":\"address\"},{\"internalType\":\"contract IERC20\",\"name\":\"toToken\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"internalType\":\"contract ISwapper\",\"name\":\"swapper\",\"type\":\"address\"},{\"internalType\":\"bytes\",\"name\":\"swapData\",\"type\":\"bytes\"},{\"internalType\":\"uint256\",\"name\":\"minExpected\",\"type\":\"uint256\"}],\"name\":\"reallocateBox\",\"outputs\":[{\"components\":[{\"internalType\":\"uint256\",\"name\":\"expected\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"received\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"slippageBefore\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"slippageAfter\",\"type\":\"uint256\"}],\"internalType\":\"struct SwapResult\",\"name\":\"result\",\"type\":\"tuple\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"contract IVaultV2\",\"name\":\"vault\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"fromAdapter\",\"type\":\"address\"},{\"internalType\":\"bytes\",\"name\":\"fromData\",\"type\":\"bytes\"},{\"internalType\":\"address\",\"name\":\"toAdapter\",\"type\":\"address\"},{\"internalType\":\"bytes\",\"name\":\"toData\",\"type\":\"bytes\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"reallocateVault\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"contract IMorpho\",\"name\":\"morpho\",\"type\":\"address\"},{\"internalType\":\"contract IBox\",\"name\":\"box\",\"type\":\"address\"},{\"internalType\":\"contract IFunding\",\"name\":\"fromFundingModule\",\"type\":\"address\"},{\"internalType\":\"bytes\",\"name\":\"fromFacilityData\",\"type\":\"bytes\"},{\"internalType\":\"contract IFunding\",\"name\":\"toFundingModule\",\"type\":\"address\"},{\"internalType\":\"bytes\",\"name\":\"toFacilityData\",\"type\":\"bytes\"},{\"internalType\":\"contract IERC20\",\"name\":\"collateralToken\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"collateralAmount\",\"type\":\"uint256\"},{\"internalType\":\"contract IERC20\",\"name\":\"loanToken\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"loanAmount\",\"type\":\"uint256\"}],\"name\":\"refinance\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"contract IMorpho\",\"name\":\"morpho\",\"type\":\"address\"},{\"internalType\":\"contract IBox\",\"name\":\"box\",\"type\":\"address\"},{\"internalType\":\"contract IFunding\",\"name\":\"fromFundingModule\",\"type\":\"address\"},{\"internalType\":\"bytes\",\"name\":\"fromFacilityData\",\"type\":\"bytes\"},{\"internalType\":\"contract IFunding\",\"name\":\"toFundingModule\",\"type\":\"address\"},{\"internalType\":\"bytes\",\"name\":\"toFacilityData\",\"type\":\"bytes\"},{\"internalType\":\"contract IERC20\",\"name\":\"fromCollateralToken\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"fromCollateralAmount\",\"type\":\"uint256\"},{\"internalType\":\"contract IERC20\",\"name\":\"toCollateralToken\",\"type\":\"address\"},{\"internalType\":\"contract IERC20\",\"name\":\"loanToken\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"loanAmount\",\"type\":\"uint256\"},{\"internalType\":\"contract ISwapper\",\"name\":\"swapper\",\"type\":\"address\"},{\"internalType\":\"bytes\",\"name\":\"swapData\",\"type\":\"bytes\"}],\"name\":\"refinanceSwapCollateral\",\"outputs\":[{\"components\":[{\"internalType\":\"uint256\",\"name\":\"expected\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"received\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"slippageBefore\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"slippageAfter\",\"type\":\"uint256\"}],\"internalType\":\"struct SwapResult\",\"name\":\"\",\"type\":\"tuple\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"contract IMorpho\",\"name\":\"morpho\",\"type\":\"address\"},{\"internalType\":\"contract IBox\",\"name\":\"box\",\"type\":\"address\"},{\"internalType\":\"contract IFunding\",\"name\":\"fromFundingModule\",\"type\":\"address\"},{\"internalType\":\"bytes\",\"name\":\"fromFacilityData\",\"type\":\"bytes\"},{\"internalType\":\"contract IFunding\",\"name\":\"toFundingModule\",\"type\":\"address\"},{\"internalType\":\"bytes\",\"name\":\"toFacilityData\",\"type\":\"bytes\"},{\"internalType\":\"contract IERC20\",\"name\":\"collateralToken\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"collateralAmount\",\"type\":\"uint256\"},{\"internalType\":\"contract IERC20\",\"name\":\"fromLoanToken\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"fromLoanAmount\",\"type\":\"uint256\"},{\"internalType\":\"contract IERC20\",\"name\":\"toLoanToken\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"toLoanAmount\",\"type\":\"uint256\"},{\"internalType\":\"contract ISwapper\",\"name\":\"swapper\",\"type\":\"address\"},{\"internalType\":\"bytes\",\"name\":\"swapData\",\"type\":\"bytes\"}],\"name\":\"refinanceSwapLoan\",\"outputs\":[{\"components\":[{\"internalType\":\"uint256\",\"name\":\"expected\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"received\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"slippageBefore\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"slippageAfter\",\"type\":\"uint256\"}],\"internalType\":\"struct SwapResult\",\"name\":\"\",\"type\":\"tuple\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"contract IVaultV2\",\"name\":\"vault\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"adapter\",\"type\":\"address\"},{\"internalType\":\"contract IERC20\",\"name\":\"skimToken\",\"type\":\"address\"},{\"internalType\":\"contract ISwapper\",\"name\":\"swapper\",\"type\":\"address\"},{\"internalType\":\"bytes\",\"name\":\"swapData\",\"type\":\"bytes\"},{\"internalType\":\"uint256\",\"name\":\"minExpected\",\"type\":\"uint256\"}],\"name\":\"reinvestSkimAdapter\",\"outputs\":[{\"components\":[{\"internalType\":\"uint256\",\"name\":\"expected\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"received\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"slippageBefore\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"slippageAfter\",\"type\":\"uint256\"}],\"internalType\":\"struct SwapResult\",\"name\":\"result\",\"type\":\"tuple\"}],\"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\":\"contract IBox\",\"name\":\"box\",\"type\":\"address\"},{\"internalType\":\"contract IFunding\",\"name\":\"fundingModule\",\"type\":\"address\"},{\"internalType\":\"bytes\",\"name\":\"facilityData\",\"type\":\"bytes\"},{\"internalType\":\"contract IERC20\",\"name\":\"debtToken\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"repayAmount\",\"type\":\"uint256\"}],\"name\":\"repayBox\",\"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\":\"operator\",\"type\":\"address\"},{\"internalType\":\"bool\",\"name\":\"grant\",\"type\":\"bool\"}],\"name\":\"setOperatorRole\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"adapter\",\"type\":\"address\"},{\"internalType\":\"contract IERC20\",\"name\":\"token\",\"type\":\"address\"}],\"name\":\"skimmableBalance\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes4\",\"name\":\"interfaceId\",\"type\":\"bytes4\"}],\"name\":\"supportsInterface\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newImplementation\",\"type\":\"address\"},{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"}],\"name\":\"upgradeToAndCall\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"}],\"devdoc\":{\"details\":\"Upgradeable via UUPS pattern. Operators can perform complex allocation operations      including leverage, deleverage, and refinancing with optional collateral/loan swaps.\",\"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).\"}],\"AddressInsufficientBalance(address)\":[{\"details\":\"The ETH balance of the account is not enough to perform the operation.\"}],\"ERC1967InvalidImplementation(address)\":[{\"details\":\"The `implementation` of the proxy is invalid.\"}],\"ERC1967NonPayable()\":[{\"details\":\"An upgrade function sees `msg.value > 0` that may be lost.\"}],\"FailedInnerCall()\":[{\"details\":\"A call to an address target failed. The target may have reverted.\"}],\"InvalidInitialization()\":[{\"details\":\"The contract is already initialized.\"}],\"NotInitializing()\":[{\"details\":\"The contract is not initializing.\"}],\"SafeERC20FailedOperation(address)\":[{\"details\":\"An operation with an ERC20 token failed.\"}],\"UUPSUnauthorizedCallContext()\":[{\"details\":\"The call is from an unauthorized context.\"}],\"UUPSUnsupportedProxiableUUID(bytes32)\":[{\"details\":\"The storage `slot` is unsupported as a UUID.\"}]},\"events\":{\"Initialized(uint64)\":{\"details\":\"Triggered when the contract has been initialized or reinitialized.\"},\"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, an admin role bearer except when using {AccessControl-_setupRole}.\"},\"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`)\"},\"Upgraded(address)\":{\"details\":\"Emitted when the implementation is upgraded.\"}},\"kind\":\"dev\",\"methods\":{\"allocateBox(address,address,uint256,address,bytes,uint256)\":{\"params\":{\"amount\":\"The amount of base asset to allocate.\",\"box\":\"The Box to allocate in.\",\"minExpected\":\"The minimum expected amount of tokens to receive.\",\"swapData\":\"The swap data for the swapper.\",\"swapper\":\"The swapper contract to use.\",\"toToken\":\"The token to allocate to.\"},\"returns\":{\"result\":\"The swap result with expected, received, and slippage tracking.\"}},\"allocateToken(address,address,address,address,uint256,address,bytes,uint256)\":{\"details\":\"Handles liquidity sourcing from both Box and Vault.\"},\"allocateVault(address,address,uint256)\":{\"params\":{\"adapter\":\"The adapter to allocate to.\",\"amount\":\"The amount to allocate.\",\"vault\":\"The VaultV2 to allocate from.\"}},\"constructor\":{\"custom:oz-upgrades-unsafe-allow\":\"constructor\"},\"deallocateBox(address,address,uint256,address,bytes,uint256)\":{\"params\":{\"amount\":\"The amount of tokens to deallocate.\",\"box\":\"The Box to deallocate from.\",\"fromToken\":\"The token to deallocate.\",\"minExpected\":\"The minimum expected amount of base asset to receive.\",\"swapData\":\"The swap data for the swapper.\",\"swapper\":\"The swapper contract to use.\"},\"returns\":{\"result\":\"The swap result with expected, received, and slippage tracking.\"}},\"deallocateVault(address,address,uint256)\":{\"params\":{\"adapter\":\"The adapter to deallocate from.\",\"amount\":\"The amount to deallocate.\",\"vault\":\"The VaultV2 to deallocate from.\"}},\"deallocateVaultWithData(address,address,bytes,uint256)\":{\"params\":{\"adapter\":\"The adapter to deallocate from.\",\"amount\":\"The amount to deallocate.\",\"data\":\"The adapter-specific data for the deallocation.\",\"vault\":\"The VaultV2 to deallocate from.\"}},\"deleverage(address,address,address,bytes,address,bytes,address,uint256,address,uint256)\":{\"details\":\"Flow: Flash loan -> Repay debt -> Depledge collateral -> Swap collateral to loan to repay flash\",\"params\":{\"box\":\"The Box to perform operations on.\",\"collateralAmount\":\"The amount of collateral to withdraw (type(uint256).max for all).\",\"collateralToken\":\"The collateral token to withdraw.\",\"facilityData\":\"The facility data for the funding module.\",\"fundingModule\":\"The funding module to use.\",\"loanAmount\":\"The amount of debt to repay (type(uint256).max for all).\",\"loanToken\":\"The loan token to repay.\",\"morpho\":\"The Morpho protocol address for flash loans.\",\"swapData\":\"The swap data for the swapper.\",\"swapper\":\"The swapper for collateral-to-loan conversion.\"},\"returns\":{\"result\":\"The swap result with expected, received, and slippage tracking.\"}},\"getRoleAdmin(bytes32)\":{\"details\":\"Returns the admin role that controls `role`. See {grantRole} and {revokeRole}. To change a role's admin, use {_setRoleAdmin}.\"},\"grantRole(bytes32,address)\":{\"details\":\"Grants `role` to `account`. If `account` had not been already granted `role`, emits a {RoleGranted} event. Requirements: - the caller must have ``role``'s admin role. May emit a {RoleGranted} event.\"},\"hasRole(bytes32,address)\":{\"details\":\"Returns `true` if `account` has been granted `role`.\"},\"initialize(address)\":{\"params\":{\"initialAdmin\":\"The address to grant initial admin and operator roles.\"}},\"leverage(address,address,address,bytes,address,bytes,address,address,uint256)\":{\"details\":\"Flow: Flash loan -> Swap loan to collateral -> Pledge collateral -> Borrow to repay flash loan\",\"params\":{\"box\":\"The Box to perform operations on.\",\"collateralToken\":\"The collateral token to acquire.\",\"facilityData\":\"The facility data for the funding module.\",\"fundingModule\":\"The funding module to use.\",\"loanAmount\":\"The amount to flash loan/borrow.\",\"loanToken\":\"The loan token to flash loan and borrow.\",\"morpho\":\"The Morpho protocol address for flash loans.\",\"swapData\":\"The swap data for the swapper.\",\"swapper\":\"The swapper for loan-to-collateral conversion.\"},\"returns\":{\"result\":\"The swap result with expected, received, and slippage tracking.\"}},\"onBoxFlash(address,uint256,bytes)\":{\"details\":\"Called by Box after flash funds are transferred. Executes the actual operation logic.\"},\"onMorphoFlashLoan(uint256,bytes)\":{\"details\":\"Called by Morpho after flash loan funds are transferred.\"},\"proxiableUUID()\":{\"details\":\"Implementation of the ERC1822 {proxiableUUID} function. This returns the storage slot used by the implementation. It is used to validate the implementation's compatibility when performing an upgrade. IMPORTANT: A proxy pointing at a proxiable contract should not be considered proxiable itself, because this risks bricking a proxy that upgrades to it, by delegating to itself until out of gas. Thus it is critical that this function revert if invoked through a proxy. This is guaranteed by the `notDelegated` modifier.\"},\"reallocateBox(address,address,address,uint256,address,bytes,uint256)\":{\"params\":{\"amount\":\"The amount of fromToken to reallocate.\",\"box\":\"The Box to reallocate in.\",\"fromToken\":\"The token to reallocate from.\",\"minExpected\":\"The minimum expected amount of toToken to receive.\",\"swapData\":\"The swap data for the swapper.\",\"swapper\":\"The swapper contract to use.\",\"toToken\":\"The token to reallocate to.\"},\"returns\":{\"result\":\"The swap result with expected, received, and slippage tracking.\"}},\"reallocateVault(address,address,bytes,address,bytes,uint256)\":{\"params\":{\"amount\":\"The amount to move.\",\"fromAdapter\":\"The adapter to deallocate from.\",\"fromData\":\"The adapter-specific data for the source deallocation.\",\"toAdapter\":\"The adapter to allocate to.\",\"toData\":\"The adapter-specific data for the destination allocation.\",\"vault\":\"The VaultV2 to rebalance within.\"}},\"refinance(address,address,address,bytes,address,bytes,address,uint256,address,uint256)\":{\"details\":\"Flow: Flash loan -> Repay old debt -> Depledge -> Pledge to new -> Borrow from new to repay flash\",\"params\":{\"box\":\"The Box to perform operations on.\",\"collateralAmount\":\"The amount of collateral (type(uint256).max for all).\",\"collateralToken\":\"The collateral token.\",\"fromFacilityData\":\"The facility data for the source.\",\"fromFundingModule\":\"The funding module to refinance from.\",\"loanAmount\":\"The amount of debt (type(uint256).max for all).\",\"loanToken\":\"The loan token.\",\"morpho\":\"The Morpho protocol address for flash loans.\",\"toFacilityData\":\"The facility data for the destination.\",\"toFundingModule\":\"The funding module to refinance to.\"}},\"refinanceSwapCollateral(address,address,address,bytes,address,bytes,address,uint256,address,address,uint256,address,bytes)\":{\"details\":\"Flow: Flash loan -> Repay old debt -> Depledge old collateral -> Swap to new collateral            -> Pledge new collateral to new facility -> Borrow to repay flash loan\",\"params\":{\"box\":\"The Box to perform operations on.\",\"fromCollateralAmount\":\"The amount of original collateral (type(uint256).max for all).\",\"fromCollateralToken\":\"The original collateral token.\",\"fromFacilityData\":\"The facility data for the source.\",\"fromFundingModule\":\"The funding module to refinance from.\",\"loanAmount\":\"The amount of debt (type(uint256).max for all).\",\"loanToken\":\"The loan token (same for both facilities).\",\"morpho\":\"The Morpho protocol address for flash loans.\",\"swapData\":\"The swap data for the swapper.\",\"swapper\":\"The swapper for collateral conversion.\",\"toCollateralToken\":\"The new collateral token.\",\"toFacilityData\":\"The facility data for the destination.\",\"toFundingModule\":\"The funding module to refinance to.\"},\"returns\":{\"_0\":\"result The swap result with expected, received, and slippage tracking.\"}},\"refinanceSwapLoan(address,address,address,bytes,address,bytes,address,uint256,address,uint256,address,uint256,address,bytes)\":{\"details\":\"Flow: Flash loan new loan token -> Swap to old loan token -> Repay old debt            -> Depledge collateral -> Pledge collateral to new facility            -> Borrow new loan token to repay flash loan\",\"params\":{\"box\":\"The Box to perform operations on.\",\"collateralAmount\":\"The amount of collateral (type(uint256).max for all).\",\"collateralToken\":\"The collateral token (same for both facilities).\",\"fromFacilityData\":\"The facility data for the source.\",\"fromFundingModule\":\"The funding module to refinance from.\",\"fromLoanAmount\":\"The amount of original debt (type(uint256).max for all).\",\"fromLoanToken\":\"The original loan token.\",\"morpho\":\"The Morpho protocol address for flash loans.\",\"swapData\":\"The swap data for the swapper.\",\"swapper\":\"The swapper for loan token conversion.\",\"toFacilityData\":\"The facility data for the destination.\",\"toFundingModule\":\"The funding module to refinance to.\",\"toLoanAmount\":\"The amount of new loan token to flash loan.\",\"toLoanToken\":\"The new loan token.\"},\"returns\":{\"_0\":\"result The swap result with expected, received, and slippage tracking.\"}},\"reinvestSkimAdapter(address,address,address,address,bytes,uint256)\":{\"params\":{\"adapter\":\"The adapter to skim from.\",\"minExpected\":\"The minimum expected amount of vault assets to donate.\",\"skimToken\":\"The token to skim and optionally swap.\",\"swapData\":\"The swap data for the swapper.\",\"swapper\":\"The swapper to convert skimToken to the vault asset.\",\"vault\":\"The VaultV2 receiving the donated assets.\"},\"returns\":{\"result\":\"The swap result with expected, received, and slippage tracking.\"}},\"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.\"},\"setOperatorRole(address,bool)\":{\"details\":\"Only callable by DEFAULT_ADMIN_ROLE.\",\"params\":{\"grant\":\"True to grant the role, false to revoke it.\",\"operator\":\"The address to grant or revoke the role from.\"}},\"skimmableBalance(address,address)\":{\"params\":{\"adapter\":\"The adapter to inspect.\",\"token\":\"The token to inspect.\"},\"returns\":{\"amount\":\"The current balance of `token` held by `adapter`.\"}},\"supportsInterface(bytes4)\":{\"details\":\"See {IERC165-supportsInterface}.\"},\"upgradeToAndCall(address,bytes)\":{\"custom:oz-upgrades-unsafe-allow-reachable\":\"delegatecall\",\"details\":\"Upgrade the implementation of the proxy to `newImplementation`, and subsequently execute the function call encoded in `data`. Calls {_authorizeUpgrade}. Emits an {Upgraded} event.\"}},\"stateVariables\":{\"_box\":{\"details\":\"Box address for flash callback validation\"},\"_expected\":{\"details\":\"Expected amount from last swap\"},\"_morpho\":{\"details\":\"Morpho address for flash loan callback validation\"},\"_received\":{\"details\":\"Received amount from last swap\"},\"_slippageAfter\":{\"details\":\"Accumulated slippage after operation\"},\"_slippageBefore\":{\"details\":\"Accumulated slippage before operation\"}},\"title\":\"VaultV2Allocator\",\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{\"OPERATOR_ROLE()\":{\"notice\":\"Role for operators allowed to perform restricted actions.\"},\"allocateBox(address,address,uint256,address,bytes,uint256)\":{\"notice\":\"Allocates base asset to a token in the Box.\"},\"allocateToken(address,address,address,address,uint256,address,bytes,uint256)\":{\"notice\":\"Allocates from VaultV2 through Box to a token.\"},\"allocateVault(address,address,uint256)\":{\"notice\":\"Allocates funds from a VaultV2 to an adapter.\"},\"borrowBox(address,address,bytes,address,uint256)\":{\"notice\":\"Borrows from a funding module via the Box.\"},\"deallocateBox(address,address,uint256,address,bytes,uint256)\":{\"notice\":\"Deallocates a token back to base asset in the Box.\"},\"deallocateToken(address,address,address,address,uint256,address,bytes,uint256)\":{\"notice\":\"Deallocates a token from Box back to VaultV2.\"},\"deallocateVault(address,address,uint256)\":{\"notice\":\"Deallocates funds from a VaultV2 adapter.\"},\"deallocateVaultWithData(address,address,bytes,uint256)\":{\"notice\":\"Deallocates funds from a VaultV2 adapter using explicit adapter data.\"},\"deleverage(address,address,address,bytes,address,bytes,address,uint256,address,uint256)\":{\"notice\":\"Deleverages a position using a Morpho flash loan.\"},\"depledgeBox(address,address,bytes,address,uint256)\":{\"notice\":\"Depledges collateral from a funding module via the Box.\"},\"initialize(address)\":{\"notice\":\"Initializes the contract, setting up access control and UUPS upgradeability.\"},\"leverage(address,address,address,bytes,address,bytes,address,address,uint256)\":{\"notice\":\"Leverages a position using a Morpho flash loan.\"},\"onBoxFlash(address,uint256,bytes)\":{\"notice\":\"Box flash callback.\"},\"onMorphoFlashLoan(uint256,bytes)\":{\"notice\":\"Morpho flash loan callback.\"},\"pledgeBox(address,address,bytes,address,uint256)\":{\"notice\":\"Pledges collateral to a funding module via the Box.\"},\"reallocateBox(address,address,address,uint256,address,bytes,uint256)\":{\"notice\":\"Reallocates from one token to another in the Box.\"},\"reallocateVault(address,address,bytes,address,bytes,uint256)\":{\"notice\":\"Reallocates funds between two VaultV2 adapters using explicit adapter data.\"},\"refinance(address,address,address,bytes,address,bytes,address,uint256,address,uint256)\":{\"notice\":\"Refinances a position to a new facility (same collateral and loan).\"},\"refinanceSwapCollateral(address,address,address,bytes,address,bytes,address,uint256,address,address,uint256,address,bytes)\":{\"notice\":\"Refinances to a new facility while swapping collateral to a new type.\"},\"refinanceSwapLoan(address,address,address,bytes,address,bytes,address,uint256,address,uint256,address,uint256,address,bytes)\":{\"notice\":\"Refinances to a new facility while swapping the loan asset.\"},\"reinvestSkimAdapter(address,address,address,address,bytes,uint256)\":{\"notice\":\"Skims a token from an adapter, swaps it to the vault asset, and donates the proceeds to the vault.\"},\"repayBox(address,address,bytes,address,uint256)\":{\"notice\":\"Repays debt to a funding module via the Box.\"},\"setOperatorRole(address,bool)\":{\"notice\":\"Grants or revokes the OPERATOR_ROLE.\"},\"skimmableBalance(address,address)\":{\"notice\":\"Returns how much of a token can currently be skimmed from an adapter.\"}},\"notice\":\"Helper contract for VaultV2 and Box allocations with flash loan support\",\"version\":1}},\"settings\":{\"compilationTarget\":{\"src/mv2/VaultV2Allocator.sol\":\"VaultV2Allocator\"},\"evmVersion\":\"prague\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":100},\"remappings\":[\":@ensdomains/=lib/slipstream/node_modules/@ensdomains/\",\":@morpho-blue-oracles/=lib/morpho-blue-oracles/\",\":@nomad-xyz/=lib/slipstream/lib/ExcessivelySafeCall/\",\":@openzeppelin/contracts-upgradeable/=lib/openzeppelin-contracts-upgradeable/contracts/\",\":@openzeppelin/contracts/=lib/openzeppelin-contracts/contracts/\",\":@pendle-core-v2/=lib/pendle-core-v2-public/contracts/\",\":@slipstream/contracts/=lib/slipstream/contracts/\",\":@solidity-parser/=lib/slipstream/node_modules/solhint/node_modules/@solidity-parser/\",\":@uniswap/v3-core/=lib/v3-core/\",\":@uniswap/v3-periphery/=lib/v3-periphery/\",\":ExcessivelySafeCall/=lib/slipstream/lib/ExcessivelySafeCall/src/\",\":base64-sol/=lib/slipstream/lib/base64/\",\":base64/=lib/slipstream/lib/base64/\",\":contracts/=lib/slipstream/contracts/\",\":ds-auth/=lib/dss-psm/lib/dss/lib/ds-token/lib/ds-auth/src/\",\":ds-math/=lib/dss-psm/lib/dss/lib/ds-token/lib/ds-math/src/\",\":ds-note/=lib/dss-psm/lib/dss/lib/ds-value/lib/ds-thing/lib/ds-note/src/\",\":ds-test/=lib/forge-std/lib/ds-test/src/\",\":ds-thing/=lib/dss-psm/lib/dss/lib/ds-value/lib/ds-thing/src/\",\":ds-token/=lib/dss-psm/lib/dss/lib/ds-token/src/\",\":ds-value/=lib/dss-psm/lib/dss/lib/ds-value/src/\",\":dss-interfaces/=lib/dss-psm/lib/dss-interfaces/src/\",\":dss-psm/=lib/dss-psm/src/\",\":dss/=lib/dss-psm/lib/dss/src/\",\":erc4626-tests/=lib/openzeppelin-contracts/lib/erc4626-tests/\",\":forge-std/=lib/forge-std/src/\",\":halmos-cheatcodes/=lib/openzeppelin-contracts-upgradeable/lib/halmos-cheatcodes/src/\",\":hardhat/=lib/slipstream/node_modules/hardhat/\",\":metamorpho-v1.1/=lib/vault-v2/lib/metamorpho-v1.1/\",\":metamorpho/=lib/vault-v2/lib/metamorpho/\",\":morpho-blue-irm/=lib/vault-v2/lib/morpho-blue-irm/\",\":morpho-blue-oracles/=lib/morpho-blue-oracles/src/\",\":morpho-blue/=lib/morpho-blue/src/\",\":openzeppelin-contracts-upgradeable/=lib/openzeppelin-contracts-upgradeable/\",\":openzeppelin-contracts/=lib/openzeppelin-contracts/contracts/\",\":pendle-core-v2-public/=lib/pendle-core-v2-public/contracts/\",\":slipstream/=lib/slipstream/\",\":solidity-lib/=lib/slipstream/lib/solidity-lib/contracts/\",\":solmate/=lib/vault-v2/lib/morpho-blue-irm/lib/solmate/src/\",\":steakhouse-oracles/=lib/steakhouse-oracles/src/\",\":v3-core/=lib/v3-core/\",\":v3-periphery/=lib/v3-periphery/contracts/\",\":vault-v2/=lib/vault-v2/src/\"],\"viaIR\":true},\"sources\":{\"lib/morpho-blue/src/interfaces/IMorpho.sol\":{\"keccak256\":\"0xee9fbe10e0cd31b8d4c2c2effadaf337a6c6c43c9bdb94d2cad79fdffc47a86e\",\"license\":\"GPL-2.0-or-later\",\"urls\":[\"bzz-raw://bc94b9b24900994cba898911edf82545052e738f6c9c2a7a56589c122014d363\",\"dweb:/ipfs/QmXp9qkTnoPoio6KvdCFnCVW6Tjfb4Kbd4zByuiwQwwmwx\"]},\"lib/openzeppelin-contracts/contracts/access/AccessControl.sol\":{\"keccak256\":\"0xa0e92d42942f4f57c5be50568dac11e9d00c93efcb458026e18d2d9b9b2e7308\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://46326c0bb1e296b67185e81c918e0b40501b8b6386165855df0a3f3c634b6a80\",\"dweb:/ipfs/QmTwyrDYtsxsk6pymJTK94PnEpzsmkpUxFuzEiakDopy4Z\"]},\"lib/openzeppelin-contracts/contracts/access/IAccessControl.sol\":{\"keccak256\":\"0xb6b36edd6a2999fd243ff226d6cbf84bd71af2432bbd0dfe19392996a1d9cb41\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://1fd2f35495652e57e3f99bc6c510bc5f7dd398a176ea2e72d8ed730aebc6ca26\",\"dweb:/ipfs/QmTQV6X4gkikTib49cho5iDX3JvSQbdsoEChoDwrk3CbbH\"]},\"lib/openzeppelin-contracts/contracts/interfaces/IERC4626.sol\":{\"keccak256\":\"0x207f64371bc0fcc5be86713aa5da109a870cc3a6da50e93b64ee881e369b593d\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://548667cfa76683767c2c610b577f6c2f0675d0ce28f53c3f37b969c84a56b205\",\"dweb:/ipfs/QmUzA1CKC6bDdULuS44wGd7PWBNLiHb6bh7oHwJBDZSLAx\"]},\"lib/openzeppelin-contracts/contracts/interfaces/draft-IERC1822.sol\":{\"keccak256\":\"0x2a1f9944df2015c081d89cd41ba22ffaf10aa6285969f0dc612b235cc448999c\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://ef381843676aec64421200ee85eaa0b1356a35f28b9fc67e746a6bbb832077d9\",\"dweb:/ipfs/QmY8aorMYA2TeTCnu6ejDjzb4rW4t7TCtW4GZ6LoxTFm7v\"]},\"lib/openzeppelin-contracts/contracts/proxy/ERC1967/ERC1967Utils.sol\":{\"keccak256\":\"0x06a78f9b3ee3e6d0eb4e4cd635ba49960bea34cac1db8c0a27c75f2319f1fd65\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://547d21aa17f4f3f1a1a7edf7167beff8dd9496a0348d5588f15cc8a4b29d052a\",\"dweb:/ipfs/QmT16JtRQSWNpLo9W23jr6CzaMuTAcQcjJJcdRd8HLJ6cE\"]},\"lib/openzeppelin-contracts/contracts/proxy/beacon/IBeacon.sol\":{\"keccak256\":\"0xc59a78b07b44b2cf2e8ab4175fca91e8eca1eee2df7357b8d2a8833e5ea1f64c\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://5aa4f07e65444784c29cd7bfcc2341b34381e4e5b5da9f0c5bd00d7f430e66fa\",\"dweb:/ipfs/QmWRMh4Q9DpaU9GvsiXmDdoNYMyyece9if7hnfLz7uqzWM\"]},\"lib/openzeppelin-contracts/contracts/proxy/utils/Initializable.sol\":{\"keccak256\":\"0x631188737069917d2f909d29ce62c4d48611d326686ba6683e26b72a23bfac0b\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://7a61054ae84cd6c4d04c0c4450ba1d6de41e27e0a2c4f1bcdf58f796b401c609\",\"dweb:/ipfs/QmUvtdp7X1mRVyC3CsHrtPbgoqWaXHp3S1ZR24tpAQYJWM\"]},\"lib/openzeppelin-contracts/contracts/proxy/utils/UUPSUpgradeable.sol\":{\"keccak256\":\"0x3ffb56bcb175984a10b1167e2eba560876bfe96a435f5d62ffed8b1bb4ebc4c7\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://7db94af56aa20efb57c3f9003eacd884faad04118967d8e35cdffe07790bbdcd\",\"dweb:/ipfs/QmXtAshRWFjcQ1kL7gpC5CiLUZgJ9uzrZyeHp2Sux9ojPF\"]},\"lib/openzeppelin-contracts/contracts/token/ERC20/IERC20.sol\":{\"keccak256\":\"0xc6a8ff0ea489379b61faa647490411b80102578440ab9d84e9a957cc12164e70\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://0ea104e577e63faea3b69c415637e99e755dcbf64c5833d7140c35a714d6d90c\",\"dweb:/ipfs/Qmau6x4Ns9XdyynRCNNp3RhLqijJjFm7z5fyZazfYFGYdq\"]},\"lib/openzeppelin-contracts/contracts/token/ERC20/extensions/IERC20Metadata.sol\":{\"keccak256\":\"0xaa761817f6cd7892fcf158b3c776b34551cde36f48ff9703d53898bc45a94ea2\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://0ad7c8d4d08938c8dfc43d75a148863fb324b80cf53e0a36f7e5a4ac29008850\",\"dweb:/ipfs/QmcrhfPgVNf5mkdhQvy1pMv51TFokD3Y4Wa5WZhFqVh8UV\"]},\"lib/openzeppelin-contracts/contracts/token/ERC20/extensions/IERC20Permit.sol\":{\"keccak256\":\"0x6008dabfe393240d73d7dd7688033f72740d570aa422254d29a7dce8568f3aff\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://f5196ec75139918c6c7bb4251b36395e668f1fa6d206beba7e7520e74913940d\",\"dweb:/ipfs/QmSyqjksXxmm2mCG6qRd1yuwLykypkSVBbnBnGqJRcuJMi\"]},\"lib/openzeppelin-contracts/contracts/token/ERC20/utils/SafeERC20.sol\":{\"keccak256\":\"0x37bb49513c49c87c4642a891b13b63571bc87013dde806617aa1efb54605f386\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://b3036b3a83b7c48f96641f2a9002b9f2dcb6a5958dd670894ada21ae8229b3d0\",\"dweb:/ipfs/QmUNfSBdoVtjhETaUJCYcaC7pTMgbhht926tJ2uXJbiVd3\"]},\"lib/openzeppelin-contracts/contracts/utils/Address.sol\":{\"keccak256\":\"0xaf28a975a78550e45f65e559a3ad6a5ad43b9b8a37366999abd1b7084eb70721\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://b7bd24e224f67f65bfadf85dc2929fa965456bb2415478bd0125471b5ce35245\",\"dweb:/ipfs/QmRaydGr8BTHs1kvaZfsNU69pKzUAGFrvABn1KiRSbE51y\"]},\"lib/openzeppelin-contracts/contracts/utils/Context.sol\":{\"keccak256\":\"0x493033a8d1b176a037b2cc6a04dad01a5c157722049bbecf632ca876224dd4b2\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://6a708e8a5bdb1011c2c381c9a5cfd8a9a956d7d0a9dc1bd8bcdaf52f76ef2f12\",\"dweb:/ipfs/Qmax9WHBnVsZP46ZxEMNRQpLQnrdE4dK8LehML1Py8FowF\"]},\"lib/openzeppelin-contracts/contracts/utils/StorageSlot.sol\":{\"keccak256\":\"0x32ba59b4b7299237c8ba56319110989d7978a039faf754793064e967e5894418\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://1ae50c8b562427df610cc4540c9bf104acca7ef8e2dcae567ae7e52272281e9c\",\"dweb:/ipfs/QmTHiadFCSJUPpRjNegc5SahmeU8bAoY8i9Aq6tVscbcKR\"]},\"lib/openzeppelin-contracts/contracts/utils/introspection/ERC165.sol\":{\"keccak256\":\"0x9e8778b14317ba9e256c30a76fd6c32b960af621987f56069e1e819c77c6a133\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://1777404f1dcd0fac188e55a288724ec3c67b45288e49cc64723e95e702b49ab8\",\"dweb:/ipfs/QmZFdC626GButBApwDUvvTnUzdinevC3B24d7yyh57XkiA\"]},\"lib/openzeppelin-contracts/contracts/utils/introspection/IERC165.sol\":{\"keccak256\":\"0x4296879f55019b23e135000eb36896057e7101fb7fb859c5ef690cf14643757b\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://87b3541437c8c443ccd36795e56a338ed12855eec17f8da624511b8d1a7e14df\",\"dweb:/ipfs/QmeJQCtZrQjtJLr6u7ZHWeH3pBnjtLWzvRrKViAi7UZqxL\"]},\"lib/vault-v2/src/interfaces/IERC20.sol\":{\"keccak256\":\"0x4e66403784cf08fa5b5dc072b0ddb5a168dd69e8c3cdb912eed37e7da43f32a7\",\"license\":\"GPL-2.0-or-later\",\"urls\":[\"bzz-raw://b67ef4141949be81dc2176a28334430687013f142ccc22f62b569a0cb90abd14\",\"dweb:/ipfs/QmNsfyx5cGaDjWoMJiPdLnNwBvCk1PqBcKYqL935aUDemu\"]},\"lib/vault-v2/src/interfaces/IERC2612.sol\":{\"keccak256\":\"0x8a6a5882a5ade43ae94e7406251df9911a782f34ad723df857c8a2d8764a77fe\",\"license\":\"GPL-2.0-or-later\",\"urls\":[\"bzz-raw://12767619d08b112738bed4f6d6df29771730ca65f52c64edb9854a0c19af1c82\",\"dweb:/ipfs/QmeqUTxqRfRz6UQkbqJaRMAmL9D4eSPDeARYhSKxR9gZNt\"]},\"lib/vault-v2/src/interfaces/IERC4626.sol\":{\"keccak256\":\"0x49085f03fc0d7bd727b2c3cc1ae3e5b975f8a863011ec8fda293b613c611a7c3\",\"license\":\"GPL-2.0-or-later\",\"urls\":[\"bzz-raw://38c86fc0c3d21190aec87f79009d24849170b66f411209e106cc279e8164c425\",\"dweb:/ipfs/QmRNQMWnoebdj3wq77NxSsYAJpDTjdFFKi3ASXHe74yvYq\"]},\"lib/vault-v2/src/interfaces/IVaultV2.sol\":{\"keccak256\":\"0xd2e10276f2e354162ee695eb0700f2567b4e0e635bc03b5a669aa4ac78b15633\",\"license\":\"GPL-2.0-or-later\",\"urls\":[\"bzz-raw://12c80ecbac96d303dd09714c411751a4241278a0c758af3906d19a50203ee602\",\"dweb:/ipfs/QmP8BEViY32ndKGSameP83xcJhUw83NBVjrZRVbMqWDi48\"]},\"src/mv2/VaultV2Allocator.sol\":{\"keccak256\":\"0xc533fc2ab3ae347bc342e2e376858b4b9103ff22f371dc6a1b4ae4af08818551\",\"license\":\"GPL-2.0-or-later\",\"urls\":[\"bzz-raw://65133fe732698c56a126438f022805040aed722d168a8d95d18bf704355bc0c2\",\"dweb:/ipfs/QmTgQX3YAZZQAp1EXzD5UdVaQVLd6buat7T7a2ia4skx1W\"]},\"src/mv2/interfaces/IBox.sol\":{\"keccak256\":\"0xa0c5e44103ea291347d487baf365dec8fed012d50725e9f9014c0d994486e6d0\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://c2df1a0bd392463ccca23fa4ee3052626e133494ddb9a509c8110e01fba3f6ab\",\"dweb:/ipfs/QmadPHHkQGQhRgLYhbhPyL1jZvvixaBgoq2adsJZ7qpAKH\"]},\"src/mv2/interfaces/IFunding.sol\":{\"keccak256\":\"0x37539ea3fadb7eb519a8bd747c802a0fecda186c6ee13694bcd1732a558dcdbb\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://c6f3e6b27bd387ac25aca537e18529f7c001253ba9ce4599ce950fdde5a33bfe\",\"dweb:/ipfs/QmPZjTwmmN6pnhgMCEVzi69UWgNs5jLoER4eXZsmv4tKx6\"]},\"src/mv2/interfaces/IOracle.sol\":{\"keccak256\":\"0x0c016ba1f83655714ef2cbc7324894f26adf3793a0d1d3584872a9825308a2fc\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://d61b32be003e8078a4803efd87d0b1888dc37be2c720f69c56d63b11fd25e5d1\",\"dweb:/ipfs/QmcJr97stMLu85EvKCUDS8UuvaCSVnh8NbNZboTct9HLN2\"]},\"src/mv2/interfaces/ISwapper.sol\":{\"keccak256\":\"0x0633269d05c449ed42390fd5a6ba5a68c0460ce18a2d05104935ec0566b14bf7\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://72ea32cddd4dc61957754e211a94fb60cfed4c439239df22fe5d166657e2122d\",\"dweb:/ipfs/QmZfSGxB4zwBkghSeUcvvgyvsvkxx1Bx7W5pCzoASkc8Yg\"]},\"src/mv2/libraries/ErrorsLib.sol\":{\"keccak256\":\"0x00377941428eaffde24560b3a881ac624b8b59cea3dbed76ae5aebaa39e997c6\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://2e8a26985b543333dcd4ed95982e730114780e290a0ff1c2977b16d7167c8694\",\"dweb:/ipfs/QmUrmntQZgYgPsDoxJRPXkazGrAGJmkXVziXg4Vb58fdCW\"]}},\"version\":1}","userdoc":{"kind":"user","notice":"Helper contract for VaultV2 and Box allocations with flash loan support","methods":{"OPERATOR_ROLE()":{"notice":"Role for operators allowed to perform restricted actions."},"initialize(address)":{"notice":"Initializes the contract, setting up access control and UUPS upgradeability."},"setOperatorRole(address,bool)":{"notice":"Grants or revokes the OPERATOR_ROLE."},"onMorphoFlashLoan(uint256,bytes)":{"notice":"Morpho flash loan callback."},"onBoxFlash(address,uint256,bytes)":{"notice":"Box flash callback."},"skimmableBalance(address,address)":{"notice":"Returns how much of a token can currently be skimmed from an adapter."},"allocateVault(address,address,uint256)":{"notice":"Allocates funds from a VaultV2 to an adapter."},"deallocateVault(address,address,uint256)":{"notice":"Deallocates funds from a VaultV2 adapter."},"repayBox(address,address,bytes,address,uint256)":{"notice":"Repays debt to a funding module via the Box."},"borrowBox(address,address,bytes,address,uint256)":{"notice":"Borrows from a funding module via the Box."},"pledgeBox(address,address,bytes,address,uint256)":{"notice":"Pledges collateral to a funding module via the Box."},"depledgeBox(address,address,bytes,address,uint256)":{"notice":"Depledges collateral from a funding module via the Box."},"deallocateVaultWithData(address,address,bytes,uint256)":{"notice":"Deallocates funds from a VaultV2 adapter using explicit adapter data."},"allocateBox(address,address,uint256,address,bytes,uint256)":{"notice":"Allocates base asset to a token in the Box."},"deallocateBox(address,address,uint256,address,bytes,uint256)":{"notice":"Deallocates a token back to base asset in the Box."},"reallocateVault(address,address,bytes,address,bytes,uint256)":{"notice":"Reallocates funds between two VaultV2 adapters using explicit adapter data."},"reinvestSkimAdapter(address,address,address,address,bytes,uint256)":{"notice":"Skims a token from an adapter, swaps it to the vault asset, and donates the proceeds to the vault."},"reallocateBox(address,address,address,uint256,address,bytes,uint256)":{"notice":"Reallocates from one token to another in the Box."},"allocateToken(address,address,address,address,uint256,address,bytes,uint256)":{"notice":"Allocates from VaultV2 through Box to a token."},"leverage(address,address,address,bytes,address,bytes,address,address,uint256)":{"notice":"Leverages a position using a Morpho flash loan."},"deallocateToken(address,address,address,address,uint256,address,bytes,uint256)":{"notice":"Deallocates a token from Box back to VaultV2."},"refinance(address,address,address,bytes,address,bytes,address,uint256,address,uint256)":{"notice":"Refinances a position to a new facility (same collateral and loan)."},"deleverage(address,address,address,bytes,address,bytes,address,uint256,address,uint256)":{"notice":"Deleverages a position using a Morpho flash loan."},"refinanceSwapCollateral(address,address,address,bytes,address,bytes,address,uint256,address,address,uint256,address,bytes)":{"notice":"Refinances to a new facility while swapping collateral to a new type."},"refinanceSwapLoan(address,address,address,bytes,address,bytes,address,uint256,address,uint256,address,uint256,address,bytes)":{"notice":"Refinances to a new facility while swapping the loan asset."}},"version":1},"devdoc":{"kind":"dev","title":"VaultV2Allocator","errors":{"FailedInnerCall()":[{"details":"A call to an address target failed. The target may have reverted."}],"NotInitializing()":[{"details":"The contract is not initializing."}],"ERC1967NonPayable()":[{"details":"An upgrade function sees `msg.value > 0` that may be lost."}],"InvalidInitialization()":[{"details":"The contract is already initialized."}],"AddressEmptyCode(address)":[{"details":"There's no code at `target` (it is not a contract)."}],"UUPSUnauthorizedCallContext()":[{"details":"The call is from an unauthorized context."}],"AccessControlBadConfirmation()":[{"details":"The caller of a function is not the expected one. NOTE: Don't confuse with {AccessControlUnauthorizedAccount}."}],"SafeERC20FailedOperation(address)":[{"details":"An operation with an ERC20 token failed."}],"AddressInsufficientBalance(address)":[{"details":"The ETH balance of the account is not enough to perform the operation."}],"ERC1967InvalidImplementation(address)":[{"details":"The `implementation` of the proxy is invalid."}],"UUPSUnsupportedProxiableUUID(bytes32)":[{"details":"The storage `slot` is unsupported as a UUID."}],"AccessControlUnauthorizedAccount(address,bytes32)":[{"details":"The `account` is missing a role."}]},"events":{"Upgraded(address)":{"details":"Emitted when the implementation is upgraded."},"Initialized(uint64)":{"details":"Triggered when the contract has been initialized or reinitialized."},"RoleGranted(bytes32,address,address)":{"details":"Emitted when `account` is granted `role`. `sender` is the account that originated the contract call, an admin role bearer except when using {AccessControl-_setupRole}."},"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`)"},"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."}},"details":"Upgradeable via UUPS pattern. Operators can perform complex allocation operations      including leverage, deleverage, and refinancing with optional collateral/loan swaps.","methods":{"constructor":{"custom:oz-upgrades-unsafe-allow":"constructor"},"proxiableUUID()":{"details":"Implementation of the ERC1822 {proxiableUUID} function. This returns the storage slot used by the implementation. It is used to validate the implementation's compatibility when performing an upgrade. IMPORTANT: A proxy pointing at a proxiable contract should not be considered proxiable itself, because this risks bricking a proxy that upgrades to it, by delegating to itself until out of gas. Thus it is critical that this function revert if invoked through a proxy. This is guaranteed by the `notDelegated` modifier."},"initialize(address)":{"params":{"initialAdmin":"The address to grant initial admin and operator roles."}},"getRoleAdmin(bytes32)":{"details":"Returns the admin role that controls `role`. See {grantRole} and {revokeRole}. To change a role's admin, use {_setRoleAdmin}."},"hasRole(bytes32,address)":{"details":"Returns `true` if `account` has been granted `role`."},"supportsInterface(bytes4)":{"details":"See {IERC165-supportsInterface}."},"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."},"revokeRole(bytes32,address)":{"details":"Revokes `role` from `account`. If `account` had been granted `role`, emits a {RoleRevoked} event. Requirements: - the caller must have ``role``'s admin role. May emit a {RoleRevoked} event."},"renounceRole(bytes32,address)":{"details":"Revokes `role` from the calling account. Roles are often managed via {grantRole} and {revokeRole}: this function's purpose is to provide a mechanism for accounts to lose their privileges if they are compromised (such as when a trusted device is misplaced). If the calling account had been revoked `role`, emits a {RoleRevoked} event. Requirements: - the caller must be `callerConfirmation`. May emit a {RoleRevoked} event."},"setOperatorRole(address,bool)":{"params":{"grant":"True to grant the role, false to revoke it.","operator":"The address to grant or revoke the role from."},"details":"Only callable by DEFAULT_ADMIN_ROLE."},"upgradeToAndCall(address,bytes)":{"details":"Upgrade the implementation of the proxy to `newImplementation`, and subsequently execute the function call encoded in `data`. Calls {_authorizeUpgrade}. Emits an {Upgraded} event.","custom:oz-upgrades-unsafe-allow-reachable":"delegatecall"},"onMorphoFlashLoan(uint256,bytes)":{"details":"Called by Morpho after flash loan funds are transferred."},"onBoxFlash(address,uint256,bytes)":{"details":"Called by Box after flash funds are transferred. Executes the actual operation logic."},"skimmableBalance(address,address)":{"params":{"token":"The token to inspect.","adapter":"The adapter to inspect."},"returns":{"amount":"The current balance of `token` held by `adapter`."}},"allocateVault(address,address,uint256)":{"params":{"vault":"The VaultV2 to allocate from.","amount":"The amount to allocate.","adapter":"The adapter to allocate to."}},"deallocateVault(address,address,uint256)":{"params":{"vault":"The VaultV2 to deallocate from.","amount":"The amount to deallocate.","adapter":"The adapter to deallocate from."}},"deallocateVaultWithData(address,address,bytes,uint256)":{"params":{"data":"The adapter-specific data for the deallocation.","vault":"The VaultV2 to deallocate from.","amount":"The amount to deallocate.","adapter":"The adapter to deallocate from."}},"allocateBox(address,address,uint256,address,bytes,uint256)":{"params":{"box":"The Box to allocate in.","amount":"The amount of base asset to allocate.","swapper":"The swapper contract to use.","toToken":"The token to allocate to.","swapData":"The swap data for the swapper.","minExpected":"The minimum expected amount of tokens to receive."},"returns":{"result":"The swap result with expected, received, and slippage tracking."}},"deallocateBox(address,address,uint256,address,bytes,uint256)":{"params":{"box":"The Box to deallocate from.","amount":"The amount of tokens to deallocate.","swapper":"The swapper contract to use.","swapData":"The swap data for the swapper.","fromToken":"The token to deallocate.","minExpected":"The minimum expected amount of base asset to receive."},"returns":{"result":"The swap result with expected, received, and slippage tracking."}},"reallocateVault(address,address,bytes,address,bytes,uint256)":{"params":{"vault":"The VaultV2 to rebalance within.","amount":"The amount to move.","toData":"The adapter-specific data for the destination allocation.","fromData":"The adapter-specific data for the source deallocation.","toAdapter":"The adapter to allocate to.","fromAdapter":"The adapter to deallocate from."}},"reinvestSkimAdapter(address,address,address,address,bytes,uint256)":{"params":{"vault":"The VaultV2 receiving the donated assets.","adapter":"The adapter to skim from.","swapper":"The swapper to convert skimToken to the vault asset.","swapData":"The swap data for the swapper.","skimToken":"The token to skim and optionally swap.","minExpected":"The minimum expected amount of vault assets to donate."},"returns":{"result":"The swap result with expected, received, and slippage tracking."}},"reallocateBox(address,address,address,uint256,address,bytes,uint256)":{"params":{"box":"The Box to reallocate in.","amount":"The amount of fromToken to reallocate.","swapper":"The swapper contract to use.","toToken":"The token to reallocate to.","swapData":"The swap data for the swapper.","fromToken":"The token to reallocate from.","minExpected":"The minimum expected amount of toToken to receive."},"returns":{"result":"The swap result with expected, received, and slippage tracking."}},"allocateToken(address,address,address,address,uint256,address,bytes,uint256)":{"details":"Handles liquidity sourcing from both Box and Vault."},"leverage(address,address,address,bytes,address,bytes,address,address,uint256)":{"params":{"box":"The Box to perform operations on.","morpho":"The Morpho protocol address for flash loans.","swapper":"The swapper for loan-to-collateral conversion.","swapData":"The swap data for the swapper.","loanToken":"The loan token to flash loan and borrow.","loanAmount":"The amount to flash loan/borrow.","facilityData":"The facility data for the funding module.","fundingModule":"The funding module to use.","collateralToken":"The collateral token to acquire."},"details":"Flow: Flash loan -> Swap loan to collateral -> Pledge collateral -> Borrow to repay flash loan","returns":{"result":"The swap result with expected, received, and slippage tracking."}},"refinance(address,address,address,bytes,address,bytes,address,uint256,address,uint256)":{"params":{"box":"The Box to perform operations on.","morpho":"The Morpho protocol address for flash loans.","loanToken":"The loan token.","loanAmount":"The amount of debt (type(uint256).max for all).","toFacilityData":"The facility data for the destination.","collateralToken":"The collateral token.","toFundingModule":"The funding module to refinance to.","collateralAmount":"The amount of collateral (type(uint256).max for all).","fromFacilityData":"The facility data for the source.","fromFundingModule":"The funding module to refinance from."},"details":"Flow: Flash loan -> Repay old debt -> Depledge -> Pledge to new -> Borrow from new to repay flash"},"deleverage(address,address,address,bytes,address,bytes,address,uint256,address,uint256)":{"params":{"box":"The Box to perform operations on.","morpho":"The Morpho protocol address for flash loans.","swapper":"The swapper for collateral-to-loan conversion.","swapData":"The swap data for the swapper.","loanToken":"The loan token to repay.","loanAmount":"The amount of debt to repay (type(uint256).max for all).","facilityData":"The facility data for the funding module.","fundingModule":"The funding module to use.","collateralToken":"The collateral token to withdraw.","collateralAmount":"The amount of collateral to withdraw (type(uint256).max for all)."},"details":"Flow: Flash loan -> Repay debt -> Depledge collateral -> Swap collateral to loan to repay flash","returns":{"result":"The swap result with expected, received, and slippage tracking."}},"refinanceSwapCollateral(address,address,address,bytes,address,bytes,address,uint256,address,address,uint256,address,bytes)":{"params":{"box":"The Box to perform operations on.","morpho":"The Morpho protocol address for flash loans.","swapper":"The swapper for collateral conversion.","swapData":"The swap data for the swapper.","loanToken":"The loan token (same for both facilities).","loanAmount":"The amount of debt (type(uint256).max for all).","toFacilityData":"The facility data for the destination.","toFundingModule":"The funding module to refinance to.","fromFacilityData":"The facility data for the source.","fromFundingModule":"The funding module to refinance from.","toCollateralToken":"The new collateral token.","fromCollateralToken":"The original collateral token.","fromCollateralAmount":"The amount of original collateral (type(uint256).max for all)."},"details":"Flow: Flash loan -> Repay old debt -> Depledge old collateral -> Swap to new collateral            -> Pledge new collateral to new facility -> Borrow to repay flash loan","returns":{"_0":"result The swap result with expected, received, and slippage tracking."}},"refinanceSwapLoan(address,address,address,bytes,address,bytes,address,uint256,address,uint256,address,uint256,address,bytes)":{"params":{"box":"The Box to perform operations on.","morpho":"The Morpho protocol address for flash loans.","swapper":"The swapper for loan token conversion.","swapData":"The swap data for the swapper.","toLoanToken":"The new loan token.","toLoanAmount":"The amount of new loan token to flash loan.","fromLoanToken":"The original loan token.","fromLoanAmount":"The amount of original debt (type(uint256).max for all).","toFacilityData":"The facility data for the destination.","collateralToken":"The collateral token (same for both facilities).","toFundingModule":"The funding module to refinance to.","collateralAmount":"The amount of collateral (type(uint256).max for all).","fromFacilityData":"The facility data for the source.","fromFundingModule":"The funding module to refinance from."},"details":"Flow: Flash loan new loan token -> Swap to old loan token -> Repay old debt            -> Depledge collateral -> Pledge collateral to new facility            -> Borrow new loan token to repay flash loan","returns":{"_0":"result The swap result with expected, received, and slippage tracking."}}},"version":1,"stateVariables":{"_box":{"details":"Box address for flash callback validation"},"_morpho":{"details":"Morpho address for flash loan callback validation"},"_expected":{"details":"Expected amount from last swap"},"_received":{"details":"Received amount from last swap"},"_slippageAfter":{"details":"Accumulated slippage after operation"},"_slippageBefore":{"details":"Accumulated slippage before operation"}}},"storageLayout":{"types":{"t_bool":{"label":"bool","encoding":"inplace","numberOfBytes":"1"},"t_address":{"label":"address","encoding":"inplace","numberOfBytes":"20"},"t_bytes32":{"label":"bytes32","encoding":"inplace","numberOfBytes":"32"},"t_mapping(t_address,t_bool)":{"key":"t_address","label":"mapping(address => bool)","value":"t_bool","encoding":"mapping","numberOfBytes":"32"},"t_struct(RoleData)427_storage":{"label":"struct AccessControl.RoleData","members":[{"slot":"0","type":"t_mapping(t_address,t_bool)","astId":424,"label":"hasRole","offset":0,"contract":"src/mv2/VaultV2Allocator.sol:VaultV2Allocator"},{"slot":"1","type":"t_bytes32","astId":426,"label":"adminRole","offset":0,"contract":"src/mv2/VaultV2Allocator.sol:VaultV2Allocator"}],"encoding":"inplace","numberOfBytes":"64"},"t_mapping(t_bytes32,t_struct(RoleData)427_storage)":{"key":"t_bytes32","label":"mapping(bytes32 => struct AccessControl.RoleData)","value":"t_struct(RoleData)427_storage","encoding":"mapping","numberOfBytes":"32"}},"storage":[{"slot":"0","type":"t_mapping(t_bytes32,t_struct(RoleData)427_storage)","astId":432,"label":"_roles","offset":0,"contract":"src/mv2/VaultV2Allocator.sol:VaultV2Allocator"}]},"transientStorageLayout":{"types":{"t_address":{"label":"address","encoding":"inplace","numberOfBytes":"20"},"t_uint256":{"label":"uint256","encoding":"inplace","numberOfBytes":"32"}},"storage":[{"slot":"0","type":"t_address","astId":3301,"label":"_morpho","offset":0,"contract":"src/mv2/VaultV2Allocator.sol:VaultV2Allocator"},{"slot":"1","type":"t_address","astId":3304,"label":"_box","offset":0,"contract":"src/mv2/VaultV2Allocator.sol:VaultV2Allocator"},{"slot":"2","type":"t_uint256","astId":3307,"label":"_expected","offset":0,"contract":"src/mv2/VaultV2Allocator.sol:VaultV2Allocator"},{"slot":"3","type":"t_uint256","astId":3310,"label":"_received","offset":0,"contract":"src/mv2/VaultV2Allocator.sol:VaultV2Allocator"},{"slot":"4","type":"t_uint256","astId":3313,"label":"_slippageBefore","offset":0,"contract":"src/mv2/VaultV2Allocator.sol:VaultV2Allocator"},{"slot":"5","type":"t_uint256","astId":3316,"label":"_slippageAfter","offset":0,"contract":"src/mv2/VaultV2Allocator.sol:VaultV2Allocator"}]},"evm":{"bytecode":{"object":"60a080604052346100c257306080525f516020614cef5f395f51905f525460ff8160401c166100b3576002600160401b03196001600160401b03821601610060575b604051614c2890816100c7823960805181818161232901526123bc0152f35b6001600160401b0319166001600160401b039081175f516020614cef5f395f51905f525581527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d290602090a15f80610041565b63f92ee8a960e01b5f5260045ffd5b5f80fdfe60806040526004361015610011575f80fd5b5f5f3560e01c8062b9a3f61461362857806301ffc9a7146135d1578063050690261461358457806306a1701e146135375780632372dd5f146134e7578063248a9ca3146134b45780632a77511214612df95780632c8c4f5314612b2f5780632f2ff15d14612af15780632f5066dd1461282557806331f57072146125f757806336568abe146125b25780633ea09e2e146125625780634f1ef2861461237d57806352d1902d14612316578063539d7b1514611d9b5780637140904914611bc257806379ffc233146119d6578063802892691461193757806391d14854146118ee57806393512617146118a9578063a217fddf1461188d578063a3d1b21d1461183d578063ad3cb1cc146117f4578063ae09b9c714611496578063bc8e939f14611271578063c4d66de81461112a578063c57e91d714610c6e578063d3fc564914610b5d578063d547741f14610b16578063d8b273f6146107fc578063e6b26a4a146107a8578063f3fa30ef1461027a578063f5b541a6146102525763fbb61d7d1461019a575f80fd5b3461023f57608036600319011261023f57806101b4613a4d565b6101bc613a63565b906044356001600160401b03811161024d576101dc903690600401613b24565b906101e56143d0565b6001600160a01b031691823b1561024d5761021d92849283604051809681958294632590ce8b60e11b8452606435916004850161436d565b03925af180156102425761022e5750f35b8161023891613ae8565b61023f5780f35b80fd5b6040513d84823e3d90fd5b505050fd5b503461023f578060031936011261023f5760206040515f516020614b735f395f51905f528152f35b503461023f5761028936613d55565b9693979495926040519861029c8a613ab9565b868a5260208a019787895260408b019088825260608c01978989526102bf6143d0565b6040516338d52e0f60e01b81526001600160a01b039190911690602081600481855afa90811561079d578b9161077e575b506040516370a0823160e01b81526001600160a01b0393841660048201819052999093909116602084602481845afa938415610666578c94610749575b50926020602494604051958680926370a0823160e01b82528760048301525afa938415610666578c94610715575b508087111561070e5761036e81886142a2565b935b8461053c575b50505050506040519063e4182b0960e01b82526020826004818a5afa9182156105315789926104fa575b50936103c49160409552845195869485946311e918cb60e01b8652600486016142d9565b038187865af180156104ef5791602091600493869187916104be575b508752885260405163e4182b0960e01b815292839182905afa9283156104b2579261047a575b505251106104225761041e9060405191829182613bad565b0390f35b60405162461bcd60e51b815260206004820152603f60248201527f5661756c745632416c6c6f6361746f722e616c6c6f63617465546f6b656e3a2060448201525f516020614b335f395f51905f526064820152608490fd5b9091506020813d6020116104aa575b8161049660209383613ae8565b810103126104a65751905f610406565b5f80fd5b3d9150610489565b604051903d90823e3d90fd5b90506104e2915060403d6040116104e8575b6104da8183613ae8565b8101906142c3565b5f6103e0565b503d6104d0565b6040513d86823e3d90fd5b9150936020823d602011610529575b8161051660209383613ae8565b810103126104a6579051909360406103a0565b3d9150610509565b6040513d8b823e3d90fd5b81018091116106fa57808711156106f35761055790876142a2565b60405163ad468d1160e01b8152602081600481875afa9081156106e8578d916106b9575b50811515806106a7575b6105ee575b5050813b156105ea57918a916105b79383604051809681958294635c9ce04d60e01b845260048401613e3e565b03925af18015610531579089916105d1575b808080610376565b816105db91613ae8565b6105e657875f6105c9565b8780fd5b8a80fd5b6040516305c0524560e31b8152908d82600481885afa91821561069a578e8093610675575b5050843b1561067157908d9161063d6040519485938493632590ce8b60e11b85526004850161436d565b038183875af1801561066657908c911561058a578161065b91613ae8565b6105ea578a5f61058a565b6040513d8e823e3d90fd5b8d80fd5b6106929293503d8091833e61068a8183613ae8565b81019061430b565b905f8e610613565b8e604051903d90823e3d90fd5b506001600160a01b0381161515610585565b6106db915060203d6020116106e1575b6106d38183613ae8565b810190614283565b5f61057b565b503d6106c9565b6040513d8f823e3d90fd5b508a610557565b634e487b7160e01b8c52601160045260248cfd5b8b93610370565b9093506020813d602011610741575b8161073160209383613ae8565b810103126104a65751925f61035b565b3d9150610724565b93506020843d602011610776575b8161076460209383613ae8565b810103126104a657925192602061032d565b3d9150610757565b610797915060203d6020116106e1576106d38183613ae8565b5f6102f0565b6040513d8d823e3d90fd5b503461023f57806107b836613c26565b936107c49291926143d0565b6001600160a01b031690813b156107f85785809461021d6040519788968795869463848802f360e01b865260048601613e63565b8580fd5b503461023f5761012036600319011261023f57610817613a4d565b61081f613a63565b610827613a8d565b836064356001600160401b038111610b1257610847903690600401613c93565b929094610852613aa3565b9360a4356001600160401b038111610b0e57610872903690600401613c93565b61087a613b6a565b60e435979092906001600160a01b03891689036105e6576040519a6004958960608e6108a581613ab9565b82815282602082015282604082015201526108be6143d0565b895c6001600160a01b0319166001600160a01b038916178a5d6001805c6001600160a01b0319166001600160a01b038e1617905d60208c6040519889809263e4182b0960e01b825260018060a01b03165afa8015610b03578c978b91610abc575b506109bd979694926109af9694926109749260045d6040519b8c99636c5939fb60e11b60208c015260018060a01b031660408b015260018060a01b031660608a015261012060808a0152610140890191613ea0565b6001600160a01b0394851660a08801528b851660c08801526101043560e08801529316610100860152848303601f1901610120860152613ea0565b03601f198101845283613ae8565b6001600160a01b0381163b15610ab85760405163701195a160e11b81529384928391859183916109ff919061010435906001600160a01b031660048501613e17565b03926001600160a01b03165af180156104ef57610aa3575b5091602060049360025c845260035c82850152845c60408501526040519485809263e4182b0960e01b825260018060a01b03165afa9081156104b25790610a6f575b61041e9250606082015260405191829182613bad565b506020823d602011610a9b575b81610a8960209383613ae8565b810103126104a65761041e9151610a59565b3d9150610a7c565b610aae848092613ae8565b610ab8575f610a17565b8280fd5b9750509391985093916020863d602011610afb575b81610ade60209383613ae8565b810103126104a65794518c988b96939592949092916109bd61091f565b3d9150610ad1565b6040513d8c823e3d90fd5b8480fd5b5080fd5b503461023f57604036600319011261023f57610b59600435610b36613a63565b90610b54610b4f825f525f602052600160405f20015490565b614479565b614799565b5080f35b503461023f5760c036600319011261023f5780610b78613a4d565b610b80613a63565b6044356001600160401b03811161024d57610b9f903690600401613b24565b91610ba8613b97565b916084356001600160401b0381116107f857610bc8903690600401613b24565b9360a43592610bd56143d0565b6001600160a01b031691823b15610c6a57604051632590ce8b60e11b815291879183918291610c099188916004850161436d565b038183865af1908115610c5f578691610c4a575b5050803b15610b0e5761021d9385809460405196879586948593635c9ce04d60e01b85526004850161436d565b81610c5491613ae8565b610b0e57845f610c1d565b6040513d88823e3d90fd5b8680fd5b503461023f576101c036600319011261023f57610c89613a4d565b610c91613a63565b9082610c9b613a8d565b6064356001600160401b038111610ab857610cba903690600401613b24565b92610cc3613aa3565b9360a4356001600160401b038111610b0e57610ce3903690600401613b24565b90610cec613b6a565b610cf4613b80565b61014435976001600160a01b03891689036105e65761018435916001600160a01b0383168303611126576101a4356001600160401b038111611122576004968c93610d438c9336908b01613b24565b97836060604051610d5381613ab9565b8281528260208201528260408201520152610d6c6143d0565b610124359560e4359460209190805c6001600160a01b0319166001600160a01b038f1617905d6001805c6001600160a01b0319166001600160a01b03831617905d60405163e4182b0960e01b81529b8c9182906001600160a01b03165afa80156106e8578f9a8e916110e9575b5060045d610124355f1914611068575b60e4355f1914610fe7575b6040805163c57e91d760e01b60208201526001600160a01b039b8c16918101919091529b90991660608c01526101c060808c01528a98610e39906101e08b0190613d31565b6001600160a01b0390911660a08a0152888103601f190160c08a0152610e5e91613d31565b6001600160a01b0395861660e08901526101008801919091529084166101208701526101408601919091528883166101608601526101643561018086015291166101a0840152828103601f19016101c0840152610eba91613d31565b03601f1981018352610ecc9083613ae8565b6001600160a01b0381163b15610ab85760405163701195a160e11b8152938492839185918391610f0e919061016435906001600160a01b031660048501613e17565b03926001600160a01b03165af18015610fdc57610fc7575b5060405163e4182b0960e01b81529160025c916004805c9160035c9160209187919082906001600160a01b03165afa9283156104b25792610f91575b61041e945060405193610f7485613ab9565b845260208401526040830152606082015260405191829182613bad565b91506020843d602011610fbf575b81610fac60209383613ae8565b810103126104a65761041e935191610f62565b3d9150610f9f565b610fd2838092613ae8565b610b12575f610f26565b6040513d85823e3d90fd5b60405163075300a160e01b8152995092506020898c818061100c8c8960048401613def565b03916001600160a01b03165afa8015610666578e998d9161102f575b5092610df4565b9950509a506020883d602011611060575b8161104d60209383613ae8565b810103126104a6578d9a8d98515f611028565b3d9150611040565b604051630b78039760e31b8152995094506020898c818061108d898b60048401613def565b03916001600160a01b03165afa8015610666578e998d916110b0575b5094610de9565b9950509a506020883d6020116110e1575b816110ce60209383613ae8565b810103126104a6578d9a8d98515f6110a9565b3d91506110c1565b9a50509b506020893d60201161111a575b8161110760209383613ae8565b810103126104a6578e9b8e99515f610dd9565b3d91506110fa565b8980fd5b8880fd5b503461023f57602036600319011261023f57611144613a4d565b5f516020614bb35f395f51905f52549060ff8260401c1615916001600160401b03811680159081611269575b600114908161125f575b159081611256575b506112475767ffffffffffffffff1981166001175f516020614bb35f395f51905f52556111c091908361121b575b506111ba81614536565b506144b1565b506111c85780f35b60ff60401b195f516020614bb35f395f51905f5254165f516020614bb35f395f51905f52557fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2602060405160018152a180f35b68ffffffffffffffffff191668010000000000000001175f516020614bb35f395f51905f52555f6111b0565b63f92ee8a960e01b8452600484fd5b9050155f611182565b303b15915061117a565b849150611170565b503461023f5760e036600319011261023f5761128b613a4d565b90611294613a63565b9061129d613a8d565b926112a6613aa3565b9360a4356001600160401b038111611492576112c6903690600401613b24565b94604051956112d487613ab9565b8487526020870195858752604088019386855260608901958787526112f76143d0565b60405163e4182b0960e01b81526001600160a01b0391909116956020826004818a5afa91821561053157899261145b575b5093611350916040955284519586948594630957e04760e31b86526064359160048701614397565b038187865af180156104ef57916020916004938691879161143a575b508752875260405163e4182b0960e01b815292839182905afa9283156104b25792611406575b505260c4359051106113ae5761041e9060405191829182613bad565b60405162461bcd60e51b815260206004820152603f60248201527f5661756c745632416c6c6f6361746f722e7265616c6c6f63617465426f783a2060448201525f516020614b335f395f51905f526064820152608490fd5b9091506020813d602011611432575b8161142260209383613ae8565b810103126104a65751905f611392565b3d9150611415565b9050611455915060403d6040116104e8576104da8183613ae8565b5f61136c565b9150936020823d60201161148a575b8161147760209383613ae8565b810103126104a657905190936040611328565b3d915061146a565b8380fd5b503461023f576114a536613d55565b9294909693604051976114b789613ab9565b89895260208901968a885260408a01928b84528b60608c01958187526114db6143d0565b60405163e4182b0960e01b81526001600160a01b039190911695906020816004818a5afa9283156104b257926117bd575b50936115309160409552845197889485946313a8a0f760e21b8652600486016142d9565b03818c855af1908115610531576004936020928b918c9161179c575b508852895260405163e4182b0960e01b815293849182905afa91821561179157889261175d575b50528251106116e85781516001600160a01b0390911692859190843b15610ab857604051632590ce8b60e11b8152918391839182916115b6919060048401613e3e565b038183885af18015610242576116d3575b505060405163ad468d1160e01b815291602083600481845afa9283156116c85785936116a7575b506001600160a01b03831661160c575b6040518061041e8682613bad565b6040516305c0524560e31b815285929091908383600481855afa9283156104ef57849361168b575b505191813b1561149257836116609560405196879586948593635c9ce04d60e01b85526004850161436d565b03925af18015610fdc57611676575b80806115fe565b611681838092613ae8565b610b12578161166f565b6116a09193503d8086833e61068a8183613ae8565b915f611634565b6116c191935060203d6020116106e1576106d38183613ae8565b915f6115ee565b6040513d87823e3d90fd5b816116dd91613ae8565b61149257835f6115c7565b60405162461bcd60e51b815260206004820152604160248201527f5661756c745632416c6c6f6361746f722e6465616c6c6f63617465546f6b656e60448201527f3a205265636569766564206c657373207468616e206d696e20657870656374656064820152601960fa1b608482015260a490fd5b9091506020813d602011611789575b8161177960209383613ae8565b810103126104a65751905f611573565b3d915061176c565b6040513d8a823e3d90fd5b90506117b7915060403d6040116104e8576104da8183613ae8565b5f61154c565b9150936020823d6020116117ec575b816117d960209383613ae8565b810103126104a65790519093604061150c565b3d91506117cc565b503461023f578060031936011261023f575061041e604051611817604082613ae8565b60058152640352e302e360dc1b6020820152604051918291602083526020830190613d31565b503461023f578061184d36613c26565b936118599291926143d0565b6001600160a01b031690813b156107f85785809461021d6040519788968795869463f5cc819560e01b865260048601613e63565b503461023f578060031936011261023f57602090604051908152f35b503461023f57604036600319011261023f576118c3613a4d565b6024358015158103610ab8576118d7614819565b156118e557610b59906144b1565b610b5990614708565b503461023f57604036600319011261023f57604061190a613a63565b91600435815280602052209060018060a01b03165f52602052602060ff60405f2054166040519015158152f35b503461023f57604036600319011261023f57611951613a4d565b9060206001600160a01b03611964613a63565b6040516370a0823160e01b81526001600160a01b03909516600486015284916024918391165afa9081156104b257906119a3575b602090604051908152f35b506020813d6020116119ce575b816119bd60209383613ae8565b810103126104a65760209051611998565b3d91506119b0565b503461023f576119e536613cc0565b94916040969394919651966119f988613ab9565b8488526020880195858752604089019386855260608a0195878752611a1c6143d0565b60405163e4182b0960e01b81526001600160a01b0391909116956020826004818a5afa918215610531578992611b8b575b5093611a719160409552845195869485946311e918cb60e01b8652600486016142d9565b038187865af180156104ef579160209160049386918791611b6a575b508752885260405163e4182b0960e01b815292839182905afa9283156104b25792611b36575b50525110611acb5761041e9060405191829182613bad565b60405162461bcd60e51b815260206004820152603d60248201527f5661756c745632416c6c6f6361746f722e616c6c6f63617465426f783a20526560448201527f636569766564206c657373207468616e206d696e2065787065637465640000006064820152608490fd5b9091506020813d602011611b62575b81611b5260209383613ae8565b810103126104a65751905f611ab3565b3d9150611b45565b9050611b85915060403d6040116104e8576104da8183613ae8565b5f611a8d565b9150936020823d602011611bba575b81611ba760209383613ae8565b810103126104a657905190936040611a4d565b3d9150611b9a565b503461023f57611bd136613cc0565b9491604096939491965196611be588613ab9565b8488526020880195858752604089019386855260608a0195878752611c086143d0565b60405163e4182b0960e01b81526001600160a01b0391909116956020826004818a5afa918215610531578992611d64575b5093611c5d9160409552845195869485946313a8a0f760e21b8652600486016142d9565b038187865af180156104ef579160209160049386918791611d43575b508752885260405163e4182b0960e01b815292839182905afa9283156104b25792611d0f575b50525110611cb75761041e9060405191829182613bad565b60405162461bcd60e51b815260206004820152603f60248201527f5661756c745632416c6c6f6361746f722e6465616c6c6f63617465426f783a2060448201525f516020614b335f395f51905f526064820152608490fd5b9091506020813d602011611d3b575b81611d2b60209383613ae8565b810103126104a65751905f611c9f565b3d9150611d1e565b9050611d5e915060403d6040116104e8576104da8183613ae8565b5f611c79565b9150936020823d602011611d93575b81611d8060209383613ae8565b810103126104a657905190936040611c39565b3d9150611d73565b503461023f5760c036600319011261023f57611db5613a4d565b90611dbe613a63565b91611dc7613a8d565b92611dd0613b97565b926084356001600160401b038111610b1257611df0903690600401613b24565b9160405194611dfe86613ab9565b8286526020860194838652836040880152836060880152611e1d6143d0565b6040516338d52e0f60e01b81526001600160a01b03919091169490602081600481895afa9081156116c85785916122f7575b506040516370a0823160e01b81523060048201526001600160a01b03918216999094918116929091602086602481875afa9081156122ec5787916122b7575b6040516370a0823160e01b815230600482015296506020876024818f5afa968715611791578897612283575b506001600160a01b0316803b156105e65787809160246040518094819363bc25cf7760e01b83528a60048401525af180156117915790889161226e575b50506040516370a0823160e01b815230600482015290602082602481885afa801561179157889061223a575b611f2d92506142a2565b9384156121d5578a840361207e575b5050505050604051916370a0823160e01b83523060048401526020836024818a5afa9081156104b2579061204a575b611f7592506142a2565b80835280845260a43511611fd157905160405163a9059cbb60e01b60208201526001600160a01b039092166024830152604482015261041e92611fc59190611fc082606481016109af565b614a49565b60405191829182613bad565b60405162461bcd60e51b815260206004820152604560248201527f5661756c745632416c6c6f6361746f722e7265696e76657374536b696d41646160448201527f707465723a205265636569766564206c657373207468616e206d696e206578706064820152641958dd195960da1b608482015260a490fd5b506020823d602011612076575b8161206460209383613ae8565b810103126104a657611f759151611f6b565b3d9150612057565b6001600160a01b03169361209381868561461c565b843b15610c6a5786908b6120d360405194859384936316dbcdbf60e21b855289600486015260248501526044840152608060648401526084830190613d31565b038183885af18015610c5f579086916121c0575b50506040519185806020850163095ea7b360e01b815286602487015281604487015260448652612118606487613ae8565b85519082855af190612128614a02565b8261218e575b5081612183575b5015612143575b8080611f3c565b611fc061217b936040519063095ea7b360e01b6020830152602482015286604482015260448152612175606482613ae8565b82614a49565b5f808061213c565b90503b15155f612135565b805191925081159182156121a6575b5050905f61212e565b6121b99250602080918301019101614a31565b5f8061219d565b816121ca91613ae8565b610b0e57845f6120e7565b60405162461bcd60e51b815260206004820152603760248201527f5661756c745632416c6c6f6361746f722e7265696e76657374536b696d4164616044820152761c1d195c8e88139bc81d1bdad95b9cc81cdada5b5b5959604a1b6064820152608490fd5b506020823d602011612266575b8161225460209383613ae8565b810103126104a657611f2d9151611f23565b3d9150612247565b8161227891613ae8565b610c6a57865f611ef7565b9096506020813d6020116122af575b8161229f60209383613ae8565b810103126104a65751955f611eba565b3d9150612292565b90506020863d6020116122e4575b816122d260209383613ae8565b810103126104a6576024955190611e8e565b3d91506122c5565b6040513d89823e3d90fd5b612310915060203d6020116106e1576106d38183613ae8565b5f611e4f565b503461023f578060031936011261023f577f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316300361236e5760206040515f516020614b535f395f51905f528152f35b63703e46dd60e11b8152600490fd5b50604036600319011261023f57612392613a4d565b906024356001600160401b038111610b12576123b2903690600401613b24565b6001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016308114908115612540575b50612531576123f4614819565b6040516352d1902d60e01b8152926001600160a01b0381169190602085600481865afa809585966124fd575b5061243957634c9c8ce360e01b84526004839052602484fd5b9091845f516020614b535f395f51905f5281036124eb5750813b156124d9575f516020614b535f395f51905f5280546001600160a01b031916821790557fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b8480a281518390156124bf5780836020610b5995519101845af46124b9614a02565b91614ab4565b505050346124ca5780f35b63b398979f60e01b8152600490fd5b634c9c8ce360e01b8452600452602483fd5b632a87526960e21b8552600452602484fd5b9095506020813d602011612529575b8161251960209383613ae8565b81010312610b0e5751945f612420565b3d915061250c565b63703e46dd60e11b8252600482fd5b5f516020614b535f395f51905f52546001600160a01b0316141590505f6123e7565b503461023f578061257236613c26565b9361257e9291926143d0565b6001600160a01b031690813b156107f85785809461021d6040519788968795869463adb04a3d60e01b865260048601613e63565b503461023f57604036600319011261023f576125cc613a63565b336001600160a01b038216036125e857610b5990600435614799565b63334bd91960e11b8252600482fd5b503461023f57604036600319011261023f576004356024356001600160401b038111610ab85761262b903690600401613c93565b9190835c6001600160a01b03163303612816578083859201602082820312610ab85761265682613bd7565b6001600160e01b031916636c5939fb60e11b8103612718575061267990826141e8565b50919a965050505050505b6001600160a01b03169161269985848861461c565b823b1561149257604051631ee81e6560e31b81526001600160a01b0387166004820152602481018690526060604482015292849284928391859183916126e491606484019190613ea0565b03925af1801561024257612703575b505061270091339061461c565b80f35b8161270d91613ae8565b610ab857825f6126f3565b632f5066dd60e01b810361274157506127319082614146565b50919b9750505050505050612684565b632c8c4f5360e01b8103612769575061275a90826140a0565b509b9750505050505050612684565b625cd1fb60e11b810361279557506127819082613fc1565b505050979c98505050505050505094612684565b90925063c57e91d760e01b036127c5576127b0859282613ed9565b505050989d9950505050505050505094612684565b60405162461bcd60e51b815260206004820152602360248201527f5661756c745632416c6c6f6361746f723a20496e76616c6964206f706572617460448201526234b7b760e91b6064820152608490fd5b637e5f4b6160e01b8452600484fd5b503461023f5761014036600319011261023f57612840613a4d565b612848613a63565b612850613a8d565b836064356001600160401b038111610b1257612870903690600401613c93565b92909461287b613aa3565b9560a4356001600160401b038111610b0e5760609761289f60049236908401613c93565b906128a8613b6a565b926128b1613b80565b95896040519d8e6128c181613ab9565b82815282602082015282604082015201526128da6143d0565b61012435968a5c6001600160a01b0319166001600160a01b038a16178b5d6001805c6001600160a01b0319166001600160a01b038f1617905d60208d6040519889809263e4182b0960e01b825260018060a01b03165afa801561079d578d978c91612ab8575b5060045d610124355f1914612a29575b60408051632f5066dd60e01b60208201526001600160a01b039889169181019190915299871660608b015261014060808b0152909516996129f79589956129e99590949093909290916129a891610160890191613ea0565b6001600160a01b0394851660a088015260e43560c088015260e087018d905261010087018990529316610120860152848303601f1901610140860152613ea0565b03601f198101855284613ae8565b6001600160a01b0382163b1561149257836109ff956040519687958694859363701195a160e11b855260048501613e17565b604051630b78039760e31b8152909750955060208680612a4e8a8f8660048501613ec0565b03816001600160a01b038d165afa8015610b03578c968b91612a72575b5096612950565b95939a5050929094506020843d602011612ab0575b81612a9460209383613ae8565b810103126104a65792518c988b959294939092916129a8612a6b565b3d9150612a87565b97505099506020863d602011612ae9575b81612ad660209383613ae8565b810103126104a6578d998c96515f612940565b3d9150612ac9565b503461023f57604036600319011261023f57610b59600435612b11613a63565b90612b2a610b4f825f525f602052600160405f20015490565b6145a7565b503461023f5761014036600319011261023f5780612b4b613a4d565b612b53613a63565b90612b5c613a8d565b6064356001600160401b038111610b0e57612b7b903690600401613c93565b9290612b85613aa3565b60a435926001600160401b0384116105e657612ba688943690600401613c93565b612bb1939193613b6a565b9360e43595612bbe613b80565b6101243597612bcb6143d0565b979b6001600160a01b03909616988c98968791805c6001600160a01b0319168c17905d6001600160a01b0316986001805c6001600160a01b0319168b17905d5f1914612d7b575b5f1914612cec575b91612c6c612c8d9492612cc1999897969460018060a01b03169c6040519c8d9a632c8c4f5360e01b60208d015260408c015260018060a01b031660608b015261014060808b01526101608a0191613ea0565b6001600160a01b0390931660a0880152868303601f190160c0880152613ea0565b6001600160a01b0390921660e08401526101008301526101208201869052610140820187905203601f198101845283613ae8565b803b15610b0e5761021d938580946040519687958694859363701195a160e11b855260048501613e17565b60405163075300a160e01b815290955060208180612d0f8a8f8760048501613ec0565b03816001600160a01b038e165afa9081156106e8578d91612d32575b5094612c1a565b97969594929c5050916020873d602011612d73575b81612d5460209383613ae8565b810103126104a65795518c9b9596949593949193919290612c6c612d2b565b3d9150612d47565b9b50612da26020828c8e604051809581948293630b78039760e31b84528a60048501613ec0565b03916001600160a01b03165afa90811561069a578e91612dc4575b509b612c12565b9d505060208d3d602011612df1575b81612de060209383613ae8565b810103126104a6578d9c515f612dbd565b3d9150612dd3565b503461023f57606036600319011261023f57612e13613a4d565b506044356001600160401b038111610b1257612e33903690600401613c93565b60015c6001600160a01b031633036134a55782908201602083820312610b12576001600160e01b0319612e6584613bd7565b1692636c5939fb60e11b840361301157612e809293506141e8565b6040516370a0823160e01b81523360048201529398509196509394936001600160a01b0384169190602084602481865afa938415610b03578a94612fd2575b5091612ed388868b60209560249733614894565b6040516370a0823160e01b815233600482015292839182905afa908115611791578891612f99575b5090612f06916142a2565b90333b15610c6a5760405163848802f360e01b815291879183918291612f329190888860048601613e63565b038183335af1908115610c5f578691612f84575b5050333b15610b0e57612f6f8593604051958694859463f5cc819560e01b865260048601613e63565b038183335af180156102425761022e57505080f35b81612f8e91613ae8565b610b0e57845f612f46565b919750506020813d602011612fca575b81612fb660209383613ae8565b810103126104a65751879690612f06612efb565b3d9150612fa9565b9192995092506020813d602011613009575b81612ff160209383613ae8565b810103126104a6575189989092909190612ed3612ebf565b3d9150612fe4565b632f5066dd60e01b84036130e45761302a929350614146565b95939850989395919650333b15611492578361305d916040518093819263adb04a3d60e01b83528b888860048601613e63565b038183335af19081156104ef5784916130cf575b5050333b15610ab8578491839161309d8960405195869485946310dc411b60e11b865260048601613e63565b038183335af18015610242576130ba575b50506127009433614894565b816130c491613ae8565b6107f857855f6130ae565b816130d991613ae8565b610ab857825f613071565b632c8c4f5360e01b84036131d8576130fd9293506140a0565b975097509293909194333b156111265760405163adb04a3d60e01b815289818061312d8b8d888860048601613e63565b038183335af1908115610b03578a916131c3575b5050333b15611126578291899161316d8660405195869485946310dc411b60e11b865260048601613e63565b038183335af19081156117915788916131ae575b5050333b15610c6a5760405163848802f360e01b815291879183918291612f329190888860048601613e63565b816131b891613ae8565b610c6a57865f613181565b816131cd91613ae8565b61112657885f613141565b625cd1fb60e11b8403613336576131f0929350613fc1565b95939798929b509598909950333b1561331d576132268c8b8d604051938492839263adb04a3d60e01b8452888860048601613e63565b038183335af19081156106e8578d91613321575b5050333b1561331d5782918c916132668660405195869485946310dc411b60e11b865260048601613e63565b038183335af190811561079d578b91613308575b50506040516370a0823160e01b8152336004820152936001600160a01b0386169390602086602481885afa958615610666578c966132c7575b50928660249593612ed39360209633614894565b9492939b5094506020843d602011613300575b816132e760209383613ae8565b810103126104a65792518b9a90949193909291866132b3565b3d91506132da565b8161331291613ae8565b61112257895f61327a565b8b80fd5b8161332b91613ae8565b61331d578b5f61323a565b909290915063c57e91d760e01b036127c557829161335391613ed9565b6040516370a0823160e01b8152336004820152939d50919b5096999798949795969495946001600160a01b0385169190602084602481865afa938415613498578f94613459575b50916133af8d8f889060209560249733614894565b6040516370a0823160e01b815233600482015292839182905afa9081156106e8578d91613420575b50906133e2916142a2565b818111156134185750905b333b156105ea5760405163adb04a3d60e01b8152918b918391829161312d9190888860048601613e63565b9050906133ed565b919c50506020813d602011613451575b8161343d60209383613ae8565b810103126104a657518c9b906133e26133d7565b3d9150613430565b929e5092506020823d602011613490575b8161347760209383613ae8565b810103126104a65790518e9d90929091906133af61339a565b3d915061346a565b8f604051903d90823e3d90fd5b63e4705dc760e01b8352600483fd5b503461023f57602036600319011261023f5760206134df6004355f525f602052600160405f20015490565b604051908152f35b503461023f57806134f736613c26565b936135039291926143d0565b6001600160a01b031690813b156107f85785809461021d604051978896879586946310dc411b60e11b865260048601613e63565b503461023f578061354736613bec565b916135506143d0565b6001600160a01b031691823b1561024d5761021d92849283604051809681958294632590ce8b60e11b845260048401613e3e565b503461023f578061359436613bec565b9161359d6143d0565b6001600160a01b031691823b1561024d5761021d92849283604051809681958294635c9ce04d60e01b845260048401613e3e565b503461023f57602036600319011261023f5760043563ffffffff60e01b8116809103610b1257602090637965db0b60e01b8114908115613617575b506040519015158152f35b6301ffc9a760e01b1490508261360c565b50346104a6576101a03660031901126104a657613643613a4d565b61364b613a63565b613653613a8d565b926064356001600160401b0381116104a657613673903690600401613b24565b9261367c613aa3565b9460a4356001600160401b0381116104a65761369c903690600401613b24565b936136a5613b6a565b9660e435976136b2613b80565b610124356001600160a01b03811696909391908785036104a6576101443599610164356001600160a01b03811694908590036104a657610184359c6001600160401b038e116104a6578e9d61370b903690600401613b24565b9760405161371881613ab9565b5f8152602081015f9052604081015f90526060015f90526137376143d0565b9c9d8e9d6001600160a01b03909516999094905f805c6001600160a01b0319168c17905d6001600160a01b03169d8e6001805c6001600160a01b0319168217905d60405180809263e4182b0960e01b82525a92600491602094fa90811561390d575f91613a1b575b5060045d5f1914613994575b508c9d9e5f9d999a9b9c9d1914613918575b6040519a8b99625cd1fb60e11b60208c015260408b0152600160a01b600190031660608a0152608089016101a090526101c089016137fa91613d31565b6001600160a01b0390911660a0890152878103601f190160c089015261381f91613d31565b6001600160a01b0394851660e08801526101008701919091529216610120850152610140840187905261016084018a9052610180840152828103601f19016101a084015261386c91613d31565b03601f198101835261387e9083613ae8565b803b156104a6576138a9955f80946040519889958694859363701195a160e11b855260048501613e17565b03925af192831561390d576004936138fa575b5060025c9160035c6020855c926040519687809263e4182b0960e01b82525afa9283156104b25792610f915761041e945060405193610f7485613ab9565b61390691505f90613ae8565b5f5f6138bc565b6040513d5f823e3d90fd5b60405163075300a160e01b8152985092506020888061393b898760048401613def565b03816001600160a01b038e165afa801561390d578d985f9161395f575b50926137bd565b9850506020883d60201161398c575b8161397b60209383613ae8565b810103126104a6578c97515f613958565b3d915061396e565b8a9b9c9d9e506020906139be9a9b60405180809d8194630b78039760e31b83528760048401613def565b03916001600160a01b03165afa801561390d578e995f916139e6575b509d9c9b9a99986137ab565b9950506020893d602011613a13575b81613a0260209383613ae8565b810103126104a6578d98515f6139da565b3d91506139f5565b90506020813d602011613a45575b81613a3660209383613ae8565b810103126104a657515f61379f565b3d9150613a29565b600435906001600160a01b03821682036104a657565b602435906001600160a01b03821682036104a657565b35906001600160a01b03821682036104a657565b604435906001600160a01b03821682036104a657565b608435906001600160a01b03821682036104a657565b608081019081106001600160401b03821117613ad457604052565b634e487b7160e01b5f52604160045260245ffd5b90601f801991011681019081106001600160401b03821117613ad457604052565b6001600160401b038111613ad457601f01601f191660200190565b81601f820112156104a657803590613b3b82613b09565b92613b496040519485613ae8565b828452602083830101116104a657815f926020809301838601378301015290565b60c435906001600160a01b03821682036104a657565b61010435906001600160a01b03821682036104a657565b606435906001600160a01b03821682036104a657565b91909160608060808301948051845260208101516020850152604081015160408501520151910152565b35906001600160e01b0319821682036104a657565b60609060031901126104a6576004356001600160a01b03811681036104a657906024356001600160a01b03811681036104a6579060443590565b60a06003198201126104a6576004356001600160a01b03811681036104a657916024356001600160a01b03811681036104a65791604435906001600160401b0382116104a657613c7891600401613b24565b906064356001600160a01b03811681036104a6579060843590565b9181601f840112156104a6578235916001600160401b0383116104a657602083818601950101116104a657565b60c06003198201126104a6576004356001600160a01b03811681036104a657916024356001600160a01b03811681036104a65791604435916064356001600160a01b03811681036104a65791608435906001600160401b0382116104a657613d2a91600401613b24565b9060a43590565b805180835260209291819084018484015e5f828201840152601f01601f1916010190565b6101006003198201126104a6576004356001600160a01b03811681036104a657916024356001600160a01b03811681036104a657916044356001600160a01b03811681036104a657916064356001600160a01b03811681036104a657916084359160a4356001600160a01b03811681036104a6579160c435906001600160401b0382116104a657613de891600401613b24565b9060e43590565b90613e07602091949394604084526040840190613d31565b6001600160a01b03909416910152565b613e3b939260609260018060a01b0316825260208201528160408201520190613d31565b90565b92919060018060a01b03168352606060208401525f6060840152604060808401930152565b6001600160a01b03909116815260806020820181905292949392606092613e8c91830190613d31565b6001600160a01b0390951660408201520152565b908060209392818452848401375f828201840152601f01601f1916010190565b91602091613e0791959495604085526040850191613ea0565b9190916101c0818403126104a657613ef081613bd7565b92613efd60208301613a79565b92613f0a60408401613a79565b9260608101356001600160401b0381116104a65783613f2a918301613b24565b92613f3760808301613a79565b9260a08301356001600160401b0381116104a65782613f57918501613b24565b92613f6460c08201613a79565b9260e082013592613f786101008401613a79565b9261012081013592613f8d6101408301613a79565b9261016083013592613fa26101808201613a79565b926101a08201356001600160401b0381116104a657613e3b9201613b24565b906101a0828203126104a657613fd682613bd7565b92613fe360208401613a79565b92613ff060408201613a79565b9260608201356001600160401b0381116104a65781614010918401613b24565b9261401d60808401613a79565b9260a08101356001600160401b0381116104a6578361403d918301613b24565b9261404a60c08301613a79565b9260e08301359261405e6101008201613a79565b9261406c6101208301613a79565b92610140830135926140816101608201613a79565b926101808201356001600160401b0381116104a657613e3b9201613b24565b91610140838303126104a6576140b583613bd7565b926140c260208201613a79565b926140cf60408301613a79565b9260608301356001600160401b0381116104a657826140ef918501613b24565b926140fc60808201613a79565b9260a0820135906001600160401b0382116104a65761411c918301613b24565b9161412960c08301613a79565b9160e0810135916101206141406101008401613a79565b92013590565b90610140828203126104a65761415b82613bd7565b9261416860208401613a79565b9261417560408201613a79565b9260608201356001600160401b0381116104a65781614195918401613b24565b926141a260808401613a79565b9260a0810135926141b560c08301613a79565b9260e0830135926141c96101008201613a79565b926101208201356001600160401b0381116104a657613e3b9201613b24565b91610120838303126104a6576141fd83613bd7565b9261420a60208201613a79565b9261421760408301613a79565b9260608301356001600160401b0381116104a65782614237918501613b24565b9261424460808201613a79565b9261425160a08301613a79565b9260c08301359261426460e08201613a79565b926101008201356001600160401b0381116104a657613e3b9201613b24565b908160209103126104a657516001600160a01b03811681036104a65790565b919082039182116142af57565b634e487b7160e01b5f52601160045260245ffd5b91908260409103126104a6576020825192015190565b6001600160a01b03918216815260208101929092529091166040820152608060608201819052613e3b92910190613d31565b6020818303126104a6578051906001600160401b0382116104a6570181601f820112156104a65780519061433e82613b09565b9261434c6040519485613ae8565b828452602083830101116104a657815f9260208093018386015e8301015290565b9392916143929060409260018060a01b03168652606060208701526060860190613d31565b930152565b6001600160a01b039182168152918116602083015260408201929092529116606082015260a060808201819052613e3b92910190613d31565b335f9081525f516020614b935f395f51905f52602052604090205460ff168015614455575b156143fc57565b60405162461bcd60e51b815260206004820152602b60248201527f5661756c745632416c6c6f6361746f723a2043616c6c6572206973206e6f742060448201526a30b71037b832b930ba37b960a91b6064820152608490fd5b50335f9081525f516020614bd35f395f51905f52602052604090205460ff166143f5565b5f8181526020818152604080832033845290915290205460ff161561449b5750565b63e2517d3f60e01b5f523360045260245260445ffd5b6001600160a01b0381165f9081525f516020614b935f395f51905f52602052604090205460ff16614531576001600160a01b03165f8181525f516020614b935f395f51905f5260205260408120805460ff191660011790553391905f516020614b735f395f51905f52905f516020614b135f395f51905f529080a4600190565b505f90565b6001600160a01b0381165f9081525f516020614bd35f395f51905f52602052604090205460ff16614531576001600160a01b03165f8181525f516020614bd35f395f51905f5260205260408120805460ff191660011790553391905f516020614b135f395f51905f528180a4600190565b5f818152602081815260408083206001600160a01b038616845290915290205460ff16614616575f818152602081815260408083206001600160a01b0395909516808452949091528120805460ff19166001179055339291905f516020614b135f395f51905f529080a4600190565b50505f90565b60405163095ea7b360e01b602082019081526001600160a01b03841660248301526044820194909452919261465483606481016129e9565b82516001600160a01b038316915f91829182855af190614672614a02565b826146d6575b50816146cb575b501561468a57505050565b60405163095ea7b360e01b60208201526001600160a01b0390931660248401525f60448085019190915283526146c992611fc090612175606482613ae8565b565b90503b15155f61467f565b805191925081159182156146ee575b5050905f614678565b6147019250602080918301019101614a31565b5f806146e5565b6001600160a01b0381165f9081525f516020614b935f395f51905f52602052604090205460ff1615614531576001600160a01b03165f8181525f516020614b935f395f51905f5260205260408120805460ff191690553391905f516020614b735f395f51905f52907ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9080a4600190565b5f818152602081815260408083206001600160a01b038616845290915290205460ff1615614616575f818152602081815260408083206001600160a01b0395909516808452949091528120805460ff19169055339291907ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9080a4600190565b335f9081525f516020614bd35f395f51905f52602052604090205460ff161561483e57565b60405162461bcd60e51b815260206004820152602860248201527f5661756c745632416c6c6f6361746f723a2043616c6c6572206973206e6f742060448201526730b71030b236b4b760c11b6064820152608490fd5b6040516338d52e0f60e01b81529495929491936001600160a01b039091169291602081600481875afa90811561390d575f916149e3575b506001600160a01b0382811691160361494057505f604094956149038651978896879586946311e918cb60e01b8652600486016142d9565b03925af1801561390d575f915f9161491f575b5060035d60025d565b905061493a915060403d6040116104e8576104da8183613ae8565b5f614916565b946040516338d52e0f60e01b8152602081600481875afa90811561390d575f916149c4575b506001600160a01b0382811691160361499d57505f604094956149038651978896879586946313a8a0f760e21b8652600486016142d9565b9092945f90614903604096875198899788968795630957e04760e31b875260048701614397565b6149dd915060203d6020116106e1576106d38183613ae8565b5f614965565b6149fc915060203d6020116106e1576106d38183613ae8565b5f6148cb565b3d15614a2c573d90614a1382613b09565b91614a216040519384613ae8565b82523d5f602084013e565b606090565b908160209103126104a6575180151581036104a65790565b5f80614a719260018060a01b03169360208151910182865af1614a6a614a02565b9083614ab4565b8051908115159182614a99575b5050614a875750565b635274afe760e01b5f5260045260245ffd5b614aac9250602080918301019101614a31565b155f80614a7e565b90614ad85750805115614ac957805190602001fd5b630a12f52160e11b5f5260045ffd5b81511580614b09575b614ae9575090565b639996b31560e01b5f9081526001600160a01b0391909116600452602490fd5b50803b15614ae156fe2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d5265636569766564206c657373207468616e206d696e20657870656374656400360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc97667070c54ef182b0f5858b034beac1b6f3089aa2d3188bb1e8929f4fa9b929ee57cd81e84075558e8fcc182a1f4393f91fc97f963a136e66b7f949a62f319ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00ad3228b676f7d3cd4284a5443f17f1962b36e491b30a40b2405849e597ba5fb5a2646970667358221220f9f40c16890681a9fe88125c9bdd981a284c6496d6925f37d09ad8e12953dfa864736f6c634300081c0033f0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00","sourceMap":"1796:40536:22:-:0;;;;;;;1060:4:8;1052:13;;-1:-1:-1;;;;;;;;;;;1796:40536:22;;;;;;7896:76:7;;-1:-1:-1;;;;;;;;;;;1796:40536:22;;7985:34:7;7981:146;;-1:-1:-1;1796:40536:22;;;;;;;;1052:13:8;1796:40536:22;;;;;;;;;;;7981:146:7;-1:-1:-1;;;;;;1796:40536:22;-1:-1:-1;;;;;1796:40536:22;;;-1:-1:-1;;;;;;;;;;;1796:40536:22;;;8087:29:7;;1796:40536:22;;8087:29:7;7981:146;;;;7896:76;7938:23;;;-1:-1:-1;7938:23:7;;-1:-1:-1;7938:23:7;1796:40536:22;;;","linkReferences":{}},"deployedBytecode":{"object":"60806040526004361015610011575f80fd5b5f5f3560e01c8062b9a3f61461362857806301ffc9a7146135d1578063050690261461358457806306a1701e146135375780632372dd5f146134e7578063248a9ca3146134b45780632a77511214612df95780632c8c4f5314612b2f5780632f2ff15d14612af15780632f5066dd1461282557806331f57072146125f757806336568abe146125b25780633ea09e2e146125625780634f1ef2861461237d57806352d1902d14612316578063539d7b1514611d9b5780637140904914611bc257806379ffc233146119d6578063802892691461193757806391d14854146118ee57806393512617146118a9578063a217fddf1461188d578063a3d1b21d1461183d578063ad3cb1cc146117f4578063ae09b9c714611496578063bc8e939f14611271578063c4d66de81461112a578063c57e91d714610c6e578063d3fc564914610b5d578063d547741f14610b16578063d8b273f6146107fc578063e6b26a4a146107a8578063f3fa30ef1461027a578063f5b541a6146102525763fbb61d7d1461019a575f80fd5b3461023f57608036600319011261023f57806101b4613a4d565b6101bc613a63565b906044356001600160401b03811161024d576101dc903690600401613b24565b906101e56143d0565b6001600160a01b031691823b1561024d5761021d92849283604051809681958294632590ce8b60e11b8452606435916004850161436d565b03925af180156102425761022e5750f35b8161023891613ae8565b61023f5780f35b80fd5b6040513d84823e3d90fd5b505050fd5b503461023f578060031936011261023f5760206040515f516020614b735f395f51905f528152f35b503461023f5761028936613d55565b9693979495926040519861029c8a613ab9565b868a5260208a019787895260408b019088825260608c01978989526102bf6143d0565b6040516338d52e0f60e01b81526001600160a01b039190911690602081600481855afa90811561079d578b9161077e575b506040516370a0823160e01b81526001600160a01b0393841660048201819052999093909116602084602481845afa938415610666578c94610749575b50926020602494604051958680926370a0823160e01b82528760048301525afa938415610666578c94610715575b508087111561070e5761036e81886142a2565b935b8461053c575b50505050506040519063e4182b0960e01b82526020826004818a5afa9182156105315789926104fa575b50936103c49160409552845195869485946311e918cb60e01b8652600486016142d9565b038187865af180156104ef5791602091600493869187916104be575b508752885260405163e4182b0960e01b815292839182905afa9283156104b2579261047a575b505251106104225761041e9060405191829182613bad565b0390f35b60405162461bcd60e51b815260206004820152603f60248201527f5661756c745632416c6c6f6361746f722e616c6c6f63617465546f6b656e3a2060448201525f516020614b335f395f51905f526064820152608490fd5b9091506020813d6020116104aa575b8161049660209383613ae8565b810103126104a65751905f610406565b5f80fd5b3d9150610489565b604051903d90823e3d90fd5b90506104e2915060403d6040116104e8575b6104da8183613ae8565b8101906142c3565b5f6103e0565b503d6104d0565b6040513d86823e3d90fd5b9150936020823d602011610529575b8161051660209383613ae8565b810103126104a6579051909360406103a0565b3d9150610509565b6040513d8b823e3d90fd5b81018091116106fa57808711156106f35761055790876142a2565b60405163ad468d1160e01b8152602081600481875afa9081156106e8578d916106b9575b50811515806106a7575b6105ee575b5050813b156105ea57918a916105b79383604051809681958294635c9ce04d60e01b845260048401613e3e565b03925af18015610531579089916105d1575b808080610376565b816105db91613ae8565b6105e657875f6105c9565b8780fd5b8a80fd5b6040516305c0524560e31b8152908d82600481885afa91821561069a578e8093610675575b5050843b1561067157908d9161063d6040519485938493632590ce8b60e11b85526004850161436d565b038183875af1801561066657908c911561058a578161065b91613ae8565b6105ea578a5f61058a565b6040513d8e823e3d90fd5b8d80fd5b6106929293503d8091833e61068a8183613ae8565b81019061430b565b905f8e610613565b8e604051903d90823e3d90fd5b506001600160a01b0381161515610585565b6106db915060203d6020116106e1575b6106d38183613ae8565b810190614283565b5f61057b565b503d6106c9565b6040513d8f823e3d90fd5b508a610557565b634e487b7160e01b8c52601160045260248cfd5b8b93610370565b9093506020813d602011610741575b8161073160209383613ae8565b810103126104a65751925f61035b565b3d9150610724565b93506020843d602011610776575b8161076460209383613ae8565b810103126104a657925192602061032d565b3d9150610757565b610797915060203d6020116106e1576106d38183613ae8565b5f6102f0565b6040513d8d823e3d90fd5b503461023f57806107b836613c26565b936107c49291926143d0565b6001600160a01b031690813b156107f85785809461021d6040519788968795869463848802f360e01b865260048601613e63565b8580fd5b503461023f5761012036600319011261023f57610817613a4d565b61081f613a63565b610827613a8d565b836064356001600160401b038111610b1257610847903690600401613c93565b929094610852613aa3565b9360a4356001600160401b038111610b0e57610872903690600401613c93565b61087a613b6a565b60e435979092906001600160a01b03891689036105e6576040519a6004958960608e6108a581613ab9565b82815282602082015282604082015201526108be6143d0565b895c6001600160a01b0319166001600160a01b038916178a5d6001805c6001600160a01b0319166001600160a01b038e1617905d60208c6040519889809263e4182b0960e01b825260018060a01b03165afa8015610b03578c978b91610abc575b506109bd979694926109af9694926109749260045d6040519b8c99636c5939fb60e11b60208c015260018060a01b031660408b015260018060a01b031660608a015261012060808a0152610140890191613ea0565b6001600160a01b0394851660a08801528b851660c08801526101043560e08801529316610100860152848303601f1901610120860152613ea0565b03601f198101845283613ae8565b6001600160a01b0381163b15610ab85760405163701195a160e11b81529384928391859183916109ff919061010435906001600160a01b031660048501613e17565b03926001600160a01b03165af180156104ef57610aa3575b5091602060049360025c845260035c82850152845c60408501526040519485809263e4182b0960e01b825260018060a01b03165afa9081156104b25790610a6f575b61041e9250606082015260405191829182613bad565b506020823d602011610a9b575b81610a8960209383613ae8565b810103126104a65761041e9151610a59565b3d9150610a7c565b610aae848092613ae8565b610ab8575f610a17565b8280fd5b9750509391985093916020863d602011610afb575b81610ade60209383613ae8565b810103126104a65794518c988b96939592949092916109bd61091f565b3d9150610ad1565b6040513d8c823e3d90fd5b8480fd5b5080fd5b503461023f57604036600319011261023f57610b59600435610b36613a63565b90610b54610b4f825f525f602052600160405f20015490565b614479565b614799565b5080f35b503461023f5760c036600319011261023f5780610b78613a4d565b610b80613a63565b6044356001600160401b03811161024d57610b9f903690600401613b24565b91610ba8613b97565b916084356001600160401b0381116107f857610bc8903690600401613b24565b9360a43592610bd56143d0565b6001600160a01b031691823b15610c6a57604051632590ce8b60e11b815291879183918291610c099188916004850161436d565b038183865af1908115610c5f578691610c4a575b5050803b15610b0e5761021d9385809460405196879586948593635c9ce04d60e01b85526004850161436d565b81610c5491613ae8565b610b0e57845f610c1d565b6040513d88823e3d90fd5b8680fd5b503461023f576101c036600319011261023f57610c89613a4d565b610c91613a63565b9082610c9b613a8d565b6064356001600160401b038111610ab857610cba903690600401613b24565b92610cc3613aa3565b9360a4356001600160401b038111610b0e57610ce3903690600401613b24565b90610cec613b6a565b610cf4613b80565b61014435976001600160a01b03891689036105e65761018435916001600160a01b0383168303611126576101a4356001600160401b038111611122576004968c93610d438c9336908b01613b24565b97836060604051610d5381613ab9565b8281528260208201528260408201520152610d6c6143d0565b610124359560e4359460209190805c6001600160a01b0319166001600160a01b038f1617905d6001805c6001600160a01b0319166001600160a01b03831617905d60405163e4182b0960e01b81529b8c9182906001600160a01b03165afa80156106e8578f9a8e916110e9575b5060045d610124355f1914611068575b60e4355f1914610fe7575b6040805163c57e91d760e01b60208201526001600160a01b039b8c16918101919091529b90991660608c01526101c060808c01528a98610e39906101e08b0190613d31565b6001600160a01b0390911660a08a0152888103601f190160c08a0152610e5e91613d31565b6001600160a01b0395861660e08901526101008801919091529084166101208701526101408601919091528883166101608601526101643561018086015291166101a0840152828103601f19016101c0840152610eba91613d31565b03601f1981018352610ecc9083613ae8565b6001600160a01b0381163b15610ab85760405163701195a160e11b8152938492839185918391610f0e919061016435906001600160a01b031660048501613e17565b03926001600160a01b03165af18015610fdc57610fc7575b5060405163e4182b0960e01b81529160025c916004805c9160035c9160209187919082906001600160a01b03165afa9283156104b25792610f91575b61041e945060405193610f7485613ab9565b845260208401526040830152606082015260405191829182613bad565b91506020843d602011610fbf575b81610fac60209383613ae8565b810103126104a65761041e935191610f62565b3d9150610f9f565b610fd2838092613ae8565b610b12575f610f26565b6040513d85823e3d90fd5b60405163075300a160e01b8152995092506020898c818061100c8c8960048401613def565b03916001600160a01b03165afa8015610666578e998d9161102f575b5092610df4565b9950509a506020883d602011611060575b8161104d60209383613ae8565b810103126104a6578d9a8d98515f611028565b3d9150611040565b604051630b78039760e31b8152995094506020898c818061108d898b60048401613def565b03916001600160a01b03165afa8015610666578e998d916110b0575b5094610de9565b9950509a506020883d6020116110e1575b816110ce60209383613ae8565b810103126104a6578d9a8d98515f6110a9565b3d91506110c1565b9a50509b506020893d60201161111a575b8161110760209383613ae8565b810103126104a6578e9b8e99515f610dd9565b3d91506110fa565b8980fd5b8880fd5b503461023f57602036600319011261023f57611144613a4d565b5f516020614bb35f395f51905f52549060ff8260401c1615916001600160401b03811680159081611269575b600114908161125f575b159081611256575b506112475767ffffffffffffffff1981166001175f516020614bb35f395f51905f52556111c091908361121b575b506111ba81614536565b506144b1565b506111c85780f35b60ff60401b195f516020614bb35f395f51905f5254165f516020614bb35f395f51905f52557fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2602060405160018152a180f35b68ffffffffffffffffff191668010000000000000001175f516020614bb35f395f51905f52555f6111b0565b63f92ee8a960e01b8452600484fd5b9050155f611182565b303b15915061117a565b849150611170565b503461023f5760e036600319011261023f5761128b613a4d565b90611294613a63565b9061129d613a8d565b926112a6613aa3565b9360a4356001600160401b038111611492576112c6903690600401613b24565b94604051956112d487613ab9565b8487526020870195858752604088019386855260608901958787526112f76143d0565b60405163e4182b0960e01b81526001600160a01b0391909116956020826004818a5afa91821561053157899261145b575b5093611350916040955284519586948594630957e04760e31b86526064359160048701614397565b038187865af180156104ef57916020916004938691879161143a575b508752875260405163e4182b0960e01b815292839182905afa9283156104b25792611406575b505260c4359051106113ae5761041e9060405191829182613bad565b60405162461bcd60e51b815260206004820152603f60248201527f5661756c745632416c6c6f6361746f722e7265616c6c6f63617465426f783a2060448201525f516020614b335f395f51905f526064820152608490fd5b9091506020813d602011611432575b8161142260209383613ae8565b810103126104a65751905f611392565b3d9150611415565b9050611455915060403d6040116104e8576104da8183613ae8565b5f61136c565b9150936020823d60201161148a575b8161147760209383613ae8565b810103126104a657905190936040611328565b3d915061146a565b8380fd5b503461023f576114a536613d55565b9294909693604051976114b789613ab9565b89895260208901968a885260408a01928b84528b60608c01958187526114db6143d0565b60405163e4182b0960e01b81526001600160a01b039190911695906020816004818a5afa9283156104b257926117bd575b50936115309160409552845197889485946313a8a0f760e21b8652600486016142d9565b03818c855af1908115610531576004936020928b918c9161179c575b508852895260405163e4182b0960e01b815293849182905afa91821561179157889261175d575b50528251106116e85781516001600160a01b0390911692859190843b15610ab857604051632590ce8b60e11b8152918391839182916115b6919060048401613e3e565b038183885af18015610242576116d3575b505060405163ad468d1160e01b815291602083600481845afa9283156116c85785936116a7575b506001600160a01b03831661160c575b6040518061041e8682613bad565b6040516305c0524560e31b815285929091908383600481855afa9283156104ef57849361168b575b505191813b1561149257836116609560405196879586948593635c9ce04d60e01b85526004850161436d565b03925af18015610fdc57611676575b80806115fe565b611681838092613ae8565b610b12578161166f565b6116a09193503d8086833e61068a8183613ae8565b915f611634565b6116c191935060203d6020116106e1576106d38183613ae8565b915f6115ee565b6040513d87823e3d90fd5b816116dd91613ae8565b61149257835f6115c7565b60405162461bcd60e51b815260206004820152604160248201527f5661756c745632416c6c6f6361746f722e6465616c6c6f63617465546f6b656e60448201527f3a205265636569766564206c657373207468616e206d696e20657870656374656064820152601960fa1b608482015260a490fd5b9091506020813d602011611789575b8161177960209383613ae8565b810103126104a65751905f611573565b3d915061176c565b6040513d8a823e3d90fd5b90506117b7915060403d6040116104e8576104da8183613ae8565b5f61154c565b9150936020823d6020116117ec575b816117d960209383613ae8565b810103126104a65790519093604061150c565b3d91506117cc565b503461023f578060031936011261023f575061041e604051611817604082613ae8565b60058152640352e302e360dc1b6020820152604051918291602083526020830190613d31565b503461023f578061184d36613c26565b936118599291926143d0565b6001600160a01b031690813b156107f85785809461021d6040519788968795869463f5cc819560e01b865260048601613e63565b503461023f578060031936011261023f57602090604051908152f35b503461023f57604036600319011261023f576118c3613a4d565b6024358015158103610ab8576118d7614819565b156118e557610b59906144b1565b610b5990614708565b503461023f57604036600319011261023f57604061190a613a63565b91600435815280602052209060018060a01b03165f52602052602060ff60405f2054166040519015158152f35b503461023f57604036600319011261023f57611951613a4d565b9060206001600160a01b03611964613a63565b6040516370a0823160e01b81526001600160a01b03909516600486015284916024918391165afa9081156104b257906119a3575b602090604051908152f35b506020813d6020116119ce575b816119bd60209383613ae8565b810103126104a65760209051611998565b3d91506119b0565b503461023f576119e536613cc0565b94916040969394919651966119f988613ab9565b8488526020880195858752604089019386855260608a0195878752611a1c6143d0565b60405163e4182b0960e01b81526001600160a01b0391909116956020826004818a5afa918215610531578992611b8b575b5093611a719160409552845195869485946311e918cb60e01b8652600486016142d9565b038187865af180156104ef579160209160049386918791611b6a575b508752885260405163e4182b0960e01b815292839182905afa9283156104b25792611b36575b50525110611acb5761041e9060405191829182613bad565b60405162461bcd60e51b815260206004820152603d60248201527f5661756c745632416c6c6f6361746f722e616c6c6f63617465426f783a20526560448201527f636569766564206c657373207468616e206d696e2065787065637465640000006064820152608490fd5b9091506020813d602011611b62575b81611b5260209383613ae8565b810103126104a65751905f611ab3565b3d9150611b45565b9050611b85915060403d6040116104e8576104da8183613ae8565b5f611a8d565b9150936020823d602011611bba575b81611ba760209383613ae8565b810103126104a657905190936040611a4d565b3d9150611b9a565b503461023f57611bd136613cc0565b9491604096939491965196611be588613ab9565b8488526020880195858752604089019386855260608a0195878752611c086143d0565b60405163e4182b0960e01b81526001600160a01b0391909116956020826004818a5afa918215610531578992611d64575b5093611c5d9160409552845195869485946313a8a0f760e21b8652600486016142d9565b038187865af180156104ef579160209160049386918791611d43575b508752885260405163e4182b0960e01b815292839182905afa9283156104b25792611d0f575b50525110611cb75761041e9060405191829182613bad565b60405162461bcd60e51b815260206004820152603f60248201527f5661756c745632416c6c6f6361746f722e6465616c6c6f63617465426f783a2060448201525f516020614b335f395f51905f526064820152608490fd5b9091506020813d602011611d3b575b81611d2b60209383613ae8565b810103126104a65751905f611c9f565b3d9150611d1e565b9050611d5e915060403d6040116104e8576104da8183613ae8565b5f611c79565b9150936020823d602011611d93575b81611d8060209383613ae8565b810103126104a657905190936040611c39565b3d9150611d73565b503461023f5760c036600319011261023f57611db5613a4d565b90611dbe613a63565b91611dc7613a8d565b92611dd0613b97565b926084356001600160401b038111610b1257611df0903690600401613b24565b9160405194611dfe86613ab9565b8286526020860194838652836040880152836060880152611e1d6143d0565b6040516338d52e0f60e01b81526001600160a01b03919091169490602081600481895afa9081156116c85785916122f7575b506040516370a0823160e01b81523060048201526001600160a01b03918216999094918116929091602086602481875afa9081156122ec5787916122b7575b6040516370a0823160e01b815230600482015296506020876024818f5afa968715611791578897612283575b506001600160a01b0316803b156105e65787809160246040518094819363bc25cf7760e01b83528a60048401525af180156117915790889161226e575b50506040516370a0823160e01b815230600482015290602082602481885afa801561179157889061223a575b611f2d92506142a2565b9384156121d5578a840361207e575b5050505050604051916370a0823160e01b83523060048401526020836024818a5afa9081156104b2579061204a575b611f7592506142a2565b80835280845260a43511611fd157905160405163a9059cbb60e01b60208201526001600160a01b039092166024830152604482015261041e92611fc59190611fc082606481016109af565b614a49565b60405191829182613bad565b60405162461bcd60e51b815260206004820152604560248201527f5661756c745632416c6c6f6361746f722e7265696e76657374536b696d41646160448201527f707465723a205265636569766564206c657373207468616e206d696e206578706064820152641958dd195960da1b608482015260a490fd5b506020823d602011612076575b8161206460209383613ae8565b810103126104a657611f759151611f6b565b3d9150612057565b6001600160a01b03169361209381868561461c565b843b15610c6a5786908b6120d360405194859384936316dbcdbf60e21b855289600486015260248501526044840152608060648401526084830190613d31565b038183885af18015610c5f579086916121c0575b50506040519185806020850163095ea7b360e01b815286602487015281604487015260448652612118606487613ae8565b85519082855af190612128614a02565b8261218e575b5081612183575b5015612143575b8080611f3c565b611fc061217b936040519063095ea7b360e01b6020830152602482015286604482015260448152612175606482613ae8565b82614a49565b5f808061213c565b90503b15155f612135565b805191925081159182156121a6575b5050905f61212e565b6121b99250602080918301019101614a31565b5f8061219d565b816121ca91613ae8565b610b0e57845f6120e7565b60405162461bcd60e51b815260206004820152603760248201527f5661756c745632416c6c6f6361746f722e7265696e76657374536b696d4164616044820152761c1d195c8e88139bc81d1bdad95b9cc81cdada5b5b5959604a1b6064820152608490fd5b506020823d602011612266575b8161225460209383613ae8565b810103126104a657611f2d9151611f23565b3d9150612247565b8161227891613ae8565b610c6a57865f611ef7565b9096506020813d6020116122af575b8161229f60209383613ae8565b810103126104a65751955f611eba565b3d9150612292565b90506020863d6020116122e4575b816122d260209383613ae8565b810103126104a6576024955190611e8e565b3d91506122c5565b6040513d89823e3d90fd5b612310915060203d6020116106e1576106d38183613ae8565b5f611e4f565b503461023f578060031936011261023f577f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316300361236e5760206040515f516020614b535f395f51905f528152f35b63703e46dd60e11b8152600490fd5b50604036600319011261023f57612392613a4d565b906024356001600160401b038111610b12576123b2903690600401613b24565b6001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016308114908115612540575b50612531576123f4614819565b6040516352d1902d60e01b8152926001600160a01b0381169190602085600481865afa809585966124fd575b5061243957634c9c8ce360e01b84526004839052602484fd5b9091845f516020614b535f395f51905f5281036124eb5750813b156124d9575f516020614b535f395f51905f5280546001600160a01b031916821790557fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b8480a281518390156124bf5780836020610b5995519101845af46124b9614a02565b91614ab4565b505050346124ca5780f35b63b398979f60e01b8152600490fd5b634c9c8ce360e01b8452600452602483fd5b632a87526960e21b8552600452602484fd5b9095506020813d602011612529575b8161251960209383613ae8565b81010312610b0e5751945f612420565b3d915061250c565b63703e46dd60e11b8252600482fd5b5f516020614b535f395f51905f52546001600160a01b0316141590505f6123e7565b503461023f578061257236613c26565b9361257e9291926143d0565b6001600160a01b031690813b156107f85785809461021d6040519788968795869463adb04a3d60e01b865260048601613e63565b503461023f57604036600319011261023f576125cc613a63565b336001600160a01b038216036125e857610b5990600435614799565b63334bd91960e11b8252600482fd5b503461023f57604036600319011261023f576004356024356001600160401b038111610ab85761262b903690600401613c93565b9190835c6001600160a01b03163303612816578083859201602082820312610ab85761265682613bd7565b6001600160e01b031916636c5939fb60e11b8103612718575061267990826141e8565b50919a965050505050505b6001600160a01b03169161269985848861461c565b823b1561149257604051631ee81e6560e31b81526001600160a01b0387166004820152602481018690526060604482015292849284928391859183916126e491606484019190613ea0565b03925af1801561024257612703575b505061270091339061461c565b80f35b8161270d91613ae8565b610ab857825f6126f3565b632f5066dd60e01b810361274157506127319082614146565b50919b9750505050505050612684565b632c8c4f5360e01b8103612769575061275a90826140a0565b509b9750505050505050612684565b625cd1fb60e11b810361279557506127819082613fc1565b505050979c98505050505050505094612684565b90925063c57e91d760e01b036127c5576127b0859282613ed9565b505050989d9950505050505050505094612684565b60405162461bcd60e51b815260206004820152602360248201527f5661756c745632416c6c6f6361746f723a20496e76616c6964206f706572617460448201526234b7b760e91b6064820152608490fd5b637e5f4b6160e01b8452600484fd5b503461023f5761014036600319011261023f57612840613a4d565b612848613a63565b612850613a8d565b836064356001600160401b038111610b1257612870903690600401613c93565b92909461287b613aa3565b9560a4356001600160401b038111610b0e5760609761289f60049236908401613c93565b906128a8613b6a565b926128b1613b80565b95896040519d8e6128c181613ab9565b82815282602082015282604082015201526128da6143d0565b61012435968a5c6001600160a01b0319166001600160a01b038a16178b5d6001805c6001600160a01b0319166001600160a01b038f1617905d60208d6040519889809263e4182b0960e01b825260018060a01b03165afa801561079d578d978c91612ab8575b5060045d610124355f1914612a29575b60408051632f5066dd60e01b60208201526001600160a01b039889169181019190915299871660608b015261014060808b0152909516996129f79589956129e99590949093909290916129a891610160890191613ea0565b6001600160a01b0394851660a088015260e43560c088015260e087018d905261010087018990529316610120860152848303601f1901610140860152613ea0565b03601f198101855284613ae8565b6001600160a01b0382163b1561149257836109ff956040519687958694859363701195a160e11b855260048501613e17565b604051630b78039760e31b8152909750955060208680612a4e8a8f8660048501613ec0565b03816001600160a01b038d165afa8015610b03578c968b91612a72575b5096612950565b95939a5050929094506020843d602011612ab0575b81612a9460209383613ae8565b810103126104a65792518c988b959294939092916129a8612a6b565b3d9150612a87565b97505099506020863d602011612ae9575b81612ad660209383613ae8565b810103126104a6578d998c96515f612940565b3d9150612ac9565b503461023f57604036600319011261023f57610b59600435612b11613a63565b90612b2a610b4f825f525f602052600160405f20015490565b6145a7565b503461023f5761014036600319011261023f5780612b4b613a4d565b612b53613a63565b90612b5c613a8d565b6064356001600160401b038111610b0e57612b7b903690600401613c93565b9290612b85613aa3565b60a435926001600160401b0384116105e657612ba688943690600401613c93565b612bb1939193613b6a565b9360e43595612bbe613b80565b6101243597612bcb6143d0565b979b6001600160a01b03909616988c98968791805c6001600160a01b0319168c17905d6001600160a01b0316986001805c6001600160a01b0319168b17905d5f1914612d7b575b5f1914612cec575b91612c6c612c8d9492612cc1999897969460018060a01b03169c6040519c8d9a632c8c4f5360e01b60208d015260408c015260018060a01b031660608b015261014060808b01526101608a0191613ea0565b6001600160a01b0390931660a0880152868303601f190160c0880152613ea0565b6001600160a01b0390921660e08401526101008301526101208201869052610140820187905203601f198101845283613ae8565b803b15610b0e5761021d938580946040519687958694859363701195a160e11b855260048501613e17565b60405163075300a160e01b815290955060208180612d0f8a8f8760048501613ec0565b03816001600160a01b038e165afa9081156106e8578d91612d32575b5094612c1a565b97969594929c5050916020873d602011612d73575b81612d5460209383613ae8565b810103126104a65795518c9b9596949593949193919290612c6c612d2b565b3d9150612d47565b9b50612da26020828c8e604051809581948293630b78039760e31b84528a60048501613ec0565b03916001600160a01b03165afa90811561069a578e91612dc4575b509b612c12565b9d505060208d3d602011612df1575b81612de060209383613ae8565b810103126104a6578d9c515f612dbd565b3d9150612dd3565b503461023f57606036600319011261023f57612e13613a4d565b506044356001600160401b038111610b1257612e33903690600401613c93565b60015c6001600160a01b031633036134a55782908201602083820312610b12576001600160e01b0319612e6584613bd7565b1692636c5939fb60e11b840361301157612e809293506141e8565b6040516370a0823160e01b81523360048201529398509196509394936001600160a01b0384169190602084602481865afa938415610b03578a94612fd2575b5091612ed388868b60209560249733614894565b6040516370a0823160e01b815233600482015292839182905afa908115611791578891612f99575b5090612f06916142a2565b90333b15610c6a5760405163848802f360e01b815291879183918291612f329190888860048601613e63565b038183335af1908115610c5f578691612f84575b5050333b15610b0e57612f6f8593604051958694859463f5cc819560e01b865260048601613e63565b038183335af180156102425761022e57505080f35b81612f8e91613ae8565b610b0e57845f612f46565b919750506020813d602011612fca575b81612fb660209383613ae8565b810103126104a65751879690612f06612efb565b3d9150612fa9565b9192995092506020813d602011613009575b81612ff160209383613ae8565b810103126104a6575189989092909190612ed3612ebf565b3d9150612fe4565b632f5066dd60e01b84036130e45761302a929350614146565b95939850989395919650333b15611492578361305d916040518093819263adb04a3d60e01b83528b888860048601613e63565b038183335af19081156104ef5784916130cf575b5050333b15610ab8578491839161309d8960405195869485946310dc411b60e11b865260048601613e63565b038183335af18015610242576130ba575b50506127009433614894565b816130c491613ae8565b6107f857855f6130ae565b816130d991613ae8565b610ab857825f613071565b632c8c4f5360e01b84036131d8576130fd9293506140a0565b975097509293909194333b156111265760405163adb04a3d60e01b815289818061312d8b8d888860048601613e63565b038183335af1908115610b03578a916131c3575b5050333b15611126578291899161316d8660405195869485946310dc411b60e11b865260048601613e63565b038183335af19081156117915788916131ae575b5050333b15610c6a5760405163848802f360e01b815291879183918291612f329190888860048601613e63565b816131b891613ae8565b610c6a57865f613181565b816131cd91613ae8565b61112657885f613141565b625cd1fb60e11b8403613336576131f0929350613fc1565b95939798929b509598909950333b1561331d576132268c8b8d604051938492839263adb04a3d60e01b8452888860048601613e63565b038183335af19081156106e8578d91613321575b5050333b1561331d5782918c916132668660405195869485946310dc411b60e11b865260048601613e63565b038183335af190811561079d578b91613308575b50506040516370a0823160e01b8152336004820152936001600160a01b0386169390602086602481885afa958615610666578c966132c7575b50928660249593612ed39360209633614894565b9492939b5094506020843d602011613300575b816132e760209383613ae8565b810103126104a65792518b9a90949193909291866132b3565b3d91506132da565b8161331291613ae8565b61112257895f61327a565b8b80fd5b8161332b91613ae8565b61331d578b5f61323a565b909290915063c57e91d760e01b036127c557829161335391613ed9565b6040516370a0823160e01b8152336004820152939d50919b5096999798949795969495946001600160a01b0385169190602084602481865afa938415613498578f94613459575b50916133af8d8f889060209560249733614894565b6040516370a0823160e01b815233600482015292839182905afa9081156106e8578d91613420575b50906133e2916142a2565b818111156134185750905b333b156105ea5760405163adb04a3d60e01b8152918b918391829161312d9190888860048601613e63565b9050906133ed565b919c50506020813d602011613451575b8161343d60209383613ae8565b810103126104a657518c9b906133e26133d7565b3d9150613430565b929e5092506020823d602011613490575b8161347760209383613ae8565b810103126104a65790518e9d90929091906133af61339a565b3d915061346a565b8f604051903d90823e3d90fd5b63e4705dc760e01b8352600483fd5b503461023f57602036600319011261023f5760206134df6004355f525f602052600160405f20015490565b604051908152f35b503461023f57806134f736613c26565b936135039291926143d0565b6001600160a01b031690813b156107f85785809461021d604051978896879586946310dc411b60e11b865260048601613e63565b503461023f578061354736613bec565b916135506143d0565b6001600160a01b031691823b1561024d5761021d92849283604051809681958294632590ce8b60e11b845260048401613e3e565b503461023f578061359436613bec565b9161359d6143d0565b6001600160a01b031691823b1561024d5761021d92849283604051809681958294635c9ce04d60e01b845260048401613e3e565b503461023f57602036600319011261023f5760043563ffffffff60e01b8116809103610b1257602090637965db0b60e01b8114908115613617575b506040519015158152f35b6301ffc9a760e01b1490508261360c565b50346104a6576101a03660031901126104a657613643613a4d565b61364b613a63565b613653613a8d565b926064356001600160401b0381116104a657613673903690600401613b24565b9261367c613aa3565b9460a4356001600160401b0381116104a65761369c903690600401613b24565b936136a5613b6a565b9660e435976136b2613b80565b610124356001600160a01b03811696909391908785036104a6576101443599610164356001600160a01b03811694908590036104a657610184359c6001600160401b038e116104a6578e9d61370b903690600401613b24565b9760405161371881613ab9565b5f8152602081015f9052604081015f90526060015f90526137376143d0565b9c9d8e9d6001600160a01b03909516999094905f805c6001600160a01b0319168c17905d6001600160a01b03169d8e6001805c6001600160a01b0319168217905d60405180809263e4182b0960e01b82525a92600491602094fa90811561390d575f91613a1b575b5060045d5f1914613994575b508c9d9e5f9d999a9b9c9d1914613918575b6040519a8b99625cd1fb60e11b60208c015260408b0152600160a01b600190031660608a0152608089016101a090526101c089016137fa91613d31565b6001600160a01b0390911660a0890152878103601f190160c089015261381f91613d31565b6001600160a01b0394851660e08801526101008701919091529216610120850152610140840187905261016084018a9052610180840152828103601f19016101a084015261386c91613d31565b03601f198101835261387e9083613ae8565b803b156104a6576138a9955f80946040519889958694859363701195a160e11b855260048501613e17565b03925af192831561390d576004936138fa575b5060025c9160035c6020855c926040519687809263e4182b0960e01b82525afa9283156104b25792610f915761041e945060405193610f7485613ab9565b61390691505f90613ae8565b5f5f6138bc565b6040513d5f823e3d90fd5b60405163075300a160e01b8152985092506020888061393b898760048401613def565b03816001600160a01b038e165afa801561390d578d985f9161395f575b50926137bd565b9850506020883d60201161398c575b8161397b60209383613ae8565b810103126104a6578c97515f613958565b3d915061396e565b8a9b9c9d9e506020906139be9a9b60405180809d8194630b78039760e31b83528760048401613def565b03916001600160a01b03165afa801561390d578e995f916139e6575b509d9c9b9a99986137ab565b9950506020893d602011613a13575b81613a0260209383613ae8565b810103126104a6578d98515f6139da565b3d91506139f5565b90506020813d602011613a45575b81613a3660209383613ae8565b810103126104a657515f61379f565b3d9150613a29565b600435906001600160a01b03821682036104a657565b602435906001600160a01b03821682036104a657565b35906001600160a01b03821682036104a657565b604435906001600160a01b03821682036104a657565b608435906001600160a01b03821682036104a657565b608081019081106001600160401b03821117613ad457604052565b634e487b7160e01b5f52604160045260245ffd5b90601f801991011681019081106001600160401b03821117613ad457604052565b6001600160401b038111613ad457601f01601f191660200190565b81601f820112156104a657803590613b3b82613b09565b92613b496040519485613ae8565b828452602083830101116104a657815f926020809301838601378301015290565b60c435906001600160a01b03821682036104a657565b61010435906001600160a01b03821682036104a657565b606435906001600160a01b03821682036104a657565b91909160608060808301948051845260208101516020850152604081015160408501520151910152565b35906001600160e01b0319821682036104a657565b60609060031901126104a6576004356001600160a01b03811681036104a657906024356001600160a01b03811681036104a6579060443590565b60a06003198201126104a6576004356001600160a01b03811681036104a657916024356001600160a01b03811681036104a65791604435906001600160401b0382116104a657613c7891600401613b24565b906064356001600160a01b03811681036104a6579060843590565b9181601f840112156104a6578235916001600160401b0383116104a657602083818601950101116104a657565b60c06003198201126104a6576004356001600160a01b03811681036104a657916024356001600160a01b03811681036104a65791604435916064356001600160a01b03811681036104a65791608435906001600160401b0382116104a657613d2a91600401613b24565b9060a43590565b805180835260209291819084018484015e5f828201840152601f01601f1916010190565b6101006003198201126104a6576004356001600160a01b03811681036104a657916024356001600160a01b03811681036104a657916044356001600160a01b03811681036104a657916064356001600160a01b03811681036104a657916084359160a4356001600160a01b03811681036104a6579160c435906001600160401b0382116104a657613de891600401613b24565b9060e43590565b90613e07602091949394604084526040840190613d31565b6001600160a01b03909416910152565b613e3b939260609260018060a01b0316825260208201528160408201520190613d31565b90565b92919060018060a01b03168352606060208401525f6060840152604060808401930152565b6001600160a01b03909116815260806020820181905292949392606092613e8c91830190613d31565b6001600160a01b0390951660408201520152565b908060209392818452848401375f828201840152601f01601f1916010190565b91602091613e0791959495604085526040850191613ea0565b9190916101c0818403126104a657613ef081613bd7565b92613efd60208301613a79565b92613f0a60408401613a79565b9260608101356001600160401b0381116104a65783613f2a918301613b24565b92613f3760808301613a79565b9260a08301356001600160401b0381116104a65782613f57918501613b24565b92613f6460c08201613a79565b9260e082013592613f786101008401613a79565b9261012081013592613f8d6101408301613a79565b9261016083013592613fa26101808201613a79565b926101a08201356001600160401b0381116104a657613e3b9201613b24565b906101a0828203126104a657613fd682613bd7565b92613fe360208401613a79565b92613ff060408201613a79565b9260608201356001600160401b0381116104a65781614010918401613b24565b9261401d60808401613a79565b9260a08101356001600160401b0381116104a6578361403d918301613b24565b9261404a60c08301613a79565b9260e08301359261405e6101008201613a79565b9261406c6101208301613a79565b92610140830135926140816101608201613a79565b926101808201356001600160401b0381116104a657613e3b9201613b24565b91610140838303126104a6576140b583613bd7565b926140c260208201613a79565b926140cf60408301613a79565b9260608301356001600160401b0381116104a657826140ef918501613b24565b926140fc60808201613a79565b9260a0820135906001600160401b0382116104a65761411c918301613b24565b9161412960c08301613a79565b9160e0810135916101206141406101008401613a79565b92013590565b90610140828203126104a65761415b82613bd7565b9261416860208401613a79565b9261417560408201613a79565b9260608201356001600160401b0381116104a65781614195918401613b24565b926141a260808401613a79565b9260a0810135926141b560c08301613a79565b9260e0830135926141c96101008201613a79565b926101208201356001600160401b0381116104a657613e3b9201613b24565b91610120838303126104a6576141fd83613bd7565b9261420a60208201613a79565b9261421760408301613a79565b9260608301356001600160401b0381116104a65782614237918501613b24565b9261424460808201613a79565b9261425160a08301613a79565b9260c08301359261426460e08201613a79565b926101008201356001600160401b0381116104a657613e3b9201613b24565b908160209103126104a657516001600160a01b03811681036104a65790565b919082039182116142af57565b634e487b7160e01b5f52601160045260245ffd5b91908260409103126104a6576020825192015190565b6001600160a01b03918216815260208101929092529091166040820152608060608201819052613e3b92910190613d31565b6020818303126104a6578051906001600160401b0382116104a6570181601f820112156104a65780519061433e82613b09565b9261434c6040519485613ae8565b828452602083830101116104a657815f9260208093018386015e8301015290565b9392916143929060409260018060a01b03168652606060208701526060860190613d31565b930152565b6001600160a01b039182168152918116602083015260408201929092529116606082015260a060808201819052613e3b92910190613d31565b335f9081525f516020614b935f395f51905f52602052604090205460ff168015614455575b156143fc57565b60405162461bcd60e51b815260206004820152602b60248201527f5661756c745632416c6c6f6361746f723a2043616c6c6572206973206e6f742060448201526a30b71037b832b930ba37b960a91b6064820152608490fd5b50335f9081525f516020614bd35f395f51905f52602052604090205460ff166143f5565b5f8181526020818152604080832033845290915290205460ff161561449b5750565b63e2517d3f60e01b5f523360045260245260445ffd5b6001600160a01b0381165f9081525f516020614b935f395f51905f52602052604090205460ff16614531576001600160a01b03165f8181525f516020614b935f395f51905f5260205260408120805460ff191660011790553391905f516020614b735f395f51905f52905f516020614b135f395f51905f529080a4600190565b505f90565b6001600160a01b0381165f9081525f516020614bd35f395f51905f52602052604090205460ff16614531576001600160a01b03165f8181525f516020614bd35f395f51905f5260205260408120805460ff191660011790553391905f516020614b135f395f51905f528180a4600190565b5f818152602081815260408083206001600160a01b038616845290915290205460ff16614616575f818152602081815260408083206001600160a01b0395909516808452949091528120805460ff19166001179055339291905f516020614b135f395f51905f529080a4600190565b50505f90565b60405163095ea7b360e01b602082019081526001600160a01b03841660248301526044820194909452919261465483606481016129e9565b82516001600160a01b038316915f91829182855af190614672614a02565b826146d6575b50816146cb575b501561468a57505050565b60405163095ea7b360e01b60208201526001600160a01b0390931660248401525f60448085019190915283526146c992611fc090612175606482613ae8565b565b90503b15155f61467f565b805191925081159182156146ee575b5050905f614678565b6147019250602080918301019101614a31565b5f806146e5565b6001600160a01b0381165f9081525f516020614b935f395f51905f52602052604090205460ff1615614531576001600160a01b03165f8181525f516020614b935f395f51905f5260205260408120805460ff191690553391905f516020614b735f395f51905f52907ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9080a4600190565b5f818152602081815260408083206001600160a01b038616845290915290205460ff1615614616575f818152602081815260408083206001600160a01b0395909516808452949091528120805460ff19169055339291907ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9080a4600190565b335f9081525f516020614bd35f395f51905f52602052604090205460ff161561483e57565b60405162461bcd60e51b815260206004820152602860248201527f5661756c745632416c6c6f6361746f723a2043616c6c6572206973206e6f742060448201526730b71030b236b4b760c11b6064820152608490fd5b6040516338d52e0f60e01b81529495929491936001600160a01b039091169291602081600481875afa90811561390d575f916149e3575b506001600160a01b0382811691160361494057505f604094956149038651978896879586946311e918cb60e01b8652600486016142d9565b03925af1801561390d575f915f9161491f575b5060035d60025d565b905061493a915060403d6040116104e8576104da8183613ae8565b5f614916565b946040516338d52e0f60e01b8152602081600481875afa90811561390d575f916149c4575b506001600160a01b0382811691160361499d57505f604094956149038651978896879586946313a8a0f760e21b8652600486016142d9565b9092945f90614903604096875198899788968795630957e04760e31b875260048701614397565b6149dd915060203d6020116106e1576106d38183613ae8565b5f614965565b6149fc915060203d6020116106e1576106d38183613ae8565b5f6148cb565b3d15614a2c573d90614a1382613b09565b91614a216040519384613ae8565b82523d5f602084013e565b606090565b908160209103126104a6575180151581036104a65790565b5f80614a719260018060a01b03169360208151910182865af1614a6a614a02565b9083614ab4565b8051908115159182614a99575b5050614a875750565b635274afe760e01b5f5260045260245ffd5b614aac9250602080918301019101614a31565b155f80614a7e565b90614ad85750805115614ac957805190602001fd5b630a12f52160e11b5f5260045ffd5b81511580614b09575b614ae9575090565b639996b31560e01b5f9081526001600160a01b0391909116600452602490fd5b50803b15614ae156fe2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d5265636569766564206c657373207468616e206d696e20657870656374656400360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc97667070c54ef182b0f5858b034beac1b6f3089aa2d3188bb1e8929f4fa9b929ee57cd81e84075558e8fcc182a1f4393f91fc97f963a136e66b7f949a62f319ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00ad3228b676f7d3cd4284a5443f17f1962b36e491b30a40b2405849e597ba5fb5a2646970667358221220f9f40c16890681a9fe88125c9bdd981a284c6496d6925f37d09ad8e12953dfa864736f6c634300081c0033","sourceMap":"1796:40536:22:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;1796:40536:22;;;;;;;:::i;:::-;;;:::i;:::-;;;;-1:-1:-1;;;;;1796:40536:22;;;;;;;;;;;:::i;:::-;4295:74;;;:::i;:::-;-1:-1:-1;;;;;1796:40536:22;;7300:39;;;;;;1796:40536;;;;;;;;;;;;;;;7300:39;;1796:40536;;7300:39;1796:40536;7300:39;;;:::i;:::-;;;;;;;;;;;1796:40536;;7300:39;;;;;:::i;:::-;1796:40536;;7300:39;1796:40536;;;;7300:39;1796:40536;;;;;;;;;7300:39;1796:40536;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;1796:40536:22;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;4295:74;;:::i;:::-;1796:40536;;-1:-1:-1;;;16341:13:22;;-1:-1:-1;;;;;1796:40536:22;;;;;;;;;;16341:13;;;;;;;;;;;1796:40536;-1:-1:-1;1796:40536:22;;-1:-1:-1;;;16389:32:22;;-1:-1:-1;;;;;1796:40536:22;;;;16389:32;;1796:40536;;;;;;;;;;;16389:32;1796:40536;;16389:32;;;;;;;;;;;1796:40536;;;;16389:32;1796:40536;;;;;;;;;;16456:34;;;1796:40536;16456:34;;1796:40536;16456:34;;;;;;;;;;;1796:40536;-1:-1:-1;16526:21:22;;;;;;16550;;;;:::i;:::-;16526:49;;16590:19;16586:621;;16526:49;1796:40536;;;;;;;;;;;17241:25;;1796:40536;17241:25;1796:40536;17241:25;;;;;;;;;;;;;16526:49;1796:40536;;17314:48;1796:40536;;;;;;;;;;;;;;17314:48;;1796:40536;17314:48;;;:::i;:::-;;;;;;;;;;;;1796:40536;17314:48;1796:40536;17314:48;;1796:40536;;17314:48;;;16526:49;-1:-1:-1;1796:40536:22;;;;;;-1:-1:-1;;;17396:25:22;;1796:40536;;;;;17396:25;;;;;;;;;;16526:49;1796:40536;;;17440:30;1796:40536;;;;;;;;;;;:::i;:::-;;;;;;;-1:-1:-1;;;1796:40536:22;;;;;;;;16389:32;1796:40536;;;;;;;;-1:-1:-1;;;;;;;;;;;1796:40536:22;;;;;;;17396:25;;;;1796:40536;17396:25;;1796:40536;17396:25;;;;;;1796:40536;17396:25;;;:::i;:::-;;;1796:40536;;;;;17396:25;;;;1796:40536;-1:-1:-1;1796:40536:22;;17396:25;;;-1:-1:-1;17396:25:22;;;1796:40536;;;;;;;;;;17314:48;;;;;;1796:40536;17314:48;1796:40536;17314:48;;;;;;;;:::i;:::-;;;;;:::i;:::-;;;;;;;;;;1796:40536;;;;;;;;;17241:25;;;;1796:40536;17241:25;;1796:40536;17241:25;;;;;;1796:40536;17241:25;;;:::i;:::-;;;1796:40536;;;;;;17241:25;;1796:40536;17241:25;;;;;-1:-1:-1;17241:25:22;;;1796:40536;;;;;;;;;16586:621;1796:40536;;;;;;;16724:27;;;;;;16754;;;;:::i;:::-;1796:40536;;-1:-1:-1;;;16932:24:22;;1796:40536;;;;16932:24;;;;;;;;;;;;16724:61;16974:20;;;;:54;;;16724:61;16970:168;;16724:61;17152:44;;;;;;;1796:40536;;;17152:44;1796:40536;;;;;;;;;;;;;17152:44;;1796:40536;17152:44;;;:::i;:::-;;;;;;;;;;;;;;16724:61;16586:621;;;;;17152:44;;;;;:::i;:::-;1796:40536;;17152:44;;;;1796:40536;;;;17152:44;1796:40536;;;16970:168;1796:40536;;-1:-1:-1;;;17083:21:22;;1796:40536;17083:21;1796:40536;;;17083:21;;;;;;;;;;;;;16970:168;17048:75;;;;;;;1796:40536;;;17048:75;1796:40536;;;;;;;;;;17048:75;;1796:40536;17048:75;;;:::i;:::-;;;;;;;;;;;;;;;16970:168;17048:75;;;;;:::i;:::-;1796:40536;;17048:75;;16970:168;;17048:75;1796:40536;;;;;;;;;17048:75;1796:40536;;;17083:21;;;;;;;;;;;;;;:::i;:::-;;;;;:::i;:::-;;;;;;;1796:40536;;;;;;;;;;;16974:54;-1:-1:-1;;;;;;1796:40536:22;;16998:30;;16974:54;;16932:24;;;;1796:40536;16932:24;1796:40536;16932:24;;;;;;;;:::i;:::-;;;;;:::i;:::-;;;;;;;;;;1796:40536;;;;;;;;;16724:61;;;;;1796:40536;-1:-1:-1;;;1796:40536:22;;;;;16389:32;1796:40536;;16526:49;;;;;16456:34;;;;1796:40536;16456:34;;1796:40536;16456:34;;;;;;1796:40536;16456:34;;;:::i;:::-;;;1796:40536;;;;;16456:34;;;;;;;-1:-1:-1;16456:34:22;;16389:32;;;1796:40536;16389:32;;1796:40536;16389:32;;;;;;1796:40536;16389:32;;;:::i;:::-;;;1796:40536;;;;;;;;16389:32;;;;;-1:-1:-1;16389:32:22;;16341:13;;;;1796:40536;16341:13;1796:40536;16341:13;;;;;;;:::i;:::-;;;;;1796:40536;;;;;;;;;;;;;;;;;;:::i;:::-;4295:74;;;;;;:::i;:::-;-1:-1:-1;;;;;1796:40536:22;;14483:74;;;;;1796:40536;;;14483:74;1796:40536;;;;;;;;;;;;14483:74;;1796:40536;14483:74;;;:::i;:::-;1796:40536;;;;;;;;;;-1:-1:-1;;1796:40536:22;;;;;;:::i;:::-;;;:::i;:::-;;;:::i;:::-;;;;-1:-1:-1;;;;;1796:40536:22;;;;;;;;;;;:::i;:::-;;;;;;:::i;:::-;;;;-1:-1:-1;;;;;1796:40536:22;;;;;;;;;;;:::i;:::-;;;:::i;:::-;;;;;;;-1:-1:-1;;;;;1796:40536:22;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;4295:74;;:::i;:::-;1796:40536;;-1:-1:-1;;;;;;1796:40536:22;-1:-1:-1;;;;;1796:40536:22;;;;;;;;-1:-1:-1;;;;;;1796:40536:22;-1:-1:-1;;;;;1796:40536:22;;;;;;;;;;;;;;;;20005:25;;1796:40536;;;;;;20005:25;;;;;;;;;;;;1796:40536;;20127:306;1796:40536;;;;;;;;;;;;;;33821:34;;;;;;1796:40536;20127:306;;1796:40536;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1;;;;;1796:40536:22;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;1796:40536:22;;;;;;:::i;:::-;20127:306;1796:40536;;20127:306;;;;;;:::i;:::-;-1:-1:-1;;;;;1796:40536:22;;20041:402;;;;1796:40536;;-1:-1:-1;;;20041:402:22;;1796:40536;;;;;;;;;20041:402;;1796:40536;;;;-1:-1:-1;;;;;1796:40536:22;;20041:402;;;:::i;:::-;;;-1:-1:-1;;;;;1796:40536:22;20041:402;;;;;;;;1796:40536;;;;;;20472:9;1796:40536;;;20509:9;1796:40536;;;;;;;;;;;;;;;;;;;;20600:25;;1796:40536;;;;;;20600:25;;;;;;;;;;1796:40536;;;;;;;;;;;;;;;:::i;20600:25::-;;1796:40536;20600:25;;1796:40536;20600:25;;;;;;1796:40536;20600:25;;;:::i;:::-;;;1796:40536;;;;;;;20600:25;;;;;-1:-1:-1;20600:25:22;;20041:402;;;;;;:::i;:::-;1796:40536;;20041:402;;;1796:40536;;;;20005:25;;;;;;;;;;1796:40536;20005:25;;1796:40536;20005:25;;;;;;1796:40536;20005:25;;;:::i;:::-;;;1796:40536;;;;;;;;;;20005:25;;;;1796:40536;;;20127:306;20005:25;;;;;-1:-1:-1;20005:25:22;;;1796:40536;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;1796:40536:22;;;;4747:26:1;1796:40536:22;;;;:::i;:::-;4717:18:1;2475:4;4717:18;;3901:6;1796:40536:22;3901:6:1;1796:40536:22;;3901:22:1;1796:40536:22;3901:6:1;1796:40536:22;3901:22:1;1796:40536:22;3810:120:1;;4717:18;2475:4;:::i;:::-;4747:26;:::i;:::-;;1796:40536:22;;;;;;;;;-1:-1:-1;;1796:40536:22;;;;;;;:::i;:::-;;;:::i;:::-;;;-1:-1:-1;;;;;1796:40536:22;;;;;;;;;;;:::i;:::-;;;;:::i;:::-;;;;-1:-1:-1;;;;;1796:40536:22;;;;;;;;;;;:::i;:::-;;;;4295:74;;;:::i;:::-;-1:-1:-1;;;;;1796:40536:22;;8047:47;;;;;1796:40536;;-1:-1:-1;;;8047:47:22;;1796:40536;;;;;;;8047:47;;1796:40536;;;8047:47;;;:::i;:::-;;;;;;;;;;;;;;;;1796:40536;8104:41;;;;;;;;1796:40536;;;;;;;;;;;;;;;;8104:41;;1796:40536;8104:41;;;:::i;8047:47::-;;;;;:::i;:::-;1796:40536;;8047:47;;;;;1796:40536;;;;;;;;;8047:47;1796:40536;;;;;;;;;;-1:-1:-1;;1796:40536:22;;;;;;:::i;:::-;;;:::i;:::-;;;;;:::i;:::-;;;-1:-1:-1;;;;;1796:40536:22;;;;;;;;;;;:::i;:::-;;;;:::i;:::-;;;;-1:-1:-1;;;;;1796:40536:22;;;;;;;;;;;:::i;:::-;;;;:::i;:::-;;;:::i;:::-;;;;-1:-1:-1;;;;;1796:40536:22;;;;;;;;;-1:-1:-1;;;;;1796:40536:22;;;;;;;;-1:-1:-1;;;;;1796:40536:22;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;4295:74;;:::i;:::-;1796:40536;;;;;;;;;;;-1:-1:-1;;;;;;1796:40536:22;-1:-1:-1;;;;;1796:40536:22;;;;;;;;-1:-1:-1;;;;;;1796:40536:22;-1:-1:-1;;;;;1796:40536:22;;;;;;;-1:-1:-1;;;29803:25:22;;1796:40536;;;;;-1:-1:-1;;;;;1796:40536:22;29803:25;;;;;;;;;;;;1796:40536;;;;;;-1:-1:-1;;29843:35:22;29839:145;;1796:40536;;;-1:-1:-1;;29997:37:22;29993:157;;1796:40536;;;;-1:-1:-1;;;1796:40536:22;30250:489;;1796:40536;-1:-1:-1;;;;;1796:40536:22;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1;;;;;1796:40536:22;;;;;;;;;;-1:-1:-1;;1796:40536:22;;;;;;;;:::i;:::-;-1:-1:-1;;;;;1796:40536:22;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;1796:40536:22;;;;;;;;:::i;:::-;30250:489;1796:40536;;30250:489;;;;;;;;:::i;:::-;-1:-1:-1;;;;;1796:40536:22;;30160:589;;;;1796:40536;;-1:-1:-1;;;30160:589:22;;1796:40536;;;;;;;;;30160:589;;1796:40536;;;;-1:-1:-1;;;;;1796:40536:22;;30160:589;;;:::i;:::-;;;-1:-1:-1;;;;;1796:40536:22;30160:589;;;;;;;;1796:40536;-1:-1:-1;1796:40536:22;;-1:-1:-1;;;30918:25:22;;1796:40536;30802:9;1796:40536;;;;;;30835:9;1796:40536;;;;;;;;;-1:-1:-1;;;;;1796:40536:22;30918:25;;;;;;;;;;1796:40536;;;;;;;;;;:::i;:::-;;;;30767:187;;1796:40536;;30767:187;;1796:40536;;30767:187;;1796:40536;;;;;;;;:::i;30918:25::-;;;1796:40536;30918:25;;1796:40536;30918:25;;;;;;1796:40536;30918:25;;;:::i;:::-;;;1796:40536;;;;;;;30918:25;;;;;;-1:-1:-1;30918:25:22;;30160:589;;;;;;:::i;:::-;1796:40536;;30160:589;;;;1796:40536;;;;;;;;;29993:157;1796:40536;;-1:-1:-1;;;30069:70:22;;1796:40536;-1:-1:-1;1796:40536:22;-1:-1:-1;1796:40536:22;;30069:70;1796:40536;;30069:70;;1796:40536;;30069:70;;;:::i;:::-;;;-1:-1:-1;;;;;1796:40536:22;30069:70;;;;;;;;;;;;29993:157;30050:89;29993:157;;;30069:70;;;;;;1796:40536;30069:70;;1796:40536;30069:70;;;;;;1796:40536;30069:70;;;:::i;:::-;;;1796:40536;;;;;;;;;30069:70;;;;;;-1:-1:-1;30069:70:22;;29839:145;1796:40536;;-1:-1:-1;;;29911:62:22;;1796:40536;-1:-1:-1;1796:40536:22;-1:-1:-1;1796:40536:22;;29911:62;1796:40536;;29911:62;;1796:40536;;29911:62;;;:::i;:::-;;;-1:-1:-1;;;;;1796:40536:22;29911:62;;;;;;;;;;;;29839:145;29894:79;29839:145;;;29911:62;;;;;;1796:40536;29911:62;;1796:40536;29911:62;;;;;;1796:40536;29911:62;;;:::i;:::-;;;1796:40536;;;;;;;;;29911:62;;;;;;-1:-1:-1;29911:62:22;;29803:25;;;;;;1796:40536;29803:25;;1796:40536;29803:25;;;;;;1796:40536;29803:25;;;:::i;:::-;;;1796:40536;;;;;;;;;29803:25;;;;;;-1:-1:-1;29803:25:22;;1796:40536;;;;;;;;;;;;;;;-1:-1:-1;;1796:40536:22;;;;;;:::i;:::-;-1:-1:-1;;;;;;;;;;;1796:40536:22;;;;;;;4301:16:7;1796:40536:22;-1:-1:-1;;;;;1796:40536:22;;4726:16:7;;:34;;;;1796:40536:22;4805:1:7;4790:16;:50;;;;1796:40536:22;4855:13:7;:30;;;;1796:40536:22;4851:91:7;;;-1:-1:-1;;1796:40536:22;;4805:1:7;1796:40536:22;-1:-1:-1;;;;;;;;;;;1796:40536:22;3943:39;;1796:40536;;4979:67:7;;1796:40536:22;3889:44;;;;:::i;:::-;;3943:39;:::i;:::-;;5066:101:7;;1796:40536:22;;5066:101:7;1796:40536:22;;;;-1:-1:-1;;;;;;;;;;;1796:40536:22;;-1:-1:-1;;;;;;;;;;;1796:40536:22;5142:14:7;1796:40536:22;;;4805:1:7;1796:40536:22;;5142:14:7;1796:40536:22;;4979:67:7;-1:-1:-1;;1796:40536:22;;;-1:-1:-1;;;;;;;;;;;1796:40536:22;4979:67:7;;;4851:91;-1:-1:-1;;;4908:23:7;;1796:40536:22;4908:23:7;;4855:30;4872:13;;;4855:30;;;4790:50;4818:4;4810:25;:30;;-1:-1:-1;4790:50:7;;4726:34;;;-1:-1:-1;4726:34:7;;1796:40536:22;;;;;;;-1:-1:-1;;1796:40536:22;;;;;;:::i;:::-;;;;:::i;:::-;;;;:::i;:::-;;;;:::i;:::-;;;;-1:-1:-1;;;;;1796:40536:22;;;;;;;;;;;:::i;:::-;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;4295:74;;:::i;:::-;1796:40536;;-1:-1:-1;;;13653:25:22;;-1:-1:-1;;;;;1796:40536:22;;;;;;;;;;13653:25;;;;;;;;;;;1796:40536;;;13726:61;1796:40536;;;;;;;;;;;;;;13726:61;;1796:40536;;13726:61;1796:40536;13726:61;;;:::i;:::-;;;;;;;;;;;;1796:40536;13726:61;1796:40536;13726:61;;1796:40536;;13726:61;;;1796:40536;-1:-1:-1;1796:40536:22;;;;;;-1:-1:-1;;;13821:25:22;;1796:40536;;;;;13821:25;;;;;;;;;;1796:40536;;;;;;;13865:30;1796:40536;;;;;;;;;;;:::i;:::-;;;-1:-1:-1;;;1796:40536:22;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;1796:40536:22;;;;;;;13821:25;;;;1796:40536;13821:25;;1796:40536;13821:25;;;;;;1796:40536;13821:25;;;:::i;:::-;;;1796:40536;;;;;13821:25;;;;;;;-1:-1:-1;13821:25:22;;13726:61;;;;;;1796:40536;13726:61;1796:40536;13726:61;;;;;;;:::i;:::-;;;;13653:25;;;;1796:40536;13653:25;;1796:40536;13653:25;;;;;;1796:40536;13653:25;;;:::i;:::-;;;1796:40536;;;;;;13653:25;;1796:40536;13653:25;;;;;-1:-1:-1;13653:25:22;;1796:40536;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;4295:74;;:::i;:::-;1796:40536;;-1:-1:-1;;;17953:25:22;;-1:-1:-1;;;;;1796:40536:22;;;;;;;;;;;17953:25;;;;;;;;;;1796:40536;;;18026:52;1796:40536;;;;;;;;;;;;;;18026:52;;1796:40536;18026:52;;;:::i;:::-;;;;;;;;;;;;1796:40536;18026:52;1796:40536;18026:52;;1796:40536;;18026:52;;;1796:40536;-1:-1:-1;1796:40536:22;;;;;;-1:-1:-1;;;18112:25:22;;1796:40536;;;;;18112:25;;;;;;;;;;;1796:40536;;;;;18156:30;1796:40536;;;;-1:-1:-1;;;;;1796:40536:22;;;;;;;18267:46;;;;;1796:40536;;-1:-1:-1;;;18267:46:22;;1796:40536;;;;;;;18267:46;;1796:40536;;18267:46;;;:::i;:::-;;;;;;;;;;;;;1796:40536;-1:-1:-1;;1796:40536:22;;-1:-1:-1;;;18351:24:22;;1796:40536;;;;;;18351:24;;;;;;;;;;;1796:40536;-1:-1:-1;;;;;;1796:40536:22;;18385:133;;1796:40536;;;;;;;;:::i;18385:133::-;1796:40536;;-1:-1:-1;;;18468:21:22;;1796:40536;;;;;;;;;;18468:21;;;;;;;;;;;18385:133;1796:40536;;18435:72;;;;;;1796:40536;18435:72;1796:40536;;;;;;;;;;;;;18435:72;;1796:40536;18435:72;;;:::i;:::-;;;;;;;;;;;18385:133;;;;;18435:72;;;;;;:::i;:::-;1796:40536;;18435:72;;;18468:21;;;;;;;;;;;;;;:::i;:::-;;;;;18351:24;;;;;1796:40536;18351:24;1796:40536;18351:24;;;;;;;:::i;:::-;;;;;;1796:40536;;;;;;;;;18267:46;;;;;:::i;:::-;1796:40536;;18267:46;;;;1796:40536;;;-1:-1:-1;;;1796:40536:22;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;1796:40536:22;;;;;;;18112:25;;;;1796:40536;18112:25;;1796:40536;18112:25;;;;;;1796:40536;18112:25;;;:::i;:::-;;;1796:40536;;;;;18112:25;;;;;;;-1:-1:-1;18112:25:22;;;1796:40536;;;;;;;;;18026:52;;;;;;1796:40536;18026:52;1796:40536;18026:52;;;;;;;:::i;:::-;;;;17953:25;;;;1796:40536;17953:25;;1796:40536;17953:25;;;;;;1796:40536;17953:25;;;:::i;:::-;;;1796:40536;;;;;;17953:25;;1796:40536;17953:25;;;;;-1:-1:-1;17953:25:22;;1796:40536;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;-1:-1:-1;;;1796:40536:22;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;:::i;:::-;4295:74;;;;;;:::i;:::-;-1:-1:-1;;;;;1796:40536:22;;15230:66;;;;;1796:40536;;;15230:66;1796:40536;;;;;;;;;;;;15230:66;;1796:40536;15230:66;;;:::i;1796:40536::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;1796:40536:22;;;;;;:::i;:::-;;;;;;;;;;4375:68;;:::i;:::-;5723:138;;;5748:35;;;:::i;5723:138::-;5814:36;;;:::i;1796:40536::-;;;;;;;-1:-1:-1;;1796:40536:22;;;;;;;:::i;:::-;;;;;;;;;;2954:29:1;1796:40536:22;;;;;;-1:-1:-1;1796:40536:22;;;;;;-1:-1:-1;1796:40536:22;;;;;;;;;;;;;;;;;;-1:-1:-1;;1796:40536:22;;;;;;:::i;:::-;;;-1:-1:-1;;;;;1796:40536:22;;:::i;:::-;;;-1:-1:-1;;;8534:24:22;;-1:-1:-1;;;;;1796:40536:22;;;;8534:24;;1796:40536;;;;;;;;8534:24;;;;;;;;;;1796:40536;;;;;;;;;8534:24;;1796:40536;8534:24;;1796:40536;8534:24;;;;;;1796:40536;8534:24;;;:::i;:::-;;;1796:40536;;;;;;;8534:24;;;;;-1:-1:-1;8534:24:22;;1796:40536;;;;;;;;:::i;:::-;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;4295:74;;:::i;:::-;1796:40536;;-1:-1:-1;;;11397:25:22;;-1:-1:-1;;;;;1796:40536:22;;;;;;;;;;11397:25;;;;;;;;;;;1796:40536;;;11470:48;1796:40536;;;;;;;;;;;;;;11470:48;;1796:40536;11470:48;;;:::i;:::-;;;;;;;;;;;;1796:40536;11470:48;1796:40536;11470:48;;1796:40536;;11470:48;;;1796:40536;-1:-1:-1;1796:40536:22;;;;;;-1:-1:-1;;;11552:25:22;;1796:40536;;;;;11552:25;;;;;;;;;;1796:40536;;;;11596:30;1796:40536;;;;;;;;;;;:::i;:::-;;;-1:-1:-1;;;1796:40536:22;;;;;;;;;;;;;;;;;;;;;;;;;11552:25;;;;1796:40536;11552:25;;1796:40536;11552:25;;;;;;1796:40536;11552:25;;;:::i;:::-;;;1796:40536;;;;;11552:25;;;;;;;-1:-1:-1;11552:25:22;;11470:48;;;;;;1796:40536;11470:48;1796:40536;11470:48;;;;;;;:::i;:::-;;;;11397:25;;;;1796:40536;11397:25;;1796:40536;11397:25;;;;;;1796:40536;11397:25;;;:::i;:::-;;;1796:40536;;;;;;11397:25;;1796:40536;11397:25;;;;;-1:-1:-1;11397:25:22;;1796:40536;;;;;;;;:::i;:::-;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;4295:74;;:::i;:::-;1796:40536;;-1:-1:-1;;;12484:25:22;;-1:-1:-1;;;;;1796:40536:22;;;;;;;;;;12484:25;;;;;;;;;;;1796:40536;;;12557:52;1796:40536;;;;;;;;;;;;;;12557:52;;1796:40536;12557:52;;;:::i;:::-;;;;;;;;;;;;1796:40536;12557:52;1796:40536;12557:52;;1796:40536;;12557:52;;;1796:40536;-1:-1:-1;1796:40536:22;;;;;;-1:-1:-1;;;12643:25:22;;1796:40536;;;;;12643:25;;;;;;;;;;1796:40536;;;;12687:30;1796:40536;;;;;;;;;;;:::i;:::-;;;-1:-1:-1;;;1796:40536:22;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;1796:40536:22;;;;;;;12643:25;;;;1796:40536;12643:25;;1796:40536;12643:25;;;;;;1796:40536;12643:25;;;:::i;:::-;;;1796:40536;;;;;12643:25;;;;;;;-1:-1:-1;12643:25:22;;12557:52;;;;;;1796:40536;12557:52;1796:40536;12557:52;;;;;;;:::i;:::-;;;;12484:25;;;;1796:40536;12484:25;;1796:40536;12484:25;;;;;;1796:40536;12484:25;;;:::i;:::-;;;1796:40536;;;;;;12484:25;;1796:40536;12484:25;;;;;-1:-1:-1;12484:25:22;;1796:40536;;;;;;;-1:-1:-1;;1796:40536:22;;;;;;:::i;:::-;;;;:::i;:::-;;;;:::i;:::-;;;;:::i;:::-;;;;-1:-1:-1;;;;;1796:40536:22;;;;;;;;;;;:::i;:::-;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;4295:74;;:::i;:::-;1796:40536;;-1:-1:-1;;;9455:13:22;;-1:-1:-1;;;;;1796:40536:22;;;;;;;;;;;9455:13;;;;;;;;;;;1796:40536;-1:-1:-1;1796:40536:22;;-1:-1:-1;;;9512:34:22;;9540:4;1796:40536;9512:34;;1796:40536;-1:-1:-1;;;;;1796:40536:22;;;;;;;;;;;;;;;;;9512:34;;;;;;;;;;;1796:40536;;;-1:-1:-1;;;9585:30:22;;9540:4;1796:40536;9585:30;;1796:40536;;-1:-1:-1;1796:40536:22;;;;;9585:30;;;;;;;;;;;1796:40536;-1:-1:-1;;;;;;1796:40536:22;9626:51;;;;;1796:40536;;;;;;;;;;;;;9626:51;;;1796:40536;9626:51;;1796:40536;9626:51;;;;;;;;;;;1796:40536;-1:-1:-1;;1796:40536:22;;-1:-1:-1;;;9706:34:22;;9540:4;1796:40536;9706:34;;1796:40536;;;;;;9706:34;;;;;;;;;;;1796:40536;9706:59;;;;:::i;:::-;9783:11;;;1796:40536;;9869:36;;;9865:236;;1796:40536;;;;;;;;;;;;10129:30;;9540:4;1796:40536;10129:30;;1796:40536;;10129:30;1796:40536;10129:30;;;;;;;;;;;;1796:40536;10129:51;;;;:::i;:::-;1796:40536;;;;;;;;-1:-1:-1;1796:40536:22;;;;;;-1:-1:-1;;;1796:40536:22;1412:43:12;;;-1:-1:-1;;;;;1796:40536:22;;;;1412:43:12;;1796:40536:22;;;;;;;1412:43:12;;1796:40536:22;1412:43:12;1796:40536:22;;;;1412:43:12;1796:40536:22;1412:43:12;;:::i;:::-;1796:40536:22;;;;;;;:::i;:::-;;;-1:-1:-1;;;1796:40536:22;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;1796:40536:22;;;;;;;10129:30;;1796:40536;10129:30;;1796:40536;10129:30;;;;;;1796:40536;10129:30;;;:::i;:::-;;;1796:40536;;;;10129:51;1796:40536;;10129:30;;;;;-1:-1:-1;10129:30:22;;9865:236;-1:-1:-1;;;;;1796:40536:22;;9962:7;;1796:40536;9962:7;;:::i;:::-;9984:49;;;;;1796:40536;;;;;;;;;;;;;;9984:49;;;1796:40536;9984:49;;1796:40536;;;;;;;;;;;;;;;;;;;:::i;:::-;9984:49;;;;;;;;;;;;;;;9865:236;1796:40536;;;;3411:47:12;;;1796:40536:22;3411:47:12;;1796:40536:22;;;3411:47:12;;;1796:40536:22;3411:47:12;;1796:40536:22;;;;;;;3411:47:12;;;1796:40536:22;3411:47:12;;:::i;:::-;5615:25;;;;;;;;;;:::i;:::-;5657:69;;;9865:236:22;5657:103:12;;;;9865:236:22;3473:45:12;;3469:201;;9865:236:22;;;;;3469:201:12;3561:43;3646:12;1796:40536:22;;;;;;;;3561:43:12;;;1796:40536:22;3561:43:12;;1796:40536:22;;;;;;;3561:43:12;;;1796:40536:22;3561:43:12;;:::i;:::-;;;:::i;3646:12::-;3469:201;;;;;5657:103;5730:26;;;:30;;5657:103;;;:69;1796:40536:22;;;;-1:-1:-1;5669:22:12;;;:56;;;;5657:69;;;;;;;5669:56;5695:30;;;1796:40536:22;5695:30:12;;;;;;;;:::i;:::-;5669:56;;;;9984:49:22;;;;;:::i;:::-;1796:40536;;9984:49;;;;1796:40536;;;-1:-1:-1;;;1796:40536:22;;;;;;;;;;;;;;;;;-1:-1:-1;;;1796:40536:22;;;;;;;9706:34;;1796:40536;9706:34;;1796:40536;9706:34;;;;;;1796:40536;9706:34;;;:::i;:::-;;;1796:40536;;;;9706:59;1796:40536;;9706:34;;;;;-1:-1:-1;9706:34:22;;9626:51;;;;;:::i;:::-;1796:40536;;9626:51;;;;9585:30;;;;1796:40536;9585:30;;1796:40536;9585:30;;;;;;1796:40536;9585:30;;;:::i;:::-;;;1796:40536;;;;;9585:30;;;;;;;-1:-1:-1;9585:30:22;;9512:34;;;1796:40536;9512:34;;1796:40536;9512:34;;;;;;1796:40536;9512:34;;;:::i;:::-;;;1796:40536;;;;;;;9512:34;;;;;;-1:-1:-1;9512:34:22;;;1796:40536;;;;;;;;;9455:13;;;;1796:40536;9455:13;1796:40536;9455:13;;;;;;;:::i;:::-;;;;1796:40536;;;;;;;;;;;;;4845:6:8;-1:-1:-1;;;;;1796:40536:22;4836:4:8;4828:23;4824:145;;1796:40536:22;;;-1:-1:-1;;;;;;;;;;;1796:40536:22;;;4824:145:8;-1:-1:-1;;;4929:29:8;;1796:40536:22;;4929:29:8;1796:40536:22;-1:-1:-1;1796:40536:22;;-1:-1:-1;;1796:40536:22;;;;;;:::i;:::-;;;;-1:-1:-1;;;;;1796:40536:22;;;;;;;;;;;:::i;:::-;-1:-1:-1;;;;;4422:6:8;1796:40536:22;4413:4:8;4405:23;;;:120;;;;1796:40536:22;4388:251:8;;;4375:68:22;;:::i;:::-;1796:40536;;-1:-1:-1;;;5885:52:8;;1796:40536:22;-1:-1:-1;;;;;1796:40536:22;;;;;;;;;5885:52:8;;;;;;;;1796:40536:22;-1:-1:-1;5881:437:8;;-1:-1:-1;;;6247:60:8;;1796:40536:22;;;;;2320:47:5;6247:60:8;5881:437;5979:40;;;-1:-1:-1;;;;;;;;;;;5979:40:8;;5975:120;;2263:29:5;;;:34;2259:119;;-1:-1:-1;;;;;;;;;;;1796:40536:22;;-1:-1:-1;;;;;;1796:40536:22;;;;;2922:27:5;;;;1796:40536:22;;;;2964:15:5;:11;;4255:25:13;;1796:40536:22;4297:55:13;4255:25;;;;;;;;;:::i;:::-;4297:55;;:::i;2960:148:5:-;6648:9;;;;6644:70;;1796:40536:22;;6644:70:5;-1:-1:-1;;;6684:19:5;;1796:40536:22;;6684:19:5;2259:119;-1:-1:-1;;;2320:47:5;;1796:40536:22;;;2320:47:5;;5975:120:8;-1:-1:-1;;;6046:34:8;;1796:40536:22;;;6046:34:8;;5885:52;;;;1796:40536:22;5885:52:8;;1796:40536:22;5885:52:8;;;;;;1796:40536:22;5885:52:8;;;:::i;:::-;;;1796:40536:22;;;;;5885:52:8;;;;;;;-1:-1:-1;5885:52:8;;4388:251;-1:-1:-1;;;4599:29:8;;1796:40536:22;4599:29:8;;4405:120;-1:-1:-1;;;;;;;;;;;1796:40536:22;-1:-1:-1;;;;;1796:40536:22;4483:42:8;;;-1:-1:-1;4405:120:8;;;1796:40536:22;;;;;;;;;:::i;:::-;4295:74;;;;;;:::i;:::-;-1:-1:-1;;;;;1796:40536:22;;15581:62;;;;;1796:40536;;;15581:62;1796:40536;;;;;;;;;;;;15581:62;;1796:40536;15581:62;;;:::i;1796:40536::-;;;;;;;-1:-1:-1;;1796:40536:22;;;;;;:::i;:::-;735:10:14;-1:-1:-1;;;;;1796:40536:22;;5421:34:1;5417:102;;5529:37;1796:40536:22;;;5529:37:1;:::i;5417:102::-;-1:-1:-1;;;5478:30:1;;1796:40536:22;5478:30:1;;1796:40536:22;;;;;;;-1:-1:-1;;1796:40536:22;;;;;;;;-1:-1:-1;;;;;1796:40536:22;;;;;;;;;;;:::i;:::-;;;;;-1:-1:-1;;;;;1796:40536:22;31409:10;:21;1796:40536;;31485:26;;;;;1796:40536;;;;;;;;;;:::i;:::-;-1:-1:-1;;;;;;1796:40536:22;-1:-1:-1;;;31571:47:22;;33821:34;;31667:91;;;;;:::i;:::-;-1:-1:-1;31634:124:22;;;-1:-1:-1;;;;;;31567:1518:22;-1:-1:-1;;;;;1796:40536:22;;33189:6;;1796:40536;33189:6;;:::i;:::-;33275:34;;;;;1796:40536;;-1:-1:-1;;;33275:34:22;;-1:-1:-1;;;;;1796:40536:22;;;33275:34;;1796:40536;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;33275:34;;;;;;;;;;31567:1518;31409:10;;33397:6;31409:10;;33397:6;;:::i;:::-;1796:40536;;33275:34;;;;;:::i;:::-;1796:40536;;33275:34;;;;31567:1518;-1:-1:-1;;;31779:49:22;;33931:36;;31879:146;;;;;:::i;:::-;-1:-1:-1;31844:181:22;;;-1:-1:-1;;;;;;;31567:1518:22;;31775:1310;-1:-1:-1;;;32046:48:22;;34045:35;;32145:146;;;;;:::i;:::-;-1:-1:-1;32110:181:22;;-1:-1:-1;;;;;;;31567:1518:22;;32042:1043;-1:-1:-1;;;32312:62:22;;27198:49;;32431:171;;;;;:::i;:::-;32390:212;;;;;;;;;;;;;;;31567:1518;;32308:777;34297:43;;-1:-1:-1;;;;32623:56:22;34297:43;;32818:180;;;;;:::i;:::-;32775:223;;;;;;;;;;;;;;;;31567:1518;;32619:466;1796:40536;;-1:-1:-1;;;33029:45:22;;1796:40536;;33029:45;;1796:40536;;;;;;;;;;;-1:-1:-1;;;1796:40536:22;;;;;;33029:45;1796:40536;-1:-1:-1;;;1796:40536:22;;;;;;;;;;;;-1:-1:-1;;1796:40536:22;;;;;;:::i;:::-;;;:::i;:::-;;;:::i;:::-;;;;-1:-1:-1;;;;;1796:40536:22;;;;;;;;;;;:::i;:::-;;;;;;:::i;:::-;;;;-1:-1:-1;;;;;1796:40536:22;;;;;;;;;;;;;;:::i;:::-;;;;:::i;:::-;;;;:::i;:::-;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;4295:74;;:::i;:::-;1796:40536;;;;;-1:-1:-1;;;;;;1796:40536:22;-1:-1:-1;;;;;1796:40536:22;;;;;;;;-1:-1:-1;;;;;;1796:40536:22;-1:-1:-1;;;;;1796:40536:22;;;;;;;;;;;;;;;;22035:25;;1796:40536;;;;;;22035:25;;;;;;;;;;;;1796:40536;;;;;;-1:-1:-1;;22075:31:22;22071:125;;1796:40536;;;;-1:-1:-1;;;1796:40536:22;22292:342;;1796:40536;-1:-1:-1;;;;;1796:40536:22;;;;;;;;;;;;;;;;;;;;;;;;;;22292:342;;1796:40536;;;;;;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1;;;;;1796:40536:22;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;1796:40536:22;;;;;;:::i;:::-;22292:342;1796:40536;;22292:342;;;;;;:::i;:::-;-1:-1:-1;;;;;1796:40536:22;;22206:438;;;;1796:40536;22206:438;1796:40536;;;;;;;;;;;;;22206:438;;1796:40536;22206:438;;;:::i;22071:125::-;1796:40536;;-1:-1:-1;;;22135:50:22;;1796:40536;;-1:-1:-1;1796:40536:22;-1:-1:-1;1796:40536:22;;;22135:50;1796:40536;;22135:50;1796:40536;22135:50;;;:::i;:::-;;1796:40536;-1:-1:-1;;;;;1796:40536:22;;22135:50;;;;;;;;;;;;22071:125;-1:-1:-1;22122:63:22;22071:125;;22135:50;;;;;;;;;;1796:40536;22135:50;;1796:40536;22135:50;;;;;;1796:40536;22135:50;;;:::i;:::-;;;1796:40536;;;;;;;;;;22135:50;;;1796:40536;;;;22135:50;;;;;-1:-1:-1;22135:50:22;;22035:25;;;;;;1796:40536;22035:25;;1796:40536;22035:25;;;;;;1796:40536;22035:25;;;:::i;:::-;;;1796:40536;;;;;;;;;22035:25;;;;;;-1:-1:-1;22035:25:22;;1796:40536;;;;;;;-1:-1:-1;;1796:40536:22;;;;4330:25:1;1796:40536:22;;;;:::i;:::-;4300:18:1;2475:4;4300:18;;3901:6;1796:40536:22;3901:6:1;1796:40536:22;;3901:22:1;1796:40536:22;3901:6:1;1796:40536:22;3901:22:1;1796:40536:22;3810:120:1;;2475:4;4330:25;:::i;1796:40536:22:-;;;;;;;-1:-1:-1;;1796:40536:22;;;;;;;:::i;:::-;;;:::i;:::-;;;;:::i;:::-;;;-1:-1:-1;;;;;1796:40536:22;;;;;;;;;;;:::i;:::-;;;;;:::i;:::-;;;;-1:-1:-1;;;;;1796:40536:22;;;;;;;;;;;;:::i;:::-;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;4295:74;;;:::i;:::-;4361:1;;-1:-1:-1;;;;;1796:40536:22;;;;4361:1;;;;;1796:40536;;-1:-1:-1;;;;;;1796:40536:22;;;;;-1:-1:-1;;;;;1796:40536:22;;;;;-1:-1:-1;;;;;;1796:40536:22;;;;;-1:-1:-1;;24123:31:22;24119:133;;1796:40536;-1:-1:-1;;24265:37:22;24261:157;;1796:40536;;;;;;24514:363;1796:40536;;;;;;;;;;;;;;34045:35;;;;;;1796:40536;24514:363;;1796:40536;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1;;;;;1796:40536:22;;;;;;;;;;-1:-1:-1;;1796:40536:22;;;;;;:::i;:::-;-1:-1:-1;;;;;1796:40536:22;;;;;;;;;;;;;;;;;;;;;;;24514:363;-1:-1:-1;;24514:363:22;;;;;;:::i;:::-;24428:459;;;;;;1796:40536;;;;;;;;;;;;;;;;24428:459;;1796:40536;24428:459;;;:::i;24261:157::-;1796:40536;;-1:-1:-1;;;24337:70:22;;1796:40536;;-1:-1:-1;1796:40536:22;;;24337:70;1796:40536;;24337:70;1796:40536;24337:70;;;:::i;:::-;;1796:40536;-1:-1:-1;;;;;1796:40536:22;;24337:70;;;;;;;;;;;24261:157;-1:-1:-1;24318:89:22;24261:157;;24337:70;;;;;;;;;;1796:40536;24337:70;;1796:40536;24337:70;;;;;;1796:40536;24337:70;;;:::i;:::-;;;1796:40536;;;;;;;;24337:70;;;;;;;;;;1796:40536;;24337:70;;;;;-1:-1:-1;24337:70:22;;24119:133;1796:40536;;24183:58;1796:40536;;;;;;;;;;;;;;;24183:58;;;1796:40536;24183:58;;;:::i;:::-;;;-1:-1:-1;;;;;1796:40536:22;24183:58;;;;;;;;;;;24119:133;24170:71;24119:133;;;24183:58;;;;1796:40536;24183:58;;1796:40536;24183:58;;;;;;1796:40536;24183:58;;;:::i;:::-;;;1796:40536;;;;;;;24183:58;;;;;;-1:-1:-1;24183:58:22;;1796:40536;;;;;;;-1:-1:-1;;1796:40536:22;;;;;;:::i;:::-;;;;-1:-1:-1;;;;;1796:40536:22;;;;;;;;;;;:::i;:::-;;;-1:-1:-1;;;;;1796:40536:22;33660:10;:18;1796:40536;;33730:26;;;;1796:40536;;;;;;;-1:-1:-1;;;;;;1796:40536:22;;;:::i;:::-;;;-1:-1:-1;;;33808:47:22;;33821:34;;35063:91;;;;;:::i;:::-;1796:40536;;-1:-1:-1;;;35241:39:22;;33660:10;1796:40536;35241:39;;1796:40536;;;-1:-1:-1;1796:40536:22;;-1:-1:-1;1796:40536:22;;;-1:-1:-1;;;;;1796:40536:22;;;;;;;;;35241:39;;;;;;;;;;;33804:674;33660:10;;35398;33660;;;1796:40536;33660:10;1796:40536;33660:10;;35398;:::i;:::-;1796:40536;;-1:-1:-1;;;35496:39:22;;33660:10;1796:40536;35496:39;;1796:40536;;;;;;35496:39;;;;;;;;;;;33804:674;35574:34;;;;;:::i;:::-;33660:10;;35666:76;;;;1796:40536;;-1:-1:-1;;;35666:76:22;;1796:40536;;;;;;;35666:76;;1796:40536;35666:76;;1796:40536;35666:76;;;:::i;:::-;;33660:10;;;35666:76;;;;;;;;;;;33804:674;33660:10;;;35803:62;;;;;1796:40536;;;;;;;;;;;;35803:62;;1796:40536;35803:62;;;:::i;:::-;;33660:10;;;35803:62;;;;;;;;33804:674;;1796:40536;;35666:76;;;;;:::i;:::-;1796:40536;;35666:76;;;;35496:39;;;;;1796:40536;35496:39;;1796:40536;35496:39;;;;;;1796:40536;35496:39;;;:::i;:::-;;;1796:40536;;;;;;;;35574:34;35496:39;;;;;-1:-1:-1;35496:39:22;;35241;;;;;;;1796:40536;35241:39;;1796:40536;35241:39;;;;;;1796:40536;35241:39;;;:::i;:::-;;;1796:40536;;;;;;;;;;;;35398:10;35241:39;;;;;-1:-1:-1;35241:39:22;;33804:674;-1:-1:-1;;;33918:49:22;;33931:36;;36272:100;;;;;:::i;:::-;33660:10;;;;;;;;;;;36430:61;;;;1796:40536;36430:61;1796:40536;;;;;;;;;;36430:61;;;;;1796:40536;36430:61;;;:::i;:::-;;33660:10;;;36430:61;;;;;;;;;;;33914:564;33660:10;;;36533:76;;;;1796:40536;;;;36533:76;1796:40536;;;;;;;;;;;36533:76;;1796:40536;36533:76;;;:::i;:::-;;33660:10;;;36533:76;;;;;;;;33914:564;33660:10;;36740:16;33660:10;;36740:16;:::i;36533:76::-;;;;;:::i;:::-;1796:40536;;36533:76;;;;36430:61;;;;;:::i;:::-;1796:40536;;36430:61;;;;33914:564;-1:-1:-1;;;34032:48:22;;34045:35;;37185:100;;;;;:::i;:::-;33660:10;;;;;;;;;;37322:69;;;;1796:40536;;-1:-1:-1;;;37322:69:22;;;1796:40536;;37322:69;;;;;1796:40536;37322:69;;;:::i;:::-;;33660:10;;;37322:69;;;;;;;;;;;34028:450;33660:10;;;37451:84;;;;1796:40536;;;;37451:84;1796:40536;;;;;;;;;;;37451:84;;1796:40536;37451:84;;;:::i;:::-;;33660:10;;;37451:84;;;;;;;;;;;34028:450;33660:10;;;37591:78;;;;1796:40536;;-1:-1:-1;;;37591:78:22;;1796:40536;;;;;;;37591:78;;1796:40536;37591:78;;1796:40536;37591:78;;;:::i;37451:84::-;;;;;:::i;:::-;1796:40536;;37451:84;;;;37322:69;;;;;:::i;:::-;1796:40536;;37322:69;;;;34028:450;-1:-1:-1;;;34144:62:22;;27198:49;;38355:125;;;;;:::i;:::-;33660:10;;;;;;;;;;;;;38542:69;;;;;1796:40536;;;;;;;;;;;;;38542:69;;;;1796:40536;38542:69;;;:::i;:::-;;33660:10;;;38542:69;;;;;;;;;;;34140:338;33660:10;;;38657:92;;;;1796:40536;;;;38657:92;1796:40536;;;;;;;;;;;38657:92;;1796:40536;38657:92;;;:::i;:::-;;33660:10;;;38657:92;;;;;;;;;;;34140:338;-1:-1:-1;;1796:40536:22;;-1:-1:-1;;;38843:41:22;;33660:10;1796:40536;38843:41;;1796:40536;;-1:-1:-1;;;;;1796:40536:22;;;;;;;;;38843:41;;;;;;;;;;;34140:338;33660:10;;;1796:40536;33660:10;;39014:20;33660:10;1796:40536;33660:10;;39014:20;:::i;38843:41::-;;;;;;;;1796:40536;38843:41;;1796:40536;38843:41;;;;;;1796:40536;38843:41;;;:::i;:::-;;;1796:40536;;;;;;;;;;38843:41;;1796:40536;;;;38843:41;;;;;-1:-1:-1;38843:41:22;;38657:92;;;;;:::i;:::-;1796:40536;;38657:92;;;;;1796:40536;;;38542:69;;;;;:::i;:::-;1796:40536;;38542:69;;;;34140:338;34297:43;;;;-1:-1:-1;;;;34284:56:22;34297:43;;40109:180;;;;;:::i;:::-;1796:40536;;-1:-1:-1;;;40377:37:22;;33660:10;1796:40536;40377:37;;1796:40536;;;-1:-1:-1;1796:40536:22;;-1:-1:-1;1796:40536:22;;;;;;;;;;;-1:-1:-1;;;;;1796:40536:22;;;;;;;;;40377:37;;;;;;;;;;;34280:198;33660:10;;40550:12;33660:10;;;;1796:40536;33660:10;1796:40536;33660:10;;40550:12;:::i;:::-;1796:40536;;-1:-1:-1;;;40654:37:22;;33660:10;1796:40536;40654:37;;1796:40536;;;;;;40654:37;;;;;;;;;;;34280:198;40727:28;;;;;:::i;:::-;40863:32;;;;;;:67;;;33660:10;40967:74;;;;1796:40536;;-1:-1:-1;;;40967:74:22;;1796:40536;;;;;;;40967:74;;1796:40536;40967:74;;1796:40536;40967:74;;;:::i;40863:67::-;;;;;;40654:37;;;;;1796:40536;40654:37;;1796:40536;40654:37;;;;;;1796:40536;40654:37;;;:::i;:::-;;;1796:40536;;;;;;;;40727:28;40654:37;;;;;-1:-1:-1;40654:37:22;;40377;;;;;;1796:40536;40377:37;;1796:40536;40377:37;;;;;;1796:40536;40377:37;;;:::i;:::-;;;1796:40536;;;;;;;;;;;;;40550:12;40377:37;;;;;-1:-1:-1;40377:37:22;;;1796:40536;;;;;;;;;;;;-1:-1:-1;;;1796:40536:22;;;;;;;;;;;;-1:-1:-1;;1796:40536:22;;;;;;;;3901:6:1;1796:40536:22;3901:6:1;1796:40536:22;;3901:22:1;1796:40536:22;3901:6:1;1796:40536:22;3901:22:1;1796:40536:22;3810:120:1;;1796:40536:22;;;;;;;;;;;;;;;;:::i;:::-;4295:74;;;;;;:::i;:::-;-1:-1:-1;;;;;1796:40536:22;;14867:76;;;;;1796:40536;;;14867:76;1796:40536;;;;;;;;;;;;14867:76;;1796:40536;14867:76;;;:::i;1796:40536::-;;;;;;;;;:::i;:::-;4295:74;;;:::i;:::-;-1:-1:-1;;;;;1796:40536:22;;6796:37;;;;;;1796:40536;;;;;;;;;;;;;;;6796:37;;1796:40536;6796:37;;;:::i;1796:40536::-;;;;;;;;;:::i;:::-;4295:74;;;:::i;:::-;-1:-1:-1;;;;;1796:40536:22;;6416:35;;;;;;1796:40536;;;;;;;;;;;;;;;6416:35;;1796:40536;6416:35;;;:::i;1796:40536::-;;;;;;;-1:-1:-1;;1796:40536:22;;;;;;;;;;;;;;;;;;-1:-1:-1;;;2673:47:1;;;:87;;;;1796:40536:22;;;;;;;;;;2673:87:1;-1:-1:-1;;;861:40:16;;-1:-1:-1;2673:87:1;;;1796:40536:22;;;;;;;-1:-1:-1;;1796:40536:22;;;;;;:::i;:::-;;;:::i;:::-;;;:::i;:::-;;;;-1:-1:-1;;;;;1796:40536:22;;;;;;;;;;;:::i;:::-;;;;:::i;:::-;;;;-1:-1:-1;;;;;1796:40536:22;;;;;;;;;;;:::i;:::-;;;;:::i;:::-;;;;;;;:::i;:::-;;;-1:-1:-1;;;;;1796:40536:22;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;1796:40536:22;;;;;;;;;;;;-1:-1:-1;;;;;1796:40536:22;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;4295:74;;:::i;:::-;26139:1724;;;;-1:-1:-1;;;;;1796:40536:22;;;;26139:1724;;-1:-1:-1;1796:40536:22;;;-1:-1:-1;;;;;;1796:40536:22;;;;;-1:-1:-1;;;;;1796:40536:22;;;;;;-1:-1:-1;;;;;;1796:40536:22;;;;;;;;;;;;;26727:25;;;;1796:40536;26727:25;1796:40536;26727:25;;;;;;;1796:40536;26727:25;;;1796:40536;;;;-1:-1:-1;;26767:31:22;26763:133;;1796:40536;26781:17;;;;;;;;;;;;26909:41;26905:169;;1796:40536;;;27198:49;;;;;;1796:40536;27170:471;;1796:40536;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1;;;;;1796:40536:22;;;;;;;;;;-1:-1:-1;;1796:40536:22;;;;;;;;:::i;:::-;-1:-1:-1;;;;;1796:40536:22;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;1796:40536:22;;;;;;;;:::i;:::-;27170:471;1796:40536;;27170:471;;;;;;;;:::i;:::-;27084:567;;;;;;1796:40536;;;;;;;;;;;;;;;;27084:567;;1796:40536;27084:567;;;:::i;:::-;;;;;;;;;;1796:40536;27084:567;;;1796:40536;;27704:9;1796:40536;;27737:9;1796:40536;;;;;;;;;;;;;;27820:25;;;;;;;;;;;;1796:40536;;;;;;;;;:::i;27084:567::-;;;;1796:40536;27084:567;;:::i;:::-;1796:40536;27084:567;;;;1796:40536;;;;;;;;;26905:169;1796:40536;;-1:-1:-1;;;26989:74:22;;1796:40536;-1:-1:-1;1796:40536:22;-1:-1:-1;1796:40536:22;;;26989:74;;1796:40536;;26989:74;;;:::i;:::-;;1796:40536;-1:-1:-1;;;;;1796:40536:22;;26989:74;;;;;;;;1796:40536;26989:74;;;26905:169;26966:97;26905:169;;;26989:74;;;;1796:40536;26989:74;;1796:40536;26989:74;;;;;;1796:40536;26989:74;;;:::i;:::-;;;1796:40536;;;;;;;26989:74;;;;;;-1:-1:-1;26989:74:22;;26763:133;1796:40536;;;;;;;;26827:58;1796:40536;;;;;;;;;;;;26827:58;;;1796:40536;26827:58;;;:::i;:::-;;;-1:-1:-1;;;;;1796:40536:22;26827:58;;;;;;;;1796:40536;26827:58;;;26763:133;26814:71;26763:133;;;;;;;;26827:58;;;;1796:40536;26827:58;;1796:40536;26827:58;;;;;;1796:40536;26827:58;;;:::i;:::-;;;1796:40536;;;;;;;26827:58;;;;;;-1:-1:-1;26827:58:22;;26727:25;;;1796:40536;26727:25;;1796:40536;26727:25;;;;;;1796:40536;26727:25;;;:::i;:::-;;;1796:40536;;;;;26727:25;;;;;;-1:-1:-1;26727:25:22;;1796:40536;;;;-1:-1:-1;;;;;1796:40536:22;;;;;;:::o;:::-;;;;-1:-1:-1;;;;;1796:40536:22;;;;;;:::o;:::-;;;-1:-1:-1;;;;;1796:40536:22;;;;;;:::o;:::-;;;;-1:-1:-1;;;;;1796:40536:22;;;;;;:::o;:::-;;;;-1:-1:-1;;;;;1796:40536:22;;;;;;:::o;:::-;;;;;;;-1:-1:-1;;;;;1796:40536:22;;;;;;;:::o;:::-;;;;-1:-1:-1;1796:40536:22;;;;;-1:-1:-1;1796:40536:22;;;;;;;;;;;;;;-1:-1:-1;;;;;1796:40536:22;;;;;;;:::o;:::-;-1:-1:-1;;;;;1796:40536:22;;;;;;-1:-1:-1;;1796:40536:22;;;;:::o;:::-;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;:::i;:::-;;;;;;;;;;;;;-1:-1:-1;1796:40536:22;;;;;;;;;;;;;;:::o;:::-;;;;-1:-1:-1;;;;;1796:40536:22;;;;;;:::o;:::-;;;;-1:-1:-1;;;;;1796:40536:22;;;;;;:::o;:::-;;;;-1:-1:-1;;;;;1796:40536:22;;;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;:::-;;;-1:-1:-1;;;;;;1796:40536:22;;;;;;:::o;:::-;;;;;;;;;;;-1:-1:-1;;;;;1796:40536:22;;;;;;;;;-1:-1:-1;;;;;1796:40536:22;;;;;;;;;;:::o;:::-;;-1:-1:-1;;1796:40536:22;;;;;;;-1:-1:-1;;;;;1796:40536:22;;;;;;;;;-1:-1:-1;;;;;1796:40536:22;;;;;;;;;;-1:-1:-1;;;;;1796:40536:22;;;;;;;;;:::i;:::-;;;;-1:-1:-1;;;;;1796:40536:22;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;-1:-1:-1;;;;;1796:40536:22;;;;;;;;;;;;;;;:::o;:::-;;-1:-1:-1;;1796:40536:22;;;;;;;-1:-1:-1;;;;;1796:40536:22;;;;;;;;;-1:-1:-1;;;;;1796:40536:22;;;;;;;;;;;;-1:-1:-1;;;;;1796:40536:22;;;;;;;;;;-1:-1:-1;;;;;1796:40536:22;;;;;;;;;:::i;:::-;;;;;:::o;:::-;;;;;;;;;;;;;;;;;-1:-1:-1;1796:40536:22;;;;;;;;-1:-1:-1;;1796:40536:22;;;;:::o;:::-;;-1:-1:-1;;1796:40536:22;;;;;;;-1:-1:-1;;;;;1796:40536:22;;;;;;;;;-1:-1:-1;;;;;1796:40536:22;;;;;;;;;-1:-1:-1;;;;;1796:40536:22;;;;;;;;;-1:-1:-1;;;;;1796:40536:22;;;;;;;;;;;;-1:-1:-1;;;;;1796:40536:22;;;;;;;;;;-1:-1:-1;;;;;1796:40536:22;;;;;;;;;:::i;:::-;;;;;:::o;:::-;;;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1;;;;;1796:40536:22;;;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;:::-;-1:-1:-1;;;;;1796:40536:22;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1;;;;;1796:40536:22;;;;;;;;;:::o;:::-;;;;;;;;;;;;;-1:-1:-1;1796:40536:22;;;;;;;;-1:-1:-1;;1796:40536:22;;;;:::o;:::-;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;-1:-1:-1;;;;;1796:40536:22;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;-1:-1:-1;;;;;1796:40536:22;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;:::i;:::-;;;;;;-1:-1:-1;;;;;1796:40536:22;;;;;;;;:::i;:::-;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;-1:-1:-1;;;;;1796:40536:22;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;-1:-1:-1;;;;;1796:40536:22;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;;;;;:::i;:::-;;;;;;-1:-1:-1;;;;;1796:40536:22;;;;;;;;:::i;:::-;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;-1:-1:-1;;;;;1796:40536:22;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;-1:-1:-1;;;;;1796:40536:22;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;;;;;;:::i;:::-;;;;;:::o;:::-;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;-1:-1:-1;;;;;1796:40536:22;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;:::i;:::-;;;;;;-1:-1:-1;;;;;1796:40536:22;;;;;;;;:::i;:::-;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;-1:-1:-1;;;;;1796:40536:22;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;;;;;:::i;:::-;;;;;;-1:-1:-1;;;;;1796:40536:22;;;;;;;;:::i;:::-;;;;;;;;;;-1:-1:-1;;;;;1796:40536:22;;;;;;;:::o;:::-;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;:::-;-1:-1:-1;;;;;1796:40536:22;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;-1:-1:-1;;;;;1796:40536:22;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;:::i;:::-;;;;;;;;;;;;;-1:-1:-1;1796:40536:22;;;;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;:::o;:::-;-1:-1:-1;;;;;1796:40536:22;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;4449:227::-;735:10:14;2954:6:1;1796:40536:22;;;-1:-1:-1;;;;;;;;;;;1796:40536:22;;;;;;;;4552:69;;;;4449:227;1796:40536;;;4449:227::o;1796:40536::-;;;-1:-1:-1;;;1796:40536:22;;;;;;;;;;;;;;;;;-1:-1:-1;;;1796:40536:22;;;;;;;4552:69;-1:-1:-1;735:10:14;2954:6:1;1796:40536:22;;;-1:-1:-1;;;;;;;;;;;1796:40536:22;;;;;;;;4552:69;;3199:103:1;2954:6;1796:40536:22;;;;;;;;;;;735:10:14;1796:40536:22;;;;;;;;;;3519:23:1;3515:108;;3199:103;:::o;3515:108::-;3565:47;;;2954:6;3565:47;735:10:14;3565:47:1;1796:40536:22;;;;2954:6:1;3565:47;6179:316;-1:-1:-1;;;;;1796:40536:22;;;;;;-1:-1:-1;;;;;;;;;;;1796:40536:22;;;;;;;;;;-1:-1:-1;;;;;1796:40536:22;;;;;-1:-1:-1;;;;;;;;;;;1796:40536:22;;;;;;;-1:-1:-1;;1796:40536:22;;;;;735:10:14;;1796:40536:22;-1:-1:-1;;;;;;;;;;;2278:26:22;-1:-1:-1;;;;;;;;;;;6370:40:1;1796:40536:22;6370:40:1;6347:4;6424:11;:::o;6272:217::-;6466:12;1796:40536:22;6466:12:1;:::o;6179:316::-;-1:-1:-1;;;;;1796:40536:22;;;;;;-1:-1:-1;;;;;;;;;;;1796:40536:22;;;;;;;;;;-1:-1:-1;;;;;1796:40536:22;;;;;-1:-1:-1;;;;;;;;;;;1796:40536:22;;;;;;;-1:-1:-1;;1796:40536:22;;;;;735:10:14;;1796:40536:22;-1:-1:-1;;;;;;;;;;;1796:40536:22;;6370:40:1;6347:4;6424:11;:::o;6179:316::-;1796:40536:22;;;;;;;;;;;;-1:-1:-1;;;;;1796:40536:22;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;1796:40536:22;;;;;;;;;;;;;;;-1:-1:-1;;1796:40536:22;;;;;735:10:14;;1796:40536:22;;-1:-1:-1;;;;;;;;;;;6370:40:1;1796:40536:22;6370:40:1;6347:4;6424:11;:::o;6272:217::-;6466:12;;1796:40536:22;6466:12:1;:::o;3296:380:12:-;1796:40536:22;;-1:-1:-1;;;3411:47:12;;;;;;-1:-1:-1;;;;;1796:40536:22;;3411:47:12;;;1796:40536:22;;;;;;;;3296:380:12;;3411:47;1796:40536:22;;;;3411:47:12;1796:40536:22;3411:47:12;5615:25;;-1:-1:-1;;;;;1796:40536:22;;;-1:-1:-1;;;;;1796:40536:22;5615:25:12;;;;;:::i;:::-;5657:69;;;3296:380;5657:103;;;;3296:380;3473:45;;3469:201;;3296:380;;;:::o;3469:201::-;1796:40536:22;;-1:-1:-1;;;3411:47:12;3561:43;;;-1:-1:-1;;;;;1796:40536:22;;;3411:47:12;3561:43;;1796:40536:22;-1:-1:-1;1796:40536:22;;;;;;;;3561:43:12;;3646:12;;3561:43;;;;1796:40536:22;3561:43:12;:::i;3646:12::-;3296:380::o;5657:103::-;5730:26;;;:30;;5657:103;;;:69;1796:40536:22;;;;-1:-1:-1;5669:22:12;;;:56;;;;5657:69;;;;;;;5669:56;5695:30;;;3411:47;5695:30;;;;;;;;:::i;:::-;5669:56;;;;6730:317:1;-1:-1:-1;;;;;1796:40536:22;;;;;;-1:-1:-1;;;;;;;;;;;1796:40536:22;;;;;;;;;;;-1:-1:-1;;;;;1796:40536:22;;;;;-1:-1:-1;;;;;;;;;;;1796:40536:22;;;;;;;-1:-1:-1;;1796:40536:22;;;735:10:14;;1796:40536:22;-1:-1:-1;;;;;;;;;;;2278:26:22;6922:40:1;;1796:40536:22;6922:40:1;1796:40536:22;6976:11:1;:::o;6730:317::-;1796:40536:22;;;;;;;;;;;;-1:-1:-1;;;;;1796:40536:22;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;1796:40536:22;;;;;;;;;;;;;;;-1:-1:-1;;1796:40536:22;;;735:10:14;;1796:40536:22;;6922:40:1;;1796:40536:22;6922:40:1;1796:40536:22;6976:11:1;:::o;4682:154:22:-;735:10:14;2232:4:1;1796:40536:22;;;-1:-1:-1;;;;;;;;;;;1796:40536:22;;;;;;;;;;;4682:154::o;1796:40536::-;;;-1:-1:-1;;;1796:40536:22;;;;;;;;;;;;;;;;;-1:-1:-1;;;1796:40536:22;;;;;;;41790:540;1796:40536;;-1:-1:-1;;;41951:11:22;;41790:540;;;;;;-1:-1:-1;;;;;1796:40536:22;;;;41790:540;41951:11;1796:40536;41951:11;1796:40536;;41951:11;;;;;;;-1:-1:-1;41951:11:22;;;41790:540;-1:-1:-1;;;;;;1796:40536:22;;;;;41929:33;1796:40536;;;-1:-1:-1;1796:40536:22;;;42003:48;1796:40536;;;;;;;;;;;;42003:48;;41951:11;42003:48;;;:::i;:::-;;;;;;;;;-1:-1:-1;;;42003:48:22;;;41925:399;1796:40536;41978:73;1796:40536;41978:73;1796:40536;41790:540::o;42003:48::-;;;;;;1796:40536;42003:48;1796:40536;42003:48;;;;;;;:::i;:::-;;;;41925:399;1796:40536;;;;;;42092:11;;41951;42092;41951;42092;;;;;;;;;-1:-1:-1;42092:11:22;;;41925:399;-1:-1:-1;;;;;;1796:40536:22;;;;;42072:31;1796:40536;;;-1:-1:-1;1796:40536:22;;;42144:52;1796:40536;;;;;;;;;;;;42144:52;;41951:11;42144:52;;;:::i;42068:256::-;1796:40536;;;-1:-1:-1;1796:40536:22;42252:61;1796:40536;;;;;;;;;;;;;;42252:61;;41951:11;42252:61;;;:::i;42092:11::-;;;;41951;42092;41951;42092;;;;;;;:::i;:::-;;;;41951;;;;;;;;;;;;;;:::i;:::-;;;;1796:40536;;;;;;;;;;:::i;:::-;;;;;;;;:::i;:::-;;;;-1:-1:-1;1796:40536:22;;;;:::o;:::-;;;:::o;:::-;;;;;;;;;;;;;;;;;;:::o;4059:629:12:-;2847:1:13;4059:629:12;3510:55:13;4059:629:12;1796:40536:22;;;;;;3462:31:13;;;;;;;;;;;;:::i;:::-;3510:55;;;:::i;:::-;1796:40536:22;;4551:22:12;;;;:57;;;;4059:629;4547:135;;;;4059:629;:::o;4547:135::-;4631:40;;;2847:1:13;4631:40:12;;1796:40536:22;;2847:1:13;4631:40:12;4551:57;4578:30;;;3462:31:13;4578:30:12;;;;;;;;:::i;:::-;4577:31;4551:57;;;;4625:582:13;;4797:8;;-1:-1:-1;1796:40536:22;;5874:21:13;:17;;6046:142;;;;;;5870:383;6225:17;;;5894:1;6225:17;;5894:1;6225:17;4793:408;1796:40536:22;;5045:22:13;:49;;;4793:408;5041:119;;5173:17;;:::o;5041:119::-;-1:-1:-1;;;5066:1:13;5121:24;;;-1:-1:-1;;;;;1796:40536:22;;;;5121:24:13;1796:40536:22;;;5121:24:13;5045:49;5071:18;;;:23;5045:49;","linkReferences":{},"immutableReferences":{"1547":[{"start":9001,"length":32},{"start":9148,"length":32}]}}}}}}},"signatures":{"function":[{"signature":"allocateBox(address,address,uint256,address,bytes,uint256)","signatureHash4":"0x79ffc233","signatureHash32":"0x79ffc233430349e9f00914c54180af80d92766792eae79cfa2482e41d35a546a"},{"signature":"allocateToken(address,address,address,address,uint256,address,bytes,uint256)","signatureHash4":"0xf3fa30ef","signatureHash32":"0xf3fa30ef6a5bf87384124d6d371ee415c0f6c05f0c06142325bfcf109f663ab3"},{"signature":"allocateVault(address,address,uint256)","signatureHash4":"0x05069026","signatureHash32":"0x0506902654457ac7777022ccd66689ede193c35e1b5319ea37eb782a08e81d86"},{"signature":"borrowBox(address,address,bytes,address,uint256)","signatureHash4":"0xa3d1b21d","signatureHash32":"0xa3d1b21d848ab704f4ca60e6ec16c471d23a9889f78af2d9a25d805d9c22a004"},{"signature":"deallocateBox(address,address,uint256,address,bytes,uint256)","signatureHash4":"0x71409049","signatureHash32":"0x7140904937c6931bd8dbefe7984dd78ddc515dbad12480b16691401fec1d2381"},{"signature":"deallocateToken(address,address,address,address,uint256,address,bytes,uint256)","signatureHash4":"0xae09b9c7","signatureHash32":"0xae09b9c7c337f57b4292f03891faaadb4271594b5487e8cb071159b51d1df4fd"},{"signature":"deallocateVault(address,address,uint256)","signatureHash4":"0x06a1701e","signatureHash32":"0x06a1701ec09e803094e2512545a1813cc249d2e51df85f4785464ceb138e2556"},{"signature":"deallocateVaultWithData(address,address,bytes,uint256)","signatureHash4":"0xfbb61d7d","signatureHash32":"0xfbb61d7d7367229cb4d54048f2225ceb89af66fd00c146a53a2c7d34b0b21be4"},{"signature":"DEFAULT_ADMIN_ROLE()","signatureHash4":"0xa217fddf","signatureHash32":"0xa217fddfde7807bb766525e432eeeecaaf4de889a05e8df9fb827257fb978cf4"},{"signature":"deleverage(address,address,address,bytes,address,bytes,address,uint256,address,uint256)","signatureHash4":"0x2f5066dd","signatureHash32":"0x2f5066dd0e2103b6ccfb0176e8bdb8f1aee174ab350ec2a6a81d35067de047a7"},{"signature":"depledgeBox(address,address,bytes,address,uint256)","signatureHash4":"0x2372dd5f","signatureHash32":"0x2372dd5feb4ea7c5ecc6616e2c3c3bf7d80db9556007d9ef0a6590790aeb7e14"},{"signature":"getRoleAdmin(bytes32)","signatureHash4":"0x248a9ca3","signatureHash32":"0x248a9ca39e7e298ea3bbd193e7d36b87492efea84ff513fd03940aaa5bc0d98f"},{"signature":"grantRole(bytes32,address)","signatureHash4":"0x2f2ff15d","signatureHash32":"0x2f2ff15deca029b64bbc0874ae59c8f39be024a95aa718b4c13ca407db350be8"},{"signature":"hasRole(bytes32,address)","signatureHash4":"0x91d14854","signatureHash32":"0x91d1485424b278bc736d5d34907ed48280c7188845bc82b33370da2b4dc1194e"},{"signature":"initialize(address)","signatureHash4":"0xc4d66de8","signatureHash32":"0xc4d66de8473e8f74cb05df264ee8262da16b56717ef1f05d73bfdcea3adc85e5"},{"signature":"leverage(address,address,address,bytes,address,bytes,address,address,uint256)","signatureHash4":"0xd8b273f6","signatureHash32":"0xd8b273f6e793d1f987363312d6892e26c8e15a23b8c6627e2d18d8d10afe798e"},{"signature":"onBoxFlash(address,uint256,bytes)","signatureHash4":"0x2a775112","signatureHash32":"0x2a77511217e675c2e5bbd1a9178781bae8340dc1c45da681032a7d7f0c9dbc8c"},{"signature":"onMorphoFlashLoan(uint256,bytes)","signatureHash4":"0x31f57072","signatureHash32":"0x31f57072bbb6f513eaac4abe0765b95d4f582dd1491de906130601a2bf1b3ccf"},{"signature":"OPERATOR_ROLE()","signatureHash4":"0xf5b541a6","signatureHash32":"0xf5b541a666f83decfedf7eae304948070ddffd671629a935a19ad2772493494c"},{"signature":"pledgeBox(address,address,bytes,address,uint256)","signatureHash4":"0xe6b26a4a","signatureHash32":"0xe6b26a4ad59c84df9df20465d008a66cd6aeb98775fefbafb863f6e190955d93"},{"signature":"proxiableUUID()","signatureHash4":"0x52d1902d","signatureHash32":"0x52d1902ddf94a87b87c42e6ab3aff7da3c30beb57dc65dd86cb2543522a55a4c"},{"signature":"reallocateBox(address,address,address,uint256,address,bytes,uint256)","signatureHash4":"0xbc8e939f","signatureHash32":"0xbc8e939fdd57d957d73a54f4995430e117735eacf2bc4b2c99cf44e6bd3fb9bc"},{"signature":"reallocateVault(address,address,bytes,address,bytes,uint256)","signatureHash4":"0xd3fc5649","signatureHash32":"0xd3fc56496f1ca8a292abdb53cb7493f32357f209848ac05f5037511e2e294ed1"},{"signature":"refinance(address,address,address,bytes,address,bytes,address,uint256,address,uint256)","signatureHash4":"0x2c8c4f53","signatureHash32":"0x2c8c4f5348f58cdbfd66f25b60a0204ef1194b15bdfcbd79031e2abe14acaf37"},{"signature":"refinanceSwapCollateral(address,address,address,bytes,address,bytes,address,uint256,address,address,uint256,address,bytes)","signatureHash4":"0x00b9a3f6","signatureHash32":"0x00b9a3f6be1f3501b99b09f405d3706a7dd76c229f1697af54f0d933ddeaf44c"},{"signature":"refinanceSwapLoan(address,address,address,bytes,address,bytes,address,uint256,address,uint256,address,uint256,address,bytes)","signatureHash4":"0xc57e91d7","signatureHash32":"0xc57e91d7f03b7b1d82d219448f459afc7ff6d77b581a2bfb2ef1456e68e32b5f"},{"signature":"reinvestSkimAdapter(address,address,address,address,bytes,uint256)","signatureHash4":"0x539d7b15","signatureHash32":"0x539d7b159abf76d939744be7207ff074e3582661c6f88a11881a76696f94f0ad"},{"signature":"renounceRole(bytes32,address)","signatureHash4":"0x36568abe","signatureHash32":"0x36568abe2c7e6c1d662bad0fe1760ac72cf2f9478a86be824d68ec83895c49e9"},{"signature":"repayBox(address,address,bytes,address,uint256)","signatureHash4":"0x3ea09e2e","signatureHash32":"0x3ea09e2e0aae405717fcaa538d39d32c098dc58d505cebe7ee2611bbc998be0c"},{"signature":"revokeRole(bytes32,address)","signatureHash4":"0xd547741f","signatureHash32":"0xd547741fd8d55981251e167708119763c372f2b41e85a1468b0a759b055a009f"},{"signature":"setOperatorRole(address,bool)","signatureHash4":"0x93512617","signatureHash32":"0x93512617aa0e2338c58f55abfb50042c6db5ad202a313df4e07ab0c604ec97cb"},{"signature":"skimmableBalance(address,address)","signatureHash4":"0x80289269","signatureHash32":"0x8028926962098b0e7d334df92a5bc67066044c4cb5ee43f697846da54bb9a747"},{"signature":"supportsInterface(bytes4)","signatureHash4":"0x01ffc9a7","signatureHash32":"0x01ffc9a7a5cef8baa21ed3c5c0d7e23accb804b619e9333b597f47a0d84076e2"},{"signature":"UPGRADE_INTERFACE_VERSION()","signatureHash4":"0xad3cb1cc","signatureHash32":"0xad3cb1cc5c2df3b903ea43f30f77a80ecfeefbed7932a4a8e68c92af99e41dfd"},{"signature":"upgradeToAndCall(address,bytes)","signatureHash4":"0x4f1ef286","signatureHash32":"0x4f1ef2866b98625bdfefae89411f7a82754ac4089eff8e78c8832329a538337f"}],"event":[{"signature":"Initialized(uint64)","signatureHash4":"0xc7f505b2","signatureHash32":"0xc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2"},{"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":"Upgraded(address)","signatureHash4":"0xbc7cd75a","signatureHash32":"0xbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b"}],"error":[{"signature":"AccessControlBadConfirmation()","signatureHash4":"0x6697b232","signatureHash32":"0x6697b23232a647058342c0724fe7c415cab25915b54e5dbc03f233173d37b41c"},{"signature":"AccessControlUnauthorizedAccount(address,bytes32)","signatureHash4":"0xe2517d3f","signatureHash32":"0xe2517d3fbfae6f8515ef5ff1ccedc3933ab0cbbda0b492c06eb54ad10ef03b3e"},{"signature":"AddressEmptyCode(address)","signatureHash4":"0x9996b315","signatureHash32":"0x9996b315c842ff135b8fc4a08ad5df1c344efbc03d2687aecc0678050d2aac89"},{"signature":"AddressInsufficientBalance(address)","signatureHash4":"0xcd786059","signatureHash32":"0xcd7860599b9fd41bcf04bec8b7a59cb8b83ebbb59480bead3f13259df2ace421"},{"signature":"ERC1967InvalidImplementation(address)","signatureHash4":"0x4c9c8ce3","signatureHash32":"0x4c9c8ce3ceb3130f17f7cdba48d89b5b0129f266a8bac114e6e315a41879b617"},{"signature":"ERC1967NonPayable()","signatureHash4":"0xb398979f","signatureHash32":"0xb398979fa84f543c8e222f17890372c487baf85e062276c127fef521eea7224b"},{"signature":"FailedInnerCall()","signatureHash4":"0x1425ea42","signatureHash32":"0x1425ea42df7c932537f94e8b917ea9c5931f140fb6e8098822ef05dc56222ca9"},{"signature":"InvalidInitialization()","signatureHash4":"0xf92ee8a9","signatureHash32":"0xf92ee8a957075833165f68c320933b1a1294aafc84ee6e0dd3fb178008f9aaf5"},{"signature":"NotInitializing()","signatureHash4":"0xd7e6bcf8","signatureHash32":"0xd7e6bcf8597daa127dc9f0048d2f08d5ef140a2cb659feabd700beff1f7a8302"},{"signature":"OnlyBox()","signatureHash4":"0xe4705dc7","signatureHash32":"0xe4705dc71eccab118cff5e6a69f7026d436ead5d5b0b1cdd8ed2c50480dd7ac3"},{"signature":"OnlyMorpho()","signatureHash4":"0x7e5f4b61","signatureHash32":"0x7e5f4b617efc1490d18575ad4b7a8e625610fd14782ee95653293563823db403"},{"signature":"SafeERC20FailedOperation(address)","signatureHash4":"0x5274afe7","signatureHash32":"0x5274afe73c98b4749fc91ffae6b7b574e7842cb2144a159e9377a5f20b32edf9"},{"signature":"UUPSUnauthorizedCallContext()","signatureHash4":"0xe07c8dba","signatureHash32":"0xe07c8dba242a06571ac65fe4bbe20522c9fb111cb33599b799ff8039c1ed18f4"},{"signature":"UUPSUnsupportedProxiableUUID(bytes32)","signatureHash4":"0xaa1d49a4","signatureHash32":"0xaa1d49a4c084bfa9aeeee2a0be65267a7f19ba7e1476b114dac513d2c14cb563"}]},"proxyResolution":{"isProxy":false,"proxyType":null,"implementations":[]},"match":"exact_match","chainId":"8453","address":"0xC5A845985BdF088F44E3dDF2bd1a79b08dBe9611"}