{"matchId":"39713290","creationMatch":"match","runtimeMatch":"match","verifiedAt":"2026-07-06T21:49:44Z","creationBytecode":{"onchainBytecode":"0x610160806040523461066957613c80803803809161001d8285610680565b833981019060e08183031261066957610035816106a3565b60208201519092906001600160401b0381116106695782019061012082820312610669576040519161012083016001600160401b0381118482101761056c57604052610080816106a3565b835260208101516001600160401b03811161066957826100a19183016106b7565b60208401908152604082015190926001600160401b038211610669576100c89183016106b7565b90604084019182526060810151906003821015610669576060850191825260808101516080860190815260a082015160a0870190815260c08301519160c0880192835260e08401519384151585036106695760e08901948552610100015194610100890195865260408a0161013c906106a3565b9661014960608c016106a3565b9861015660808d016106a3565b9a61016360a08e016106a3565b9c60c001610170906106a3565b8151909e906001600160a01b0316801561066d575f80546001600160a01b03198116831782556001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09080a381516001600160a01b031615610669576001600160a01b03168015610669576113888a5110156106695760805251600280546001600160a01b0319166001600160a01b0392909216919091179055518051906001600160401b03821161056c5760035490600182811c9216801561065f575b602083101461054e5781601f8493116105f1575b50602090601f831160011461058b575f92610580575b50508160011b915f199060031b1c1916176003555b518051906001600160401b03821161056c5760045490600182811c92168015610562575b602083101461054e5781601f8493116104e0575b50602090601f831160011461047a575f9261046f575b50508160011b915f199060031b1c1916176004555b51600381101561045b5760ff80196005541691161760055551600655516007555160085551151560ff80196009541691161760095551600a5560405160208101906040825260046060820152637468697360e01b60808201523060408201526080815261034660a082610680565b51902060a052600180546001600160a01b0319166d1ff3684f28c67538d4d072c227341790556001600160a01b0390811660c0529081166101005290811660e052908116610120521661014052604051613573908161070d82396080518181816108a9015281816110f7015281816116d501528181611c7001528181611ee1015281816127960152612fc3015260a05181818161161101528181612755015261287d015260c051818181610dae0152818161181f01528181611f5b015261294e015260e051818181611049015281816117d70152611fd0015261010051818181610b2701528181610e5e01526128ff0152610120518181816115b70152612f020152610140518181816101f40152612e370152f35b634e487b7160e01b5f52602160045260245ffd5b015190505f806102c3565b60045f9081528281209350601f198516905b8181106104c857509084600195949392106104b0575b505050811b016004556102d8565b01515f1960f88460031b161c191690555f80806104a2565b9293602060018192878601518155019501930161048c565b60045f529091507f8a35acfbc15ff81a39ae7d344fd709f28e8600b4aa8c65c6b64bfe7fe36bd19b601f840160051c81019160208510610544575b90601f859493920160051c01905b81811061053657506102ad565b5f8155849350600101610529565b909150819061051b565b634e487b7160e01b5f52602260045260245ffd5b91607f1691610299565b634e487b7160e01b5f52604160045260245ffd5b015190505f80610260565b60035f9081528281209350601f198516905b8181106105d957509084600195949392106105c1575b505050811b01600355610275565b01515f1960f88460031b161c191690555f80806105b3565b9293602060018192878601518155019501930161059d565b60035f529091507fc2575a0e9e593c00f959f8c92f12db2869c3395a3b0502d05e2516446f71f85b601f840160051c81019160208510610655575b90601f859493920160051c01905b818110610647575061024a565b5f815584935060010161063a565b909150819061062c565b91607f1691610236565b5f80fd5b631e4fbdf760e01b5f525f60045260245ffd5b601f909101601f19168101906001600160401b0382119082101761056c57604052565b51906001600160a01b038216820361066957565b81601f82011215610669578051906001600160401b03821161056c57604051926106eb601f8401601f191660200185610680565b8284526020838301011161066957815f9260208093018386015e830101529056fe6080806040526004361015610012575f80fd5b5f905f3560e01c908163118866851461226a57508063179319011461222a5780631eadd77814611eb55780633c12f9ea14611e085780633e859eec14611d6f5780633f53066b14611c9457806347e7a97d14611c255780634d51bf5f14611bea5780634e45f1ff146116a9578063554d578d1461166d57806356c07573146116345780635fb86b01146115db5780636bb65f531461156c5780636cab065914611530578063715018a61461149457806384ab57ab1461140c57806384f22721146110a95780638511fc931461106d5780638598f9c314610ffe57806388a17bde14610fc55780638da5cb5b14610f745780639213bda714610edb578063a05716f414610e82578063a0c1f15e14610e13578063ada1469814610dd2578063aecd577a14610d63578063b476bde414610cd1578063bc08e9bd14610c03578063cea9d26f146107fa578063cff0ab9614610506578063e5f21f7d14610458578063e6a69ab81461041b578063e7657e15146103c9578063ec31eb5814610309578063f2fde38b1461021b5763f7c618c1146101aa575f80fd5b3461021857807ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261021857602060405173ffffffffffffffffffffffffffffffffffffffff7f0000000000000000000000000000000000000000000000000000000000000000168152f35b80fd5b50346102185760207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc3601126102185773ffffffffffffffffffffffffffffffffffffffff6102686123d0565b6102706129ad565b1680156102dd5773ffffffffffffffffffffffffffffffffffffffff8254827fffffffffffffffffffffffff00000000000000000000000000000000000000008216178455167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e08380a380f35b6024827f1e4fbdf700000000000000000000000000000000000000000000000000000000815280600452fd5b50346102185760207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc3601126102185760043590811561039857600a5490818302918383040361036b5760206103636127108404856126ff565b604051908152f35b807f4e487b7100000000000000000000000000000000000000000000000000000000602492526011600452fd5b807f7c83fcf00000000000000000000000000000000000000000000000000000000060449252600160045280602452fd5b503461021857807ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261021857610417610403612862565b6040519182916020835260208301906124b4565b0390f35b503461021857807ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc3601126102185760206040516301e133808152f35b50346102185760207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc3601126102185760043560038110156105025761049c6129ad565b6104a581612546565b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff006005541660ff8216176005556104db81612546565b7f27630923f8c523d6150196f959d8848e1c38769db10bd099c29cf1e542387bc48280a280f35b5080fd5b503461021857807ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc3601126102185773ffffffffffffffffffffffffffffffffffffffff600254166040519180600354908160011c916001811680156107f0575b6020841081146107c35783875286929181156107865750600114610728575b61059292500384612301565b6040519080600454918260011c9260018116801561071e575b6020851081146106f1578486528593929181156106b15750600114610652575b506105d892500382612301565b60ff60055416906006546007546008549060ff6009541692610623600a54956106156040519a8b9a8b5261012060208c01526101208b0190612503565b9089820360408b0152612503565b9561062d81612546565b6060880152608087015260a086015260c0850152151560e08401526101008301520390f35b60048152919290507f8a35acfbc15ff81a39ae7d344fd709f28e8600b4aa8c65c6b64bfe7fe36bd19b5b8183106106955750509060206105d8928201015f6105cb565b602091935080600191548385880101520191019091839261067c565b602093506105d89592507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0091501682840152151560051b8201015f6105cb565b6024837f4e487b710000000000000000000000000000000000000000000000000000000081526022600452fd5b93607f16936105ab565b50600383529082907fc2575a0e9e593c00f959f8c92f12db2869c3395a3b0502d05e2516446f71f85b5b81831061076a57505090602061059292820101610586565b6020919350806001915483858a01015201910190918592610752565b602092506105929491507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001682840152151560051b820101610586565b6024857f4e487b710000000000000000000000000000000000000000000000000000000081526022600452fd5b92607f1692610567565b50346102185760607ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc360112610218576108326123d0565b61083a6123f3565b90604435916108476129ad565b73ffffffffffffffffffffffffffffffffffffffff8116928315610ba557604051927f38d52e0f00000000000000000000000000000000000000000000000000000000845260208460048173ffffffffffffffffffffffffffffffffffffffff7f0000000000000000000000000000000000000000000000000000000000000000165afa938415610aa6578694610b4e575b5073ffffffffffffffffffffffffffffffffffffffff809116931683148015610b0f575b610ab1576040517f70a08231000000000000000000000000000000000000000000000000000000008152306004820152602081602481875afa908115610aa6578691610a70575b508111610a12576040517fa9059cbb00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff9290921660048301526024820181905260208260448188875af1908115610a07577f77023e19c7343ad491fd706c36335ca0e738340a91f29b1fd81e2673d44896c4926020926109dc575b50604051908152a380f35b6109fb90833d8511610a00575b6109f38183612301565b8101906127f8565b6109d1565b503d6109e9565b6040513d87823e3d90fd5b60646040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601460248201527f496e73756666696369656e742062616c616e63650000000000000000000000006044820152fd5b90506020813d602011610a9e575b81610a8b60209383612301565b81010312610a9a57515f610944565b5f80fd5b3d9150610a7e565b6040513d88823e3d90fd5b60646040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600f60248201527f50726f74656374656420746f6b656e00000000000000000000000000000000006044820152fd5b5073ffffffffffffffffffffffffffffffffffffffff7f00000000000000000000000000000000000000000000000000000000000000001683146108fd565b9093506020813d602011610b9d575b81610b6a60209383612301565b81010312610b995773ffffffffffffffffffffffffffffffffffffffff610b91819261270c565b9491506108d9565b8580fd5b3d9150610b5d565b60646040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601160248201527f496e76616c696420726563697069656e740000000000000000000000000000006044820152fd5b50346102185760207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261021857600435610c3e6129ad565b61270f811015610c735780600a557fc67ba9890ea7d6f3d208ac2d463c5846edd57c3b3f13d044d18d668585095d178280a280f35b60646040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601160248201527f536c69707061676520746f6f20686967680000000000000000000000000000006044820152fd5b503461021857807ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc3601126102185761041760405160406020820152600460608201527f7468697300000000000000000000000000000000000000000000000000000000608082015230604082015260808152610d4f60a082612301565b604051918291602083526020830190612503565b503461021857807ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261021857602060405173ffffffffffffffffffffffffffffffffffffffff7f0000000000000000000000000000000000000000000000000000000000000000168152f35b503461021857807ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261021857602060ff600b54166040519015158152f35b503461021857807ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261021857602060405173ffffffffffffffffffffffffffffffffffffffff7f0000000000000000000000000000000000000000000000000000000000000000168152f35b503461021857807ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc3601126102185760206040517fe4d38cd8000000000000000000000000000000000000000000000000000000008152f35b50346102185760207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc3601126102185760043580151580910361050257610f206129ad565b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00600b541660ff821617600b557f68c3b30f53252b4a7ebb8cbe118f644313c1c59953a3eb90ba5f43a42d242ae18280a280f35b503461021857807ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc3601126102185773ffffffffffffffffffffffffffffffffffffffff6020915416604051908152f35b503461021857807ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261021857602061036361272d565b503461021857807ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261021857602060405173ffffffffffffffffffffffffffffffffffffffff7f0000000000000000000000000000000000000000000000000000000000000000168152f35b503461021857807ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc360112610218576020600854604051908152f35b503461021857807ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc360112610218576110e06129ad565b73ffffffffffffffffffffffffffffffffffffffff7f000000000000000000000000000000000000000000000000000000000000000016906040517f38d52e0f000000000000000000000000000000000000000000000000000000008152602081600481865afa9081156113af5782916113ba575b50602073ffffffffffffffffffffffffffffffffffffffff916024604051809481937f70a08231000000000000000000000000000000000000000000000000000000008352306004840152165afa9081156113af57829161137d575b50604051927f38d52e0f000000000000000000000000000000000000000000000000000000008452602084600481845afa93841561137257839461132f575b506040517fa9059cbb000000000000000000000000000000000000000000000000000000006020820190815273ffffffffffffffffffffffffffffffffffffffff9092166024820152604481018390528391829161127981606481015b037fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08101835282612301565b519082875af1926112886129f9565b84158015611301575b6112c55760208484807f8cc6a31cfb84df51d57b901b62a4accd2a9a6ed88b96f4c05bbbb7fee2af1afe6040519380a28152f35b906112fd85926040519384937fe7e40b5b00000000000000000000000000000000000000000000000000000000855260048501613392565b0390fd5b5080518015159081611314575b50611291565b6113289150602090830101602083016127f8565b155f61130e565b9093506020813d60201161136a575b8161134b60209383612301565b81010312611366578261135e819261270c565b9491506111f0565b8280fd5b3d915061133e565b6040513d85823e3d90fd5b90506020813d6020116113a7575b8161139860209383612301565b81010312610a9a57515f6111b1565b3d915061138b565b6040513d84823e3d90fd5b90506020813d602011611404575b816113d560209383612301565b810103126105025760206113fd73ffffffffffffffffffffffffffffffffffffffff9261270c565b9150611155565b3d91506113c8565b50346102185760207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc3601126102185773ffffffffffffffffffffffffffffffffffffffff6114596123d0565b6114616129ad565b168015610502577fffffffffffffffffffffffff0000000000000000000000000000000000000000600154161760015580f35b503461021857807ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc360112610218576114cb6129ad565b8073ffffffffffffffffffffffffffffffffffffffff81547fffffffffffffffffffffffff000000000000000000000000000000000000000081168355167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e08280a380f35b503461021857807ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc360112610218576020600754604051908152f35b503461021857807ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261021857602060405173ffffffffffffffffffffffffffffffffffffffff7f0000000000000000000000000000000000000000000000000000000000000000168152f35b503461021857807ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc3601126102185760206040517f00000000000000000000000000000000000000000000000000000000000000008152f35b503461021857807ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc3601126102185760206103636128b6565b503461021857807ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc360112610218576020600654604051908152f35b5034610218576116b836612416565b5090916116fc73ffffffffffffffffffffffffffffffffffffffff7f000000000000000000000000000000000000000000000000000000000000000016331461257d565b8215611bb95780602080611715935183010191016125e2565b907fe4d38cd8000000000000000000000000000000000000000000000000000000007fffffffff0000000000000000000000000000000000000000000000000000000083519261176484612546565b16149081611b98575b50611b705761177a61272d565b90805161178681612546565b61178f81612546565b611ac657506040517f026b1d5f00000000000000000000000000000000000000000000000000000000815260208160048173ffffffffffffffffffffffffffffffffffffffff7f0000000000000000000000000000000000000000000000000000000000000000165afa908115611abb578491611a7d575b5073ffffffffffffffffffffffffffffffffffffffff7f0000000000000000000000000000000000000000000000000000000000000000168361184a3083613487565b91868293838110611924575b505061186592935033906133c6565b9261186e6128b6565b8381106118c6576118b693611882916126ff565b937f61b0387ff9ecd027c4a1ba73e93a9fda499c31b71426acc80e90260fcea9215f309280a36118b0612862565b926126ba565b90610417604051928392836124e7565b60646040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601760248201527f696e636f6e73697374656e7420746f74616c56616c75650000000000000000006044820152fd5b90926119319294506126ff565b602073ffffffffffffffffffffffffffffffffffffffff60646119543087613487565b9660405195869384927f69328dec000000000000000000000000000000000000000000000000000000008452896004850152876024850152306044850152165af1918215611a72578792611a3e575b5081936119b03085613487565b92828110611a0e57506119c382826128a9565b83106119d55750508291868692611856565b916119e388926044946128a9565b7fcf479181000000000000000000000000000000000000000000000000000000008352600452602452fd5b88604491847f7c83fcf0000000000000000000000000000000000000000000000000000000008352600452602452fd5b9091506020813d602011611a6a575b81611a5a60209383612301565b81010312610a9a5751905f6119a3565b3d9150611a4d565b6040513d89823e3d90fd5b90506020813d602011611ab3575b81611a9860209383612301565b81010312611aaf57611aa99061270c565b5f611807565b8380fd5b3d9150611a8b565b6040513d86823e3d90fd5b8381600160049351611ad781612546565b611ae081612546565b03611b0b57507fd0df97cc000000000000000000000000000000000000000000000000000000008152fd5b60029051611b1881612546565b611b2181612546565b03611b4b577fd0df97cc000000000000000000000000000000000000000000000000000000008152fd5b7fd0df97cc000000000000000000000000000000000000000000000000000000008152fd5b6004837f564500f8000000000000000000000000000000000000000000000000000000008152fd5b9050611ba381612546565b15801590611bb2575b5f61176d565b5082611bac565b6044847f7c83fcf0000000000000000000000000000000000000000000000000000000008152600160045280602452fd5b50346102185760207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc360112610218576020906103636129ad565b503461021857807ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261021857602060405173ffffffffffffffffffffffffffffffffffffffff7f0000000000000000000000000000000000000000000000000000000000000000168152f35b50346102185760607ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261021857611ccc6123d0565b906024359067ffffffffffffffff82116102185750611cef9036906004016123b2565b611cf76129ad565b60ff600b5416611d11576020916103639160443591612dbe565b60646040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600960248201527f656d657267656e637900000000000000000000000000000000000000000000006044820152fd5b50346102185760207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc3601126102185760043580151580910361050257611db46129ad565b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff006009541660ff8216176009557fdbf0df65d86a051acc8692d340075569c05e0370232c91318c82a5783937ad3d8280a280f35b50346102185760a07ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261021857611e406123d0565b90611e496123f3565b906084359067ffffffffffffffff821161021857366023830112156102185781600401359067ffffffffffffffff82116102185736602483850101116102185760206103638686611ea78787611e9d6129ad565b602436920161237c565b916064359160443591612a28565b5034610a9a57611ec436612416565b505090611f0873ffffffffffffffffffffffffffffffffffffffff7f000000000000000000000000000000000000000000000000000000000000000016331461257d565b60ff600b54166121fe5781156121cd5780602080611f2b935183010191016125e2565b8051611f3681612546565b611f3f81612546565b612162575073ffffffffffffffffffffffffffffffffffffffff7f000000000000000000000000000000000000000000000000000000000000000016611f853082613487565b82811061213357506040517f026b1d5f00000000000000000000000000000000000000000000000000000000815260208160048173ffffffffffffffffffffffffffffffffffffffff7f0000000000000000000000000000000000000000000000000000000000000000165afa80156120db575f906120e6575b73ffffffffffffffffffffffffffffffffffffffff915016906120238383836133c6565b813b15610a9a575f916084839260405194859384927f617ba03700000000000000000000000000000000000000000000000000000000845260048401528760248401523060448401528160648401525af180156120db576120c4575b506118b6909161208d61272d565b906120966128b6565b937fa4785e244c5b065bbf149ba5b5ffb8922e35f0ed3201e69bc4da313d1a9c8842309280a36118b0612862565b6120d19192505f90612301565b5f906118b661207f565b6040513d5f823e3d90fd5b506020813d60201161212b575b8161210060209383612301565b81010312610a9a5761212673ffffffffffffffffffffffffffffffffffffffff9161270c565b611fff565b3d91506120f3565b827fcf479181000000000000000000000000000000000000000000000000000000005f5260045260245260445ffd5b6001905161216f81612546565b61217881612546565b036121a5577fd0df97cc000000000000000000000000000000000000000000000000000000005f5260045ffd5b7fd0df97cc000000000000000000000000000000000000000000000000000000005f5260045ffd5b7f7c83fcf0000000000000000000000000000000000000000000000000000000005f5260016004525f60245260445ffd5b7f454a60b8000000000000000000000000000000000000000000000000000000005f523060045260245ffd5b34610a9a575f7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc360112610a9a576020604051670de0b6b3a76400008152f35b34610a9a575f7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc360112610a9a5760209073ffffffffffffffffffffffffffffffffffffffff600154168152f35b6040810190811067ffffffffffffffff8211176122d457604052565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52604160045260245ffd5b90601f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0910116810190811067ffffffffffffffff8211176122d457604052565b67ffffffffffffffff81116122d457601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe01660200190565b92919261238882612342565b916123966040519384612301565b829481845281830111610a9a578281602093845f960137010152565b9080601f83011215610a9a578160206123cd9335910161237c565b90565b6004359073ffffffffffffffffffffffffffffffffffffffff82168203610a9a57565b6024359073ffffffffffffffffffffffffffffffffffffffff82168203610a9a57565b60807ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc820112610a9a576004359067ffffffffffffffff8211610a9a5761245f916004016123b2565b90602435906044357fffffffff0000000000000000000000000000000000000000000000000000000081168103610a9a579060643573ffffffffffffffffffffffffffffffffffffffff81168103610a9a5790565b90602080835192838152019201905f5b8181106124d15750505090565b82518452602093840193909201916001016124c4565b9291906124fe6020916040865260408601906124b4565b930152565b907fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f602080948051918291828752018686015e5f8582860101520116010190565b6003111561255057565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52602160045260245ffd5b1561258457565b60646040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600260248201527f50440000000000000000000000000000000000000000000000000000000000006044820152fd5b602081830312610a9a5780519067ffffffffffffffff8211610a9a570190604082820312610a9a5760405191612617836122b8565b80516003811015610a9a57835260208101519067ffffffffffffffff8211610a9a570190604082820312610a9a5760405191612652836122b8565b805167ffffffffffffffff8111610a9a5781019180601f84011215610a9a57825161267c81612342565b9161268a6040519384612301565b81835260208286010111610a9a576020815f92828097018386015e83010152835201516020820152602082015290565b81810392915f1380158285131691841216176126d257565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601160045260245ffd5b919082039182116126d257565b519073ffffffffffffffffffffffffffffffffffffffff82168203610a9a57565b6040517fc69507dd0000000000000000000000000000000000000000000000000000000081527f0000000000000000000000000000000000000000000000000000000000000000600482015260208160248173ffffffffffffffffffffffffffffffffffffffff7f0000000000000000000000000000000000000000000000000000000000000000165afa9081156120db575f916127c9575090565b90506020813d6020116127f0575b816127e460209383612301565b81010312610a9a575190565b3d91506127d7565b90816020910312610a9a57518015158103610a9a5790565b67ffffffffffffffff81116122d45760051b60200190565b8051156128355760200190565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52603260045260245ffd5b604051612870604082612301565b60018152602036818301377f00000000000000000000000000000000000000000000000000000000000000006128a582612828565b5290565b919082018092116126d257565b6040517f70a0823100000000000000000000000000000000000000000000000000000000815230600482015260208160248173ffffffffffffffffffffffffffffffffffffffff7f0000000000000000000000000000000000000000000000000000000000000000165afa80156120db575f90612979575b6123cd91506129733073ffffffffffffffffffffffffffffffffffffffff7f000000000000000000000000000000000000000000000000000000000000000016613487565b906128a9565b506020813d6020116129a5575b8161299360209383612301565b81010312610a9a576123cd905161292e565b3d9150612986565b73ffffffffffffffffffffffffffffffffffffffff5f541633036129cd57565b7f118cdaa7000000000000000000000000000000000000000000000000000000005f523360045260245ffd5b3d15612a23573d90612a0a82612342565b91612a186040519384612301565b82523d5f602084013e565b606090565b6001546040517f095ea7b3000000000000000000000000000000000000000000000000000000006020820190815273ffffffffffffffffffffffffffffffffffffffff90921660248201526044810194909452939493919290915f91829190612a94816064810161124d565b519082865af1612aa26129f9565b81158015612d90575b612d5957505073ffffffffffffffffffffffffffffffffffffffff1690604051927f70a08231000000000000000000000000000000000000000000000000000000008452306004850152602084602481865afa9384156120db575f94612d25575b505f809173ffffffffffffffffffffffffffffffffffffffff6001541682602083519301915af1612b3b6129f9565b5015612ce1575f8073ffffffffffffffffffffffffffffffffffffffff6001541660405160208101917f095ea7b3000000000000000000000000000000000000000000000000000000008352602482015282604482015260448152612ba1606482612301565b519082855af190612bb06129f9565b82158015612cb3575b612c7d57505050906020602492604051938480927f70a082310000000000000000000000000000000000000000000000000000000082523060048301525afa80156120db575f90612c49575b612c0f92506126ff565b90808210612c1b575090565b7f7c83fcf0000000000000000000000000000000000000000000000000000000005f5260045260245260445ffd5b506020823d602011612c75575b81612c6360209383612301565b81010312610a9a57612c0f9151612c05565b3d9150612c56565b6112fd906040519384937fe7e40b5b00000000000000000000000000000000000000000000000000000000855260048501613392565b5080518015159081612cc6575b50612bb9565b612cda9150602090830101602083016127f8565b155f612cc0565b73ffffffffffffffffffffffffffffffffffffffff600154167f7a1cd8fa000000000000000000000000000000000000000000000000000000005f5260045260245ffd5b9093506020813d602011612d51575b81612d4160209383612301565b81010312610a9a5751925f612b0c565b3d9150612d34565b6112fd84916040519384937fe7e40b5b00000000000000000000000000000000000000000000000000000000855260048501613392565b5080518015159081612da3575b50612aab565b612db79150602090830101602083016127f8565b155f612d9d565b91604091825193612dcf8486612301565b6001855260208501907fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0850136833773ffffffffffffffffffffffffffffffffffffffff612e1c87612828565b9116905273ffffffffffffffffffffffffffffffffffffffff7f000000000000000000000000000000000000000000000000000000000000000016948451917f70a082310000000000000000000000000000000000000000000000000000000083523060048401526020836024818a5afa9283156131e0575f9361335e575b5085517fbf90f63a00000000000000000000000000000000000000000000000000000000815260206004820152915160248301819052829160448301915f5b81811061332f5750505090805f9203818373ffffffffffffffffffffffffffffffffffffffff7f0000000000000000000000000000000000000000000000000000000000000000165af1801561322757613231575b508351907f70a08231000000000000000000000000000000000000000000000000000000008252306004830152602082602481895afa8015613227575f906131f3575b612f7c92506126ff565b9182156131ea5783519280867ffc30cddea38e2bf4d6ea7d3f9ed3b6ad7f176419f4963bd81318067a4aee73fe5f80a373ffffffffffffffffffffffffffffffffffffffff7f000000000000000000000000000000000000000000000000000000000000000016957f38d52e0f0000000000000000000000000000000000000000000000000000000085526020856004818a5afa80156131e0575f906131a5575b6130279550612a28565b918151907f38d52e0f000000000000000000000000000000000000000000000000000000008252602082600481845afa91821561319b575f9261315c575b5082517fa9059cbb000000000000000000000000000000000000000000000000000000006020820190815273ffffffffffffffffffffffffffffffffffffffff9092166024820152604481018590525f9182916130c5816064810161124d565b519082855af1916130d46129f9565b90823b158015613154575b8015613126575b6130f1575050505090565b906112fd91519384937fe7e40b5b00000000000000000000000000000000000000000000000000000000855260048501613392565b5081518015159081613139575b506130e6565b61314d9150602090840101602084016127f8565b155f613133565b5083156130df565b9091506020813d602011613193575b8161317860209383612301565b81010312610a9a575f61318b819261270c565b929150613065565b3d915061316b565b83513d5f823e3d90fd5b506020853d6020116131d8575b816131bf60209383612301565b81010312610a9a576131d36130279561270c565b61301d565b3d91506131b2565b86513d5f823e3d90fd5b50505050505f90565b506020823d60201161321f575b8161320d60209383612301565b81010312610a9a57612f7c9151612f72565b3d9150613200565b85513d5f823e3d90fd5b3d805f833e6132408183612301565b8101908581830312610a9a57805167ffffffffffffffff8111610a9a57810182601f82011215610a9a57805160208061327883612810565b6132848b519182612301565b838152019160051b83010191848311610a9a57602001905b8282106133175750505060208101519067ffffffffffffffff8211610a9a570181601f82011215610a9a578051906020806132d684612810565b6132e28a519182612301565b848152019260051b820101928311610a9a57602001905b828210613307575050612f2f565b81518152602091820191016132f9565b602080916133248461270c565b81520191019061329c565b825173ffffffffffffffffffffffffffffffffffffffff16845285945060209384019390920191600101612eda565b9092506020813d60201161338a575b8161337a60209383612301565b81010312610a9a5751915f612e9b565b3d915061336d565b6123cd939273ffffffffffffffffffffffffffffffffffffffff606093168252151560208201528160408201520190612503565b6040517f095ea7b3000000000000000000000000000000000000000000000000000000006020820190815273ffffffffffffffffffffffffffffffffffffffff90931660248201526044810193909352915f918291613428816064810161124d565b519082855af1906134376129f9565b813b15801561347f575b8015613451575b612c7d57505050565b5080518015159081613464575b50613448565b6134789150602090830101602083016127f8565b155f61345e565b508215613441565b905f809160405173ffffffffffffffffffffffffffffffffffffffff60208201927f70a08231000000000000000000000000000000000000000000000000000000008452166024820152602481526134e0604482612301565b5190845afa6134ed6129f9565b91803b15801561355e575b8015613553575b61351d57505060208151918180820193849201010312610a9a575190565b6112fd836040519384937fe7e40b5b00000000000000000000000000000000000000000000000000000000855260048501613392565b5060208351106134ff565b5081156134f856fea164736f6c634300081c000a0000000000000000000000002f99e35ea811f3cc230b26dff817604b5d4b6e3800000000000000000000000000000000000000000000000000000000000000e00000000000000000000000001abaea1f7c830bd89acc67ec4af516284b1bc33c000000000000000000000000aa6e91c82942aeae040303bf96c15a6dbcb82ca00000000000000000000000002f39d218133afab8f2b819b1066c7e434ad94e9e0000000000000000000000008164cc65827dcfe994ab23944cbc90e0aa80bfcb000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20000000000000000000000006a85d9e2fec21f9c9452fc4022abf2a21a462851000000000000000000000000000000000000000000000000000000000000012000000000000000000000000000000000000000000000000000000000000001600000000000000000000000000000000000000000000000000000000000000000ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00000000000000000000000000000000000000000000000000000000000000c80000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000114161766520455552432041646170746572000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000c4161766520763320436f72650000000000000000000000000000000000000000","recompiledBytecode":"0x610160806040523461066957613c80803803809161001d8285610680565b833981019060e08183031261066957610035816106a3565b60208201519092906001600160401b0381116106695782019061012082820312610669576040519161012083016001600160401b0381118482101761056c57604052610080816106a3565b835260208101516001600160401b03811161066957826100a19183016106b7565b60208401908152604082015190926001600160401b038211610669576100c89183016106b7565b90604084019182526060810151906003821015610669576060850191825260808101516080860190815260a082015160a0870190815260c08301519160c0880192835260e08401519384151585036106695760e08901948552610100015194610100890195865260408a0161013c906106a3565b9661014960608c016106a3565b9861015660808d016106a3565b9a61016360a08e016106a3565b9c60c001610170906106a3565b8151909e906001600160a01b0316801561066d575f80546001600160a01b03198116831782556001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09080a381516001600160a01b031615610669576001600160a01b03168015610669576113888a5110156106695760805251600280546001600160a01b0319166001600160a01b0392909216919091179055518051906001600160401b03821161056c5760035490600182811c9216801561065f575b602083101461054e5781601f8493116105f1575b50602090601f831160011461058b575f92610580575b50508160011b915f199060031b1c1916176003555b518051906001600160401b03821161056c5760045490600182811c92168015610562575b602083101461054e5781601f8493116104e0575b50602090601f831160011461047a575f9261046f575b50508160011b915f199060031b1c1916176004555b51600381101561045b5760ff80196005541691161760055551600655516007555160085551151560ff80196009541691161760095551600a5560405160208101906040825260046060820152637468697360e01b60808201523060408201526080815261034660a082610680565b51902060a052600180546001600160a01b0319166d1ff3684f28c67538d4d072c227341790556001600160a01b0390811660c0529081166101005290811660e052908116610120521661014052604051613573908161070d82396080518181816108a9015281816110f7015281816116d501528181611c7001528181611ee1015281816127960152612fc3015260a05181818161161101528181612755015261287d015260c051818181610dae0152818161181f01528181611f5b015261294e015260e051818181611049015281816117d70152611fd0015261010051818181610b2701528181610e5e01526128ff0152610120518181816115b70152612f020152610140518181816101f40152612e370152f35b634e487b7160e01b5f52602160045260245ffd5b015190505f806102c3565b60045f9081528281209350601f198516905b8181106104c857509084600195949392106104b0575b505050811b016004556102d8565b01515f1960f88460031b161c191690555f80806104a2565b9293602060018192878601518155019501930161048c565b60045f529091507f8a35acfbc15ff81a39ae7d344fd709f28e8600b4aa8c65c6b64bfe7fe36bd19b601f840160051c81019160208510610544575b90601f859493920160051c01905b81811061053657506102ad565b5f8155849350600101610529565b909150819061051b565b634e487b7160e01b5f52602260045260245ffd5b91607f1691610299565b634e487b7160e01b5f52604160045260245ffd5b015190505f80610260565b60035f9081528281209350601f198516905b8181106105d957509084600195949392106105c1575b505050811b01600355610275565b01515f1960f88460031b161c191690555f80806105b3565b9293602060018192878601518155019501930161059d565b60035f529091507fc2575a0e9e593c00f959f8c92f12db2869c3395a3b0502d05e2516446f71f85b601f840160051c81019160208510610655575b90601f859493920160051c01905b818110610647575061024a565b5f815584935060010161063a565b909150819061062c565b91607f1691610236565b5f80fd5b631e4fbdf760e01b5f525f60045260245ffd5b601f909101601f19168101906001600160401b0382119082101761056c57604052565b51906001600160a01b038216820361066957565b81601f82011215610669578051906001600160401b03821161056c57604051926106eb601f8401601f191660200185610680565b8284526020838301011161066957815f9260208093018386015e830101529056fe6080806040526004361015610012575f80fd5b5f905f3560e01c908163118866851461226a57508063179319011461222a5780631eadd77814611eb55780633c12f9ea14611e085780633e859eec14611d6f5780633f53066b14611c9457806347e7a97d14611c255780634d51bf5f14611bea5780634e45f1ff146116a9578063554d578d1461166d57806356c07573146116345780635fb86b01146115db5780636bb65f531461156c5780636cab065914611530578063715018a61461149457806384ab57ab1461140c57806384f22721146110a95780638511fc931461106d5780638598f9c314610ffe57806388a17bde14610fc55780638da5cb5b14610f745780639213bda714610edb578063a05716f414610e82578063a0c1f15e14610e13578063ada1469814610dd2578063aecd577a14610d63578063b476bde414610cd1578063bc08e9bd14610c03578063cea9d26f146107fa578063cff0ab9614610506578063e5f21f7d14610458578063e6a69ab81461041b578063e7657e15146103c9578063ec31eb5814610309578063f2fde38b1461021b5763f7c618c1146101aa575f80fd5b3461021857807ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261021857602060405173ffffffffffffffffffffffffffffffffffffffff7f0000000000000000000000000000000000000000000000000000000000000000168152f35b80fd5b50346102185760207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc3601126102185773ffffffffffffffffffffffffffffffffffffffff6102686123d0565b6102706129ad565b1680156102dd5773ffffffffffffffffffffffffffffffffffffffff8254827fffffffffffffffffffffffff00000000000000000000000000000000000000008216178455167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e08380a380f35b6024827f1e4fbdf700000000000000000000000000000000000000000000000000000000815280600452fd5b50346102185760207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc3601126102185760043590811561039857600a5490818302918383040361036b5760206103636127108404856126ff565b604051908152f35b807f4e487b7100000000000000000000000000000000000000000000000000000000602492526011600452fd5b807f7c83fcf00000000000000000000000000000000000000000000000000000000060449252600160045280602452fd5b503461021857807ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261021857610417610403612862565b6040519182916020835260208301906124b4565b0390f35b503461021857807ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc3601126102185760206040516301e133808152f35b50346102185760207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc3601126102185760043560038110156105025761049c6129ad565b6104a581612546565b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff006005541660ff8216176005556104db81612546565b7f27630923f8c523d6150196f959d8848e1c38769db10bd099c29cf1e542387bc48280a280f35b5080fd5b503461021857807ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc3601126102185773ffffffffffffffffffffffffffffffffffffffff600254166040519180600354908160011c916001811680156107f0575b6020841081146107c35783875286929181156107865750600114610728575b61059292500384612301565b6040519080600454918260011c9260018116801561071e575b6020851081146106f1578486528593929181156106b15750600114610652575b506105d892500382612301565b60ff60055416906006546007546008549060ff6009541692610623600a54956106156040519a8b9a8b5261012060208c01526101208b0190612503565b9089820360408b0152612503565b9561062d81612546565b6060880152608087015260a086015260c0850152151560e08401526101008301520390f35b60048152919290507f8a35acfbc15ff81a39ae7d344fd709f28e8600b4aa8c65c6b64bfe7fe36bd19b5b8183106106955750509060206105d8928201015f6105cb565b602091935080600191548385880101520191019091839261067c565b602093506105d89592507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0091501682840152151560051b8201015f6105cb565b6024837f4e487b710000000000000000000000000000000000000000000000000000000081526022600452fd5b93607f16936105ab565b50600383529082907fc2575a0e9e593c00f959f8c92f12db2869c3395a3b0502d05e2516446f71f85b5b81831061076a57505090602061059292820101610586565b6020919350806001915483858a01015201910190918592610752565b602092506105929491507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001682840152151560051b820101610586565b6024857f4e487b710000000000000000000000000000000000000000000000000000000081526022600452fd5b92607f1692610567565b50346102185760607ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc360112610218576108326123d0565b61083a6123f3565b90604435916108476129ad565b73ffffffffffffffffffffffffffffffffffffffff8116928315610ba557604051927f38d52e0f00000000000000000000000000000000000000000000000000000000845260208460048173ffffffffffffffffffffffffffffffffffffffff7f0000000000000000000000000000000000000000000000000000000000000000165afa938415610aa6578694610b4e575b5073ffffffffffffffffffffffffffffffffffffffff809116931683148015610b0f575b610ab1576040517f70a08231000000000000000000000000000000000000000000000000000000008152306004820152602081602481875afa908115610aa6578691610a70575b508111610a12576040517fa9059cbb00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff9290921660048301526024820181905260208260448188875af1908115610a07577f77023e19c7343ad491fd706c36335ca0e738340a91f29b1fd81e2673d44896c4926020926109dc575b50604051908152a380f35b6109fb90833d8511610a00575b6109f38183612301565b8101906127f8565b6109d1565b503d6109e9565b6040513d87823e3d90fd5b60646040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601460248201527f496e73756666696369656e742062616c616e63650000000000000000000000006044820152fd5b90506020813d602011610a9e575b81610a8b60209383612301565b81010312610a9a57515f610944565b5f80fd5b3d9150610a7e565b6040513d88823e3d90fd5b60646040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600f60248201527f50726f74656374656420746f6b656e00000000000000000000000000000000006044820152fd5b5073ffffffffffffffffffffffffffffffffffffffff7f00000000000000000000000000000000000000000000000000000000000000001683146108fd565b9093506020813d602011610b9d575b81610b6a60209383612301565b81010312610b995773ffffffffffffffffffffffffffffffffffffffff610b91819261270c565b9491506108d9565b8580fd5b3d9150610b5d565b60646040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601160248201527f496e76616c696420726563697069656e740000000000000000000000000000006044820152fd5b50346102185760207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261021857600435610c3e6129ad565b61270f811015610c735780600a557fc67ba9890ea7d6f3d208ac2d463c5846edd57c3b3f13d044d18d668585095d178280a280f35b60646040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601160248201527f536c69707061676520746f6f20686967680000000000000000000000000000006044820152fd5b503461021857807ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc3601126102185761041760405160406020820152600460608201527f7468697300000000000000000000000000000000000000000000000000000000608082015230604082015260808152610d4f60a082612301565b604051918291602083526020830190612503565b503461021857807ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261021857602060405173ffffffffffffffffffffffffffffffffffffffff7f0000000000000000000000000000000000000000000000000000000000000000168152f35b503461021857807ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261021857602060ff600b54166040519015158152f35b503461021857807ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261021857602060405173ffffffffffffffffffffffffffffffffffffffff7f0000000000000000000000000000000000000000000000000000000000000000168152f35b503461021857807ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc3601126102185760206040517fe4d38cd8000000000000000000000000000000000000000000000000000000008152f35b50346102185760207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc3601126102185760043580151580910361050257610f206129ad565b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00600b541660ff821617600b557f68c3b30f53252b4a7ebb8cbe118f644313c1c59953a3eb90ba5f43a42d242ae18280a280f35b503461021857807ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc3601126102185773ffffffffffffffffffffffffffffffffffffffff6020915416604051908152f35b503461021857807ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261021857602061036361272d565b503461021857807ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261021857602060405173ffffffffffffffffffffffffffffffffffffffff7f0000000000000000000000000000000000000000000000000000000000000000168152f35b503461021857807ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc360112610218576020600854604051908152f35b503461021857807ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc360112610218576110e06129ad565b73ffffffffffffffffffffffffffffffffffffffff7f000000000000000000000000000000000000000000000000000000000000000016906040517f38d52e0f000000000000000000000000000000000000000000000000000000008152602081600481865afa9081156113af5782916113ba575b50602073ffffffffffffffffffffffffffffffffffffffff916024604051809481937f70a08231000000000000000000000000000000000000000000000000000000008352306004840152165afa9081156113af57829161137d575b50604051927f38d52e0f000000000000000000000000000000000000000000000000000000008452602084600481845afa93841561137257839461132f575b506040517fa9059cbb000000000000000000000000000000000000000000000000000000006020820190815273ffffffffffffffffffffffffffffffffffffffff9092166024820152604481018390528391829161127981606481015b037fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08101835282612301565b519082875af1926112886129f9565b84158015611301575b6112c55760208484807f8cc6a31cfb84df51d57b901b62a4accd2a9a6ed88b96f4c05bbbb7fee2af1afe6040519380a28152f35b906112fd85926040519384937fe7e40b5b00000000000000000000000000000000000000000000000000000000855260048501613392565b0390fd5b5080518015159081611314575b50611291565b6113289150602090830101602083016127f8565b155f61130e565b9093506020813d60201161136a575b8161134b60209383612301565b81010312611366578261135e819261270c565b9491506111f0565b8280fd5b3d915061133e565b6040513d85823e3d90fd5b90506020813d6020116113a7575b8161139860209383612301565b81010312610a9a57515f6111b1565b3d915061138b565b6040513d84823e3d90fd5b90506020813d602011611404575b816113d560209383612301565b810103126105025760206113fd73ffffffffffffffffffffffffffffffffffffffff9261270c565b9150611155565b3d91506113c8565b50346102185760207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc3601126102185773ffffffffffffffffffffffffffffffffffffffff6114596123d0565b6114616129ad565b168015610502577fffffffffffffffffffffffff0000000000000000000000000000000000000000600154161760015580f35b503461021857807ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc360112610218576114cb6129ad565b8073ffffffffffffffffffffffffffffffffffffffff81547fffffffffffffffffffffffff000000000000000000000000000000000000000081168355167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e08280a380f35b503461021857807ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc360112610218576020600754604051908152f35b503461021857807ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261021857602060405173ffffffffffffffffffffffffffffffffffffffff7f0000000000000000000000000000000000000000000000000000000000000000168152f35b503461021857807ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc3601126102185760206040517f00000000000000000000000000000000000000000000000000000000000000008152f35b503461021857807ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc3601126102185760206103636128b6565b503461021857807ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc360112610218576020600654604051908152f35b5034610218576116b836612416565b5090916116fc73ffffffffffffffffffffffffffffffffffffffff7f000000000000000000000000000000000000000000000000000000000000000016331461257d565b8215611bb95780602080611715935183010191016125e2565b907fe4d38cd8000000000000000000000000000000000000000000000000000000007fffffffff0000000000000000000000000000000000000000000000000000000083519261176484612546565b16149081611b98575b50611b705761177a61272d565b90805161178681612546565b61178f81612546565b611ac657506040517f026b1d5f00000000000000000000000000000000000000000000000000000000815260208160048173ffffffffffffffffffffffffffffffffffffffff7f0000000000000000000000000000000000000000000000000000000000000000165afa908115611abb578491611a7d575b5073ffffffffffffffffffffffffffffffffffffffff7f0000000000000000000000000000000000000000000000000000000000000000168361184a3083613487565b91868293838110611924575b505061186592935033906133c6565b9261186e6128b6565b8381106118c6576118b693611882916126ff565b937f61b0387ff9ecd027c4a1ba73e93a9fda499c31b71426acc80e90260fcea9215f309280a36118b0612862565b926126ba565b90610417604051928392836124e7565b60646040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601760248201527f696e636f6e73697374656e7420746f74616c56616c75650000000000000000006044820152fd5b90926119319294506126ff565b602073ffffffffffffffffffffffffffffffffffffffff60646119543087613487565b9660405195869384927f69328dec000000000000000000000000000000000000000000000000000000008452896004850152876024850152306044850152165af1918215611a72578792611a3e575b5081936119b03085613487565b92828110611a0e57506119c382826128a9565b83106119d55750508291868692611856565b916119e388926044946128a9565b7fcf479181000000000000000000000000000000000000000000000000000000008352600452602452fd5b88604491847f7c83fcf0000000000000000000000000000000000000000000000000000000008352600452602452fd5b9091506020813d602011611a6a575b81611a5a60209383612301565b81010312610a9a5751905f6119a3565b3d9150611a4d565b6040513d89823e3d90fd5b90506020813d602011611ab3575b81611a9860209383612301565b81010312611aaf57611aa99061270c565b5f611807565b8380fd5b3d9150611a8b565b6040513d86823e3d90fd5b8381600160049351611ad781612546565b611ae081612546565b03611b0b57507fd0df97cc000000000000000000000000000000000000000000000000000000008152fd5b60029051611b1881612546565b611b2181612546565b03611b4b577fd0df97cc000000000000000000000000000000000000000000000000000000008152fd5b7fd0df97cc000000000000000000000000000000000000000000000000000000008152fd5b6004837f564500f8000000000000000000000000000000000000000000000000000000008152fd5b9050611ba381612546565b15801590611bb2575b5f61176d565b5082611bac565b6044847f7c83fcf0000000000000000000000000000000000000000000000000000000008152600160045280602452fd5b50346102185760207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc360112610218576020906103636129ad565b503461021857807ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261021857602060405173ffffffffffffffffffffffffffffffffffffffff7f0000000000000000000000000000000000000000000000000000000000000000168152f35b50346102185760607ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261021857611ccc6123d0565b906024359067ffffffffffffffff82116102185750611cef9036906004016123b2565b611cf76129ad565b60ff600b5416611d11576020916103639160443591612dbe565b60646040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600960248201527f656d657267656e637900000000000000000000000000000000000000000000006044820152fd5b50346102185760207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc3601126102185760043580151580910361050257611db46129ad565b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff006009541660ff8216176009557fdbf0df65d86a051acc8692d340075569c05e0370232c91318c82a5783937ad3d8280a280f35b50346102185760a07ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261021857611e406123d0565b90611e496123f3565b906084359067ffffffffffffffff821161021857366023830112156102185781600401359067ffffffffffffffff82116102185736602483850101116102185760206103638686611ea78787611e9d6129ad565b602436920161237c565b916064359160443591612a28565b5034610a9a57611ec436612416565b505090611f0873ffffffffffffffffffffffffffffffffffffffff7f000000000000000000000000000000000000000000000000000000000000000016331461257d565b60ff600b54166121fe5781156121cd5780602080611f2b935183010191016125e2565b8051611f3681612546565b611f3f81612546565b612162575073ffffffffffffffffffffffffffffffffffffffff7f000000000000000000000000000000000000000000000000000000000000000016611f853082613487565b82811061213357506040517f026b1d5f00000000000000000000000000000000000000000000000000000000815260208160048173ffffffffffffffffffffffffffffffffffffffff7f0000000000000000000000000000000000000000000000000000000000000000165afa80156120db575f906120e6575b73ffffffffffffffffffffffffffffffffffffffff915016906120238383836133c6565b813b15610a9a575f916084839260405194859384927f617ba03700000000000000000000000000000000000000000000000000000000845260048401528760248401523060448401528160648401525af180156120db576120c4575b506118b6909161208d61272d565b906120966128b6565b937fa4785e244c5b065bbf149ba5b5ffb8922e35f0ed3201e69bc4da313d1a9c8842309280a36118b0612862565b6120d19192505f90612301565b5f906118b661207f565b6040513d5f823e3d90fd5b506020813d60201161212b575b8161210060209383612301565b81010312610a9a5761212673ffffffffffffffffffffffffffffffffffffffff9161270c565b611fff565b3d91506120f3565b827fcf479181000000000000000000000000000000000000000000000000000000005f5260045260245260445ffd5b6001905161216f81612546565b61217881612546565b036121a5577fd0df97cc000000000000000000000000000000000000000000000000000000005f5260045ffd5b7fd0df97cc000000000000000000000000000000000000000000000000000000005f5260045ffd5b7f7c83fcf0000000000000000000000000000000000000000000000000000000005f5260016004525f60245260445ffd5b7f454a60b8000000000000000000000000000000000000000000000000000000005f523060045260245ffd5b34610a9a575f7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc360112610a9a576020604051670de0b6b3a76400008152f35b34610a9a575f7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc360112610a9a5760209073ffffffffffffffffffffffffffffffffffffffff600154168152f35b6040810190811067ffffffffffffffff8211176122d457604052565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52604160045260245ffd5b90601f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0910116810190811067ffffffffffffffff8211176122d457604052565b67ffffffffffffffff81116122d457601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe01660200190565b92919261238882612342565b916123966040519384612301565b829481845281830111610a9a578281602093845f960137010152565b9080601f83011215610a9a578160206123cd9335910161237c565b90565b6004359073ffffffffffffffffffffffffffffffffffffffff82168203610a9a57565b6024359073ffffffffffffffffffffffffffffffffffffffff82168203610a9a57565b60807ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc820112610a9a576004359067ffffffffffffffff8211610a9a5761245f916004016123b2565b90602435906044357fffffffff0000000000000000000000000000000000000000000000000000000081168103610a9a579060643573ffffffffffffffffffffffffffffffffffffffff81168103610a9a5790565b90602080835192838152019201905f5b8181106124d15750505090565b82518452602093840193909201916001016124c4565b9291906124fe6020916040865260408601906124b4565b930152565b907fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f602080948051918291828752018686015e5f8582860101520116010190565b6003111561255057565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52602160045260245ffd5b1561258457565b60646040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600260248201527f50440000000000000000000000000000000000000000000000000000000000006044820152fd5b602081830312610a9a5780519067ffffffffffffffff8211610a9a570190604082820312610a9a5760405191612617836122b8565b80516003811015610a9a57835260208101519067ffffffffffffffff8211610a9a570190604082820312610a9a5760405191612652836122b8565b805167ffffffffffffffff8111610a9a5781019180601f84011215610a9a57825161267c81612342565b9161268a6040519384612301565b81835260208286010111610a9a576020815f92828097018386015e83010152835201516020820152602082015290565b81810392915f1380158285131691841216176126d257565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601160045260245ffd5b919082039182116126d257565b519073ffffffffffffffffffffffffffffffffffffffff82168203610a9a57565b6040517fc69507dd0000000000000000000000000000000000000000000000000000000081527f0000000000000000000000000000000000000000000000000000000000000000600482015260208160248173ffffffffffffffffffffffffffffffffffffffff7f0000000000000000000000000000000000000000000000000000000000000000165afa9081156120db575f916127c9575090565b90506020813d6020116127f0575b816127e460209383612301565b81010312610a9a575190565b3d91506127d7565b90816020910312610a9a57518015158103610a9a5790565b67ffffffffffffffff81116122d45760051b60200190565b8051156128355760200190565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52603260045260245ffd5b604051612870604082612301565b60018152602036818301377f00000000000000000000000000000000000000000000000000000000000000006128a582612828565b5290565b919082018092116126d257565b6040517f70a0823100000000000000000000000000000000000000000000000000000000815230600482015260208160248173ffffffffffffffffffffffffffffffffffffffff7f0000000000000000000000000000000000000000000000000000000000000000165afa80156120db575f90612979575b6123cd91506129733073ffffffffffffffffffffffffffffffffffffffff7f000000000000000000000000000000000000000000000000000000000000000016613487565b906128a9565b506020813d6020116129a5575b8161299360209383612301565b81010312610a9a576123cd905161292e565b3d9150612986565b73ffffffffffffffffffffffffffffffffffffffff5f541633036129cd57565b7f118cdaa7000000000000000000000000000000000000000000000000000000005f523360045260245ffd5b3d15612a23573d90612a0a82612342565b91612a186040519384612301565b82523d5f602084013e565b606090565b6001546040517f095ea7b3000000000000000000000000000000000000000000000000000000006020820190815273ffffffffffffffffffffffffffffffffffffffff90921660248201526044810194909452939493919290915f91829190612a94816064810161124d565b519082865af1612aa26129f9565b81158015612d90575b612d5957505073ffffffffffffffffffffffffffffffffffffffff1690604051927f70a08231000000000000000000000000000000000000000000000000000000008452306004850152602084602481865afa9384156120db575f94612d25575b505f809173ffffffffffffffffffffffffffffffffffffffff6001541682602083519301915af1612b3b6129f9565b5015612ce1575f8073ffffffffffffffffffffffffffffffffffffffff6001541660405160208101917f095ea7b3000000000000000000000000000000000000000000000000000000008352602482015282604482015260448152612ba1606482612301565b519082855af190612bb06129f9565b82158015612cb3575b612c7d57505050906020602492604051938480927f70a082310000000000000000000000000000000000000000000000000000000082523060048301525afa80156120db575f90612c49575b612c0f92506126ff565b90808210612c1b575090565b7f7c83fcf0000000000000000000000000000000000000000000000000000000005f5260045260245260445ffd5b506020823d602011612c75575b81612c6360209383612301565b81010312610a9a57612c0f9151612c05565b3d9150612c56565b6112fd906040519384937fe7e40b5b00000000000000000000000000000000000000000000000000000000855260048501613392565b5080518015159081612cc6575b50612bb9565b612cda9150602090830101602083016127f8565b155f612cc0565b73ffffffffffffffffffffffffffffffffffffffff600154167f7a1cd8fa000000000000000000000000000000000000000000000000000000005f5260045260245ffd5b9093506020813d602011612d51575b81612d4160209383612301565b81010312610a9a5751925f612b0c565b3d9150612d34565b6112fd84916040519384937fe7e40b5b00000000000000000000000000000000000000000000000000000000855260048501613392565b5080518015159081612da3575b50612aab565b612db79150602090830101602083016127f8565b155f612d9d565b91604091825193612dcf8486612301565b6001855260208501907fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0850136833773ffffffffffffffffffffffffffffffffffffffff612e1c87612828565b9116905273ffffffffffffffffffffffffffffffffffffffff7f000000000000000000000000000000000000000000000000000000000000000016948451917f70a082310000000000000000000000000000000000000000000000000000000083523060048401526020836024818a5afa9283156131e0575f9361335e575b5085517fbf90f63a00000000000000000000000000000000000000000000000000000000815260206004820152915160248301819052829160448301915f5b81811061332f5750505090805f9203818373ffffffffffffffffffffffffffffffffffffffff7f0000000000000000000000000000000000000000000000000000000000000000165af1801561322757613231575b508351907f70a08231000000000000000000000000000000000000000000000000000000008252306004830152602082602481895afa8015613227575f906131f3575b612f7c92506126ff565b9182156131ea5783519280867ffc30cddea38e2bf4d6ea7d3f9ed3b6ad7f176419f4963bd81318067a4aee73fe5f80a373ffffffffffffffffffffffffffffffffffffffff7f000000000000000000000000000000000000000000000000000000000000000016957f38d52e0f0000000000000000000000000000000000000000000000000000000085526020856004818a5afa80156131e0575f906131a5575b6130279550612a28565b918151907f38d52e0f000000000000000000000000000000000000000000000000000000008252602082600481845afa91821561319b575f9261315c575b5082517fa9059cbb000000000000000000000000000000000000000000000000000000006020820190815273ffffffffffffffffffffffffffffffffffffffff9092166024820152604481018590525f9182916130c5816064810161124d565b519082855af1916130d46129f9565b90823b158015613154575b8015613126575b6130f1575050505090565b906112fd91519384937fe7e40b5b00000000000000000000000000000000000000000000000000000000855260048501613392565b5081518015159081613139575b506130e6565b61314d9150602090840101602084016127f8565b155f613133565b5083156130df565b9091506020813d602011613193575b8161317860209383612301565b81010312610a9a575f61318b819261270c565b929150613065565b3d915061316b565b83513d5f823e3d90fd5b506020853d6020116131d8575b816131bf60209383612301565b81010312610a9a576131d36130279561270c565b61301d565b3d91506131b2565b86513d5f823e3d90fd5b50505050505f90565b506020823d60201161321f575b8161320d60209383612301565b81010312610a9a57612f7c9151612f72565b3d9150613200565b85513d5f823e3d90fd5b3d805f833e6132408183612301565b8101908581830312610a9a57805167ffffffffffffffff8111610a9a57810182601f82011215610a9a57805160208061327883612810565b6132848b519182612301565b838152019160051b83010191848311610a9a57602001905b8282106133175750505060208101519067ffffffffffffffff8211610a9a570181601f82011215610a9a578051906020806132d684612810565b6132e28a519182612301565b848152019260051b820101928311610a9a57602001905b828210613307575050612f2f565b81518152602091820191016132f9565b602080916133248461270c565b81520191019061329c565b825173ffffffffffffffffffffffffffffffffffffffff16845285945060209384019390920191600101612eda565b9092506020813d60201161338a575b8161337a60209383612301565b81010312610a9a5751915f612e9b565b3d915061336d565b6123cd939273ffffffffffffffffffffffffffffffffffffffff606093168252151560208201528160408201520190612503565b6040517f095ea7b3000000000000000000000000000000000000000000000000000000006020820190815273ffffffffffffffffffffffffffffffffffffffff90931660248201526044810193909352915f918291613428816064810161124d565b519082855af1906134376129f9565b813b15801561347f575b8015613451575b612c7d57505050565b5080518015159081613464575b50613448565b6134789150602090830101602083016127f8565b155f61345e565b508215613441565b905f809160405173ffffffffffffffffffffffffffffffffffffffff60208201927f70a08231000000000000000000000000000000000000000000000000000000008452166024820152602481526134e0604482612301565b5190845afa6134ed6129f9565b91803b15801561355e575b8015613553575b61351d57505060208151918180820193849201010312610a9a575190565b6112fd836040519384937fe7e40b5b00000000000000000000000000000000000000000000000000000000855260048501613392565b5060208351106134ff565b5081156134f856fea164736f6c634300081c000a","sourceMap":"945:4497:7:-:0;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;-1:-1:-1;;;;;945:4497:7;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;945:4497:7;;;;;;;;;;;;;:::i;:::-;;;;;;;-1:-1:-1;;;;;945:4497:7;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;-1:-1:-1;;;;;945:4497:7;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;-1:-1:-1;;;;;945:4497:7;1273:26:0;;1269:95;;-1:-1:-1;945:4497:7;;-1:-1:-1;;;;;;945:4497:7;;;;;;-1:-1:-1;;;;;945:4497:7;;3052:40:0;;-1:-1:-1;3052:40:0;945:4497:7;;-1:-1:-1;;;;;945:4497:7;2044:27:8;945:4497:7;;-1:-1:-1;;;;;945:4497:7;2090:18:8;;945:4497:7;;2149:4:8;945:4497:7;;2127:26:8;945:4497:7;;;;2164:20:8;945:4497:7;2194:16:8;945:4497:7;;-1:-1:-1;;;;;;945:4497:7;-1:-1:-1;;;;;945:4497:7;;;;;;;;;;;;;;-1:-1:-1;;;;;945:4497:7;;;;;;;;;;;;;;;;;-1:-1:-1;945:4497:7;;;;;;;;;;;;;-1:-1:-1;945:4497:7;;;;;;;;;;-1:-1:-1;945:4497:7;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;945:4497:7;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;945:4497:7;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2242:33:8;;945:4497:7;;;;;;;;;-1:-1:-1;;;945:4497:7;;;;2269:4:8;945:4497:7;;;;;2242:33:8;;;945:4497:7;2242:33:8;;:::i;:::-;945:4497:7;2232:44:8;;945:4497:7;2220:56:8;945:4497:7;;;-1:-1:-1;;;;;;945:4497:7;2304:42:8;945:4497:7;;;-1:-1:-1;;;;;945:4497:7;;;;1489:28;945:4497;;;;1527:29;945:4497;;;;1566:50;945:4497;;;;1626:58;945:4497;1694:34;;945:4497;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1694:34;945:4497;;;;;;;;;;;;;;;-1:-1:-1;945:4497:7;;;;;-1:-1:-1;945:4497:7;;;;;-1:-1:-1;945:4497:7;;;;;;-1:-1:-1;945:4497:7;;;;;;;-1:-1:-1;;;945:4497:7;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;945:4497:7;;;-1:-1:-1;945:4497:7;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;945:4497:7;;;;-1:-1:-1;945:4497:7;;;;;;;-1:-1:-1;945:4497:7;;;;;;;;-1:-1:-1;945:4497:7;;;;;-1:-1:-1;945:4497:7;;;;;;;;;;;;-1:-1:-1;945:4497:7;;;;;-1:-1:-1;945:4497:7;;;;;-1:-1:-1;945:4497:7;;;;;;-1:-1:-1;945:4497:7;;;;;;;-1:-1:-1;;;945:4497:7;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;945:4497:7;;;-1:-1:-1;945:4497:7;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;945:4497:7;;;;-1:-1:-1;945:4497:7;;;;;;;-1:-1:-1;945:4497:7;;;;;;;;;;;;-1:-1:-1;945:4497:7;;1269:95:0;1322:31;;;-1:-1:-1;1322:31:0;-1:-1:-1;1322:31:0;945:4497:7;;-1:-1:-1;1322:31:0;945:4497:7;;;;;-1:-1:-1;;945:4497:7;;;;-1:-1:-1;;;;;945:4497:7;;;;;;;;;;:::o;:::-;;;-1:-1:-1;;;;;945:4497:7;;;;;;:::o;:::-;;;;;;;;;;;;-1:-1:-1;;;;;945:4497:7;;;;;;;;;;;-1:-1:-1;;945:4497:7;;;;;:::i;:::-;;;;;;;;;;;;;-1:-1:-1;945:4497:7;;;;;;;;;;;;;;:::o","linkReferences":{},"cborAuxdata":{"1":{"value":"0xa164736f6c634300081c000a","offset":15476}},"transformations":[{"type":"insert","offset":15488,"reason":"constructorArguments"}],"transformationValues":{"constructorArguments":"0x0000000000000000000000002f99e35ea811f3cc230b26dff817604b5d4b6e3800000000000000000000000000000000000000000000000000000000000000e00000000000000000000000001abaea1f7c830bd89acc67ec4af516284b1bc33c000000000000000000000000aa6e91c82942aeae040303bf96c15a6dbcb82ca00000000000000000000000002f39d218133afab8f2b819b1066c7e434ad94e9e0000000000000000000000008164cc65827dcfe994ab23944cbc90e0aa80bfcb000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc20000000000000000000000006a85d9e2fec21f9c9452fc4022abf2a21a462851000000000000000000000000000000000000000000000000000000000000012000000000000000000000000000000000000000000000000000000000000001600000000000000000000000000000000000000000000000000000000000000000ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00000000000000000000000000000000000000000000000000000000000000c80000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000114161766520455552432041646170746572000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000c4161766520763320436f72650000000000000000000000000000000000000000"}},"runtimeBytecode":{"onchainBytecode":"0x6080806040526004361015610012575f80fd5b5f905f3560e01c908163118866851461226a57508063179319011461222a5780631eadd77814611eb55780633c12f9ea14611e085780633e859eec14611d6f5780633f53066b14611c9457806347e7a97d14611c255780634d51bf5f14611bea5780634e45f1ff146116a9578063554d578d1461166d57806356c07573146116345780635fb86b01146115db5780636bb65f531461156c5780636cab065914611530578063715018a61461149457806384ab57ab1461140c57806384f22721146110a95780638511fc931461106d5780638598f9c314610ffe57806388a17bde14610fc55780638da5cb5b14610f745780639213bda714610edb578063a05716f414610e82578063a0c1f15e14610e13578063ada1469814610dd2578063aecd577a14610d63578063b476bde414610cd1578063bc08e9bd14610c03578063cea9d26f146107fa578063cff0ab9614610506578063e5f21f7d14610458578063e6a69ab81461041b578063e7657e15146103c9578063ec31eb5814610309578063f2fde38b1461021b5763f7c618c1146101aa575f80fd5b3461021857807ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261021857602060405173ffffffffffffffffffffffffffffffffffffffff7f000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2168152f35b80fd5b50346102185760207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc3601126102185773ffffffffffffffffffffffffffffffffffffffff6102686123d0565b6102706129ad565b1680156102dd5773ffffffffffffffffffffffffffffffffffffffff8254827fffffffffffffffffffffffff00000000000000000000000000000000000000008216178455167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e08380a380f35b6024827f1e4fbdf700000000000000000000000000000000000000000000000000000000815280600452fd5b50346102185760207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc3601126102185760043590811561039857600a5490818302918383040361036b5760206103636127108404856126ff565b604051908152f35b807f4e487b7100000000000000000000000000000000000000000000000000000000602492526011600452fd5b807f7c83fcf00000000000000000000000000000000000000000000000000000000060449252600160045280602452fd5b503461021857807ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261021857610417610403612862565b6040519182916020835260208301906124b4565b0390f35b503461021857807ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc3601126102185760206040516301e133808152f35b50346102185760207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc3601126102185760043560038110156105025761049c6129ad565b6104a581612546565b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff006005541660ff8216176005556104db81612546565b7f27630923f8c523d6150196f959d8848e1c38769db10bd099c29cf1e542387bc48280a280f35b5080fd5b503461021857807ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc3601126102185773ffffffffffffffffffffffffffffffffffffffff600254166040519180600354908160011c916001811680156107f0575b6020841081146107c35783875286929181156107865750600114610728575b61059292500384612301565b6040519080600454918260011c9260018116801561071e575b6020851081146106f1578486528593929181156106b15750600114610652575b506105d892500382612301565b60ff60055416906006546007546008549060ff6009541692610623600a54956106156040519a8b9a8b5261012060208c01526101208b0190612503565b9089820360408b0152612503565b9561062d81612546565b6060880152608087015260a086015260c0850152151560e08401526101008301520390f35b60048152919290507f8a35acfbc15ff81a39ae7d344fd709f28e8600b4aa8c65c6b64bfe7fe36bd19b5b8183106106955750509060206105d8928201015f6105cb565b602091935080600191548385880101520191019091839261067c565b602093506105d89592507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0091501682840152151560051b8201015f6105cb565b6024837f4e487b710000000000000000000000000000000000000000000000000000000081526022600452fd5b93607f16936105ab565b50600383529082907fc2575a0e9e593c00f959f8c92f12db2869c3395a3b0502d05e2516446f71f85b5b81831061076a57505090602061059292820101610586565b6020919350806001915483858a01015201910190918592610752565b602092506105929491507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001682840152151560051b820101610586565b6024857f4e487b710000000000000000000000000000000000000000000000000000000081526022600452fd5b92607f1692610567565b50346102185760607ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc360112610218576108326123d0565b61083a6123f3565b90604435916108476129ad565b73ffffffffffffffffffffffffffffffffffffffff8116928315610ba557604051927f38d52e0f00000000000000000000000000000000000000000000000000000000845260208460048173ffffffffffffffffffffffffffffffffffffffff7f0000000000000000000000002f99e35ea811f3cc230b26dff817604b5d4b6e38165afa938415610aa6578694610b4e575b5073ffffffffffffffffffffffffffffffffffffffff809116931683148015610b0f575b610ab1576040517f70a08231000000000000000000000000000000000000000000000000000000008152306004820152602081602481875afa908115610aa6578691610a70575b508111610a12576040517fa9059cbb00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff9290921660048301526024820181905260208260448188875af1908115610a07577f77023e19c7343ad491fd706c36335ca0e738340a91f29b1fd81e2673d44896c4926020926109dc575b50604051908152a380f35b6109fb90833d8511610a00575b6109f38183612301565b8101906127f8565b6109d1565b503d6109e9565b6040513d87823e3d90fd5b60646040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601460248201527f496e73756666696369656e742062616c616e63650000000000000000000000006044820152fd5b90506020813d602011610a9e575b81610a8b60209383612301565b81010312610a9a57515f610944565b5f80fd5b3d9150610a7e565b6040513d88823e3d90fd5b60646040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600f60248201527f50726f74656374656420746f6b656e00000000000000000000000000000000006044820152fd5b5073ffffffffffffffffffffffffffffffffffffffff7f000000000000000000000000aa6e91c82942aeae040303bf96c15a6dbcb82ca01683146108fd565b9093506020813d602011610b9d575b81610b6a60209383612301565b81010312610b995773ffffffffffffffffffffffffffffffffffffffff610b91819261270c565b9491506108d9565b8580fd5b3d9150610b5d565b60646040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601160248201527f496e76616c696420726563697069656e740000000000000000000000000000006044820152fd5b50346102185760207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261021857600435610c3e6129ad565b61270f811015610c735780600a557fc67ba9890ea7d6f3d208ac2d463c5846edd57c3b3f13d044d18d668585095d178280a280f35b60646040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601160248201527f536c69707061676520746f6f20686967680000000000000000000000000000006044820152fd5b503461021857807ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc3601126102185761041760405160406020820152600460608201527f7468697300000000000000000000000000000000000000000000000000000000608082015230604082015260808152610d4f60a082612301565b604051918291602083526020830190612503565b503461021857807ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261021857602060405173ffffffffffffffffffffffffffffffffffffffff7f0000000000000000000000001abaea1f7c830bd89acc67ec4af516284b1bc33c168152f35b503461021857807ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261021857602060ff600b54166040519015158152f35b503461021857807ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261021857602060405173ffffffffffffffffffffffffffffffffffffffff7f000000000000000000000000aa6e91c82942aeae040303bf96c15a6dbcb82ca0168152f35b503461021857807ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc3601126102185760206040517fe4d38cd8000000000000000000000000000000000000000000000000000000008152f35b50346102185760207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc3601126102185760043580151580910361050257610f206129ad565b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00600b541660ff821617600b557f68c3b30f53252b4a7ebb8cbe118f644313c1c59953a3eb90ba5f43a42d242ae18280a280f35b503461021857807ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc3601126102185773ffffffffffffffffffffffffffffffffffffffff6020915416604051908152f35b503461021857807ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261021857602061036361272d565b503461021857807ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261021857602060405173ffffffffffffffffffffffffffffffffffffffff7f0000000000000000000000002f39d218133afab8f2b819b1066c7e434ad94e9e168152f35b503461021857807ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc360112610218576020600854604051908152f35b503461021857807ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc360112610218576110e06129ad565b73ffffffffffffffffffffffffffffffffffffffff7f0000000000000000000000002f99e35ea811f3cc230b26dff817604b5d4b6e3816906040517f38d52e0f000000000000000000000000000000000000000000000000000000008152602081600481865afa9081156113af5782916113ba575b50602073ffffffffffffffffffffffffffffffffffffffff916024604051809481937f70a08231000000000000000000000000000000000000000000000000000000008352306004840152165afa9081156113af57829161137d575b50604051927f38d52e0f000000000000000000000000000000000000000000000000000000008452602084600481845afa93841561137257839461132f575b506040517fa9059cbb000000000000000000000000000000000000000000000000000000006020820190815273ffffffffffffffffffffffffffffffffffffffff9092166024820152604481018390528391829161127981606481015b037fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08101835282612301565b519082875af1926112886129f9565b84158015611301575b6112c55760208484807f8cc6a31cfb84df51d57b901b62a4accd2a9a6ed88b96f4c05bbbb7fee2af1afe6040519380a28152f35b906112fd85926040519384937fe7e40b5b00000000000000000000000000000000000000000000000000000000855260048501613392565b0390fd5b5080518015159081611314575b50611291565b6113289150602090830101602083016127f8565b155f61130e565b9093506020813d60201161136a575b8161134b60209383612301565b81010312611366578261135e819261270c565b9491506111f0565b8280fd5b3d915061133e565b6040513d85823e3d90fd5b90506020813d6020116113a7575b8161139860209383612301565b81010312610a9a57515f6111b1565b3d915061138b565b6040513d84823e3d90fd5b90506020813d602011611404575b816113d560209383612301565b810103126105025760206113fd73ffffffffffffffffffffffffffffffffffffffff9261270c565b9150611155565b3d91506113c8565b50346102185760207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc3601126102185773ffffffffffffffffffffffffffffffffffffffff6114596123d0565b6114616129ad565b168015610502577fffffffffffffffffffffffff0000000000000000000000000000000000000000600154161760015580f35b503461021857807ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc360112610218576114cb6129ad565b8073ffffffffffffffffffffffffffffffffffffffff81547fffffffffffffffffffffffff000000000000000000000000000000000000000081168355167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e08280a380f35b503461021857807ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc360112610218576020600754604051908152f35b503461021857807ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261021857602060405173ffffffffffffffffffffffffffffffffffffffff7f0000000000000000000000008164cc65827dcfe994ab23944cbc90e0aa80bfcb168152f35b503461021857807ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc3601126102185760206040517fa6f0995d586f71e7bd3736a025bfdda1029a704ce145ae7f2ab8775275648f9c8152f35b503461021857807ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc3601126102185760206103636128b6565b503461021857807ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc360112610218576020600654604051908152f35b5034610218576116b836612416565b5090916116fc73ffffffffffffffffffffffffffffffffffffffff7f0000000000000000000000002f99e35ea811f3cc230b26dff817604b5d4b6e3816331461257d565b8215611bb95780602080611715935183010191016125e2565b907fe4d38cd8000000000000000000000000000000000000000000000000000000007fffffffff0000000000000000000000000000000000000000000000000000000083519261176484612546565b16149081611b98575b50611b705761177a61272d565b90805161178681612546565b61178f81612546565b611ac657506040517f026b1d5f00000000000000000000000000000000000000000000000000000000815260208160048173ffffffffffffffffffffffffffffffffffffffff7f0000000000000000000000002f39d218133afab8f2b819b1066c7e434ad94e9e165afa908115611abb578491611a7d575b5073ffffffffffffffffffffffffffffffffffffffff7f0000000000000000000000001abaea1f7c830bd89acc67ec4af516284b1bc33c168361184a3083613487565b91868293838110611924575b505061186592935033906133c6565b9261186e6128b6565b8381106118c6576118b693611882916126ff565b937f61b0387ff9ecd027c4a1ba73e93a9fda499c31b71426acc80e90260fcea9215f309280a36118b0612862565b926126ba565b90610417604051928392836124e7565b60646040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601760248201527f696e636f6e73697374656e7420746f74616c56616c75650000000000000000006044820152fd5b90926119319294506126ff565b602073ffffffffffffffffffffffffffffffffffffffff60646119543087613487565b9660405195869384927f69328dec000000000000000000000000000000000000000000000000000000008452896004850152876024850152306044850152165af1918215611a72578792611a3e575b5081936119b03085613487565b92828110611a0e57506119c382826128a9565b83106119d55750508291868692611856565b916119e388926044946128a9565b7fcf479181000000000000000000000000000000000000000000000000000000008352600452602452fd5b88604491847f7c83fcf0000000000000000000000000000000000000000000000000000000008352600452602452fd5b9091506020813d602011611a6a575b81611a5a60209383612301565b81010312610a9a5751905f6119a3565b3d9150611a4d565b6040513d89823e3d90fd5b90506020813d602011611ab3575b81611a9860209383612301565b81010312611aaf57611aa99061270c565b5f611807565b8380fd5b3d9150611a8b565b6040513d86823e3d90fd5b8381600160049351611ad781612546565b611ae081612546565b03611b0b57507fd0df97cc000000000000000000000000000000000000000000000000000000008152fd5b60029051611b1881612546565b611b2181612546565b03611b4b577fd0df97cc000000000000000000000000000000000000000000000000000000008152fd5b7fd0df97cc000000000000000000000000000000000000000000000000000000008152fd5b6004837f564500f8000000000000000000000000000000000000000000000000000000008152fd5b9050611ba381612546565b15801590611bb2575b5f61176d565b5082611bac565b6044847f7c83fcf0000000000000000000000000000000000000000000000000000000008152600160045280602452fd5b50346102185760207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc360112610218576020906103636129ad565b503461021857807ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261021857602060405173ffffffffffffffffffffffffffffffffffffffff7f0000000000000000000000002f99e35ea811f3cc230b26dff817604b5d4b6e38168152f35b50346102185760607ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261021857611ccc6123d0565b906024359067ffffffffffffffff82116102185750611cef9036906004016123b2565b611cf76129ad565b60ff600b5416611d11576020916103639160443591612dbe565b60646040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600960248201527f656d657267656e637900000000000000000000000000000000000000000000006044820152fd5b50346102185760207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc3601126102185760043580151580910361050257611db46129ad565b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff006009541660ff8216176009557fdbf0df65d86a051acc8692d340075569c05e0370232c91318c82a5783937ad3d8280a280f35b50346102185760a07ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261021857611e406123d0565b90611e496123f3565b906084359067ffffffffffffffff821161021857366023830112156102185781600401359067ffffffffffffffff82116102185736602483850101116102185760206103638686611ea78787611e9d6129ad565b602436920161237c565b916064359160443591612a28565b5034610a9a57611ec436612416565b505090611f0873ffffffffffffffffffffffffffffffffffffffff7f0000000000000000000000002f99e35ea811f3cc230b26dff817604b5d4b6e3816331461257d565b60ff600b54166121fe5781156121cd5780602080611f2b935183010191016125e2565b8051611f3681612546565b611f3f81612546565b612162575073ffffffffffffffffffffffffffffffffffffffff7f0000000000000000000000001abaea1f7c830bd89acc67ec4af516284b1bc33c16611f853082613487565b82811061213357506040517f026b1d5f00000000000000000000000000000000000000000000000000000000815260208160048173ffffffffffffffffffffffffffffffffffffffff7f0000000000000000000000002f39d218133afab8f2b819b1066c7e434ad94e9e165afa80156120db575f906120e6575b73ffffffffffffffffffffffffffffffffffffffff915016906120238383836133c6565b813b15610a9a575f916084839260405194859384927f617ba03700000000000000000000000000000000000000000000000000000000845260048401528760248401523060448401528160648401525af180156120db576120c4575b506118b6909161208d61272d565b906120966128b6565b937fa4785e244c5b065bbf149ba5b5ffb8922e35f0ed3201e69bc4da313d1a9c8842309280a36118b0612862565b6120d19192505f90612301565b5f906118b661207f565b6040513d5f823e3d90fd5b506020813d60201161212b575b8161210060209383612301565b81010312610a9a5761212673ffffffffffffffffffffffffffffffffffffffff9161270c565b611fff565b3d91506120f3565b827fcf479181000000000000000000000000000000000000000000000000000000005f5260045260245260445ffd5b6001905161216f81612546565b61217881612546565b036121a5577fd0df97cc000000000000000000000000000000000000000000000000000000005f5260045ffd5b7fd0df97cc000000000000000000000000000000000000000000000000000000005f5260045ffd5b7f7c83fcf0000000000000000000000000000000000000000000000000000000005f5260016004525f60245260445ffd5b7f454a60b8000000000000000000000000000000000000000000000000000000005f523060045260245ffd5b34610a9a575f7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc360112610a9a576020604051670de0b6b3a76400008152f35b34610a9a575f7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc360112610a9a5760209073ffffffffffffffffffffffffffffffffffffffff600154168152f35b6040810190811067ffffffffffffffff8211176122d457604052565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52604160045260245ffd5b90601f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0910116810190811067ffffffffffffffff8211176122d457604052565b67ffffffffffffffff81116122d457601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe01660200190565b92919261238882612342565b916123966040519384612301565b829481845281830111610a9a578281602093845f960137010152565b9080601f83011215610a9a578160206123cd9335910161237c565b90565b6004359073ffffffffffffffffffffffffffffffffffffffff82168203610a9a57565b6024359073ffffffffffffffffffffffffffffffffffffffff82168203610a9a57565b60807ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc820112610a9a576004359067ffffffffffffffff8211610a9a5761245f916004016123b2565b90602435906044357fffffffff0000000000000000000000000000000000000000000000000000000081168103610a9a579060643573ffffffffffffffffffffffffffffffffffffffff81168103610a9a5790565b90602080835192838152019201905f5b8181106124d15750505090565b82518452602093840193909201916001016124c4565b9291906124fe6020916040865260408601906124b4565b930152565b907fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f602080948051918291828752018686015e5f8582860101520116010190565b6003111561255057565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52602160045260245ffd5b1561258457565b60646040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600260248201527f50440000000000000000000000000000000000000000000000000000000000006044820152fd5b602081830312610a9a5780519067ffffffffffffffff8211610a9a570190604082820312610a9a5760405191612617836122b8565b80516003811015610a9a57835260208101519067ffffffffffffffff8211610a9a570190604082820312610a9a5760405191612652836122b8565b805167ffffffffffffffff8111610a9a5781019180601f84011215610a9a57825161267c81612342565b9161268a6040519384612301565b81835260208286010111610a9a576020815f92828097018386015e83010152835201516020820152602082015290565b81810392915f1380158285131691841216176126d257565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601160045260245ffd5b919082039182116126d257565b519073ffffffffffffffffffffffffffffffffffffffff82168203610a9a57565b6040517fc69507dd0000000000000000000000000000000000000000000000000000000081527fa6f0995d586f71e7bd3736a025bfdda1029a704ce145ae7f2ab8775275648f9c600482015260208160248173ffffffffffffffffffffffffffffffffffffffff7f0000000000000000000000002f99e35ea811f3cc230b26dff817604b5d4b6e38165afa9081156120db575f916127c9575090565b90506020813d6020116127f0575b816127e460209383612301565b81010312610a9a575190565b3d91506127d7565b90816020910312610a9a57518015158103610a9a5790565b67ffffffffffffffff81116122d45760051b60200190565b8051156128355760200190565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52603260045260245ffd5b604051612870604082612301565b60018152602036818301377fa6f0995d586f71e7bd3736a025bfdda1029a704ce145ae7f2ab8775275648f9c6128a582612828565b5290565b919082018092116126d257565b6040517f70a0823100000000000000000000000000000000000000000000000000000000815230600482015260208160248173ffffffffffffffffffffffffffffffffffffffff7f000000000000000000000000aa6e91c82942aeae040303bf96c15a6dbcb82ca0165afa80156120db575f90612979575b6123cd91506129733073ffffffffffffffffffffffffffffffffffffffff7f0000000000000000000000001abaea1f7c830bd89acc67ec4af516284b1bc33c16613487565b906128a9565b506020813d6020116129a5575b8161299360209383612301565b81010312610a9a576123cd905161292e565b3d9150612986565b73ffffffffffffffffffffffffffffffffffffffff5f541633036129cd57565b7f118cdaa7000000000000000000000000000000000000000000000000000000005f523360045260245ffd5b3d15612a23573d90612a0a82612342565b91612a186040519384612301565b82523d5f602084013e565b606090565b6001546040517f095ea7b3000000000000000000000000000000000000000000000000000000006020820190815273ffffffffffffffffffffffffffffffffffffffff90921660248201526044810194909452939493919290915f91829190612a94816064810161124d565b519082865af1612aa26129f9565b81158015612d90575b612d5957505073ffffffffffffffffffffffffffffffffffffffff1690604051927f70a08231000000000000000000000000000000000000000000000000000000008452306004850152602084602481865afa9384156120db575f94612d25575b505f809173ffffffffffffffffffffffffffffffffffffffff6001541682602083519301915af1612b3b6129f9565b5015612ce1575f8073ffffffffffffffffffffffffffffffffffffffff6001541660405160208101917f095ea7b3000000000000000000000000000000000000000000000000000000008352602482015282604482015260448152612ba1606482612301565b519082855af190612bb06129f9565b82158015612cb3575b612c7d57505050906020602492604051938480927f70a082310000000000000000000000000000000000000000000000000000000082523060048301525afa80156120db575f90612c49575b612c0f92506126ff565b90808210612c1b575090565b7f7c83fcf0000000000000000000000000000000000000000000000000000000005f5260045260245260445ffd5b506020823d602011612c75575b81612c6360209383612301565b81010312610a9a57612c0f9151612c05565b3d9150612c56565b6112fd906040519384937fe7e40b5b00000000000000000000000000000000000000000000000000000000855260048501613392565b5080518015159081612cc6575b50612bb9565b612cda9150602090830101602083016127f8565b155f612cc0565b73ffffffffffffffffffffffffffffffffffffffff600154167f7a1cd8fa000000000000000000000000000000000000000000000000000000005f5260045260245ffd5b9093506020813d602011612d51575b81612d4160209383612301565b81010312610a9a5751925f612b0c565b3d9150612d34565b6112fd84916040519384937fe7e40b5b00000000000000000000000000000000000000000000000000000000855260048501613392565b5080518015159081612da3575b50612aab565b612db79150602090830101602083016127f8565b155f612d9d565b91604091825193612dcf8486612301565b6001855260208501907fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0850136833773ffffffffffffffffffffffffffffffffffffffff612e1c87612828565b9116905273ffffffffffffffffffffffffffffffffffffffff7f000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc216948451917f70a082310000000000000000000000000000000000000000000000000000000083523060048401526020836024818a5afa9283156131e0575f9361335e575b5085517fbf90f63a00000000000000000000000000000000000000000000000000000000815260206004820152915160248301819052829160448301915f5b81811061332f5750505090805f9203818373ffffffffffffffffffffffffffffffffffffffff7f0000000000000000000000008164cc65827dcfe994ab23944cbc90e0aa80bfcb165af1801561322757613231575b508351907f70a08231000000000000000000000000000000000000000000000000000000008252306004830152602082602481895afa8015613227575f906131f3575b612f7c92506126ff565b9182156131ea5783519280867ffc30cddea38e2bf4d6ea7d3f9ed3b6ad7f176419f4963bd81318067a4aee73fe5f80a373ffffffffffffffffffffffffffffffffffffffff7f0000000000000000000000002f99e35ea811f3cc230b26dff817604b5d4b6e3816957f38d52e0f0000000000000000000000000000000000000000000000000000000085526020856004818a5afa80156131e0575f906131a5575b6130279550612a28565b918151907f38d52e0f000000000000000000000000000000000000000000000000000000008252602082600481845afa91821561319b575f9261315c575b5082517fa9059cbb000000000000000000000000000000000000000000000000000000006020820190815273ffffffffffffffffffffffffffffffffffffffff9092166024820152604481018590525f9182916130c5816064810161124d565b519082855af1916130d46129f9565b90823b158015613154575b8015613126575b6130f1575050505090565b906112fd91519384937fe7e40b5b00000000000000000000000000000000000000000000000000000000855260048501613392565b5081518015159081613139575b506130e6565b61314d9150602090840101602084016127f8565b155f613133565b5083156130df565b9091506020813d602011613193575b8161317860209383612301565b81010312610a9a575f61318b819261270c565b929150613065565b3d915061316b565b83513d5f823e3d90fd5b506020853d6020116131d8575b816131bf60209383612301565b81010312610a9a576131d36130279561270c565b61301d565b3d91506131b2565b86513d5f823e3d90fd5b50505050505f90565b506020823d60201161321f575b8161320d60209383612301565b81010312610a9a57612f7c9151612f72565b3d9150613200565b85513d5f823e3d90fd5b3d805f833e6132408183612301565b8101908581830312610a9a57805167ffffffffffffffff8111610a9a57810182601f82011215610a9a57805160208061327883612810565b6132848b519182612301565b838152019160051b83010191848311610a9a57602001905b8282106133175750505060208101519067ffffffffffffffff8211610a9a570181601f82011215610a9a578051906020806132d684612810565b6132e28a519182612301565b848152019260051b820101928311610a9a57602001905b828210613307575050612f2f565b81518152602091820191016132f9565b602080916133248461270c565b81520191019061329c565b825173ffffffffffffffffffffffffffffffffffffffff16845285945060209384019390920191600101612eda565b9092506020813d60201161338a575b8161337a60209383612301565b81010312610a9a5751915f612e9b565b3d915061336d565b6123cd939273ffffffffffffffffffffffffffffffffffffffff606093168252151560208201528160408201520190612503565b6040517f095ea7b3000000000000000000000000000000000000000000000000000000006020820190815273ffffffffffffffffffffffffffffffffffffffff90931660248201526044810193909352915f918291613428816064810161124d565b519082855af1906134376129f9565b813b15801561347f575b8015613451575b612c7d57505050565b5080518015159081613464575b50613448565b6134789150602090830101602083016127f8565b155f61345e565b508215613441565b905f809160405173ffffffffffffffffffffffffffffffffffffffff60208201927f70a08231000000000000000000000000000000000000000000000000000000008452166024820152602481526134e0604482612301565b5190845afa6134ed6129f9565b91803b15801561355e575b8015613553575b61351d57505060208151918180820193849201010312610a9a575190565b6112fd836040519384937fe7e40b5b00000000000000000000000000000000000000000000000000000000855260048501613392565b5060208351106134ff565b5081156134f856fea164736f6c634300081c000a","recompiledBytecode":"0x6080806040526004361015610012575f80fd5b5f905f3560e01c908163118866851461226a57508063179319011461222a5780631eadd77814611eb55780633c12f9ea14611e085780633e859eec14611d6f5780633f53066b14611c9457806347e7a97d14611c255780634d51bf5f14611bea5780634e45f1ff146116a9578063554d578d1461166d57806356c07573146116345780635fb86b01146115db5780636bb65f531461156c5780636cab065914611530578063715018a61461149457806384ab57ab1461140c57806384f22721146110a95780638511fc931461106d5780638598f9c314610ffe57806388a17bde14610fc55780638da5cb5b14610f745780639213bda714610edb578063a05716f414610e82578063a0c1f15e14610e13578063ada1469814610dd2578063aecd577a14610d63578063b476bde414610cd1578063bc08e9bd14610c03578063cea9d26f146107fa578063cff0ab9614610506578063e5f21f7d14610458578063e6a69ab81461041b578063e7657e15146103c9578063ec31eb5814610309578063f2fde38b1461021b5763f7c618c1146101aa575f80fd5b3461021857807ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261021857602060405173ffffffffffffffffffffffffffffffffffffffff7f0000000000000000000000000000000000000000000000000000000000000000168152f35b80fd5b50346102185760207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc3601126102185773ffffffffffffffffffffffffffffffffffffffff6102686123d0565b6102706129ad565b1680156102dd5773ffffffffffffffffffffffffffffffffffffffff8254827fffffffffffffffffffffffff00000000000000000000000000000000000000008216178455167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e08380a380f35b6024827f1e4fbdf700000000000000000000000000000000000000000000000000000000815280600452fd5b50346102185760207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc3601126102185760043590811561039857600a5490818302918383040361036b5760206103636127108404856126ff565b604051908152f35b807f4e487b7100000000000000000000000000000000000000000000000000000000602492526011600452fd5b807f7c83fcf00000000000000000000000000000000000000000000000000000000060449252600160045280602452fd5b503461021857807ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261021857610417610403612862565b6040519182916020835260208301906124b4565b0390f35b503461021857807ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc3601126102185760206040516301e133808152f35b50346102185760207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc3601126102185760043560038110156105025761049c6129ad565b6104a581612546565b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff006005541660ff8216176005556104db81612546565b7f27630923f8c523d6150196f959d8848e1c38769db10bd099c29cf1e542387bc48280a280f35b5080fd5b503461021857807ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc3601126102185773ffffffffffffffffffffffffffffffffffffffff600254166040519180600354908160011c916001811680156107f0575b6020841081146107c35783875286929181156107865750600114610728575b61059292500384612301565b6040519080600454918260011c9260018116801561071e575b6020851081146106f1578486528593929181156106b15750600114610652575b506105d892500382612301565b60ff60055416906006546007546008549060ff6009541692610623600a54956106156040519a8b9a8b5261012060208c01526101208b0190612503565b9089820360408b0152612503565b9561062d81612546565b6060880152608087015260a086015260c0850152151560e08401526101008301520390f35b60048152919290507f8a35acfbc15ff81a39ae7d344fd709f28e8600b4aa8c65c6b64bfe7fe36bd19b5b8183106106955750509060206105d8928201015f6105cb565b602091935080600191548385880101520191019091839261067c565b602093506105d89592507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0091501682840152151560051b8201015f6105cb565b6024837f4e487b710000000000000000000000000000000000000000000000000000000081526022600452fd5b93607f16936105ab565b50600383529082907fc2575a0e9e593c00f959f8c92f12db2869c3395a3b0502d05e2516446f71f85b5b81831061076a57505090602061059292820101610586565b6020919350806001915483858a01015201910190918592610752565b602092506105929491507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001682840152151560051b820101610586565b6024857f4e487b710000000000000000000000000000000000000000000000000000000081526022600452fd5b92607f1692610567565b50346102185760607ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc360112610218576108326123d0565b61083a6123f3565b90604435916108476129ad565b73ffffffffffffffffffffffffffffffffffffffff8116928315610ba557604051927f38d52e0f00000000000000000000000000000000000000000000000000000000845260208460048173ffffffffffffffffffffffffffffffffffffffff7f0000000000000000000000000000000000000000000000000000000000000000165afa938415610aa6578694610b4e575b5073ffffffffffffffffffffffffffffffffffffffff809116931683148015610b0f575b610ab1576040517f70a08231000000000000000000000000000000000000000000000000000000008152306004820152602081602481875afa908115610aa6578691610a70575b508111610a12576040517fa9059cbb00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff9290921660048301526024820181905260208260448188875af1908115610a07577f77023e19c7343ad491fd706c36335ca0e738340a91f29b1fd81e2673d44896c4926020926109dc575b50604051908152a380f35b6109fb90833d8511610a00575b6109f38183612301565b8101906127f8565b6109d1565b503d6109e9565b6040513d87823e3d90fd5b60646040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601460248201527f496e73756666696369656e742062616c616e63650000000000000000000000006044820152fd5b90506020813d602011610a9e575b81610a8b60209383612301565b81010312610a9a57515f610944565b5f80fd5b3d9150610a7e565b6040513d88823e3d90fd5b60646040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600f60248201527f50726f74656374656420746f6b656e00000000000000000000000000000000006044820152fd5b5073ffffffffffffffffffffffffffffffffffffffff7f00000000000000000000000000000000000000000000000000000000000000001683146108fd565b9093506020813d602011610b9d575b81610b6a60209383612301565b81010312610b995773ffffffffffffffffffffffffffffffffffffffff610b91819261270c565b9491506108d9565b8580fd5b3d9150610b5d565b60646040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601160248201527f496e76616c696420726563697069656e740000000000000000000000000000006044820152fd5b50346102185760207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261021857600435610c3e6129ad565b61270f811015610c735780600a557fc67ba9890ea7d6f3d208ac2d463c5846edd57c3b3f13d044d18d668585095d178280a280f35b60646040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601160248201527f536c69707061676520746f6f20686967680000000000000000000000000000006044820152fd5b503461021857807ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc3601126102185761041760405160406020820152600460608201527f7468697300000000000000000000000000000000000000000000000000000000608082015230604082015260808152610d4f60a082612301565b604051918291602083526020830190612503565b503461021857807ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261021857602060405173ffffffffffffffffffffffffffffffffffffffff7f0000000000000000000000000000000000000000000000000000000000000000168152f35b503461021857807ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261021857602060ff600b54166040519015158152f35b503461021857807ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261021857602060405173ffffffffffffffffffffffffffffffffffffffff7f0000000000000000000000000000000000000000000000000000000000000000168152f35b503461021857807ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc3601126102185760206040517fe4d38cd8000000000000000000000000000000000000000000000000000000008152f35b50346102185760207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc3601126102185760043580151580910361050257610f206129ad565b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00600b541660ff821617600b557f68c3b30f53252b4a7ebb8cbe118f644313c1c59953a3eb90ba5f43a42d242ae18280a280f35b503461021857807ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc3601126102185773ffffffffffffffffffffffffffffffffffffffff6020915416604051908152f35b503461021857807ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261021857602061036361272d565b503461021857807ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261021857602060405173ffffffffffffffffffffffffffffffffffffffff7f0000000000000000000000000000000000000000000000000000000000000000168152f35b503461021857807ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc360112610218576020600854604051908152f35b503461021857807ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc360112610218576110e06129ad565b73ffffffffffffffffffffffffffffffffffffffff7f000000000000000000000000000000000000000000000000000000000000000016906040517f38d52e0f000000000000000000000000000000000000000000000000000000008152602081600481865afa9081156113af5782916113ba575b50602073ffffffffffffffffffffffffffffffffffffffff916024604051809481937f70a08231000000000000000000000000000000000000000000000000000000008352306004840152165afa9081156113af57829161137d575b50604051927f38d52e0f000000000000000000000000000000000000000000000000000000008452602084600481845afa93841561137257839461132f575b506040517fa9059cbb000000000000000000000000000000000000000000000000000000006020820190815273ffffffffffffffffffffffffffffffffffffffff9092166024820152604481018390528391829161127981606481015b037fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08101835282612301565b519082875af1926112886129f9565b84158015611301575b6112c55760208484807f8cc6a31cfb84df51d57b901b62a4accd2a9a6ed88b96f4c05bbbb7fee2af1afe6040519380a28152f35b906112fd85926040519384937fe7e40b5b00000000000000000000000000000000000000000000000000000000855260048501613392565b0390fd5b5080518015159081611314575b50611291565b6113289150602090830101602083016127f8565b155f61130e565b9093506020813d60201161136a575b8161134b60209383612301565b81010312611366578261135e819261270c565b9491506111f0565b8280fd5b3d915061133e565b6040513d85823e3d90fd5b90506020813d6020116113a7575b8161139860209383612301565b81010312610a9a57515f6111b1565b3d915061138b565b6040513d84823e3d90fd5b90506020813d602011611404575b816113d560209383612301565b810103126105025760206113fd73ffffffffffffffffffffffffffffffffffffffff9261270c565b9150611155565b3d91506113c8565b50346102185760207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc3601126102185773ffffffffffffffffffffffffffffffffffffffff6114596123d0565b6114616129ad565b168015610502577fffffffffffffffffffffffff0000000000000000000000000000000000000000600154161760015580f35b503461021857807ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc360112610218576114cb6129ad565b8073ffffffffffffffffffffffffffffffffffffffff81547fffffffffffffffffffffffff000000000000000000000000000000000000000081168355167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e08280a380f35b503461021857807ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc360112610218576020600754604051908152f35b503461021857807ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261021857602060405173ffffffffffffffffffffffffffffffffffffffff7f0000000000000000000000000000000000000000000000000000000000000000168152f35b503461021857807ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc3601126102185760206040517f00000000000000000000000000000000000000000000000000000000000000008152f35b503461021857807ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc3601126102185760206103636128b6565b503461021857807ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc360112610218576020600654604051908152f35b5034610218576116b836612416565b5090916116fc73ffffffffffffffffffffffffffffffffffffffff7f000000000000000000000000000000000000000000000000000000000000000016331461257d565b8215611bb95780602080611715935183010191016125e2565b907fe4d38cd8000000000000000000000000000000000000000000000000000000007fffffffff0000000000000000000000000000000000000000000000000000000083519261176484612546565b16149081611b98575b50611b705761177a61272d565b90805161178681612546565b61178f81612546565b611ac657506040517f026b1d5f00000000000000000000000000000000000000000000000000000000815260208160048173ffffffffffffffffffffffffffffffffffffffff7f0000000000000000000000000000000000000000000000000000000000000000165afa908115611abb578491611a7d575b5073ffffffffffffffffffffffffffffffffffffffff7f0000000000000000000000000000000000000000000000000000000000000000168361184a3083613487565b91868293838110611924575b505061186592935033906133c6565b9261186e6128b6565b8381106118c6576118b693611882916126ff565b937f61b0387ff9ecd027c4a1ba73e93a9fda499c31b71426acc80e90260fcea9215f309280a36118b0612862565b926126ba565b90610417604051928392836124e7565b60646040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601760248201527f696e636f6e73697374656e7420746f74616c56616c75650000000000000000006044820152fd5b90926119319294506126ff565b602073ffffffffffffffffffffffffffffffffffffffff60646119543087613487565b9660405195869384927f69328dec000000000000000000000000000000000000000000000000000000008452896004850152876024850152306044850152165af1918215611a72578792611a3e575b5081936119b03085613487565b92828110611a0e57506119c382826128a9565b83106119d55750508291868692611856565b916119e388926044946128a9565b7fcf479181000000000000000000000000000000000000000000000000000000008352600452602452fd5b88604491847f7c83fcf0000000000000000000000000000000000000000000000000000000008352600452602452fd5b9091506020813d602011611a6a575b81611a5a60209383612301565b81010312610a9a5751905f6119a3565b3d9150611a4d565b6040513d89823e3d90fd5b90506020813d602011611ab3575b81611a9860209383612301565b81010312611aaf57611aa99061270c565b5f611807565b8380fd5b3d9150611a8b565b6040513d86823e3d90fd5b8381600160049351611ad781612546565b611ae081612546565b03611b0b57507fd0df97cc000000000000000000000000000000000000000000000000000000008152fd5b60029051611b1881612546565b611b2181612546565b03611b4b577fd0df97cc000000000000000000000000000000000000000000000000000000008152fd5b7fd0df97cc000000000000000000000000000000000000000000000000000000008152fd5b6004837f564500f8000000000000000000000000000000000000000000000000000000008152fd5b9050611ba381612546565b15801590611bb2575b5f61176d565b5082611bac565b6044847f7c83fcf0000000000000000000000000000000000000000000000000000000008152600160045280602452fd5b50346102185760207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc360112610218576020906103636129ad565b503461021857807ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261021857602060405173ffffffffffffffffffffffffffffffffffffffff7f0000000000000000000000000000000000000000000000000000000000000000168152f35b50346102185760607ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261021857611ccc6123d0565b906024359067ffffffffffffffff82116102185750611cef9036906004016123b2565b611cf76129ad565b60ff600b5416611d11576020916103639160443591612dbe565b60646040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600960248201527f656d657267656e637900000000000000000000000000000000000000000000006044820152fd5b50346102185760207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc3601126102185760043580151580910361050257611db46129ad565b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff006009541660ff8216176009557fdbf0df65d86a051acc8692d340075569c05e0370232c91318c82a5783937ad3d8280a280f35b50346102185760a07ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261021857611e406123d0565b90611e496123f3565b906084359067ffffffffffffffff821161021857366023830112156102185781600401359067ffffffffffffffff82116102185736602483850101116102185760206103638686611ea78787611e9d6129ad565b602436920161237c565b916064359160443591612a28565b5034610a9a57611ec436612416565b505090611f0873ffffffffffffffffffffffffffffffffffffffff7f000000000000000000000000000000000000000000000000000000000000000016331461257d565b60ff600b54166121fe5781156121cd5780602080611f2b935183010191016125e2565b8051611f3681612546565b611f3f81612546565b612162575073ffffffffffffffffffffffffffffffffffffffff7f000000000000000000000000000000000000000000000000000000000000000016611f853082613487565b82811061213357506040517f026b1d5f00000000000000000000000000000000000000000000000000000000815260208160048173ffffffffffffffffffffffffffffffffffffffff7f0000000000000000000000000000000000000000000000000000000000000000165afa80156120db575f906120e6575b73ffffffffffffffffffffffffffffffffffffffff915016906120238383836133c6565b813b15610a9a575f916084839260405194859384927f617ba03700000000000000000000000000000000000000000000000000000000845260048401528760248401523060448401528160648401525af180156120db576120c4575b506118b6909161208d61272d565b906120966128b6565b937fa4785e244c5b065bbf149ba5b5ffb8922e35f0ed3201e69bc4da313d1a9c8842309280a36118b0612862565b6120d19192505f90612301565b5f906118b661207f565b6040513d5f823e3d90fd5b506020813d60201161212b575b8161210060209383612301565b81010312610a9a5761212673ffffffffffffffffffffffffffffffffffffffff9161270c565b611fff565b3d91506120f3565b827fcf479181000000000000000000000000000000000000000000000000000000005f5260045260245260445ffd5b6001905161216f81612546565b61217881612546565b036121a5577fd0df97cc000000000000000000000000000000000000000000000000000000005f5260045ffd5b7fd0df97cc000000000000000000000000000000000000000000000000000000005f5260045ffd5b7f7c83fcf0000000000000000000000000000000000000000000000000000000005f5260016004525f60245260445ffd5b7f454a60b8000000000000000000000000000000000000000000000000000000005f523060045260245ffd5b34610a9a575f7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc360112610a9a576020604051670de0b6b3a76400008152f35b34610a9a575f7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc360112610a9a5760209073ffffffffffffffffffffffffffffffffffffffff600154168152f35b6040810190811067ffffffffffffffff8211176122d457604052565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52604160045260245ffd5b90601f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0910116810190811067ffffffffffffffff8211176122d457604052565b67ffffffffffffffff81116122d457601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe01660200190565b92919261238882612342565b916123966040519384612301565b829481845281830111610a9a578281602093845f960137010152565b9080601f83011215610a9a578160206123cd9335910161237c565b90565b6004359073ffffffffffffffffffffffffffffffffffffffff82168203610a9a57565b6024359073ffffffffffffffffffffffffffffffffffffffff82168203610a9a57565b60807ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc820112610a9a576004359067ffffffffffffffff8211610a9a5761245f916004016123b2565b90602435906044357fffffffff0000000000000000000000000000000000000000000000000000000081168103610a9a579060643573ffffffffffffffffffffffffffffffffffffffff81168103610a9a5790565b90602080835192838152019201905f5b8181106124d15750505090565b82518452602093840193909201916001016124c4565b9291906124fe6020916040865260408601906124b4565b930152565b907fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f602080948051918291828752018686015e5f8582860101520116010190565b6003111561255057565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52602160045260245ffd5b1561258457565b60646040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600260248201527f50440000000000000000000000000000000000000000000000000000000000006044820152fd5b602081830312610a9a5780519067ffffffffffffffff8211610a9a570190604082820312610a9a5760405191612617836122b8565b80516003811015610a9a57835260208101519067ffffffffffffffff8211610a9a570190604082820312610a9a5760405191612652836122b8565b805167ffffffffffffffff8111610a9a5781019180601f84011215610a9a57825161267c81612342565b9161268a6040519384612301565b81835260208286010111610a9a576020815f92828097018386015e83010152835201516020820152602082015290565b81810392915f1380158285131691841216176126d257565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601160045260245ffd5b919082039182116126d257565b519073ffffffffffffffffffffffffffffffffffffffff82168203610a9a57565b6040517fc69507dd0000000000000000000000000000000000000000000000000000000081527f0000000000000000000000000000000000000000000000000000000000000000600482015260208160248173ffffffffffffffffffffffffffffffffffffffff7f0000000000000000000000000000000000000000000000000000000000000000165afa9081156120db575f916127c9575090565b90506020813d6020116127f0575b816127e460209383612301565b81010312610a9a575190565b3d91506127d7565b90816020910312610a9a57518015158103610a9a5790565b67ffffffffffffffff81116122d45760051b60200190565b8051156128355760200190565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52603260045260245ffd5b604051612870604082612301565b60018152602036818301377f00000000000000000000000000000000000000000000000000000000000000006128a582612828565b5290565b919082018092116126d257565b6040517f70a0823100000000000000000000000000000000000000000000000000000000815230600482015260208160248173ffffffffffffffffffffffffffffffffffffffff7f0000000000000000000000000000000000000000000000000000000000000000165afa80156120db575f90612979575b6123cd91506129733073ffffffffffffffffffffffffffffffffffffffff7f000000000000000000000000000000000000000000000000000000000000000016613487565b906128a9565b506020813d6020116129a5575b8161299360209383612301565b81010312610a9a576123cd905161292e565b3d9150612986565b73ffffffffffffffffffffffffffffffffffffffff5f541633036129cd57565b7f118cdaa7000000000000000000000000000000000000000000000000000000005f523360045260245ffd5b3d15612a23573d90612a0a82612342565b91612a186040519384612301565b82523d5f602084013e565b606090565b6001546040517f095ea7b3000000000000000000000000000000000000000000000000000000006020820190815273ffffffffffffffffffffffffffffffffffffffff90921660248201526044810194909452939493919290915f91829190612a94816064810161124d565b519082865af1612aa26129f9565b81158015612d90575b612d5957505073ffffffffffffffffffffffffffffffffffffffff1690604051927f70a08231000000000000000000000000000000000000000000000000000000008452306004850152602084602481865afa9384156120db575f94612d25575b505f809173ffffffffffffffffffffffffffffffffffffffff6001541682602083519301915af1612b3b6129f9565b5015612ce1575f8073ffffffffffffffffffffffffffffffffffffffff6001541660405160208101917f095ea7b3000000000000000000000000000000000000000000000000000000008352602482015282604482015260448152612ba1606482612301565b519082855af190612bb06129f9565b82158015612cb3575b612c7d57505050906020602492604051938480927f70a082310000000000000000000000000000000000000000000000000000000082523060048301525afa80156120db575f90612c49575b612c0f92506126ff565b90808210612c1b575090565b7f7c83fcf0000000000000000000000000000000000000000000000000000000005f5260045260245260445ffd5b506020823d602011612c75575b81612c6360209383612301565b81010312610a9a57612c0f9151612c05565b3d9150612c56565b6112fd906040519384937fe7e40b5b00000000000000000000000000000000000000000000000000000000855260048501613392565b5080518015159081612cc6575b50612bb9565b612cda9150602090830101602083016127f8565b155f612cc0565b73ffffffffffffffffffffffffffffffffffffffff600154167f7a1cd8fa000000000000000000000000000000000000000000000000000000005f5260045260245ffd5b9093506020813d602011612d51575b81612d4160209383612301565b81010312610a9a5751925f612b0c565b3d9150612d34565b6112fd84916040519384937fe7e40b5b00000000000000000000000000000000000000000000000000000000855260048501613392565b5080518015159081612da3575b50612aab565b612db79150602090830101602083016127f8565b155f612d9d565b91604091825193612dcf8486612301565b6001855260208501907fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0850136833773ffffffffffffffffffffffffffffffffffffffff612e1c87612828565b9116905273ffffffffffffffffffffffffffffffffffffffff7f000000000000000000000000000000000000000000000000000000000000000016948451917f70a082310000000000000000000000000000000000000000000000000000000083523060048401526020836024818a5afa9283156131e0575f9361335e575b5085517fbf90f63a00000000000000000000000000000000000000000000000000000000815260206004820152915160248301819052829160448301915f5b81811061332f5750505090805f9203818373ffffffffffffffffffffffffffffffffffffffff7f0000000000000000000000000000000000000000000000000000000000000000165af1801561322757613231575b508351907f70a08231000000000000000000000000000000000000000000000000000000008252306004830152602082602481895afa8015613227575f906131f3575b612f7c92506126ff565b9182156131ea5783519280867ffc30cddea38e2bf4d6ea7d3f9ed3b6ad7f176419f4963bd81318067a4aee73fe5f80a373ffffffffffffffffffffffffffffffffffffffff7f000000000000000000000000000000000000000000000000000000000000000016957f38d52e0f0000000000000000000000000000000000000000000000000000000085526020856004818a5afa80156131e0575f906131a5575b6130279550612a28565b918151907f38d52e0f000000000000000000000000000000000000000000000000000000008252602082600481845afa91821561319b575f9261315c575b5082517fa9059cbb000000000000000000000000000000000000000000000000000000006020820190815273ffffffffffffffffffffffffffffffffffffffff9092166024820152604481018590525f9182916130c5816064810161124d565b519082855af1916130d46129f9565b90823b158015613154575b8015613126575b6130f1575050505090565b906112fd91519384937fe7e40b5b00000000000000000000000000000000000000000000000000000000855260048501613392565b5081518015159081613139575b506130e6565b61314d9150602090840101602084016127f8565b155f613133565b5083156130df565b9091506020813d602011613193575b8161317860209383612301565b81010312610a9a575f61318b819261270c565b929150613065565b3d915061316b565b83513d5f823e3d90fd5b506020853d6020116131d8575b816131bf60209383612301565b81010312610a9a576131d36130279561270c565b61301d565b3d91506131b2565b86513d5f823e3d90fd5b50505050505f90565b506020823d60201161321f575b8161320d60209383612301565b81010312610a9a57612f7c9151612f72565b3d9150613200565b85513d5f823e3d90fd5b3d805f833e6132408183612301565b8101908581830312610a9a57805167ffffffffffffffff8111610a9a57810182601f82011215610a9a57805160208061327883612810565b6132848b519182612301565b838152019160051b83010191848311610a9a57602001905b8282106133175750505060208101519067ffffffffffffffff8211610a9a570181601f82011215610a9a578051906020806132d684612810565b6132e28a519182612301565b848152019260051b820101928311610a9a57602001905b828210613307575050612f2f565b81518152602091820191016132f9565b602080916133248461270c565b81520191019061329c565b825173ffffffffffffffffffffffffffffffffffffffff16845285945060209384019390920191600101612eda565b9092506020813d60201161338a575b8161337a60209383612301565b81010312610a9a5751915f612e9b565b3d915061336d565b6123cd939273ffffffffffffffffffffffffffffffffffffffff606093168252151560208201528160408201520190612503565b6040517f095ea7b3000000000000000000000000000000000000000000000000000000006020820190815273ffffffffffffffffffffffffffffffffffffffff90931660248201526044810193909352915f918291613428816064810161124d565b519082855af1906134376129f9565b813b15801561347f575b8015613451575b612c7d57505050565b5080518015159081613464575b50613448565b6134789150602090830101602083016127f8565b155f61345e565b508215613441565b905f809160405173ffffffffffffffffffffffffffffffffffffffff60208201927f70a08231000000000000000000000000000000000000000000000000000000008452166024820152602481526134e0604482612301565b5190845afa6134ed6129f9565b91803b15801561355e575b8015613553575b61351d57505060208151918180820193849201010312610a9a575190565b6112fd836040519384937fe7e40b5b00000000000000000000000000000000000000000000000000000000855260048501613392565b5060208351106134ff565b5081156134f856fea164736f6c634300081c000a","sourceMap":"945:4497:7:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;7554:11:8;945:4497:7;7554:11:8;;;945:4497:7;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1182:35;945:4497;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;1500:62:0;;:::i;:::-;945:4497:7;2627:22:0;;2623:91;;945:4497:7;;;;;;;;;;;3052:40:0;;;;945:4497:7;;2623:91:0;945:4497:7;2672:31:0;;;;945:4497:7;;;2672:31:0;945:4497:7;;;;;;;;;;;;;;6650:11:8;;;6646:43;;3304:18:7;945:4497;;;;;;;;;;;;;3285:47;3325:6;945:4497;;;3285:47;:::i;:::-;945:4497;;;;;;;;;;;;;;;;6646:43:8;6670:19;;945:4497:7;6670:19:8;;945:4497:7;;;;;;6670:19:8;945:4497:7;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;1130:8:8;945:4497:7;;;;;;;;;;;;;;;;;;;;;;;1500:62:0;;:::i;:::-;945:4497:7;;;:::i;:::-;;8561:16:8;945:4497:7;;;;;;8561:16:8;945:4497:7;;;;:::i;:::-;8603:26:8;;;;945:4497:7;;;;;;;;;;;;;;;;;;;1267:41:8;945:4497:7;;;;;;1267:41:8;945:4497:7;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;1267:41:8;945:4497:7;;;1267:41:8;945:4497:7;1267:41:8;945:4497:7;1267:41:8;945:4497:7;;;1267:41:8;945:4497:7;;;;1267:41:8;945:4497:7;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;:::i;:::-;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;945:4497:7;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;1267:41:8;945:4497:7;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::i;:::-;;;;1500:62:0;;;:::i;:::-;945:4497:7;;;8043:16:8;;;945:4497:7;;;;4673:11;945:4497;4673:11;;945:4497;4673:3;945:4497;4673:3;945:4497;4673:3;945:4497;4673:11;;;;;;;;;;;945:4497;;;;;;;;4664:20;;:48;;;;945:4497;;;;;;8172:38:8;;8204:4;945:4497:7;8172:38:8;;945:4497:7;;8172:38:8;945:4497:7;8172:38:8;;;;;;;;;;;;;945:4497:7;8228:17:8;;;945:4497:7;;;;;8280:34:8;;945:4497:7;;;;;;8280:34:8;;945:4497:7;;;;;;;;;;;8280:34:8;;;;;;;;;8329:32;8280:34;945:4497:7;8280:34:8;;;945:4497:7;;;;;;;8329:32:8;945:4497:7;;8280:34:8;;;;;;;;;;;;;;:::i;:::-;;;;;:::i;:::-;;;;;;;;;945:4497:7;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8172:38:8;;;945:4497:7;8172:38:8;;945:4497:7;8172:38:8;;;;;;945:4497:7;8172:38:8;;;:::i;:::-;;;945:4497:7;;;;;8172:38:8;;;945:4497:7;-1:-1:-1;945:4497:7;;8172:38:8;;;-1:-1:-1;8172:38:8;;;945:4497:7;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4664:48;4705:6;945:4497;4705:6;945:4497;4688:24;;4664:48;;4673:11;;;;945:4497;4673:11;;945:4497;4673:11;;;;;;945:4497;4673:11;;;:::i;:::-;;;945:4497;;;;;;;;;:::i;:::-;4673:11;;;;;945:4497;;;;4673:11;;;-1:-1:-1;4673:11:7;;945:4497;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1500:62:0;;:::i;:::-;9394:4:8;9377:21;;945:4497:7;;;;9430:18:8;945:4497:7;9480:34:8;;;;945:4497:7;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;10524:33:8;;;945:4497:7;;;;;;;;;;;10551:4:8;945:4497:7;;;;;10524:33:8;;;;;;:::i;:::-;945:4497:7;;;;;10524:33:8;945:4497:7;;10524:33:8;945:4497:7;;;;:::i;:::-;;;;;;;;;;;;;;;;988:32;945:4497;;;;;;;;;;;;;;;;;;1602:22:8;945:4497:7;;;;;;;;;;;;;;;;;;;;;;;;;;1082:35;945:4497;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1500:62:0;;:::i;:::-;945:4497:7;9031:16:8;945:4497:7;;;;;;9031:16:8;945:4497:7;9062:14:8;;;;945:4497:7;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;1026:50;945:4497;;;;;;;;;;;;;;;;;9868:21:8;945:4497:7;;;;;;;;;;;;;;;;;;;1500:62:0;;:::i;:::-;945:4497:7;7554:3:8;945:4497:7;;;;;7554:11:8;;;;945:4497:7;7554:11:8;;;;;;;;;;;;;945:4497:7;;7554:11:8;945:4497:7;;7547:44:8;945:4497:7;;7547:44:8;;;;945:4497:7;7547:44:8;;7585:4;945:4497:7;7547:44:8;;945:4497:7;;7547:44:8;;;;;;;;;;;945:4497:7;;;;7624:11:8;945:4497:7;7624:11:8;;7554;7624;945:4497:7;7624:11:8;;;;;;;;;;;;;945:4497:7;-1:-1:-1;945:4497:7;;2008:24:16;7554:11:8;1985:67:16;;;;;945:4497:7;;;;7547:44:8;1985:67:16;;945:4497:7;;;;;;;;;;;1985:67:16;945:4497:7;;;;1985:67:16;;;;;;;;;:::i;:::-;1974:79;;;;;;;;;:::i;:::-;2068:8;;945:4497:7;;2068:59:16;;945:4497:7;2064:134:16;;7554:11:8;945:4497:7;;;7675:25:8;945:4497:7;;7675:25:8;;;945:4497:7;;;2064:134:16;945:4497:7;2150:37:16;945:4497:7;;;;2150:37:16;;;;;;945:4497:7;2150:37:16;;;:::i;:::-;;;;2068:59;945:4497:7;;;2081:16:16;;;:45;;;;2068:59;;;;2081:45;2102:24;;;7554:11:8;2102:24:16;;;;7554:11:8;2102:24:16;;;:::i;:::-;2101:25;2081:45;;;7624:11:8;;;;7554;7624;;7554;7624;;;;;;7554;7624;;;:::i;:::-;;;945:4497:7;;;;;;;;;:::i;:::-;7624:11:8;;;;;945:4497:7;;;;7624:11:8;;;-1:-1:-1;7624:11:8;;;945:4497:7;;;;;;;;;7547:44:8;;;7554:11;7547:44;;7554:11;7547:44;;;;;;945:4497:7;7547:44:8;;;:::i;:::-;;;945:4497:7;;;;;7547:44:8;;;;;;-1:-1:-1;7547:44:8;;;945:4497:7;;;;;;;;;7554:11:8;;;;;;;;;;;;;;;;;:::i;:::-;;;945:4497:7;;;;7554:11:8;945:4497:7;;;;:::i;:::-;7554:11:8;;;;;;;-1:-1:-1;7554:11:8;;945:4497:7;;;;;;;;;;;;;;;:::i;:::-;1500:62:0;;:::i;:::-;945:4497:7;9166:18:8;;945:4497:7;;;9195:22:8;945:4497:7;;;9195:22:8;945:4497:7;;;;;;;;;;;;;;;1500:62:0;;:::i;:::-;945:4497:7;;;;;;;;;;3052:40:0;;;;945:4497:7;;;;;;;;;;;;;;;10065:16:8;945:4497:7;;;;;;;;;;;;;;;;;;;;;;;1123:53;945:4497;;;;;;;;;;;;;;;;;;;1314:34:8;945:4497:7;;;;;;;;;;;;;;;;10734:13:8;;:::i;945:4497:7:-;;;;;;;;;;;;;9969:10:8;945:4497:7;;;;;;;;;;;;;;;:::i;:::-;1692:3:8;;;1662:41;945:4497:7;1692:3:8;945:4497:7;1670:10:8;:26;1662:41;:::i;:::-;3688:11;;3684:43;;945:4497:7;3780:38:8;945:4497:7;3780:38:8;945:4497:7;;3780:38:8;;;;;;:::i;:::-;945:4497:7;;;;;;;;;:::i;:::-;;6131:37:8;:96;;;;945:4497:7;6127:165:8;;;3920:12;;:::i;:::-;3943:25;945:4497:7;;;;;:::i;:::-;;;;:::i;:::-;3983:41:8;;945:4497:7;;;;2230:22;;3780:38:8;2230:12:7;945:4497;2230:12;945:4497;2230:12;945:4497;2230:22;;;;;;;;;;;3979:535:8;2285:13:7;945:4497;3693:8;945:4497;3712:4;3660:58;3712:4;3660:58;;:::i;:::-;2308:32;;;2355:20;;;;2351:627;;3979:535:8;1670:10;;3042:6:7;1670:10:8;;;;3042:6:7;;:::i;:::-;3979:535:8;4550:13;;:::i;:::-;4581:25;;;945:4497:7;;4776:45:8;4668:24;;;;:::i;:::-;4745:4;4707:44;4745:4;4707:44;;;4769:5;;:::i;:::-;4776:45;;:::i;:::-;945:4497:7;;;;;;;;;:::i;:::-;;;;;;;3780:38:8;945:4497:7;;;;;;;;;;;;;;;2351:627;2411:20;;;;;;;:::i;:::-;3780:38:8;945:4497:7;2559:58;2469;3712:4;2469:58;;:::i;:::-;945:4497;;;2559:58;;;;;945:4497;2559:58;;;945:4497;2559:58;;945:4497;;;;;;3712:4;945:4497;;;;;2559:58;;;;;;;;;;;2351:627;2541:76;;3712:4;2654:58;3712:4;2654:58;;:::i;:::-;2731:27;;;;2727:81;;2841:25;;;;;:::i;:::-;2826:40;;2822:146;;2351:627;;;;;;;;;2822:146;2913:25;;;;945:4497;2913:25;;:::i;:::-;2893:60;;;945:4497;;;;2893:60;2727:81;2767:41;945:4497;2767:41;;;;;945:4497;;;;2767:41;2559:58;;;;3780:38:8;2559:58:7;;3780:38:8;2559:58:7;;;;;;945:4497;2559:58;;;:::i;:::-;;;945:4497;;;;;2559:58;;;;;;;-1:-1:-1;2559:58:7;;;945:4497;;;;;;;;;2230:22;;;3780:38:8;2230:22:7;;3780:38:8;2230:22:7;;;;;;3780:38:8;2230:22:7;;;:::i;:::-;;;945:4497;;;;;;;:::i;:::-;2230:22;;;945:4497;;;;2230:22;;;-1:-1:-1;2230:22:7;;;945:4497;;;;;;;;;3979:535:8;945:4497:7;;;;;;;;;:::i;:::-;;;;:::i;:::-;4100:39:8;945:4497:7;;12047:20:8;;;;;4096:418;4272:24;945:4497:7;;;;;:::i;:::-;;;;:::i;:::-;4248:48:8;4272:24;;12047:20;;;;4244:270;4483:20;;;;6127:165;945:4497:7;6250:31:8;;;;;6131:96;945:4497:7;;;;;:::i;:::-;6173:27:8;;;:53;;;6131:96;;;;6173:53;;;;;3684:43;945:4497:7;3708:19:8;;;;3722:1;945:4497:7;;;;;3708:19:8;945:4497:7;;;;;;;;;;;;;1500:62:0;;;:::i;945:4497:7:-;;;;;;;;;;;;;;;;947:29:8;945:4497:7;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;:::i;:::-;1500:62:0;;:::i;:::-;945:4497:7;7290:10:8;945:4497:7;;;;;;7331:41:8;945:4497:7;;;7331:41:8;;:::i;945:4497:7:-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1500:62:0;;:::i;:::-;945:4497:7;8818:27:8;945:4497:7;;;;;;8818:27:8;945:4497:7;8871:27:8;;;;945:4497:7;;;;;;;;;;;;;;;;:::i;:::-;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5384:49;1500:62:0;;945:4497:7;1500:62:0;;;;:::i;:::-;945:4497:7;;;;;:::i;:::-;;;;;;;5384:49;;:::i;945:4497::-;;;;;;;;:::i;:::-;1692:3:8;;;1662:41;945:4497:7;1692:3:8;945:4497:7;1670:10:8;:26;1662:41;:::i;:::-;945:4497:7;2657:10:8;945:4497:7;;2653:62:8;;2729:11;;2725:43;;945:4497:7;2821:38:8;945:4497:7;2821:38:8;945:4497:7;;2821:38:8;;;;;;:::i;:::-;945:4497:7;;;;;:::i;:::-;;;;:::i;:::-;2907:41:8;;1857:8:7;945:4497;1857:8;945:4497;5804:46:8;5844:4;5804:46;;:::i;:::-;5864:16;;;5860:65;;945:4497:7;;;;1913:22;;2821:38:8;1913:12:7;945:4497;1913:12;945:4497;1913:12;945:4497;1913:22;;;;;;945:4497;1913:22;;;2903:309:8;945:4497:7;;;;2003:6;;;;;;:::i;:::-;2020:56;;;;;945:4497;;2020:56;945:4497;;;;2020:56;;;;;945:4497;2020:56;;945:4497;2020:56;;945:4497;;;;;;5844:4:8;945:4497:7;;;;;;;;;2020:56;;;;;;;;2903:309:8;2964:35;3385:45;2964:35;2903:309;3246:12;;:::i;:::-;3292:13;;;:::i;:::-;3354:4;3320:40;3354:4;3320:40;;;3378:5;;:::i;2020:56:7:-;;;;;945:4497;2020:56;;:::i;:::-;945:4497;;3385:45:8;2020:56:7;;;945:4497;;;;;;;;;1913:22;;2821:38:8;1913:22:7;;2821:38:8;1913:22:7;;;;;;2821:38:8;1913:22:7;;;:::i;:::-;;;945:4497;;;;;;;;:::i;:::-;1913:22;;;;;-1:-1:-1;1913:22:7;;5860:65:8;5889:36;;945:4497:7;5889:36:8;945:4497:7;;;;;;5889:36:8;2903:309;945:4497:7;;;;;;:::i;:::-;;;;:::i;:::-;3020:39:8;945:4497:7;;12047:20:8;945:4497:7;12047:20:8;945:4497:7;;12047:20:8;3016:196;3181:20;945:4497:7;3181:20:8;945:4497:7;;3181:20:8;2725:43;2749:19;945:4497:7;2749:19:8;2763:1;945:4497:7;;;;;;;2749:19:8;2653:62;2676:39;945:4497:7;2676:39:8;2709:4;945:4497:7;;;;2676:39:8;945:4497:7;;;;;;;;;;;;;;1189:4:8;945:4497:7;;;;;;;;;;;;;;;;;1028:30:8;945:4497:7;;;;;;;;;;;;;;;;;;;;:::o;:::-;;-1:-1:-1;945:4497:7;;;;;-1:-1:-1;945:4497:7;;;;;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;:::o;:::-;;;;;;;:::i;:::-;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;-1:-1:-1;945:4497:7;;;;;;:::o;:::-;;;;;;;;;;;;;;;;;;:::i;:::-;;:::o;:::-;;;;;;;;;;;:::o;:::-;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;-1:-1:-1;945:4497:7;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;-1:-1:-1;945:4497:7;;;;;;;;;;;:::o;:::-;;-1:-1:-1;945:4497:7;;;:::o;:::-;;;;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;:::i;:::-;;;;;;;;;;;;;;-1:-1:-1;945:4497:7;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;-1:-1:-1;945:4497:7;;;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;;;;:::o;10342:101:8:-;945:4497:7;;;10411:25:8;;10426:9;10411:25;;;945:4497:7;;10411:3:8;:25;:3;945:4497:7;10411:3:8;945:4497:7;10411:25:8;;;;;;;-1:-1:-1;10411:25:8;;;10404:32;10342:101;:::o;10411:25::-;;;945:4497:7;10411:25:8;;945:4497:7;10411:25:8;;;;;;945:4497:7;10411:25:8;;;:::i;:::-;;;945:4497:7;;;;;10342:101:8;:::o;10411:25::-;;;-1:-1:-1;10411:25:8;;945:4497:7;;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;;;;;:::o;:::-;;;;;;;;;:::o;:::-;;10213:1:8;945:4497:7;;;;;10213:1:8;945:4497:7;10094:161:8;945:4497:7;;;;;;:::i;:::-;10196:1:8;945:4497:7;;;;;;;;10218:9:8;10208:19;;;:::i;:::-;945:4497:7;10094:161:8;:::o;945:4497:7:-;;;;;;;;;;:::o;3345:220::-;945:4497;;;3511:31;;3536:4;3511:31;;;945:4497;;3511:6;:31;:6;945:4497;3511:6;945:4497;3511:31;;;;;;-1:-1:-1;3511:31:7;;;3345:220;3511:47;3545:13;;3660:58;3536:4;945:4497;3693:8;945:4497;3660:58;:::i;:::-;3511:47;;:::i;:31::-;;945:4497;3511:31;;945:4497;3511:31;;;;;;945:4497;3511:31;;;:::i;:::-;;;945:4497;;;;3511:47;945:4497;;3511:31;;;;;-1:-1:-1;3511:31:7;;1796:162:0;945:4497:7;1710:6:0;945:4497:7;;735:10:3;1855:23:0;1851:101;;1796:162::o;1851:101::-;1901:40;1710:6;1901:40;735:10:3;1901:40:0;945:4497:7;;1710:6:0;1901:40;945:4497:7;;;;;;;;;;:::i;:::-;;;;;;;;:::i;:::-;;;;-1:-1:-1;945:4497:7;;;;:::o;:::-;;;:::o;4936:695:8:-;5125:15;945:4497:7;;;2721:23:16;2698:63;;;;;;945:4497:7;;;;2698:63:16;;;945:4497:7;;;;;;;;4936:695:8;;;;;;;-1:-1:-1;;;;2698:63:16;;945:4497:7;;;;2698:63:16;945:4497:7;2698:63:16;2687:75;;;;;;;;:::i;:::-;2777:8;;945:4497:7;;2777:59:16;;4936:695:8;2773:134:16;;945:4497:7;;;;;;;5189:35:8;945:4497:7;5189:35:8;;5218:4;5189:35;;;945:4497:7;2698:63:16;5189:35:8;2698:63:16;5189:35:8;;;;;;;;;-1:-1:-1;5189:35:8;;;4936:695;945:4497:7;-1:-1:-1;945:4497:7;;;5125:15:8;945:4497:7;;5252:30:8;2698:63:16;5252:30:8;;;;;;;;;:::i;:::-;;5296:8;5292:56;;-1:-1:-1;945:4497:7;;5125:15:8;945:4497:7;;;;2698:63:16;;;;2721:23;2698:63;;;;;945:4497:7;;;;;;2698:63:16;;;;;;;:::i;:::-;2687:75;;;;;;;;;:::i;:::-;2777:8;;945:4497:7;;2777:59:16;;4936:695:8;2773:134:16;;945:4497:7;;;;2698:63:16;;945:4497:7;;;5441:35:8;;;;945:4497:7;5441:35:8;;5218:4;5189:35;5441;;945:4497:7;5441:35:8;;;;;;-1:-1:-1;5441:35:8;;;4936:695;5441:57;;;;:::i;:::-;5512:29;;;;5508:85;;5603:21;4936:695;:::o;5508:85::-;5550:43;-1:-1:-1;5550:43:8;5189:35;945:4497:7;2698:63:16;945:4497:7;2698:63:16;-1:-1:-1;5550:43:8;5441:35;;2698:63:16;5441:35:8;;2698:63:16;5441:35:8;;;;;;945:4497:7;5441:35:8;;;:::i;:::-;;;945:4497:7;;;;5441:57:8;945:4497:7;;5441:35:8;;;;;-1:-1:-1;5441:35:8;;2773:134:16;2859:37;945:4497:7;;;2859:37:16;;;;;;5189:35:8;2859:37:16;;;:::i;2777:59::-;945:4497:7;;;2790:16:16;;;:45;;;;2777:59;;;;2790:45;2811:24;;;2698:63;2811:24;;;;2698:63;2811:24;;;:::i;:::-;2810:25;2790:45;;;5292:56:8;945:4497:7;5125:15:8;945:4497:7;;5313:35:8;-1:-1:-1;5313:35:8;5189;945:4497:7;2698:63:16;-1:-1:-1;5313:35:8;5189;;;;2698:63:16;5189:35:8;;2698:63:16;5189:35:8;;;;;;945:4497:7;5189:35:8;;;:::i;:::-;;;945:4497:7;;;;;;-1:-1:-1;5189:35:8;;;;;-1:-1:-1;5189:35:8;;2773:134:16;2859:37;945:4497:7;;;;2859:37:16;;;;;;2698:63;2859:37;;;:::i;2777:59::-;945:4497:7;;;2790:16:16;;;:45;;;;2777:59;;;;2790:45;2811:24;;;2698:63;2811:24;;;;2698:63;2811:24;;;:::i;:::-;2810:25;2790:45;;;3731:822:7;;945:4497;;;;;;;;;:::i;:::-;3941:1;945:4497;;;;;;;;;;;;;3953:17;;;:::i;:::-;945:4497;;;;;4004:11;945:4497;;;;4004:36;945:4497;4004:36;;4034:4;4004:36;;;945:4497;;4004:36;;;;;;;;;;;945:4497;4004:36;;;3731:822;-1:-1:-1;945:4497:7;;;4050:47;;945:4497;4004:36;4050:47;;945:4497;;;4004:36;945:4497;;;;;;;;;;;-1:-1:-1;945:4497:7;;;;;;4050:47;;;;;945:4497;4050:47;;:17;;945:4497;4050:17;945:4497;4050:47;;;;;;;;945:4497;;;;4132:36;945:4497;4132:36;;4034:4;4004:36;4132;;945:4497;;4132:36;4004;4132;;;;;;;;945:4497;4132:36;;;945:4497;4132:51;;;;:::i;:::-;4197:19;;;4193:33;;945:4497;;4242:52;;;;945:4497;4242:52;;945:4497;4358:3;945:4497;4358:11;945:4497;4358:11;;945:4497;4358:11;4004:36;4358:11;;;;;;;;945:4497;4358:11;;;945:4497;4342:88;;;;:::i;:::-;945:4497;;;4472:11;945:4497;4472:11;;945:4497;4472:11;4004:36;4472:11;;;;;;;;;945:4497;4472:11;;;945:4497;-1:-1:-1;945:4497:7;;2795:24:17;945:4497:7;2772:67:17;;;;;945:4497:7;;;;4004:36;2772:67:17;;945:4497:7;;;;;;;;;;;2772:67:17;945:4497:7;;;;2772:67:17;945:4497:7;2772:67:17;2761:79;;;;;;;;;:::i;:::-;2855:17;;;:22;:34;;;;945:4497:7;2855:85:17;;;;945:4497:7;2851:160:17;;4525:21:7;;;;3731:822;:::o;2851:160:17:-;945:4497:7;2963:37:17;945:4497:7;;2963:37:17;;;;;;4004:36:7;2963:37:17;;;:::i;2855:85::-;945:4497:7;;;2894:16:17;;;:45;;;;2855:85;;;;2894:45;2915:24;;;945:4497:7;2915:24:17;;;;945:4497:7;2915:24:17;;;:::i;:::-;2914:25;2894:45;;;2855:34;2881:8;;;2855:34;;4472:11:7;;;;945:4497;4472:11;;945:4497;4472:11;;;;;;945:4497;4472:11;;;:::i;:::-;;;945:4497;;;;;;;;;:::i;:::-;4472:11;;;;;;;;-1:-1:-1;4472:11:7;;;945:4497;;;;;;;;;4358:11;;945:4497;4358:11;;945:4497;4358:11;;;;;;945:4497;4358:11;;;:::i;:::-;;;945:4497;;;;;4342:88;945:4497;;:::i;:::-;4358:11;;;;;-1:-1:-1;4358:11:7;;;945:4497;;;;;;;;;4193:33;4218:8;;;;;945:4497;4218:8;:::o;4132:36::-;;945:4497;4132:36;;945:4497;4132:36;;;;;;945:4497;4132:36;;;:::i;:::-;;;945:4497;;;;4132:51;945:4497;;4132:36;;;;;-1:-1:-1;4132:36:7;;;945:4497;;;;;;;;;4050:47;;;945:4497;4050:47;;;;;;:::i;:::-;;;945:4497;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;4050:47;;;;945:4497;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;-1:-1:-1;945:4497:7;;;;;;;;;3941:1;945:4497;;;4004:36;;;;945:4497;4004:36;;945:4497;4004:36;;;;;;945:4497;4004:36;;;:::i;:::-;;;945:4497;;;;;4004:36;;;;;;;-1:-1:-1;4004:36:7;;945:4497;;;;;;;;;;;;;;;;;;;;;;;;:::i;3364:375:17:-;945:4497:7;;3521:23:17;3498:63;;;;;;945:4497:7;;;;3498:63:17;;;945:4497:7;;;;;;;;3364:375:17;3487:75;;;;3498:63;945:4497:7;;;;3498:63:17;945:4497:7;3498:63:17;3487:75;;;;;;;;;:::i;:::-;3577:17;;:22;:34;;;;3364:375;3577:85;;;;3364:375;3573:160;;3364:375;;;:::o;3577:85::-;945:4497:7;;;3616:16:17;;;:45;;;;3577:85;;;;3616:45;3637:24;;;3498:63;3637:24;;;;3498:63;3637:24;;;:::i;:::-;3636:25;3616:45;;;3577:34;3603:8;;;3577:34;;1873:400;;-1:-1:-1;1873:400:17;;945:4497:7;;;2023:58:17;;;;2046:25;2023:58;;945:4497:7;2023:58:17;;;945:4497:7;2023:58:17;;;;;;;:::i;:::-;2006:76;;;;;;;:::i;:::-;2097:17;;;:22;:34;;;;1873:400;2097:54;;;;1873:400;2093:129;;945:4497:7;;;;;2239:27:17;;;;;;;;;;945:4497:7;;;;;1873:400:17;:::o;2093:129::-;2174:37;945:4497:7;;;2174:37:17;;;;;;2023:58;2174:37;;;:::i;2097:54::-;945:4497:7;2023:58:17;945:4497:7;;2135:16:17;2097:54;;:34;2123:8;;;2097:34;","linkReferences":{},"cborAuxdata":{"1":{"value":"0xa164736f6c634300081c000a","offset":13671}},"immutableReferences":{"3768":[{"start":3502,"length":32},{"start":6175,"length":32},{"start":8027,"length":32},{"start":10574,"length":32}],"3771":[{"start":4169,"length":32},{"start":6103,"length":32},{"start":8144,"length":32}],"3774":[{"start":2855,"length":32},{"start":3678,"length":32},{"start":10495,"length":32}],"3777":[{"start":5559,"length":32},{"start":12034,"length":32}],"3780":[{"start":500,"length":32},{"start":11831,"length":32}],"4257":[{"start":2217,"length":32},{"start":4343,"length":32},{"start":5845,"length":32},{"start":7280,"length":32},{"start":7905,"length":32},{"start":10134,"length":32},{"start":12227,"length":32}],"4273":[{"start":5649,"length":32},{"start":10069,"length":32},{"start":10365,"length":32}]},"transformations":[{"id":"3780","type":"replace","offset":500,"reason":"immutable"},{"id":"4257","type":"replace","offset":2217,"reason":"immutable"},{"id":"3774","type":"replace","offset":2855,"reason":"immutable"},{"id":"3768","type":"replace","offset":3502,"reason":"immutable"},{"id":"3774","type":"replace","offset":3678,"reason":"immutable"},{"id":"3771","type":"replace","offset":4169,"reason":"immutable"},{"id":"4257","type":"replace","offset":4343,"reason":"immutable"},{"id":"3777","type":"replace","offset":5559,"reason":"immutable"},{"id":"4273","type":"replace","offset":5649,"reason":"immutable"},{"id":"4257","type":"replace","offset":5845,"reason":"immutable"},{"id":"3771","type":"replace","offset":6103,"reason":"immutable"},{"id":"3768","type":"replace","offset":6175,"reason":"immutable"},{"id":"4257","type":"replace","offset":7280,"reason":"immutable"},{"id":"4257","type":"replace","offset":7905,"reason":"immutable"},{"id":"3768","type":"replace","offset":8027,"reason":"immutable"},{"id":"3771","type":"replace","offset":8144,"reason":"immutable"},{"id":"4273","type":"replace","offset":10069,"reason":"immutable"},{"id":"4257","type":"replace","offset":10134,"reason":"immutable"},{"id":"4273","type":"replace","offset":10365,"reason":"immutable"},{"id":"3774","type":"replace","offset":10495,"reason":"immutable"},{"id":"3768","type":"replace","offset":10574,"reason":"immutable"},{"id":"3780","type":"replace","offset":11831,"reason":"immutable"},{"id":"3777","type":"replace","offset":12034,"reason":"immutable"},{"id":"4257","type":"replace","offset":12227,"reason":"immutable"}],"transformationValues":{"immutables":{"3768":"0x0000000000000000000000001abaea1f7c830bd89acc67ec4af516284b1bc33c","3771":"0x0000000000000000000000002f39d218133afab8f2b819b1066c7e434ad94e9e","3774":"0x000000000000000000000000aa6e91c82942aeae040303bf96c15a6dbcb82ca0","3777":"0x0000000000000000000000008164cc65827dcfe994ab23944cbc90e0aa80bfcb","3780":"0x000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2","4257":"0x0000000000000000000000002f99e35ea811f3cc230b26dff817604b5d4b6e38","4273":"0xa6f0995d586f71e7bd3736a025bfdda1029a704ce145ae7f2ab8775275648f9c"}}},"deployment":{"transactionHash":"0x98bd536faa458490a1329ee03ed47bb082e224c3d3638f48dfe993c0113583f3","blockNumber":"25336408","transactionIndex":"93","deployer":"0xfa61edF2AAF38c103461F7f6493BA36cB16E42Dc"},"sources":{"src/adapters/AaveStrategy.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity 0.8.28;\n\nimport {IERC20} from \"../../lib/openzeppelin-contracts/contracts/token/ERC20/IERC20.sol\";\nimport {MYTStrategy} from \"./MYTStrategy.sol\";\nimport {TokenUtils} from \"../libraries/TokenUtils.sol\";\n\ninterface IAavePool {\n    function supply(address asset, uint256 amount, address onBehalfOf, uint16 referralCode) external;\n    function withdraw(address asset, uint256 amount, address to) external returns (uint256);\n}\n\ninterface IPoolAddressProvider {\n    function getPool() external view returns (address);\n}\n\ninterface IAaveAToken {\n    function balanceOf(address) external view returns (uint256);\n}\n\ninterface IRewardsController {\n    function claimAllRewardsToSelf(address[] calldata assets)\n        external\n        returns (address[] memory rewardsList, uint256[] memory claimedAmounts);\n}\n\n/**\n * @title AaveStrategy\n * @notice Generic deployable strategy for Aave v3 integrations.\n */\ncontract AaveStrategy is MYTStrategy {\n    IERC20 public immutable mytAsset;\n    IPoolAddressProvider public immutable poolProvider;\n    IAaveAToken public immutable aToken;\n    IRewardsController public immutable rewardsController;\n    IERC20 public immutable rewardToken;\n\n    constructor(\n        address _myt,\n        StrategyParams memory _params,\n        address _mytAsset,\n        address _aToken,\n        address _poolProvider,\n        address _rewardsController,\n        address _rewardToken\n    ) MYTStrategy(_myt, _params) {\n        mytAsset = IERC20(_mytAsset);\n        aToken = IAaveAToken(_aToken);\n        poolProvider = IPoolAddressProvider(_poolProvider);\n        rewardsController = IRewardsController(_rewardsController);\n        rewardToken = IERC20(_rewardToken);\n    }\n\n    function _allocate(uint256 amount) internal virtual override returns (uint256) {\n        _ensureIdleBalance(address(mytAsset), amount);\n\n        IAavePool pool = IAavePool(poolProvider.getPool());\n        TokenUtils.safeApprove(address(mytAsset), address(pool), amount);\n        pool.supply(address(mytAsset), amount, address(this), 0);\n        return amount;\n    }\n\n    function _deallocate(uint256 amount) internal virtual override returns (uint256) {\n        IAavePool pool = IAavePool(poolProvider.getPool());\n        uint256 idleBalance = _idleAssets();\n        uint256 withdrawnAmount = amount;\n\n        if (idleBalance < amount) {\n            uint256 shortfall = amount - idleBalance;\n            uint256 balanceBefore = TokenUtils.safeBalanceOf(address(mytAsset), address(this));\n            withdrawnAmount = pool.withdraw(address(mytAsset), shortfall, address(this));\n            uint256 balanceAfter = TokenUtils.safeBalanceOf(address(mytAsset), address(this));\n\n            if (withdrawnAmount < shortfall) revert InvalidAmount(shortfall, withdrawnAmount);\n            if (balanceAfter < balanceBefore + shortfall) {\n                revert InsufficientBalance(balanceBefore + shortfall, balanceAfter);\n            }\n        }\n\n        TokenUtils.safeApprove(address(mytAsset), msg.sender, amount);\n        return withdrawnAmount;\n    }\n\n    function _previewAdjustedWithdraw(uint256 amount) internal view virtual override returns (uint256) {\n        // Aave doesn't charge withdrawal fees, so we just apply slippage.\n        return amount - (amount * params.slippageBPS / 10_000);\n    }\n\n    function _totalValue() internal view virtual override returns (uint256) {\n        // aToken balance reflects principal + interest in underlying units.\n        return aToken.balanceOf(address(this)) + _idleAssets();\n    }\n\n    function _idleAssets() internal view virtual override returns (uint256) {\n        return TokenUtils.safeBalanceOf(address(mytAsset), address(this));\n    }\n\n    function _claimRewards(address token, bytes memory quote, uint256 minAmountOut)\n        internal\n        virtual\n        override\n        returns (uint256)\n    {\n        address[] memory assets = new address[](1);\n        assets[0] = token;\n\n        uint256 rewardBefore = rewardToken.balanceOf(address(this));\n        rewardsController.claimAllRewardsToSelf(assets);\n        uint256 rewardReceived = rewardToken.balanceOf(address(this)) - rewardBefore;\n        if (rewardReceived == 0) return 0;\n\n        emit RewardsClaimed(address(rewardToken), rewardReceived);\n\n        uint256 assetsReceived =\n            dexSwap(address(MYT.asset()), address(rewardToken), rewardReceived, minAmountOut, quote);\n        TokenUtils.safeTransfer(address(MYT.asset()), address(MYT), assetsReceived);\n        return assetsReceived;\n    }\n\n    function _isProtectedToken(address token) internal view virtual override returns (bool) {\n        return token == MYT.asset() || token == address(aToken);\n    }\n\n    /// @notice Admin only function to perform a DEX swap via the 0x AllowanceHolder.\n    /// @param to The target token address (token to buy).\n    /// @param from The source token address (token to sell).\n    /// @param amount The amount of `from` tokens to swap.\n    /// @param minAmountOut The minimum amount of `to` tokens expected.\n    /// @param callData The calldata for the 0x interaction.\n    /// @return amountReceived The amount of `to` tokens received.\n    function adminDexSwap(address to, address from, uint256 amount, uint256 minAmountOut, bytes calldata callData)\n        external\n        onlyOwner\n        returns (uint256)\n    {\n        return dexSwap(to, from, amount, minAmountOut, callData);\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 ERC-20 standard as defined in the ERC.\n */\ninterface IERC20 {\n    /**\n     * @dev Emitted when `value` tokens are moved from one account (`from`) to\n     * another (`to`).\n     *\n     * Note that `value` may be zero.\n     */\n    event Transfer(address indexed from, address indexed to, uint256 value);\n\n    /**\n     * @dev Emitted when the allowance of a `spender` for an `owner` is set by\n     * a call to {approve}. `value` is the new allowance.\n     */\n    event Approval(address indexed owner, address indexed spender, uint256 value);\n\n    /**\n     * @dev Returns the value of tokens in existence.\n     */\n    function totalSupply() external view returns (uint256);\n\n    /**\n     * @dev Returns the value of tokens owned by `account`.\n     */\n    function balanceOf(address account) external view returns (uint256);\n\n    /**\n     * @dev Moves a `value` amount of tokens from the caller's account to `to`.\n     *\n     * Returns a boolean value indicating whether the operation succeeded.\n     *\n     * Emits a {Transfer} event.\n     */\n    function transfer(address to, uint256 value) external returns (bool);\n\n    /**\n     * @dev Returns the remaining number of tokens that `spender` will be\n     * allowed to spend on behalf of `owner` through {transferFrom}. This is\n     * zero by default.\n     *\n     * This value changes when {approve} or {transferFrom} are called.\n     */\n    function allowance(address owner, address spender) external view returns (uint256);\n\n    /**\n     * @dev Sets a `value` amount of tokens as the allowance of `spender` over the\n     * caller's tokens.\n     *\n     * Returns a boolean value indicating whether the operation succeeded.\n     *\n     * IMPORTANT: Beware that changing an allowance with this method brings the risk\n     * that someone may use both the old and the new allowance by unfortunate\n     * transaction ordering. One possible solution to mitigate this race\n     * condition is to first reduce the spender's allowance to 0 and set the\n     * desired value afterwards:\n     * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729\n     *\n     * Emits an {Approval} event.\n     */\n    function approve(address spender, uint256 value) external returns (bool);\n\n    /**\n     * @dev Moves a `value` amount of tokens from `from` to `to` using the\n     * allowance mechanism. `value` is then deducted from the caller's\n     * allowance.\n     *\n     * Returns a boolean value indicating whether the operation succeeded.\n     *\n     * Emits a {Transfer} event.\n     */\n    function transferFrom(address from, address to, uint256 value) external returns (bool);\n}\n"},"src/adapters/MYTStrategy.sol":{"content":"// SPDX-License-Identifier: MIT\n\npragma solidity 0.8.28;\n\nimport {IVaultV2} from \"../interfaces/IVaultV2.sol\";\nimport {Ownable} from \"../../lib/openzeppelin-contracts/contracts/access/Ownable.sol\";\nimport {IMYTStrategy} from \"./interfaces/IMYTStrategy.sol\";\nimport {IERC20} from \"../../lib/openzeppelin-contracts/contracts/token/ERC20/IERC20.sol\";\nimport {SafeERC20} from \"../libraries/SafeERC20.sol\";\nimport {TokenUtils} from \"../libraries/TokenUtils.sol\";\nimport {Math} from \"../../lib/openzeppelin-contracts/contracts/utils/math/Math.sol\";\n\ninterface IERC721Tiny {\n    function ownerOf(uint256 tokenId) external view returns (address);\n}\n\n/**\n * @title MYTStrategy\n * @notice The MYT is a Morpho V2 Vault, and each strategy is just a vault adapter which interfaces with a third party\n * protocol\n * @notice This contract should be inherited by all strategies\n */\ncontract MYTStrategy is IMYTStrategy, Ownable {\n    using Math for uint256;\n\n    IVaultV2 public immutable MYT;\n    // address public immutable receiptToken;\n    address public allowanceHolder; // 0x Allowance holder\n    uint256 public constant SECONDS_PER_YEAR = 365 days;\n    uint256 public constant FIXED_POINT_SCALAR = 1e18;\n    bytes4 public constant FORCE_DEALLOCATE_SELECTOR = 0xe4d38cd8;\n\n    IMYTStrategy.StrategyParams public params;\n    bytes32 public immutable adapterId;\n\n    /// @notice This value is true when the underlying protocol is known to\n    /// experience issues or security incidents. In this case the allocation step is simply\n    /// bypassed without reverts (to keep external allocators from reverting).\n    bool public killSwitch;\n\n    modifier onlyVault() {\n        require(msg.sender == address(MYT), \"PD\");\n        _;\n    }\n\n    /* ========== CONSTRUCTOR ========== */\n\n    /**\n     * @notice Constructor for the MYTStrategy contract\n     * @param _myt The address of the MYT vault\n     * @param _params The parameters for the strategy\n     */\n    constructor(address _myt, StrategyParams memory _params) Ownable(_params.owner) {\n        require(_params.owner != address(0));\n        require(_myt != address(0));\n        require(_params.slippageBPS < 5000);\n        MYT = IVaultV2(_myt);\n        params = _params;\n        adapterId = keccak256(abi.encode(\"this\", address(this)));\n        allowanceHolder = 0x0000000000001fF3684f28c67538d4D072C22734;\n    }\n\n    /* ========== CORE ADAPTER FUNCTIONS ========== */\n\n    /// @notice See Morpho V2 vault spec\n    function allocate(bytes memory data, uint256 assets, bytes4 selector, address sender)\n        external\n        onlyVault\n        returns (bytes32[] memory strategyIds, int256 change)\n    {\n        if (killSwitch) revert StrategyAllocationPaused(address(this));\n        if (assets == 0) revert InvalidAmount(1, 0);\n\n        VaultAdapterParams memory adapterParams = abi.decode(data, (VaultAdapterParams));\n        uint256 amountAllocated;\n\n        if (adapterParams.action == ActionType.direct) {\n            amountAllocated = _allocate(assets);\n        } else if (adapterParams.action == ActionType.swap) {\n            amountAllocated = _allocate(assets, adapterParams.swapParams.txData);\n        } else {\n            revert ActionNotSupported();\n        }\n\n        uint256 oldAllocation = allocation();\n        uint256 newAllocation = _totalValue();\n        emit Allocate(amountAllocated, address(this));\n        return (ids(), int256(newAllocation) - int256(oldAllocation));\n    }\n\n    /// @notice See Morpho V2 vault spec\n    function deallocate(bytes memory data, uint256 assets, bytes4 selector, address sender)\n        external\n        onlyVault\n        returns (bytes32[] memory strategyIds, int256 change)\n    {\n        if (assets == 0) revert InvalidAmount(1, 0);\n\n        VaultAdapterParams memory adapterParams = abi.decode(data, (VaultAdapterParams));\n        _validateDeallocateAction(adapterParams.action, selector);\n\n        uint256 oldAllocation = allocation();\n\n        uint256 amountDeallocated;\n\n        if (adapterParams.action == ActionType.direct) {\n            amountDeallocated = _deallocate(assets);\n        } else if (adapterParams.action == ActionType.swap) {\n            amountDeallocated = _deallocate(assets, adapterParams.swapParams.txData);\n        } else if (adapterParams.action == ActionType.unwrapAndSwap) {\n            amountDeallocated =\n                _deallocate(assets, adapterParams.swapParams.txData, adapterParams.swapParams.minIntermediateOut);\n        } else {\n            revert ActionNotSupported();\n        }\n\n        uint256 totalValueAfter = _totalValue();\n        require(totalValueAfter >= assets, \"inconsistent totalValue\");\n        uint256 newAllocation = totalValueAfter - assets;\n        emit Deallocate(amountDeallocated, address(this));\n        return (ids(), int256(newAllocation) - int256(oldAllocation));\n    }\n\n    /* ========== INTERNAL HELPER FUNCTIONS ========== */\n\n    /// @dev Helper to swap tokens via 0x\n    function dexSwap(address to, address from, uint256 amount, uint256 minAmountOut, bytes memory callData)\n        internal\n        returns (uint256)\n    {\n        SafeERC20.safeApprove(from, allowanceHolder, amount);\n        uint256 targetBalanceBefore = IERC20(to).balanceOf(address(this));\n        (bool success,) = allowanceHolder.call(callData);\n        if (!success) revert CounterfeitSettler(allowanceHolder);\n        SafeERC20.safeApprove(from, allowanceHolder, 0);\n\n        uint256 amountReceived = IERC20(to).balanceOf(address(this)) - targetBalanceBefore;\n        if (amountReceived < minAmountOut) revert InvalidAmount(minAmountOut, amountReceived);\n        return amountReceived;\n    }\n\n    /// @dev Helper to check if strategy holds enough idle assets\n    function _ensureIdleBalance(address asset, uint256 amount) internal view {\n        uint256 balance = TokenUtils.safeBalanceOf(asset, address(this));\n        if (balance < amount) revert InsufficientBalance(amount, balance);\n    }\n\n    /// @dev Force deallocations are limited to direct withdrawals on strategies that opt in.\n    function _validateDeallocateAction(ActionType action, bytes4 selector) internal view {\n        if (selector == FORCE_DEALLOCATE_SELECTOR && (action != ActionType.direct || !_canForceDeallocate())) {\n            revert ForceDeallocateSwapNotAllowed();\n        }\n    }\n\n    /* ========== VIEW FUNCTIONS ========== */\n\n    /// @notice helper function to estimate the correct amount that can be fully\n    /// withdrawn from a strategy, accounting for losses\n    /// due to slippage, protocol fees, and rounding differences\n    function previewAdjustedWithdraw(uint256 amount) external view returns (uint256) {\n        if (amount == 0) revert InvalidAmount(1, 0);\n        return _previewAdjustedWithdraw(amount);\n    }\n\n    /// @notice call this function to handle strategies with withdrawal queue NFT\n    function claimWithdrawalQueue(uint256 positionId) public virtual onlyOwner returns (uint256 ret) {\n        return _claimWithdrawalQueue(positionId);\n    }\n\n    /// @notice call this function to claim all available rewards from the respective\n    /// protocol of this strategy\n    function claimRewards(address token, bytes memory quote, uint256 minAmountOut)\n        public\n        virtual\n        onlyOwner\n        returns (uint256)\n    {\n        require(!killSwitch, \"emergency\");\n        return _claimRewards(token, quote, minAmountOut);\n    }\n\n    /// @notice withdraw any leftover assets back to the vault\n    function withdrawToVault() public virtual onlyOwner returns (uint256) {\n        uint256 leftover = IERC20(MYT.asset()).balanceOf(address(this));\n        SafeERC20.safeTransfer(MYT.asset(), address(MYT), leftover);\n        emit WithdrawToVault(leftover);\n        return leftover;\n    }\n\n    /// @notice Rescue arbitrary ERC20 tokens sent to this contract by mistake\n    /// @param token The token to rescue\n    /// @param to The recipient address\n    /// @param amount The amount to rescue\n    function rescueTokens(address token, address to, uint256 amount) external onlyOwner {\n        require(to != address(0), \"Invalid recipient\");\n        require(!_isProtectedToken(token), \"Protected token\");\n        uint256 balance = IERC20(token).balanceOf(address(this));\n        require(amount <= balance, \"Insufficient balance\");\n        IERC20(token).transfer(to, amount);\n        emit TokensRescued(token, to, amount);\n    }\n\n    /* ========== ADMIN FUNCTIONS ========== */\n\n    /// @notice recategorize this strategy to a different risk class\n    function setRiskClass(RiskClass newClass) public onlyOwner {\n        params.riskClass = newClass;\n        emit RiskClassUpdated(newClass);\n    }\n\n    /// @dev some protocols may pay yield in baby tokens\n    /// so we need to manually collect them\n    function setAdditionalIncentives(bool newValue) public onlyOwner {\n        params.additionalIncentives = newValue;\n        emit IncentivesUpdated(newValue);\n    }\n\n    /// @notice enter/exit emergency mode for this strategy\n    function setKillSwitch(bool val) public onlyOwner {\n        killSwitch = val;\n        emit Emergency(val);\n    }\n\n    function setAllowanceHolder(address _new) public onlyOwner {\n        require(_new != address(0));\n        allowanceHolder = _new;\n    }\n\n    /// @notice Update the slippage tolerance for this strategy\n    function setSlippageBPS(uint256 newSlippageBPS) public onlyOwner {\n        require(newSlippageBPS < 9999, \"Slippage too high\");\n        params.slippageBPS = newSlippageBPS;\n        emit SlippageBPSUpdated(newSlippageBPS);\n    }\n\n    /* ========== GETTERS ========== */\n\n    /// @notice get the current snapshotted estimated yield for this strategy.\n    /// This call does not guarantee the latest up-to-date yield and there might\n    /// be discrepancies from the respective protocols numbers.\n    function getEstimatedYield() public view returns (uint256) {\n        return params.estimatedYield;\n    }\n\n    function getCap() external view returns (uint256) {\n        return params.cap;\n    }\n\n    function getGlobalCap() external view returns (uint256) {\n        return params.globalCap;\n    }\n\n    function ids() public view returns (bytes32[] memory) {\n        bytes32[] memory ids_ = new bytes32[](1);\n        ids_[0] = adapterId;\n        return ids_;\n    }\n\n    /// @notice Returns the vault's current allocation tracking for this adapter\n    function allocation() public view returns (uint256) {\n        return MYT.allocation(adapterId);\n    }\n\n    function getIdData() external view returns (bytes memory) {\n        return abi.encode(\"this\", address(this));\n    }\n\n    /// @notice External function per IAdapter spec - returns total underlying value\n    function realAssets() external view virtual returns (uint256) {\n        return _totalValue();\n    }\n\n    /* ========== VIRTUAL FUNCTIONS ========== */\n\n    /// @dev Check if a token is protected and cannot be rescued.\n    /// Override this function in child contracts to add protocol-specific protected tokens\n    /// (e.g., receipt tokens, aTokens, mTokens, staking tokens).\n    /// @param token The token to check\n    /// @return True if the token is protected\n    function _isProtectedToken(address token) internal view virtual returns (bool) {\n        return token == MYT.asset();\n    }\n\n    /// @dev override this function to handle wrapping/allocation/moving funds to\n    /// the respective protocol of this strategy\n    /// @notice uint56 amount returned should be equal to the amount parameter passed in\n    /// @notice should attempt to log any loss due to rounding\n    function _allocate(uint256 amount) internal virtual returns (uint256) {\n        revert ActionNotSupported();\n    }\n\n    /// @dev override this function to handle wrapping/allocation/moving funds to\n    /// the respective protocol of this strategy\n    /// @notice uint56 amount returned should be equal to the amount parameter passed in\n    /// @notice should attempt to log any loss due to rounding\n    function _allocate(uint256 amount, bytes memory callData) internal virtual returns (uint256) {\n        revert ActionNotSupported();\n    }\n\n    /// @dev override this function to handle unwrapping/deallocation/moving funds from\n    /// the respective protocol of this strategy\n    /// @notice uint56 amount returned must be equal to the amount parameter passed in\n    /// @notice due to how MorphoVaultV2 internally handles deallocations,\n    /// strategies must have atleast >= amount available at the end of this function call\n    /// if not, the strategy will revert\n    /// @notice amount of asset must be approved to the vault (i.e. msg.sender)\n    function _deallocate(uint256 amount) internal virtual returns (uint256) {\n        revert ActionNotSupported();\n    }\n\n    /// @dev override this function to handle unwrapping/deallocation/moving funds from\n    /// the respective protocol of this strategy\n    /// @notice uint56 amount returned must be equal to the amount parameter passed in\n    /// @notice due to how MorphoVaultV2 internally handles deallocations,\n    /// strategies must have atleast >= amount available at the end of this function call\n    /// if not, the strategy will revert\n    /// @notice amount of asset must be approved to the vault (i.e. msg.sender)\n    function _deallocate(uint256 amount, bytes memory callData) internal virtual returns (uint256) {\n        revert ActionNotSupported();\n    }\n\n    /// @dev override this function to handle unwrapping/deallocation/moving funds from\n    /// the strategy to the vault using a swap with specified in calldata\n    /// @param amount the WETH amount expected to be returned to the vault\n    /// @param callData the 0x swap calldata\n    /// @param minIntermediateOutAmount the minimum amount of intermediate token expected to be received from the unwrap\n    function _deallocate(uint256 amount, bytes memory callData, uint256 minIntermediateOutAmount)\n        internal\n        virtual\n        returns (uint256)\n    {\n        revert ActionNotSupported();\n    }\n\n    /// @dev override this function to handle preview withdraw with slippage\n    /// @notice this function should be used to estimate the correct amount that can be fully withdrawn, accounting for\n    /// losses due to slippage, protocol fees, and rounding differences\n    function _previewAdjustedWithdraw(uint256 amount) internal view virtual returns (uint256) {}\n\n    /// @dev override this function to handle strategies with withdrawal queue NFT\n    function _claimWithdrawalQueue(uint256 positionId) internal virtual returns (uint256) {}\n\n    /// @dev override this function to claim all available rewards from the respective\n    /// protocol of this strategy in the form of a specific token\n    /// this ERC20 reward must then be converted to the MYT's asset\n    function _claimRewards(address token, bytes memory quote, uint256 minAmountOut)\n        internal\n        virtual\n        returns (uint256)\n    {}\n\n    /// @dev override this function to return the total underlying value of the strategy\n    /// @dev must return the total underling value of the strategy's position (i.e. in vault asset e.g. USDC or WETH)\n    function _totalValue() internal view virtual returns (uint256) {}\n\n    function _idleAssets() internal view virtual returns (uint256) {}\n\n    /// @dev override this function to return if the strategy can force deallocate\n    /// @return True if the strategy can force deallocate\n    function _canForceDeallocate() internal view virtual returns (bool) {\n        return true;\n    }\n}\n"},"src/libraries/TokenUtils.sol":{"content":"pragma solidity ^0.8.23;\n\nimport \"../../lib/openzeppelin-contracts/contracts/token/ERC20/IERC20.sol\";\nimport \"../../lib/openzeppelin-contracts/contracts/token/ERC20/extensions/IERC20Metadata.sol\";\nimport \"../interfaces/IERC20Burnable.sol\";\nimport \"../interfaces/IERC20Mintable.sol\";\n\n/// @title  TokenUtils\n/// @author Alchemix Finance\nlibrary TokenUtils {\n    /// @notice An error used to indicate that a call to an ERC20 contract failed.\n    ///\n    /// @param target  The target address.\n    /// @param success If the call to the token was a success.\n    /// @param data    The resulting data from the call. This is error data when the call was not a success. Otherwise,\n    ///                this is malformed data when the call was a success.\n    error ERC20CallFailed(address target, bool success, bytes data);\n\n    /// @dev A safe function to get the decimals of an ERC20 token.\n    ///\n    /// @dev Reverts with a {CallFailed} error if execution of the query fails or returns an unexpected value.\n    ///\n    /// @param token The target token.\n    ///\n    /// @return The amount of decimals of the token.\n    function expectDecimals(address token) internal view returns (uint8) {\n        (bool success, bytes memory data) = token.staticcall(abi.encodeWithSelector(IERC20Metadata.decimals.selector));\n\n        if (token.code.length == 0 || !success || data.length < 32) {\n            revert ERC20CallFailed(token, success, data);\n        }\n\n        return abi.decode(data, (uint8));\n    }\n\n    /// @dev Gets the balance of tokens held by an account.\n    ///\n    /// @dev Reverts with a {CallFailed} error if execution of the query fails or returns an unexpected value.\n    ///\n    /// @param token   The token to check the balance of.\n    /// @param account The address of the token holder.\n    ///\n    /// @return The balance of the tokens held by an account.\n    function safeBalanceOf(address token, address account) internal view returns (uint256) {\n        (bool success, bytes memory data) = token.staticcall(abi.encodeWithSelector(IERC20.balanceOf.selector, account));\n\n        if (token.code.length == 0 || !success || data.length < 32) {\n            revert ERC20CallFailed(token, success, data);\n        }\n\n        return abi.decode(data, (uint256));\n    }\n\n    /// @dev Transfers tokens to another address.\n    ///\n    /// @dev Reverts with a {CallFailed} error if execution of the transfer failed or returns an unexpected value.\n    ///\n    /// @param token     The token to transfer.\n    /// @param recipient The address of the recipient.\n    /// @param amount    The amount of tokens to transfer.\n    function safeTransfer(address token, address recipient, uint256 amount) internal {\n        (bool success, bytes memory data) =\n            token.call(abi.encodeWithSelector(IERC20.transfer.selector, recipient, amount));\n\n        if (token.code.length == 0 || !success || (data.length != 0 && !abi.decode(data, (bool)))) {\n            revert ERC20CallFailed(token, success, data);\n        }\n    }\n\n    /// @dev Approves tokens for the smart contract.\n    ///\n    /// @dev Reverts with a {CallFailed} error if execution of the approval fails or returns an unexpected value.\n    ///\n    /// @param token   The token to approve.\n    /// @param spender The contract to spend the tokens.\n    /// @param value   The amount of tokens to approve.\n    function safeApprove(address token, address spender, uint256 value) internal {\n        (bool success, bytes memory data) = token.call(abi.encodeWithSelector(IERC20.approve.selector, spender, value));\n\n        if (token.code.length == 0 || !success || (data.length != 0 && !abi.decode(data, (bool)))) {\n            revert ERC20CallFailed(token, success, data);\n        }\n    }\n\n    /// @dev Transfer tokens from one address to another address.\n    ///\n    /// @dev Reverts with a {CallFailed} error if execution of the transfer fails or returns an unexpected value.\n    ///\n    /// @param token     The token to transfer.\n    /// @param owner     The address of the owner.\n    /// @param recipient The address of the recipient.\n    /// @param amount    The amount of tokens to transfer.\n    function safeTransferFrom(address token, address owner, address recipient, uint256 amount) internal {\n        (bool success, bytes memory data) =\n            token.call(abi.encodeWithSelector(IERC20.transferFrom.selector, owner, recipient, amount));\n\n        if (token.code.length == 0 || !success || (data.length != 0 && !abi.decode(data, (bool)))) {\n            revert ERC20CallFailed(token, success, data);\n        }\n    }\n\n    /// @dev Mints tokens to an address.\n    ///\n    /// @dev Reverts with a {CallFailed} error if execution of the mint fails or returns an unexpected value.\n    ///\n    /// @param token     The token to mint.\n    /// @param recipient The address of the recipient.\n    /// @param amount    The amount of tokens to mint.\n    function safeMint(address token, address recipient, uint256 amount) internal {\n        (bool success, bytes memory data) =\n            token.call(abi.encodeWithSelector(IERC20Mintable.mint.selector, recipient, amount));\n\n        if (token.code.length == 0 || !success || (data.length != 0 && !abi.decode(data, (bool)))) {\n            revert ERC20CallFailed(token, success, data);\n        }\n    }\n\n    /// @dev Burns tokens.\n    ///\n    /// Reverts with a `CallFailed` error if execution of the burn fails or returns an unexpected value.\n    ///\n    /// @param token  The token to burn.\n    /// @param amount The amount of tokens to burn.\n    function safeBurn(address token, uint256 amount) internal {\n        (bool success, bytes memory data) = token.call(abi.encodeWithSelector(IERC20Burnable.burn.selector, amount));\n\n        if (token.code.length == 0 || !success || (data.length != 0 && !abi.decode(data, (bool)))) {\n            revert ERC20CallFailed(token, success, data);\n        }\n    }\n\n    /// @dev Burns tokens from its total supply.\n    ///\n    /// @dev Reverts with a {CallFailed} error if execution of the burn fails or returns an unexpected value.\n    ///\n    /// @param token  The token to burn.\n    /// @param owner  The owner of the tokens.\n    /// @param amount The amount of tokens to burn.\n    function safeBurnFrom(address token, address owner, uint256 amount) internal {\n        (bool success, bytes memory data) =\n            token.call(abi.encodeWithSelector(IERC20Burnable.burnFrom.selector, owner, amount));\n\n        if (token.code.length == 0 || !success || (data.length != 0 && !abi.decode(data, (bool)))) {\n            revert ERC20CallFailed(token, success, data);\n        }\n    }\n}\n"},"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/openzeppelin-contracts/contracts/access/Ownable.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.0.0) (access/Ownable.sol)\n\npragma solidity ^0.8.20;\n\nimport {Context} from \"../utils/Context.sol\";\n\n/**\n * @dev Contract module which provides a basic access control mechanism, where\n * there is an account (an owner) that can be granted exclusive access to\n * specific functions.\n *\n * The initial owner is set to the address provided by the deployer. This can\n * later be changed with {transferOwnership}.\n *\n * This module is used through inheritance. It will make available the modifier\n * `onlyOwner`, which can be applied to your functions to restrict their use to\n * the owner.\n */\nabstract contract Ownable is Context {\n    address private _owner;\n\n    /**\n     * @dev The caller account is not authorized to perform an operation.\n     */\n    error OwnableUnauthorizedAccount(address account);\n\n    /**\n     * @dev The owner is not a valid owner account. (eg. `address(0)`)\n     */\n    error OwnableInvalidOwner(address owner);\n\n    event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);\n\n    /**\n     * @dev Initializes the contract setting the address provided by the deployer as the initial owner.\n     */\n    constructor(address initialOwner) {\n        if (initialOwner == address(0)) {\n            revert OwnableInvalidOwner(address(0));\n        }\n        _transferOwnership(initialOwner);\n    }\n\n    /**\n     * @dev Throws if called by any account other than the owner.\n     */\n    modifier onlyOwner() {\n        _checkOwner();\n        _;\n    }\n\n    /**\n     * @dev Returns the address of the current owner.\n     */\n    function owner() public view virtual returns (address) {\n        return _owner;\n    }\n\n    /**\n     * @dev Throws if the sender is not the owner.\n     */\n    function _checkOwner() internal view virtual {\n        if (owner() != _msgSender()) {\n            revert OwnableUnauthorizedAccount(_msgSender());\n        }\n    }\n\n    /**\n     * @dev Leaves the contract without owner. It will not be possible to call\n     * `onlyOwner` functions. Can only be called by the current owner.\n     *\n     * NOTE: Renouncing ownership will leave the contract without an owner,\n     * thereby disabling any functionality that is only available to the owner.\n     */\n    function renounceOwnership() public virtual onlyOwner {\n        _transferOwnership(address(0));\n    }\n\n    /**\n     * @dev Transfers ownership of the contract to a new account (`newOwner`).\n     * Can only be called by the current owner.\n     */\n    function transferOwnership(address newOwner) public virtual onlyOwner {\n        if (newOwner == address(0)) {\n            revert OwnableInvalidOwner(address(0));\n        }\n        _transferOwnership(newOwner);\n    }\n\n    /**\n     * @dev Transfers ownership of the contract to a new account (`newOwner`).\n     * Internal function without access restriction.\n     */\n    function _transferOwnership(address newOwner) internal virtual {\n        address oldOwner = _owner;\n        _owner = newOwner;\n        emit OwnershipTransferred(oldOwner, newOwner);\n    }\n}\n"},"src/adapters/interfaces/IMYTStrategy.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity 0.8.28;\n\ninterface IMYTStrategy {\n    // Enums\n    enum RiskClass {\n        LOW,\n        MEDIUM,\n        HIGH\n    }\n\n    // Structs\n    struct StrategyParams {\n        address owner;\n        string name;\n        string protocol;\n        RiskClass riskClass;\n        uint256 cap;\n        uint256 globalCap;\n        uint256 estimatedYield;\n        bool additionalIncentives;\n        uint256 slippageBPS;\n    }\n\n    enum ActionType {\n        direct, // for wrap/unwrap\n        swap, // for dex swap\n        unwrapAndSwap // for unwrap -> dex swap\n    }\n\n    struct VaultAdapterParams {\n        ActionType action;\n        SwapParams swapParams;\n    }\n\n    struct SwapParams {\n        bytes txData; // 0x swap calldata\n        uint256 minIntermediateOut; // Minimum intermediate token out (e.g., stETH from unwrap)\n    } // Only used for ActionType.unwrapAndSwap\n\n    // Events\n    event Allocate(uint256 indexed amount, address indexed strategy);\n    event Deallocate(uint256 indexed amount, address indexed strategy);\n    event DeallocateDex(uint256 indexed amount);\n    event YieldUpdated(uint256 indexed yield);\n    event RiskClassUpdated(RiskClass indexed class);\n    event IncentivesUpdated(bool indexed enabled);\n    event SlippageBPSUpdated(uint256 indexed newSlippageBPS);\n    event MinAllocationOutBpsUpdated(uint256 indexed newMinAllocationOutBps);\n    event Emergency(bool indexed isEmergency);\n    event StrategyAllocationLoss(string message, uint256 amountRequested, uint256 actualAmountAllocated);\n    event WithdrawToVault(uint256 indexed amount);\n    event RewardsClaimed(address indexed token, uint256 indexed amount);\n    event TokensRescued(address indexed token, address indexed to, uint256 amount);\n    // Errors\n    error StrategyAllocationPaused(address strategy);\n    error CounterfeitSettler(address);\n    error ActionNotSupported();\n    error ForceDeallocateSwapNotAllowed();\n    error InvalidAmount(uint256 min, uint256 received);\n    error InsufficientBalance(uint256 required, uint256 available);\n\n    // Functions\n    /// @dev wrapper function for the customizable _allocate counterpart\n    function allocate(bytes memory data, uint256 assets, bytes4 selector, address sender)\n        external\n        returns (bytes32[] memory strategyIds, int256 change);\n\n    /// @dev wrapper function for the customizable _deallocate counterpart\n    function deallocate(bytes memory data, uint256 assets, bytes4 selector, address sender)\n        external\n        returns (bytes32[] memory strategyIds, int256 change);\n\n    /// @dev alternative withdraw/deallocate route using a 0x quote\n    //function deallocateDex(bytes memory data, uint256 amount) external returns (bytes32[] memory strategyIds, int256 change);\n\n    /// @dev override this function to handle strategies with withdrawal queue NFT\n    function claimWithdrawalQueue(uint256 positionId) external returns (uint256);\n\n    /// @notice withdraw any leftover assets back to the vault\n    function withdrawToVault() external returns (uint256);\n\n    /// @dev override this function to claim all available rewards from the respective\n    /// protocol of this strategy\n    function claimRewards(address token, bytes memory quote, uint256 minAmountOut) external returns (uint256);\n\n    /// @notice recategorize this strategy to a different risk class\n    function setRiskClass(RiskClass newClass) external;\n\n    function setAdditionalIncentives(bool newValue) external;\n\n    /// @notice enter/exit emergency mode for this strategy\n    function setKillSwitch(bool val) external;\n\n    /// @notice get the current snapshotted estimated yield for this strategy.\n    /// This call does not guarantee the latest up-to-date yield and there might\n    /// be discrepancies from the respective protocols numbers.\n    function getEstimatedYield() external view returns (uint256);\n\n    // Getter for params\n    function params()\n        external\n        view\n        returns (\n            address owner,\n            string memory name,\n            string memory protocol,\n            RiskClass riskClass,\n            uint256 cap,\n            uint256 globalCap,\n            uint256 estimatedYield,\n            bool additionalIncentives,\n            uint256 slippageBPS\n        );\n\n    function getCap() external view returns (uint256);\n    function getGlobalCap() external view returns (uint256);\n    function realAssets() external view returns (uint256);\n    function getIdData() external view returns (bytes memory);\n    function ids() external view returns (bytes32[] memory);\n    function adapterId() external view returns (bytes32);\n    function previewAdjustedWithdraw(uint256 amount) external view returns (uint256);\n}\n"},"src/libraries/SafeERC20.sol":{"content":"// SPDX-License-Identifier: AGPL-3.0-only\npragma solidity >=0.8.4;\n\nimport {IERC20} from \"../../lib/openzeppelin-contracts/contracts/token/ERC20/IERC20.sol\";\nimport {IERC20Metadata} from \"../../lib/openzeppelin-contracts/contracts/token/ERC20/extensions/IERC20Metadata.sol\";\n\n/// @title  SafeERC20\n/// @author Alchemix Finance\nlibrary SafeERC20 {\n    /// @notice An error used to indicate that a call to an ERC20 contract failed.\n    ///\n    /// @param target  The target address.\n    /// @param success If the call to the token was a success.\n    /// @param data    The resulting data from the call. This is error data when the call was not a\n    ///                success. Otherwise, this is malformed data when the call was a success.\n    error ERC20CallFailed(address target, bool success, bytes data);\n\n    /// @dev A safe function to get the decimals of an ERC20 token.\n    ///\n    /// @dev Reverts with a {CallFailed} error if execution of the query fails or returns an\n    ///      unexpected value.\n    ///\n    /// @param token The target token.\n    ///\n    /// @return The amount of decimals of the token.\n    function expectDecimals(address token) internal view returns (uint8) {\n        (bool success, bytes memory data) = token.staticcall(abi.encodeWithSelector(IERC20Metadata.decimals.selector));\n\n        if (!success || data.length < 32) {\n            revert ERC20CallFailed(token, success, data);\n        }\n\n        return abi.decode(data, (uint8));\n    }\n\n    /// @dev Transfers tokens to another address.\n    ///\n    /// @dev Reverts with a {CallFailed} error if execution of the transfer failed or returns an\n    ///      unexpected value.\n    ///\n    /// @param token     The token to transfer.\n    /// @param recipient The address of the recipient.\n    /// @param amount    The amount of tokens to transfer.\n    function safeTransfer(address token, address recipient, uint256 amount) internal {\n        (bool success, bytes memory data) =\n            token.call(abi.encodeWithSelector(IERC20.transfer.selector, recipient, amount));\n\n        if (!success || (data.length != 0 && !abi.decode(data, (bool)))) {\n            revert ERC20CallFailed(token, success, data);\n        }\n    }\n\n    /// @dev Approves tokens for the smart contract.\n    ///\n    /// @dev Reverts with a {CallFailed} error if execution of the approval fails or returns an\n    ///      unexpected value.\n    ///\n    /// @param token   The token to approve.\n    /// @param spender The contract to spend the tokens.\n    /// @param value   The amount of tokens to approve.\n    function safeApprove(address token, address spender, uint256 value) internal {\n        (bool success, bytes memory data) = token.call(abi.encodeWithSelector(IERC20.approve.selector, spender, value));\n\n        if (!success || (data.length != 0 && !abi.decode(data, (bool)))) {\n            revert ERC20CallFailed(token, success, data);\n        }\n    }\n\n    /// @dev Transfer tokens from one address to another address.\n    ///\n    /// @dev Reverts with a {CallFailed} error if execution of the transfer fails or returns an\n    ///      unexpected value.\n    ///\n    /// @param token     The token to transfer.\n    /// @param owner     The address of the owner.\n    /// @param recipient The address of the recipient.\n    /// @param amount    The amount of tokens to transfer.\n    function safeTransferFrom(address token, address owner, address recipient, uint256 amount) internal {\n        (bool success, bytes memory data) =\n            token.call(abi.encodeWithSelector(IERC20.transferFrom.selector, owner, recipient, amount));\n\n        if (!success || (data.length != 0 && !abi.decode(data, (bool)))) {\n            revert ERC20CallFailed(token, success, data);\n        }\n    }\n}\n"},"lib/openzeppelin-contracts/contracts/utils/math/Math.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.0.0) (utils/math/Math.sol)\n\npragma solidity ^0.8.20;\n\nimport {Panic} from \"../Panic.sol\";\nimport {SafeCast} from \"./SafeCast.sol\";\n\n/**\n * @dev Standard math utilities missing in the Solidity language.\n */\nlibrary Math {\n    enum Rounding {\n        Floor, // Toward negative infinity\n        Ceil, // Toward positive infinity\n        Trunc, // Toward zero\n        Expand // Away from zero\n    }\n\n    /**\n     * @dev Returns the addition of two unsigned integers, with an success flag (no overflow).\n     */\n    function tryAdd(uint256 a, uint256 b) internal pure returns (bool success, uint256 result) {\n        unchecked {\n            uint256 c = a + b;\n            if (c < a) return (false, 0);\n            return (true, c);\n        }\n    }\n\n    /**\n     * @dev Returns the subtraction of two unsigned integers, with an success flag (no overflow).\n     */\n    function trySub(uint256 a, uint256 b) internal pure returns (bool success, uint256 result) {\n        unchecked {\n            if (b > a) return (false, 0);\n            return (true, a - b);\n        }\n    }\n\n    /**\n     * @dev Returns the multiplication of two unsigned integers, with an success flag (no overflow).\n     */\n    function tryMul(uint256 a, uint256 b) internal pure returns (bool success, uint256 result) {\n        unchecked {\n            // Gas optimization: this is cheaper than requiring 'a' not being zero, but the\n            // benefit is lost if 'b' is also tested.\n            // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522\n            if (a == 0) return (true, 0);\n            uint256 c = a * b;\n            if (c / a != b) return (false, 0);\n            return (true, c);\n        }\n    }\n\n    /**\n     * @dev Returns the division of two unsigned integers, with a success flag (no division by zero).\n     */\n    function tryDiv(uint256 a, uint256 b) internal pure returns (bool success, uint256 result) {\n        unchecked {\n            if (b == 0) return (false, 0);\n            return (true, a / b);\n        }\n    }\n\n    /**\n     * @dev Returns the remainder of dividing two unsigned integers, with a success flag (no division by zero).\n     */\n    function tryMod(uint256 a, uint256 b) internal pure returns (bool success, uint256 result) {\n        unchecked {\n            if (b == 0) return (false, 0);\n            return (true, a % b);\n        }\n    }\n\n    /**\n     * @dev Branchless ternary evaluation for `a ? b : c`. Gas costs are constant.\n     *\n     * IMPORTANT: This function may reduce bytecode size and consume less gas when used standalone.\n     * However, the compiler may optimize Solidity ternary operations (i.e. `a ? b : c`) to only compute\n     * one branch when needed, making this function more expensive.\n     */\n    function ternary(bool condition, uint256 a, uint256 b) internal pure returns (uint256) {\n        unchecked {\n            // branchless ternary works because:\n            // b ^ (a ^ b) == a\n            // b ^ 0 == b\n            return b ^ ((a ^ b) * SafeCast.toUint(condition));\n        }\n    }\n\n    /**\n     * @dev Returns the largest of two numbers.\n     */\n    function max(uint256 a, uint256 b) internal pure returns (uint256) {\n        return ternary(a > b, a, b);\n    }\n\n    /**\n     * @dev Returns the smallest of two numbers.\n     */\n    function min(uint256 a, uint256 b) internal pure returns (uint256) {\n        return ternary(a < b, a, b);\n    }\n\n    /**\n     * @dev Returns the average of two numbers. The result is rounded towards\n     * zero.\n     */\n    function average(uint256 a, uint256 b) internal pure returns (uint256) {\n        // (a + b) / 2 can overflow.\n        return (a & b) + (a ^ b) / 2;\n    }\n\n    /**\n     * @dev Returns the ceiling of the division of two numbers.\n     *\n     * This differs from standard division with `/` in that it rounds towards infinity instead\n     * of rounding towards zero.\n     */\n    function ceilDiv(uint256 a, uint256 b) internal pure returns (uint256) {\n        if (b == 0) {\n            // Guarantee the same behavior as in a regular Solidity division.\n            Panic.panic(Panic.DIVISION_BY_ZERO);\n        }\n\n        // The following calculation ensures accurate ceiling division without overflow.\n        // Since a is non-zero, (a - 1) / b will not overflow.\n        // The largest possible result occurs when (a - 1) / b is type(uint256).max,\n        // but the largest value we can obtain is type(uint256).max - 1, which happens\n        // when a = type(uint256).max and b = 1.\n        unchecked {\n            return SafeCast.toUint(a > 0) * ((a - 1) / b + 1);\n        }\n    }\n\n    /**\n     * @dev Calculates floor(x * y / denominator) with full precision. Throws if result overflows a uint256 or\n     * denominator == 0.\n     *\n     * Original credit to Remco Bloemen under MIT license (https://xn--2-umb.com/21/muldiv) with further edits by\n     * Uniswap Labs also under MIT license.\n     */\n    function mulDiv(uint256 x, uint256 y, uint256 denominator) internal pure returns (uint256 result) {\n        unchecked {\n            // 512-bit multiply [prod1 prod0] = x * y. Compute the product mod 2²⁵⁶ and mod 2²⁵⁶ - 1, then use\n            // the Chinese Remainder Theorem to reconstruct the 512 bit result. The result is stored in two 256\n            // variables such that product = prod1 * 2²⁵⁶ + prod0.\n            uint256 prod0 = x * y; // Least significant 256 bits of the product\n            uint256 prod1; // Most significant 256 bits of the product\n            assembly {\n                let mm := mulmod(x, y, not(0))\n                prod1 := sub(sub(mm, prod0), lt(mm, prod0))\n            }\n\n            // Handle non-overflow cases, 256 by 256 division.\n            if (prod1 == 0) {\n                // Solidity will revert if denominator == 0, unlike the div opcode on its own.\n                // The surrounding unchecked block does not change this fact.\n                // See https://docs.soliditylang.org/en/latest/control-structures.html#checked-or-unchecked-arithmetic.\n                return prod0 / denominator;\n            }\n\n            // Make sure the result is less than 2²⁵⁶. Also prevents denominator == 0.\n            if (denominator <= prod1) {\n                Panic.panic(ternary(denominator == 0, Panic.DIVISION_BY_ZERO, Panic.UNDER_OVERFLOW));\n            }\n\n            ///////////////////////////////////////////////\n            // 512 by 256 division.\n            ///////////////////////////////////////////////\n\n            // Make division exact by subtracting the remainder from [prod1 prod0].\n            uint256 remainder;\n            assembly {\n                // Compute remainder using mulmod.\n                remainder := mulmod(x, y, denominator)\n\n                // Subtract 256 bit number from 512 bit number.\n                prod1 := sub(prod1, gt(remainder, prod0))\n                prod0 := sub(prod0, remainder)\n            }\n\n            // Factor powers of two out of denominator and compute largest power of two divisor of denominator.\n            // Always >= 1. See https://cs.stackexchange.com/q/138556/92363.\n\n            uint256 twos = denominator & (0 - denominator);\n            assembly {\n                // Divide denominator by twos.\n                denominator := div(denominator, twos)\n\n                // Divide [prod1 prod0] by twos.\n                prod0 := div(prod0, twos)\n\n                // Flip twos such that it is 2²⁵⁶ / twos. If twos is zero, then it becomes one.\n                twos := add(div(sub(0, twos), twos), 1)\n            }\n\n            // Shift in bits from prod1 into prod0.\n            prod0 |= prod1 * twos;\n\n            // Invert denominator mod 2²⁵⁶. Now that denominator is an odd number, it has an inverse modulo 2²⁵⁶ such\n            // that denominator * inv ≡ 1 mod 2²⁵⁶. Compute the inverse by starting with a seed that is correct for\n            // four bits. That is, denominator * inv ≡ 1 mod 2⁴.\n            uint256 inverse = (3 * denominator) ^ 2;\n\n            // Use the Newton-Raphson iteration to improve the precision. Thanks to Hensel's lifting lemma, this also\n            // works in modular arithmetic, doubling the correct bits in each step.\n            inverse *= 2 - denominator * inverse; // inverse mod 2⁸\n            inverse *= 2 - denominator * inverse; // inverse mod 2¹⁶\n            inverse *= 2 - denominator * inverse; // inverse mod 2³²\n            inverse *= 2 - denominator * inverse; // inverse mod 2⁶⁴\n            inverse *= 2 - denominator * inverse; // inverse mod 2¹²⁸\n            inverse *= 2 - denominator * inverse; // inverse mod 2²⁵⁶\n\n            // Because the division is now exact we can divide by multiplying with the modular inverse of denominator.\n            // This will give us the correct result modulo 2²⁵⁶. Since the preconditions guarantee that the outcome is\n            // less than 2²⁵⁶, this is the final result. We don't need to compute the high bits of the result and prod1\n            // is no longer required.\n            result = prod0 * inverse;\n            return result;\n        }\n    }\n\n    /**\n     * @dev Calculates x * y / denominator with full precision, following the selected rounding direction.\n     */\n    function mulDiv(uint256 x, uint256 y, uint256 denominator, Rounding rounding) internal pure returns (uint256) {\n        return mulDiv(x, y, denominator) + SafeCast.toUint(unsignedRoundsUp(rounding) && mulmod(x, y, denominator) > 0);\n    }\n\n    /**\n     * @dev Calculate the modular multiplicative inverse of a number in Z/nZ.\n     *\n     * If n is a prime, then Z/nZ is a field. In that case all elements are inversible, except 0.\n     * If n is not a prime, then Z/nZ is not a field, and some elements might not be inversible.\n     *\n     * If the input value is not inversible, 0 is returned.\n     *\n     * NOTE: If you know for sure that n is (big) a prime, it may be cheaper to use Fermat's little theorem and get the\n     * inverse using `Math.modExp(a, n - 2, n)`. See {invModPrime}.\n     */\n    function invMod(uint256 a, uint256 n) internal pure returns (uint256) {\n        unchecked {\n            if (n == 0) return 0;\n\n            // The inverse modulo is calculated using the Extended Euclidean Algorithm (iterative version)\n            // Used to compute integers x and y such that: ax + ny = gcd(a, n).\n            // When the gcd is 1, then the inverse of a modulo n exists and it's x.\n            // ax + ny = 1\n            // ax = 1 + (-y)n\n            // ax ≡ 1 (mod n) # x is the inverse of a modulo n\n\n            // If the remainder is 0 the gcd is n right away.\n            uint256 remainder = a % n;\n            uint256 gcd = n;\n\n            // Therefore the initial coefficients are:\n            // ax + ny = gcd(a, n) = n\n            // 0a + 1n = n\n            int256 x = 0;\n            int256 y = 1;\n\n            while (remainder != 0) {\n                uint256 quotient = gcd / remainder;\n\n                (gcd, remainder) = (\n                    // The old remainder is the next gcd to try.\n                    remainder,\n                    // Compute the next remainder.\n                    // Can't overflow given that (a % gcd) * (gcd // (a % gcd)) <= gcd\n                    // where gcd is at most n (capped to type(uint256).max)\n                    gcd - remainder * quotient\n                );\n\n                (x, y) = (\n                    // Increment the coefficient of a.\n                    y,\n                    // Decrement the coefficient of n.\n                    // Can overflow, but the result is casted to uint256 so that the\n                    // next value of y is \"wrapped around\" to a value between 0 and n - 1.\n                    x - y * int256(quotient)\n                );\n            }\n\n            if (gcd != 1) return 0; // No inverse exists.\n            return ternary(x < 0, n - uint256(-x), uint256(x)); // Wrap the result if it's negative.\n        }\n    }\n\n    /**\n     * @dev Variant of {invMod}. More efficient, but only works if `p` is known to be a prime greater than `2`.\n     *\n     * From https://en.wikipedia.org/wiki/Fermat%27s_little_theorem[Fermat's little theorem], we know that if p is\n     * prime, then `a**(p-1) ≡ 1 mod p`. As a consequence, we have `a * a**(p-2) ≡ 1 mod p`, which means that\n     * `a**(p-2)` is the modular multiplicative inverse of a in Fp.\n     *\n     * NOTE: this function does NOT check that `p` is a prime greater than `2`.\n     */\n    function invModPrime(uint256 a, uint256 p) internal view returns (uint256) {\n        unchecked {\n            return Math.modExp(a, p - 2, p);\n        }\n    }\n\n    /**\n     * @dev Returns the modular exponentiation of the specified base, exponent and modulus (b ** e % m)\n     *\n     * Requirements:\n     * - modulus can't be zero\n     * - underlying staticcall to precompile must succeed\n     *\n     * IMPORTANT: The result is only valid if the underlying call succeeds. When using this function, make\n     * sure the chain you're using it on supports the precompiled contract for modular exponentiation\n     * at address 0x05 as specified in https://eips.ethereum.org/EIPS/eip-198[EIP-198]. Otherwise,\n     * the underlying function will succeed given the lack of a revert, but the result may be incorrectly\n     * interpreted as 0.\n     */\n    function modExp(uint256 b, uint256 e, uint256 m) internal view returns (uint256) {\n        (bool success, uint256 result) = tryModExp(b, e, m);\n        if (!success) {\n            Panic.panic(Panic.DIVISION_BY_ZERO);\n        }\n        return result;\n    }\n\n    /**\n     * @dev Returns the modular exponentiation of the specified base, exponent and modulus (b ** e % m).\n     * It includes a success flag indicating if the operation succeeded. Operation will be marked as failed if trying\n     * to operate modulo 0 or if the underlying precompile reverted.\n     *\n     * IMPORTANT: The result is only valid if the success flag is true. When using this function, make sure the chain\n     * you're using it on supports the precompiled contract for modular exponentiation at address 0x05 as specified in\n     * https://eips.ethereum.org/EIPS/eip-198[EIP-198]. Otherwise, the underlying function will succeed given the lack\n     * of a revert, but the result may be incorrectly interpreted as 0.\n     */\n    function tryModExp(uint256 b, uint256 e, uint256 m) internal view returns (bool success, uint256 result) {\n        if (m == 0) return (false, 0);\n        assembly (\"memory-safe\") {\n            let ptr := mload(0x40)\n            // | Offset    | Content    | Content (Hex)                                                      |\n            // |-----------|------------|--------------------------------------------------------------------|\n            // | 0x00:0x1f | size of b  | 0x0000000000000000000000000000000000000000000000000000000000000020 |\n            // | 0x20:0x3f | size of e  | 0x0000000000000000000000000000000000000000000000000000000000000020 |\n            // | 0x40:0x5f | size of m  | 0x0000000000000000000000000000000000000000000000000000000000000020 |\n            // | 0x60:0x7f | value of b | 0x<.............................................................b> |\n            // | 0x80:0x9f | value of e | 0x<.............................................................e> |\n            // | 0xa0:0xbf | value of m | 0x<.............................................................m> |\n            mstore(ptr, 0x20)\n            mstore(add(ptr, 0x20), 0x20)\n            mstore(add(ptr, 0x40), 0x20)\n            mstore(add(ptr, 0x60), b)\n            mstore(add(ptr, 0x80), e)\n            mstore(add(ptr, 0xa0), m)\n\n            // Given the result < m, it's guaranteed to fit in 32 bytes,\n            // so we can use the memory scratch space located at offset 0.\n            success := staticcall(gas(), 0x05, ptr, 0xc0, 0x00, 0x20)\n            result := mload(0x00)\n        }\n    }\n\n    /**\n     * @dev Variant of {modExp} that supports inputs of arbitrary length.\n     */\n    function modExp(bytes memory b, bytes memory e, bytes memory m) internal view returns (bytes memory) {\n        (bool success, bytes memory result) = tryModExp(b, e, m);\n        if (!success) {\n            Panic.panic(Panic.DIVISION_BY_ZERO);\n        }\n        return result;\n    }\n\n    /**\n     * @dev Variant of {tryModExp} that supports inputs of arbitrary length.\n     */\n    function tryModExp(\n        bytes memory b,\n        bytes memory e,\n        bytes memory m\n    ) internal view returns (bool success, bytes memory result) {\n        if (_zeroBytes(m)) return (false, new bytes(0));\n\n        uint256 mLen = m.length;\n\n        // Encode call args in result and move the free memory pointer\n        result = abi.encodePacked(b.length, e.length, mLen, b, e, m);\n\n        assembly (\"memory-safe\") {\n            let dataPtr := add(result, 0x20)\n            // Write result on top of args to avoid allocating extra memory.\n            success := staticcall(gas(), 0x05, dataPtr, mload(result), dataPtr, mLen)\n            // Overwrite the length.\n            // result.length > returndatasize() is guaranteed because returndatasize() == m.length\n            mstore(result, mLen)\n            // Set the memory pointer after the returned data.\n            mstore(0x40, add(dataPtr, mLen))\n        }\n    }\n\n    /**\n     * @dev Returns whether the provided byte array is zero.\n     */\n    function _zeroBytes(bytes memory byteArray) private pure returns (bool) {\n        for (uint256 i = 0; i < byteArray.length; ++i) {\n            if (byteArray[i] != 0) {\n                return false;\n            }\n        }\n        return true;\n    }\n\n    /**\n     * @dev Returns the square root of a number. If the number is not a perfect square, the value is rounded\n     * towards zero.\n     *\n     * This method is based on Newton's method for computing square roots; the algorithm is restricted to only\n     * using integer operations.\n     */\n    function sqrt(uint256 a) internal pure returns (uint256) {\n        unchecked {\n            // Take care of easy edge cases when a == 0 or a == 1\n            if (a <= 1) {\n                return a;\n            }\n\n            // In this function, we use Newton's method to get a root of `f(x) := x² - a`. It involves building a\n            // sequence x_n that converges toward sqrt(a). For each iteration x_n, we also define the error between\n            // the current value as `ε_n = | x_n - sqrt(a) |`.\n            //\n            // For our first estimation, we consider `e` the smallest power of 2 which is bigger than the square root\n            // of the target. (i.e. `2**(e-1) ≤ sqrt(a) < 2**e`). We know that `e ≤ 128` because `(2¹²⁸)² = 2²⁵⁶` is\n            // bigger than any uint256.\n            //\n            // By noticing that\n            // `2**(e-1) ≤ sqrt(a) < 2**e → (2**(e-1))² ≤ a < (2**e)² → 2**(2*e-2) ≤ a < 2**(2*e)`\n            // we can deduce that `e - 1` is `log2(a) / 2`. We can thus compute `x_n = 2**(e-1)` using a method similar\n            // to the msb function.\n            uint256 aa = a;\n            uint256 xn = 1;\n\n            if (aa >= (1 << 128)) {\n                aa >>= 128;\n                xn <<= 64;\n            }\n            if (aa >= (1 << 64)) {\n                aa >>= 64;\n                xn <<= 32;\n            }\n            if (aa >= (1 << 32)) {\n                aa >>= 32;\n                xn <<= 16;\n            }\n            if (aa >= (1 << 16)) {\n                aa >>= 16;\n                xn <<= 8;\n            }\n            if (aa >= (1 << 8)) {\n                aa >>= 8;\n                xn <<= 4;\n            }\n            if (aa >= (1 << 4)) {\n                aa >>= 4;\n                xn <<= 2;\n            }\n            if (aa >= (1 << 2)) {\n                xn <<= 1;\n            }\n\n            // We now have x_n such that `x_n = 2**(e-1) ≤ sqrt(a) < 2**e = 2 * x_n`. This implies ε_n ≤ 2**(e-1).\n            //\n            // We can refine our estimation by noticing that the middle of that interval minimizes the error.\n            // If we move x_n to equal 2**(e-1) + 2**(e-2), then we reduce the error to ε_n ≤ 2**(e-2).\n            // This is going to be our x_0 (and ε_0)\n            xn = (3 * xn) >> 1; // ε_0 := | x_0 - sqrt(a) | ≤ 2**(e-2)\n\n            // From here, Newton's method give us:\n            // x_{n+1} = (x_n + a / x_n) / 2\n            //\n            // One should note that:\n            // x_{n+1}² - a = ((x_n + a / x_n) / 2)² - a\n            //              = ((x_n² + a) / (2 * x_n))² - a\n            //              = (x_n⁴ + 2 * a * x_n² + a²) / (4 * x_n²) - a\n            //              = (x_n⁴ + 2 * a * x_n² + a² - 4 * a * x_n²) / (4 * x_n²)\n            //              = (x_n⁴ - 2 * a * x_n² + a²) / (4 * x_n²)\n            //              = (x_n² - a)² / (2 * x_n)²\n            //              = ((x_n² - a) / (2 * x_n))²\n            //              ≥ 0\n            // Which proves that for all n ≥ 1, sqrt(a) ≤ x_n\n            //\n            // This gives us the proof of quadratic convergence of the sequence:\n            // ε_{n+1} = | x_{n+1} - sqrt(a) |\n            //         = | (x_n + a / x_n) / 2 - sqrt(a) |\n            //         = | (x_n² + a - 2*x_n*sqrt(a)) / (2 * x_n) |\n            //         = | (x_n - sqrt(a))² / (2 * x_n) |\n            //         = | ε_n² / (2 * x_n) |\n            //         = ε_n² / | (2 * x_n) |\n            //\n            // For the first iteration, we have a special case where x_0 is known:\n            // ε_1 = ε_0² / | (2 * x_0) |\n            //     ≤ (2**(e-2))² / (2 * (2**(e-1) + 2**(e-2)))\n            //     ≤ 2**(2*e-4) / (3 * 2**(e-1))\n            //     ≤ 2**(e-3) / 3\n            //     ≤ 2**(e-3-log2(3))\n            //     ≤ 2**(e-4.5)\n            //\n            // For the following iterations, we use the fact that, 2**(e-1) ≤ sqrt(a) ≤ x_n:\n            // ε_{n+1} = ε_n² / | (2 * x_n) |\n            //         ≤ (2**(e-k))² / (2 * 2**(e-1))\n            //         ≤ 2**(2*e-2*k) / 2**e\n            //         ≤ 2**(e-2*k)\n            xn = (xn + a / xn) >> 1; // ε_1 := | x_1 - sqrt(a) | ≤ 2**(e-4.5)  -- special case, see above\n            xn = (xn + a / xn) >> 1; // ε_2 := | x_2 - sqrt(a) | ≤ 2**(e-9)    -- general case with k = 4.5\n            xn = (xn + a / xn) >> 1; // ε_3 := | x_3 - sqrt(a) | ≤ 2**(e-18)   -- general case with k = 9\n            xn = (xn + a / xn) >> 1; // ε_4 := | x_4 - sqrt(a) | ≤ 2**(e-36)   -- general case with k = 18\n            xn = (xn + a / xn) >> 1; // ε_5 := | x_5 - sqrt(a) | ≤ 2**(e-72)   -- general case with k = 36\n            xn = (xn + a / xn) >> 1; // ε_6 := | x_6 - sqrt(a) | ≤ 2**(e-144)  -- general case with k = 72\n\n            // Because e ≤ 128 (as discussed during the first estimation phase), we know have reached a precision\n            // ε_6 ≤ 2**(e-144) < 1. Given we're operating on integers, then we can ensure that xn is now either\n            // sqrt(a) or sqrt(a) + 1.\n            return xn - SafeCast.toUint(xn > a / xn);\n        }\n    }\n\n    /**\n     * @dev Calculates sqrt(a), following the selected rounding direction.\n     */\n    function sqrt(uint256 a, Rounding rounding) internal pure returns (uint256) {\n        unchecked {\n            uint256 result = sqrt(a);\n            return result + SafeCast.toUint(unsignedRoundsUp(rounding) && result * result < a);\n        }\n    }\n\n    /**\n     * @dev Return the log in base 2 of a positive value rounded towards zero.\n     * Returns 0 if given 0.\n     */\n    function log2(uint256 value) internal pure returns (uint256) {\n        uint256 result = 0;\n        uint256 exp;\n        unchecked {\n            exp = 128 * SafeCast.toUint(value > (1 << 128) - 1);\n            value >>= exp;\n            result += exp;\n\n            exp = 64 * SafeCast.toUint(value > (1 << 64) - 1);\n            value >>= exp;\n            result += exp;\n\n            exp = 32 * SafeCast.toUint(value > (1 << 32) - 1);\n            value >>= exp;\n            result += exp;\n\n            exp = 16 * SafeCast.toUint(value > (1 << 16) - 1);\n            value >>= exp;\n            result += exp;\n\n            exp = 8 * SafeCast.toUint(value > (1 << 8) - 1);\n            value >>= exp;\n            result += exp;\n\n            exp = 4 * SafeCast.toUint(value > (1 << 4) - 1);\n            value >>= exp;\n            result += exp;\n\n            exp = 2 * SafeCast.toUint(value > (1 << 2) - 1);\n            value >>= exp;\n            result += exp;\n\n            result += SafeCast.toUint(value > 1);\n        }\n        return result;\n    }\n\n    /**\n     * @dev Return the log in base 2, following the selected rounding direction, of a positive value.\n     * Returns 0 if given 0.\n     */\n    function log2(uint256 value, Rounding rounding) internal pure returns (uint256) {\n        unchecked {\n            uint256 result = log2(value);\n            return result + SafeCast.toUint(unsignedRoundsUp(rounding) && 1 << result < value);\n        }\n    }\n\n    /**\n     * @dev Return the log in base 10 of a positive value rounded towards zero.\n     * Returns 0 if given 0.\n     */\n    function log10(uint256 value) internal pure returns (uint256) {\n        uint256 result = 0;\n        unchecked {\n            if (value >= 10 ** 64) {\n                value /= 10 ** 64;\n                result += 64;\n            }\n            if (value >= 10 ** 32) {\n                value /= 10 ** 32;\n                result += 32;\n            }\n            if (value >= 10 ** 16) {\n                value /= 10 ** 16;\n                result += 16;\n            }\n            if (value >= 10 ** 8) {\n                value /= 10 ** 8;\n                result += 8;\n            }\n            if (value >= 10 ** 4) {\n                value /= 10 ** 4;\n                result += 4;\n            }\n            if (value >= 10 ** 2) {\n                value /= 10 ** 2;\n                result += 2;\n            }\n            if (value >= 10 ** 1) {\n                result += 1;\n            }\n        }\n        return result;\n    }\n\n    /**\n     * @dev Return the log in base 10, following the selected rounding direction, of a positive value.\n     * Returns 0 if given 0.\n     */\n    function log10(uint256 value, Rounding rounding) internal pure returns (uint256) {\n        unchecked {\n            uint256 result = log10(value);\n            return result + SafeCast.toUint(unsignedRoundsUp(rounding) && 10 ** result < value);\n        }\n    }\n\n    /**\n     * @dev Return the log in base 256 of a positive value rounded towards zero.\n     * Returns 0 if given 0.\n     *\n     * Adding one to the result gives the number of pairs of hex symbols needed to represent `value` as a hex string.\n     */\n    function log256(uint256 value) internal pure returns (uint256) {\n        uint256 result = 0;\n        uint256 isGt;\n        unchecked {\n            isGt = SafeCast.toUint(value > (1 << 128) - 1);\n            value >>= isGt * 128;\n            result += isGt * 16;\n\n            isGt = SafeCast.toUint(value > (1 << 64) - 1);\n            value >>= isGt * 64;\n            result += isGt * 8;\n\n            isGt = SafeCast.toUint(value > (1 << 32) - 1);\n            value >>= isGt * 32;\n            result += isGt * 4;\n\n            isGt = SafeCast.toUint(value > (1 << 16) - 1);\n            value >>= isGt * 16;\n            result += isGt * 2;\n\n            result += SafeCast.toUint(value > (1 << 8) - 1);\n        }\n        return result;\n    }\n\n    /**\n     * @dev Return the log in base 256, following the selected rounding direction, of a positive value.\n     * Returns 0 if given 0.\n     */\n    function log256(uint256 value, Rounding rounding) internal pure returns (uint256) {\n        unchecked {\n            uint256 result = log256(value);\n            return result + SafeCast.toUint(unsignedRoundsUp(rounding) && 1 << (result << 3) < value);\n        }\n    }\n\n    /**\n     * @dev Returns whether a provided rounding mode is considered rounding up for unsigned integers.\n     */\n    function unsignedRoundsUp(Rounding rounding) internal pure returns (bool) {\n        return uint8(rounding) % 2 == 1;\n    }\n}\n"},"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 ERC-20 standard.\n */\ninterface IERC20Metadata is IERC20 {\n    /**\n     * @dev Returns the name of the token.\n     */\n    function name() external view returns (string memory);\n\n    /**\n     * @dev Returns the symbol of the token.\n     */\n    function symbol() external view returns (string memory);\n\n    /**\n     * @dev Returns the decimals places of the token.\n     */\n    function decimals() external view returns (uint8);\n}\n"},"src/interfaces/IERC20Burnable.sol":{"content":"pragma solidity >=0.5.0;\n\nimport \"../../lib/openzeppelin-contracts/contracts/token/ERC20/IERC20.sol\";\n\n/// @title  IERC20Burnable\n/// @author Alchemix Finance\ninterface IERC20Burnable is IERC20 {\n    /// @notice Burns `amount` tokens from the balance of `msg.sender`.\n    ///\n    /// @param amount The amount of tokens to burn.\n    ///\n    /// @return If burning the tokens was successful.\n    function burn(uint256 amount) external returns (bool);\n\n    /// @notice Burns `amount` tokens from `owner`'s balance.\n    ///\n    /// @param owner  The address to burn tokens from.\n    /// @param amount The amount of tokens to burn.\n    ///\n    /// @return If burning the tokens was successful.\n    function burnFrom(address owner, uint256 amount) external returns (bool);\n}\n"},"src/interfaces/IERC20Mintable.sol":{"content":"pragma solidity >=0.5.0;\n\nimport \"../../lib/openzeppelin-contracts/contracts/token/ERC20/IERC20.sol\";\n\n/// @title  IERC20Mintable\n/// @author Alchemix Finance\ninterface IERC20Mintable is IERC20 {\n    /// @notice Mints `amount` tokens to `recipient`.\n    ///\n    /// @param recipient The address which will receive the minted tokens.\n    /// @param amount    The amount of tokens to mint.\n    function mint(address recipient, uint256 amount) external;\n}\n"},"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"},"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/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/Panic.sol":{"content":"// SPDX-License-Identifier: MIT\n\npragma solidity ^0.8.20;\n\n/**\n * @dev Helper library for emitting standardized panic codes.\n *\n * ```solidity\n * contract Example {\n *      using Panic for uint256;\n *\n *      // Use any of the declared internal constants\n *      function foo() { Panic.GENERIC.panic(); }\n *\n *      // Alternatively\n *      function foo() { Panic.panic(Panic.GENERIC); }\n * }\n * ```\n *\n * Follows the list from https://github.com/ethereum/solidity/blob/v0.8.24/libsolutil/ErrorCodes.h[libsolutil].\n *\n * _Available since v5.1._\n */\n// slither-disable-next-line unused-state\nlibrary Panic {\n    /// @dev generic / unspecified error\n    uint256 internal constant GENERIC = 0x00;\n    /// @dev used by the assert() builtin\n    uint256 internal constant ASSERT = 0x01;\n    /// @dev arithmetic underflow or overflow\n    uint256 internal constant UNDER_OVERFLOW = 0x11;\n    /// @dev division or modulo by zero\n    uint256 internal constant DIVISION_BY_ZERO = 0x12;\n    /// @dev enum conversion error\n    uint256 internal constant ENUM_CONVERSION_ERROR = 0x21;\n    /// @dev invalid encoding in storage\n    uint256 internal constant STORAGE_ENCODING_ERROR = 0x22;\n    /// @dev empty array pop\n    uint256 internal constant EMPTY_ARRAY_POP = 0x31;\n    /// @dev array out of bounds access\n    uint256 internal constant ARRAY_OUT_OF_BOUNDS = 0x32;\n    /// @dev resource error (too large allocation or too large array)\n    uint256 internal constant RESOURCE_ERROR = 0x41;\n    /// @dev calling invalid internal function\n    uint256 internal constant INVALID_INTERNAL_FUNCTION = 0x51;\n\n    /// @dev Reverts with a panic code. Recommended to use with\n    /// the internal constants with predefined codes.\n    function panic(uint256 code) internal pure {\n        assembly (\"memory-safe\") {\n            mstore(0x00, 0x4e487b71)\n            mstore(0x20, code)\n            revert(0x1c, 0x24)\n        }\n    }\n}\n"},"lib/openzeppelin-contracts/contracts/utils/math/SafeCast.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.0.0) (utils/math/SafeCast.sol)\n// This file was procedurally generated from scripts/generate/templates/SafeCast.js.\n\npragma solidity ^0.8.20;\n\n/**\n * @dev Wrappers over Solidity's uintXX/intXX/bool casting operators with added overflow\n * checks.\n *\n * Downcasting from uint256/int256 in Solidity does not revert on overflow. This can\n * easily result in undesired exploitation or bugs, since developers usually\n * assume that overflows raise errors. `SafeCast` restores this intuition by\n * reverting the transaction when such an operation overflows.\n *\n * Using this library instead of the unchecked operations eliminates an entire\n * class of bugs, so it's recommended to use it always.\n */\nlibrary SafeCast {\n    /**\n     * @dev Value doesn't fit in an uint of `bits` size.\n     */\n    error SafeCastOverflowedUintDowncast(uint8 bits, uint256 value);\n\n    /**\n     * @dev An int value doesn't fit in an uint of `bits` size.\n     */\n    error SafeCastOverflowedIntToUint(int256 value);\n\n    /**\n     * @dev Value doesn't fit in an int of `bits` size.\n     */\n    error SafeCastOverflowedIntDowncast(uint8 bits, int256 value);\n\n    /**\n     * @dev An uint value doesn't fit in an int of `bits` size.\n     */\n    error SafeCastOverflowedUintToInt(uint256 value);\n\n    /**\n     * @dev Returns the downcasted uint248 from uint256, reverting on\n     * overflow (when the input is greater than largest uint248).\n     *\n     * Counterpart to Solidity's `uint248` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 248 bits\n     */\n    function toUint248(uint256 value) internal pure returns (uint248) {\n        if (value > type(uint248).max) {\n            revert SafeCastOverflowedUintDowncast(248, value);\n        }\n        return uint248(value);\n    }\n\n    /**\n     * @dev Returns the downcasted uint240 from uint256, reverting on\n     * overflow (when the input is greater than largest uint240).\n     *\n     * Counterpart to Solidity's `uint240` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 240 bits\n     */\n    function toUint240(uint256 value) internal pure returns (uint240) {\n        if (value > type(uint240).max) {\n            revert SafeCastOverflowedUintDowncast(240, value);\n        }\n        return uint240(value);\n    }\n\n    /**\n     * @dev Returns the downcasted uint232 from uint256, reverting on\n     * overflow (when the input is greater than largest uint232).\n     *\n     * Counterpart to Solidity's `uint232` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 232 bits\n     */\n    function toUint232(uint256 value) internal pure returns (uint232) {\n        if (value > type(uint232).max) {\n            revert SafeCastOverflowedUintDowncast(232, value);\n        }\n        return uint232(value);\n    }\n\n    /**\n     * @dev Returns the downcasted uint224 from uint256, reverting on\n     * overflow (when the input is greater than largest uint224).\n     *\n     * Counterpart to Solidity's `uint224` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 224 bits\n     */\n    function toUint224(uint256 value) internal pure returns (uint224) {\n        if (value > type(uint224).max) {\n            revert SafeCastOverflowedUintDowncast(224, value);\n        }\n        return uint224(value);\n    }\n\n    /**\n     * @dev Returns the downcasted uint216 from uint256, reverting on\n     * overflow (when the input is greater than largest uint216).\n     *\n     * Counterpart to Solidity's `uint216` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 216 bits\n     */\n    function toUint216(uint256 value) internal pure returns (uint216) {\n        if (value > type(uint216).max) {\n            revert SafeCastOverflowedUintDowncast(216, value);\n        }\n        return uint216(value);\n    }\n\n    /**\n     * @dev Returns the downcasted uint208 from uint256, reverting on\n     * overflow (when the input is greater than largest uint208).\n     *\n     * Counterpart to Solidity's `uint208` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 208 bits\n     */\n    function toUint208(uint256 value) internal pure returns (uint208) {\n        if (value > type(uint208).max) {\n            revert SafeCastOverflowedUintDowncast(208, value);\n        }\n        return uint208(value);\n    }\n\n    /**\n     * @dev Returns the downcasted uint200 from uint256, reverting on\n     * overflow (when the input is greater than largest uint200).\n     *\n     * Counterpart to Solidity's `uint200` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 200 bits\n     */\n    function toUint200(uint256 value) internal pure returns (uint200) {\n        if (value > type(uint200).max) {\n            revert SafeCastOverflowedUintDowncast(200, value);\n        }\n        return uint200(value);\n    }\n\n    /**\n     * @dev Returns the downcasted uint192 from uint256, reverting on\n     * overflow (when the input is greater than largest uint192).\n     *\n     * Counterpart to Solidity's `uint192` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 192 bits\n     */\n    function toUint192(uint256 value) internal pure returns (uint192) {\n        if (value > type(uint192).max) {\n            revert SafeCastOverflowedUintDowncast(192, value);\n        }\n        return uint192(value);\n    }\n\n    /**\n     * @dev Returns the downcasted uint184 from uint256, reverting on\n     * overflow (when the input is greater than largest uint184).\n     *\n     * Counterpart to Solidity's `uint184` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 184 bits\n     */\n    function toUint184(uint256 value) internal pure returns (uint184) {\n        if (value > type(uint184).max) {\n            revert SafeCastOverflowedUintDowncast(184, value);\n        }\n        return uint184(value);\n    }\n\n    /**\n     * @dev Returns the downcasted uint176 from uint256, reverting on\n     * overflow (when the input is greater than largest uint176).\n     *\n     * Counterpart to Solidity's `uint176` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 176 bits\n     */\n    function toUint176(uint256 value) internal pure returns (uint176) {\n        if (value > type(uint176).max) {\n            revert SafeCastOverflowedUintDowncast(176, value);\n        }\n        return uint176(value);\n    }\n\n    /**\n     * @dev Returns the downcasted uint168 from uint256, reverting on\n     * overflow (when the input is greater than largest uint168).\n     *\n     * Counterpart to Solidity's `uint168` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 168 bits\n     */\n    function toUint168(uint256 value) internal pure returns (uint168) {\n        if (value > type(uint168).max) {\n            revert SafeCastOverflowedUintDowncast(168, value);\n        }\n        return uint168(value);\n    }\n\n    /**\n     * @dev Returns the downcasted uint160 from uint256, reverting on\n     * overflow (when the input is greater than largest uint160).\n     *\n     * Counterpart to Solidity's `uint160` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 160 bits\n     */\n    function toUint160(uint256 value) internal pure returns (uint160) {\n        if (value > type(uint160).max) {\n            revert SafeCastOverflowedUintDowncast(160, value);\n        }\n        return uint160(value);\n    }\n\n    /**\n     * @dev Returns the downcasted uint152 from uint256, reverting on\n     * overflow (when the input is greater than largest uint152).\n     *\n     * Counterpart to Solidity's `uint152` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 152 bits\n     */\n    function toUint152(uint256 value) internal pure returns (uint152) {\n        if (value > type(uint152).max) {\n            revert SafeCastOverflowedUintDowncast(152, value);\n        }\n        return uint152(value);\n    }\n\n    /**\n     * @dev Returns the downcasted uint144 from uint256, reverting on\n     * overflow (when the input is greater than largest uint144).\n     *\n     * Counterpart to Solidity's `uint144` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 144 bits\n     */\n    function toUint144(uint256 value) internal pure returns (uint144) {\n        if (value > type(uint144).max) {\n            revert SafeCastOverflowedUintDowncast(144, value);\n        }\n        return uint144(value);\n    }\n\n    /**\n     * @dev Returns the downcasted uint136 from uint256, reverting on\n     * overflow (when the input is greater than largest uint136).\n     *\n     * Counterpart to Solidity's `uint136` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 136 bits\n     */\n    function toUint136(uint256 value) internal pure returns (uint136) {\n        if (value > type(uint136).max) {\n            revert SafeCastOverflowedUintDowncast(136, value);\n        }\n        return uint136(value);\n    }\n\n    /**\n     * @dev Returns the downcasted uint128 from uint256, reverting on\n     * overflow (when the input is greater than largest uint128).\n     *\n     * Counterpart to Solidity's `uint128` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 128 bits\n     */\n    function toUint128(uint256 value) internal pure returns (uint128) {\n        if (value > type(uint128).max) {\n            revert SafeCastOverflowedUintDowncast(128, value);\n        }\n        return uint128(value);\n    }\n\n    /**\n     * @dev Returns the downcasted uint120 from uint256, reverting on\n     * overflow (when the input is greater than largest uint120).\n     *\n     * Counterpart to Solidity's `uint120` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 120 bits\n     */\n    function toUint120(uint256 value) internal pure returns (uint120) {\n        if (value > type(uint120).max) {\n            revert SafeCastOverflowedUintDowncast(120, value);\n        }\n        return uint120(value);\n    }\n\n    /**\n     * @dev Returns the downcasted uint112 from uint256, reverting on\n     * overflow (when the input is greater than largest uint112).\n     *\n     * Counterpart to Solidity's `uint112` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 112 bits\n     */\n    function toUint112(uint256 value) internal pure returns (uint112) {\n        if (value > type(uint112).max) {\n            revert SafeCastOverflowedUintDowncast(112, value);\n        }\n        return uint112(value);\n    }\n\n    /**\n     * @dev Returns the downcasted uint104 from uint256, reverting on\n     * overflow (when the input is greater than largest uint104).\n     *\n     * Counterpart to Solidity's `uint104` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 104 bits\n     */\n    function toUint104(uint256 value) internal pure returns (uint104) {\n        if (value > type(uint104).max) {\n            revert SafeCastOverflowedUintDowncast(104, value);\n        }\n        return uint104(value);\n    }\n\n    /**\n     * @dev Returns the downcasted uint96 from uint256, reverting on\n     * overflow (when the input is greater than largest uint96).\n     *\n     * Counterpart to Solidity's `uint96` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 96 bits\n     */\n    function toUint96(uint256 value) internal pure returns (uint96) {\n        if (value > type(uint96).max) {\n            revert SafeCastOverflowedUintDowncast(96, value);\n        }\n        return uint96(value);\n    }\n\n    /**\n     * @dev Returns the downcasted uint88 from uint256, reverting on\n     * overflow (when the input is greater than largest uint88).\n     *\n     * Counterpart to Solidity's `uint88` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 88 bits\n     */\n    function toUint88(uint256 value) internal pure returns (uint88) {\n        if (value > type(uint88).max) {\n            revert SafeCastOverflowedUintDowncast(88, value);\n        }\n        return uint88(value);\n    }\n\n    /**\n     * @dev Returns the downcasted uint80 from uint256, reverting on\n     * overflow (when the input is greater than largest uint80).\n     *\n     * Counterpart to Solidity's `uint80` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 80 bits\n     */\n    function toUint80(uint256 value) internal pure returns (uint80) {\n        if (value > type(uint80).max) {\n            revert SafeCastOverflowedUintDowncast(80, value);\n        }\n        return uint80(value);\n    }\n\n    /**\n     * @dev Returns the downcasted uint72 from uint256, reverting on\n     * overflow (when the input is greater than largest uint72).\n     *\n     * Counterpart to Solidity's `uint72` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 72 bits\n     */\n    function toUint72(uint256 value) internal pure returns (uint72) {\n        if (value > type(uint72).max) {\n            revert SafeCastOverflowedUintDowncast(72, value);\n        }\n        return uint72(value);\n    }\n\n    /**\n     * @dev Returns the downcasted uint64 from uint256, reverting on\n     * overflow (when the input is greater than largest uint64).\n     *\n     * Counterpart to Solidity's `uint64` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 64 bits\n     */\n    function toUint64(uint256 value) internal pure returns (uint64) {\n        if (value > type(uint64).max) {\n            revert SafeCastOverflowedUintDowncast(64, value);\n        }\n        return uint64(value);\n    }\n\n    /**\n     * @dev Returns the downcasted uint56 from uint256, reverting on\n     * overflow (when the input is greater than largest uint56).\n     *\n     * Counterpart to Solidity's `uint56` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 56 bits\n     */\n    function toUint56(uint256 value) internal pure returns (uint56) {\n        if (value > type(uint56).max) {\n            revert SafeCastOverflowedUintDowncast(56, value);\n        }\n        return uint56(value);\n    }\n\n    /**\n     * @dev Returns the downcasted uint48 from uint256, reverting on\n     * overflow (when the input is greater than largest uint48).\n     *\n     * Counterpart to Solidity's `uint48` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 48 bits\n     */\n    function toUint48(uint256 value) internal pure returns (uint48) {\n        if (value > type(uint48).max) {\n            revert SafeCastOverflowedUintDowncast(48, value);\n        }\n        return uint48(value);\n    }\n\n    /**\n     * @dev Returns the downcasted uint40 from uint256, reverting on\n     * overflow (when the input is greater than largest uint40).\n     *\n     * Counterpart to Solidity's `uint40` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 40 bits\n     */\n    function toUint40(uint256 value) internal pure returns (uint40) {\n        if (value > type(uint40).max) {\n            revert SafeCastOverflowedUintDowncast(40, value);\n        }\n        return uint40(value);\n    }\n\n    /**\n     * @dev Returns the downcasted uint32 from uint256, reverting on\n     * overflow (when the input is greater than largest uint32).\n     *\n     * Counterpart to Solidity's `uint32` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 32 bits\n     */\n    function toUint32(uint256 value) internal pure returns (uint32) {\n        if (value > type(uint32).max) {\n            revert SafeCastOverflowedUintDowncast(32, value);\n        }\n        return uint32(value);\n    }\n\n    /**\n     * @dev Returns the downcasted uint24 from uint256, reverting on\n     * overflow (when the input is greater than largest uint24).\n     *\n     * Counterpart to Solidity's `uint24` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 24 bits\n     */\n    function toUint24(uint256 value) internal pure returns (uint24) {\n        if (value > type(uint24).max) {\n            revert SafeCastOverflowedUintDowncast(24, value);\n        }\n        return uint24(value);\n    }\n\n    /**\n     * @dev Returns the downcasted uint16 from uint256, reverting on\n     * overflow (when the input is greater than largest uint16).\n     *\n     * Counterpart to Solidity's `uint16` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 16 bits\n     */\n    function toUint16(uint256 value) internal pure returns (uint16) {\n        if (value > type(uint16).max) {\n            revert SafeCastOverflowedUintDowncast(16, value);\n        }\n        return uint16(value);\n    }\n\n    /**\n     * @dev Returns the downcasted uint8 from uint256, reverting on\n     * overflow (when the input is greater than largest uint8).\n     *\n     * Counterpart to Solidity's `uint8` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 8 bits\n     */\n    function toUint8(uint256 value) internal pure returns (uint8) {\n        if (value > type(uint8).max) {\n            revert SafeCastOverflowedUintDowncast(8, value);\n        }\n        return uint8(value);\n    }\n\n    /**\n     * @dev Converts a signed int256 into an unsigned uint256.\n     *\n     * Requirements:\n     *\n     * - input must be greater than or equal to 0.\n     */\n    function toUint256(int256 value) internal pure returns (uint256) {\n        if (value < 0) {\n            revert SafeCastOverflowedIntToUint(value);\n        }\n        return uint256(value);\n    }\n\n    /**\n     * @dev Returns the downcasted int248 from int256, reverting on\n     * overflow (when the input is less than smallest int248 or\n     * greater than largest int248).\n     *\n     * Counterpart to Solidity's `int248` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 248 bits\n     */\n    function toInt248(int256 value) internal pure returns (int248 downcasted) {\n        downcasted = int248(value);\n        if (downcasted != value) {\n            revert SafeCastOverflowedIntDowncast(248, value);\n        }\n    }\n\n    /**\n     * @dev Returns the downcasted int240 from int256, reverting on\n     * overflow (when the input is less than smallest int240 or\n     * greater than largest int240).\n     *\n     * Counterpart to Solidity's `int240` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 240 bits\n     */\n    function toInt240(int256 value) internal pure returns (int240 downcasted) {\n        downcasted = int240(value);\n        if (downcasted != value) {\n            revert SafeCastOverflowedIntDowncast(240, value);\n        }\n    }\n\n    /**\n     * @dev Returns the downcasted int232 from int256, reverting on\n     * overflow (when the input is less than smallest int232 or\n     * greater than largest int232).\n     *\n     * Counterpart to Solidity's `int232` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 232 bits\n     */\n    function toInt232(int256 value) internal pure returns (int232 downcasted) {\n        downcasted = int232(value);\n        if (downcasted != value) {\n            revert SafeCastOverflowedIntDowncast(232, value);\n        }\n    }\n\n    /**\n     * @dev Returns the downcasted int224 from int256, reverting on\n     * overflow (when the input is less than smallest int224 or\n     * greater than largest int224).\n     *\n     * Counterpart to Solidity's `int224` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 224 bits\n     */\n    function toInt224(int256 value) internal pure returns (int224 downcasted) {\n        downcasted = int224(value);\n        if (downcasted != value) {\n            revert SafeCastOverflowedIntDowncast(224, value);\n        }\n    }\n\n    /**\n     * @dev Returns the downcasted int216 from int256, reverting on\n     * overflow (when the input is less than smallest int216 or\n     * greater than largest int216).\n     *\n     * Counterpart to Solidity's `int216` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 216 bits\n     */\n    function toInt216(int256 value) internal pure returns (int216 downcasted) {\n        downcasted = int216(value);\n        if (downcasted != value) {\n            revert SafeCastOverflowedIntDowncast(216, value);\n        }\n    }\n\n    /**\n     * @dev Returns the downcasted int208 from int256, reverting on\n     * overflow (when the input is less than smallest int208 or\n     * greater than largest int208).\n     *\n     * Counterpart to Solidity's `int208` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 208 bits\n     */\n    function toInt208(int256 value) internal pure returns (int208 downcasted) {\n        downcasted = int208(value);\n        if (downcasted != value) {\n            revert SafeCastOverflowedIntDowncast(208, value);\n        }\n    }\n\n    /**\n     * @dev Returns the downcasted int200 from int256, reverting on\n     * overflow (when the input is less than smallest int200 or\n     * greater than largest int200).\n     *\n     * Counterpart to Solidity's `int200` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 200 bits\n     */\n    function toInt200(int256 value) internal pure returns (int200 downcasted) {\n        downcasted = int200(value);\n        if (downcasted != value) {\n            revert SafeCastOverflowedIntDowncast(200, value);\n        }\n    }\n\n    /**\n     * @dev Returns the downcasted int192 from int256, reverting on\n     * overflow (when the input is less than smallest int192 or\n     * greater than largest int192).\n     *\n     * Counterpart to Solidity's `int192` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 192 bits\n     */\n    function toInt192(int256 value) internal pure returns (int192 downcasted) {\n        downcasted = int192(value);\n        if (downcasted != value) {\n            revert SafeCastOverflowedIntDowncast(192, value);\n        }\n    }\n\n    /**\n     * @dev Returns the downcasted int184 from int256, reverting on\n     * overflow (when the input is less than smallest int184 or\n     * greater than largest int184).\n     *\n     * Counterpart to Solidity's `int184` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 184 bits\n     */\n    function toInt184(int256 value) internal pure returns (int184 downcasted) {\n        downcasted = int184(value);\n        if (downcasted != value) {\n            revert SafeCastOverflowedIntDowncast(184, value);\n        }\n    }\n\n    /**\n     * @dev Returns the downcasted int176 from int256, reverting on\n     * overflow (when the input is less than smallest int176 or\n     * greater than largest int176).\n     *\n     * Counterpart to Solidity's `int176` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 176 bits\n     */\n    function toInt176(int256 value) internal pure returns (int176 downcasted) {\n        downcasted = int176(value);\n        if (downcasted != value) {\n            revert SafeCastOverflowedIntDowncast(176, value);\n        }\n    }\n\n    /**\n     * @dev Returns the downcasted int168 from int256, reverting on\n     * overflow (when the input is less than smallest int168 or\n     * greater than largest int168).\n     *\n     * Counterpart to Solidity's `int168` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 168 bits\n     */\n    function toInt168(int256 value) internal pure returns (int168 downcasted) {\n        downcasted = int168(value);\n        if (downcasted != value) {\n            revert SafeCastOverflowedIntDowncast(168, value);\n        }\n    }\n\n    /**\n     * @dev Returns the downcasted int160 from int256, reverting on\n     * overflow (when the input is less than smallest int160 or\n     * greater than largest int160).\n     *\n     * Counterpart to Solidity's `int160` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 160 bits\n     */\n    function toInt160(int256 value) internal pure returns (int160 downcasted) {\n        downcasted = int160(value);\n        if (downcasted != value) {\n            revert SafeCastOverflowedIntDowncast(160, value);\n        }\n    }\n\n    /**\n     * @dev Returns the downcasted int152 from int256, reverting on\n     * overflow (when the input is less than smallest int152 or\n     * greater than largest int152).\n     *\n     * Counterpart to Solidity's `int152` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 152 bits\n     */\n    function toInt152(int256 value) internal pure returns (int152 downcasted) {\n        downcasted = int152(value);\n        if (downcasted != value) {\n            revert SafeCastOverflowedIntDowncast(152, value);\n        }\n    }\n\n    /**\n     * @dev Returns the downcasted int144 from int256, reverting on\n     * overflow (when the input is less than smallest int144 or\n     * greater than largest int144).\n     *\n     * Counterpart to Solidity's `int144` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 144 bits\n     */\n    function toInt144(int256 value) internal pure returns (int144 downcasted) {\n        downcasted = int144(value);\n        if (downcasted != value) {\n            revert SafeCastOverflowedIntDowncast(144, value);\n        }\n    }\n\n    /**\n     * @dev Returns the downcasted int136 from int256, reverting on\n     * overflow (when the input is less than smallest int136 or\n     * greater than largest int136).\n     *\n     * Counterpart to Solidity's `int136` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 136 bits\n     */\n    function toInt136(int256 value) internal pure returns (int136 downcasted) {\n        downcasted = int136(value);\n        if (downcasted != value) {\n            revert SafeCastOverflowedIntDowncast(136, value);\n        }\n    }\n\n    /**\n     * @dev Returns the downcasted int128 from int256, reverting on\n     * overflow (when the input is less than smallest int128 or\n     * greater than largest int128).\n     *\n     * Counterpart to Solidity's `int128` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 128 bits\n     */\n    function toInt128(int256 value) internal pure returns (int128 downcasted) {\n        downcasted = int128(value);\n        if (downcasted != value) {\n            revert SafeCastOverflowedIntDowncast(128, value);\n        }\n    }\n\n    /**\n     * @dev Returns the downcasted int120 from int256, reverting on\n     * overflow (when the input is less than smallest int120 or\n     * greater than largest int120).\n     *\n     * Counterpart to Solidity's `int120` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 120 bits\n     */\n    function toInt120(int256 value) internal pure returns (int120 downcasted) {\n        downcasted = int120(value);\n        if (downcasted != value) {\n            revert SafeCastOverflowedIntDowncast(120, value);\n        }\n    }\n\n    /**\n     * @dev Returns the downcasted int112 from int256, reverting on\n     * overflow (when the input is less than smallest int112 or\n     * greater than largest int112).\n     *\n     * Counterpart to Solidity's `int112` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 112 bits\n     */\n    function toInt112(int256 value) internal pure returns (int112 downcasted) {\n        downcasted = int112(value);\n        if (downcasted != value) {\n            revert SafeCastOverflowedIntDowncast(112, value);\n        }\n    }\n\n    /**\n     * @dev Returns the downcasted int104 from int256, reverting on\n     * overflow (when the input is less than smallest int104 or\n     * greater than largest int104).\n     *\n     * Counterpart to Solidity's `int104` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 104 bits\n     */\n    function toInt104(int256 value) internal pure returns (int104 downcasted) {\n        downcasted = int104(value);\n        if (downcasted != value) {\n            revert SafeCastOverflowedIntDowncast(104, value);\n        }\n    }\n\n    /**\n     * @dev Returns the downcasted int96 from int256, reverting on\n     * overflow (when the input is less than smallest int96 or\n     * greater than largest int96).\n     *\n     * Counterpart to Solidity's `int96` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 96 bits\n     */\n    function toInt96(int256 value) internal pure returns (int96 downcasted) {\n        downcasted = int96(value);\n        if (downcasted != value) {\n            revert SafeCastOverflowedIntDowncast(96, value);\n        }\n    }\n\n    /**\n     * @dev Returns the downcasted int88 from int256, reverting on\n     * overflow (when the input is less than smallest int88 or\n     * greater than largest int88).\n     *\n     * Counterpart to Solidity's `int88` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 88 bits\n     */\n    function toInt88(int256 value) internal pure returns (int88 downcasted) {\n        downcasted = int88(value);\n        if (downcasted != value) {\n            revert SafeCastOverflowedIntDowncast(88, value);\n        }\n    }\n\n    /**\n     * @dev Returns the downcasted int80 from int256, reverting on\n     * overflow (when the input is less than smallest int80 or\n     * greater than largest int80).\n     *\n     * Counterpart to Solidity's `int80` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 80 bits\n     */\n    function toInt80(int256 value) internal pure returns (int80 downcasted) {\n        downcasted = int80(value);\n        if (downcasted != value) {\n            revert SafeCastOverflowedIntDowncast(80, value);\n        }\n    }\n\n    /**\n     * @dev Returns the downcasted int72 from int256, reverting on\n     * overflow (when the input is less than smallest int72 or\n     * greater than largest int72).\n     *\n     * Counterpart to Solidity's `int72` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 72 bits\n     */\n    function toInt72(int256 value) internal pure returns (int72 downcasted) {\n        downcasted = int72(value);\n        if (downcasted != value) {\n            revert SafeCastOverflowedIntDowncast(72, value);\n        }\n    }\n\n    /**\n     * @dev Returns the downcasted int64 from int256, reverting on\n     * overflow (when the input is less than smallest int64 or\n     * greater than largest int64).\n     *\n     * Counterpart to Solidity's `int64` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 64 bits\n     */\n    function toInt64(int256 value) internal pure returns (int64 downcasted) {\n        downcasted = int64(value);\n        if (downcasted != value) {\n            revert SafeCastOverflowedIntDowncast(64, value);\n        }\n    }\n\n    /**\n     * @dev Returns the downcasted int56 from int256, reverting on\n     * overflow (when the input is less than smallest int56 or\n     * greater than largest int56).\n     *\n     * Counterpart to Solidity's `int56` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 56 bits\n     */\n    function toInt56(int256 value) internal pure returns (int56 downcasted) {\n        downcasted = int56(value);\n        if (downcasted != value) {\n            revert SafeCastOverflowedIntDowncast(56, value);\n        }\n    }\n\n    /**\n     * @dev Returns the downcasted int48 from int256, reverting on\n     * overflow (when the input is less than smallest int48 or\n     * greater than largest int48).\n     *\n     * Counterpart to Solidity's `int48` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 48 bits\n     */\n    function toInt48(int256 value) internal pure returns (int48 downcasted) {\n        downcasted = int48(value);\n        if (downcasted != value) {\n            revert SafeCastOverflowedIntDowncast(48, value);\n        }\n    }\n\n    /**\n     * @dev Returns the downcasted int40 from int256, reverting on\n     * overflow (when the input is less than smallest int40 or\n     * greater than largest int40).\n     *\n     * Counterpart to Solidity's `int40` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 40 bits\n     */\n    function toInt40(int256 value) internal pure returns (int40 downcasted) {\n        downcasted = int40(value);\n        if (downcasted != value) {\n            revert SafeCastOverflowedIntDowncast(40, value);\n        }\n    }\n\n    /**\n     * @dev Returns the downcasted int32 from int256, reverting on\n     * overflow (when the input is less than smallest int32 or\n     * greater than largest int32).\n     *\n     * Counterpart to Solidity's `int32` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 32 bits\n     */\n    function toInt32(int256 value) internal pure returns (int32 downcasted) {\n        downcasted = int32(value);\n        if (downcasted != value) {\n            revert SafeCastOverflowedIntDowncast(32, value);\n        }\n    }\n\n    /**\n     * @dev Returns the downcasted int24 from int256, reverting on\n     * overflow (when the input is less than smallest int24 or\n     * greater than largest int24).\n     *\n     * Counterpart to Solidity's `int24` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 24 bits\n     */\n    function toInt24(int256 value) internal pure returns (int24 downcasted) {\n        downcasted = int24(value);\n        if (downcasted != value) {\n            revert SafeCastOverflowedIntDowncast(24, value);\n        }\n    }\n\n    /**\n     * @dev Returns the downcasted int16 from int256, reverting on\n     * overflow (when the input is less than smallest int16 or\n     * greater than largest int16).\n     *\n     * Counterpart to Solidity's `int16` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 16 bits\n     */\n    function toInt16(int256 value) internal pure returns (int16 downcasted) {\n        downcasted = int16(value);\n        if (downcasted != value) {\n            revert SafeCastOverflowedIntDowncast(16, value);\n        }\n    }\n\n    /**\n     * @dev Returns the downcasted int8 from int256, reverting on\n     * overflow (when the input is less than smallest int8 or\n     * greater than largest int8).\n     *\n     * Counterpart to Solidity's `int8` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 8 bits\n     */\n    function toInt8(int256 value) internal pure returns (int8 downcasted) {\n        downcasted = int8(value);\n        if (downcasted != value) {\n            revert SafeCastOverflowedIntDowncast(8, value);\n        }\n    }\n\n    /**\n     * @dev Converts an unsigned uint256 into a signed int256.\n     *\n     * Requirements:\n     *\n     * - input must be less than or equal to maxInt256.\n     */\n    function toInt256(uint256 value) internal pure returns (int256) {\n        // Note: Unsafe cast below is okay because `type(int256).max` is guaranteed to be positive\n        if (value > uint256(type(int256).max)) {\n            revert SafeCastOverflowedUintToInt(value);\n        }\n        return int256(value);\n    }\n\n    /**\n     * @dev Cast a boolean (false or true) to a uint256 (0 or 1) with no jump.\n     */\n    function toUint(bool b) internal pure returns (uint256 u) {\n        assembly (\"memory-safe\") {\n            u := iszero(iszero(b))\n        }\n    }\n}\n"},"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"}},"compilation":{"language":"Solidity","compiler":"solc","compilerVersion":"0.8.28+commit.7893614a","compilerSettings":{"viaIR":true,"metadata":{"appendCBOR":true,"bytecodeHash":"none","useLiteralContent":false},"optimizer":{"runs":100000,"enabled":true},"evmVersion":"cancun","remappings":["@openzeppelin/contracts/=lib/openzeppelin-contracts/contracts/","ds-test/=lib/morpho-blue-irm/lib/forge-std/lib/ds-test/src/","erc4626-tests/=lib/metamorpho/lib/erc4626-tests/","forge-std/=lib/forge-std/src/","halmos-cheatcodes/=lib/morpho-blue/lib/halmos-cheatcodes/src/","metamorpho-v1.1/=lib/metamorpho-v1.1/","metamorpho/=lib/metamorpho/","morpho-blue-irm/=lib/morpho-blue-irm/","morpho-blue/=lib/morpho-blue/","openzeppelin-contracts/=lib/openzeppelin-contracts/","solmate/=lib/morpho-blue-irm/lib/solmate/src/"]},"name":"AaveStrategy","fullyQualifiedName":"src/adapters/AaveStrategy.sol:AaveStrategy"},"abi":[{"type":"constructor","inputs":[{"name":"_myt","type":"address","internalType":"address"},{"name":"_params","type":"tuple","components":[{"name":"owner","type":"address","internalType":"address"},{"name":"name","type":"string","internalType":"string"},{"name":"protocol","type":"string","internalType":"string"},{"name":"riskClass","type":"uint8","internalType":"enum IMYTStrategy.RiskClass"},{"name":"cap","type":"uint256","internalType":"uint256"},{"name":"globalCap","type":"uint256","internalType":"uint256"},{"name":"estimatedYield","type":"uint256","internalType":"uint256"},{"name":"additionalIncentives","type":"bool","internalType":"bool"},{"name":"slippageBPS","type":"uint256","internalType":"uint256"}],"internalType":"struct IMYTStrategy.StrategyParams"},{"name":"_mytAsset","type":"address","internalType":"address"},{"name":"_aToken","type":"address","internalType":"address"},{"name":"_poolProvider","type":"address","internalType":"address"},{"name":"_rewardsController","type":"address","internalType":"address"},{"name":"_rewardToken","type":"address","internalType":"address"}],"stateMutability":"nonpayable"},{"name":"ActionNotSupported","type":"error","inputs":[]},{"name":"CounterfeitSettler","type":"error","inputs":[{"name":"","type":"address","internalType":"address"}]},{"name":"ERC20CallFailed","type":"error","inputs":[{"name":"target","type":"address","internalType":"address"},{"name":"success","type":"bool","internalType":"bool"},{"name":"data","type":"bytes","internalType":"bytes"}]},{"name":"ERC20CallFailed","type":"error","inputs":[{"name":"target","type":"address","internalType":"address"},{"name":"success","type":"bool","internalType":"bool"},{"name":"data","type":"bytes","internalType":"bytes"}]},{"name":"ForceDeallocateSwapNotAllowed","type":"error","inputs":[]},{"name":"InsufficientBalance","type":"error","inputs":[{"name":"required","type":"uint256","internalType":"uint256"},{"name":"available","type":"uint256","internalType":"uint256"}]},{"name":"InvalidAmount","type":"error","inputs":[{"name":"min","type":"uint256","internalType":"uint256"},{"name":"received","type":"uint256","internalType":"uint256"}]},{"name":"OwnableInvalidOwner","type":"error","inputs":[{"name":"owner","type":"address","internalType":"address"}]},{"name":"OwnableUnauthorizedAccount","type":"error","inputs":[{"name":"account","type":"address","internalType":"address"}]},{"name":"StrategyAllocationPaused","type":"error","inputs":[{"name":"strategy","type":"address","internalType":"address"}]},{"name":"Allocate","type":"event","inputs":[{"name":"amount","type":"uint256","indexed":true,"internalType":"uint256"},{"name":"strategy","type":"address","indexed":true,"internalType":"address"}],"anonymous":false},{"name":"Deallocate","type":"event","inputs":[{"name":"amount","type":"uint256","indexed":true,"internalType":"uint256"},{"name":"strategy","type":"address","indexed":true,"internalType":"address"}],"anonymous":false},{"name":"DeallocateDex","type":"event","inputs":[{"name":"amount","type":"uint256","indexed":true,"internalType":"uint256"}],"anonymous":false},{"name":"Emergency","type":"event","inputs":[{"name":"isEmergency","type":"bool","indexed":true,"internalType":"bool"}],"anonymous":false},{"name":"IncentivesUpdated","type":"event","inputs":[{"name":"enabled","type":"bool","indexed":true,"internalType":"bool"}],"anonymous":false},{"name":"MinAllocationOutBpsUpdated","type":"event","inputs":[{"name":"newMinAllocationOutBps","type":"uint256","indexed":true,"internalType":"uint256"}],"anonymous":false},{"name":"OwnershipTransferred","type":"event","inputs":[{"name":"previousOwner","type":"address","indexed":true,"internalType":"address"},{"name":"newOwner","type":"address","indexed":true,"internalType":"address"}],"anonymous":false},{"name":"RewardsClaimed","type":"event","inputs":[{"name":"token","type":"address","indexed":true,"internalType":"address"},{"name":"amount","type":"uint256","indexed":true,"internalType":"uint256"}],"anonymous":false},{"name":"RiskClassUpdated","type":"event","inputs":[{"name":"class","type":"uint8","indexed":true,"internalType":"enum IMYTStrategy.RiskClass"}],"anonymous":false},{"name":"SlippageBPSUpdated","type":"event","inputs":[{"name":"newSlippageBPS","type":"uint256","indexed":true,"internalType":"uint256"}],"anonymous":false},{"name":"StrategyAllocationLoss","type":"event","inputs":[{"name":"message","type":"string","indexed":false,"internalType":"string"},{"name":"amountRequested","type":"uint256","indexed":false,"internalType":"uint256"},{"name":"actualAmountAllocated","type":"uint256","indexed":false,"internalType":"uint256"}],"anonymous":false},{"name":"TokensRescued","type":"event","inputs":[{"name":"token","type":"address","indexed":true,"internalType":"address"},{"name":"to","type":"address","indexed":true,"internalType":"address"},{"name":"amount","type":"uint256","indexed":false,"internalType":"uint256"}],"anonymous":false},{"name":"WithdrawToVault","type":"event","inputs":[{"name":"amount","type":"uint256","indexed":true,"internalType":"uint256"}],"anonymous":false},{"name":"YieldUpdated","type":"event","inputs":[{"name":"yield","type":"uint256","indexed":true,"internalType":"uint256"}],"anonymous":false},{"name":"FIXED_POINT_SCALAR","type":"function","inputs":[],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"FORCE_DEALLOCATE_SELECTOR","type":"function","inputs":[],"outputs":[{"name":"","type":"bytes4","internalType":"bytes4"}],"stateMutability":"view"},{"name":"MYT","type":"function","inputs":[],"outputs":[{"name":"","type":"address","internalType":"contract IVaultV2"}],"stateMutability":"view"},{"name":"SECONDS_PER_YEAR","type":"function","inputs":[],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"aToken","type":"function","inputs":[],"outputs":[{"name":"","type":"address","internalType":"contract IAaveAToken"}],"stateMutability":"view"},{"name":"adapterId","type":"function","inputs":[],"outputs":[{"name":"","type":"bytes32","internalType":"bytes32"}],"stateMutability":"view"},{"name":"adminDexSwap","type":"function","inputs":[{"name":"to","type":"address","internalType":"address"},{"name":"from","type":"address","internalType":"address"},{"name":"amount","type":"uint256","internalType":"uint256"},{"name":"minAmountOut","type":"uint256","internalType":"uint256"},{"name":"callData","type":"bytes","internalType":"bytes"}],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"nonpayable"},{"name":"allocate","type":"function","inputs":[{"name":"data","type":"bytes","internalType":"bytes"},{"name":"assets","type":"uint256","internalType":"uint256"},{"name":"selector","type":"bytes4","internalType":"bytes4"},{"name":"sender","type":"address","internalType":"address"}],"outputs":[{"name":"strategyIds","type":"bytes32[]","internalType":"bytes32[]"},{"name":"change","type":"int256","internalType":"int256"}],"stateMutability":"nonpayable"},{"name":"allocation","type":"function","inputs":[],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"allowanceHolder","type":"function","inputs":[],"outputs":[{"name":"","type":"address","internalType":"address"}],"stateMutability":"view"},{"name":"claimRewards","type":"function","inputs":[{"name":"token","type":"address","internalType":"address"},{"name":"quote","type":"bytes","internalType":"bytes"},{"name":"minAmountOut","type":"uint256","internalType":"uint256"}],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"nonpayable"},{"name":"claimWithdrawalQueue","type":"function","inputs":[{"name":"positionId","type":"uint256","internalType":"uint256"}],"outputs":[{"name":"ret","type":"uint256","internalType":"uint256"}],"stateMutability":"nonpayable"},{"name":"deallocate","type":"function","inputs":[{"name":"data","type":"bytes","internalType":"bytes"},{"name":"assets","type":"uint256","internalType":"uint256"},{"name":"selector","type":"bytes4","internalType":"bytes4"},{"name":"sender","type":"address","internalType":"address"}],"outputs":[{"name":"strategyIds","type":"bytes32[]","internalType":"bytes32[]"},{"name":"change","type":"int256","internalType":"int256"}],"stateMutability":"nonpayable"},{"name":"getCap","type":"function","inputs":[],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"getEstimatedYield","type":"function","inputs":[],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"getGlobalCap","type":"function","inputs":[],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"getIdData","type":"function","inputs":[],"outputs":[{"name":"","type":"bytes","internalType":"bytes"}],"stateMutability":"view"},{"name":"ids","type":"function","inputs":[],"outputs":[{"name":"","type":"bytes32[]","internalType":"bytes32[]"}],"stateMutability":"view"},{"name":"killSwitch","type":"function","inputs":[],"outputs":[{"name":"","type":"bool","internalType":"bool"}],"stateMutability":"view"},{"name":"mytAsset","type":"function","inputs":[],"outputs":[{"name":"","type":"address","internalType":"contract IERC20"}],"stateMutability":"view"},{"name":"owner","type":"function","inputs":[],"outputs":[{"name":"","type":"address","internalType":"address"}],"stateMutability":"view"},{"name":"params","type":"function","inputs":[],"outputs":[{"name":"owner","type":"address","internalType":"address"},{"name":"name","type":"string","internalType":"string"},{"name":"protocol","type":"string","internalType":"string"},{"name":"riskClass","type":"uint8","internalType":"enum IMYTStrategy.RiskClass"},{"name":"cap","type":"uint256","internalType":"uint256"},{"name":"globalCap","type":"uint256","internalType":"uint256"},{"name":"estimatedYield","type":"uint256","internalType":"uint256"},{"name":"additionalIncentives","type":"bool","internalType":"bool"},{"name":"slippageBPS","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"poolProvider","type":"function","inputs":[],"outputs":[{"name":"","type":"address","internalType":"contract IPoolAddressProvider"}],"stateMutability":"view"},{"name":"previewAdjustedWithdraw","type":"function","inputs":[{"name":"amount","type":"uint256","internalType":"uint256"}],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"realAssets","type":"function","inputs":[],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"renounceOwnership","type":"function","inputs":[],"outputs":[],"stateMutability":"nonpayable"},{"name":"rescueTokens","type":"function","inputs":[{"name":"token","type":"address","internalType":"address"},{"name":"to","type":"address","internalType":"address"},{"name":"amount","type":"uint256","internalType":"uint256"}],"outputs":[],"stateMutability":"nonpayable"},{"name":"rewardToken","type":"function","inputs":[],"outputs":[{"name":"","type":"address","internalType":"contract IERC20"}],"stateMutability":"view"},{"name":"rewardsController","type":"function","inputs":[],"outputs":[{"name":"","type":"address","internalType":"contract IRewardsController"}],"stateMutability":"view"},{"name":"setAdditionalIncentives","type":"function","inputs":[{"name":"newValue","type":"bool","internalType":"bool"}],"outputs":[],"stateMutability":"nonpayable"},{"name":"setAllowanceHolder","type":"function","inputs":[{"name":"_new","type":"address","internalType":"address"}],"outputs":[],"stateMutability":"nonpayable"},{"name":"setKillSwitch","type":"function","inputs":[{"name":"val","type":"bool","internalType":"bool"}],"outputs":[],"stateMutability":"nonpayable"},{"name":"setRiskClass","type":"function","inputs":[{"name":"newClass","type":"uint8","internalType":"enum IMYTStrategy.RiskClass"}],"outputs":[],"stateMutability":"nonpayable"},{"name":"setSlippageBPS","type":"function","inputs":[{"name":"newSlippageBPS","type":"uint256","internalType":"uint256"}],"outputs":[],"stateMutability":"nonpayable"},{"name":"transferOwnership","type":"function","inputs":[{"name":"newOwner","type":"address","internalType":"address"}],"outputs":[],"stateMutability":"nonpayable"},{"name":"withdrawToVault","type":"function","inputs":[],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"nonpayable"}],"metadata":{"compiler":{"version":"0.8.28+commit.7893614a"},"language":"Solidity","output":{"abi":[{"inputs":[{"internalType":"address","name":"_myt","type":"address"},{"components":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"string","name":"name","type":"string"},{"internalType":"string","name":"protocol","type":"string"},{"internalType":"enum IMYTStrategy.RiskClass","name":"riskClass","type":"uint8"},{"internalType":"uint256","name":"cap","type":"uint256"},{"internalType":"uint256","name":"globalCap","type":"uint256"},{"internalType":"uint256","name":"estimatedYield","type":"uint256"},{"internalType":"bool","name":"additionalIncentives","type":"bool"},{"internalType":"uint256","name":"slippageBPS","type":"uint256"}],"internalType":"struct IMYTStrategy.StrategyParams","name":"_params","type":"tuple"},{"internalType":"address","name":"_mytAsset","type":"address"},{"internalType":"address","name":"_aToken","type":"address"},{"internalType":"address","name":"_poolProvider","type":"address"},{"internalType":"address","name":"_rewardsController","type":"address"},{"internalType":"address","name":"_rewardToken","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ActionNotSupported","type":"error"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"CounterfeitSettler","type":"error"},{"inputs":[{"internalType":"address","name":"target","type":"address"},{"internalType":"bool","name":"success","type":"bool"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"ERC20CallFailed","type":"error"},{"inputs":[{"internalType":"address","name":"target","type":"address"},{"internalType":"bool","name":"success","type":"bool"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"ERC20CallFailed","type":"error"},{"inputs":[],"name":"ForceDeallocateSwapNotAllowed","type":"error"},{"inputs":[{"internalType":"uint256","name":"required","type":"uint256"},{"internalType":"uint256","name":"available","type":"uint256"}],"name":"InsufficientBalance","type":"error"},{"inputs":[{"internalType":"uint256","name":"min","type":"uint256"},{"internalType":"uint256","name":"received","type":"uint256"}],"name":"InvalidAmount","type":"error"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"OwnableInvalidOwner","type":"error"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"OwnableUnauthorizedAccount","type":"error"},{"inputs":[{"internalType":"address","name":"strategy","type":"address"}],"name":"StrategyAllocationPaused","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"amount","type":"uint256"},{"indexed":true,"internalType":"address","name":"strategy","type":"address"}],"name":"Allocate","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"amount","type":"uint256"},{"indexed":true,"internalType":"address","name":"strategy","type":"address"}],"name":"Deallocate","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"DeallocateDex","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bool","name":"isEmergency","type":"bool"}],"name":"Emergency","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bool","name":"enabled","type":"bool"}],"name":"IncentivesUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"newMinAllocationOutBps","type":"uint256"}],"name":"MinAllocationOutBpsUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"token","type":"address"},{"indexed":true,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"RewardsClaimed","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"enum IMYTStrategy.RiskClass","name":"class","type":"uint8"}],"name":"RiskClassUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"newSlippageBPS","type":"uint256"}],"name":"SlippageBPSUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"string","name":"message","type":"string"},{"indexed":false,"internalType":"uint256","name":"amountRequested","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"actualAmountAllocated","type":"uint256"}],"name":"StrategyAllocationLoss","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"token","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"TokensRescued","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"WithdrawToVault","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"yield","type":"uint256"}],"name":"YieldUpdated","type":"event"},{"inputs":[],"name":"FIXED_POINT_SCALAR","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"FORCE_DEALLOCATE_SELECTOR","outputs":[{"internalType":"bytes4","name":"","type":"bytes4"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MYT","outputs":[{"internalType":"contract IVaultV2","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"SECONDS_PER_YEAR","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"aToken","outputs":[{"internalType":"contract IAaveAToken","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"adapterId","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"address","name":"from","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"uint256","name":"minAmountOut","type":"uint256"},{"internalType":"bytes","name":"callData","type":"bytes"}],"name":"adminDexSwap","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes","name":"data","type":"bytes"},{"internalType":"uint256","name":"assets","type":"uint256"},{"internalType":"bytes4","name":"selector","type":"bytes4"},{"internalType":"address","name":"sender","type":"address"}],"name":"allocate","outputs":[{"internalType":"bytes32[]","name":"strategyIds","type":"bytes32[]"},{"internalType":"int256","name":"change","type":"int256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"allocation","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"allowanceHolder","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"token","type":"address"},{"internalType":"bytes","name":"quote","type":"bytes"},{"internalType":"uint256","name":"minAmountOut","type":"uint256"}],"name":"claimRewards","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"positionId","type":"uint256"}],"name":"claimWithdrawalQueue","outputs":[{"internalType":"uint256","name":"ret","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes","name":"data","type":"bytes"},{"internalType":"uint256","name":"assets","type":"uint256"},{"internalType":"bytes4","name":"selector","type":"bytes4"},{"internalType":"address","name":"sender","type":"address"}],"name":"deallocate","outputs":[{"internalType":"bytes32[]","name":"strategyIds","type":"bytes32[]"},{"internalType":"int256","name":"change","type":"int256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"getCap","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getEstimatedYield","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getGlobalCap","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getIdData","outputs":[{"internalType":"bytes","name":"","type":"bytes"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"ids","outputs":[{"internalType":"bytes32[]","name":"","type":"bytes32[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"killSwitch","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"mytAsset","outputs":[{"internalType":"contract IERC20","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"params","outputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"string","name":"name","type":"string"},{"internalType":"string","name":"protocol","type":"string"},{"internalType":"enum IMYTStrategy.RiskClass","name":"riskClass","type":"uint8"},{"internalType":"uint256","name":"cap","type":"uint256"},{"internalType":"uint256","name":"globalCap","type":"uint256"},{"internalType":"uint256","name":"estimatedYield","type":"uint256"},{"internalType":"bool","name":"additionalIncentives","type":"bool"},{"internalType":"uint256","name":"slippageBPS","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"poolProvider","outputs":[{"internalType":"contract IPoolAddressProvider","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"previewAdjustedWithdraw","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"realAssets","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"token","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"rescueTokens","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"rewardToken","outputs":[{"internalType":"contract IERC20","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"rewardsController","outputs":[{"internalType":"contract IRewardsController","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bool","name":"newValue","type":"bool"}],"name":"setAdditionalIncentives","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_new","type":"address"}],"name":"setAllowanceHolder","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"val","type":"bool"}],"name":"setKillSwitch","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"enum IMYTStrategy.RiskClass","name":"newClass","type":"uint8"}],"name":"setRiskClass","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newSlippageBPS","type":"uint256"}],"name":"setSlippageBPS","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdrawToVault","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"nonpayable","type":"function"}],"devdoc":{"errors":{"ERC20CallFailed(address,bool,bytes)":[{"params":{"data":"The resulting data from the call. This is error data when the call was not a                success. Otherwise, this is malformed data when the call was a success.","success":"If the call to the token was a success.","target":"The target address."}},{"params":{"data":"The resulting data from the call. This is error data when the call was not a success. Otherwise,                this is malformed data when the call was a success.","success":"If the call to the token was a success.","target":"The target address."}}],"OwnableInvalidOwner(address)":[{"details":"The owner is not a valid owner account. (eg. `address(0)`)"}],"OwnableUnauthorizedAccount(address)":[{"details":"The caller account is not authorized to perform an operation."}]},"kind":"dev","methods":{"adminDexSwap(address,address,uint256,uint256,bytes)":{"params":{"amount":"The amount of `from` tokens to swap.","callData":"The calldata for the 0x interaction.","from":"The source token address (token to sell).","minAmountOut":"The minimum amount of `to` tokens expected.","to":"The target token address (token to buy)."},"returns":{"_0":"amountReceived The amount of `to` tokens received."}},"owner()":{"details":"Returns the address of the current owner."},"renounceOwnership()":{"details":"Leaves the contract without owner. It will not be possible to call `onlyOwner` functions. Can only be called by the current owner. NOTE: Renouncing ownership will leave the contract without an owner, thereby disabling any functionality that is only available to the owner."},"rescueTokens(address,address,uint256)":{"params":{"amount":"The amount to rescue","to":"The recipient address","token":"The token to rescue"}},"setAdditionalIncentives(bool)":{"details":"some protocols may pay yield in baby tokens so we need to manually collect them"},"transferOwnership(address)":{"details":"Transfers ownership of the contract to a new account (`newOwner`). Can only be called by the current owner."}},"title":"AaveStrategy","version":1},"userdoc":{"errors":{"ERC20CallFailed(address,bool,bytes)":[{"notice":"An error used to indicate that a call to an ERC20 contract failed."},{"notice":"An error used to indicate that a call to an ERC20 contract failed."}]},"kind":"user","methods":{"adminDexSwap(address,address,uint256,uint256,bytes)":{"notice":"Admin only function to perform a DEX swap via the 0x AllowanceHolder."},"allocate(bytes,uint256,bytes4,address)":{"notice":"See Morpho V2 vault spec"},"allocation()":{"notice":"Returns the vault's current allocation tracking for this adapter"},"claimRewards(address,bytes,uint256)":{"notice":"call this function to claim all available rewards from the respective protocol of this strategy"},"claimWithdrawalQueue(uint256)":{"notice":"call this function to handle strategies with withdrawal queue NFT"},"deallocate(bytes,uint256,bytes4,address)":{"notice":"See Morpho V2 vault spec"},"getEstimatedYield()":{"notice":"get the current snapshotted estimated yield for this strategy. This call does not guarantee the latest up-to-date yield and there might be discrepancies from the respective protocols numbers."},"killSwitch()":{"notice":"This value is true when the underlying protocol is known to experience issues or security incidents. In this case the allocation step is simply bypassed without reverts (to keep external allocators from reverting)."},"previewAdjustedWithdraw(uint256)":{"notice":"helper function to estimate the correct amount that can be fully withdrawn from a strategy, accounting for losses due to slippage, protocol fees, and rounding differences"},"realAssets()":{"notice":"External function per IAdapter spec - returns total underlying value"},"rescueTokens(address,address,uint256)":{"notice":"Rescue arbitrary ERC20 tokens sent to this contract by mistake"},"setKillSwitch(bool)":{"notice":"enter/exit emergency mode for this strategy"},"setRiskClass(uint8)":{"notice":"recategorize this strategy to a different risk class"},"setSlippageBPS(uint256)":{"notice":"Update the slippage tolerance for this strategy"},"withdrawToVault()":{"notice":"withdraw any leftover assets back to the vault"}},"notice":"Generic deployable strategy for Aave v3 integrations.","version":1}},"settings":{"compilationTarget":{"src/adapters/AaveStrategy.sol":"AaveStrategy"},"evmVersion":"cancun","libraries":{},"metadata":{"bytecodeHash":"none"},"optimizer":{"enabled":true,"runs":100000},"remappings":[":@openzeppelin/contracts/=lib/openzeppelin-contracts/contracts/",":ds-test/=lib/morpho-blue-irm/lib/forge-std/lib/ds-test/src/",":erc4626-tests/=lib/metamorpho/lib/erc4626-tests/",":forge-std/=lib/forge-std/src/",":halmos-cheatcodes/=lib/morpho-blue/lib/halmos-cheatcodes/src/",":metamorpho-v1.1/=lib/metamorpho-v1.1/",":metamorpho/=lib/metamorpho/",":morpho-blue-irm/=lib/morpho-blue-irm/",":morpho-blue/=lib/morpho-blue/",":openzeppelin-contracts/=lib/openzeppelin-contracts/",":solmate/=lib/morpho-blue-irm/lib/solmate/src/"],"viaIR":true},"sources":{"lib/openzeppelin-contracts/contracts/access/Ownable.sol":{"keccak256":"0xff6d0bb2e285473e5311d9d3caacb525ae3538a80758c10649a4d61029b017bb","license":"MIT","urls":["bzz-raw://8ed324d3920bb545059d66ab97d43e43ee85fd3bd52e03e401f020afb0b120f6","dweb:/ipfs/QmfEckWLmZkDDcoWrkEvMWhms66xwTLff9DDhegYpvHo1a"]},"lib/openzeppelin-contracts/contracts/token/ERC20/IERC20.sol":{"keccak256":"0xee2337af2dc162a973b4be6d3f7c16f06298259e0af48c5470d2839bfa8a22f4","license":"MIT","urls":["bzz-raw://30c476b4b2f405c1bb3f0bae15b006d129c80f1bfd9d0f2038160a3bb9745009","dweb:/ipfs/Qmb3VcuDufv6xbHeVgksC4tHpc5gKYVqBEwjEXW72XzSvN"]},"lib/openzeppelin-contracts/contracts/token/ERC20/extensions/IERC20Metadata.sol":{"keccak256":"0x88f7b6f070ad1de2bf899da6978ed74b5038eac78c01b7359b92b60c3d965c28","license":"MIT","urls":["bzz-raw://c436edb6733a036607c6f17cc590e8ee351363a8cb4c564a98d9a66392c89323","dweb:/ipfs/QmcJvJR2K3EtYcKEXVpQ1WqT6TvAbVem5HR1FirAsqEXFR"]},"lib/openzeppelin-contracts/contracts/utils/Context.sol":{"keccak256":"0x493033a8d1b176a037b2cc6a04dad01a5c157722049bbecf632ca876224dd4b2","license":"MIT","urls":["bzz-raw://6a708e8a5bdb1011c2c381c9a5cfd8a9a956d7d0a9dc1bd8bcdaf52f76ef2f12","dweb:/ipfs/Qmax9WHBnVsZP46ZxEMNRQpLQnrdE4dK8LehML1Py8FowF"]},"lib/openzeppelin-contracts/contracts/utils/Panic.sol":{"keccak256":"0x156d11cd8394cb9245b0bb9d7a27f5b3e7193e3cec7b91a66474ae01af8d818c","license":"MIT","urls":["bzz-raw://6f171e65be237fe4aaa2f7a74862c10a06535b8c04baa42e848a63c6fc96bcd4","dweb:/ipfs/QmUdz8WHcrjqYmbRaz5PFN2N2thfvQjcqTorZUfcmWTfat"]},"lib/openzeppelin-contracts/contracts/utils/math/Math.sol":{"keccak256":"0xd2fb25b789ccaf6bf50b147ecff4c9d62d05d3f5c5d562fdf568f6926a2a280c","license":"MIT","urls":["bzz-raw://521e2df6ed2080c9ae2f442b27a827551ab96ff2e5f920ad6dc978c355b4b966","dweb:/ipfs/Qme1Z6dU7ZDQMfKiHwpLejAyFGsP9HpijvX9uzxivEGjga"]},"lib/openzeppelin-contracts/contracts/utils/math/SafeCast.sol":{"keccak256":"0x8cdcfbd2484c2e7db797f57ff8731fe11d7ab0092c7a1112f8ad6047ad6d4481","license":"MIT","urls":["bzz-raw://356742c148ca77b9d953059072c32cf9d0d98ae782129fe442c73a6736bfd7cb","dweb:/ipfs/QmZN5jdoBbCihsv1RK8n6pf6cC89pi77KGAasn7ZvyuNTn"]},"src/adapters/AaveStrategy.sol":{"keccak256":"0x6c679f1575261d7b71c7951be34d828a19f7ca71019922d030b9da53f0062dd0","license":"MIT","urls":["bzz-raw://4a8c6e3bfa6ae8668b6bc09a0d5b4e1d2faf94255020532de5fff0872c16d2e9","dweb:/ipfs/QmWshGeqeAEgMzRQr68DyrJbwtUDgNYLKBkQqidpzQ4DVo"]},"src/adapters/MYTStrategy.sol":{"keccak256":"0x73f0d217688dd4f09497db8aedc5b18052d5e5f0bae4d4fe29ae5af5fabdeedc","license":"MIT","urls":["bzz-raw://24fdb8faddcd085dd79a46595ef8ada40e8ce472da7e9f7057b4e5e9e1bb63ec","dweb:/ipfs/QmaRdJPnUMjFr3RdfWa8GhkEjxw4HwYv1L6bbSPxjp44Ez"]},"src/adapters/interfaces/IMYTStrategy.sol":{"keccak256":"0x7e69bd63b4b74cc4048ba858950836a4cd5631b59dfc7a4ee2bf7954a44a05f1","license":"MIT","urls":["bzz-raw://7a50c090bc1ad975dacf8ce03e7b48fee0309448a36f0cb18b5e2f0d41185fb3","dweb:/ipfs/QmaT3HAP5RpEzsXCU1bRKijBJ9BpTbc1dywbu1zMyh5nXx"]},"src/interfaces/IERC20.sol":{"keccak256":"0x4e66403784cf08fa5b5dc072b0ddb5a168dd69e8c3cdb912eed37e7da43f32a7","license":"GPL-2.0-or-later","urls":["bzz-raw://b67ef4141949be81dc2176a28334430687013f142ccc22f62b569a0cb90abd14","dweb:/ipfs/QmNsfyx5cGaDjWoMJiPdLnNwBvCk1PqBcKYqL935aUDemu"]},"src/interfaces/IERC20Burnable.sol":{"keccak256":"0xf8c3f358b6a695111bd50bb55f5a3b15fcc64f9d4bd06eb431c1971f9f06efa0","urls":["bzz-raw://284a1f3432a769e2d1acf0a1a4332f363df2d5c8ba3805450972537e37922d3a","dweb:/ipfs/Qme67qhZwqzLrAKYctet2pUxDkSVBGwYwfjzsHyY6JkTQk"]},"src/interfaces/IERC20Mintable.sol":{"keccak256":"0xc1b914233f2f087d15a4ea57115544d91ddd3a1ceb1fa7c35bae1d34baf4a045","urls":["bzz-raw://5fe89f2dd1959ea499ce2c8c17a69eab8f58c2a2365c00818b95da935300b29b","dweb:/ipfs/QmVFavL3FctxmGdgyHhQWjpxnTDnyow9H3a8nPLAipiaW2"]},"src/interfaces/IERC2612.sol":{"keccak256":"0x8a6a5882a5ade43ae94e7406251df9911a782f34ad723df857c8a2d8764a77fe","license":"GPL-2.0-or-later","urls":["bzz-raw://12767619d08b112738bed4f6d6df29771730ca65f52c64edb9854a0c19af1c82","dweb:/ipfs/QmeqUTxqRfRz6UQkbqJaRMAmL9D4eSPDeARYhSKxR9gZNt"]},"src/interfaces/IERC4626.sol":{"keccak256":"0x49085f03fc0d7bd727b2c3cc1ae3e5b975f8a863011ec8fda293b613c611a7c3","license":"GPL-2.0-or-later","urls":["bzz-raw://38c86fc0c3d21190aec87f79009d24849170b66f411209e106cc279e8164c425","dweb:/ipfs/QmRNQMWnoebdj3wq77NxSsYAJpDTjdFFKi3ASXHe74yvYq"]},"src/interfaces/IVaultV2.sol":{"keccak256":"0xd2e10276f2e354162ee695eb0700f2567b4e0e635bc03b5a669aa4ac78b15633","license":"GPL-2.0-or-later","urls":["bzz-raw://12c80ecbac96d303dd09714c411751a4241278a0c758af3906d19a50203ee602","dweb:/ipfs/QmP8BEViY32ndKGSameP83xcJhUw83NBVjrZRVbMqWDi48"]},"src/libraries/SafeERC20.sol":{"keccak256":"0xaadaaadf560b8cbd03846005dc3e0834065a8a46778385e45046f782723d5640","license":"AGPL-3.0-only","urls":["bzz-raw://42662ecc363e110e67be5defe3e1161d66e7f624eed7316357070fbcecde22cc","dweb:/ipfs/QmVzs3kiCi7jKSXNvL7aLWxgaQ44AEnDeRocpHW4VXoTxi"]},"src/libraries/TokenUtils.sol":{"keccak256":"0xbbdde302144b6056e4c12e6f5200129f617ce3959ef8e852cd461da17d482be1","urls":["bzz-raw://c47d152189b28f9873183ab133b4f5e8596f3a69264837b95c6bb3d46a0c726a","dweb:/ipfs/QmNcq52Hao5Qhj6aerkhBfHcFKVdF9LuGMgvFnc8yoAYRg"]}},"version":1},"storageLayout":{"types":{"t_bool":{"label":"bool","encoding":"inplace","numberOfBytes":"1"},"t_address":{"label":"address","encoding":"inplace","numberOfBytes":"20"},"t_uint256":{"label":"uint256","encoding":"inplace","numberOfBytes":"32"},"t_string_storage":{"label":"string","encoding":"bytes","numberOfBytes":"32"},"t_enum(RiskClass)5265":{"label":"enum IMYTStrategy.RiskClass","encoding":"inplace","numberOfBytes":"1"},"t_struct(StrategyParams)5285_storage":{"label":"struct IMYTStrategy.StrategyParams","members":[{"slot":"0","type":"t_address","astId":5267,"label":"owner","offset":0,"contract":"src/adapters/AaveStrategy.sol:AaveStrategy"},{"slot":"1","type":"t_string_storage","astId":5269,"label":"name","offset":0,"contract":"src/adapters/AaveStrategy.sol:AaveStrategy"},{"slot":"2","type":"t_string_storage","astId":5271,"label":"protocol","offset":0,"contract":"src/adapters/AaveStrategy.sol:AaveStrategy"},{"slot":"3","type":"t_enum(RiskClass)5265","astId":5274,"label":"riskClass","offset":0,"contract":"src/adapters/AaveStrategy.sol:AaveStrategy"},{"slot":"4","type":"t_uint256","astId":5276,"label":"cap","offset":0,"contract":"src/adapters/AaveStrategy.sol:AaveStrategy"},{"slot":"5","type":"t_uint256","astId":5278,"label":"globalCap","offset":0,"contract":"src/adapters/AaveStrategy.sol:AaveStrategy"},{"slot":"6","type":"t_uint256","astId":5280,"label":"estimatedYield","offset":0,"contract":"src/adapters/AaveStrategy.sol:AaveStrategy"},{"slot":"7","type":"t_bool","astId":5282,"label":"additionalIncentives","offset":0,"contract":"src/adapters/AaveStrategy.sol:AaveStrategy"},{"slot":"8","type":"t_uint256","astId":5284,"label":"slippageBPS","offset":0,"contract":"src/adapters/AaveStrategy.sol:AaveStrategy"}],"encoding":"inplace","numberOfBytes":"288"}},"storage":[{"slot":"0","type":"t_address","astId":8,"label":"_owner","offset":0,"contract":"src/adapters/AaveStrategy.sol:AaveStrategy"},{"slot":"1","type":"t_address","astId":4259,"label":"allowanceHolder","offset":0,"contract":"src/adapters/AaveStrategy.sol:AaveStrategy"},{"slot":"2","type":"t_struct(StrategyParams)5285_storage","astId":4271,"label":"params","offset":0,"contract":"src/adapters/AaveStrategy.sol:AaveStrategy"},{"slot":"11","type":"t_bool","astId":4276,"label":"killSwitch","offset":0,"contract":"src/adapters/AaveStrategy.sol:AaveStrategy"}]},"transientStorageLayout":{"types":null,"storage":[]},"userdoc":{"kind":"user","errors":{"ERC20CallFailed(address,bool,bytes)":[{"notice":"An error used to indicate that a call to an ERC20 contract failed."},{"notice":"An error used to indicate that a call to an ERC20 contract failed."}]},"notice":"Generic deployable strategy for Aave v3 integrations.","methods":{"allocation()":{"notice":"Returns the vault's current allocation tracking for this adapter"},"killSwitch()":{"notice":"This value is true when the underlying protocol is known to experience issues or security incidents. In this case the allocation step is simply bypassed without reverts (to keep external allocators from reverting)."},"realAssets()":{"notice":"External function per IAdapter spec - returns total underlying value"},"withdrawToVault()":{"notice":"withdraw any leftover assets back to the vault"},"getEstimatedYield()":{"notice":"get the current snapshotted estimated yield for this strategy. This call does not guarantee the latest up-to-date yield and there might be discrepancies from the respective protocols numbers."},"setKillSwitch(bool)":{"notice":"enter/exit emergency mode for this strategy"},"setRiskClass(uint8)":{"notice":"recategorize this strategy to a different risk class"},"setSlippageBPS(uint256)":{"notice":"Update the slippage tolerance for this strategy"},"claimWithdrawalQueue(uint256)":{"notice":"call this function to handle strategies with withdrawal queue NFT"},"previewAdjustedWithdraw(uint256)":{"notice":"helper function to estimate the correct amount that can be fully withdrawn from a strategy, accounting for losses due to slippage, protocol fees, and rounding differences"},"claimRewards(address,bytes,uint256)":{"notice":"call this function to claim all available rewards from the respective protocol of this strategy"},"rescueTokens(address,address,uint256)":{"notice":"Rescue arbitrary ERC20 tokens sent to this contract by mistake"},"allocate(bytes,uint256,bytes4,address)":{"notice":"See Morpho V2 vault spec"},"deallocate(bytes,uint256,bytes4,address)":{"notice":"See Morpho V2 vault spec"},"adminDexSwap(address,address,uint256,uint256,bytes)":{"notice":"Admin only function to perform a DEX swap via the 0x AllowanceHolder."}},"version":1},"devdoc":{"kind":"dev","title":"AaveStrategy","errors":{"OwnableInvalidOwner(address)":[{"details":"The owner is not a valid owner account. (eg. `address(0)`)"}],"ERC20CallFailed(address,bool,bytes)":[{"params":{"data":"The resulting data from the call. This is error data when the call was not a                success. Otherwise, this is malformed data when the call was a success.","target":"The target address.","success":"If the call to the token was a success."}},{"params":{"data":"The resulting data from the call. This is error data when the call was not a success. Otherwise,                this is malformed data when the call was a success.","target":"The target address.","success":"If the call to the token was a success."}}],"OwnableUnauthorizedAccount(address)":[{"details":"The caller account is not authorized to perform an operation."}]},"methods":{"owner()":{"details":"Returns the address of the current owner."},"renounceOwnership()":{"details":"Leaves the contract without owner. It will not be possible to call `onlyOwner` functions. Can only be called by the current owner. NOTE: Renouncing ownership will leave the contract without an owner, thereby disabling any functionality that is only available to the owner."},"transferOwnership(address)":{"details":"Transfers ownership of the contract to a new account (`newOwner`). Can only be called by the current owner."},"setAdditionalIncentives(bool)":{"details":"some protocols may pay yield in baby tokens so we need to manually collect them"},"rescueTokens(address,address,uint256)":{"params":{"to":"The recipient address","token":"The token to rescue","amount":"The amount to rescue"}},"adminDexSwap(address,address,uint256,uint256,bytes)":{"params":{"to":"The target token address (token to buy).","from":"The source token address (token to sell).","amount":"The amount of `from` tokens to swap.","callData":"The calldata for the 0x interaction.","minAmountOut":"The minimum amount of `to` tokens expected."},"returns":{"_0":"amountReceived The amount of `to` tokens received."}}},"version":1},"sourceIds":{"src/interfaces/IERC20.sol":{"id":10},"src/interfaces/IERC2612.sol":{"id":13},"src/interfaces/IERC4626.sol":{"id":14},"src/interfaces/IVaultV2.sol":{"id":15},"src/libraries/SafeERC20.sol":{"id":16},"src/adapters/MYTStrategy.sol":{"id":8},"src/libraries/TokenUtils.sol":{"id":17},"src/adapters/AaveStrategy.sol":{"id":7},"src/interfaces/IERC20Burnable.sol":{"id":11},"src/interfaces/IERC20Mintable.sol":{"id":12},"src/adapters/interfaces/IMYTStrategy.sol":{"id":9},"lib/openzeppelin-contracts/contracts/utils/Panic.sol":{"id":4},"lib/openzeppelin-contracts/contracts/utils/Context.sol":{"id":3},"lib/openzeppelin-contracts/contracts/access/Ownable.sol":{"id":0},"lib/openzeppelin-contracts/contracts/utils/math/Math.sol":{"id":5},"lib/openzeppelin-contracts/contracts/token/ERC20/IERC20.sol":{"id":1},"lib/openzeppelin-contracts/contracts/utils/math/SafeCast.sol":{"id":6},"lib/openzeppelin-contracts/contracts/token/ERC20/extensions/IERC20Metadata.sol":{"id":2}},"additionalInput":null,"stdJsonInput":{"sources":{"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"},"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"},"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"},"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/libraries/SafeERC20.sol":{"content":"// SPDX-License-Identifier: AGPL-3.0-only\npragma solidity >=0.8.4;\n\nimport {IERC20} from \"../../lib/openzeppelin-contracts/contracts/token/ERC20/IERC20.sol\";\nimport {IERC20Metadata} from \"../../lib/openzeppelin-contracts/contracts/token/ERC20/extensions/IERC20Metadata.sol\";\n\n/// @title  SafeERC20\n/// @author Alchemix Finance\nlibrary SafeERC20 {\n    /// @notice An error used to indicate that a call to an ERC20 contract failed.\n    ///\n    /// @param target  The target address.\n    /// @param success If the call to the token was a success.\n    /// @param data    The resulting data from the call. This is error data when the call was not a\n    ///                success. Otherwise, this is malformed data when the call was a success.\n    error ERC20CallFailed(address target, bool success, bytes data);\n\n    /// @dev A safe function to get the decimals of an ERC20 token.\n    ///\n    /// @dev Reverts with a {CallFailed} error if execution of the query fails or returns an\n    ///      unexpected value.\n    ///\n    /// @param token The target token.\n    ///\n    /// @return The amount of decimals of the token.\n    function expectDecimals(address token) internal view returns (uint8) {\n        (bool success, bytes memory data) = token.staticcall(abi.encodeWithSelector(IERC20Metadata.decimals.selector));\n\n        if (!success || data.length < 32) {\n            revert ERC20CallFailed(token, success, data);\n        }\n\n        return abi.decode(data, (uint8));\n    }\n\n    /// @dev Transfers tokens to another address.\n    ///\n    /// @dev Reverts with a {CallFailed} error if execution of the transfer failed or returns an\n    ///      unexpected value.\n    ///\n    /// @param token     The token to transfer.\n    /// @param recipient The address of the recipient.\n    /// @param amount    The amount of tokens to transfer.\n    function safeTransfer(address token, address recipient, uint256 amount) internal {\n        (bool success, bytes memory data) =\n            token.call(abi.encodeWithSelector(IERC20.transfer.selector, recipient, amount));\n\n        if (!success || (data.length != 0 && !abi.decode(data, (bool)))) {\n            revert ERC20CallFailed(token, success, data);\n        }\n    }\n\n    /// @dev Approves tokens for the smart contract.\n    ///\n    /// @dev Reverts with a {CallFailed} error if execution of the approval fails or returns an\n    ///      unexpected value.\n    ///\n    /// @param token   The token to approve.\n    /// @param spender The contract to spend the tokens.\n    /// @param value   The amount of tokens to approve.\n    function safeApprove(address token, address spender, uint256 value) internal {\n        (bool success, bytes memory data) = token.call(abi.encodeWithSelector(IERC20.approve.selector, spender, value));\n\n        if (!success || (data.length != 0 && !abi.decode(data, (bool)))) {\n            revert ERC20CallFailed(token, success, data);\n        }\n    }\n\n    /// @dev Transfer tokens from one address to another address.\n    ///\n    /// @dev Reverts with a {CallFailed} error if execution of the transfer fails or returns an\n    ///      unexpected value.\n    ///\n    /// @param token     The token to transfer.\n    /// @param owner     The address of the owner.\n    /// @param recipient The address of the recipient.\n    /// @param amount    The amount of tokens to transfer.\n    function safeTransferFrom(address token, address owner, address recipient, uint256 amount) internal {\n        (bool success, bytes memory data) =\n            token.call(abi.encodeWithSelector(IERC20.transferFrom.selector, owner, recipient, amount));\n\n        if (!success || (data.length != 0 && !abi.decode(data, (bool)))) {\n            revert ERC20CallFailed(token, success, data);\n        }\n    }\n}\n"},"src/adapters/MYTStrategy.sol":{"content":"// SPDX-License-Identifier: MIT\n\npragma solidity 0.8.28;\n\nimport {IVaultV2} from \"../interfaces/IVaultV2.sol\";\nimport {Ownable} from \"../../lib/openzeppelin-contracts/contracts/access/Ownable.sol\";\nimport {IMYTStrategy} from \"./interfaces/IMYTStrategy.sol\";\nimport {IERC20} from \"../../lib/openzeppelin-contracts/contracts/token/ERC20/IERC20.sol\";\nimport {SafeERC20} from \"../libraries/SafeERC20.sol\";\nimport {TokenUtils} from \"../libraries/TokenUtils.sol\";\nimport {Math} from \"../../lib/openzeppelin-contracts/contracts/utils/math/Math.sol\";\n\ninterface IERC721Tiny {\n    function ownerOf(uint256 tokenId) external view returns (address);\n}\n\n/**\n * @title MYTStrategy\n * @notice The MYT is a Morpho V2 Vault, and each strategy is just a vault adapter which interfaces with a third party\n * protocol\n * @notice This contract should be inherited by all strategies\n */\ncontract MYTStrategy is IMYTStrategy, Ownable {\n    using Math for uint256;\n\n    IVaultV2 public immutable MYT;\n    // address public immutable receiptToken;\n    address public allowanceHolder; // 0x Allowance holder\n    uint256 public constant SECONDS_PER_YEAR = 365 days;\n    uint256 public constant FIXED_POINT_SCALAR = 1e18;\n    bytes4 public constant FORCE_DEALLOCATE_SELECTOR = 0xe4d38cd8;\n\n    IMYTStrategy.StrategyParams public params;\n    bytes32 public immutable adapterId;\n\n    /// @notice This value is true when the underlying protocol is known to\n    /// experience issues or security incidents. In this case the allocation step is simply\n    /// bypassed without reverts (to keep external allocators from reverting).\n    bool public killSwitch;\n\n    modifier onlyVault() {\n        require(msg.sender == address(MYT), \"PD\");\n        _;\n    }\n\n    /* ========== CONSTRUCTOR ========== */\n\n    /**\n     * @notice Constructor for the MYTStrategy contract\n     * @param _myt The address of the MYT vault\n     * @param _params The parameters for the strategy\n     */\n    constructor(address _myt, StrategyParams memory _params) Ownable(_params.owner) {\n        require(_params.owner != address(0));\n        require(_myt != address(0));\n        require(_params.slippageBPS < 5000);\n        MYT = IVaultV2(_myt);\n        params = _params;\n        adapterId = keccak256(abi.encode(\"this\", address(this)));\n        allowanceHolder = 0x0000000000001fF3684f28c67538d4D072C22734;\n    }\n\n    /* ========== CORE ADAPTER FUNCTIONS ========== */\n\n    /// @notice See Morpho V2 vault spec\n    function allocate(bytes memory data, uint256 assets, bytes4 selector, address sender)\n        external\n        onlyVault\n        returns (bytes32[] memory strategyIds, int256 change)\n    {\n        if (killSwitch) revert StrategyAllocationPaused(address(this));\n        if (assets == 0) revert InvalidAmount(1, 0);\n\n        VaultAdapterParams memory adapterParams = abi.decode(data, (VaultAdapterParams));\n        uint256 amountAllocated;\n\n        if (adapterParams.action == ActionType.direct) {\n            amountAllocated = _allocate(assets);\n        } else if (adapterParams.action == ActionType.swap) {\n            amountAllocated = _allocate(assets, adapterParams.swapParams.txData);\n        } else {\n            revert ActionNotSupported();\n        }\n\n        uint256 oldAllocation = allocation();\n        uint256 newAllocation = _totalValue();\n        emit Allocate(amountAllocated, address(this));\n        return (ids(), int256(newAllocation) - int256(oldAllocation));\n    }\n\n    /// @notice See Morpho V2 vault spec\n    function deallocate(bytes memory data, uint256 assets, bytes4 selector, address sender)\n        external\n        onlyVault\n        returns (bytes32[] memory strategyIds, int256 change)\n    {\n        if (assets == 0) revert InvalidAmount(1, 0);\n\n        VaultAdapterParams memory adapterParams = abi.decode(data, (VaultAdapterParams));\n        _validateDeallocateAction(adapterParams.action, selector);\n\n        uint256 oldAllocation = allocation();\n\n        uint256 amountDeallocated;\n\n        if (adapterParams.action == ActionType.direct) {\n            amountDeallocated = _deallocate(assets);\n        } else if (adapterParams.action == ActionType.swap) {\n            amountDeallocated = _deallocate(assets, adapterParams.swapParams.txData);\n        } else if (adapterParams.action == ActionType.unwrapAndSwap) {\n            amountDeallocated =\n                _deallocate(assets, adapterParams.swapParams.txData, adapterParams.swapParams.minIntermediateOut);\n        } else {\n            revert ActionNotSupported();\n        }\n\n        uint256 totalValueAfter = _totalValue();\n        require(totalValueAfter >= assets, \"inconsistent totalValue\");\n        uint256 newAllocation = totalValueAfter - assets;\n        emit Deallocate(amountDeallocated, address(this));\n        return (ids(), int256(newAllocation) - int256(oldAllocation));\n    }\n\n    /* ========== INTERNAL HELPER FUNCTIONS ========== */\n\n    /// @dev Helper to swap tokens via 0x\n    function dexSwap(address to, address from, uint256 amount, uint256 minAmountOut, bytes memory callData)\n        internal\n        returns (uint256)\n    {\n        SafeERC20.safeApprove(from, allowanceHolder, amount);\n        uint256 targetBalanceBefore = IERC20(to).balanceOf(address(this));\n        (bool success,) = allowanceHolder.call(callData);\n        if (!success) revert CounterfeitSettler(allowanceHolder);\n        SafeERC20.safeApprove(from, allowanceHolder, 0);\n\n        uint256 amountReceived = IERC20(to).balanceOf(address(this)) - targetBalanceBefore;\n        if (amountReceived < minAmountOut) revert InvalidAmount(minAmountOut, amountReceived);\n        return amountReceived;\n    }\n\n    /// @dev Helper to check if strategy holds enough idle assets\n    function _ensureIdleBalance(address asset, uint256 amount) internal view {\n        uint256 balance = TokenUtils.safeBalanceOf(asset, address(this));\n        if (balance < amount) revert InsufficientBalance(amount, balance);\n    }\n\n    /// @dev Force deallocations are limited to direct withdrawals on strategies that opt in.\n    function _validateDeallocateAction(ActionType action, bytes4 selector) internal view {\n        if (selector == FORCE_DEALLOCATE_SELECTOR && (action != ActionType.direct || !_canForceDeallocate())) {\n            revert ForceDeallocateSwapNotAllowed();\n        }\n    }\n\n    /* ========== VIEW FUNCTIONS ========== */\n\n    /// @notice helper function to estimate the correct amount that can be fully\n    /// withdrawn from a strategy, accounting for losses\n    /// due to slippage, protocol fees, and rounding differences\n    function previewAdjustedWithdraw(uint256 amount) external view returns (uint256) {\n        if (amount == 0) revert InvalidAmount(1, 0);\n        return _previewAdjustedWithdraw(amount);\n    }\n\n    /// @notice call this function to handle strategies with withdrawal queue NFT\n    function claimWithdrawalQueue(uint256 positionId) public virtual onlyOwner returns (uint256 ret) {\n        return _claimWithdrawalQueue(positionId);\n    }\n\n    /// @notice call this function to claim all available rewards from the respective\n    /// protocol of this strategy\n    function claimRewards(address token, bytes memory quote, uint256 minAmountOut)\n        public\n        virtual\n        onlyOwner\n        returns (uint256)\n    {\n        require(!killSwitch, \"emergency\");\n        return _claimRewards(token, quote, minAmountOut);\n    }\n\n    /// @notice withdraw any leftover assets back to the vault\n    function withdrawToVault() public virtual onlyOwner returns (uint256) {\n        uint256 leftover = IERC20(MYT.asset()).balanceOf(address(this));\n        SafeERC20.safeTransfer(MYT.asset(), address(MYT), leftover);\n        emit WithdrawToVault(leftover);\n        return leftover;\n    }\n\n    /// @notice Rescue arbitrary ERC20 tokens sent to this contract by mistake\n    /// @param token The token to rescue\n    /// @param to The recipient address\n    /// @param amount The amount to rescue\n    function rescueTokens(address token, address to, uint256 amount) external onlyOwner {\n        require(to != address(0), \"Invalid recipient\");\n        require(!_isProtectedToken(token), \"Protected token\");\n        uint256 balance = IERC20(token).balanceOf(address(this));\n        require(amount <= balance, \"Insufficient balance\");\n        IERC20(token).transfer(to, amount);\n        emit TokensRescued(token, to, amount);\n    }\n\n    /* ========== ADMIN FUNCTIONS ========== */\n\n    /// @notice recategorize this strategy to a different risk class\n    function setRiskClass(RiskClass newClass) public onlyOwner {\n        params.riskClass = newClass;\n        emit RiskClassUpdated(newClass);\n    }\n\n    /// @dev some protocols may pay yield in baby tokens\n    /// so we need to manually collect them\n    function setAdditionalIncentives(bool newValue) public onlyOwner {\n        params.additionalIncentives = newValue;\n        emit IncentivesUpdated(newValue);\n    }\n\n    /// @notice enter/exit emergency mode for this strategy\n    function setKillSwitch(bool val) public onlyOwner {\n        killSwitch = val;\n        emit Emergency(val);\n    }\n\n    function setAllowanceHolder(address _new) public onlyOwner {\n        require(_new != address(0));\n        allowanceHolder = _new;\n    }\n\n    /// @notice Update the slippage tolerance for this strategy\n    function setSlippageBPS(uint256 newSlippageBPS) public onlyOwner {\n        require(newSlippageBPS < 9999, \"Slippage too high\");\n        params.slippageBPS = newSlippageBPS;\n        emit SlippageBPSUpdated(newSlippageBPS);\n    }\n\n    /* ========== GETTERS ========== */\n\n    /// @notice get the current snapshotted estimated yield for this strategy.\n    /// This call does not guarantee the latest up-to-date yield and there might\n    /// be discrepancies from the respective protocols numbers.\n    function getEstimatedYield() public view returns (uint256) {\n        return params.estimatedYield;\n    }\n\n    function getCap() external view returns (uint256) {\n        return params.cap;\n    }\n\n    function getGlobalCap() external view returns (uint256) {\n        return params.globalCap;\n    }\n\n    function ids() public view returns (bytes32[] memory) {\n        bytes32[] memory ids_ = new bytes32[](1);\n        ids_[0] = adapterId;\n        return ids_;\n    }\n\n    /// @notice Returns the vault's current allocation tracking for this adapter\n    function allocation() public view returns (uint256) {\n        return MYT.allocation(adapterId);\n    }\n\n    function getIdData() external view returns (bytes memory) {\n        return abi.encode(\"this\", address(this));\n    }\n\n    /// @notice External function per IAdapter spec - returns total underlying value\n    function realAssets() external view virtual returns (uint256) {\n        return _totalValue();\n    }\n\n    /* ========== VIRTUAL FUNCTIONS ========== */\n\n    /// @dev Check if a token is protected and cannot be rescued.\n    /// Override this function in child contracts to add protocol-specific protected tokens\n    /// (e.g., receipt tokens, aTokens, mTokens, staking tokens).\n    /// @param token The token to check\n    /// @return True if the token is protected\n    function _isProtectedToken(address token) internal view virtual returns (bool) {\n        return token == MYT.asset();\n    }\n\n    /// @dev override this function to handle wrapping/allocation/moving funds to\n    /// the respective protocol of this strategy\n    /// @notice uint56 amount returned should be equal to the amount parameter passed in\n    /// @notice should attempt to log any loss due to rounding\n    function _allocate(uint256 amount) internal virtual returns (uint256) {\n        revert ActionNotSupported();\n    }\n\n    /// @dev override this function to handle wrapping/allocation/moving funds to\n    /// the respective protocol of this strategy\n    /// @notice uint56 amount returned should be equal to the amount parameter passed in\n    /// @notice should attempt to log any loss due to rounding\n    function _allocate(uint256 amount, bytes memory callData) internal virtual returns (uint256) {\n        revert ActionNotSupported();\n    }\n\n    /// @dev override this function to handle unwrapping/deallocation/moving funds from\n    /// the respective protocol of this strategy\n    /// @notice uint56 amount returned must be equal to the amount parameter passed in\n    /// @notice due to how MorphoVaultV2 internally handles deallocations,\n    /// strategies must have atleast >= amount available at the end of this function call\n    /// if not, the strategy will revert\n    /// @notice amount of asset must be approved to the vault (i.e. msg.sender)\n    function _deallocate(uint256 amount) internal virtual returns (uint256) {\n        revert ActionNotSupported();\n    }\n\n    /// @dev override this function to handle unwrapping/deallocation/moving funds from\n    /// the respective protocol of this strategy\n    /// @notice uint56 amount returned must be equal to the amount parameter passed in\n    /// @notice due to how MorphoVaultV2 internally handles deallocations,\n    /// strategies must have atleast >= amount available at the end of this function call\n    /// if not, the strategy will revert\n    /// @notice amount of asset must be approved to the vault (i.e. msg.sender)\n    function _deallocate(uint256 amount, bytes memory callData) internal virtual returns (uint256) {\n        revert ActionNotSupported();\n    }\n\n    /// @dev override this function to handle unwrapping/deallocation/moving funds from\n    /// the strategy to the vault using a swap with specified in calldata\n    /// @param amount the WETH amount expected to be returned to the vault\n    /// @param callData the 0x swap calldata\n    /// @param minIntermediateOutAmount the minimum amount of intermediate token expected to be received from the unwrap\n    function _deallocate(uint256 amount, bytes memory callData, uint256 minIntermediateOutAmount)\n        internal\n        virtual\n        returns (uint256)\n    {\n        revert ActionNotSupported();\n    }\n\n    /// @dev override this function to handle preview withdraw with slippage\n    /// @notice this function should be used to estimate the correct amount that can be fully withdrawn, accounting for\n    /// losses due to slippage, protocol fees, and rounding differences\n    function _previewAdjustedWithdraw(uint256 amount) internal view virtual returns (uint256) {}\n\n    /// @dev override this function to handle strategies with withdrawal queue NFT\n    function _claimWithdrawalQueue(uint256 positionId) internal virtual returns (uint256) {}\n\n    /// @dev override this function to claim all available rewards from the respective\n    /// protocol of this strategy in the form of a specific token\n    /// this ERC20 reward must then be converted to the MYT's asset\n    function _claimRewards(address token, bytes memory quote, uint256 minAmountOut)\n        internal\n        virtual\n        returns (uint256)\n    {}\n\n    /// @dev override this function to return the total underlying value of the strategy\n    /// @dev must return the total underling value of the strategy's position (i.e. in vault asset e.g. USDC or WETH)\n    function _totalValue() internal view virtual returns (uint256) {}\n\n    function _idleAssets() internal view virtual returns (uint256) {}\n\n    /// @dev override this function to return if the strategy can force deallocate\n    /// @return True if the strategy can force deallocate\n    function _canForceDeallocate() internal view virtual returns (bool) {\n        return true;\n    }\n}\n"},"src/libraries/TokenUtils.sol":{"content":"pragma solidity ^0.8.23;\n\nimport \"../../lib/openzeppelin-contracts/contracts/token/ERC20/IERC20.sol\";\nimport \"../../lib/openzeppelin-contracts/contracts/token/ERC20/extensions/IERC20Metadata.sol\";\nimport \"../interfaces/IERC20Burnable.sol\";\nimport \"../interfaces/IERC20Mintable.sol\";\n\n/// @title  TokenUtils\n/// @author Alchemix Finance\nlibrary TokenUtils {\n    /// @notice An error used to indicate that a call to an ERC20 contract failed.\n    ///\n    /// @param target  The target address.\n    /// @param success If the call to the token was a success.\n    /// @param data    The resulting data from the call. This is error data when the call was not a success. Otherwise,\n    ///                this is malformed data when the call was a success.\n    error ERC20CallFailed(address target, bool success, bytes data);\n\n    /// @dev A safe function to get the decimals of an ERC20 token.\n    ///\n    /// @dev Reverts with a {CallFailed} error if execution of the query fails or returns an unexpected value.\n    ///\n    /// @param token The target token.\n    ///\n    /// @return The amount of decimals of the token.\n    function expectDecimals(address token) internal view returns (uint8) {\n        (bool success, bytes memory data) = token.staticcall(abi.encodeWithSelector(IERC20Metadata.decimals.selector));\n\n        if (token.code.length == 0 || !success || data.length < 32) {\n            revert ERC20CallFailed(token, success, data);\n        }\n\n        return abi.decode(data, (uint8));\n    }\n\n    /// @dev Gets the balance of tokens held by an account.\n    ///\n    /// @dev Reverts with a {CallFailed} error if execution of the query fails or returns an unexpected value.\n    ///\n    /// @param token   The token to check the balance of.\n    /// @param account The address of the token holder.\n    ///\n    /// @return The balance of the tokens held by an account.\n    function safeBalanceOf(address token, address account) internal view returns (uint256) {\n        (bool success, bytes memory data) = token.staticcall(abi.encodeWithSelector(IERC20.balanceOf.selector, account));\n\n        if (token.code.length == 0 || !success || data.length < 32) {\n            revert ERC20CallFailed(token, success, data);\n        }\n\n        return abi.decode(data, (uint256));\n    }\n\n    /// @dev Transfers tokens to another address.\n    ///\n    /// @dev Reverts with a {CallFailed} error if execution of the transfer failed or returns an unexpected value.\n    ///\n    /// @param token     The token to transfer.\n    /// @param recipient The address of the recipient.\n    /// @param amount    The amount of tokens to transfer.\n    function safeTransfer(address token, address recipient, uint256 amount) internal {\n        (bool success, bytes memory data) =\n            token.call(abi.encodeWithSelector(IERC20.transfer.selector, recipient, amount));\n\n        if (token.code.length == 0 || !success || (data.length != 0 && !abi.decode(data, (bool)))) {\n            revert ERC20CallFailed(token, success, data);\n        }\n    }\n\n    /// @dev Approves tokens for the smart contract.\n    ///\n    /// @dev Reverts with a {CallFailed} error if execution of the approval fails or returns an unexpected value.\n    ///\n    /// @param token   The token to approve.\n    /// @param spender The contract to spend the tokens.\n    /// @param value   The amount of tokens to approve.\n    function safeApprove(address token, address spender, uint256 value) internal {\n        (bool success, bytes memory data) = token.call(abi.encodeWithSelector(IERC20.approve.selector, spender, value));\n\n        if (token.code.length == 0 || !success || (data.length != 0 && !abi.decode(data, (bool)))) {\n            revert ERC20CallFailed(token, success, data);\n        }\n    }\n\n    /// @dev Transfer tokens from one address to another address.\n    ///\n    /// @dev Reverts with a {CallFailed} error if execution of the transfer fails or returns an unexpected value.\n    ///\n    /// @param token     The token to transfer.\n    /// @param owner     The address of the owner.\n    /// @param recipient The address of the recipient.\n    /// @param amount    The amount of tokens to transfer.\n    function safeTransferFrom(address token, address owner, address recipient, uint256 amount) internal {\n        (bool success, bytes memory data) =\n            token.call(abi.encodeWithSelector(IERC20.transferFrom.selector, owner, recipient, amount));\n\n        if (token.code.length == 0 || !success || (data.length != 0 && !abi.decode(data, (bool)))) {\n            revert ERC20CallFailed(token, success, data);\n        }\n    }\n\n    /// @dev Mints tokens to an address.\n    ///\n    /// @dev Reverts with a {CallFailed} error if execution of the mint fails or returns an unexpected value.\n    ///\n    /// @param token     The token to mint.\n    /// @param recipient The address of the recipient.\n    /// @param amount    The amount of tokens to mint.\n    function safeMint(address token, address recipient, uint256 amount) internal {\n        (bool success, bytes memory data) =\n            token.call(abi.encodeWithSelector(IERC20Mintable.mint.selector, recipient, amount));\n\n        if (token.code.length == 0 || !success || (data.length != 0 && !abi.decode(data, (bool)))) {\n            revert ERC20CallFailed(token, success, data);\n        }\n    }\n\n    /// @dev Burns tokens.\n    ///\n    /// Reverts with a `CallFailed` error if execution of the burn fails or returns an unexpected value.\n    ///\n    /// @param token  The token to burn.\n    /// @param amount The amount of tokens to burn.\n    function safeBurn(address token, uint256 amount) internal {\n        (bool success, bytes memory data) = token.call(abi.encodeWithSelector(IERC20Burnable.burn.selector, amount));\n\n        if (token.code.length == 0 || !success || (data.length != 0 && !abi.decode(data, (bool)))) {\n            revert ERC20CallFailed(token, success, data);\n        }\n    }\n\n    /// @dev Burns tokens from its total supply.\n    ///\n    /// @dev Reverts with a {CallFailed} error if execution of the burn fails or returns an unexpected value.\n    ///\n    /// @param token  The token to burn.\n    /// @param owner  The owner of the tokens.\n    /// @param amount The amount of tokens to burn.\n    function safeBurnFrom(address token, address owner, uint256 amount) internal {\n        (bool success, bytes memory data) =\n            token.call(abi.encodeWithSelector(IERC20Burnable.burnFrom.selector, owner, amount));\n\n        if (token.code.length == 0 || !success || (data.length != 0 && !abi.decode(data, (bool)))) {\n            revert ERC20CallFailed(token, success, data);\n        }\n    }\n}\n"},"src/adapters/AaveStrategy.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity 0.8.28;\n\nimport {IERC20} from \"../../lib/openzeppelin-contracts/contracts/token/ERC20/IERC20.sol\";\nimport {MYTStrategy} from \"./MYTStrategy.sol\";\nimport {TokenUtils} from \"../libraries/TokenUtils.sol\";\n\ninterface IAavePool {\n    function supply(address asset, uint256 amount, address onBehalfOf, uint16 referralCode) external;\n    function withdraw(address asset, uint256 amount, address to) external returns (uint256);\n}\n\ninterface IPoolAddressProvider {\n    function getPool() external view returns (address);\n}\n\ninterface IAaveAToken {\n    function balanceOf(address) external view returns (uint256);\n}\n\ninterface IRewardsController {\n    function claimAllRewardsToSelf(address[] calldata assets)\n        external\n        returns (address[] memory rewardsList, uint256[] memory claimedAmounts);\n}\n\n/**\n * @title AaveStrategy\n * @notice Generic deployable strategy for Aave v3 integrations.\n */\ncontract AaveStrategy is MYTStrategy {\n    IERC20 public immutable mytAsset;\n    IPoolAddressProvider public immutable poolProvider;\n    IAaveAToken public immutable aToken;\n    IRewardsController public immutable rewardsController;\n    IERC20 public immutable rewardToken;\n\n    constructor(\n        address _myt,\n        StrategyParams memory _params,\n        address _mytAsset,\n        address _aToken,\n        address _poolProvider,\n        address _rewardsController,\n        address _rewardToken\n    ) MYTStrategy(_myt, _params) {\n        mytAsset = IERC20(_mytAsset);\n        aToken = IAaveAToken(_aToken);\n        poolProvider = IPoolAddressProvider(_poolProvider);\n        rewardsController = IRewardsController(_rewardsController);\n        rewardToken = IERC20(_rewardToken);\n    }\n\n    function _allocate(uint256 amount) internal virtual override returns (uint256) {\n        _ensureIdleBalance(address(mytAsset), amount);\n\n        IAavePool pool = IAavePool(poolProvider.getPool());\n        TokenUtils.safeApprove(address(mytAsset), address(pool), amount);\n        pool.supply(address(mytAsset), amount, address(this), 0);\n        return amount;\n    }\n\n    function _deallocate(uint256 amount) internal virtual override returns (uint256) {\n        IAavePool pool = IAavePool(poolProvider.getPool());\n        uint256 idleBalance = _idleAssets();\n        uint256 withdrawnAmount = amount;\n\n        if (idleBalance < amount) {\n            uint256 shortfall = amount - idleBalance;\n            uint256 balanceBefore = TokenUtils.safeBalanceOf(address(mytAsset), address(this));\n            withdrawnAmount = pool.withdraw(address(mytAsset), shortfall, address(this));\n            uint256 balanceAfter = TokenUtils.safeBalanceOf(address(mytAsset), address(this));\n\n            if (withdrawnAmount < shortfall) revert InvalidAmount(shortfall, withdrawnAmount);\n            if (balanceAfter < balanceBefore + shortfall) {\n                revert InsufficientBalance(balanceBefore + shortfall, balanceAfter);\n            }\n        }\n\n        TokenUtils.safeApprove(address(mytAsset), msg.sender, amount);\n        return withdrawnAmount;\n    }\n\n    function _previewAdjustedWithdraw(uint256 amount) internal view virtual override returns (uint256) {\n        // Aave doesn't charge withdrawal fees, so we just apply slippage.\n        return amount - (amount * params.slippageBPS / 10_000);\n    }\n\n    function _totalValue() internal view virtual override returns (uint256) {\n        // aToken balance reflects principal + interest in underlying units.\n        return aToken.balanceOf(address(this)) + _idleAssets();\n    }\n\n    function _idleAssets() internal view virtual override returns (uint256) {\n        return TokenUtils.safeBalanceOf(address(mytAsset), address(this));\n    }\n\n    function _claimRewards(address token, bytes memory quote, uint256 minAmountOut)\n        internal\n        virtual\n        override\n        returns (uint256)\n    {\n        address[] memory assets = new address[](1);\n        assets[0] = token;\n\n        uint256 rewardBefore = rewardToken.balanceOf(address(this));\n        rewardsController.claimAllRewardsToSelf(assets);\n        uint256 rewardReceived = rewardToken.balanceOf(address(this)) - rewardBefore;\n        if (rewardReceived == 0) return 0;\n\n        emit RewardsClaimed(address(rewardToken), rewardReceived);\n\n        uint256 assetsReceived =\n            dexSwap(address(MYT.asset()), address(rewardToken), rewardReceived, minAmountOut, quote);\n        TokenUtils.safeTransfer(address(MYT.asset()), address(MYT), assetsReceived);\n        return assetsReceived;\n    }\n\n    function _isProtectedToken(address token) internal view virtual override returns (bool) {\n        return token == MYT.asset() || token == address(aToken);\n    }\n\n    /// @notice Admin only function to perform a DEX swap via the 0x AllowanceHolder.\n    /// @param to The target token address (token to buy).\n    /// @param from The source token address (token to sell).\n    /// @param amount The amount of `from` tokens to swap.\n    /// @param minAmountOut The minimum amount of `to` tokens expected.\n    /// @param callData The calldata for the 0x interaction.\n    /// @return amountReceived The amount of `to` tokens received.\n    function adminDexSwap(address to, address from, uint256 amount, uint256 minAmountOut, bytes calldata callData)\n        external\n        onlyOwner\n        returns (uint256)\n    {\n        return dexSwap(to, from, amount, minAmountOut, callData);\n    }\n}\n"},"src/interfaces/IERC20Burnable.sol":{"content":"pragma solidity >=0.5.0;\n\nimport \"../../lib/openzeppelin-contracts/contracts/token/ERC20/IERC20.sol\";\n\n/// @title  IERC20Burnable\n/// @author Alchemix Finance\ninterface IERC20Burnable is IERC20 {\n    /// @notice Burns `amount` tokens from the balance of `msg.sender`.\n    ///\n    /// @param amount The amount of tokens to burn.\n    ///\n    /// @return If burning the tokens was successful.\n    function burn(uint256 amount) external returns (bool);\n\n    /// @notice Burns `amount` tokens from `owner`'s balance.\n    ///\n    /// @param owner  The address to burn tokens from.\n    /// @param amount The amount of tokens to burn.\n    ///\n    /// @return If burning the tokens was successful.\n    function burnFrom(address owner, uint256 amount) external returns (bool);\n}\n"},"src/interfaces/IERC20Mintable.sol":{"content":"pragma solidity >=0.5.0;\n\nimport \"../../lib/openzeppelin-contracts/contracts/token/ERC20/IERC20.sol\";\n\n/// @title  IERC20Mintable\n/// @author Alchemix Finance\ninterface IERC20Mintable is IERC20 {\n    /// @notice Mints `amount` tokens to `recipient`.\n    ///\n    /// @param recipient The address which will receive the minted tokens.\n    /// @param amount    The amount of tokens to mint.\n    function mint(address recipient, uint256 amount) external;\n}\n"},"src/adapters/interfaces/IMYTStrategy.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity 0.8.28;\n\ninterface IMYTStrategy {\n    // Enums\n    enum RiskClass {\n        LOW,\n        MEDIUM,\n        HIGH\n    }\n\n    // Structs\n    struct StrategyParams {\n        address owner;\n        string name;\n        string protocol;\n        RiskClass riskClass;\n        uint256 cap;\n        uint256 globalCap;\n        uint256 estimatedYield;\n        bool additionalIncentives;\n        uint256 slippageBPS;\n    }\n\n    enum ActionType {\n        direct, // for wrap/unwrap\n        swap, // for dex swap\n        unwrapAndSwap // for unwrap -> dex swap\n    }\n\n    struct VaultAdapterParams {\n        ActionType action;\n        SwapParams swapParams;\n    }\n\n    struct SwapParams {\n        bytes txData; // 0x swap calldata\n        uint256 minIntermediateOut; // Minimum intermediate token out (e.g., stETH from unwrap)\n    } // Only used for ActionType.unwrapAndSwap\n\n    // Events\n    event Allocate(uint256 indexed amount, address indexed strategy);\n    event Deallocate(uint256 indexed amount, address indexed strategy);\n    event DeallocateDex(uint256 indexed amount);\n    event YieldUpdated(uint256 indexed yield);\n    event RiskClassUpdated(RiskClass indexed class);\n    event IncentivesUpdated(bool indexed enabled);\n    event SlippageBPSUpdated(uint256 indexed newSlippageBPS);\n    event MinAllocationOutBpsUpdated(uint256 indexed newMinAllocationOutBps);\n    event Emergency(bool indexed isEmergency);\n    event StrategyAllocationLoss(string message, uint256 amountRequested, uint256 actualAmountAllocated);\n    event WithdrawToVault(uint256 indexed amount);\n    event RewardsClaimed(address indexed token, uint256 indexed amount);\n    event TokensRescued(address indexed token, address indexed to, uint256 amount);\n    // Errors\n    error StrategyAllocationPaused(address strategy);\n    error CounterfeitSettler(address);\n    error ActionNotSupported();\n    error ForceDeallocateSwapNotAllowed();\n    error InvalidAmount(uint256 min, uint256 received);\n    error InsufficientBalance(uint256 required, uint256 available);\n\n    // Functions\n    /// @dev wrapper function for the customizable _allocate counterpart\n    function allocate(bytes memory data, uint256 assets, bytes4 selector, address sender)\n        external\n        returns (bytes32[] memory strategyIds, int256 change);\n\n    /// @dev wrapper function for the customizable _deallocate counterpart\n    function deallocate(bytes memory data, uint256 assets, bytes4 selector, address sender)\n        external\n        returns (bytes32[] memory strategyIds, int256 change);\n\n    /// @dev alternative withdraw/deallocate route using a 0x quote\n    //function deallocateDex(bytes memory data, uint256 amount) external returns (bytes32[] memory strategyIds, int256 change);\n\n    /// @dev override this function to handle strategies with withdrawal queue NFT\n    function claimWithdrawalQueue(uint256 positionId) external returns (uint256);\n\n    /// @notice withdraw any leftover assets back to the vault\n    function withdrawToVault() external returns (uint256);\n\n    /// @dev override this function to claim all available rewards from the respective\n    /// protocol of this strategy\n    function claimRewards(address token, bytes memory quote, uint256 minAmountOut) external returns (uint256);\n\n    /// @notice recategorize this strategy to a different risk class\n    function setRiskClass(RiskClass newClass) external;\n\n    function setAdditionalIncentives(bool newValue) external;\n\n    /// @notice enter/exit emergency mode for this strategy\n    function setKillSwitch(bool val) external;\n\n    /// @notice get the current snapshotted estimated yield for this strategy.\n    /// This call does not guarantee the latest up-to-date yield and there might\n    /// be discrepancies from the respective protocols numbers.\n    function getEstimatedYield() external view returns (uint256);\n\n    // Getter for params\n    function params()\n        external\n        view\n        returns (\n            address owner,\n            string memory name,\n            string memory protocol,\n            RiskClass riskClass,\n            uint256 cap,\n            uint256 globalCap,\n            uint256 estimatedYield,\n            bool additionalIncentives,\n            uint256 slippageBPS\n        );\n\n    function getCap() external view returns (uint256);\n    function getGlobalCap() external view returns (uint256);\n    function realAssets() external view returns (uint256);\n    function getIdData() external view returns (bytes memory);\n    function ids() external view returns (bytes32[] memory);\n    function adapterId() external view returns (bytes32);\n    function previewAdjustedWithdraw(uint256 amount) external view returns (uint256);\n}\n"},"lib/openzeppelin-contracts/contracts/utils/Panic.sol":{"content":"// SPDX-License-Identifier: MIT\n\npragma solidity ^0.8.20;\n\n/**\n * @dev Helper library for emitting standardized panic codes.\n *\n * ```solidity\n * contract Example {\n *      using Panic for uint256;\n *\n *      // Use any of the declared internal constants\n *      function foo() { Panic.GENERIC.panic(); }\n *\n *      // Alternatively\n *      function foo() { Panic.panic(Panic.GENERIC); }\n * }\n * ```\n *\n * Follows the list from https://github.com/ethereum/solidity/blob/v0.8.24/libsolutil/ErrorCodes.h[libsolutil].\n *\n * _Available since v5.1._\n */\n// slither-disable-next-line unused-state\nlibrary Panic {\n    /// @dev generic / unspecified error\n    uint256 internal constant GENERIC = 0x00;\n    /// @dev used by the assert() builtin\n    uint256 internal constant ASSERT = 0x01;\n    /// @dev arithmetic underflow or overflow\n    uint256 internal constant UNDER_OVERFLOW = 0x11;\n    /// @dev division or modulo by zero\n    uint256 internal constant DIVISION_BY_ZERO = 0x12;\n    /// @dev enum conversion error\n    uint256 internal constant ENUM_CONVERSION_ERROR = 0x21;\n    /// @dev invalid encoding in storage\n    uint256 internal constant STORAGE_ENCODING_ERROR = 0x22;\n    /// @dev empty array pop\n    uint256 internal constant EMPTY_ARRAY_POP = 0x31;\n    /// @dev array out of bounds access\n    uint256 internal constant ARRAY_OUT_OF_BOUNDS = 0x32;\n    /// @dev resource error (too large allocation or too large array)\n    uint256 internal constant RESOURCE_ERROR = 0x41;\n    /// @dev calling invalid internal function\n    uint256 internal constant INVALID_INTERNAL_FUNCTION = 0x51;\n\n    /// @dev Reverts with a panic code. Recommended to use with\n    /// the internal constants with predefined codes.\n    function panic(uint256 code) internal pure {\n        assembly (\"memory-safe\") {\n            mstore(0x00, 0x4e487b71)\n            mstore(0x20, code)\n            revert(0x1c, 0x24)\n        }\n    }\n}\n"},"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/access/Ownable.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.0.0) (access/Ownable.sol)\n\npragma solidity ^0.8.20;\n\nimport {Context} from \"../utils/Context.sol\";\n\n/**\n * @dev Contract module which provides a basic access control mechanism, where\n * there is an account (an owner) that can be granted exclusive access to\n * specific functions.\n *\n * The initial owner is set to the address provided by the deployer. This can\n * later be changed with {transferOwnership}.\n *\n * This module is used through inheritance. It will make available the modifier\n * `onlyOwner`, which can be applied to your functions to restrict their use to\n * the owner.\n */\nabstract contract Ownable is Context {\n    address private _owner;\n\n    /**\n     * @dev The caller account is not authorized to perform an operation.\n     */\n    error OwnableUnauthorizedAccount(address account);\n\n    /**\n     * @dev The owner is not a valid owner account. (eg. `address(0)`)\n     */\n    error OwnableInvalidOwner(address owner);\n\n    event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);\n\n    /**\n     * @dev Initializes the contract setting the address provided by the deployer as the initial owner.\n     */\n    constructor(address initialOwner) {\n        if (initialOwner == address(0)) {\n            revert OwnableInvalidOwner(address(0));\n        }\n        _transferOwnership(initialOwner);\n    }\n\n    /**\n     * @dev Throws if called by any account other than the owner.\n     */\n    modifier onlyOwner() {\n        _checkOwner();\n        _;\n    }\n\n    /**\n     * @dev Returns the address of the current owner.\n     */\n    function owner() public view virtual returns (address) {\n        return _owner;\n    }\n\n    /**\n     * @dev Throws if the sender is not the owner.\n     */\n    function _checkOwner() internal view virtual {\n        if (owner() != _msgSender()) {\n            revert OwnableUnauthorizedAccount(_msgSender());\n        }\n    }\n\n    /**\n     * @dev Leaves the contract without owner. It will not be possible to call\n     * `onlyOwner` functions. Can only be called by the current owner.\n     *\n     * NOTE: Renouncing ownership will leave the contract without an owner,\n     * thereby disabling any functionality that is only available to the owner.\n     */\n    function renounceOwnership() public virtual onlyOwner {\n        _transferOwnership(address(0));\n    }\n\n    /**\n     * @dev Transfers ownership of the contract to a new account (`newOwner`).\n     * Can only be called by the current owner.\n     */\n    function transferOwnership(address newOwner) public virtual onlyOwner {\n        if (newOwner == address(0)) {\n            revert OwnableInvalidOwner(address(0));\n        }\n        _transferOwnership(newOwner);\n    }\n\n    /**\n     * @dev Transfers ownership of the contract to a new account (`newOwner`).\n     * Internal function without access restriction.\n     */\n    function _transferOwnership(address newOwner) internal virtual {\n        address oldOwner = _owner;\n        _owner = newOwner;\n        emit OwnershipTransferred(oldOwner, newOwner);\n    }\n}\n"},"lib/openzeppelin-contracts/contracts/utils/math/Math.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.0.0) (utils/math/Math.sol)\n\npragma solidity ^0.8.20;\n\nimport {Panic} from \"../Panic.sol\";\nimport {SafeCast} from \"./SafeCast.sol\";\n\n/**\n * @dev Standard math utilities missing in the Solidity language.\n */\nlibrary Math {\n    enum Rounding {\n        Floor, // Toward negative infinity\n        Ceil, // Toward positive infinity\n        Trunc, // Toward zero\n        Expand // Away from zero\n    }\n\n    /**\n     * @dev Returns the addition of two unsigned integers, with an success flag (no overflow).\n     */\n    function tryAdd(uint256 a, uint256 b) internal pure returns (bool success, uint256 result) {\n        unchecked {\n            uint256 c = a + b;\n            if (c < a) return (false, 0);\n            return (true, c);\n        }\n    }\n\n    /**\n     * @dev Returns the subtraction of two unsigned integers, with an success flag (no overflow).\n     */\n    function trySub(uint256 a, uint256 b) internal pure returns (bool success, uint256 result) {\n        unchecked {\n            if (b > a) return (false, 0);\n            return (true, a - b);\n        }\n    }\n\n    /**\n     * @dev Returns the multiplication of two unsigned integers, with an success flag (no overflow).\n     */\n    function tryMul(uint256 a, uint256 b) internal pure returns (bool success, uint256 result) {\n        unchecked {\n            // Gas optimization: this is cheaper than requiring 'a' not being zero, but the\n            // benefit is lost if 'b' is also tested.\n            // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522\n            if (a == 0) return (true, 0);\n            uint256 c = a * b;\n            if (c / a != b) return (false, 0);\n            return (true, c);\n        }\n    }\n\n    /**\n     * @dev Returns the division of two unsigned integers, with a success flag (no division by zero).\n     */\n    function tryDiv(uint256 a, uint256 b) internal pure returns (bool success, uint256 result) {\n        unchecked {\n            if (b == 0) return (false, 0);\n            return (true, a / b);\n        }\n    }\n\n    /**\n     * @dev Returns the remainder of dividing two unsigned integers, with a success flag (no division by zero).\n     */\n    function tryMod(uint256 a, uint256 b) internal pure returns (bool success, uint256 result) {\n        unchecked {\n            if (b == 0) return (false, 0);\n            return (true, a % b);\n        }\n    }\n\n    /**\n     * @dev Branchless ternary evaluation for `a ? b : c`. Gas costs are constant.\n     *\n     * IMPORTANT: This function may reduce bytecode size and consume less gas when used standalone.\n     * However, the compiler may optimize Solidity ternary operations (i.e. `a ? b : c`) to only compute\n     * one branch when needed, making this function more expensive.\n     */\n    function ternary(bool condition, uint256 a, uint256 b) internal pure returns (uint256) {\n        unchecked {\n            // branchless ternary works because:\n            // b ^ (a ^ b) == a\n            // b ^ 0 == b\n            return b ^ ((a ^ b) * SafeCast.toUint(condition));\n        }\n    }\n\n    /**\n     * @dev Returns the largest of two numbers.\n     */\n    function max(uint256 a, uint256 b) internal pure returns (uint256) {\n        return ternary(a > b, a, b);\n    }\n\n    /**\n     * @dev Returns the smallest of two numbers.\n     */\n    function min(uint256 a, uint256 b) internal pure returns (uint256) {\n        return ternary(a < b, a, b);\n    }\n\n    /**\n     * @dev Returns the average of two numbers. The result is rounded towards\n     * zero.\n     */\n    function average(uint256 a, uint256 b) internal pure returns (uint256) {\n        // (a + b) / 2 can overflow.\n        return (a & b) + (a ^ b) / 2;\n    }\n\n    /**\n     * @dev Returns the ceiling of the division of two numbers.\n     *\n     * This differs from standard division with `/` in that it rounds towards infinity instead\n     * of rounding towards zero.\n     */\n    function ceilDiv(uint256 a, uint256 b) internal pure returns (uint256) {\n        if (b == 0) {\n            // Guarantee the same behavior as in a regular Solidity division.\n            Panic.panic(Panic.DIVISION_BY_ZERO);\n        }\n\n        // The following calculation ensures accurate ceiling division without overflow.\n        // Since a is non-zero, (a - 1) / b will not overflow.\n        // The largest possible result occurs when (a - 1) / b is type(uint256).max,\n        // but the largest value we can obtain is type(uint256).max - 1, which happens\n        // when a = type(uint256).max and b = 1.\n        unchecked {\n            return SafeCast.toUint(a > 0) * ((a - 1) / b + 1);\n        }\n    }\n\n    /**\n     * @dev Calculates floor(x * y / denominator) with full precision. Throws if result overflows a uint256 or\n     * denominator == 0.\n     *\n     * Original credit to Remco Bloemen under MIT license (https://xn--2-umb.com/21/muldiv) with further edits by\n     * Uniswap Labs also under MIT license.\n     */\n    function mulDiv(uint256 x, uint256 y, uint256 denominator) internal pure returns (uint256 result) {\n        unchecked {\n            // 512-bit multiply [prod1 prod0] = x * y. Compute the product mod 2²⁵⁶ and mod 2²⁵⁶ - 1, then use\n            // the Chinese Remainder Theorem to reconstruct the 512 bit result. The result is stored in two 256\n            // variables such that product = prod1 * 2²⁵⁶ + prod0.\n            uint256 prod0 = x * y; // Least significant 256 bits of the product\n            uint256 prod1; // Most significant 256 bits of the product\n            assembly {\n                let mm := mulmod(x, y, not(0))\n                prod1 := sub(sub(mm, prod0), lt(mm, prod0))\n            }\n\n            // Handle non-overflow cases, 256 by 256 division.\n            if (prod1 == 0) {\n                // Solidity will revert if denominator == 0, unlike the div opcode on its own.\n                // The surrounding unchecked block does not change this fact.\n                // See https://docs.soliditylang.org/en/latest/control-structures.html#checked-or-unchecked-arithmetic.\n                return prod0 / denominator;\n            }\n\n            // Make sure the result is less than 2²⁵⁶. Also prevents denominator == 0.\n            if (denominator <= prod1) {\n                Panic.panic(ternary(denominator == 0, Panic.DIVISION_BY_ZERO, Panic.UNDER_OVERFLOW));\n            }\n\n            ///////////////////////////////////////////////\n            // 512 by 256 division.\n            ///////////////////////////////////////////////\n\n            // Make division exact by subtracting the remainder from [prod1 prod0].\n            uint256 remainder;\n            assembly {\n                // Compute remainder using mulmod.\n                remainder := mulmod(x, y, denominator)\n\n                // Subtract 256 bit number from 512 bit number.\n                prod1 := sub(prod1, gt(remainder, prod0))\n                prod0 := sub(prod0, remainder)\n            }\n\n            // Factor powers of two out of denominator and compute largest power of two divisor of denominator.\n            // Always >= 1. See https://cs.stackexchange.com/q/138556/92363.\n\n            uint256 twos = denominator & (0 - denominator);\n            assembly {\n                // Divide denominator by twos.\n                denominator := div(denominator, twos)\n\n                // Divide [prod1 prod0] by twos.\n                prod0 := div(prod0, twos)\n\n                // Flip twos such that it is 2²⁵⁶ / twos. If twos is zero, then it becomes one.\n                twos := add(div(sub(0, twos), twos), 1)\n            }\n\n            // Shift in bits from prod1 into prod0.\n            prod0 |= prod1 * twos;\n\n            // Invert denominator mod 2²⁵⁶. Now that denominator is an odd number, it has an inverse modulo 2²⁵⁶ such\n            // that denominator * inv ≡ 1 mod 2²⁵⁶. Compute the inverse by starting with a seed that is correct for\n            // four bits. That is, denominator * inv ≡ 1 mod 2⁴.\n            uint256 inverse = (3 * denominator) ^ 2;\n\n            // Use the Newton-Raphson iteration to improve the precision. Thanks to Hensel's lifting lemma, this also\n            // works in modular arithmetic, doubling the correct bits in each step.\n            inverse *= 2 - denominator * inverse; // inverse mod 2⁸\n            inverse *= 2 - denominator * inverse; // inverse mod 2¹⁶\n            inverse *= 2 - denominator * inverse; // inverse mod 2³²\n            inverse *= 2 - denominator * inverse; // inverse mod 2⁶⁴\n            inverse *= 2 - denominator * inverse; // inverse mod 2¹²⁸\n            inverse *= 2 - denominator * inverse; // inverse mod 2²⁵⁶\n\n            // Because the division is now exact we can divide by multiplying with the modular inverse of denominator.\n            // This will give us the correct result modulo 2²⁵⁶. Since the preconditions guarantee that the outcome is\n            // less than 2²⁵⁶, this is the final result. We don't need to compute the high bits of the result and prod1\n            // is no longer required.\n            result = prod0 * inverse;\n            return result;\n        }\n    }\n\n    /**\n     * @dev Calculates x * y / denominator with full precision, following the selected rounding direction.\n     */\n    function mulDiv(uint256 x, uint256 y, uint256 denominator, Rounding rounding) internal pure returns (uint256) {\n        return mulDiv(x, y, denominator) + SafeCast.toUint(unsignedRoundsUp(rounding) && mulmod(x, y, denominator) > 0);\n    }\n\n    /**\n     * @dev Calculate the modular multiplicative inverse of a number in Z/nZ.\n     *\n     * If n is a prime, then Z/nZ is a field. In that case all elements are inversible, except 0.\n     * If n is not a prime, then Z/nZ is not a field, and some elements might not be inversible.\n     *\n     * If the input value is not inversible, 0 is returned.\n     *\n     * NOTE: If you know for sure that n is (big) a prime, it may be cheaper to use Fermat's little theorem and get the\n     * inverse using `Math.modExp(a, n - 2, n)`. See {invModPrime}.\n     */\n    function invMod(uint256 a, uint256 n) internal pure returns (uint256) {\n        unchecked {\n            if (n == 0) return 0;\n\n            // The inverse modulo is calculated using the Extended Euclidean Algorithm (iterative version)\n            // Used to compute integers x and y such that: ax + ny = gcd(a, n).\n            // When the gcd is 1, then the inverse of a modulo n exists and it's x.\n            // ax + ny = 1\n            // ax = 1 + (-y)n\n            // ax ≡ 1 (mod n) # x is the inverse of a modulo n\n\n            // If the remainder is 0 the gcd is n right away.\n            uint256 remainder = a % n;\n            uint256 gcd = n;\n\n            // Therefore the initial coefficients are:\n            // ax + ny = gcd(a, n) = n\n            // 0a + 1n = n\n            int256 x = 0;\n            int256 y = 1;\n\n            while (remainder != 0) {\n                uint256 quotient = gcd / remainder;\n\n                (gcd, remainder) = (\n                    // The old remainder is the next gcd to try.\n                    remainder,\n                    // Compute the next remainder.\n                    // Can't overflow given that (a % gcd) * (gcd // (a % gcd)) <= gcd\n                    // where gcd is at most n (capped to type(uint256).max)\n                    gcd - remainder * quotient\n                );\n\n                (x, y) = (\n                    // Increment the coefficient of a.\n                    y,\n                    // Decrement the coefficient of n.\n                    // Can overflow, but the result is casted to uint256 so that the\n                    // next value of y is \"wrapped around\" to a value between 0 and n - 1.\n                    x - y * int256(quotient)\n                );\n            }\n\n            if (gcd != 1) return 0; // No inverse exists.\n            return ternary(x < 0, n - uint256(-x), uint256(x)); // Wrap the result if it's negative.\n        }\n    }\n\n    /**\n     * @dev Variant of {invMod}. More efficient, but only works if `p` is known to be a prime greater than `2`.\n     *\n     * From https://en.wikipedia.org/wiki/Fermat%27s_little_theorem[Fermat's little theorem], we know that if p is\n     * prime, then `a**(p-1) ≡ 1 mod p`. As a consequence, we have `a * a**(p-2) ≡ 1 mod p`, which means that\n     * `a**(p-2)` is the modular multiplicative inverse of a in Fp.\n     *\n     * NOTE: this function does NOT check that `p` is a prime greater than `2`.\n     */\n    function invModPrime(uint256 a, uint256 p) internal view returns (uint256) {\n        unchecked {\n            return Math.modExp(a, p - 2, p);\n        }\n    }\n\n    /**\n     * @dev Returns the modular exponentiation of the specified base, exponent and modulus (b ** e % m)\n     *\n     * Requirements:\n     * - modulus can't be zero\n     * - underlying staticcall to precompile must succeed\n     *\n     * IMPORTANT: The result is only valid if the underlying call succeeds. When using this function, make\n     * sure the chain you're using it on supports the precompiled contract for modular exponentiation\n     * at address 0x05 as specified in https://eips.ethereum.org/EIPS/eip-198[EIP-198]. Otherwise,\n     * the underlying function will succeed given the lack of a revert, but the result may be incorrectly\n     * interpreted as 0.\n     */\n    function modExp(uint256 b, uint256 e, uint256 m) internal view returns (uint256) {\n        (bool success, uint256 result) = tryModExp(b, e, m);\n        if (!success) {\n            Panic.panic(Panic.DIVISION_BY_ZERO);\n        }\n        return result;\n    }\n\n    /**\n     * @dev Returns the modular exponentiation of the specified base, exponent and modulus (b ** e % m).\n     * It includes a success flag indicating if the operation succeeded. Operation will be marked as failed if trying\n     * to operate modulo 0 or if the underlying precompile reverted.\n     *\n     * IMPORTANT: The result is only valid if the success flag is true. When using this function, make sure the chain\n     * you're using it on supports the precompiled contract for modular exponentiation at address 0x05 as specified in\n     * https://eips.ethereum.org/EIPS/eip-198[EIP-198]. Otherwise, the underlying function will succeed given the lack\n     * of a revert, but the result may be incorrectly interpreted as 0.\n     */\n    function tryModExp(uint256 b, uint256 e, uint256 m) internal view returns (bool success, uint256 result) {\n        if (m == 0) return (false, 0);\n        assembly (\"memory-safe\") {\n            let ptr := mload(0x40)\n            // | Offset    | Content    | Content (Hex)                                                      |\n            // |-----------|------------|--------------------------------------------------------------------|\n            // | 0x00:0x1f | size of b  | 0x0000000000000000000000000000000000000000000000000000000000000020 |\n            // | 0x20:0x3f | size of e  | 0x0000000000000000000000000000000000000000000000000000000000000020 |\n            // | 0x40:0x5f | size of m  | 0x0000000000000000000000000000000000000000000000000000000000000020 |\n            // | 0x60:0x7f | value of b | 0x<.............................................................b> |\n            // | 0x80:0x9f | value of e | 0x<.............................................................e> |\n            // | 0xa0:0xbf | value of m | 0x<.............................................................m> |\n            mstore(ptr, 0x20)\n            mstore(add(ptr, 0x20), 0x20)\n            mstore(add(ptr, 0x40), 0x20)\n            mstore(add(ptr, 0x60), b)\n            mstore(add(ptr, 0x80), e)\n            mstore(add(ptr, 0xa0), m)\n\n            // Given the result < m, it's guaranteed to fit in 32 bytes,\n            // so we can use the memory scratch space located at offset 0.\n            success := staticcall(gas(), 0x05, ptr, 0xc0, 0x00, 0x20)\n            result := mload(0x00)\n        }\n    }\n\n    /**\n     * @dev Variant of {modExp} that supports inputs of arbitrary length.\n     */\n    function modExp(bytes memory b, bytes memory e, bytes memory m) internal view returns (bytes memory) {\n        (bool success, bytes memory result) = tryModExp(b, e, m);\n        if (!success) {\n            Panic.panic(Panic.DIVISION_BY_ZERO);\n        }\n        return result;\n    }\n\n    /**\n     * @dev Variant of {tryModExp} that supports inputs of arbitrary length.\n     */\n    function tryModExp(\n        bytes memory b,\n        bytes memory e,\n        bytes memory m\n    ) internal view returns (bool success, bytes memory result) {\n        if (_zeroBytes(m)) return (false, new bytes(0));\n\n        uint256 mLen = m.length;\n\n        // Encode call args in result and move the free memory pointer\n        result = abi.encodePacked(b.length, e.length, mLen, b, e, m);\n\n        assembly (\"memory-safe\") {\n            let dataPtr := add(result, 0x20)\n            // Write result on top of args to avoid allocating extra memory.\n            success := staticcall(gas(), 0x05, dataPtr, mload(result), dataPtr, mLen)\n            // Overwrite the length.\n            // result.length > returndatasize() is guaranteed because returndatasize() == m.length\n            mstore(result, mLen)\n            // Set the memory pointer after the returned data.\n            mstore(0x40, add(dataPtr, mLen))\n        }\n    }\n\n    /**\n     * @dev Returns whether the provided byte array is zero.\n     */\n    function _zeroBytes(bytes memory byteArray) private pure returns (bool) {\n        for (uint256 i = 0; i < byteArray.length; ++i) {\n            if (byteArray[i] != 0) {\n                return false;\n            }\n        }\n        return true;\n    }\n\n    /**\n     * @dev Returns the square root of a number. If the number is not a perfect square, the value is rounded\n     * towards zero.\n     *\n     * This method is based on Newton's method for computing square roots; the algorithm is restricted to only\n     * using integer operations.\n     */\n    function sqrt(uint256 a) internal pure returns (uint256) {\n        unchecked {\n            // Take care of easy edge cases when a == 0 or a == 1\n            if (a <= 1) {\n                return a;\n            }\n\n            // In this function, we use Newton's method to get a root of `f(x) := x² - a`. It involves building a\n            // sequence x_n that converges toward sqrt(a). For each iteration x_n, we also define the error between\n            // the current value as `ε_n = | x_n - sqrt(a) |`.\n            //\n            // For our first estimation, we consider `e` the smallest power of 2 which is bigger than the square root\n            // of the target. (i.e. `2**(e-1) ≤ sqrt(a) < 2**e`). We know that `e ≤ 128` because `(2¹²⁸)² = 2²⁵⁶` is\n            // bigger than any uint256.\n            //\n            // By noticing that\n            // `2**(e-1) ≤ sqrt(a) < 2**e → (2**(e-1))² ≤ a < (2**e)² → 2**(2*e-2) ≤ a < 2**(2*e)`\n            // we can deduce that `e - 1` is `log2(a) / 2`. We can thus compute `x_n = 2**(e-1)` using a method similar\n            // to the msb function.\n            uint256 aa = a;\n            uint256 xn = 1;\n\n            if (aa >= (1 << 128)) {\n                aa >>= 128;\n                xn <<= 64;\n            }\n            if (aa >= (1 << 64)) {\n                aa >>= 64;\n                xn <<= 32;\n            }\n            if (aa >= (1 << 32)) {\n                aa >>= 32;\n                xn <<= 16;\n            }\n            if (aa >= (1 << 16)) {\n                aa >>= 16;\n                xn <<= 8;\n            }\n            if (aa >= (1 << 8)) {\n                aa >>= 8;\n                xn <<= 4;\n            }\n            if (aa >= (1 << 4)) {\n                aa >>= 4;\n                xn <<= 2;\n            }\n            if (aa >= (1 << 2)) {\n                xn <<= 1;\n            }\n\n            // We now have x_n such that `x_n = 2**(e-1) ≤ sqrt(a) < 2**e = 2 * x_n`. This implies ε_n ≤ 2**(e-1).\n            //\n            // We can refine our estimation by noticing that the middle of that interval minimizes the error.\n            // If we move x_n to equal 2**(e-1) + 2**(e-2), then we reduce the error to ε_n ≤ 2**(e-2).\n            // This is going to be our x_0 (and ε_0)\n            xn = (3 * xn) >> 1; // ε_0 := | x_0 - sqrt(a) | ≤ 2**(e-2)\n\n            // From here, Newton's method give us:\n            // x_{n+1} = (x_n + a / x_n) / 2\n            //\n            // One should note that:\n            // x_{n+1}² - a = ((x_n + a / x_n) / 2)² - a\n            //              = ((x_n² + a) / (2 * x_n))² - a\n            //              = (x_n⁴ + 2 * a * x_n² + a²) / (4 * x_n²) - a\n            //              = (x_n⁴ + 2 * a * x_n² + a² - 4 * a * x_n²) / (4 * x_n²)\n            //              = (x_n⁴ - 2 * a * x_n² + a²) / (4 * x_n²)\n            //              = (x_n² - a)² / (2 * x_n)²\n            //              = ((x_n² - a) / (2 * x_n))²\n            //              ≥ 0\n            // Which proves that for all n ≥ 1, sqrt(a) ≤ x_n\n            //\n            // This gives us the proof of quadratic convergence of the sequence:\n            // ε_{n+1} = | x_{n+1} - sqrt(a) |\n            //         = | (x_n + a / x_n) / 2 - sqrt(a) |\n            //         = | (x_n² + a - 2*x_n*sqrt(a)) / (2 * x_n) |\n            //         = | (x_n - sqrt(a))² / (2 * x_n) |\n            //         = | ε_n² / (2 * x_n) |\n            //         = ε_n² / | (2 * x_n) |\n            //\n            // For the first iteration, we have a special case where x_0 is known:\n            // ε_1 = ε_0² / | (2 * x_0) |\n            //     ≤ (2**(e-2))² / (2 * (2**(e-1) + 2**(e-2)))\n            //     ≤ 2**(2*e-4) / (3 * 2**(e-1))\n            //     ≤ 2**(e-3) / 3\n            //     ≤ 2**(e-3-log2(3))\n            //     ≤ 2**(e-4.5)\n            //\n            // For the following iterations, we use the fact that, 2**(e-1) ≤ sqrt(a) ≤ x_n:\n            // ε_{n+1} = ε_n² / | (2 * x_n) |\n            //         ≤ (2**(e-k))² / (2 * 2**(e-1))\n            //         ≤ 2**(2*e-2*k) / 2**e\n            //         ≤ 2**(e-2*k)\n            xn = (xn + a / xn) >> 1; // ε_1 := | x_1 - sqrt(a) | ≤ 2**(e-4.5)  -- special case, see above\n            xn = (xn + a / xn) >> 1; // ε_2 := | x_2 - sqrt(a) | ≤ 2**(e-9)    -- general case with k = 4.5\n            xn = (xn + a / xn) >> 1; // ε_3 := | x_3 - sqrt(a) | ≤ 2**(e-18)   -- general case with k = 9\n            xn = (xn + a / xn) >> 1; // ε_4 := | x_4 - sqrt(a) | ≤ 2**(e-36)   -- general case with k = 18\n            xn = (xn + a / xn) >> 1; // ε_5 := | x_5 - sqrt(a) | ≤ 2**(e-72)   -- general case with k = 36\n            xn = (xn + a / xn) >> 1; // ε_6 := | x_6 - sqrt(a) | ≤ 2**(e-144)  -- general case with k = 72\n\n            // Because e ≤ 128 (as discussed during the first estimation phase), we know have reached a precision\n            // ε_6 ≤ 2**(e-144) < 1. Given we're operating on integers, then we can ensure that xn is now either\n            // sqrt(a) or sqrt(a) + 1.\n            return xn - SafeCast.toUint(xn > a / xn);\n        }\n    }\n\n    /**\n     * @dev Calculates sqrt(a), following the selected rounding direction.\n     */\n    function sqrt(uint256 a, Rounding rounding) internal pure returns (uint256) {\n        unchecked {\n            uint256 result = sqrt(a);\n            return result + SafeCast.toUint(unsignedRoundsUp(rounding) && result * result < a);\n        }\n    }\n\n    /**\n     * @dev Return the log in base 2 of a positive value rounded towards zero.\n     * Returns 0 if given 0.\n     */\n    function log2(uint256 value) internal pure returns (uint256) {\n        uint256 result = 0;\n        uint256 exp;\n        unchecked {\n            exp = 128 * SafeCast.toUint(value > (1 << 128) - 1);\n            value >>= exp;\n            result += exp;\n\n            exp = 64 * SafeCast.toUint(value > (1 << 64) - 1);\n            value >>= exp;\n            result += exp;\n\n            exp = 32 * SafeCast.toUint(value > (1 << 32) - 1);\n            value >>= exp;\n            result += exp;\n\n            exp = 16 * SafeCast.toUint(value > (1 << 16) - 1);\n            value >>= exp;\n            result += exp;\n\n            exp = 8 * SafeCast.toUint(value > (1 << 8) - 1);\n            value >>= exp;\n            result += exp;\n\n            exp = 4 * SafeCast.toUint(value > (1 << 4) - 1);\n            value >>= exp;\n            result += exp;\n\n            exp = 2 * SafeCast.toUint(value > (1 << 2) - 1);\n            value >>= exp;\n            result += exp;\n\n            result += SafeCast.toUint(value > 1);\n        }\n        return result;\n    }\n\n    /**\n     * @dev Return the log in base 2, following the selected rounding direction, of a positive value.\n     * Returns 0 if given 0.\n     */\n    function log2(uint256 value, Rounding rounding) internal pure returns (uint256) {\n        unchecked {\n            uint256 result = log2(value);\n            return result + SafeCast.toUint(unsignedRoundsUp(rounding) && 1 << result < value);\n        }\n    }\n\n    /**\n     * @dev Return the log in base 10 of a positive value rounded towards zero.\n     * Returns 0 if given 0.\n     */\n    function log10(uint256 value) internal pure returns (uint256) {\n        uint256 result = 0;\n        unchecked {\n            if (value >= 10 ** 64) {\n                value /= 10 ** 64;\n                result += 64;\n            }\n            if (value >= 10 ** 32) {\n                value /= 10 ** 32;\n                result += 32;\n            }\n            if (value >= 10 ** 16) {\n                value /= 10 ** 16;\n                result += 16;\n            }\n            if (value >= 10 ** 8) {\n                value /= 10 ** 8;\n                result += 8;\n            }\n            if (value >= 10 ** 4) {\n                value /= 10 ** 4;\n                result += 4;\n            }\n            if (value >= 10 ** 2) {\n                value /= 10 ** 2;\n                result += 2;\n            }\n            if (value >= 10 ** 1) {\n                result += 1;\n            }\n        }\n        return result;\n    }\n\n    /**\n     * @dev Return the log in base 10, following the selected rounding direction, of a positive value.\n     * Returns 0 if given 0.\n     */\n    function log10(uint256 value, Rounding rounding) internal pure returns (uint256) {\n        unchecked {\n            uint256 result = log10(value);\n            return result + SafeCast.toUint(unsignedRoundsUp(rounding) && 10 ** result < value);\n        }\n    }\n\n    /**\n     * @dev Return the log in base 256 of a positive value rounded towards zero.\n     * Returns 0 if given 0.\n     *\n     * Adding one to the result gives the number of pairs of hex symbols needed to represent `value` as a hex string.\n     */\n    function log256(uint256 value) internal pure returns (uint256) {\n        uint256 result = 0;\n        uint256 isGt;\n        unchecked {\n            isGt = SafeCast.toUint(value > (1 << 128) - 1);\n            value >>= isGt * 128;\n            result += isGt * 16;\n\n            isGt = SafeCast.toUint(value > (1 << 64) - 1);\n            value >>= isGt * 64;\n            result += isGt * 8;\n\n            isGt = SafeCast.toUint(value > (1 << 32) - 1);\n            value >>= isGt * 32;\n            result += isGt * 4;\n\n            isGt = SafeCast.toUint(value > (1 << 16) - 1);\n            value >>= isGt * 16;\n            result += isGt * 2;\n\n            result += SafeCast.toUint(value > (1 << 8) - 1);\n        }\n        return result;\n    }\n\n    /**\n     * @dev Return the log in base 256, following the selected rounding direction, of a positive value.\n     * Returns 0 if given 0.\n     */\n    function log256(uint256 value, Rounding rounding) internal pure returns (uint256) {\n        unchecked {\n            uint256 result = log256(value);\n            return result + SafeCast.toUint(unsignedRoundsUp(rounding) && 1 << (result << 3) < value);\n        }\n    }\n\n    /**\n     * @dev Returns whether a provided rounding mode is considered rounding up for unsigned integers.\n     */\n    function unsignedRoundsUp(Rounding rounding) internal pure returns (bool) {\n        return uint8(rounding) % 2 == 1;\n    }\n}\n"},"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 ERC-20 standard as defined in the ERC.\n */\ninterface IERC20 {\n    /**\n     * @dev Emitted when `value` tokens are moved from one account (`from`) to\n     * another (`to`).\n     *\n     * Note that `value` may be zero.\n     */\n    event Transfer(address indexed from, address indexed to, uint256 value);\n\n    /**\n     * @dev Emitted when the allowance of a `spender` for an `owner` is set by\n     * a call to {approve}. `value` is the new allowance.\n     */\n    event Approval(address indexed owner, address indexed spender, uint256 value);\n\n    /**\n     * @dev Returns the value of tokens in existence.\n     */\n    function totalSupply() external view returns (uint256);\n\n    /**\n     * @dev Returns the value of tokens owned by `account`.\n     */\n    function balanceOf(address account) external view returns (uint256);\n\n    /**\n     * @dev Moves a `value` amount of tokens from the caller's account to `to`.\n     *\n     * Returns a boolean value indicating whether the operation succeeded.\n     *\n     * Emits a {Transfer} event.\n     */\n    function transfer(address to, uint256 value) external returns (bool);\n\n    /**\n     * @dev Returns the remaining number of tokens that `spender` will be\n     * allowed to spend on behalf of `owner` through {transferFrom}. This is\n     * zero by default.\n     *\n     * This value changes when {approve} or {transferFrom} are called.\n     */\n    function allowance(address owner, address spender) external view returns (uint256);\n\n    /**\n     * @dev Sets a `value` amount of tokens as the allowance of `spender` over the\n     * caller's tokens.\n     *\n     * Returns a boolean value indicating whether the operation succeeded.\n     *\n     * IMPORTANT: Beware that changing an allowance with this method brings the risk\n     * that someone may use both the old and the new allowance by unfortunate\n     * transaction ordering. One possible solution to mitigate this race\n     * condition is to first reduce the spender's allowance to 0 and set the\n     * desired value afterwards:\n     * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729\n     *\n     * Emits an {Approval} event.\n     */\n    function approve(address spender, uint256 value) external returns (bool);\n\n    /**\n     * @dev Moves a `value` amount of tokens from `from` to `to` using the\n     * allowance mechanism. `value` is then deducted from the caller's\n     * allowance.\n     *\n     * Returns a boolean value indicating whether the operation succeeded.\n     *\n     * Emits a {Transfer} event.\n     */\n    function transferFrom(address from, address to, uint256 value) external returns (bool);\n}\n"},"lib/openzeppelin-contracts/contracts/utils/math/SafeCast.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.0.0) (utils/math/SafeCast.sol)\n// This file was procedurally generated from scripts/generate/templates/SafeCast.js.\n\npragma solidity ^0.8.20;\n\n/**\n * @dev Wrappers over Solidity's uintXX/intXX/bool casting operators with added overflow\n * checks.\n *\n * Downcasting from uint256/int256 in Solidity does not revert on overflow. This can\n * easily result in undesired exploitation or bugs, since developers usually\n * assume that overflows raise errors. `SafeCast` restores this intuition by\n * reverting the transaction when such an operation overflows.\n *\n * Using this library instead of the unchecked operations eliminates an entire\n * class of bugs, so it's recommended to use it always.\n */\nlibrary SafeCast {\n    /**\n     * @dev Value doesn't fit in an uint of `bits` size.\n     */\n    error SafeCastOverflowedUintDowncast(uint8 bits, uint256 value);\n\n    /**\n     * @dev An int value doesn't fit in an uint of `bits` size.\n     */\n    error SafeCastOverflowedIntToUint(int256 value);\n\n    /**\n     * @dev Value doesn't fit in an int of `bits` size.\n     */\n    error SafeCastOverflowedIntDowncast(uint8 bits, int256 value);\n\n    /**\n     * @dev An uint value doesn't fit in an int of `bits` size.\n     */\n    error SafeCastOverflowedUintToInt(uint256 value);\n\n    /**\n     * @dev Returns the downcasted uint248 from uint256, reverting on\n     * overflow (when the input is greater than largest uint248).\n     *\n     * Counterpart to Solidity's `uint248` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 248 bits\n     */\n    function toUint248(uint256 value) internal pure returns (uint248) {\n        if (value > type(uint248).max) {\n            revert SafeCastOverflowedUintDowncast(248, value);\n        }\n        return uint248(value);\n    }\n\n    /**\n     * @dev Returns the downcasted uint240 from uint256, reverting on\n     * overflow (when the input is greater than largest uint240).\n     *\n     * Counterpart to Solidity's `uint240` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 240 bits\n     */\n    function toUint240(uint256 value) internal pure returns (uint240) {\n        if (value > type(uint240).max) {\n            revert SafeCastOverflowedUintDowncast(240, value);\n        }\n        return uint240(value);\n    }\n\n    /**\n     * @dev Returns the downcasted uint232 from uint256, reverting on\n     * overflow (when the input is greater than largest uint232).\n     *\n     * Counterpart to Solidity's `uint232` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 232 bits\n     */\n    function toUint232(uint256 value) internal pure returns (uint232) {\n        if (value > type(uint232).max) {\n            revert SafeCastOverflowedUintDowncast(232, value);\n        }\n        return uint232(value);\n    }\n\n    /**\n     * @dev Returns the downcasted uint224 from uint256, reverting on\n     * overflow (when the input is greater than largest uint224).\n     *\n     * Counterpart to Solidity's `uint224` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 224 bits\n     */\n    function toUint224(uint256 value) internal pure returns (uint224) {\n        if (value > type(uint224).max) {\n            revert SafeCastOverflowedUintDowncast(224, value);\n        }\n        return uint224(value);\n    }\n\n    /**\n     * @dev Returns the downcasted uint216 from uint256, reverting on\n     * overflow (when the input is greater than largest uint216).\n     *\n     * Counterpart to Solidity's `uint216` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 216 bits\n     */\n    function toUint216(uint256 value) internal pure returns (uint216) {\n        if (value > type(uint216).max) {\n            revert SafeCastOverflowedUintDowncast(216, value);\n        }\n        return uint216(value);\n    }\n\n    /**\n     * @dev Returns the downcasted uint208 from uint256, reverting on\n     * overflow (when the input is greater than largest uint208).\n     *\n     * Counterpart to Solidity's `uint208` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 208 bits\n     */\n    function toUint208(uint256 value) internal pure returns (uint208) {\n        if (value > type(uint208).max) {\n            revert SafeCastOverflowedUintDowncast(208, value);\n        }\n        return uint208(value);\n    }\n\n    /**\n     * @dev Returns the downcasted uint200 from uint256, reverting on\n     * overflow (when the input is greater than largest uint200).\n     *\n     * Counterpart to Solidity's `uint200` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 200 bits\n     */\n    function toUint200(uint256 value) internal pure returns (uint200) {\n        if (value > type(uint200).max) {\n            revert SafeCastOverflowedUintDowncast(200, value);\n        }\n        return uint200(value);\n    }\n\n    /**\n     * @dev Returns the downcasted uint192 from uint256, reverting on\n     * overflow (when the input is greater than largest uint192).\n     *\n     * Counterpart to Solidity's `uint192` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 192 bits\n     */\n    function toUint192(uint256 value) internal pure returns (uint192) {\n        if (value > type(uint192).max) {\n            revert SafeCastOverflowedUintDowncast(192, value);\n        }\n        return uint192(value);\n    }\n\n    /**\n     * @dev Returns the downcasted uint184 from uint256, reverting on\n     * overflow (when the input is greater than largest uint184).\n     *\n     * Counterpart to Solidity's `uint184` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 184 bits\n     */\n    function toUint184(uint256 value) internal pure returns (uint184) {\n        if (value > type(uint184).max) {\n            revert SafeCastOverflowedUintDowncast(184, value);\n        }\n        return uint184(value);\n    }\n\n    /**\n     * @dev Returns the downcasted uint176 from uint256, reverting on\n     * overflow (when the input is greater than largest uint176).\n     *\n     * Counterpart to Solidity's `uint176` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 176 bits\n     */\n    function toUint176(uint256 value) internal pure returns (uint176) {\n        if (value > type(uint176).max) {\n            revert SafeCastOverflowedUintDowncast(176, value);\n        }\n        return uint176(value);\n    }\n\n    /**\n     * @dev Returns the downcasted uint168 from uint256, reverting on\n     * overflow (when the input is greater than largest uint168).\n     *\n     * Counterpart to Solidity's `uint168` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 168 bits\n     */\n    function toUint168(uint256 value) internal pure returns (uint168) {\n        if (value > type(uint168).max) {\n            revert SafeCastOverflowedUintDowncast(168, value);\n        }\n        return uint168(value);\n    }\n\n    /**\n     * @dev Returns the downcasted uint160 from uint256, reverting on\n     * overflow (when the input is greater than largest uint160).\n     *\n     * Counterpart to Solidity's `uint160` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 160 bits\n     */\n    function toUint160(uint256 value) internal pure returns (uint160) {\n        if (value > type(uint160).max) {\n            revert SafeCastOverflowedUintDowncast(160, value);\n        }\n        return uint160(value);\n    }\n\n    /**\n     * @dev Returns the downcasted uint152 from uint256, reverting on\n     * overflow (when the input is greater than largest uint152).\n     *\n     * Counterpart to Solidity's `uint152` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 152 bits\n     */\n    function toUint152(uint256 value) internal pure returns (uint152) {\n        if (value > type(uint152).max) {\n            revert SafeCastOverflowedUintDowncast(152, value);\n        }\n        return uint152(value);\n    }\n\n    /**\n     * @dev Returns the downcasted uint144 from uint256, reverting on\n     * overflow (when the input is greater than largest uint144).\n     *\n     * Counterpart to Solidity's `uint144` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 144 bits\n     */\n    function toUint144(uint256 value) internal pure returns (uint144) {\n        if (value > type(uint144).max) {\n            revert SafeCastOverflowedUintDowncast(144, value);\n        }\n        return uint144(value);\n    }\n\n    /**\n     * @dev Returns the downcasted uint136 from uint256, reverting on\n     * overflow (when the input is greater than largest uint136).\n     *\n     * Counterpart to Solidity's `uint136` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 136 bits\n     */\n    function toUint136(uint256 value) internal pure returns (uint136) {\n        if (value > type(uint136).max) {\n            revert SafeCastOverflowedUintDowncast(136, value);\n        }\n        return uint136(value);\n    }\n\n    /**\n     * @dev Returns the downcasted uint128 from uint256, reverting on\n     * overflow (when the input is greater than largest uint128).\n     *\n     * Counterpart to Solidity's `uint128` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 128 bits\n     */\n    function toUint128(uint256 value) internal pure returns (uint128) {\n        if (value > type(uint128).max) {\n            revert SafeCastOverflowedUintDowncast(128, value);\n        }\n        return uint128(value);\n    }\n\n    /**\n     * @dev Returns the downcasted uint120 from uint256, reverting on\n     * overflow (when the input is greater than largest uint120).\n     *\n     * Counterpart to Solidity's `uint120` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 120 bits\n     */\n    function toUint120(uint256 value) internal pure returns (uint120) {\n        if (value > type(uint120).max) {\n            revert SafeCastOverflowedUintDowncast(120, value);\n        }\n        return uint120(value);\n    }\n\n    /**\n     * @dev Returns the downcasted uint112 from uint256, reverting on\n     * overflow (when the input is greater than largest uint112).\n     *\n     * Counterpart to Solidity's `uint112` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 112 bits\n     */\n    function toUint112(uint256 value) internal pure returns (uint112) {\n        if (value > type(uint112).max) {\n            revert SafeCastOverflowedUintDowncast(112, value);\n        }\n        return uint112(value);\n    }\n\n    /**\n     * @dev Returns the downcasted uint104 from uint256, reverting on\n     * overflow (when the input is greater than largest uint104).\n     *\n     * Counterpart to Solidity's `uint104` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 104 bits\n     */\n    function toUint104(uint256 value) internal pure returns (uint104) {\n        if (value > type(uint104).max) {\n            revert SafeCastOverflowedUintDowncast(104, value);\n        }\n        return uint104(value);\n    }\n\n    /**\n     * @dev Returns the downcasted uint96 from uint256, reverting on\n     * overflow (when the input is greater than largest uint96).\n     *\n     * Counterpart to Solidity's `uint96` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 96 bits\n     */\n    function toUint96(uint256 value) internal pure returns (uint96) {\n        if (value > type(uint96).max) {\n            revert SafeCastOverflowedUintDowncast(96, value);\n        }\n        return uint96(value);\n    }\n\n    /**\n     * @dev Returns the downcasted uint88 from uint256, reverting on\n     * overflow (when the input is greater than largest uint88).\n     *\n     * Counterpart to Solidity's `uint88` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 88 bits\n     */\n    function toUint88(uint256 value) internal pure returns (uint88) {\n        if (value > type(uint88).max) {\n            revert SafeCastOverflowedUintDowncast(88, value);\n        }\n        return uint88(value);\n    }\n\n    /**\n     * @dev Returns the downcasted uint80 from uint256, reverting on\n     * overflow (when the input is greater than largest uint80).\n     *\n     * Counterpart to Solidity's `uint80` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 80 bits\n     */\n    function toUint80(uint256 value) internal pure returns (uint80) {\n        if (value > type(uint80).max) {\n            revert SafeCastOverflowedUintDowncast(80, value);\n        }\n        return uint80(value);\n    }\n\n    /**\n     * @dev Returns the downcasted uint72 from uint256, reverting on\n     * overflow (when the input is greater than largest uint72).\n     *\n     * Counterpart to Solidity's `uint72` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 72 bits\n     */\n    function toUint72(uint256 value) internal pure returns (uint72) {\n        if (value > type(uint72).max) {\n            revert SafeCastOverflowedUintDowncast(72, value);\n        }\n        return uint72(value);\n    }\n\n    /**\n     * @dev Returns the downcasted uint64 from uint256, reverting on\n     * overflow (when the input is greater than largest uint64).\n     *\n     * Counterpart to Solidity's `uint64` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 64 bits\n     */\n    function toUint64(uint256 value) internal pure returns (uint64) {\n        if (value > type(uint64).max) {\n            revert SafeCastOverflowedUintDowncast(64, value);\n        }\n        return uint64(value);\n    }\n\n    /**\n     * @dev Returns the downcasted uint56 from uint256, reverting on\n     * overflow (when the input is greater than largest uint56).\n     *\n     * Counterpart to Solidity's `uint56` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 56 bits\n     */\n    function toUint56(uint256 value) internal pure returns (uint56) {\n        if (value > type(uint56).max) {\n            revert SafeCastOverflowedUintDowncast(56, value);\n        }\n        return uint56(value);\n    }\n\n    /**\n     * @dev Returns the downcasted uint48 from uint256, reverting on\n     * overflow (when the input is greater than largest uint48).\n     *\n     * Counterpart to Solidity's `uint48` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 48 bits\n     */\n    function toUint48(uint256 value) internal pure returns (uint48) {\n        if (value > type(uint48).max) {\n            revert SafeCastOverflowedUintDowncast(48, value);\n        }\n        return uint48(value);\n    }\n\n    /**\n     * @dev Returns the downcasted uint40 from uint256, reverting on\n     * overflow (when the input is greater than largest uint40).\n     *\n     * Counterpart to Solidity's `uint40` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 40 bits\n     */\n    function toUint40(uint256 value) internal pure returns (uint40) {\n        if (value > type(uint40).max) {\n            revert SafeCastOverflowedUintDowncast(40, value);\n        }\n        return uint40(value);\n    }\n\n    /**\n     * @dev Returns the downcasted uint32 from uint256, reverting on\n     * overflow (when the input is greater than largest uint32).\n     *\n     * Counterpart to Solidity's `uint32` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 32 bits\n     */\n    function toUint32(uint256 value) internal pure returns (uint32) {\n        if (value > type(uint32).max) {\n            revert SafeCastOverflowedUintDowncast(32, value);\n        }\n        return uint32(value);\n    }\n\n    /**\n     * @dev Returns the downcasted uint24 from uint256, reverting on\n     * overflow (when the input is greater than largest uint24).\n     *\n     * Counterpart to Solidity's `uint24` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 24 bits\n     */\n    function toUint24(uint256 value) internal pure returns (uint24) {\n        if (value > type(uint24).max) {\n            revert SafeCastOverflowedUintDowncast(24, value);\n        }\n        return uint24(value);\n    }\n\n    /**\n     * @dev Returns the downcasted uint16 from uint256, reverting on\n     * overflow (when the input is greater than largest uint16).\n     *\n     * Counterpart to Solidity's `uint16` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 16 bits\n     */\n    function toUint16(uint256 value) internal pure returns (uint16) {\n        if (value > type(uint16).max) {\n            revert SafeCastOverflowedUintDowncast(16, value);\n        }\n        return uint16(value);\n    }\n\n    /**\n     * @dev Returns the downcasted uint8 from uint256, reverting on\n     * overflow (when the input is greater than largest uint8).\n     *\n     * Counterpart to Solidity's `uint8` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 8 bits\n     */\n    function toUint8(uint256 value) internal pure returns (uint8) {\n        if (value > type(uint8).max) {\n            revert SafeCastOverflowedUintDowncast(8, value);\n        }\n        return uint8(value);\n    }\n\n    /**\n     * @dev Converts a signed int256 into an unsigned uint256.\n     *\n     * Requirements:\n     *\n     * - input must be greater than or equal to 0.\n     */\n    function toUint256(int256 value) internal pure returns (uint256) {\n        if (value < 0) {\n            revert SafeCastOverflowedIntToUint(value);\n        }\n        return uint256(value);\n    }\n\n    /**\n     * @dev Returns the downcasted int248 from int256, reverting on\n     * overflow (when the input is less than smallest int248 or\n     * greater than largest int248).\n     *\n     * Counterpart to Solidity's `int248` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 248 bits\n     */\n    function toInt248(int256 value) internal pure returns (int248 downcasted) {\n        downcasted = int248(value);\n        if (downcasted != value) {\n            revert SafeCastOverflowedIntDowncast(248, value);\n        }\n    }\n\n    /**\n     * @dev Returns the downcasted int240 from int256, reverting on\n     * overflow (when the input is less than smallest int240 or\n     * greater than largest int240).\n     *\n     * Counterpart to Solidity's `int240` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 240 bits\n     */\n    function toInt240(int256 value) internal pure returns (int240 downcasted) {\n        downcasted = int240(value);\n        if (downcasted != value) {\n            revert SafeCastOverflowedIntDowncast(240, value);\n        }\n    }\n\n    /**\n     * @dev Returns the downcasted int232 from int256, reverting on\n     * overflow (when the input is less than smallest int232 or\n     * greater than largest int232).\n     *\n     * Counterpart to Solidity's `int232` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 232 bits\n     */\n    function toInt232(int256 value) internal pure returns (int232 downcasted) {\n        downcasted = int232(value);\n        if (downcasted != value) {\n            revert SafeCastOverflowedIntDowncast(232, value);\n        }\n    }\n\n    /**\n     * @dev Returns the downcasted int224 from int256, reverting on\n     * overflow (when the input is less than smallest int224 or\n     * greater than largest int224).\n     *\n     * Counterpart to Solidity's `int224` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 224 bits\n     */\n    function toInt224(int256 value) internal pure returns (int224 downcasted) {\n        downcasted = int224(value);\n        if (downcasted != value) {\n            revert SafeCastOverflowedIntDowncast(224, value);\n        }\n    }\n\n    /**\n     * @dev Returns the downcasted int216 from int256, reverting on\n     * overflow (when the input is less than smallest int216 or\n     * greater than largest int216).\n     *\n     * Counterpart to Solidity's `int216` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 216 bits\n     */\n    function toInt216(int256 value) internal pure returns (int216 downcasted) {\n        downcasted = int216(value);\n        if (downcasted != value) {\n            revert SafeCastOverflowedIntDowncast(216, value);\n        }\n    }\n\n    /**\n     * @dev Returns the downcasted int208 from int256, reverting on\n     * overflow (when the input is less than smallest int208 or\n     * greater than largest int208).\n     *\n     * Counterpart to Solidity's `int208` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 208 bits\n     */\n    function toInt208(int256 value) internal pure returns (int208 downcasted) {\n        downcasted = int208(value);\n        if (downcasted != value) {\n            revert SafeCastOverflowedIntDowncast(208, value);\n        }\n    }\n\n    /**\n     * @dev Returns the downcasted int200 from int256, reverting on\n     * overflow (when the input is less than smallest int200 or\n     * greater than largest int200).\n     *\n     * Counterpart to Solidity's `int200` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 200 bits\n     */\n    function toInt200(int256 value) internal pure returns (int200 downcasted) {\n        downcasted = int200(value);\n        if (downcasted != value) {\n            revert SafeCastOverflowedIntDowncast(200, value);\n        }\n    }\n\n    /**\n     * @dev Returns the downcasted int192 from int256, reverting on\n     * overflow (when the input is less than smallest int192 or\n     * greater than largest int192).\n     *\n     * Counterpart to Solidity's `int192` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 192 bits\n     */\n    function toInt192(int256 value) internal pure returns (int192 downcasted) {\n        downcasted = int192(value);\n        if (downcasted != value) {\n            revert SafeCastOverflowedIntDowncast(192, value);\n        }\n    }\n\n    /**\n     * @dev Returns the downcasted int184 from int256, reverting on\n     * overflow (when the input is less than smallest int184 or\n     * greater than largest int184).\n     *\n     * Counterpart to Solidity's `int184` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 184 bits\n     */\n    function toInt184(int256 value) internal pure returns (int184 downcasted) {\n        downcasted = int184(value);\n        if (downcasted != value) {\n            revert SafeCastOverflowedIntDowncast(184, value);\n        }\n    }\n\n    /**\n     * @dev Returns the downcasted int176 from int256, reverting on\n     * overflow (when the input is less than smallest int176 or\n     * greater than largest int176).\n     *\n     * Counterpart to Solidity's `int176` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 176 bits\n     */\n    function toInt176(int256 value) internal pure returns (int176 downcasted) {\n        downcasted = int176(value);\n        if (downcasted != value) {\n            revert SafeCastOverflowedIntDowncast(176, value);\n        }\n    }\n\n    /**\n     * @dev Returns the downcasted int168 from int256, reverting on\n     * overflow (when the input is less than smallest int168 or\n     * greater than largest int168).\n     *\n     * Counterpart to Solidity's `int168` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 168 bits\n     */\n    function toInt168(int256 value) internal pure returns (int168 downcasted) {\n        downcasted = int168(value);\n        if (downcasted != value) {\n            revert SafeCastOverflowedIntDowncast(168, value);\n        }\n    }\n\n    /**\n     * @dev Returns the downcasted int160 from int256, reverting on\n     * overflow (when the input is less than smallest int160 or\n     * greater than largest int160).\n     *\n     * Counterpart to Solidity's `int160` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 160 bits\n     */\n    function toInt160(int256 value) internal pure returns (int160 downcasted) {\n        downcasted = int160(value);\n        if (downcasted != value) {\n            revert SafeCastOverflowedIntDowncast(160, value);\n        }\n    }\n\n    /**\n     * @dev Returns the downcasted int152 from int256, reverting on\n     * overflow (when the input is less than smallest int152 or\n     * greater than largest int152).\n     *\n     * Counterpart to Solidity's `int152` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 152 bits\n     */\n    function toInt152(int256 value) internal pure returns (int152 downcasted) {\n        downcasted = int152(value);\n        if (downcasted != value) {\n            revert SafeCastOverflowedIntDowncast(152, value);\n        }\n    }\n\n    /**\n     * @dev Returns the downcasted int144 from int256, reverting on\n     * overflow (when the input is less than smallest int144 or\n     * greater than largest int144).\n     *\n     * Counterpart to Solidity's `int144` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 144 bits\n     */\n    function toInt144(int256 value) internal pure returns (int144 downcasted) {\n        downcasted = int144(value);\n        if (downcasted != value) {\n            revert SafeCastOverflowedIntDowncast(144, value);\n        }\n    }\n\n    /**\n     * @dev Returns the downcasted int136 from int256, reverting on\n     * overflow (when the input is less than smallest int136 or\n     * greater than largest int136).\n     *\n     * Counterpart to Solidity's `int136` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 136 bits\n     */\n    function toInt136(int256 value) internal pure returns (int136 downcasted) {\n        downcasted = int136(value);\n        if (downcasted != value) {\n            revert SafeCastOverflowedIntDowncast(136, value);\n        }\n    }\n\n    /**\n     * @dev Returns the downcasted int128 from int256, reverting on\n     * overflow (when the input is less than smallest int128 or\n     * greater than largest int128).\n     *\n     * Counterpart to Solidity's `int128` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 128 bits\n     */\n    function toInt128(int256 value) internal pure returns (int128 downcasted) {\n        downcasted = int128(value);\n        if (downcasted != value) {\n            revert SafeCastOverflowedIntDowncast(128, value);\n        }\n    }\n\n    /**\n     * @dev Returns the downcasted int120 from int256, reverting on\n     * overflow (when the input is less than smallest int120 or\n     * greater than largest int120).\n     *\n     * Counterpart to Solidity's `int120` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 120 bits\n     */\n    function toInt120(int256 value) internal pure returns (int120 downcasted) {\n        downcasted = int120(value);\n        if (downcasted != value) {\n            revert SafeCastOverflowedIntDowncast(120, value);\n        }\n    }\n\n    /**\n     * @dev Returns the downcasted int112 from int256, reverting on\n     * overflow (when the input is less than smallest int112 or\n     * greater than largest int112).\n     *\n     * Counterpart to Solidity's `int112` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 112 bits\n     */\n    function toInt112(int256 value) internal pure returns (int112 downcasted) {\n        downcasted = int112(value);\n        if (downcasted != value) {\n            revert SafeCastOverflowedIntDowncast(112, value);\n        }\n    }\n\n    /**\n     * @dev Returns the downcasted int104 from int256, reverting on\n     * overflow (when the input is less than smallest int104 or\n     * greater than largest int104).\n     *\n     * Counterpart to Solidity's `int104` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 104 bits\n     */\n    function toInt104(int256 value) internal pure returns (int104 downcasted) {\n        downcasted = int104(value);\n        if (downcasted != value) {\n            revert SafeCastOverflowedIntDowncast(104, value);\n        }\n    }\n\n    /**\n     * @dev Returns the downcasted int96 from int256, reverting on\n     * overflow (when the input is less than smallest int96 or\n     * greater than largest int96).\n     *\n     * Counterpart to Solidity's `int96` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 96 bits\n     */\n    function toInt96(int256 value) internal pure returns (int96 downcasted) {\n        downcasted = int96(value);\n        if (downcasted != value) {\n            revert SafeCastOverflowedIntDowncast(96, value);\n        }\n    }\n\n    /**\n     * @dev Returns the downcasted int88 from int256, reverting on\n     * overflow (when the input is less than smallest int88 or\n     * greater than largest int88).\n     *\n     * Counterpart to Solidity's `int88` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 88 bits\n     */\n    function toInt88(int256 value) internal pure returns (int88 downcasted) {\n        downcasted = int88(value);\n        if (downcasted != value) {\n            revert SafeCastOverflowedIntDowncast(88, value);\n        }\n    }\n\n    /**\n     * @dev Returns the downcasted int80 from int256, reverting on\n     * overflow (when the input is less than smallest int80 or\n     * greater than largest int80).\n     *\n     * Counterpart to Solidity's `int80` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 80 bits\n     */\n    function toInt80(int256 value) internal pure returns (int80 downcasted) {\n        downcasted = int80(value);\n        if (downcasted != value) {\n            revert SafeCastOverflowedIntDowncast(80, value);\n        }\n    }\n\n    /**\n     * @dev Returns the downcasted int72 from int256, reverting on\n     * overflow (when the input is less than smallest int72 or\n     * greater than largest int72).\n     *\n     * Counterpart to Solidity's `int72` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 72 bits\n     */\n    function toInt72(int256 value) internal pure returns (int72 downcasted) {\n        downcasted = int72(value);\n        if (downcasted != value) {\n            revert SafeCastOverflowedIntDowncast(72, value);\n        }\n    }\n\n    /**\n     * @dev Returns the downcasted int64 from int256, reverting on\n     * overflow (when the input is less than smallest int64 or\n     * greater than largest int64).\n     *\n     * Counterpart to Solidity's `int64` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 64 bits\n     */\n    function toInt64(int256 value) internal pure returns (int64 downcasted) {\n        downcasted = int64(value);\n        if (downcasted != value) {\n            revert SafeCastOverflowedIntDowncast(64, value);\n        }\n    }\n\n    /**\n     * @dev Returns the downcasted int56 from int256, reverting on\n     * overflow (when the input is less than smallest int56 or\n     * greater than largest int56).\n     *\n     * Counterpart to Solidity's `int56` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 56 bits\n     */\n    function toInt56(int256 value) internal pure returns (int56 downcasted) {\n        downcasted = int56(value);\n        if (downcasted != value) {\n            revert SafeCastOverflowedIntDowncast(56, value);\n        }\n    }\n\n    /**\n     * @dev Returns the downcasted int48 from int256, reverting on\n     * overflow (when the input is less than smallest int48 or\n     * greater than largest int48).\n     *\n     * Counterpart to Solidity's `int48` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 48 bits\n     */\n    function toInt48(int256 value) internal pure returns (int48 downcasted) {\n        downcasted = int48(value);\n        if (downcasted != value) {\n            revert SafeCastOverflowedIntDowncast(48, value);\n        }\n    }\n\n    /**\n     * @dev Returns the downcasted int40 from int256, reverting on\n     * overflow (when the input is less than smallest int40 or\n     * greater than largest int40).\n     *\n     * Counterpart to Solidity's `int40` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 40 bits\n     */\n    function toInt40(int256 value) internal pure returns (int40 downcasted) {\n        downcasted = int40(value);\n        if (downcasted != value) {\n            revert SafeCastOverflowedIntDowncast(40, value);\n        }\n    }\n\n    /**\n     * @dev Returns the downcasted int32 from int256, reverting on\n     * overflow (when the input is less than smallest int32 or\n     * greater than largest int32).\n     *\n     * Counterpart to Solidity's `int32` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 32 bits\n     */\n    function toInt32(int256 value) internal pure returns (int32 downcasted) {\n        downcasted = int32(value);\n        if (downcasted != value) {\n            revert SafeCastOverflowedIntDowncast(32, value);\n        }\n    }\n\n    /**\n     * @dev Returns the downcasted int24 from int256, reverting on\n     * overflow (when the input is less than smallest int24 or\n     * greater than largest int24).\n     *\n     * Counterpart to Solidity's `int24` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 24 bits\n     */\n    function toInt24(int256 value) internal pure returns (int24 downcasted) {\n        downcasted = int24(value);\n        if (downcasted != value) {\n            revert SafeCastOverflowedIntDowncast(24, value);\n        }\n    }\n\n    /**\n     * @dev Returns the downcasted int16 from int256, reverting on\n     * overflow (when the input is less than smallest int16 or\n     * greater than largest int16).\n     *\n     * Counterpart to Solidity's `int16` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 16 bits\n     */\n    function toInt16(int256 value) internal pure returns (int16 downcasted) {\n        downcasted = int16(value);\n        if (downcasted != value) {\n            revert SafeCastOverflowedIntDowncast(16, value);\n        }\n    }\n\n    /**\n     * @dev Returns the downcasted int8 from int256, reverting on\n     * overflow (when the input is less than smallest int8 or\n     * greater than largest int8).\n     *\n     * Counterpart to Solidity's `int8` operator.\n     *\n     * Requirements:\n     *\n     * - input must fit into 8 bits\n     */\n    function toInt8(int256 value) internal pure returns (int8 downcasted) {\n        downcasted = int8(value);\n        if (downcasted != value) {\n            revert SafeCastOverflowedIntDowncast(8, value);\n        }\n    }\n\n    /**\n     * @dev Converts an unsigned uint256 into a signed int256.\n     *\n     * Requirements:\n     *\n     * - input must be less than or equal to maxInt256.\n     */\n    function toInt256(uint256 value) internal pure returns (int256) {\n        // Note: Unsafe cast below is okay because `type(int256).max` is guaranteed to be positive\n        if (value > uint256(type(int256).max)) {\n            revert SafeCastOverflowedUintToInt(value);\n        }\n        return int256(value);\n    }\n\n    /**\n     * @dev Cast a boolean (false or true) to a uint256 (0 or 1) with no jump.\n     */\n    function toUint(bool b) internal pure returns (uint256 u) {\n        assembly (\"memory-safe\") {\n            u := iszero(iszero(b))\n        }\n    }\n}\n"},"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 ERC-20 standard.\n */\ninterface IERC20Metadata is IERC20 {\n    /**\n     * @dev Returns the name of the token.\n     */\n    function name() external view returns (string memory);\n\n    /**\n     * @dev Returns the symbol of the token.\n     */\n    function symbol() external view returns (string memory);\n\n    /**\n     * @dev Returns the decimals places of the token.\n     */\n    function decimals() external view returns (uint8);\n}\n"}},"language":"Solidity","settings":{"viaIR":true,"metadata":{"appendCBOR":true,"bytecodeHash":"none","useLiteralContent":false},"optimizer":{"runs":100000,"enabled":true},"evmVersion":"cancun","remappings":["@openzeppelin/contracts/=lib/openzeppelin-contracts/contracts/","ds-test/=lib/morpho-blue-irm/lib/forge-std/lib/ds-test/src/","erc4626-tests/=lib/metamorpho/lib/erc4626-tests/","forge-std/=lib/forge-std/src/","halmos-cheatcodes/=lib/morpho-blue/lib/halmos-cheatcodes/src/","metamorpho-v1.1/=lib/metamorpho-v1.1/","metamorpho/=lib/metamorpho/","morpho-blue-irm/=lib/morpho-blue-irm/","morpho-blue/=lib/morpho-blue/","openzeppelin-contracts/=lib/openzeppelin-contracts/","solmate/=lib/morpho-blue-irm/lib/solmate/src/"]}},"stdJsonOutput":{"sources":{"src/interfaces/IERC20.sol":{"id":10},"src/interfaces/IERC2612.sol":{"id":13},"src/interfaces/IERC4626.sol":{"id":14},"src/interfaces/IVaultV2.sol":{"id":15},"src/libraries/SafeERC20.sol":{"id":16},"src/adapters/MYTStrategy.sol":{"id":8},"src/libraries/TokenUtils.sol":{"id":17},"src/adapters/AaveStrategy.sol":{"id":7},"src/interfaces/IERC20Burnable.sol":{"id":11},"src/interfaces/IERC20Mintable.sol":{"id":12},"src/adapters/interfaces/IMYTStrategy.sol":{"id":9},"lib/openzeppelin-contracts/contracts/utils/Panic.sol":{"id":4},"lib/openzeppelin-contracts/contracts/utils/Context.sol":{"id":3},"lib/openzeppelin-contracts/contracts/access/Ownable.sol":{"id":0},"lib/openzeppelin-contracts/contracts/utils/math/Math.sol":{"id":5},"lib/openzeppelin-contracts/contracts/token/ERC20/IERC20.sol":{"id":1},"lib/openzeppelin-contracts/contracts/utils/math/SafeCast.sol":{"id":6},"lib/openzeppelin-contracts/contracts/token/ERC20/extensions/IERC20Metadata.sol":{"id":2}},"contracts":{"src/adapters/AaveStrategy.sol":{"AaveStrategy":{"abi":[{"type":"constructor","inputs":[{"name":"_myt","type":"address","internalType":"address"},{"name":"_params","type":"tuple","components":[{"name":"owner","type":"address","internalType":"address"},{"name":"name","type":"string","internalType":"string"},{"name":"protocol","type":"string","internalType":"string"},{"name":"riskClass","type":"uint8","internalType":"enum IMYTStrategy.RiskClass"},{"name":"cap","type":"uint256","internalType":"uint256"},{"name":"globalCap","type":"uint256","internalType":"uint256"},{"name":"estimatedYield","type":"uint256","internalType":"uint256"},{"name":"additionalIncentives","type":"bool","internalType":"bool"},{"name":"slippageBPS","type":"uint256","internalType":"uint256"}],"internalType":"struct IMYTStrategy.StrategyParams"},{"name":"_mytAsset","type":"address","internalType":"address"},{"name":"_aToken","type":"address","internalType":"address"},{"name":"_poolProvider","type":"address","internalType":"address"},{"name":"_rewardsController","type":"address","internalType":"address"},{"name":"_rewardToken","type":"address","internalType":"address"}],"stateMutability":"nonpayable"},{"name":"ActionNotSupported","type":"error","inputs":[]},{"name":"CounterfeitSettler","type":"error","inputs":[{"name":"","type":"address","internalType":"address"}]},{"name":"ERC20CallFailed","type":"error","inputs":[{"name":"target","type":"address","internalType":"address"},{"name":"success","type":"bool","internalType":"bool"},{"name":"data","type":"bytes","internalType":"bytes"}]},{"name":"ERC20CallFailed","type":"error","inputs":[{"name":"target","type":"address","internalType":"address"},{"name":"success","type":"bool","internalType":"bool"},{"name":"data","type":"bytes","internalType":"bytes"}]},{"name":"ForceDeallocateSwapNotAllowed","type":"error","inputs":[]},{"name":"InsufficientBalance","type":"error","inputs":[{"name":"required","type":"uint256","internalType":"uint256"},{"name":"available","type":"uint256","internalType":"uint256"}]},{"name":"InvalidAmount","type":"error","inputs":[{"name":"min","type":"uint256","internalType":"uint256"},{"name":"received","type":"uint256","internalType":"uint256"}]},{"name":"OwnableInvalidOwner","type":"error","inputs":[{"name":"owner","type":"address","internalType":"address"}]},{"name":"OwnableUnauthorizedAccount","type":"error","inputs":[{"name":"account","type":"address","internalType":"address"}]},{"name":"StrategyAllocationPaused","type":"error","inputs":[{"name":"strategy","type":"address","internalType":"address"}]},{"name":"Allocate","type":"event","inputs":[{"name":"amount","type":"uint256","indexed":true,"internalType":"uint256"},{"name":"strategy","type":"address","indexed":true,"internalType":"address"}],"anonymous":false},{"name":"Deallocate","type":"event","inputs":[{"name":"amount","type":"uint256","indexed":true,"internalType":"uint256"},{"name":"strategy","type":"address","indexed":true,"internalType":"address"}],"anonymous":false},{"name":"DeallocateDex","type":"event","inputs":[{"name":"amount","type":"uint256","indexed":true,"internalType":"uint256"}],"anonymous":false},{"name":"Emergency","type":"event","inputs":[{"name":"isEmergency","type":"bool","indexed":true,"internalType":"bool"}],"anonymous":false},{"name":"IncentivesUpdated","type":"event","inputs":[{"name":"enabled","type":"bool","indexed":true,"internalType":"bool"}],"anonymous":false},{"name":"MinAllocationOutBpsUpdated","type":"event","inputs":[{"name":"newMinAllocationOutBps","type":"uint256","indexed":true,"internalType":"uint256"}],"anonymous":false},{"name":"OwnershipTransferred","type":"event","inputs":[{"name":"previousOwner","type":"address","indexed":true,"internalType":"address"},{"name":"newOwner","type":"address","indexed":true,"internalType":"address"}],"anonymous":false},{"name":"RewardsClaimed","type":"event","inputs":[{"name":"token","type":"address","indexed":true,"internalType":"address"},{"name":"amount","type":"uint256","indexed":true,"internalType":"uint256"}],"anonymous":false},{"name":"RiskClassUpdated","type":"event","inputs":[{"name":"class","type":"uint8","indexed":true,"internalType":"enum IMYTStrategy.RiskClass"}],"anonymous":false},{"name":"SlippageBPSUpdated","type":"event","inputs":[{"name":"newSlippageBPS","type":"uint256","indexed":true,"internalType":"uint256"}],"anonymous":false},{"name":"StrategyAllocationLoss","type":"event","inputs":[{"name":"message","type":"string","indexed":false,"internalType":"string"},{"name":"amountRequested","type":"uint256","indexed":false,"internalType":"uint256"},{"name":"actualAmountAllocated","type":"uint256","indexed":false,"internalType":"uint256"}],"anonymous":false},{"name":"TokensRescued","type":"event","inputs":[{"name":"token","type":"address","indexed":true,"internalType":"address"},{"name":"to","type":"address","indexed":true,"internalType":"address"},{"name":"amount","type":"uint256","indexed":false,"internalType":"uint256"}],"anonymous":false},{"name":"WithdrawToVault","type":"event","inputs":[{"name":"amount","type":"uint256","indexed":true,"internalType":"uint256"}],"anonymous":false},{"name":"YieldUpdated","type":"event","inputs":[{"name":"yield","type":"uint256","indexed":true,"internalType":"uint256"}],"anonymous":false},{"name":"FIXED_POINT_SCALAR","type":"function","inputs":[],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"FORCE_DEALLOCATE_SELECTOR","type":"function","inputs":[],"outputs":[{"name":"","type":"bytes4","internalType":"bytes4"}],"stateMutability":"view"},{"name":"MYT","type":"function","inputs":[],"outputs":[{"name":"","type":"address","internalType":"contract IVaultV2"}],"stateMutability":"view"},{"name":"SECONDS_PER_YEAR","type":"function","inputs":[],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"aToken","type":"function","inputs":[],"outputs":[{"name":"","type":"address","internalType":"contract IAaveAToken"}],"stateMutability":"view"},{"name":"adapterId","type":"function","inputs":[],"outputs":[{"name":"","type":"bytes32","internalType":"bytes32"}],"stateMutability":"view"},{"name":"adminDexSwap","type":"function","inputs":[{"name":"to","type":"address","internalType":"address"},{"name":"from","type":"address","internalType":"address"},{"name":"amount","type":"uint256","internalType":"uint256"},{"name":"minAmountOut","type":"uint256","internalType":"uint256"},{"name":"callData","type":"bytes","internalType":"bytes"}],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"nonpayable"},{"name":"allocate","type":"function","inputs":[{"name":"data","type":"bytes","internalType":"bytes"},{"name":"assets","type":"uint256","internalType":"uint256"},{"name":"selector","type":"bytes4","internalType":"bytes4"},{"name":"sender","type":"address","internalType":"address"}],"outputs":[{"name":"strategyIds","type":"bytes32[]","internalType":"bytes32[]"},{"name":"change","type":"int256","internalType":"int256"}],"stateMutability":"nonpayable"},{"name":"allocation","type":"function","inputs":[],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"allowanceHolder","type":"function","inputs":[],"outputs":[{"name":"","type":"address","internalType":"address"}],"stateMutability":"view"},{"name":"claimRewards","type":"function","inputs":[{"name":"token","type":"address","internalType":"address"},{"name":"quote","type":"bytes","internalType":"bytes"},{"name":"minAmountOut","type":"uint256","internalType":"uint256"}],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"nonpayable"},{"name":"claimWithdrawalQueue","type":"function","inputs":[{"name":"positionId","type":"uint256","internalType":"uint256"}],"outputs":[{"name":"ret","type":"uint256","internalType":"uint256"}],"stateMutability":"nonpayable"},{"name":"deallocate","type":"function","inputs":[{"name":"data","type":"bytes","internalType":"bytes"},{"name":"assets","type":"uint256","internalType":"uint256"},{"name":"selector","type":"bytes4","internalType":"bytes4"},{"name":"sender","type":"address","internalType":"address"}],"outputs":[{"name":"strategyIds","type":"bytes32[]","internalType":"bytes32[]"},{"name":"change","type":"int256","internalType":"int256"}],"stateMutability":"nonpayable"},{"name":"getCap","type":"function","inputs":[],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"getEstimatedYield","type":"function","inputs":[],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"getGlobalCap","type":"function","inputs":[],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"getIdData","type":"function","inputs":[],"outputs":[{"name":"","type":"bytes","internalType":"bytes"}],"stateMutability":"view"},{"name":"ids","type":"function","inputs":[],"outputs":[{"name":"","type":"bytes32[]","internalType":"bytes32[]"}],"stateMutability":"view"},{"name":"killSwitch","type":"function","inputs":[],"outputs":[{"name":"","type":"bool","internalType":"bool"}],"stateMutability":"view"},{"name":"mytAsset","type":"function","inputs":[],"outputs":[{"name":"","type":"address","internalType":"contract IERC20"}],"stateMutability":"view"},{"name":"owner","type":"function","inputs":[],"outputs":[{"name":"","type":"address","internalType":"address"}],"stateMutability":"view"},{"name":"params","type":"function","inputs":[],"outputs":[{"name":"owner","type":"address","internalType":"address"},{"name":"name","type":"string","internalType":"string"},{"name":"protocol","type":"string","internalType":"string"},{"name":"riskClass","type":"uint8","internalType":"enum IMYTStrategy.RiskClass"},{"name":"cap","type":"uint256","internalType":"uint256"},{"name":"globalCap","type":"uint256","internalType":"uint256"},{"name":"estimatedYield","type":"uint256","internalType":"uint256"},{"name":"additionalIncentives","type":"bool","internalType":"bool"},{"name":"slippageBPS","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"poolProvider","type":"function","inputs":[],"outputs":[{"name":"","type":"address","internalType":"contract IPoolAddressProvider"}],"stateMutability":"view"},{"name":"previewAdjustedWithdraw","type":"function","inputs":[{"name":"amount","type":"uint256","internalType":"uint256"}],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"realAssets","type":"function","inputs":[],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"renounceOwnership","type":"function","inputs":[],"outputs":[],"stateMutability":"nonpayable"},{"name":"rescueTokens","type":"function","inputs":[{"name":"token","type":"address","internalType":"address"},{"name":"to","type":"address","internalType":"address"},{"name":"amount","type":"uint256","internalType":"uint256"}],"outputs":[],"stateMutability":"nonpayable"},{"name":"rewardToken","type":"function","inputs":[],"outputs":[{"name":"","type":"address","internalType":"contract IERC20"}],"stateMutability":"view"},{"name":"rewardsController","type":"function","inputs":[],"outputs":[{"name":"","type":"address","internalType":"contract IRewardsController"}],"stateMutability":"view"},{"name":"setAdditionalIncentives","type":"function","inputs":[{"name":"newValue","type":"bool","internalType":"bool"}],"outputs":[],"stateMutability":"nonpayable"},{"name":"setAllowanceHolder","type":"function","inputs":[{"name":"_new","type":"address","internalType":"address"}],"outputs":[],"stateMutability":"nonpayable"},{"name":"setKillSwitch","type":"function","inputs":[{"name":"val","type":"bool","internalType":"bool"}],"outputs":[],"stateMutability":"nonpayable"},{"name":"setRiskClass","type":"function","inputs":[{"name":"newClass","type":"uint8","internalType":"enum IMYTStrategy.RiskClass"}],"outputs":[],"stateMutability":"nonpayable"},{"name":"setSlippageBPS","type":"function","inputs":[{"name":"newSlippageBPS","type":"uint256","internalType":"uint256"}],"outputs":[],"stateMutability":"nonpayable"},{"name":"transferOwnership","type":"function","inputs":[{"name":"newOwner","type":"address","internalType":"address"}],"outputs":[],"stateMutability":"nonpayable"},{"name":"withdrawToVault","type":"function","inputs":[],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"nonpayable"}],"metadata":"{\"compiler\":{\"version\":\"0.8.28+commit.7893614a\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_myt\",\"type\":\"address\"},{\"components\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"internalType\":\"string\",\"name\":\"name\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"protocol\",\"type\":\"string\"},{\"internalType\":\"enum IMYTStrategy.RiskClass\",\"name\":\"riskClass\",\"type\":\"uint8\"},{\"internalType\":\"uint256\",\"name\":\"cap\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"globalCap\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"estimatedYield\",\"type\":\"uint256\"},{\"internalType\":\"bool\",\"name\":\"additionalIncentives\",\"type\":\"bool\"},{\"internalType\":\"uint256\",\"name\":\"slippageBPS\",\"type\":\"uint256\"}],\"internalType\":\"struct IMYTStrategy.StrategyParams\",\"name\":\"_params\",\"type\":\"tuple\"},{\"internalType\":\"address\",\"name\":\"_mytAsset\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_aToken\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_poolProvider\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_rewardsController\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_rewardToken\",\"type\":\"address\"}],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"inputs\":[],\"name\":\"ActionNotSupported\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"CounterfeitSettler\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"target\",\"type\":\"address\"},{\"internalType\":\"bool\",\"name\":\"success\",\"type\":\"bool\"},{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"}],\"name\":\"ERC20CallFailed\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"target\",\"type\":\"address\"},{\"internalType\":\"bool\",\"name\":\"success\",\"type\":\"bool\"},{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"}],\"name\":\"ERC20CallFailed\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"ForceDeallocateSwapNotAllowed\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"required\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"available\",\"type\":\"uint256\"}],\"name\":\"InsufficientBalance\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"min\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"received\",\"type\":\"uint256\"}],\"name\":\"InvalidAmount\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"}],\"name\":\"OwnableInvalidOwner\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"OwnableUnauthorizedAccount\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"strategy\",\"type\":\"address\"}],\"name\":\"StrategyAllocationPaused\",\"type\":\"error\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"strategy\",\"type\":\"address\"}],\"name\":\"Allocate\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"strategy\",\"type\":\"address\"}],\"name\":\"Deallocate\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"DeallocateDex\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bool\",\"name\":\"isEmergency\",\"type\":\"bool\"}],\"name\":\"Emergency\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bool\",\"name\":\"enabled\",\"type\":\"bool\"}],\"name\":\"IncentivesUpdated\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"newMinAllocationOutBps\",\"type\":\"uint256\"}],\"name\":\"MinAllocationOutBpsUpdated\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"previousOwner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"OwnershipTransferred\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"RewardsClaimed\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"enum IMYTStrategy.RiskClass\",\"name\":\"class\",\"type\":\"uint8\"}],\"name\":\"RiskClassUpdated\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"newSlippageBPS\",\"type\":\"uint256\"}],\"name\":\"SlippageBPSUpdated\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"string\",\"name\":\"message\",\"type\":\"string\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amountRequested\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"actualAmountAllocated\",\"type\":\"uint256\"}],\"name\":\"StrategyAllocationLoss\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"TokensRescued\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"WithdrawToVault\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"yield\",\"type\":\"uint256\"}],\"name\":\"YieldUpdated\",\"type\":\"event\"},{\"inputs\":[],\"name\":\"FIXED_POINT_SCALAR\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"FORCE_DEALLOCATE_SELECTOR\",\"outputs\":[{\"internalType\":\"bytes4\",\"name\":\"\",\"type\":\"bytes4\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"MYT\",\"outputs\":[{\"internalType\":\"contract IVaultV2\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"SECONDS_PER_YEAR\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"aToken\",\"outputs\":[{\"internalType\":\"contract IAaveAToken\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"adapterId\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"minAmountOut\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"callData\",\"type\":\"bytes\"}],\"name\":\"adminDexSwap\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"},{\"internalType\":\"uint256\",\"name\":\"assets\",\"type\":\"uint256\"},{\"internalType\":\"bytes4\",\"name\":\"selector\",\"type\":\"bytes4\"},{\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"}],\"name\":\"allocate\",\"outputs\":[{\"internalType\":\"bytes32[]\",\"name\":\"strategyIds\",\"type\":\"bytes32[]\"},{\"internalType\":\"int256\",\"name\":\"change\",\"type\":\"int256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"allocation\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"allowanceHolder\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"},{\"internalType\":\"bytes\",\"name\":\"quote\",\"type\":\"bytes\"},{\"internalType\":\"uint256\",\"name\":\"minAmountOut\",\"type\":\"uint256\"}],\"name\":\"claimRewards\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"positionId\",\"type\":\"uint256\"}],\"name\":\"claimWithdrawalQueue\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"ret\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"},{\"internalType\":\"uint256\",\"name\":\"assets\",\"type\":\"uint256\"},{\"internalType\":\"bytes4\",\"name\":\"selector\",\"type\":\"bytes4\"},{\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"}],\"name\":\"deallocate\",\"outputs\":[{\"internalType\":\"bytes32[]\",\"name\":\"strategyIds\",\"type\":\"bytes32[]\"},{\"internalType\":\"int256\",\"name\":\"change\",\"type\":\"int256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getCap\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getEstimatedYield\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getGlobalCap\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getIdData\",\"outputs\":[{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"ids\",\"outputs\":[{\"internalType\":\"bytes32[]\",\"name\":\"\",\"type\":\"bytes32[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"killSwitch\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"mytAsset\",\"outputs\":[{\"internalType\":\"contract IERC20\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"owner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"params\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"internalType\":\"string\",\"name\":\"name\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"protocol\",\"type\":\"string\"},{\"internalType\":\"enum IMYTStrategy.RiskClass\",\"name\":\"riskClass\",\"type\":\"uint8\"},{\"internalType\":\"uint256\",\"name\":\"cap\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"globalCap\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"estimatedYield\",\"type\":\"uint256\"},{\"internalType\":\"bool\",\"name\":\"additionalIncentives\",\"type\":\"bool\"},{\"internalType\":\"uint256\",\"name\":\"slippageBPS\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"poolProvider\",\"outputs\":[{\"internalType\":\"contract IPoolAddressProvider\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"previewAdjustedWithdraw\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"realAssets\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"renounceOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"rescueTokens\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"rewardToken\",\"outputs\":[{\"internalType\":\"contract IERC20\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"rewardsController\",\"outputs\":[{\"internalType\":\"contract IRewardsController\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bool\",\"name\":\"newValue\",\"type\":\"bool\"}],\"name\":\"setAdditionalIncentives\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_new\",\"type\":\"address\"}],\"name\":\"setAllowanceHolder\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bool\",\"name\":\"val\",\"type\":\"bool\"}],\"name\":\"setKillSwitch\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"enum IMYTStrategy.RiskClass\",\"name\":\"newClass\",\"type\":\"uint8\"}],\"name\":\"setRiskClass\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"newSlippageBPS\",\"type\":\"uint256\"}],\"name\":\"setSlippageBPS\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"transferOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"withdrawToVault\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}],\"devdoc\":{\"errors\":{\"ERC20CallFailed(address,bool,bytes)\":[{\"params\":{\"data\":\"The resulting data from the call. This is error data when the call was not a                success. Otherwise, this is malformed data when the call was a success.\",\"success\":\"If the call to the token was a success.\",\"target\":\"The target address.\"}},{\"params\":{\"data\":\"The resulting data from the call. This is error data when the call was not a success. Otherwise,                this is malformed data when the call was a success.\",\"success\":\"If the call to the token was a success.\",\"target\":\"The target address.\"}}],\"OwnableInvalidOwner(address)\":[{\"details\":\"The owner is not a valid owner account. (eg. `address(0)`)\"}],\"OwnableUnauthorizedAccount(address)\":[{\"details\":\"The caller account is not authorized to perform an operation.\"}]},\"kind\":\"dev\",\"methods\":{\"adminDexSwap(address,address,uint256,uint256,bytes)\":{\"params\":{\"amount\":\"The amount of `from` tokens to swap.\",\"callData\":\"The calldata for the 0x interaction.\",\"from\":\"The source token address (token to sell).\",\"minAmountOut\":\"The minimum amount of `to` tokens expected.\",\"to\":\"The target token address (token to buy).\"},\"returns\":{\"_0\":\"amountReceived The amount of `to` tokens received.\"}},\"owner()\":{\"details\":\"Returns the address of the current owner.\"},\"renounceOwnership()\":{\"details\":\"Leaves the contract without owner. It will not be possible to call `onlyOwner` functions. Can only be called by the current owner. NOTE: Renouncing ownership will leave the contract without an owner, thereby disabling any functionality that is only available to the owner.\"},\"rescueTokens(address,address,uint256)\":{\"params\":{\"amount\":\"The amount to rescue\",\"to\":\"The recipient address\",\"token\":\"The token to rescue\"}},\"setAdditionalIncentives(bool)\":{\"details\":\"some protocols may pay yield in baby tokens so we need to manually collect them\"},\"transferOwnership(address)\":{\"details\":\"Transfers ownership of the contract to a new account (`newOwner`). Can only be called by the current owner.\"}},\"title\":\"AaveStrategy\",\"version\":1},\"userdoc\":{\"errors\":{\"ERC20CallFailed(address,bool,bytes)\":[{\"notice\":\"An error used to indicate that a call to an ERC20 contract failed.\"},{\"notice\":\"An error used to indicate that a call to an ERC20 contract failed.\"}]},\"kind\":\"user\",\"methods\":{\"adminDexSwap(address,address,uint256,uint256,bytes)\":{\"notice\":\"Admin only function to perform a DEX swap via the 0x AllowanceHolder.\"},\"allocate(bytes,uint256,bytes4,address)\":{\"notice\":\"See Morpho V2 vault spec\"},\"allocation()\":{\"notice\":\"Returns the vault's current allocation tracking for this adapter\"},\"claimRewards(address,bytes,uint256)\":{\"notice\":\"call this function to claim all available rewards from the respective protocol of this strategy\"},\"claimWithdrawalQueue(uint256)\":{\"notice\":\"call this function to handle strategies with withdrawal queue NFT\"},\"deallocate(bytes,uint256,bytes4,address)\":{\"notice\":\"See Morpho V2 vault spec\"},\"getEstimatedYield()\":{\"notice\":\"get the current snapshotted estimated yield for this strategy. This call does not guarantee the latest up-to-date yield and there might be discrepancies from the respective protocols numbers.\"},\"killSwitch()\":{\"notice\":\"This value is true when the underlying protocol is known to experience issues or security incidents. In this case the allocation step is simply bypassed without reverts (to keep external allocators from reverting).\"},\"previewAdjustedWithdraw(uint256)\":{\"notice\":\"helper function to estimate the correct amount that can be fully withdrawn from a strategy, accounting for losses due to slippage, protocol fees, and rounding differences\"},\"realAssets()\":{\"notice\":\"External function per IAdapter spec - returns total underlying value\"},\"rescueTokens(address,address,uint256)\":{\"notice\":\"Rescue arbitrary ERC20 tokens sent to this contract by mistake\"},\"setKillSwitch(bool)\":{\"notice\":\"enter/exit emergency mode for this strategy\"},\"setRiskClass(uint8)\":{\"notice\":\"recategorize this strategy to a different risk class\"},\"setSlippageBPS(uint256)\":{\"notice\":\"Update the slippage tolerance for this strategy\"},\"withdrawToVault()\":{\"notice\":\"withdraw any leftover assets back to the vault\"}},\"notice\":\"Generic deployable strategy for Aave v3 integrations.\",\"version\":1}},\"settings\":{\"compilationTarget\":{\"src/adapters/AaveStrategy.sol\":\"AaveStrategy\"},\"evmVersion\":\"cancun\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"none\"},\"optimizer\":{\"enabled\":true,\"runs\":100000},\"remappings\":[\":@openzeppelin/contracts/=lib/openzeppelin-contracts/contracts/\",\":ds-test/=lib/morpho-blue-irm/lib/forge-std/lib/ds-test/src/\",\":erc4626-tests/=lib/metamorpho/lib/erc4626-tests/\",\":forge-std/=lib/forge-std/src/\",\":halmos-cheatcodes/=lib/morpho-blue/lib/halmos-cheatcodes/src/\",\":metamorpho-v1.1/=lib/metamorpho-v1.1/\",\":metamorpho/=lib/metamorpho/\",\":morpho-blue-irm/=lib/morpho-blue-irm/\",\":morpho-blue/=lib/morpho-blue/\",\":openzeppelin-contracts/=lib/openzeppelin-contracts/\",\":solmate/=lib/morpho-blue-irm/lib/solmate/src/\"],\"viaIR\":true},\"sources\":{\"lib/openzeppelin-contracts/contracts/access/Ownable.sol\":{\"keccak256\":\"0xff6d0bb2e285473e5311d9d3caacb525ae3538a80758c10649a4d61029b017bb\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://8ed324d3920bb545059d66ab97d43e43ee85fd3bd52e03e401f020afb0b120f6\",\"dweb:/ipfs/QmfEckWLmZkDDcoWrkEvMWhms66xwTLff9DDhegYpvHo1a\"]},\"lib/openzeppelin-contracts/contracts/token/ERC20/IERC20.sol\":{\"keccak256\":\"0xee2337af2dc162a973b4be6d3f7c16f06298259e0af48c5470d2839bfa8a22f4\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://30c476b4b2f405c1bb3f0bae15b006d129c80f1bfd9d0f2038160a3bb9745009\",\"dweb:/ipfs/Qmb3VcuDufv6xbHeVgksC4tHpc5gKYVqBEwjEXW72XzSvN\"]},\"lib/openzeppelin-contracts/contracts/token/ERC20/extensions/IERC20Metadata.sol\":{\"keccak256\":\"0x88f7b6f070ad1de2bf899da6978ed74b5038eac78c01b7359b92b60c3d965c28\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://c436edb6733a036607c6f17cc590e8ee351363a8cb4c564a98d9a66392c89323\",\"dweb:/ipfs/QmcJvJR2K3EtYcKEXVpQ1WqT6TvAbVem5HR1FirAsqEXFR\"]},\"lib/openzeppelin-contracts/contracts/utils/Context.sol\":{\"keccak256\":\"0x493033a8d1b176a037b2cc6a04dad01a5c157722049bbecf632ca876224dd4b2\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://6a708e8a5bdb1011c2c381c9a5cfd8a9a956d7d0a9dc1bd8bcdaf52f76ef2f12\",\"dweb:/ipfs/Qmax9WHBnVsZP46ZxEMNRQpLQnrdE4dK8LehML1Py8FowF\"]},\"lib/openzeppelin-contracts/contracts/utils/Panic.sol\":{\"keccak256\":\"0x156d11cd8394cb9245b0bb9d7a27f5b3e7193e3cec7b91a66474ae01af8d818c\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://6f171e65be237fe4aaa2f7a74862c10a06535b8c04baa42e848a63c6fc96bcd4\",\"dweb:/ipfs/QmUdz8WHcrjqYmbRaz5PFN2N2thfvQjcqTorZUfcmWTfat\"]},\"lib/openzeppelin-contracts/contracts/utils/math/Math.sol\":{\"keccak256\":\"0xd2fb25b789ccaf6bf50b147ecff4c9d62d05d3f5c5d562fdf568f6926a2a280c\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://521e2df6ed2080c9ae2f442b27a827551ab96ff2e5f920ad6dc978c355b4b966\",\"dweb:/ipfs/Qme1Z6dU7ZDQMfKiHwpLejAyFGsP9HpijvX9uzxivEGjga\"]},\"lib/openzeppelin-contracts/contracts/utils/math/SafeCast.sol\":{\"keccak256\":\"0x8cdcfbd2484c2e7db797f57ff8731fe11d7ab0092c7a1112f8ad6047ad6d4481\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://356742c148ca77b9d953059072c32cf9d0d98ae782129fe442c73a6736bfd7cb\",\"dweb:/ipfs/QmZN5jdoBbCihsv1RK8n6pf6cC89pi77KGAasn7ZvyuNTn\"]},\"src/adapters/AaveStrategy.sol\":{\"keccak256\":\"0x6c679f1575261d7b71c7951be34d828a19f7ca71019922d030b9da53f0062dd0\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://4a8c6e3bfa6ae8668b6bc09a0d5b4e1d2faf94255020532de5fff0872c16d2e9\",\"dweb:/ipfs/QmWshGeqeAEgMzRQr68DyrJbwtUDgNYLKBkQqidpzQ4DVo\"]},\"src/adapters/MYTStrategy.sol\":{\"keccak256\":\"0x73f0d217688dd4f09497db8aedc5b18052d5e5f0bae4d4fe29ae5af5fabdeedc\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://24fdb8faddcd085dd79a46595ef8ada40e8ce472da7e9f7057b4e5e9e1bb63ec\",\"dweb:/ipfs/QmaRdJPnUMjFr3RdfWa8GhkEjxw4HwYv1L6bbSPxjp44Ez\"]},\"src/adapters/interfaces/IMYTStrategy.sol\":{\"keccak256\":\"0x7e69bd63b4b74cc4048ba858950836a4cd5631b59dfc7a4ee2bf7954a44a05f1\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://7a50c090bc1ad975dacf8ce03e7b48fee0309448a36f0cb18b5e2f0d41185fb3\",\"dweb:/ipfs/QmaT3HAP5RpEzsXCU1bRKijBJ9BpTbc1dywbu1zMyh5nXx\"]},\"src/interfaces/IERC20.sol\":{\"keccak256\":\"0x4e66403784cf08fa5b5dc072b0ddb5a168dd69e8c3cdb912eed37e7da43f32a7\",\"license\":\"GPL-2.0-or-later\",\"urls\":[\"bzz-raw://b67ef4141949be81dc2176a28334430687013f142ccc22f62b569a0cb90abd14\",\"dweb:/ipfs/QmNsfyx5cGaDjWoMJiPdLnNwBvCk1PqBcKYqL935aUDemu\"]},\"src/interfaces/IERC20Burnable.sol\":{\"keccak256\":\"0xf8c3f358b6a695111bd50bb55f5a3b15fcc64f9d4bd06eb431c1971f9f06efa0\",\"urls\":[\"bzz-raw://284a1f3432a769e2d1acf0a1a4332f363df2d5c8ba3805450972537e37922d3a\",\"dweb:/ipfs/Qme67qhZwqzLrAKYctet2pUxDkSVBGwYwfjzsHyY6JkTQk\"]},\"src/interfaces/IERC20Mintable.sol\":{\"keccak256\":\"0xc1b914233f2f087d15a4ea57115544d91ddd3a1ceb1fa7c35bae1d34baf4a045\",\"urls\":[\"bzz-raw://5fe89f2dd1959ea499ce2c8c17a69eab8f58c2a2365c00818b95da935300b29b\",\"dweb:/ipfs/QmVFavL3FctxmGdgyHhQWjpxnTDnyow9H3a8nPLAipiaW2\"]},\"src/interfaces/IERC2612.sol\":{\"keccak256\":\"0x8a6a5882a5ade43ae94e7406251df9911a782f34ad723df857c8a2d8764a77fe\",\"license\":\"GPL-2.0-or-later\",\"urls\":[\"bzz-raw://12767619d08b112738bed4f6d6df29771730ca65f52c64edb9854a0c19af1c82\",\"dweb:/ipfs/QmeqUTxqRfRz6UQkbqJaRMAmL9D4eSPDeARYhSKxR9gZNt\"]},\"src/interfaces/IERC4626.sol\":{\"keccak256\":\"0x49085f03fc0d7bd727b2c3cc1ae3e5b975f8a863011ec8fda293b613c611a7c3\",\"license\":\"GPL-2.0-or-later\",\"urls\":[\"bzz-raw://38c86fc0c3d21190aec87f79009d24849170b66f411209e106cc279e8164c425\",\"dweb:/ipfs/QmRNQMWnoebdj3wq77NxSsYAJpDTjdFFKi3ASXHe74yvYq\"]},\"src/interfaces/IVaultV2.sol\":{\"keccak256\":\"0xd2e10276f2e354162ee695eb0700f2567b4e0e635bc03b5a669aa4ac78b15633\",\"license\":\"GPL-2.0-or-later\",\"urls\":[\"bzz-raw://12c80ecbac96d303dd09714c411751a4241278a0c758af3906d19a50203ee602\",\"dweb:/ipfs/QmP8BEViY32ndKGSameP83xcJhUw83NBVjrZRVbMqWDi48\"]},\"src/libraries/SafeERC20.sol\":{\"keccak256\":\"0xaadaaadf560b8cbd03846005dc3e0834065a8a46778385e45046f782723d5640\",\"license\":\"AGPL-3.0-only\",\"urls\":[\"bzz-raw://42662ecc363e110e67be5defe3e1161d66e7f624eed7316357070fbcecde22cc\",\"dweb:/ipfs/QmVzs3kiCi7jKSXNvL7aLWxgaQ44AEnDeRocpHW4VXoTxi\"]},\"src/libraries/TokenUtils.sol\":{\"keccak256\":\"0xbbdde302144b6056e4c12e6f5200129f617ce3959ef8e852cd461da17d482be1\",\"urls\":[\"bzz-raw://c47d152189b28f9873183ab133b4f5e8596f3a69264837b95c6bb3d46a0c726a\",\"dweb:/ipfs/QmNcq52Hao5Qhj6aerkhBfHcFKVdF9LuGMgvFnc8yoAYRg\"]}},\"version\":1}","userdoc":{"kind":"user","errors":{"ERC20CallFailed(address,bool,bytes)":[{"notice":"An error used to indicate that a call to an ERC20 contract failed."},{"notice":"An error used to indicate that a call to an ERC20 contract failed."}]},"notice":"Generic deployable strategy for Aave v3 integrations.","methods":{"allocation()":{"notice":"Returns the vault's current allocation tracking for this adapter"},"killSwitch()":{"notice":"This value is true when the underlying protocol is known to experience issues or security incidents. In this case the allocation step is simply bypassed without reverts (to keep external allocators from reverting)."},"realAssets()":{"notice":"External function per IAdapter spec - returns total underlying value"},"withdrawToVault()":{"notice":"withdraw any leftover assets back to the vault"},"getEstimatedYield()":{"notice":"get the current snapshotted estimated yield for this strategy. This call does not guarantee the latest up-to-date yield and there might be discrepancies from the respective protocols numbers."},"setKillSwitch(bool)":{"notice":"enter/exit emergency mode for this strategy"},"setRiskClass(uint8)":{"notice":"recategorize this strategy to a different risk class"},"setSlippageBPS(uint256)":{"notice":"Update the slippage tolerance for this strategy"},"claimWithdrawalQueue(uint256)":{"notice":"call this function to handle strategies with withdrawal queue NFT"},"previewAdjustedWithdraw(uint256)":{"notice":"helper function to estimate the correct amount that can be fully withdrawn from a strategy, accounting for losses due to slippage, protocol fees, and rounding differences"},"claimRewards(address,bytes,uint256)":{"notice":"call this function to claim all available rewards from the respective protocol of this strategy"},"rescueTokens(address,address,uint256)":{"notice":"Rescue arbitrary ERC20 tokens sent to this contract by mistake"},"allocate(bytes,uint256,bytes4,address)":{"notice":"See Morpho V2 vault spec"},"deallocate(bytes,uint256,bytes4,address)":{"notice":"See Morpho V2 vault spec"},"adminDexSwap(address,address,uint256,uint256,bytes)":{"notice":"Admin only function to perform a DEX swap via the 0x AllowanceHolder."}},"version":1},"devdoc":{"kind":"dev","title":"AaveStrategy","errors":{"OwnableInvalidOwner(address)":[{"details":"The owner is not a valid owner account. (eg. `address(0)`)"}],"ERC20CallFailed(address,bool,bytes)":[{"params":{"data":"The resulting data from the call. This is error data when the call was not a                success. Otherwise, this is malformed data when the call was a success.","target":"The target address.","success":"If the call to the token was a success."}},{"params":{"data":"The resulting data from the call. This is error data when the call was not a success. Otherwise,                this is malformed data when the call was a success.","target":"The target address.","success":"If the call to the token was a success."}}],"OwnableUnauthorizedAccount(address)":[{"details":"The caller account is not authorized to perform an operation."}]},"methods":{"owner()":{"details":"Returns the address of the current owner."},"renounceOwnership()":{"details":"Leaves the contract without owner. It will not be possible to call `onlyOwner` functions. Can only be called by the current owner. NOTE: Renouncing ownership will leave the contract without an owner, thereby disabling any functionality that is only available to the owner."},"transferOwnership(address)":{"details":"Transfers ownership of the contract to a new account (`newOwner`). Can only be called by the current owner."},"setAdditionalIncentives(bool)":{"details":"some protocols may pay yield in baby tokens so we need to manually collect them"},"rescueTokens(address,address,uint256)":{"params":{"to":"The recipient address","token":"The token to rescue","amount":"The amount to rescue"}},"adminDexSwap(address,address,uint256,uint256,bytes)":{"params":{"to":"The target token address (token to buy).","from":"The source token address (token to sell).","amount":"The amount of `from` tokens to swap.","callData":"The calldata for the 0x interaction.","minAmountOut":"The minimum amount of `to` tokens expected."},"returns":{"_0":"amountReceived The amount of `to` tokens received."}}},"version":1},"storageLayout":{"types":{"t_bool":{"label":"bool","encoding":"inplace","numberOfBytes":"1"},"t_address":{"label":"address","encoding":"inplace","numberOfBytes":"20"},"t_uint256":{"label":"uint256","encoding":"inplace","numberOfBytes":"32"},"t_string_storage":{"label":"string","encoding":"bytes","numberOfBytes":"32"},"t_enum(RiskClass)5265":{"label":"enum IMYTStrategy.RiskClass","encoding":"inplace","numberOfBytes":"1"},"t_struct(StrategyParams)5285_storage":{"label":"struct IMYTStrategy.StrategyParams","members":[{"slot":"0","type":"t_address","astId":5267,"label":"owner","offset":0,"contract":"src/adapters/AaveStrategy.sol:AaveStrategy"},{"slot":"1","type":"t_string_storage","astId":5269,"label":"name","offset":0,"contract":"src/adapters/AaveStrategy.sol:AaveStrategy"},{"slot":"2","type":"t_string_storage","astId":5271,"label":"protocol","offset":0,"contract":"src/adapters/AaveStrategy.sol:AaveStrategy"},{"slot":"3","type":"t_enum(RiskClass)5265","astId":5274,"label":"riskClass","offset":0,"contract":"src/adapters/AaveStrategy.sol:AaveStrategy"},{"slot":"4","type":"t_uint256","astId":5276,"label":"cap","offset":0,"contract":"src/adapters/AaveStrategy.sol:AaveStrategy"},{"slot":"5","type":"t_uint256","astId":5278,"label":"globalCap","offset":0,"contract":"src/adapters/AaveStrategy.sol:AaveStrategy"},{"slot":"6","type":"t_uint256","astId":5280,"label":"estimatedYield","offset":0,"contract":"src/adapters/AaveStrategy.sol:AaveStrategy"},{"slot":"7","type":"t_bool","astId":5282,"label":"additionalIncentives","offset":0,"contract":"src/adapters/AaveStrategy.sol:AaveStrategy"},{"slot":"8","type":"t_uint256","astId":5284,"label":"slippageBPS","offset":0,"contract":"src/adapters/AaveStrategy.sol:AaveStrategy"}],"encoding":"inplace","numberOfBytes":"288"}},"storage":[{"slot":"0","type":"t_address","astId":8,"label":"_owner","offset":0,"contract":"src/adapters/AaveStrategy.sol:AaveStrategy"},{"slot":"1","type":"t_address","astId":4259,"label":"allowanceHolder","offset":0,"contract":"src/adapters/AaveStrategy.sol:AaveStrategy"},{"slot":"2","type":"t_struct(StrategyParams)5285_storage","astId":4271,"label":"params","offset":0,"contract":"src/adapters/AaveStrategy.sol:AaveStrategy"},{"slot":"11","type":"t_bool","astId":4276,"label":"killSwitch","offset":0,"contract":"src/adapters/AaveStrategy.sol:AaveStrategy"}]},"transientStorageLayout":{"types":null,"storage":[]},"evm":{"bytecode":{"object":"610160806040523461066957613c80803803809161001d8285610680565b833981019060e08183031261066957610035816106a3565b60208201519092906001600160401b0381116106695782019061012082820312610669576040519161012083016001600160401b0381118482101761056c57604052610080816106a3565b835260208101516001600160401b03811161066957826100a19183016106b7565b60208401908152604082015190926001600160401b038211610669576100c89183016106b7565b90604084019182526060810151906003821015610669576060850191825260808101516080860190815260a082015160a0870190815260c08301519160c0880192835260e08401519384151585036106695760e08901948552610100015194610100890195865260408a0161013c906106a3565b9661014960608c016106a3565b9861015660808d016106a3565b9a61016360a08e016106a3565b9c60c001610170906106a3565b8151909e906001600160a01b0316801561066d575f80546001600160a01b03198116831782556001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09080a381516001600160a01b031615610669576001600160a01b03168015610669576113888a5110156106695760805251600280546001600160a01b0319166001600160a01b0392909216919091179055518051906001600160401b03821161056c5760035490600182811c9216801561065f575b602083101461054e5781601f8493116105f1575b50602090601f831160011461058b575f92610580575b50508160011b915f199060031b1c1916176003555b518051906001600160401b03821161056c5760045490600182811c92168015610562575b602083101461054e5781601f8493116104e0575b50602090601f831160011461047a575f9261046f575b50508160011b915f199060031b1c1916176004555b51600381101561045b5760ff80196005541691161760055551600655516007555160085551151560ff80196009541691161760095551600a5560405160208101906040825260046060820152637468697360e01b60808201523060408201526080815261034660a082610680565b51902060a052600180546001600160a01b0319166d1ff3684f28c67538d4d072c227341790556001600160a01b0390811660c0529081166101005290811660e052908116610120521661014052604051613573908161070d82396080518181816108a9015281816110f7015281816116d501528181611c7001528181611ee1015281816127960152612fc3015260a05181818161161101528181612755015261287d015260c051818181610dae0152818161181f01528181611f5b015261294e015260e051818181611049015281816117d70152611fd0015261010051818181610b2701528181610e5e01526128ff0152610120518181816115b70152612f020152610140518181816101f40152612e370152f35b634e487b7160e01b5f52602160045260245ffd5b015190505f806102c3565b60045f9081528281209350601f198516905b8181106104c857509084600195949392106104b0575b505050811b016004556102d8565b01515f1960f88460031b161c191690555f80806104a2565b9293602060018192878601518155019501930161048c565b60045f529091507f8a35acfbc15ff81a39ae7d344fd709f28e8600b4aa8c65c6b64bfe7fe36bd19b601f840160051c81019160208510610544575b90601f859493920160051c01905b81811061053657506102ad565b5f8155849350600101610529565b909150819061051b565b634e487b7160e01b5f52602260045260245ffd5b91607f1691610299565b634e487b7160e01b5f52604160045260245ffd5b015190505f80610260565b60035f9081528281209350601f198516905b8181106105d957509084600195949392106105c1575b505050811b01600355610275565b01515f1960f88460031b161c191690555f80806105b3565b9293602060018192878601518155019501930161059d565b60035f529091507fc2575a0e9e593c00f959f8c92f12db2869c3395a3b0502d05e2516446f71f85b601f840160051c81019160208510610655575b90601f859493920160051c01905b818110610647575061024a565b5f815584935060010161063a565b909150819061062c565b91607f1691610236565b5f80fd5b631e4fbdf760e01b5f525f60045260245ffd5b601f909101601f19168101906001600160401b0382119082101761056c57604052565b51906001600160a01b038216820361066957565b81601f82011215610669578051906001600160401b03821161056c57604051926106eb601f8401601f191660200185610680565b8284526020838301011161066957815f9260208093018386015e830101529056fe6080806040526004361015610012575f80fd5b5f905f3560e01c908163118866851461226a57508063179319011461222a5780631eadd77814611eb55780633c12f9ea14611e085780633e859eec14611d6f5780633f53066b14611c9457806347e7a97d14611c255780634d51bf5f14611bea5780634e45f1ff146116a9578063554d578d1461166d57806356c07573146116345780635fb86b01146115db5780636bb65f531461156c5780636cab065914611530578063715018a61461149457806384ab57ab1461140c57806384f22721146110a95780638511fc931461106d5780638598f9c314610ffe57806388a17bde14610fc55780638da5cb5b14610f745780639213bda714610edb578063a05716f414610e82578063a0c1f15e14610e13578063ada1469814610dd2578063aecd577a14610d63578063b476bde414610cd1578063bc08e9bd14610c03578063cea9d26f146107fa578063cff0ab9614610506578063e5f21f7d14610458578063e6a69ab81461041b578063e7657e15146103c9578063ec31eb5814610309578063f2fde38b1461021b5763f7c618c1146101aa575f80fd5b3461021857807ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261021857602060405173ffffffffffffffffffffffffffffffffffffffff7f0000000000000000000000000000000000000000000000000000000000000000168152f35b80fd5b50346102185760207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc3601126102185773ffffffffffffffffffffffffffffffffffffffff6102686123d0565b6102706129ad565b1680156102dd5773ffffffffffffffffffffffffffffffffffffffff8254827fffffffffffffffffffffffff00000000000000000000000000000000000000008216178455167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e08380a380f35b6024827f1e4fbdf700000000000000000000000000000000000000000000000000000000815280600452fd5b50346102185760207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc3601126102185760043590811561039857600a5490818302918383040361036b5760206103636127108404856126ff565b604051908152f35b807f4e487b7100000000000000000000000000000000000000000000000000000000602492526011600452fd5b807f7c83fcf00000000000000000000000000000000000000000000000000000000060449252600160045280602452fd5b503461021857807ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261021857610417610403612862565b6040519182916020835260208301906124b4565b0390f35b503461021857807ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc3601126102185760206040516301e133808152f35b50346102185760207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc3601126102185760043560038110156105025761049c6129ad565b6104a581612546565b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff006005541660ff8216176005556104db81612546565b7f27630923f8c523d6150196f959d8848e1c38769db10bd099c29cf1e542387bc48280a280f35b5080fd5b503461021857807ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc3601126102185773ffffffffffffffffffffffffffffffffffffffff600254166040519180600354908160011c916001811680156107f0575b6020841081146107c35783875286929181156107865750600114610728575b61059292500384612301565b6040519080600454918260011c9260018116801561071e575b6020851081146106f1578486528593929181156106b15750600114610652575b506105d892500382612301565b60ff60055416906006546007546008549060ff6009541692610623600a54956106156040519a8b9a8b5261012060208c01526101208b0190612503565b9089820360408b0152612503565b9561062d81612546565b6060880152608087015260a086015260c0850152151560e08401526101008301520390f35b60048152919290507f8a35acfbc15ff81a39ae7d344fd709f28e8600b4aa8c65c6b64bfe7fe36bd19b5b8183106106955750509060206105d8928201015f6105cb565b602091935080600191548385880101520191019091839261067c565b602093506105d89592507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0091501682840152151560051b8201015f6105cb565b6024837f4e487b710000000000000000000000000000000000000000000000000000000081526022600452fd5b93607f16936105ab565b50600383529082907fc2575a0e9e593c00f959f8c92f12db2869c3395a3b0502d05e2516446f71f85b5b81831061076a57505090602061059292820101610586565b6020919350806001915483858a01015201910190918592610752565b602092506105929491507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001682840152151560051b820101610586565b6024857f4e487b710000000000000000000000000000000000000000000000000000000081526022600452fd5b92607f1692610567565b50346102185760607ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc360112610218576108326123d0565b61083a6123f3565b90604435916108476129ad565b73ffffffffffffffffffffffffffffffffffffffff8116928315610ba557604051927f38d52e0f00000000000000000000000000000000000000000000000000000000845260208460048173ffffffffffffffffffffffffffffffffffffffff7f0000000000000000000000000000000000000000000000000000000000000000165afa938415610aa6578694610b4e575b5073ffffffffffffffffffffffffffffffffffffffff809116931683148015610b0f575b610ab1576040517f70a08231000000000000000000000000000000000000000000000000000000008152306004820152602081602481875afa908115610aa6578691610a70575b508111610a12576040517fa9059cbb00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff9290921660048301526024820181905260208260448188875af1908115610a07577f77023e19c7343ad491fd706c36335ca0e738340a91f29b1fd81e2673d44896c4926020926109dc575b50604051908152a380f35b6109fb90833d8511610a00575b6109f38183612301565b8101906127f8565b6109d1565b503d6109e9565b6040513d87823e3d90fd5b60646040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601460248201527f496e73756666696369656e742062616c616e63650000000000000000000000006044820152fd5b90506020813d602011610a9e575b81610a8b60209383612301565b81010312610a9a57515f610944565b5f80fd5b3d9150610a7e565b6040513d88823e3d90fd5b60646040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600f60248201527f50726f74656374656420746f6b656e00000000000000000000000000000000006044820152fd5b5073ffffffffffffffffffffffffffffffffffffffff7f00000000000000000000000000000000000000000000000000000000000000001683146108fd565b9093506020813d602011610b9d575b81610b6a60209383612301565b81010312610b995773ffffffffffffffffffffffffffffffffffffffff610b91819261270c565b9491506108d9565b8580fd5b3d9150610b5d565b60646040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601160248201527f496e76616c696420726563697069656e740000000000000000000000000000006044820152fd5b50346102185760207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261021857600435610c3e6129ad565b61270f811015610c735780600a557fc67ba9890ea7d6f3d208ac2d463c5846edd57c3b3f13d044d18d668585095d178280a280f35b60646040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601160248201527f536c69707061676520746f6f20686967680000000000000000000000000000006044820152fd5b503461021857807ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc3601126102185761041760405160406020820152600460608201527f7468697300000000000000000000000000000000000000000000000000000000608082015230604082015260808152610d4f60a082612301565b604051918291602083526020830190612503565b503461021857807ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261021857602060405173ffffffffffffffffffffffffffffffffffffffff7f0000000000000000000000000000000000000000000000000000000000000000168152f35b503461021857807ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261021857602060ff600b54166040519015158152f35b503461021857807ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261021857602060405173ffffffffffffffffffffffffffffffffffffffff7f0000000000000000000000000000000000000000000000000000000000000000168152f35b503461021857807ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc3601126102185760206040517fe4d38cd8000000000000000000000000000000000000000000000000000000008152f35b50346102185760207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc3601126102185760043580151580910361050257610f206129ad565b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00600b541660ff821617600b557f68c3b30f53252b4a7ebb8cbe118f644313c1c59953a3eb90ba5f43a42d242ae18280a280f35b503461021857807ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc3601126102185773ffffffffffffffffffffffffffffffffffffffff6020915416604051908152f35b503461021857807ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261021857602061036361272d565b503461021857807ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261021857602060405173ffffffffffffffffffffffffffffffffffffffff7f0000000000000000000000000000000000000000000000000000000000000000168152f35b503461021857807ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc360112610218576020600854604051908152f35b503461021857807ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc360112610218576110e06129ad565b73ffffffffffffffffffffffffffffffffffffffff7f000000000000000000000000000000000000000000000000000000000000000016906040517f38d52e0f000000000000000000000000000000000000000000000000000000008152602081600481865afa9081156113af5782916113ba575b50602073ffffffffffffffffffffffffffffffffffffffff916024604051809481937f70a08231000000000000000000000000000000000000000000000000000000008352306004840152165afa9081156113af57829161137d575b50604051927f38d52e0f000000000000000000000000000000000000000000000000000000008452602084600481845afa93841561137257839461132f575b506040517fa9059cbb000000000000000000000000000000000000000000000000000000006020820190815273ffffffffffffffffffffffffffffffffffffffff9092166024820152604481018390528391829161127981606481015b037fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08101835282612301565b519082875af1926112886129f9565b84158015611301575b6112c55760208484807f8cc6a31cfb84df51d57b901b62a4accd2a9a6ed88b96f4c05bbbb7fee2af1afe6040519380a28152f35b906112fd85926040519384937fe7e40b5b00000000000000000000000000000000000000000000000000000000855260048501613392565b0390fd5b5080518015159081611314575b50611291565b6113289150602090830101602083016127f8565b155f61130e565b9093506020813d60201161136a575b8161134b60209383612301565b81010312611366578261135e819261270c565b9491506111f0565b8280fd5b3d915061133e565b6040513d85823e3d90fd5b90506020813d6020116113a7575b8161139860209383612301565b81010312610a9a57515f6111b1565b3d915061138b565b6040513d84823e3d90fd5b90506020813d602011611404575b816113d560209383612301565b810103126105025760206113fd73ffffffffffffffffffffffffffffffffffffffff9261270c565b9150611155565b3d91506113c8565b50346102185760207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc3601126102185773ffffffffffffffffffffffffffffffffffffffff6114596123d0565b6114616129ad565b168015610502577fffffffffffffffffffffffff0000000000000000000000000000000000000000600154161760015580f35b503461021857807ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc360112610218576114cb6129ad565b8073ffffffffffffffffffffffffffffffffffffffff81547fffffffffffffffffffffffff000000000000000000000000000000000000000081168355167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e08280a380f35b503461021857807ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc360112610218576020600754604051908152f35b503461021857807ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261021857602060405173ffffffffffffffffffffffffffffffffffffffff7f0000000000000000000000000000000000000000000000000000000000000000168152f35b503461021857807ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc3601126102185760206040517f00000000000000000000000000000000000000000000000000000000000000008152f35b503461021857807ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc3601126102185760206103636128b6565b503461021857807ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc360112610218576020600654604051908152f35b5034610218576116b836612416565b5090916116fc73ffffffffffffffffffffffffffffffffffffffff7f000000000000000000000000000000000000000000000000000000000000000016331461257d565b8215611bb95780602080611715935183010191016125e2565b907fe4d38cd8000000000000000000000000000000000000000000000000000000007fffffffff0000000000000000000000000000000000000000000000000000000083519261176484612546565b16149081611b98575b50611b705761177a61272d565b90805161178681612546565b61178f81612546565b611ac657506040517f026b1d5f00000000000000000000000000000000000000000000000000000000815260208160048173ffffffffffffffffffffffffffffffffffffffff7f0000000000000000000000000000000000000000000000000000000000000000165afa908115611abb578491611a7d575b5073ffffffffffffffffffffffffffffffffffffffff7f0000000000000000000000000000000000000000000000000000000000000000168361184a3083613487565b91868293838110611924575b505061186592935033906133c6565b9261186e6128b6565b8381106118c6576118b693611882916126ff565b937f61b0387ff9ecd027c4a1ba73e93a9fda499c31b71426acc80e90260fcea9215f309280a36118b0612862565b926126ba565b90610417604051928392836124e7565b60646040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601760248201527f696e636f6e73697374656e7420746f74616c56616c75650000000000000000006044820152fd5b90926119319294506126ff565b602073ffffffffffffffffffffffffffffffffffffffff60646119543087613487565b9660405195869384927f69328dec000000000000000000000000000000000000000000000000000000008452896004850152876024850152306044850152165af1918215611a72578792611a3e575b5081936119b03085613487565b92828110611a0e57506119c382826128a9565b83106119d55750508291868692611856565b916119e388926044946128a9565b7fcf479181000000000000000000000000000000000000000000000000000000008352600452602452fd5b88604491847f7c83fcf0000000000000000000000000000000000000000000000000000000008352600452602452fd5b9091506020813d602011611a6a575b81611a5a60209383612301565b81010312610a9a5751905f6119a3565b3d9150611a4d565b6040513d89823e3d90fd5b90506020813d602011611ab3575b81611a9860209383612301565b81010312611aaf57611aa99061270c565b5f611807565b8380fd5b3d9150611a8b565b6040513d86823e3d90fd5b8381600160049351611ad781612546565b611ae081612546565b03611b0b57507fd0df97cc000000000000000000000000000000000000000000000000000000008152fd5b60029051611b1881612546565b611b2181612546565b03611b4b577fd0df97cc000000000000000000000000000000000000000000000000000000008152fd5b7fd0df97cc000000000000000000000000000000000000000000000000000000008152fd5b6004837f564500f8000000000000000000000000000000000000000000000000000000008152fd5b9050611ba381612546565b15801590611bb2575b5f61176d565b5082611bac565b6044847f7c83fcf0000000000000000000000000000000000000000000000000000000008152600160045280602452fd5b50346102185760207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc360112610218576020906103636129ad565b503461021857807ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261021857602060405173ffffffffffffffffffffffffffffffffffffffff7f0000000000000000000000000000000000000000000000000000000000000000168152f35b50346102185760607ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261021857611ccc6123d0565b906024359067ffffffffffffffff82116102185750611cef9036906004016123b2565b611cf76129ad565b60ff600b5416611d11576020916103639160443591612dbe565b60646040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600960248201527f656d657267656e637900000000000000000000000000000000000000000000006044820152fd5b50346102185760207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc3601126102185760043580151580910361050257611db46129ad565b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff006009541660ff8216176009557fdbf0df65d86a051acc8692d340075569c05e0370232c91318c82a5783937ad3d8280a280f35b50346102185760a07ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261021857611e406123d0565b90611e496123f3565b906084359067ffffffffffffffff821161021857366023830112156102185781600401359067ffffffffffffffff82116102185736602483850101116102185760206103638686611ea78787611e9d6129ad565b602436920161237c565b916064359160443591612a28565b5034610a9a57611ec436612416565b505090611f0873ffffffffffffffffffffffffffffffffffffffff7f000000000000000000000000000000000000000000000000000000000000000016331461257d565b60ff600b54166121fe5781156121cd5780602080611f2b935183010191016125e2565b8051611f3681612546565b611f3f81612546565b612162575073ffffffffffffffffffffffffffffffffffffffff7f000000000000000000000000000000000000000000000000000000000000000016611f853082613487565b82811061213357506040517f026b1d5f00000000000000000000000000000000000000000000000000000000815260208160048173ffffffffffffffffffffffffffffffffffffffff7f0000000000000000000000000000000000000000000000000000000000000000165afa80156120db575f906120e6575b73ffffffffffffffffffffffffffffffffffffffff915016906120238383836133c6565b813b15610a9a575f916084839260405194859384927f617ba03700000000000000000000000000000000000000000000000000000000845260048401528760248401523060448401528160648401525af180156120db576120c4575b506118b6909161208d61272d565b906120966128b6565b937fa4785e244c5b065bbf149ba5b5ffb8922e35f0ed3201e69bc4da313d1a9c8842309280a36118b0612862565b6120d19192505f90612301565b5f906118b661207f565b6040513d5f823e3d90fd5b506020813d60201161212b575b8161210060209383612301565b81010312610a9a5761212673ffffffffffffffffffffffffffffffffffffffff9161270c565b611fff565b3d91506120f3565b827fcf479181000000000000000000000000000000000000000000000000000000005f5260045260245260445ffd5b6001905161216f81612546565b61217881612546565b036121a5577fd0df97cc000000000000000000000000000000000000000000000000000000005f5260045ffd5b7fd0df97cc000000000000000000000000000000000000000000000000000000005f5260045ffd5b7f7c83fcf0000000000000000000000000000000000000000000000000000000005f5260016004525f60245260445ffd5b7f454a60b8000000000000000000000000000000000000000000000000000000005f523060045260245ffd5b34610a9a575f7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc360112610a9a576020604051670de0b6b3a76400008152f35b34610a9a575f7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc360112610a9a5760209073ffffffffffffffffffffffffffffffffffffffff600154168152f35b6040810190811067ffffffffffffffff8211176122d457604052565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52604160045260245ffd5b90601f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0910116810190811067ffffffffffffffff8211176122d457604052565b67ffffffffffffffff81116122d457601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe01660200190565b92919261238882612342565b916123966040519384612301565b829481845281830111610a9a578281602093845f960137010152565b9080601f83011215610a9a578160206123cd9335910161237c565b90565b6004359073ffffffffffffffffffffffffffffffffffffffff82168203610a9a57565b6024359073ffffffffffffffffffffffffffffffffffffffff82168203610a9a57565b60807ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc820112610a9a576004359067ffffffffffffffff8211610a9a5761245f916004016123b2565b90602435906044357fffffffff0000000000000000000000000000000000000000000000000000000081168103610a9a579060643573ffffffffffffffffffffffffffffffffffffffff81168103610a9a5790565b90602080835192838152019201905f5b8181106124d15750505090565b82518452602093840193909201916001016124c4565b9291906124fe6020916040865260408601906124b4565b930152565b907fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f602080948051918291828752018686015e5f8582860101520116010190565b6003111561255057565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52602160045260245ffd5b1561258457565b60646040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600260248201527f50440000000000000000000000000000000000000000000000000000000000006044820152fd5b602081830312610a9a5780519067ffffffffffffffff8211610a9a570190604082820312610a9a5760405191612617836122b8565b80516003811015610a9a57835260208101519067ffffffffffffffff8211610a9a570190604082820312610a9a5760405191612652836122b8565b805167ffffffffffffffff8111610a9a5781019180601f84011215610a9a57825161267c81612342565b9161268a6040519384612301565b81835260208286010111610a9a576020815f92828097018386015e83010152835201516020820152602082015290565b81810392915f1380158285131691841216176126d257565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601160045260245ffd5b919082039182116126d257565b519073ffffffffffffffffffffffffffffffffffffffff82168203610a9a57565b6040517fc69507dd0000000000000000000000000000000000000000000000000000000081527f0000000000000000000000000000000000000000000000000000000000000000600482015260208160248173ffffffffffffffffffffffffffffffffffffffff7f0000000000000000000000000000000000000000000000000000000000000000165afa9081156120db575f916127c9575090565b90506020813d6020116127f0575b816127e460209383612301565b81010312610a9a575190565b3d91506127d7565b90816020910312610a9a57518015158103610a9a5790565b67ffffffffffffffff81116122d45760051b60200190565b8051156128355760200190565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52603260045260245ffd5b604051612870604082612301565b60018152602036818301377f00000000000000000000000000000000000000000000000000000000000000006128a582612828565b5290565b919082018092116126d257565b6040517f70a0823100000000000000000000000000000000000000000000000000000000815230600482015260208160248173ffffffffffffffffffffffffffffffffffffffff7f0000000000000000000000000000000000000000000000000000000000000000165afa80156120db575f90612979575b6123cd91506129733073ffffffffffffffffffffffffffffffffffffffff7f000000000000000000000000000000000000000000000000000000000000000016613487565b906128a9565b506020813d6020116129a5575b8161299360209383612301565b81010312610a9a576123cd905161292e565b3d9150612986565b73ffffffffffffffffffffffffffffffffffffffff5f541633036129cd57565b7f118cdaa7000000000000000000000000000000000000000000000000000000005f523360045260245ffd5b3d15612a23573d90612a0a82612342565b91612a186040519384612301565b82523d5f602084013e565b606090565b6001546040517f095ea7b3000000000000000000000000000000000000000000000000000000006020820190815273ffffffffffffffffffffffffffffffffffffffff90921660248201526044810194909452939493919290915f91829190612a94816064810161124d565b519082865af1612aa26129f9565b81158015612d90575b612d5957505073ffffffffffffffffffffffffffffffffffffffff1690604051927f70a08231000000000000000000000000000000000000000000000000000000008452306004850152602084602481865afa9384156120db575f94612d25575b505f809173ffffffffffffffffffffffffffffffffffffffff6001541682602083519301915af1612b3b6129f9565b5015612ce1575f8073ffffffffffffffffffffffffffffffffffffffff6001541660405160208101917f095ea7b3000000000000000000000000000000000000000000000000000000008352602482015282604482015260448152612ba1606482612301565b519082855af190612bb06129f9565b82158015612cb3575b612c7d57505050906020602492604051938480927f70a082310000000000000000000000000000000000000000000000000000000082523060048301525afa80156120db575f90612c49575b612c0f92506126ff565b90808210612c1b575090565b7f7c83fcf0000000000000000000000000000000000000000000000000000000005f5260045260245260445ffd5b506020823d602011612c75575b81612c6360209383612301565b81010312610a9a57612c0f9151612c05565b3d9150612c56565b6112fd906040519384937fe7e40b5b00000000000000000000000000000000000000000000000000000000855260048501613392565b5080518015159081612cc6575b50612bb9565b612cda9150602090830101602083016127f8565b155f612cc0565b73ffffffffffffffffffffffffffffffffffffffff600154167f7a1cd8fa000000000000000000000000000000000000000000000000000000005f5260045260245ffd5b9093506020813d602011612d51575b81612d4160209383612301565b81010312610a9a5751925f612b0c565b3d9150612d34565b6112fd84916040519384937fe7e40b5b00000000000000000000000000000000000000000000000000000000855260048501613392565b5080518015159081612da3575b50612aab565b612db79150602090830101602083016127f8565b155f612d9d565b91604091825193612dcf8486612301565b6001855260208501907fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0850136833773ffffffffffffffffffffffffffffffffffffffff612e1c87612828565b9116905273ffffffffffffffffffffffffffffffffffffffff7f000000000000000000000000000000000000000000000000000000000000000016948451917f70a082310000000000000000000000000000000000000000000000000000000083523060048401526020836024818a5afa9283156131e0575f9361335e575b5085517fbf90f63a00000000000000000000000000000000000000000000000000000000815260206004820152915160248301819052829160448301915f5b81811061332f5750505090805f9203818373ffffffffffffffffffffffffffffffffffffffff7f0000000000000000000000000000000000000000000000000000000000000000165af1801561322757613231575b508351907f70a08231000000000000000000000000000000000000000000000000000000008252306004830152602082602481895afa8015613227575f906131f3575b612f7c92506126ff565b9182156131ea5783519280867ffc30cddea38e2bf4d6ea7d3f9ed3b6ad7f176419f4963bd81318067a4aee73fe5f80a373ffffffffffffffffffffffffffffffffffffffff7f000000000000000000000000000000000000000000000000000000000000000016957f38d52e0f0000000000000000000000000000000000000000000000000000000085526020856004818a5afa80156131e0575f906131a5575b6130279550612a28565b918151907f38d52e0f000000000000000000000000000000000000000000000000000000008252602082600481845afa91821561319b575f9261315c575b5082517fa9059cbb000000000000000000000000000000000000000000000000000000006020820190815273ffffffffffffffffffffffffffffffffffffffff9092166024820152604481018590525f9182916130c5816064810161124d565b519082855af1916130d46129f9565b90823b158015613154575b8015613126575b6130f1575050505090565b906112fd91519384937fe7e40b5b00000000000000000000000000000000000000000000000000000000855260048501613392565b5081518015159081613139575b506130e6565b61314d9150602090840101602084016127f8565b155f613133565b5083156130df565b9091506020813d602011613193575b8161317860209383612301565b81010312610a9a575f61318b819261270c565b929150613065565b3d915061316b565b83513d5f823e3d90fd5b506020853d6020116131d8575b816131bf60209383612301565b81010312610a9a576131d36130279561270c565b61301d565b3d91506131b2565b86513d5f823e3d90fd5b50505050505f90565b506020823d60201161321f575b8161320d60209383612301565b81010312610a9a57612f7c9151612f72565b3d9150613200565b85513d5f823e3d90fd5b3d805f833e6132408183612301565b8101908581830312610a9a57805167ffffffffffffffff8111610a9a57810182601f82011215610a9a57805160208061327883612810565b6132848b519182612301565b838152019160051b83010191848311610a9a57602001905b8282106133175750505060208101519067ffffffffffffffff8211610a9a570181601f82011215610a9a578051906020806132d684612810565b6132e28a519182612301565b848152019260051b820101928311610a9a57602001905b828210613307575050612f2f565b81518152602091820191016132f9565b602080916133248461270c565b81520191019061329c565b825173ffffffffffffffffffffffffffffffffffffffff16845285945060209384019390920191600101612eda565b9092506020813d60201161338a575b8161337a60209383612301565b81010312610a9a5751915f612e9b565b3d915061336d565b6123cd939273ffffffffffffffffffffffffffffffffffffffff606093168252151560208201528160408201520190612503565b6040517f095ea7b3000000000000000000000000000000000000000000000000000000006020820190815273ffffffffffffffffffffffffffffffffffffffff90931660248201526044810193909352915f918291613428816064810161124d565b519082855af1906134376129f9565b813b15801561347f575b8015613451575b612c7d57505050565b5080518015159081613464575b50613448565b6134789150602090830101602083016127f8565b155f61345e565b508215613441565b905f809160405173ffffffffffffffffffffffffffffffffffffffff60208201927f70a08231000000000000000000000000000000000000000000000000000000008452166024820152602481526134e0604482612301565b5190845afa6134ed6129f9565b91803b15801561355e575b8015613553575b61351d57505060208151918180820193849201010312610a9a575190565b6112fd836040519384937fe7e40b5b00000000000000000000000000000000000000000000000000000000855260048501613392565b5060208351106134ff565b5081156134f856fea164736f6c634300081c000a","sourceMap":"945:4497:7:-:0;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;-1:-1:-1;;;;;945:4497:7;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;945:4497:7;;;;;;;;;;;;;:::i;:::-;;;;;;;-1:-1:-1;;;;;945:4497:7;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;-1:-1:-1;;;;;945:4497:7;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;-1:-1:-1;;;;;945:4497:7;1273:26:0;;1269:95;;-1:-1:-1;945:4497:7;;-1:-1:-1;;;;;;945:4497:7;;;;;;-1:-1:-1;;;;;945:4497:7;;3052:40:0;;-1:-1:-1;3052:40:0;945:4497:7;;-1:-1:-1;;;;;945:4497:7;2044:27:8;945:4497:7;;-1:-1:-1;;;;;945:4497:7;2090:18:8;;945:4497:7;;2149:4:8;945:4497:7;;2127:26:8;945:4497:7;;;;2164:20:8;945:4497:7;2194:16:8;945:4497:7;;-1:-1:-1;;;;;;945:4497:7;-1:-1:-1;;;;;945:4497:7;;;;;;;;;;;;;;-1:-1:-1;;;;;945:4497:7;;;;;;;;;;;;;;;;;-1:-1:-1;945:4497:7;;;;;;;;;;;;;-1:-1:-1;945:4497:7;;;;;;;;;;-1:-1:-1;945:4497:7;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;945:4497:7;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;945:4497:7;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2242:33:8;;945:4497:7;;;;;;;;;-1:-1:-1;;;945:4497:7;;;;2269:4:8;945:4497:7;;;;;2242:33:8;;;945:4497:7;2242:33:8;;:::i;:::-;945:4497:7;2232:44:8;;945:4497:7;2220:56:8;945:4497:7;;;-1:-1:-1;;;;;;945:4497:7;2304:42:8;945:4497:7;;;-1:-1:-1;;;;;945:4497:7;;;;1489:28;945:4497;;;;1527:29;945:4497;;;;1566:50;945:4497;;;;1626:58;945:4497;1694:34;;945:4497;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1694:34;945:4497;;;;;;;;;;;;;;;-1:-1:-1;945:4497:7;;;;;-1:-1:-1;945:4497:7;;;;;-1:-1:-1;945:4497:7;;;;;;-1:-1:-1;945:4497:7;;;;;;;-1:-1:-1;;;945:4497:7;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;945:4497:7;;;-1:-1:-1;945:4497:7;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;945:4497:7;;;;-1:-1:-1;945:4497:7;;;;;;;-1:-1:-1;945:4497:7;;;;;;;;-1:-1:-1;945:4497:7;;;;;-1:-1:-1;945:4497:7;;;;;;;;;;;;-1:-1:-1;945:4497:7;;;;;-1:-1:-1;945:4497:7;;;;;-1:-1:-1;945:4497:7;;;;;;-1:-1:-1;945:4497:7;;;;;;;-1:-1:-1;;;945:4497:7;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;945:4497:7;;;-1:-1:-1;945:4497:7;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;945:4497:7;;;;-1:-1:-1;945:4497:7;;;;;;;-1:-1:-1;945:4497:7;;;;;;;;;;;;-1:-1:-1;945:4497:7;;1269:95:0;1322:31;;;-1:-1:-1;1322:31:0;-1:-1:-1;1322:31:0;945:4497:7;;-1:-1:-1;1322:31:0;945:4497:7;;;;;-1:-1:-1;;945:4497:7;;;;-1:-1:-1;;;;;945:4497:7;;;;;;;;;;:::o;:::-;;;-1:-1:-1;;;;;945:4497:7;;;;;;:::o;:::-;;;;;;;;;;;;-1:-1:-1;;;;;945:4497:7;;;;;;;;;;;-1:-1:-1;;945:4497:7;;;;;:::i;:::-;;;;;;;;;;;;;-1:-1:-1;945:4497:7;;;;;;;;;;;;;;:::o","linkReferences":{}},"deployedBytecode":{"object":"6080806040526004361015610012575f80fd5b5f905f3560e01c908163118866851461226a57508063179319011461222a5780631eadd77814611eb55780633c12f9ea14611e085780633e859eec14611d6f5780633f53066b14611c9457806347e7a97d14611c255780634d51bf5f14611bea5780634e45f1ff146116a9578063554d578d1461166d57806356c07573146116345780635fb86b01146115db5780636bb65f531461156c5780636cab065914611530578063715018a61461149457806384ab57ab1461140c57806384f22721146110a95780638511fc931461106d5780638598f9c314610ffe57806388a17bde14610fc55780638da5cb5b14610f745780639213bda714610edb578063a05716f414610e82578063a0c1f15e14610e13578063ada1469814610dd2578063aecd577a14610d63578063b476bde414610cd1578063bc08e9bd14610c03578063cea9d26f146107fa578063cff0ab9614610506578063e5f21f7d14610458578063e6a69ab81461041b578063e7657e15146103c9578063ec31eb5814610309578063f2fde38b1461021b5763f7c618c1146101aa575f80fd5b3461021857807ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261021857602060405173ffffffffffffffffffffffffffffffffffffffff7f0000000000000000000000000000000000000000000000000000000000000000168152f35b80fd5b50346102185760207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc3601126102185773ffffffffffffffffffffffffffffffffffffffff6102686123d0565b6102706129ad565b1680156102dd5773ffffffffffffffffffffffffffffffffffffffff8254827fffffffffffffffffffffffff00000000000000000000000000000000000000008216178455167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e08380a380f35b6024827f1e4fbdf700000000000000000000000000000000000000000000000000000000815280600452fd5b50346102185760207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc3601126102185760043590811561039857600a5490818302918383040361036b5760206103636127108404856126ff565b604051908152f35b807f4e487b7100000000000000000000000000000000000000000000000000000000602492526011600452fd5b807f7c83fcf00000000000000000000000000000000000000000000000000000000060449252600160045280602452fd5b503461021857807ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261021857610417610403612862565b6040519182916020835260208301906124b4565b0390f35b503461021857807ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc3601126102185760206040516301e133808152f35b50346102185760207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc3601126102185760043560038110156105025761049c6129ad565b6104a581612546565b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff006005541660ff8216176005556104db81612546565b7f27630923f8c523d6150196f959d8848e1c38769db10bd099c29cf1e542387bc48280a280f35b5080fd5b503461021857807ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc3601126102185773ffffffffffffffffffffffffffffffffffffffff600254166040519180600354908160011c916001811680156107f0575b6020841081146107c35783875286929181156107865750600114610728575b61059292500384612301565b6040519080600454918260011c9260018116801561071e575b6020851081146106f1578486528593929181156106b15750600114610652575b506105d892500382612301565b60ff60055416906006546007546008549060ff6009541692610623600a54956106156040519a8b9a8b5261012060208c01526101208b0190612503565b9089820360408b0152612503565b9561062d81612546565b6060880152608087015260a086015260c0850152151560e08401526101008301520390f35b60048152919290507f8a35acfbc15ff81a39ae7d344fd709f28e8600b4aa8c65c6b64bfe7fe36bd19b5b8183106106955750509060206105d8928201015f6105cb565b602091935080600191548385880101520191019091839261067c565b602093506105d89592507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0091501682840152151560051b8201015f6105cb565b6024837f4e487b710000000000000000000000000000000000000000000000000000000081526022600452fd5b93607f16936105ab565b50600383529082907fc2575a0e9e593c00f959f8c92f12db2869c3395a3b0502d05e2516446f71f85b5b81831061076a57505090602061059292820101610586565b6020919350806001915483858a01015201910190918592610752565b602092506105929491507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001682840152151560051b820101610586565b6024857f4e487b710000000000000000000000000000000000000000000000000000000081526022600452fd5b92607f1692610567565b50346102185760607ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc360112610218576108326123d0565b61083a6123f3565b90604435916108476129ad565b73ffffffffffffffffffffffffffffffffffffffff8116928315610ba557604051927f38d52e0f00000000000000000000000000000000000000000000000000000000845260208460048173ffffffffffffffffffffffffffffffffffffffff7f0000000000000000000000000000000000000000000000000000000000000000165afa938415610aa6578694610b4e575b5073ffffffffffffffffffffffffffffffffffffffff809116931683148015610b0f575b610ab1576040517f70a08231000000000000000000000000000000000000000000000000000000008152306004820152602081602481875afa908115610aa6578691610a70575b508111610a12576040517fa9059cbb00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff9290921660048301526024820181905260208260448188875af1908115610a07577f77023e19c7343ad491fd706c36335ca0e738340a91f29b1fd81e2673d44896c4926020926109dc575b50604051908152a380f35b6109fb90833d8511610a00575b6109f38183612301565b8101906127f8565b6109d1565b503d6109e9565b6040513d87823e3d90fd5b60646040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601460248201527f496e73756666696369656e742062616c616e63650000000000000000000000006044820152fd5b90506020813d602011610a9e575b81610a8b60209383612301565b81010312610a9a57515f610944565b5f80fd5b3d9150610a7e565b6040513d88823e3d90fd5b60646040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600f60248201527f50726f74656374656420746f6b656e00000000000000000000000000000000006044820152fd5b5073ffffffffffffffffffffffffffffffffffffffff7f00000000000000000000000000000000000000000000000000000000000000001683146108fd565b9093506020813d602011610b9d575b81610b6a60209383612301565b81010312610b995773ffffffffffffffffffffffffffffffffffffffff610b91819261270c565b9491506108d9565b8580fd5b3d9150610b5d565b60646040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601160248201527f496e76616c696420726563697069656e740000000000000000000000000000006044820152fd5b50346102185760207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261021857600435610c3e6129ad565b61270f811015610c735780600a557fc67ba9890ea7d6f3d208ac2d463c5846edd57c3b3f13d044d18d668585095d178280a280f35b60646040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601160248201527f536c69707061676520746f6f20686967680000000000000000000000000000006044820152fd5b503461021857807ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc3601126102185761041760405160406020820152600460608201527f7468697300000000000000000000000000000000000000000000000000000000608082015230604082015260808152610d4f60a082612301565b604051918291602083526020830190612503565b503461021857807ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261021857602060405173ffffffffffffffffffffffffffffffffffffffff7f0000000000000000000000000000000000000000000000000000000000000000168152f35b503461021857807ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261021857602060ff600b54166040519015158152f35b503461021857807ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261021857602060405173ffffffffffffffffffffffffffffffffffffffff7f0000000000000000000000000000000000000000000000000000000000000000168152f35b503461021857807ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc3601126102185760206040517fe4d38cd8000000000000000000000000000000000000000000000000000000008152f35b50346102185760207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc3601126102185760043580151580910361050257610f206129ad565b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00600b541660ff821617600b557f68c3b30f53252b4a7ebb8cbe118f644313c1c59953a3eb90ba5f43a42d242ae18280a280f35b503461021857807ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc3601126102185773ffffffffffffffffffffffffffffffffffffffff6020915416604051908152f35b503461021857807ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261021857602061036361272d565b503461021857807ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261021857602060405173ffffffffffffffffffffffffffffffffffffffff7f0000000000000000000000000000000000000000000000000000000000000000168152f35b503461021857807ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc360112610218576020600854604051908152f35b503461021857807ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc360112610218576110e06129ad565b73ffffffffffffffffffffffffffffffffffffffff7f000000000000000000000000000000000000000000000000000000000000000016906040517f38d52e0f000000000000000000000000000000000000000000000000000000008152602081600481865afa9081156113af5782916113ba575b50602073ffffffffffffffffffffffffffffffffffffffff916024604051809481937f70a08231000000000000000000000000000000000000000000000000000000008352306004840152165afa9081156113af57829161137d575b50604051927f38d52e0f000000000000000000000000000000000000000000000000000000008452602084600481845afa93841561137257839461132f575b506040517fa9059cbb000000000000000000000000000000000000000000000000000000006020820190815273ffffffffffffffffffffffffffffffffffffffff9092166024820152604481018390528391829161127981606481015b037fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08101835282612301565b519082875af1926112886129f9565b84158015611301575b6112c55760208484807f8cc6a31cfb84df51d57b901b62a4accd2a9a6ed88b96f4c05bbbb7fee2af1afe6040519380a28152f35b906112fd85926040519384937fe7e40b5b00000000000000000000000000000000000000000000000000000000855260048501613392565b0390fd5b5080518015159081611314575b50611291565b6113289150602090830101602083016127f8565b155f61130e565b9093506020813d60201161136a575b8161134b60209383612301565b81010312611366578261135e819261270c565b9491506111f0565b8280fd5b3d915061133e565b6040513d85823e3d90fd5b90506020813d6020116113a7575b8161139860209383612301565b81010312610a9a57515f6111b1565b3d915061138b565b6040513d84823e3d90fd5b90506020813d602011611404575b816113d560209383612301565b810103126105025760206113fd73ffffffffffffffffffffffffffffffffffffffff9261270c565b9150611155565b3d91506113c8565b50346102185760207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc3601126102185773ffffffffffffffffffffffffffffffffffffffff6114596123d0565b6114616129ad565b168015610502577fffffffffffffffffffffffff0000000000000000000000000000000000000000600154161760015580f35b503461021857807ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc360112610218576114cb6129ad565b8073ffffffffffffffffffffffffffffffffffffffff81547fffffffffffffffffffffffff000000000000000000000000000000000000000081168355167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e08280a380f35b503461021857807ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc360112610218576020600754604051908152f35b503461021857807ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261021857602060405173ffffffffffffffffffffffffffffffffffffffff7f0000000000000000000000000000000000000000000000000000000000000000168152f35b503461021857807ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc3601126102185760206040517f00000000000000000000000000000000000000000000000000000000000000008152f35b503461021857807ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc3601126102185760206103636128b6565b503461021857807ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc360112610218576020600654604051908152f35b5034610218576116b836612416565b5090916116fc73ffffffffffffffffffffffffffffffffffffffff7f000000000000000000000000000000000000000000000000000000000000000016331461257d565b8215611bb95780602080611715935183010191016125e2565b907fe4d38cd8000000000000000000000000000000000000000000000000000000007fffffffff0000000000000000000000000000000000000000000000000000000083519261176484612546565b16149081611b98575b50611b705761177a61272d565b90805161178681612546565b61178f81612546565b611ac657506040517f026b1d5f00000000000000000000000000000000000000000000000000000000815260208160048173ffffffffffffffffffffffffffffffffffffffff7f0000000000000000000000000000000000000000000000000000000000000000165afa908115611abb578491611a7d575b5073ffffffffffffffffffffffffffffffffffffffff7f0000000000000000000000000000000000000000000000000000000000000000168361184a3083613487565b91868293838110611924575b505061186592935033906133c6565b9261186e6128b6565b8381106118c6576118b693611882916126ff565b937f61b0387ff9ecd027c4a1ba73e93a9fda499c31b71426acc80e90260fcea9215f309280a36118b0612862565b926126ba565b90610417604051928392836124e7565b60646040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601760248201527f696e636f6e73697374656e7420746f74616c56616c75650000000000000000006044820152fd5b90926119319294506126ff565b602073ffffffffffffffffffffffffffffffffffffffff60646119543087613487565b9660405195869384927f69328dec000000000000000000000000000000000000000000000000000000008452896004850152876024850152306044850152165af1918215611a72578792611a3e575b5081936119b03085613487565b92828110611a0e57506119c382826128a9565b83106119d55750508291868692611856565b916119e388926044946128a9565b7fcf479181000000000000000000000000000000000000000000000000000000008352600452602452fd5b88604491847f7c83fcf0000000000000000000000000000000000000000000000000000000008352600452602452fd5b9091506020813d602011611a6a575b81611a5a60209383612301565b81010312610a9a5751905f6119a3565b3d9150611a4d565b6040513d89823e3d90fd5b90506020813d602011611ab3575b81611a9860209383612301565b81010312611aaf57611aa99061270c565b5f611807565b8380fd5b3d9150611a8b565b6040513d86823e3d90fd5b8381600160049351611ad781612546565b611ae081612546565b03611b0b57507fd0df97cc000000000000000000000000000000000000000000000000000000008152fd5b60029051611b1881612546565b611b2181612546565b03611b4b577fd0df97cc000000000000000000000000000000000000000000000000000000008152fd5b7fd0df97cc000000000000000000000000000000000000000000000000000000008152fd5b6004837f564500f8000000000000000000000000000000000000000000000000000000008152fd5b9050611ba381612546565b15801590611bb2575b5f61176d565b5082611bac565b6044847f7c83fcf0000000000000000000000000000000000000000000000000000000008152600160045280602452fd5b50346102185760207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc360112610218576020906103636129ad565b503461021857807ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261021857602060405173ffffffffffffffffffffffffffffffffffffffff7f0000000000000000000000000000000000000000000000000000000000000000168152f35b50346102185760607ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261021857611ccc6123d0565b906024359067ffffffffffffffff82116102185750611cef9036906004016123b2565b611cf76129ad565b60ff600b5416611d11576020916103639160443591612dbe565b60646040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600960248201527f656d657267656e637900000000000000000000000000000000000000000000006044820152fd5b50346102185760207ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc3601126102185760043580151580910361050257611db46129ad565b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff006009541660ff8216176009557fdbf0df65d86a051acc8692d340075569c05e0370232c91318c82a5783937ad3d8280a280f35b50346102185760a07ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261021857611e406123d0565b90611e496123f3565b906084359067ffffffffffffffff821161021857366023830112156102185781600401359067ffffffffffffffff82116102185736602483850101116102185760206103638686611ea78787611e9d6129ad565b602436920161237c565b916064359160443591612a28565b5034610a9a57611ec436612416565b505090611f0873ffffffffffffffffffffffffffffffffffffffff7f000000000000000000000000000000000000000000000000000000000000000016331461257d565b60ff600b54166121fe5781156121cd5780602080611f2b935183010191016125e2565b8051611f3681612546565b611f3f81612546565b612162575073ffffffffffffffffffffffffffffffffffffffff7f000000000000000000000000000000000000000000000000000000000000000016611f853082613487565b82811061213357506040517f026b1d5f00000000000000000000000000000000000000000000000000000000815260208160048173ffffffffffffffffffffffffffffffffffffffff7f0000000000000000000000000000000000000000000000000000000000000000165afa80156120db575f906120e6575b73ffffffffffffffffffffffffffffffffffffffff915016906120238383836133c6565b813b15610a9a575f916084839260405194859384927f617ba03700000000000000000000000000000000000000000000000000000000845260048401528760248401523060448401528160648401525af180156120db576120c4575b506118b6909161208d61272d565b906120966128b6565b937fa4785e244c5b065bbf149ba5b5ffb8922e35f0ed3201e69bc4da313d1a9c8842309280a36118b0612862565b6120d19192505f90612301565b5f906118b661207f565b6040513d5f823e3d90fd5b506020813d60201161212b575b8161210060209383612301565b81010312610a9a5761212673ffffffffffffffffffffffffffffffffffffffff9161270c565b611fff565b3d91506120f3565b827fcf479181000000000000000000000000000000000000000000000000000000005f5260045260245260445ffd5b6001905161216f81612546565b61217881612546565b036121a5577fd0df97cc000000000000000000000000000000000000000000000000000000005f5260045ffd5b7fd0df97cc000000000000000000000000000000000000000000000000000000005f5260045ffd5b7f7c83fcf0000000000000000000000000000000000000000000000000000000005f5260016004525f60245260445ffd5b7f454a60b8000000000000000000000000000000000000000000000000000000005f523060045260245ffd5b34610a9a575f7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc360112610a9a576020604051670de0b6b3a76400008152f35b34610a9a575f7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc360112610a9a5760209073ffffffffffffffffffffffffffffffffffffffff600154168152f35b6040810190811067ffffffffffffffff8211176122d457604052565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52604160045260245ffd5b90601f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0910116810190811067ffffffffffffffff8211176122d457604052565b67ffffffffffffffff81116122d457601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe01660200190565b92919261238882612342565b916123966040519384612301565b829481845281830111610a9a578281602093845f960137010152565b9080601f83011215610a9a578160206123cd9335910161237c565b90565b6004359073ffffffffffffffffffffffffffffffffffffffff82168203610a9a57565b6024359073ffffffffffffffffffffffffffffffffffffffff82168203610a9a57565b60807ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc820112610a9a576004359067ffffffffffffffff8211610a9a5761245f916004016123b2565b90602435906044357fffffffff0000000000000000000000000000000000000000000000000000000081168103610a9a579060643573ffffffffffffffffffffffffffffffffffffffff81168103610a9a5790565b90602080835192838152019201905f5b8181106124d15750505090565b82518452602093840193909201916001016124c4565b9291906124fe6020916040865260408601906124b4565b930152565b907fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f602080948051918291828752018686015e5f8582860101520116010190565b6003111561255057565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52602160045260245ffd5b1561258457565b60646040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600260248201527f50440000000000000000000000000000000000000000000000000000000000006044820152fd5b602081830312610a9a5780519067ffffffffffffffff8211610a9a570190604082820312610a9a5760405191612617836122b8565b80516003811015610a9a57835260208101519067ffffffffffffffff8211610a9a570190604082820312610a9a5760405191612652836122b8565b805167ffffffffffffffff8111610a9a5781019180601f84011215610a9a57825161267c81612342565b9161268a6040519384612301565b81835260208286010111610a9a576020815f92828097018386015e83010152835201516020820152602082015290565b81810392915f1380158285131691841216176126d257565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601160045260245ffd5b919082039182116126d257565b519073ffffffffffffffffffffffffffffffffffffffff82168203610a9a57565b6040517fc69507dd0000000000000000000000000000000000000000000000000000000081527f0000000000000000000000000000000000000000000000000000000000000000600482015260208160248173ffffffffffffffffffffffffffffffffffffffff7f0000000000000000000000000000000000000000000000000000000000000000165afa9081156120db575f916127c9575090565b90506020813d6020116127f0575b816127e460209383612301565b81010312610a9a575190565b3d91506127d7565b90816020910312610a9a57518015158103610a9a5790565b67ffffffffffffffff81116122d45760051b60200190565b8051156128355760200190565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52603260045260245ffd5b604051612870604082612301565b60018152602036818301377f00000000000000000000000000000000000000000000000000000000000000006128a582612828565b5290565b919082018092116126d257565b6040517f70a0823100000000000000000000000000000000000000000000000000000000815230600482015260208160248173ffffffffffffffffffffffffffffffffffffffff7f0000000000000000000000000000000000000000000000000000000000000000165afa80156120db575f90612979575b6123cd91506129733073ffffffffffffffffffffffffffffffffffffffff7f000000000000000000000000000000000000000000000000000000000000000016613487565b906128a9565b506020813d6020116129a5575b8161299360209383612301565b81010312610a9a576123cd905161292e565b3d9150612986565b73ffffffffffffffffffffffffffffffffffffffff5f541633036129cd57565b7f118cdaa7000000000000000000000000000000000000000000000000000000005f523360045260245ffd5b3d15612a23573d90612a0a82612342565b91612a186040519384612301565b82523d5f602084013e565b606090565b6001546040517f095ea7b3000000000000000000000000000000000000000000000000000000006020820190815273ffffffffffffffffffffffffffffffffffffffff90921660248201526044810194909452939493919290915f91829190612a94816064810161124d565b519082865af1612aa26129f9565b81158015612d90575b612d5957505073ffffffffffffffffffffffffffffffffffffffff1690604051927f70a08231000000000000000000000000000000000000000000000000000000008452306004850152602084602481865afa9384156120db575f94612d25575b505f809173ffffffffffffffffffffffffffffffffffffffff6001541682602083519301915af1612b3b6129f9565b5015612ce1575f8073ffffffffffffffffffffffffffffffffffffffff6001541660405160208101917f095ea7b3000000000000000000000000000000000000000000000000000000008352602482015282604482015260448152612ba1606482612301565b519082855af190612bb06129f9565b82158015612cb3575b612c7d57505050906020602492604051938480927f70a082310000000000000000000000000000000000000000000000000000000082523060048301525afa80156120db575f90612c49575b612c0f92506126ff565b90808210612c1b575090565b7f7c83fcf0000000000000000000000000000000000000000000000000000000005f5260045260245260445ffd5b506020823d602011612c75575b81612c6360209383612301565b81010312610a9a57612c0f9151612c05565b3d9150612c56565b6112fd906040519384937fe7e40b5b00000000000000000000000000000000000000000000000000000000855260048501613392565b5080518015159081612cc6575b50612bb9565b612cda9150602090830101602083016127f8565b155f612cc0565b73ffffffffffffffffffffffffffffffffffffffff600154167f7a1cd8fa000000000000000000000000000000000000000000000000000000005f5260045260245ffd5b9093506020813d602011612d51575b81612d4160209383612301565b81010312610a9a5751925f612b0c565b3d9150612d34565b6112fd84916040519384937fe7e40b5b00000000000000000000000000000000000000000000000000000000855260048501613392565b5080518015159081612da3575b50612aab565b612db79150602090830101602083016127f8565b155f612d9d565b91604091825193612dcf8486612301565b6001855260208501907fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0850136833773ffffffffffffffffffffffffffffffffffffffff612e1c87612828565b9116905273ffffffffffffffffffffffffffffffffffffffff7f000000000000000000000000000000000000000000000000000000000000000016948451917f70a082310000000000000000000000000000000000000000000000000000000083523060048401526020836024818a5afa9283156131e0575f9361335e575b5085517fbf90f63a00000000000000000000000000000000000000000000000000000000815260206004820152915160248301819052829160448301915f5b81811061332f5750505090805f9203818373ffffffffffffffffffffffffffffffffffffffff7f0000000000000000000000000000000000000000000000000000000000000000165af1801561322757613231575b508351907f70a08231000000000000000000000000000000000000000000000000000000008252306004830152602082602481895afa8015613227575f906131f3575b612f7c92506126ff565b9182156131ea5783519280867ffc30cddea38e2bf4d6ea7d3f9ed3b6ad7f176419f4963bd81318067a4aee73fe5f80a373ffffffffffffffffffffffffffffffffffffffff7f000000000000000000000000000000000000000000000000000000000000000016957f38d52e0f0000000000000000000000000000000000000000000000000000000085526020856004818a5afa80156131e0575f906131a5575b6130279550612a28565b918151907f38d52e0f000000000000000000000000000000000000000000000000000000008252602082600481845afa91821561319b575f9261315c575b5082517fa9059cbb000000000000000000000000000000000000000000000000000000006020820190815273ffffffffffffffffffffffffffffffffffffffff9092166024820152604481018590525f9182916130c5816064810161124d565b519082855af1916130d46129f9565b90823b158015613154575b8015613126575b6130f1575050505090565b906112fd91519384937fe7e40b5b00000000000000000000000000000000000000000000000000000000855260048501613392565b5081518015159081613139575b506130e6565b61314d9150602090840101602084016127f8565b155f613133565b5083156130df565b9091506020813d602011613193575b8161317860209383612301565b81010312610a9a575f61318b819261270c565b929150613065565b3d915061316b565b83513d5f823e3d90fd5b506020853d6020116131d8575b816131bf60209383612301565b81010312610a9a576131d36130279561270c565b61301d565b3d91506131b2565b86513d5f823e3d90fd5b50505050505f90565b506020823d60201161321f575b8161320d60209383612301565b81010312610a9a57612f7c9151612f72565b3d9150613200565b85513d5f823e3d90fd5b3d805f833e6132408183612301565b8101908581830312610a9a57805167ffffffffffffffff8111610a9a57810182601f82011215610a9a57805160208061327883612810565b6132848b519182612301565b838152019160051b83010191848311610a9a57602001905b8282106133175750505060208101519067ffffffffffffffff8211610a9a570181601f82011215610a9a578051906020806132d684612810565b6132e28a519182612301565b848152019260051b820101928311610a9a57602001905b828210613307575050612f2f565b81518152602091820191016132f9565b602080916133248461270c565b81520191019061329c565b825173ffffffffffffffffffffffffffffffffffffffff16845285945060209384019390920191600101612eda565b9092506020813d60201161338a575b8161337a60209383612301565b81010312610a9a5751915f612e9b565b3d915061336d565b6123cd939273ffffffffffffffffffffffffffffffffffffffff606093168252151560208201528160408201520190612503565b6040517f095ea7b3000000000000000000000000000000000000000000000000000000006020820190815273ffffffffffffffffffffffffffffffffffffffff90931660248201526044810193909352915f918291613428816064810161124d565b519082855af1906134376129f9565b813b15801561347f575b8015613451575b612c7d57505050565b5080518015159081613464575b50613448565b6134789150602090830101602083016127f8565b155f61345e565b508215613441565b905f809160405173ffffffffffffffffffffffffffffffffffffffff60208201927f70a08231000000000000000000000000000000000000000000000000000000008452166024820152602481526134e0604482612301565b5190845afa6134ed6129f9565b91803b15801561355e575b8015613553575b61351d57505060208151918180820193849201010312610a9a575190565b6112fd836040519384937fe7e40b5b00000000000000000000000000000000000000000000000000000000855260048501613392565b5060208351106134ff565b5081156134f856fea164736f6c634300081c000a","sourceMap":"945:4497:7:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;7554:11:8;945:4497:7;7554:11:8;;;945:4497:7;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1182:35;945:4497;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;1500:62:0;;:::i;:::-;945:4497:7;2627:22:0;;2623:91;;945:4497:7;;;;;;;;;;;3052:40:0;;;;945:4497:7;;2623:91:0;945:4497:7;2672:31:0;;;;945:4497:7;;;2672:31:0;945:4497:7;;;;;;;;;;;;;;6650:11:8;;;6646:43;;3304:18:7;945:4497;;;;;;;;;;;;;3285:47;3325:6;945:4497;;;3285:47;:::i;:::-;945:4497;;;;;;;;;;;;;;;;6646:43:8;6670:19;;945:4497:7;6670:19:8;;945:4497:7;;;;;;6670:19:8;945:4497:7;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;1130:8:8;945:4497:7;;;;;;;;;;;;;;;;;;;;;;;1500:62:0;;:::i;:::-;945:4497:7;;;:::i;:::-;;8561:16:8;945:4497:7;;;;;;8561:16:8;945:4497:7;;;;:::i;:::-;8603:26:8;;;;945:4497:7;;;;;;;;;;;;;;;;;;;1267:41:8;945:4497:7;;;;;;1267:41:8;945:4497:7;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;1267:41:8;945:4497:7;;;1267:41:8;945:4497:7;1267:41:8;945:4497:7;1267:41:8;945:4497:7;;;1267:41:8;945:4497:7;;;;1267:41:8;945:4497:7;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;:::i;:::-;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;945:4497:7;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;1267:41:8;945:4497:7;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::i;:::-;;;;1500:62:0;;;:::i;:::-;945:4497:7;;;8043:16:8;;;945:4497:7;;;;4673:11;945:4497;4673:11;;945:4497;4673:3;945:4497;4673:3;945:4497;4673:3;945:4497;4673:11;;;;;;;;;;;945:4497;;;;;;;;4664:20;;:48;;;;945:4497;;;;;;8172:38:8;;8204:4;945:4497:7;8172:38:8;;945:4497:7;;8172:38:8;945:4497:7;8172:38:8;;;;;;;;;;;;;945:4497:7;8228:17:8;;;945:4497:7;;;;;8280:34:8;;945:4497:7;;;;;;8280:34:8;;945:4497:7;;;;;;;;;;;8280:34:8;;;;;;;;;8329:32;8280:34;945:4497:7;8280:34:8;;;945:4497:7;;;;;;;8329:32:8;945:4497:7;;8280:34:8;;;;;;;;;;;;;;:::i;:::-;;;;;:::i;:::-;;;;;;;;;945:4497:7;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8172:38:8;;;945:4497:7;8172:38:8;;945:4497:7;8172:38:8;;;;;;945:4497:7;8172:38:8;;;:::i;:::-;;;945:4497:7;;;;;8172:38:8;;;945:4497:7;-1:-1:-1;945:4497:7;;8172:38:8;;;-1:-1:-1;8172:38:8;;;945:4497:7;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4664:48;4705:6;945:4497;4705:6;945:4497;4688:24;;4664:48;;4673:11;;;;945:4497;4673:11;;945:4497;4673:11;;;;;;945:4497;4673:11;;;:::i;:::-;;;945:4497;;;;;;;;;:::i;:::-;4673:11;;;;;945:4497;;;;4673:11;;;-1:-1:-1;4673:11:7;;945:4497;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1500:62:0;;:::i;:::-;9394:4:8;9377:21;;945:4497:7;;;;9430:18:8;945:4497:7;9480:34:8;;;;945:4497:7;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;10524:33:8;;;945:4497:7;;;;;;;;;;;10551:4:8;945:4497:7;;;;;10524:33:8;;;;;;:::i;:::-;945:4497:7;;;;;10524:33:8;945:4497:7;;10524:33:8;945:4497:7;;;;:::i;:::-;;;;;;;;;;;;;;;;988:32;945:4497;;;;;;;;;;;;;;;;;;1602:22:8;945:4497:7;;;;;;;;;;;;;;;;;;;;;;;;;;1082:35;945:4497;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1500:62:0;;:::i;:::-;945:4497:7;9031:16:8;945:4497:7;;;;;;9031:16:8;945:4497:7;9062:14:8;;;;945:4497:7;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;1026:50;945:4497;;;;;;;;;;;;;;;;;9868:21:8;945:4497:7;;;;;;;;;;;;;;;;;;;1500:62:0;;:::i;:::-;945:4497:7;7554:3:8;945:4497:7;;;;;7554:11:8;;;;945:4497:7;7554:11:8;;;;;;;;;;;;;945:4497:7;;7554:11:8;945:4497:7;;7547:44:8;945:4497:7;;7547:44:8;;;;945:4497:7;7547:44:8;;7585:4;945:4497:7;7547:44:8;;945:4497:7;;7547:44:8;;;;;;;;;;;945:4497:7;;;;7624:11:8;945:4497:7;7624:11:8;;7554;7624;945:4497:7;7624:11:8;;;;;;;;;;;;;945:4497:7;-1:-1:-1;945:4497:7;;2008:24:16;7554:11:8;1985:67:16;;;;;945:4497:7;;;;7547:44:8;1985:67:16;;945:4497:7;;;;;;;;;;;1985:67:16;945:4497:7;;;;1985:67:16;;;;;;;;;:::i;:::-;1974:79;;;;;;;;;:::i;:::-;2068:8;;945:4497:7;;2068:59:16;;945:4497:7;2064:134:16;;7554:11:8;945:4497:7;;;7675:25:8;945:4497:7;;7675:25:8;;;945:4497:7;;;2064:134:16;945:4497:7;2150:37:16;945:4497:7;;;;2150:37:16;;;;;;945:4497:7;2150:37:16;;;:::i;:::-;;;;2068:59;945:4497:7;;;2081:16:16;;;:45;;;;2068:59;;;;2081:45;2102:24;;;7554:11:8;2102:24:16;;;;7554:11:8;2102:24:16;;;:::i;:::-;2101:25;2081:45;;;7624:11:8;;;;7554;7624;;7554;7624;;;;;;7554;7624;;;:::i;:::-;;;945:4497:7;;;;;;;;;:::i;:::-;7624:11:8;;;;;945:4497:7;;;;7624:11:8;;;-1:-1:-1;7624:11:8;;;945:4497:7;;;;;;;;;7547:44:8;;;7554:11;7547:44;;7554:11;7547:44;;;;;;945:4497:7;7547:44:8;;;:::i;:::-;;;945:4497:7;;;;;7547:44:8;;;;;;-1:-1:-1;7547:44:8;;;945:4497:7;;;;;;;;;7554:11:8;;;;;;;;;;;;;;;;;:::i;:::-;;;945:4497:7;;;;7554:11:8;945:4497:7;;;;:::i;:::-;7554:11:8;;;;;;;-1:-1:-1;7554:11:8;;945:4497:7;;;;;;;;;;;;;;;:::i;:::-;1500:62:0;;:::i;:::-;945:4497:7;9166:18:8;;945:4497:7;;;9195:22:8;945:4497:7;;;9195:22:8;945:4497:7;;;;;;;;;;;;;;;1500:62:0;;:::i;:::-;945:4497:7;;;;;;;;;;3052:40:0;;;;945:4497:7;;;;;;;;;;;;;;;10065:16:8;945:4497:7;;;;;;;;;;;;;;;;;;;;;;;1123:53;945:4497;;;;;;;;;;;;;;;;;;;1314:34:8;945:4497:7;;;;;;;;;;;;;;;;10734:13:8;;:::i;945:4497:7:-;;;;;;;;;;;;;9969:10:8;945:4497:7;;;;;;;;;;;;;;;:::i;:::-;1692:3:8;;;1662:41;945:4497:7;1692:3:8;945:4497:7;1670:10:8;:26;1662:41;:::i;:::-;3688:11;;3684:43;;945:4497:7;3780:38:8;945:4497:7;3780:38:8;945:4497:7;;3780:38:8;;;;;;:::i;:::-;945:4497:7;;;;;;;;;:::i;:::-;;6131:37:8;:96;;;;945:4497:7;6127:165:8;;;3920:12;;:::i;:::-;3943:25;945:4497:7;;;;;:::i;:::-;;;;:::i;:::-;3983:41:8;;945:4497:7;;;;2230:22;;3780:38:8;2230:12:7;945:4497;2230:12;945:4497;2230:12;945:4497;2230:22;;;;;;;;;;;3979:535:8;2285:13:7;945:4497;3693:8;945:4497;3712:4;3660:58;3712:4;3660:58;;:::i;:::-;2308:32;;;2355:20;;;;2351:627;;3979:535:8;1670:10;;3042:6:7;1670:10:8;;;;3042:6:7;;:::i;:::-;3979:535:8;4550:13;;:::i;:::-;4581:25;;;945:4497:7;;4776:45:8;4668:24;;;;:::i;:::-;4745:4;4707:44;4745:4;4707:44;;;4769:5;;:::i;:::-;4776:45;;:::i;:::-;945:4497:7;;;;;;;;;:::i;:::-;;;;;;;3780:38:8;945:4497:7;;;;;;;;;;;;;;;2351:627;2411:20;;;;;;;:::i;:::-;3780:38:8;945:4497:7;2559:58;2469;3712:4;2469:58;;:::i;:::-;945:4497;;;2559:58;;;;;945:4497;2559:58;;;945:4497;2559:58;;945:4497;;;;;;3712:4;945:4497;;;;;2559:58;;;;;;;;;;;2351:627;2541:76;;3712:4;2654:58;3712:4;2654:58;;:::i;:::-;2731:27;;;;2727:81;;2841:25;;;;;:::i;:::-;2826:40;;2822:146;;2351:627;;;;;;;;;2822:146;2913:25;;;;945:4497;2913:25;;:::i;:::-;2893:60;;;945:4497;;;;2893:60;2727:81;2767:41;945:4497;2767:41;;;;;945:4497;;;;2767:41;2559:58;;;;3780:38:8;2559:58:7;;3780:38:8;2559:58:7;;;;;;945:4497;2559:58;;;:::i;:::-;;;945:4497;;;;;2559:58;;;;;;;-1:-1:-1;2559:58:7;;;945:4497;;;;;;;;;2230:22;;;3780:38:8;2230:22:7;;3780:38:8;2230:22:7;;;;;;3780:38:8;2230:22:7;;;:::i;:::-;;;945:4497;;;;;;;:::i;:::-;2230:22;;;945:4497;;;;2230:22;;;-1:-1:-1;2230:22:7;;;945:4497;;;;;;;;;3979:535:8;945:4497:7;;;;;;;;;:::i;:::-;;;;:::i;:::-;4100:39:8;945:4497:7;;12047:20:8;;;;;4096:418;4272:24;945:4497:7;;;;;:::i;:::-;;;;:::i;:::-;4248:48:8;4272:24;;12047:20;;;;4244:270;4483:20;;;;6127:165;945:4497:7;6250:31:8;;;;;6131:96;945:4497:7;;;;;:::i;:::-;6173:27:8;;;:53;;;6131:96;;;;6173:53;;;;;3684:43;945:4497:7;3708:19:8;;;;3722:1;945:4497:7;;;;;3708:19:8;945:4497:7;;;;;;;;;;;;;1500:62:0;;;:::i;945:4497:7:-;;;;;;;;;;;;;;;;947:29:8;945:4497:7;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;:::i;:::-;1500:62:0;;:::i;:::-;945:4497:7;7290:10:8;945:4497:7;;;;;;7331:41:8;945:4497:7;;;7331:41:8;;:::i;945:4497:7:-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1500:62:0;;:::i;:::-;945:4497:7;8818:27:8;945:4497:7;;;;;;8818:27:8;945:4497:7;8871:27:8;;;;945:4497:7;;;;;;;;;;;;;;;;:::i;:::-;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5384:49;1500:62:0;;945:4497:7;1500:62:0;;;;:::i;:::-;945:4497:7;;;;;:::i;:::-;;;;;;;5384:49;;:::i;945:4497::-;;;;;;;;:::i;:::-;1692:3:8;;;1662:41;945:4497:7;1692:3:8;945:4497:7;1670:10:8;:26;1662:41;:::i;:::-;945:4497:7;2657:10:8;945:4497:7;;2653:62:8;;2729:11;;2725:43;;945:4497:7;2821:38:8;945:4497:7;2821:38:8;945:4497:7;;2821:38:8;;;;;;:::i;:::-;945:4497:7;;;;;:::i;:::-;;;;:::i;:::-;2907:41:8;;1857:8:7;945:4497;1857:8;945:4497;5804:46:8;5844:4;5804:46;;:::i;:::-;5864:16;;;5860:65;;945:4497:7;;;;1913:22;;2821:38:8;1913:12:7;945:4497;1913:12;945:4497;1913:12;945:4497;1913:22;;;;;;945:4497;1913:22;;;2903:309:8;945:4497:7;;;;2003:6;;;;;;:::i;:::-;2020:56;;;;;945:4497;;2020:56;945:4497;;;;2020:56;;;;;945:4497;2020:56;;945:4497;2020:56;;945:4497;;;;;;5844:4:8;945:4497:7;;;;;;;;;2020:56;;;;;;;;2903:309:8;2964:35;3385:45;2964:35;2903:309;3246:12;;:::i;:::-;3292:13;;;:::i;:::-;3354:4;3320:40;3354:4;3320:40;;;3378:5;;:::i;2020:56:7:-;;;;;945:4497;2020:56;;:::i;:::-;945:4497;;3385:45:8;2020:56:7;;;945:4497;;;;;;;;;1913:22;;2821:38:8;1913:22:7;;2821:38:8;1913:22:7;;;;;;2821:38:8;1913:22:7;;;:::i;:::-;;;945:4497;;;;;;;;:::i;:::-;1913:22;;;;;-1:-1:-1;1913:22:7;;5860:65:8;5889:36;;945:4497:7;5889:36:8;945:4497:7;;;;;;5889:36:8;2903:309;945:4497:7;;;;;;:::i;:::-;;;;:::i;:::-;3020:39:8;945:4497:7;;12047:20:8;945:4497:7;12047:20:8;945:4497:7;;12047:20:8;3016:196;3181:20;945:4497:7;3181:20:8;945:4497:7;;3181:20:8;2725:43;2749:19;945:4497:7;2749:19:8;2763:1;945:4497:7;;;;;;;2749:19:8;2653:62;2676:39;945:4497:7;2676:39:8;2709:4;945:4497:7;;;;2676:39:8;945:4497:7;;;;;;;;;;;;;;1189:4:8;945:4497:7;;;;;;;;;;;;;;;;;1028:30:8;945:4497:7;;;;;;;;;;;;;;;;;;;;:::o;:::-;;-1:-1:-1;945:4497:7;;;;;-1:-1:-1;945:4497:7;;;;;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;:::o;:::-;;;;;;;:::i;:::-;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;-1:-1:-1;945:4497:7;;;;;;:::o;:::-;;;;;;;;;;;;;;;;;;:::i;:::-;;:::o;:::-;;;;;;;;;;;:::o;:::-;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;-1:-1:-1;945:4497:7;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;-1:-1:-1;945:4497:7;;;;;;;;;;;:::o;:::-;;-1:-1:-1;945:4497:7;;;:::o;:::-;;;;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;:::i;:::-;;;;;;;;;;;;;;-1:-1:-1;945:4497:7;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;-1:-1:-1;945:4497:7;;;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;;;;:::o;10342:101:8:-;945:4497:7;;;10411:25:8;;10426:9;10411:25;;;945:4497:7;;10411:3:8;:25;:3;945:4497:7;10411:3:8;945:4497:7;10411:25:8;;;;;;;-1:-1:-1;10411:25:8;;;10404:32;10342:101;:::o;10411:25::-;;;945:4497:7;10411:25:8;;945:4497:7;10411:25:8;;;;;;945:4497:7;10411:25:8;;;:::i;:::-;;;945:4497:7;;;;;10342:101:8;:::o;10411:25::-;;;-1:-1:-1;10411:25:8;;945:4497:7;;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;;;;;:::o;:::-;;;;;;;;;:::o;:::-;;10213:1:8;945:4497:7;;;;;10213:1:8;945:4497:7;10094:161:8;945:4497:7;;;;;;:::i;:::-;10196:1:8;945:4497:7;;;;;;;;10218:9:8;10208:19;;;:::i;:::-;945:4497:7;10094:161:8;:::o;945:4497:7:-;;;;;;;;;;:::o;3345:220::-;945:4497;;;3511:31;;3536:4;3511:31;;;945:4497;;3511:6;:31;:6;945:4497;3511:6;945:4497;3511:31;;;;;;-1:-1:-1;3511:31:7;;;3345:220;3511:47;3545:13;;3660:58;3536:4;945:4497;3693:8;945:4497;3660:58;:::i;:::-;3511:47;;:::i;:31::-;;945:4497;3511:31;;945:4497;3511:31;;;;;;945:4497;3511:31;;;:::i;:::-;;;945:4497;;;;3511:47;945:4497;;3511:31;;;;;-1:-1:-1;3511:31:7;;1796:162:0;945:4497:7;1710:6:0;945:4497:7;;735:10:3;1855:23:0;1851:101;;1796:162::o;1851:101::-;1901:40;1710:6;1901:40;735:10:3;1901:40:0;945:4497:7;;1710:6:0;1901:40;945:4497:7;;;;;;;;;;:::i;:::-;;;;;;;;:::i;:::-;;;;-1:-1:-1;945:4497:7;;;;:::o;:::-;;;:::o;4936:695:8:-;5125:15;945:4497:7;;;2721:23:16;2698:63;;;;;;945:4497:7;;;;2698:63:16;;;945:4497:7;;;;;;;;4936:695:8;;;;;;;-1:-1:-1;;;;2698:63:16;;945:4497:7;;;;2698:63:16;945:4497:7;2698:63:16;2687:75;;;;;;;;:::i;:::-;2777:8;;945:4497:7;;2777:59:16;;4936:695:8;2773:134:16;;945:4497:7;;;;;;;5189:35:8;945:4497:7;5189:35:8;;5218:4;5189:35;;;945:4497:7;2698:63:16;5189:35:8;2698:63:16;5189:35:8;;;;;;;;;-1:-1:-1;5189:35:8;;;4936:695;945:4497:7;-1:-1:-1;945:4497:7;;;5125:15:8;945:4497:7;;5252:30:8;2698:63:16;5252:30:8;;;;;;;;;:::i;:::-;;5296:8;5292:56;;-1:-1:-1;945:4497:7;;5125:15:8;945:4497:7;;;;2698:63:16;;;;2721:23;2698:63;;;;;945:4497:7;;;;;;2698:63:16;;;;;;;:::i;:::-;2687:75;;;;;;;;;:::i;:::-;2777:8;;945:4497:7;;2777:59:16;;4936:695:8;2773:134:16;;945:4497:7;;;;2698:63:16;;945:4497:7;;;5441:35:8;;;;945:4497:7;5441:35:8;;5218:4;5189:35;5441;;945:4497:7;5441:35:8;;;;;;-1:-1:-1;5441:35:8;;;4936:695;5441:57;;;;:::i;:::-;5512:29;;;;5508:85;;5603:21;4936:695;:::o;5508:85::-;5550:43;-1:-1:-1;5550:43:8;5189:35;945:4497:7;2698:63:16;945:4497:7;2698:63:16;-1:-1:-1;5550:43:8;5441:35;;2698:63:16;5441:35:8;;2698:63:16;5441:35:8;;;;;;945:4497:7;5441:35:8;;;:::i;:::-;;;945:4497:7;;;;5441:57:8;945:4497:7;;5441:35:8;;;;;-1:-1:-1;5441:35:8;;2773:134:16;2859:37;945:4497:7;;;2859:37:16;;;;;;5189:35:8;2859:37:16;;;:::i;2777:59::-;945:4497:7;;;2790:16:16;;;:45;;;;2777:59;;;;2790:45;2811:24;;;2698:63;2811:24;;;;2698:63;2811:24;;;:::i;:::-;2810:25;2790:45;;;5292:56:8;945:4497:7;5125:15:8;945:4497:7;;5313:35:8;-1:-1:-1;5313:35:8;5189;945:4497:7;2698:63:16;-1:-1:-1;5313:35:8;5189;;;;2698:63:16;5189:35:8;;2698:63:16;5189:35:8;;;;;;945:4497:7;5189:35:8;;;:::i;:::-;;;945:4497:7;;;;;;-1:-1:-1;5189:35:8;;;;;-1:-1:-1;5189:35:8;;2773:134:16;2859:37;945:4497:7;;;;2859:37:16;;;;;;2698:63;2859:37;;;:::i;2777:59::-;945:4497:7;;;2790:16:16;;;:45;;;;2777:59;;;;2790:45;2811:24;;;2698:63;2811:24;;;;2698:63;2811:24;;;:::i;:::-;2810:25;2790:45;;;3731:822:7;;945:4497;;;;;;;;;:::i;:::-;3941:1;945:4497;;;;;;;;;;;;;3953:17;;;:::i;:::-;945:4497;;;;;4004:11;945:4497;;;;4004:36;945:4497;4004:36;;4034:4;4004:36;;;945:4497;;4004:36;;;;;;;;;;;945:4497;4004:36;;;3731:822;-1:-1:-1;945:4497:7;;;4050:47;;945:4497;4004:36;4050:47;;945:4497;;;4004:36;945:4497;;;;;;;;;;;-1:-1:-1;945:4497:7;;;;;;4050:47;;;;;945:4497;4050:47;;:17;;945:4497;4050:17;945:4497;4050:47;;;;;;;;945:4497;;;;4132:36;945:4497;4132:36;;4034:4;4004:36;4132;;945:4497;;4132:36;4004;4132;;;;;;;;945:4497;4132:36;;;945:4497;4132:51;;;;:::i;:::-;4197:19;;;4193:33;;945:4497;;4242:52;;;;945:4497;4242:52;;945:4497;4358:3;945:4497;4358:11;945:4497;4358:11;;945:4497;4358:11;4004:36;4358:11;;;;;;;;945:4497;4358:11;;;945:4497;4342:88;;;;:::i;:::-;945:4497;;;4472:11;945:4497;4472:11;;945:4497;4472:11;4004:36;4472:11;;;;;;;;;945:4497;4472:11;;;945:4497;-1:-1:-1;945:4497:7;;2795:24:17;945:4497:7;2772:67:17;;;;;945:4497:7;;;;4004:36;2772:67:17;;945:4497:7;;;;;;;;;;;2772:67:17;945:4497:7;;;;2772:67:17;945:4497:7;2772:67:17;2761:79;;;;;;;;;:::i;:::-;2855:17;;;:22;:34;;;;945:4497:7;2855:85:17;;;;945:4497:7;2851:160:17;;4525:21:7;;;;3731:822;:::o;2851:160:17:-;945:4497:7;2963:37:17;945:4497:7;;2963:37:17;;;;;;4004:36:7;2963:37:17;;;:::i;2855:85::-;945:4497:7;;;2894:16:17;;;:45;;;;2855:85;;;;2894:45;2915:24;;;945:4497:7;2915:24:17;;;;945:4497:7;2915:24:17;;;:::i;:::-;2914:25;2894:45;;;2855:34;2881:8;;;2855:34;;4472:11:7;;;;945:4497;4472:11;;945:4497;4472:11;;;;;;945:4497;4472:11;;;:::i;:::-;;;945:4497;;;;;;;;;:::i;:::-;4472:11;;;;;;;;-1:-1:-1;4472:11:7;;;945:4497;;;;;;;;;4358:11;;945:4497;4358:11;;945:4497;4358:11;;;;;;945:4497;4358:11;;;:::i;:::-;;;945:4497;;;;;4342:88;945:4497;;:::i;:::-;4358:11;;;;;-1:-1:-1;4358:11:7;;;945:4497;;;;;;;;;4193:33;4218:8;;;;;945:4497;4218:8;:::o;4132:36::-;;945:4497;4132:36;;945:4497;4132:36;;;;;;945:4497;4132:36;;;:::i;:::-;;;945:4497;;;;4132:51;945:4497;;4132:36;;;;;-1:-1:-1;4132:36:7;;;945:4497;;;;;;;;;4050:47;;;945:4497;4050:47;;;;;;:::i;:::-;;;945:4497;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;4050:47;;;;945:4497;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;-1:-1:-1;945:4497:7;;;;;;;;;3941:1;945:4497;;;4004:36;;;;945:4497;4004:36;;945:4497;4004:36;;;;;;945:4497;4004:36;;;:::i;:::-;;;945:4497;;;;;4004:36;;;;;;;-1:-1:-1;4004:36:7;;945:4497;;;;;;;;;;;;;;;;;;;;;;;;:::i;3364:375:17:-;945:4497:7;;3521:23:17;3498:63;;;;;;945:4497:7;;;;3498:63:17;;;945:4497:7;;;;;;;;3364:375:17;3487:75;;;;3498:63;945:4497:7;;;;3498:63:17;945:4497:7;3498:63:17;3487:75;;;;;;;;;:::i;:::-;3577:17;;:22;:34;;;;3364:375;3577:85;;;;3364:375;3573:160;;3364:375;;;:::o;3577:85::-;945:4497:7;;;3616:16:17;;;:45;;;;3577:85;;;;3616:45;3637:24;;;3498:63;3637:24;;;;3498:63;3637:24;;;:::i;:::-;3636:25;3616:45;;;3577:34;3603:8;;;3577:34;;1873:400;;-1:-1:-1;1873:400:17;;945:4497:7;;;2023:58:17;;;;2046:25;2023:58;;945:4497:7;2023:58:17;;;945:4497:7;2023:58:17;;;;;;;:::i;:::-;2006:76;;;;;;;:::i;:::-;2097:17;;;:22;:34;;;;1873:400;2097:54;;;;1873:400;2093:129;;945:4497:7;;;;;2239:27:17;;;;;;;;;;945:4497:7;;;;;1873:400:17;:::o;2093:129::-;2174:37;945:4497:7;;;2174:37:17;;;;;;2023:58;2174:37;;;:::i;2097:54::-;945:4497:7;2023:58:17;945:4497:7;;2135:16:17;2097:54;;:34;2123:8;;;2097:34;","linkReferences":{},"immutableReferences":{"3768":[{"start":3502,"length":32},{"start":6175,"length":32},{"start":8027,"length":32},{"start":10574,"length":32}],"3771":[{"start":4169,"length":32},{"start":6103,"length":32},{"start":8144,"length":32}],"3774":[{"start":2855,"length":32},{"start":3678,"length":32},{"start":10495,"length":32}],"3777":[{"start":5559,"length":32},{"start":12034,"length":32}],"3780":[{"start":500,"length":32},{"start":11831,"length":32}],"4257":[{"start":2217,"length":32},{"start":4343,"length":32},{"start":5845,"length":32},{"start":7280,"length":32},{"start":7905,"length":32},{"start":10134,"length":32},{"start":12227,"length":32}],"4273":[{"start":5649,"length":32},{"start":10069,"length":32},{"start":10365,"length":32}]}}}}}}},"signatures":{"function":[{"signature":"adapterId()","signatureHash4":"0x5fb86b01","signatureHash32":"0x5fb86b01a38d38d12691b248a611270a2fe2ca00ea08b8b1eecc210423a87e8d"},{"signature":"adminDexSwap(address,address,uint256,uint256,bytes)","signatureHash4":"0x3c12f9ea","signatureHash32":"0x3c12f9ea7d85ade3fb4e489c67ee9e7f1bcb89166e3285203ba69c7408da7a27"},{"signature":"allocate(bytes,uint256,bytes4,address)","signatureHash4":"0x1eadd778","signatureHash32":"0x1eadd778e12477ca96de3ee70e271434df3e477e7c1fb564981d7cb5b1dd2324"},{"signature":"allocation()","signatureHash4":"0x88a17bde","signatureHash32":"0x88a17bde4a203fff371fe6e0a3c794f36f954ebd464d5a332fcf21575e852df1"},{"signature":"allowanceHolder()","signatureHash4":"0x11886685","signatureHash32":"0x118866856971dd217744acd869b964b1f83ea9daa478c8ee4f3e36f466c8193b"},{"signature":"aToken()","signatureHash4":"0xa0c1f15e","signatureHash32":"0xa0c1f15eb634fc9c2d963b9f159f83e1890072e602a6f6712daff2f606feeafa"},{"signature":"claimRewards(address,bytes,uint256)","signatureHash4":"0x3f53066b","signatureHash32":"0x3f53066be2126be4ec0ebbf31cac6d4c595e70808567068c184a0eb483617f7c"},{"signature":"claimWithdrawalQueue(uint256)","signatureHash4":"0x4d51bf5f","signatureHash32":"0x4d51bf5ff9dae4d9e623e3dc976537ac1e3d0c59a8a7607d1cdd88d3d5491a1d"},{"signature":"deallocate(bytes,uint256,bytes4,address)","signatureHash4":"0x4e45f1ff","signatureHash32":"0x4e45f1ff2e6f367bf7c49d7c6aea6153638f4b7c3840af2b7dc32c68afa27136"},{"signature":"FIXED_POINT_SCALAR()","signatureHash4":"0x17931901","signatureHash32":"0x17931901dbff912aebf30216708ee689eeeb38b862e9533f6c0a201c10e0ed23"},{"signature":"FORCE_DEALLOCATE_SELECTOR()","signatureHash4":"0xa05716f4","signatureHash32":"0xa05716f4454b7ab7fd090c33e8d61a5fe846361aad623a4ac044445a2d300b4b"},{"signature":"getCap()","signatureHash4":"0x554d578d","signatureHash32":"0x554d578decd2cc07c67f34980f46ce0c010b79f9debce263e16fe18f6ef4381c"},{"signature":"getEstimatedYield()","signatureHash4":"0x8511fc93","signatureHash32":"0x8511fc93be2437047fedbbb724eb0f4ab95fd43e6f47be723d50438809cf21e8"},{"signature":"getGlobalCap()","signatureHash4":"0x6cab0659","signatureHash32":"0x6cab06592cfc3c395658a4f01760943877684495bdcb1c481dd3fc7d7d876a3e"},{"signature":"getIdData()","signatureHash4":"0xb476bde4","signatureHash32":"0xb476bde4eac0c96a34c8384ac2cc3c83c6c5aa562a2f3b4fe1d3dffcea02ca4b"},{"signature":"ids()","signatureHash4":"0xe7657e15","signatureHash32":"0xe7657e15df54844c7b416e1494623b0b8f005053256a939cc13b52c4a0ef15b6"},{"signature":"killSwitch()","signatureHash4":"0xada14698","signatureHash32":"0xada14698c231bc037ec6811b0c4452f4b97597ce23a20505f6cb8c837b4f2df5"},{"signature":"MYT()","signatureHash4":"0x47e7a97d","signatureHash32":"0x47e7a97d594d58e789fd1b64e119b64e74a65dacacad03721351f310a07e416e"},{"signature":"mytAsset()","signatureHash4":"0xaecd577a","signatureHash32":"0xaecd577aa918ca7ef712bc4f5d17d9d2ec96344d969c8b73bf2c716010db2087"},{"signature":"owner()","signatureHash4":"0x8da5cb5b","signatureHash32":"0x8da5cb5b36e7f68c1d2e56001220cdbdd3ba2616072f718acfda4a06441a807d"},{"signature":"params()","signatureHash4":"0xcff0ab96","signatureHash32":"0xcff0ab9636fa7dca22eeb81645d0366ce019ea273d025fc9101c58a05a5382fc"},{"signature":"poolProvider()","signatureHash4":"0x8598f9c3","signatureHash32":"0x8598f9c33d211f5401c2ef9d17951662c4871dcf35cbfe4ab11a10c036b795e2"},{"signature":"previewAdjustedWithdraw(uint256)","signatureHash4":"0xec31eb58","signatureHash32":"0xec31eb583ecc9ac37a93cbd29f633eef36985f7c9c387527265196121a8510f0"},{"signature":"realAssets()","signatureHash4":"0x56c07573","signatureHash32":"0x56c07573f220560c49254d16ce85caec73ff7a0d5eaefed4ecbdd5bdca8538f4"},{"signature":"renounceOwnership()","signatureHash4":"0x715018a6","signatureHash32":"0x715018a616b5f2044428f6fadb7deef4ce9ca76ef60ea57978964ad137bbe7ae"},{"signature":"rescueTokens(address,address,uint256)","signatureHash4":"0xcea9d26f","signatureHash32":"0xcea9d26f15445bebdfec47d1ba8955ccb82e2bed11559e2297cf6d2ef9172842"},{"signature":"rewardsController()","signatureHash4":"0x6bb65f53","signatureHash32":"0x6bb65f53d3c33ff103eec1b2753420d69a3a50c1588abd23c3c75d943e4db71c"},{"signature":"rewardToken()","signatureHash4":"0xf7c618c1","signatureHash32":"0xf7c618c183527801eb2a1a3547c28c8398b1d23ff451adc837f41a1b6798066d"},{"signature":"SECONDS_PER_YEAR()","signatureHash4":"0xe6a69ab8","signatureHash32":"0xe6a69ab8577dc65cbad29550a9a0b8ee5e3592168e6c6b008234b26e2955707b"},{"signature":"setAdditionalIncentives(bool)","signatureHash4":"0x3e859eec","signatureHash32":"0x3e859eec51357958178d21ecbae53ee56dfbcab8f40488faa8a27d0ca8360a75"},{"signature":"setAllowanceHolder(address)","signatureHash4":"0x84ab57ab","signatureHash32":"0x84ab57ab9bed26cfb8d53f38f8d81af2409b22356c2732fcd464556b2edbde9c"},{"signature":"setKillSwitch(bool)","signatureHash4":"0x9213bda7","signatureHash32":"0x9213bda798c61973ffbcb44ccfbd6de88e8df9462d1cffb029a5daffe2fbf17d"},{"signature":"setRiskClass(uint8)","signatureHash4":"0xe5f21f7d","signatureHash32":"0xe5f21f7d5a5fbd235e46b55adbd424638959782100acfeee6e24aafe2804f59d"},{"signature":"setSlippageBPS(uint256)","signatureHash4":"0xbc08e9bd","signatureHash32":"0xbc08e9bd0d807fec894ee06d1082df189e0d0b2bcda3e04a2baa4c7ea6ae6a2c"},{"signature":"transferOwnership(address)","signatureHash4":"0xf2fde38b","signatureHash32":"0xf2fde38b092330466c661fc723d5289b90272a3e580e3187d1d7ef788506c557"},{"signature":"withdrawToVault()","signatureHash4":"0x84f22721","signatureHash32":"0x84f227210f18d4a8172cb92b5d2ef2e8a93dbf91bcf9510ba4de08826d6bd5cd"}],"event":[{"signature":"Allocate(uint256,address)","signatureHash4":"0xa4785e24","signatureHash32":"0xa4785e244c5b065bbf149ba5b5ffb8922e35f0ed3201e69bc4da313d1a9c8842"},{"signature":"DeallocateDex(uint256)","signatureHash4":"0x069455e4","signatureHash32":"0x069455e4df307aa48dccabd2dff978c41e7096547788191ef6c5aefd7cd212cf"},{"signature":"Deallocate(uint256,address)","signatureHash4":"0x61b0387f","signatureHash32":"0x61b0387ff9ecd027c4a1ba73e93a9fda499c31b71426acc80e90260fcea9215f"},{"signature":"Emergency(bool)","signatureHash4":"0x68c3b30f","signatureHash32":"0x68c3b30f53252b4a7ebb8cbe118f644313c1c59953a3eb90ba5f43a42d242ae1"},{"signature":"IncentivesUpdated(bool)","signatureHash4":"0xdbf0df65","signatureHash32":"0xdbf0df65d86a051acc8692d340075569c05e0370232c91318c82a5783937ad3d"},{"signature":"MinAllocationOutBpsUpdated(uint256)","signatureHash4":"0xcbd06387","signatureHash32":"0xcbd0638759576082c0022aa8f2a436fefb196601be19060b9b9d89e4b5c3149e"},{"signature":"OwnershipTransferred(address,address)","signatureHash4":"0x8be0079c","signatureHash32":"0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0"},{"signature":"RewardsClaimed(address,uint256)","signatureHash4":"0xfc30cdde","signatureHash32":"0xfc30cddea38e2bf4d6ea7d3f9ed3b6ad7f176419f4963bd81318067a4aee73fe"},{"signature":"RiskClassUpdated(uint8)","signatureHash4":"0x27630923","signatureHash32":"0x27630923f8c523d6150196f959d8848e1c38769db10bd099c29cf1e542387bc4"},{"signature":"SlippageBPSUpdated(uint256)","signatureHash4":"0xc67ba989","signatureHash32":"0xc67ba9890ea7d6f3d208ac2d463c5846edd57c3b3f13d044d18d668585095d17"},{"signature":"StrategyAllocationLoss(string,uint256,uint256)","signatureHash4":"0xcffa088e","signatureHash32":"0xcffa088ecc3be3c0b3c5f73d5b1421cbb843ab57c6501df162f4de659ceec88d"},{"signature":"TokensRescued(address,address,uint256)","signatureHash4":"0x77023e19","signatureHash32":"0x77023e19c7343ad491fd706c36335ca0e738340a91f29b1fd81e2673d44896c4"},{"signature":"WithdrawToVault(uint256)","signatureHash4":"0x8cc6a31c","signatureHash32":"0x8cc6a31cfb84df51d57b901b62a4accd2a9a6ed88b96f4c05bbbb7fee2af1afe"},{"signature":"YieldUpdated(uint256)","signatureHash4":"0x90427aaa","signatureHash32":"0x90427aaa52d772393dbc0baaaa6eb821cdec72ed0870206d71ccc004efe43bba"}],"error":[{"signature":"ActionNotSupported()","signatureHash4":"0xd0df97cc","signatureHash32":"0xd0df97cc5dddc3d1fe4626063db7182426ad72e4ab1a656f244b0b7dcb2309a9"},{"signature":"CounterfeitSettler(address)","signatureHash4":"0x7a1cd8fa","signatureHash32":"0x7a1cd8fa7e397501ec6125501eb2919af1ebb91ac5f4532457a66e8bdac38f02"},{"signature":"ERC20CallFailed(address,bool,bytes)","signatureHash4":"0xe7e40b5b","signatureHash32":"0xe7e40b5b034712828fb06392cdb27b94e78472955b09599057f40dd95fa772ce"},{"signature":"ForceDeallocateSwapNotAllowed()","signatureHash4":"0x564500f8","signatureHash32":"0x564500f8ced798451c198ebcfce4c0e033ab857bca4f737a12e967d6deac9fa1"},{"signature":"InsufficientBalance(uint256,uint256)","signatureHash4":"0xcf479181","signatureHash32":"0xcf4791818fba6e019216eb4864093b4947f674afada5d305e57d598b641dad1d"},{"signature":"InvalidAmount(uint256,uint256)","signatureHash4":"0x7c83fcf0","signatureHash32":"0x7c83fcf018fdfb81fb31f6490fe4b54677fc7e98ba6300e537035bdc82b8e1e6"},{"signature":"OwnableInvalidOwner(address)","signatureHash4":"0x1e4fbdf7","signatureHash32":"0x1e4fbdf7f3ef8bcaa855599e3abf48b232380f183f08f6f813d9ffa5bd585188"},{"signature":"OwnableUnauthorizedAccount(address)","signatureHash4":"0x118cdaa7","signatureHash32":"0x118cdaa7a341953d1887a2245fd6665d741c67c8c50581daa59e1d03373fa188"},{"signature":"StrategyAllocationPaused(address)","signatureHash4":"0x454a60b8","signatureHash32":"0x454a60b83bb08e690745850ba5d3aeaffe370fa294216aea0248b48acb4865c4"}]},"proxyResolution":{"isProxy":false,"proxyType":null,"implementations":[]},"match":"match","chainId":"1","address":"0x4167785e9f3Ecd173Aa4c21Ab6fb1aBB4D5Be050"}