{"matchId":"15738789","creationMatch":"match","runtimeMatch":"match","verifiedAt":"2026-01-30T15:04:50Z","creationBytecode":{"onchainBytecode":"0x60a060405230608052348015610013575f5ffd5b5061001c610021565b6100d3565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00805468010000000000000000900460ff16156100715760405163f92ee8a960e01b815260040160405180910390fd5b80546001600160401b03908116146100d05780546001600160401b0319166001600160401b0390811782556040519081527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b50565b608051613a056100f95f395f81816122bb015281816122e4015261242c0152613a055ff3fe6080604052600436106103b3575f3560e01c80638da5cb5b116101e9578063c63d75b611610108578063da4493f61161009d578063ef8b30f71161006d578063ef8b30f7146109b1578063f2888dbb14610af0578063f2fde38b14610b0f578063f812fa7014610b2e575f5ffd5b8063da4493f614610a7f578063dcc3e06e14610a93578063dd62ed3e14610ab2578063eb3beb2914610ad1575f5ffd5b8063d50655b0116100d8578063d50655b014610a0e578063d87c286714610a2d578063d905777e14610a4c578063d907813c14610a6b575f5ffd5b8063c63d75b614610651578063c6e6f592146109b1578063ce23eb3c146109d0578063ce96cb77146109ef575f5ffd5b8063a63a25f61161017e578063b37fd1901161014e578063b37fd19014610935578063b3d7f6b914610954578063b460af9414610973578063ba08765214610992575f5ffd5b8063a63a25f6146108a8578063a9059cbb146108c7578063ad3cb1cc146108e6578063ae3dc06814610916575f5ffd5b80639606d201116101b95780639606d2011461083757806397379d64146108565780639dc103661461086a578063a2af490014610889575f5ffd5b80638da5cb5b146107d15780638f08d44d146107e557806394bf804d1461080457806395d89b4114610823575f5ffd5b8063396f7b23116102d55780635392fd1c1161026a578063715018a61161023a578063715018a61461074a578063771a3a1d1461075e5780637e48d4ea1461079257806383b43589146107b2575f5ffd5b80635392fd1c146106cd5780635a639912146106ed5780636e553f651461070c57806370a082311461072b575f5ffd5b80634828ced9116102a55780634828ced9146106875780634cdad5061461045c5780634f1ef286146106a657806352d1902d146106b9575f5ffd5b8063396f7b23146106095780633a6462e414610632578063402d267d1461065157806342e7159614610671575f5ffd5b806318160ddd1161034b57806323b872dd1161031b57806323b872dd14610576578063313ce5671461059557806335269315146105bb57806338d52e0f146105dd575f5ffd5b806318160ddd146105095780631e9049cf1461051d5780631fcd3080146105475780632095093314610562575f5ffd5b8063095ea7b311610386578063095ea7b31461047b5780630a28a477146104aa5780630c80447a146104c957806315715313146104ea575f5ffd5b806301320fe2146103b757806301e1d1141461041957806306fdde031461043b57806307a2d13a1461045c575b5f5ffd5b3480156103c2575f5ffd5b506103f56103d13660046131fc565b600160208190525f918252604090912080549101546001600160681b039091169082565b604080516001600160681b0390931683526020830191909152015b60405180910390f35b348015610424575f5ffd5b5061042d610b43565b604051908152602001610410565b348015610446575f5ffd5b5061044f610bb9565b6040516104109190613215565b348015610467575f5ffd5b5061042d61047636600461324a565b610c79565b348015610486575f5ffd5b5061049a610495366004613261565b610c8a565b6040519015158152602001610410565b3480156104b5575f5ffd5b5061042d6104c436600461324a565b610ca1565b3480156104d4575f5ffd5b506104e86104e33660046131fc565b610cad565b005b3480156104f5575f5ffd5b506104e86105043660046131fc565b610db4565b348015610514575f5ffd5b5061042d610e6f565b348015610528575f5ffd5b506105336276a70081565b60405162ffffff9091168152602001610410565b348015610552575f5ffd5b5061042d670de0b6b3a764000081565b34801561056d575f5ffd5b5061042d5f5481565b348015610581575f5ffd5b5061049a610590366004613289565b610e8a565b3480156105a0575f5ffd5b506105a9610eaf565b60405160ff9091168152602001610410565b3480156105c6575f5ffd5b5060045461053390600160a01b900462ffffff1681565b3480156105e8575f5ffd5b506105f1610ede565b6040516001600160a01b039091168152602001610410565b348015610614575f5ffd5b505f5160206139995f395f51905f52546001600160a01b03166105f1565b34801561063d575f5ffd5b506104e861064c3660046131fc565b610eff565b34801561065c575f5ffd5b5061042d61066b3660046131fc565b505f1990565b34801561067c575f5ffd5b5061042d6201518081565b348015610692575f5ffd5b506104e86106a136600461324a565b610fba565b6104e86106b43660046132d7565b6111b5565b3480156106c4575f5ffd5b5061042d6111d4565b3480156106d8575f5ffd5b5060045461049a90600160c81b900460ff1681565b3480156106f8575f5ffd5b506104e861070736600461324a565b6111ef565b348015610717575f5ffd5b5061042d61072636600461339b565b61127a565b348015610736575f5ffd5b5061042d6107453660046131fc565b61129d565b348015610755575f5ffd5b506104e86112c3565b348015610769575f5ffd5b5060045461077f90600160b81b900461ffff1681565b60405161ffff9091168152602001610410565b34801561079d575f5ffd5b505f5160206139795f395f51905f525461042d565b3480156107bd575f5ffd5b506104e86107cc36600461340a565b6112d6565b3480156107dc575f5ffd5b506105f1611504565b3480156107f0575f5ffd5b506104e86107ff36600461324a565b61152c565b34801561080f575f5ffd5b5061042d61081e36600461339b565b6115cc565b34801561082e575f5ffd5b5061044f6115e7565b348015610842575f5ffd5b506104e861085136600461324a565b611625565b348015610861575f5ffd5b506104e86116e7565b348015610875575f5ffd5b506004546105f1906001600160a01b031681565b348015610894575f5ffd5b5061042d6108a336600461339b565b61178d565b3480156108b3575f5ffd5b506104e86108c23660046134aa565b611875565b3480156108d2575f5ffd5b5061049a6108e1366004613261565b61196f565b3480156108f1575f5ffd5b5061044f604051806040016040528060058152602001640352e302e360dc1b81525081565b348015610921575f5ffd5b506104e86109303660046134cb565b61197c565b348015610940575f5ffd5b506104e861094f36600461350b565b611a3e565b34801561095f575f5ffd5b5061042d61096e36600461324a565b611a98565b34801561097e575f5ffd5b5061042d61098d366004613544565b611aa4565b34801561099d575f5ffd5b5061042d6109ac366004613544565b611ade565b3480156109bc575f5ffd5b5061042d6109cb36600461324a565b611b18565b3480156109db575f5ffd5b506104e86109ea366004613574565b611b23565b3480156109fa575f5ffd5b5061042d610a093660046131fc565b611bbf565b348015610a19575f5ffd5b5061042d610a2836600461339b565b611bd2565b348015610a38575f5ffd5b506104e8610a473660046131fc565b611cba565b348015610a57575f5ffd5b5061042d610a663660046131fc565b611d75565b348015610a76575f5ffd5b506104e8611d7f565b348015610a8a575f5ffd5b5061042d611ded565b348015610a9e575f5ffd5b506003546105f1906001600160a01b031681565b348015610abd575f5ffd5b5061042d610acc366004613596565b611e02565b348015610adc575f5ffd5b506002546105f1906001600160a01b031681565b348015610afb575f5ffd5b506104e8610b0a3660046131fc565b611e4b565b348015610b1a575f5ffd5b506104e8610b293660046131fc565b6120cf565b348015610b39575f5ffd5b5061042d60055481565b5f610b4c610ede565b6040516370a0823160e01b81523060048201526001600160a01b0391909116906370a0823190602401602060405180830381865afa158015610b90573d5f5f3e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610bb491906135be565b905090565b7f52c63247e1f47db19d5ce0460030c497f067ca4cebf71ba98eeadabe20bace0380546060915f5160206139395f395f51905f5291610bf7906135d5565b80601f0160208091040260200160405190810160405280929190818152602001828054610c23906135d5565b8015610c6e5780601f10610c4557610100808354040283529160200191610c6e565b820191905f5260205f20905b815481529060010190602001808311610c5157829003601f168201915b505050505091505090565b5f610c84825f612109565b92915050565b5f33610c97818585612146565b5060019392505050565b5f610c84826001612153565b610cb5611504565b6001600160a01b0316336001600160a01b031614610ced5760405163118cdaa760e01b81523360048201526024015b60405180910390fd5b6001600160a01b038116610d145760405163e99d5ac560e01b815260040160405180910390fd5b5f5160206139995f395f51905f5280546001600160a01b0319166001600160a01b0383161790555f5160206139795f395f51905f5280545f9015610d59578154610d5e565b620151805b9050610d6a8142613621565b600283018190556040519081526001600160a01b038416907fe1009627653eb47f7d0f3b4435749f7984a803c21f84a076cc4dcb0412cf066f9060200160405180910390a2505050565b610dbc612187565b6001600160a01b038116610de35760405163f6b2911f60e01b815260040160405180910390fd5b6002546001600160a01b03808316911603610e115760405163a741a04560e01b815260040160405180910390fd5b6040516001600160a01b03821681527f6b49d24dd3285d61bdc40376f699105de0c026f54ed60756482d0f20c0b8abea9060200160405180910390a1600280546001600160a01b0319166001600160a01b0392909216919091179055565b5f805f5160206139395f395f51905f525b6002015492915050565b5f33610e978582856121b9565b610ea2858585612209565b60019150505b9392505050565b5f805f5160206139b95f395f51905f5290505f8154610ed89190600160a01b900460ff16613634565b91505090565b5f805f5160206139b95f395f51905f525b546001600160a01b031692915050565b610f07612187565b6001600160a01b038116610f2e5760405163f6b2911f60e01b815260040160405180910390fd5b6003546001600160a01b03808316911603610f5c5760405163a741a04560e01b815260040160405180910390fd5b6040516001600160a01b03821681527f47c9042c3be42a955f60f9b75006522826af1a3bed83e26646997d3bcccda77c9060200160405180910390a1600380546001600160a01b0319166001600160a01b0392909216919091179055565b610fc2612266565b6003546001600160a01b03163314801590610ff65750610fe0611504565b6001600160a01b0316336001600160a01b031614155b1561101657604051634a0bfec160e01b8152336004820152602401610ce4565b80805f036110375760405163162908e360e11b815260040160405180910390fd5b425f55600454600160b81b900461ffff161580159061106057506004546001600160a01b031615155b1561110c576004545f906103e89061108390600160b81b900461ffff168561364d565b61108d9190613678565b9050611097610ede565b600480546040516340c10f1960e01b81526001600160a01b03918216928101929092526024820184905291909116906340c10f19906044015f604051808303815f87803b1580156110e6575f5ffd5b505af11580156110f8573d5f5f3e3d5ffd5b505050508083611108919061368b565b9250505b611114610ede565b6040516340c10f1960e01b8152306004820152602481018490526001600160a01b0391909116906340c10f19906044015f604051808303815f87803b15801561115b575f5ffd5b505af115801561116d573d5f5f3e3d5ffd5b50506040518492507fbb28dd7cd6be6f61828ea9158a04c5182c716a946a6d2f31f4864edb87471aa691505f90a2506111b260015f5160206139d95f395f51905f5255565b50565b6111bd6122b0565b6111c682612354565b6111d08282612365565b5050565b5f6111dd612421565b505f5160206139595f395f51905f5290565b6111f7612187565b60055481036112195760405163a741a04560e01b815260040160405180910390fd5b670de0b6b3a76400008111156112425760405163648564d360e01b815260040160405180910390fd5b6040518181527fdf2cd4b648795c20aa1aeba11f8ca0264b6ac306acecd2fd590f3c573fe7a5f89060200160405180910390a1600555565b5f5f195f61128785611b18565b90506112953385878461246a565b949350505050565b6001600160a01b03165f9081525f5160206139395f395f51905f52602052604090205490565b6112cb612187565b6112d45f61250a565b565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a008054600160401b810460ff16159067ffffffffffffffff165f8115801561131b5750825b90505f8267ffffffffffffffff1660011480156113375750303b155b905081158015611345575080155b156113635760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff19166001178555831561138d57845460ff60401b1916600160401b1785555b6001600160a01b038a1615806113aa57506001600160a01b038b16155b806113bc57506001600160a01b038c16155b156113da5760405163f6b2911f60e01b815260040160405180910390fd5b61144b89898080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525050604080516020601f8d018190048102820181019092528b815292508b91508a90819084018382808284375f9201919091525061257a92505050565b6114548c61258c565b61145d8a61259d565b6114656125ae565b61146d6125be565b670de0b6b3a76400006005556004805465ff0000ffffff60a01b191664020000127560a71b179055600380546001600160a01b0319166001600160a01b038d1617905583156114f657845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b505050505050505050505050565b5f807f9016d09d72d40fdae2fd8ceac6b6234c7706214fd39c1cd1e609a0528c199300610eef565b611534612187565b6040518181527f23c8e7ecf38ad1e9e1639dfb4b258fc9942ae76b580d2ba43c4a73b9291812c99060200160405180910390a161156f610ede565b6001600160a01b03166342966c68826040518263ffffffff1660e01b815260040161159c91815260200190565b5f604051808303815f87803b1580156115b3575f5ffd5b505af11580156115c5573d5f5f3e3d5ffd5b5050505050565b5f5f195f6115d985611a98565b90506112953385838861246a565b7f52c63247e1f47db19d5ce0460030c497f067ca4cebf71ba98eeadabe20bace0480546060915f5160206139395f395f51905f5291610bf7906135d5565b61162d611504565b6001600160a01b0316336001600160a01b0316146116605760405163118cdaa760e01b8152336004820152602401610ce4565b610e108110156116835760405163a965618960e01b815260040160405180910390fd5b5f6116995f5160206139795f395f51905f525490565b60408051828152602081018590529192507f460e10c89f7fa39a35b0b6bd68e6a834bc423a08a5b10fc1bda0dff3276e2694910160405180910390a1505f5160206139795f395f51905f5255565b6116ef611504565b6001600160a01b0316336001600160a01b0316146117225760405163118cdaa760e01b8152336004820152602401610ce4565b5f5160206139995f395f51905f52546040515f5160206139795f395f51905f52916001600160a01b0316907fd947ef8b4f7aabc4b6a79ec773516b48d12ac25da7af787b659083c6af28cb42905f90a26001810180546001600160a01b03191690555f600290910155565b6004545f90600160a01b900462ffffff1681036117bd57604051637a851da960e11b815260040160405180910390fd5b6117c682611d75565b8311156117e657604051630c668a7160e31b815260040160405180910390fd5b5f6117f084610c79565b60045490915061180c90600160a01b900462ffffff16426136bf565b6001600160a01b0384165f908152600160208190526040822080546001600160681b0319166001600160681b0394909416939093178355919091018054839290611857908490613621565b90915550610ea89050336002546001600160a01b03168584886125db565b61187d612187565b6103e88161ffff16106118e65760405162461bcd60e51b815260206004820152602b60248201527f5461782063616e6e6f742062652031303025202d204d757374206265206c657360448201526a073207468616e20313030360ac1b6064820152608401610ce4565b60045461ffff808316600160b81b90920416036119165760405163a741a04560e01b815260040160405180910390fd5b60405161ffff821681527fc806a10dd41921869155255a462a80195a7bfeb01e4f3431e3a43bdf80e4baa09060200160405180910390a16004805461ffff909216600160b81b0261ffff60b81b19909216919091179055565b5f33610c97818585612209565b611984612187565b6001600160a01b0382165f908152600160205260408120805490916001600160681b0390911690036119c957604051637475d84d60e11b815260040160405180910390fd5b8054604080516001600160a01b03861681526001600160681b03928316602082015291841682820152517f4590c2052b5ebf4a0a703688d2a793d162b6925a337b78387018d7c20ef4ed2e9181900360600190a180546001600160681b0319166001600160681b039290921691909117905550565b611a46612187565b611a4e610ede565b6001600160a01b0316836001600160a01b031603611a7f5760405163c1ab6dc160e01b815260040160405180910390fd5b611a936001600160a01b0384168284612652565b505050565b5f610c84826001612109565b6004545f90600160a01b900462ffffff1615611ad357604051637a851da960e11b815260040160405180910390fd5b6112958484846126b1565b6004545f90600160a01b900462ffffff1615611b0d57604051637a851da960e11b815260040160405180910390fd5b611295848484612707565b5f610c84825f612153565b611b2b612187565b6276a70062ffffff82161115611b5457604051637475d84d60e11b815260040160405180910390fd5b6004805462ffffff838116600160a01b90810262ffffff60a01b198416179384905560408051938290048316808552919094049091166020830152917f180eacdf7dbaeecaa983d93173b4285db2f2c0de0044697e1f932bbbb73dcaa6910160405180910390a15050565b5f610c84611bcc8361129d565b5f612109565b6004545f90600160a01b900462ffffff168103611c0257604051637a851da960e11b815260040160405180910390fd5b611c0b82611bbf565b831115611c2b57604051636fa9eef160e11b815260040160405180910390fd5b5f611c3584610ca1565b600454909150611c5190600160a01b900462ffffff16426136bf565b6001600160a01b0384165f908152600160208190526040822080546001600160681b0319166001600160681b0394909416939093178355919091018054869290611c9c908490613621565b90915550610ea89050336002546001600160a01b03168587856125db565b611cc2612187565b6001600160a01b038116611ce95760405163f6b2911f60e01b815260040160405180910390fd5b6004546001600160a01b03808316911603611d175760405163a741a04560e01b815260040160405180910390fd5b6040516001600160a01b03821681527fdb8167fc515fc9095f0a3a91bcd16cf7f1a9b3cc52ebad83691f81180d5098a59060200160405180910390a1600480546001600160a01b0319166001600160a01b0392909216919091179055565b5f610c848261129d565b611d87612187565b6004805460ff600160c81b808304821615810260ff60c81b1990931692909217928390556040517f79a0d73b50e293c1e17b973f07d567c5a14399afb5e2373c44a82e9f9109d71693611de39390049091161515815260200190565b60405180910390a1565b5f805f5160206139795f395f51905f52610e80565b6001600160a01b039182165f9081527f52c63247e1f47db19d5ce0460030c497f067ca4cebf71ba98eeadabe20bace016020908152604080832093909416825291909152205490565b611e53612266565b335f908152600160208190526040909120908101548154426001600160681b039091161115611ea957815460405163922bceef60e01b81524260048201526001600160681b039091166024820152604401610ce4565b805f03611ec95760405163422f6e3560e11b815260040160405180910390fd5b6005545f03611eeb57604051637cf9af2360e11b815260040160405180910390fd5b81546001600160681b03191682555f60018301556005548190670de0b6b3a7640000111561200557670de0b6b3a764000060055483611f2a919061364d565b611f349190613678565b90505f611f41828461368b565b60025460405163f3fef3a360e01b8152306004820152602481018390529192506001600160a01b03169063f3fef3a3906044015f604051808303815f87803b158015611f8b575f5ffd5b505af1158015611f9d573d5f5f3e3d5ffd5b50505050611fa9610ede565b6001600160a01b03166342966c68826040518263ffffffff1660e01b8152600401611fd691815260200190565b5f604051808303815f87803b158015611fed575f5ffd5b505af1158015611fff573d5f5f3e3d5ffd5b50505050505b604080513381526001600160a01b0386166020820152908101839052606081018290527f18edd09e80386cd99df397e2e0d87d2bb259423eae08645e776321a36fe680ef9060800160405180910390a160025460405163f3fef3a360e01b81526001600160a01b038681166004830152602482018490529091169063f3fef3a3906044015f604051808303815f87803b1580156120a0575f5ffd5b505af11580156120b2573d5f5f3e3d5ffd5b505050505050506111b260015f5160206139d95f395f51905f5255565b6120d7612187565b6001600160a01b03811661210057604051631e4fbdf760e01b81525f6004820152602401610ce4565b6111b28161250a565b5f610ea8612115610b43565b612120906001613621565b61212b5f600a6137c1565b612133610e6f565b61213d9190613621565b85919085612754565b611a9383838360016127a1565b5f610ea861216282600a6137c1565b61216a610e6f565b6121749190613621565b61217c610b43565b61213d906001613621565b33612190611504565b6001600160a01b0316146112d45760405163118cdaa760e01b8152336004820152602401610ce4565b5f6121c48484611e02565b90505f19811461220357818110156121f557828183604051637dc7a0d960e11b8152600401610ce49392919061369e565b61220384848484035f6127a1565b50505050565b6001600160a01b03831661223257604051634b637e8f60e11b81525f6004820152602401610ce4565b6001600160a01b03821661225b5760405163ec442f0560e01b81525f6004820152602401610ce4565b611a93838383612884565b5f5160206139d95f395f51905f5280546001190161229757604051633ee5aeb560e01b815260040160405180910390fd5b60029055565b60015f5160206139d95f395f51905f5255565b306001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016148061233657507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031661232a5f5160206139595f395f51905f52546001600160a01b031690565b6001600160a01b031614155b156112d45760405163703e46dd60e11b815260040160405180910390fd5b61235c612187565b6111b2816129aa565b816001600160a01b03166352d1902d6040518163ffffffff1660e01b8152600401602060405180830381865afa9250505080156123bf575060408051601f3d908101601f191682019092526123bc918101906135be565b60015b6123e757604051634c9c8ce360e01b81526001600160a01b0383166004820152602401610ce4565b5f5160206139595f395f51905f52811461241757604051632a87526960e21b815260048101829052602401610ce4565b611a938383612a34565b306001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016146112d45760405163703e46dd60e11b815260040160405180910390fd5b612472612266565b600454600160c81b900460ff1661249c57604051630e2f42c960e31b815260040160405180910390fd5b81805f036124bd5760405163162908e360e11b815260040160405180910390fd5b81805f036124de5760405163162908e360e11b815260040160405180910390fd5b6124ea86868686612a89565b6124f2612b06565b505061220360015f5160206139d95f395f51905f5255565b7f9016d09d72d40fdae2fd8ceac6b6234c7706214fd39c1cd1e609a0528c19930080546001600160a01b031981166001600160a01b03848116918217845560405192169182907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0905f90a3505050565b612582612b45565b6111d08282612b8e565b612594612b45565b6111b281612bde565b6125a5612b45565b6111b281612c4e565b6125b6612b45565b6112d4612c56565b6125c6612b45565b620151805f5160206139795f395f51905f5255565b6125e3612266565b81805f036126045760405163162908e360e11b815260040160405180910390fd5b81805f036126255760405163162908e360e11b815260040160405180910390fd5b6126328787878787612c5e565b61263a612b06565b50506115c560015f5160206139d95f395f51905f5255565b6040516001600160a01b03838116602483015260448201839052611a9391859182169063a9059cbb906064015b604051602081830303815290604052915060e01b6020820180516001600160e01b038381831617835250505050612d12565b5f5f6126bc83611bbf565b9050808511156126e557828582604051633fa733bb60e21b8152600401610ce49392919061369e565b5f6126ef86610ca1565b90506126fe33868689856125db565b95945050505050565b5f5f61271283611d75565b90508085111561273b57828582604051632e52afbb60e21b8152600401610ce49392919061369e565b5f61274586610c79565b90506126fe338686848a6125db565b5f5f612761868686612d73565b905061276c83612e32565b801561278757505f848061278257612782613664565b868809115b156126fe57612797600182613621565b9695505050505050565b5f5160206139395f395f51905f526001600160a01b0385166127d85760405163e602df0560e01b81525f6004820152602401610ce4565b6001600160a01b03841661280157604051634a1406b160e11b81525f6004820152602401610ce4565b6001600160a01b038086165f908152600183016020908152604080832093881683529290522083905581156115c557836001600160a01b0316856001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9258560405161287591815260200190565b60405180910390a35050505050565b5f5160206139395f395f51905f526001600160a01b0384166128be5781816002015f8282546128b39190613621565b9091555061291b9050565b6001600160a01b0384165f90815260208290526040902054828110156128fd5784818460405163391434e360e21b8152600401610ce49392919061369e565b6001600160a01b0385165f9081526020839052604090209083900390555b6001600160a01b038316612939576002810180548390039055612957565b6001600160a01b0383165f9081526020829052604090208054830190555b826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8460405161299c91815260200190565b60405180910390a350505050565b5f5160206139995f395f51905f52545f5160206139795f395f51905f52906001600160a01b038381169116146129f3576040516316545d4f60e11b815260040160405180910390fd5b8060020154421015612a18576040516364037fb760e11b815260040160405180910390fd5b6001810180546001600160a01b03191690555f60029091015550565b612a3d82612e5e565b6040516001600160a01b038316907fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b905f90a2805115612a8157611a938282612ec1565b6111d0612f2a565b5f5160206139b95f395f51905f528054612aae906001600160a01b0316863086612f49565b612ab88483612f82565b836001600160a01b0316856001600160a01b03167fdcbc1c05240f31ff3ad067ef1ee35ce4997762752e3a095284754544f4c709d78585604051612875929190918252602082015260400190565b5f612b0f610e6f565b90505f81118015612b275750670de0b6b3a764000081105b156111b257604051635a5c1b5560e11b815260040160405180910390fd5b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a0054600160401b900460ff166112d457604051631afcd79f60e31b815260040160405180910390fd5b612b96612b45565b5f5160206139395f395f51905f527f52c63247e1f47db19d5ce0460030c497f067ca4cebf71ba98eeadabe20bace03612bcf8482613813565b50600481016122038382613813565b612be6612b45565b5f5160206139b95f395f51905f525f80612bff84612fb6565b9150915081612c0f576012612c11565b805b83546001600160a81b031916600160a01b60ff92909216919091026001600160a01b031916176001600160a01b0394909416939093179091555050565b6120d7612b45565b61229d612b45565b5f5160206139b95f395f51905f526001600160a01b0386811690851614612c8a57612c8a8487846121b9565b612c94848361308c565b8054612caa906001600160a01b03168685612652565b836001600160a01b0316856001600160a01b0316876001600160a01b03167ffbde797d201c681b91056529119e0b02407c7bb96a4a2c75c01fc9667232c8db8686604051612d02929190918252602082015260400190565b60405180910390a4505050505050565b5f612d266001600160a01b038416836130c0565b905080515f14158015612d4a575080806020019051810190612d4891906138ce565b155b15611a9357604051635274afe760e01b81526001600160a01b0384166004820152602401610ce4565b5f838302815f1985870982811083820303915050805f03612da757838281612d9d57612d9d613664565b0492505050610ea8565b808411612dc75760405163227bc15360e01b815260040160405180910390fd5b5f848688095f868103871696879004966002600389028118808a02820302808a02820302808a02820302808a02820302808a02820302808a02909103029181900381900460010186841190950394909402919094039290920491909117919091029150509392505050565b5f6002826003811115612e4757612e476138ed565b612e519190613901565b60ff166001149050919050565b806001600160a01b03163b5f03612e9357604051634c9c8ce360e01b81526001600160a01b0382166004820152602401610ce4565b5f5160206139595f395f51905f5280546001600160a01b0319166001600160a01b0392909216919091179055565b60605f5f846001600160a01b031684604051612edd9190613922565b5f60405180830381855af49150503d805f8114612f15576040519150601f19603f3d011682016040523d82523d5f602084013e612f1a565b606091505b50915091506126fe8583836130cd565b34156112d45760405163b398979f60e01b815260040160405180910390fd5b6040516001600160a01b0384811660248301528381166044830152606482018390526122039186918216906323b872dd9060840161267f565b6001600160a01b038216612fab5760405163ec442f0560e01b81525f6004820152602401610ce4565b6111d05f8383612884565b60408051600481526024810182526020810180516001600160e01b031663313ce56760e01b17905290515f918291829182916001600160a01b03871691612ffc91613922565b5f60405180830381855afa9150503d805f8114613034576040519150601f19603f3d011682016040523d82523d5f602084013e613039565b606091505b509150915081801561304d57506020815110155b15613080575f8180602001905181019061306791906135be565b905060ff811161307e576001969095509350505050565b505b505f9485945092505050565b6001600160a01b0382166130b557604051634b637e8f60e11b81525f6004820152602401610ce4565b6111d0825f83612884565b6060610ea883835f613129565b6060826130e2576130dd826131b8565b610ea8565b81511580156130f957506001600160a01b0384163b155b1561312257604051639996b31560e01b81526001600160a01b0385166004820152602401610ce4565b5080610ea8565b60608147101561314e5760405163cd78605960e01b8152306004820152602401610ce4565b5f5f856001600160a01b031684866040516131699190613922565b5f6040518083038185875af1925050503d805f81146131a3576040519150601f19603f3d011682016040523d82523d5f602084013e6131a8565b606091505b50915091506127978683836130cd565b8051156131c85780518082602001fd5b604051630a12f52160e11b815260040160405180910390fd5b80356001600160a01b03811681146131f7575f5ffd5b919050565b5f6020828403121561320c575f5ffd5b610ea8826131e1565b602081525f82518060208401528060208501604085015e5f604082850101526040601f19601f83011684010191505092915050565b5f6020828403121561325a575f5ffd5b5035919050565b5f5f60408385031215613272575f5ffd5b61327b836131e1565b946020939093013593505050565b5f5f5f6060848603121561329b575f5ffd5b6132a4846131e1565b92506132b2602085016131e1565b929592945050506040919091013590565b634e487b7160e01b5f52604160045260245ffd5b5f5f604083850312156132e8575f5ffd5b6132f1836131e1565b9150602083013567ffffffffffffffff81111561330c575f5ffd5b8301601f8101851361331c575f5ffd5b803567ffffffffffffffff811115613336576133366132c3565b604051601f8201601f19908116603f0116810167ffffffffffffffff81118282101715613365576133656132c3565b60405281815282820160200187101561337c575f5ffd5b816020840160208301375f602083830101528093505050509250929050565b5f5f604083850312156133ac575f5ffd5b823591506133bc602084016131e1565b90509250929050565b5f5f83601f8401126133d5575f5ffd5b50813567ffffffffffffffff8111156133ec575f5ffd5b602083019150836020828501011115613403575f5ffd5b9250929050565b5f5f5f5f5f5f5f60a0888a031215613420575f5ffd5b613429886131e1565b9650613437602089016131e1565b9550613445604089016131e1565b9450606088013567ffffffffffffffff811115613460575f5ffd5b61346c8a828b016133c5565b909550935050608088013567ffffffffffffffff81111561348b575f5ffd5b6134978a828b016133c5565b989b979a50959850939692959293505050565b5f602082840312156134ba575f5ffd5b813561ffff81168114610ea8575f5ffd5b5f5f604083850312156134dc575f5ffd5b6134e5836131e1565b915060208301356001600160681b0381168114613500575f5ffd5b809150509250929050565b5f5f5f6060848603121561351d575f5ffd5b613526846131e1565b92506020840135915061353b604085016131e1565b90509250925092565b5f5f5f60608486031215613556575f5ffd5b83359250613566602085016131e1565b915061353b604085016131e1565b5f60208284031215613584575f5ffd5b813562ffffff81168114610ea8575f5ffd5b5f5f604083850312156135a7575f5ffd5b6135b0836131e1565b91506133bc602084016131e1565b5f602082840312156135ce575f5ffd5b5051919050565b600181811c908216806135e957607f821691505b60208210810361360757634e487b7160e01b5f52602260045260245ffd5b50919050565b634e487b7160e01b5f52601160045260245ffd5b80820180821115610c8457610c8461360d565b60ff8181168382160190811115610c8457610c8461360d565b8082028115828204841417610c8457610c8461360d565b634e487b7160e01b5f52601260045260245ffd5b5f8261368657613686613664565b500490565b81810381811115610c8457610c8461360d565b6001600160a01b039390931683526020830191909152604082015260600190565b6001600160681b038181168382160190811115610c8457610c8461360d565b6001815b6001841115613719578085048111156136fd576136fd61360d565b600184161561370b57908102905b60019390931c9280026136e2565b935093915050565b5f8261372f57506001610c84565b8161373b57505f610c84565b8160018114613751576002811461375b57613777565b6001915050610c84565b60ff84111561376c5761376c61360d565b50506001821b610c84565b5060208310610133831016604e8410600b841016171561379a575081810a610c84565b6137a65f1984846136de565b805f19048211156137b9576137b961360d565b029392505050565b5f610ea860ff841683613721565b601f821115611a9357805f5260205f20601f840160051c810160208510156137f45750805b601f840160051c820191505b818110156115c5575f8155600101613800565b815167ffffffffffffffff81111561382d5761382d6132c3565b6138418161383b84546135d5565b846137cf565b6020601f821160018114613873575f831561385c5750848201515b5f19600385901b1c1916600184901b1784556115c5565b5f84815260208120601f198516915b828110156138a25787850151825560209485019460019092019101613882565b50848210156138bf57868401515f19600387901b60f8161c191681555b50505050600190811b01905550565b5f602082840312156138de575f5ffd5b81518015158114610ea8575f5ffd5b634e487b7160e01b5f52602160045260245ffd5b5f60ff83168061391357613913613664565b8060ff84160691505092915050565b5f82518060208501845e5f92019182525091905056fe52c63247e1f47db19d5ce0460030c497f067ca4cebf71ba98eeadabe20bace00360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbca9f7ef5782100b08bddb9be7a16303ba138e26e6df1a3e56c7be0bac217aa800a9f7ef5782100b08bddb9be7a16303ba138e26e6df1a3e56c7be0bac217aa8010773e532dfede91f04b12a73d3d2acd361424f41f76b4fb79f090161e36b4e009b779b17422d0df92223018b32b4d1fa46e071723d6817e2486d003becc55f00a164736f6c634300081e000a","recompiledBytecode":"0x60a060405230608052348015610013575f5ffd5b5061001c610021565b6100d3565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00805468010000000000000000900460ff16156100715760405163f92ee8a960e01b815260040160405180910390fd5b80546001600160401b03908116146100d05780546001600160401b0319166001600160401b0390811782556040519081527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b50565b608051613a056100f95f395f81816122bb015281816122e4015261242c0152613a055ff3fe6080604052600436106103b3575f3560e01c80638da5cb5b116101e9578063c63d75b611610108578063da4493f61161009d578063ef8b30f71161006d578063ef8b30f7146109b1578063f2888dbb14610af0578063f2fde38b14610b0f578063f812fa7014610b2e575f5ffd5b8063da4493f614610a7f578063dcc3e06e14610a93578063dd62ed3e14610ab2578063eb3beb2914610ad1575f5ffd5b8063d50655b0116100d8578063d50655b014610a0e578063d87c286714610a2d578063d905777e14610a4c578063d907813c14610a6b575f5ffd5b8063c63d75b614610651578063c6e6f592146109b1578063ce23eb3c146109d0578063ce96cb77146109ef575f5ffd5b8063a63a25f61161017e578063b37fd1901161014e578063b37fd19014610935578063b3d7f6b914610954578063b460af9414610973578063ba08765214610992575f5ffd5b8063a63a25f6146108a8578063a9059cbb146108c7578063ad3cb1cc146108e6578063ae3dc06814610916575f5ffd5b80639606d201116101b95780639606d2011461083757806397379d64146108565780639dc103661461086a578063a2af490014610889575f5ffd5b80638da5cb5b146107d15780638f08d44d146107e557806394bf804d1461080457806395d89b4114610823575f5ffd5b8063396f7b23116102d55780635392fd1c1161026a578063715018a61161023a578063715018a61461074a578063771a3a1d1461075e5780637e48d4ea1461079257806383b43589146107b2575f5ffd5b80635392fd1c146106cd5780635a639912146106ed5780636e553f651461070c57806370a082311461072b575f5ffd5b80634828ced9116102a55780634828ced9146106875780634cdad5061461045c5780634f1ef286146106a657806352d1902d146106b9575f5ffd5b8063396f7b23146106095780633a6462e414610632578063402d267d1461065157806342e7159614610671575f5ffd5b806318160ddd1161034b57806323b872dd1161031b57806323b872dd14610576578063313ce5671461059557806335269315146105bb57806338d52e0f146105dd575f5ffd5b806318160ddd146105095780631e9049cf1461051d5780631fcd3080146105475780632095093314610562575f5ffd5b8063095ea7b311610386578063095ea7b31461047b5780630a28a477146104aa5780630c80447a146104c957806315715313146104ea575f5ffd5b806301320fe2146103b757806301e1d1141461041957806306fdde031461043b57806307a2d13a1461045c575b5f5ffd5b3480156103c2575f5ffd5b506103f56103d13660046131fc565b600160208190525f918252604090912080549101546001600160681b039091169082565b604080516001600160681b0390931683526020830191909152015b60405180910390f35b348015610424575f5ffd5b5061042d610b43565b604051908152602001610410565b348015610446575f5ffd5b5061044f610bb9565b6040516104109190613215565b348015610467575f5ffd5b5061042d61047636600461324a565b610c79565b348015610486575f5ffd5b5061049a610495366004613261565b610c8a565b6040519015158152602001610410565b3480156104b5575f5ffd5b5061042d6104c436600461324a565b610ca1565b3480156104d4575f5ffd5b506104e86104e33660046131fc565b610cad565b005b3480156104f5575f5ffd5b506104e86105043660046131fc565b610db4565b348015610514575f5ffd5b5061042d610e6f565b348015610528575f5ffd5b506105336276a70081565b60405162ffffff9091168152602001610410565b348015610552575f5ffd5b5061042d670de0b6b3a764000081565b34801561056d575f5ffd5b5061042d5f5481565b348015610581575f5ffd5b5061049a610590366004613289565b610e8a565b3480156105a0575f5ffd5b506105a9610eaf565b60405160ff9091168152602001610410565b3480156105c6575f5ffd5b5060045461053390600160a01b900462ffffff1681565b3480156105e8575f5ffd5b506105f1610ede565b6040516001600160a01b039091168152602001610410565b348015610614575f5ffd5b505f5160206139995f395f51905f52546001600160a01b03166105f1565b34801561063d575f5ffd5b506104e861064c3660046131fc565b610eff565b34801561065c575f5ffd5b5061042d61066b3660046131fc565b505f1990565b34801561067c575f5ffd5b5061042d6201518081565b348015610692575f5ffd5b506104e86106a136600461324a565b610fba565b6104e86106b43660046132d7565b6111b5565b3480156106c4575f5ffd5b5061042d6111d4565b3480156106d8575f5ffd5b5060045461049a90600160c81b900460ff1681565b3480156106f8575f5ffd5b506104e861070736600461324a565b6111ef565b348015610717575f5ffd5b5061042d61072636600461339b565b61127a565b348015610736575f5ffd5b5061042d6107453660046131fc565b61129d565b348015610755575f5ffd5b506104e86112c3565b348015610769575f5ffd5b5060045461077f90600160b81b900461ffff1681565b60405161ffff9091168152602001610410565b34801561079d575f5ffd5b505f5160206139795f395f51905f525461042d565b3480156107bd575f5ffd5b506104e86107cc36600461340a565b6112d6565b3480156107dc575f5ffd5b506105f1611504565b3480156107f0575f5ffd5b506104e86107ff36600461324a565b61152c565b34801561080f575f5ffd5b5061042d61081e36600461339b565b6115cc565b34801561082e575f5ffd5b5061044f6115e7565b348015610842575f5ffd5b506104e861085136600461324a565b611625565b348015610861575f5ffd5b506104e86116e7565b348015610875575f5ffd5b506004546105f1906001600160a01b031681565b348015610894575f5ffd5b5061042d6108a336600461339b565b61178d565b3480156108b3575f5ffd5b506104e86108c23660046134aa565b611875565b3480156108d2575f5ffd5b5061049a6108e1366004613261565b61196f565b3480156108f1575f5ffd5b5061044f604051806040016040528060058152602001640352e302e360dc1b81525081565b348015610921575f5ffd5b506104e86109303660046134cb565b61197c565b348015610940575f5ffd5b506104e861094f36600461350b565b611a3e565b34801561095f575f5ffd5b5061042d61096e36600461324a565b611a98565b34801561097e575f5ffd5b5061042d61098d366004613544565b611aa4565b34801561099d575f5ffd5b5061042d6109ac366004613544565b611ade565b3480156109bc575f5ffd5b5061042d6109cb36600461324a565b611b18565b3480156109db575f5ffd5b506104e86109ea366004613574565b611b23565b3480156109fa575f5ffd5b5061042d610a093660046131fc565b611bbf565b348015610a19575f5ffd5b5061042d610a2836600461339b565b611bd2565b348015610a38575f5ffd5b506104e8610a473660046131fc565b611cba565b348015610a57575f5ffd5b5061042d610a663660046131fc565b611d75565b348015610a76575f5ffd5b506104e8611d7f565b348015610a8a575f5ffd5b5061042d611ded565b348015610a9e575f5ffd5b506003546105f1906001600160a01b031681565b348015610abd575f5ffd5b5061042d610acc366004613596565b611e02565b348015610adc575f5ffd5b506002546105f1906001600160a01b031681565b348015610afb575f5ffd5b506104e8610b0a3660046131fc565b611e4b565b348015610b1a575f5ffd5b506104e8610b293660046131fc565b6120cf565b348015610b39575f5ffd5b5061042d60055481565b5f610b4c610ede565b6040516370a0823160e01b81523060048201526001600160a01b0391909116906370a0823190602401602060405180830381865afa158015610b90573d5f5f3e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610bb491906135be565b905090565b7f52c63247e1f47db19d5ce0460030c497f067ca4cebf71ba98eeadabe20bace0380546060915f5160206139395f395f51905f5291610bf7906135d5565b80601f0160208091040260200160405190810160405280929190818152602001828054610c23906135d5565b8015610c6e5780601f10610c4557610100808354040283529160200191610c6e565b820191905f5260205f20905b815481529060010190602001808311610c5157829003601f168201915b505050505091505090565b5f610c84825f612109565b92915050565b5f33610c97818585612146565b5060019392505050565b5f610c84826001612153565b610cb5611504565b6001600160a01b0316336001600160a01b031614610ced5760405163118cdaa760e01b81523360048201526024015b60405180910390fd5b6001600160a01b038116610d145760405163e99d5ac560e01b815260040160405180910390fd5b5f5160206139995f395f51905f5280546001600160a01b0319166001600160a01b0383161790555f5160206139795f395f51905f5280545f9015610d59578154610d5e565b620151805b9050610d6a8142613621565b600283018190556040519081526001600160a01b038416907fe1009627653eb47f7d0f3b4435749f7984a803c21f84a076cc4dcb0412cf066f9060200160405180910390a2505050565b610dbc612187565b6001600160a01b038116610de35760405163f6b2911f60e01b815260040160405180910390fd5b6002546001600160a01b03808316911603610e115760405163a741a04560e01b815260040160405180910390fd5b6040516001600160a01b03821681527f6b49d24dd3285d61bdc40376f699105de0c026f54ed60756482d0f20c0b8abea9060200160405180910390a1600280546001600160a01b0319166001600160a01b0392909216919091179055565b5f805f5160206139395f395f51905f525b6002015492915050565b5f33610e978582856121b9565b610ea2858585612209565b60019150505b9392505050565b5f805f5160206139b95f395f51905f5290505f8154610ed89190600160a01b900460ff16613634565b91505090565b5f805f5160206139b95f395f51905f525b546001600160a01b031692915050565b610f07612187565b6001600160a01b038116610f2e5760405163f6b2911f60e01b815260040160405180910390fd5b6003546001600160a01b03808316911603610f5c5760405163a741a04560e01b815260040160405180910390fd5b6040516001600160a01b03821681527f47c9042c3be42a955f60f9b75006522826af1a3bed83e26646997d3bcccda77c9060200160405180910390a1600380546001600160a01b0319166001600160a01b0392909216919091179055565b610fc2612266565b6003546001600160a01b03163314801590610ff65750610fe0611504565b6001600160a01b0316336001600160a01b031614155b1561101657604051634a0bfec160e01b8152336004820152602401610ce4565b80805f036110375760405163162908e360e11b815260040160405180910390fd5b425f55600454600160b81b900461ffff161580159061106057506004546001600160a01b031615155b1561110c576004545f906103e89061108390600160b81b900461ffff168561364d565b61108d9190613678565b9050611097610ede565b600480546040516340c10f1960e01b81526001600160a01b03918216928101929092526024820184905291909116906340c10f19906044015f604051808303815f87803b1580156110e6575f5ffd5b505af11580156110f8573d5f5f3e3d5ffd5b505050508083611108919061368b565b9250505b611114610ede565b6040516340c10f1960e01b8152306004820152602481018490526001600160a01b0391909116906340c10f19906044015f604051808303815f87803b15801561115b575f5ffd5b505af115801561116d573d5f5f3e3d5ffd5b50506040518492507fbb28dd7cd6be6f61828ea9158a04c5182c716a946a6d2f31f4864edb87471aa691505f90a2506111b260015f5160206139d95f395f51905f5255565b50565b6111bd6122b0565b6111c682612354565b6111d08282612365565b5050565b5f6111dd612421565b505f5160206139595f395f51905f5290565b6111f7612187565b60055481036112195760405163a741a04560e01b815260040160405180910390fd5b670de0b6b3a76400008111156112425760405163648564d360e01b815260040160405180910390fd5b6040518181527fdf2cd4b648795c20aa1aeba11f8ca0264b6ac306acecd2fd590f3c573fe7a5f89060200160405180910390a1600555565b5f5f195f61128785611b18565b90506112953385878461246a565b949350505050565b6001600160a01b03165f9081525f5160206139395f395f51905f52602052604090205490565b6112cb612187565b6112d45f61250a565b565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a008054600160401b810460ff16159067ffffffffffffffff165f8115801561131b5750825b90505f8267ffffffffffffffff1660011480156113375750303b155b905081158015611345575080155b156113635760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff19166001178555831561138d57845460ff60401b1916600160401b1785555b6001600160a01b038a1615806113aa57506001600160a01b038b16155b806113bc57506001600160a01b038c16155b156113da5760405163f6b2911f60e01b815260040160405180910390fd5b61144b89898080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525050604080516020601f8d018190048102820181019092528b815292508b91508a90819084018382808284375f9201919091525061257a92505050565b6114548c61258c565b61145d8a61259d565b6114656125ae565b61146d6125be565b670de0b6b3a76400006005556004805465ff0000ffffff60a01b191664020000127560a71b179055600380546001600160a01b0319166001600160a01b038d1617905583156114f657845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b505050505050505050505050565b5f807f9016d09d72d40fdae2fd8ceac6b6234c7706214fd39c1cd1e609a0528c199300610eef565b611534612187565b6040518181527f23c8e7ecf38ad1e9e1639dfb4b258fc9942ae76b580d2ba43c4a73b9291812c99060200160405180910390a161156f610ede565b6001600160a01b03166342966c68826040518263ffffffff1660e01b815260040161159c91815260200190565b5f604051808303815f87803b1580156115b3575f5ffd5b505af11580156115c5573d5f5f3e3d5ffd5b5050505050565b5f5f195f6115d985611a98565b90506112953385838861246a565b7f52c63247e1f47db19d5ce0460030c497f067ca4cebf71ba98eeadabe20bace0480546060915f5160206139395f395f51905f5291610bf7906135d5565b61162d611504565b6001600160a01b0316336001600160a01b0316146116605760405163118cdaa760e01b8152336004820152602401610ce4565b610e108110156116835760405163a965618960e01b815260040160405180910390fd5b5f6116995f5160206139795f395f51905f525490565b60408051828152602081018590529192507f460e10c89f7fa39a35b0b6bd68e6a834bc423a08a5b10fc1bda0dff3276e2694910160405180910390a1505f5160206139795f395f51905f5255565b6116ef611504565b6001600160a01b0316336001600160a01b0316146117225760405163118cdaa760e01b8152336004820152602401610ce4565b5f5160206139995f395f51905f52546040515f5160206139795f395f51905f52916001600160a01b0316907fd947ef8b4f7aabc4b6a79ec773516b48d12ac25da7af787b659083c6af28cb42905f90a26001810180546001600160a01b03191690555f600290910155565b6004545f90600160a01b900462ffffff1681036117bd57604051637a851da960e11b815260040160405180910390fd5b6117c682611d75565b8311156117e657604051630c668a7160e31b815260040160405180910390fd5b5f6117f084610c79565b60045490915061180c90600160a01b900462ffffff16426136bf565b6001600160a01b0384165f908152600160208190526040822080546001600160681b0319166001600160681b0394909416939093178355919091018054839290611857908490613621565b90915550610ea89050336002546001600160a01b03168584886125db565b61187d612187565b6103e88161ffff16106118e65760405162461bcd60e51b815260206004820152602b60248201527f5461782063616e6e6f742062652031303025202d204d757374206265206c657360448201526a073207468616e20313030360ac1b6064820152608401610ce4565b60045461ffff808316600160b81b90920416036119165760405163a741a04560e01b815260040160405180910390fd5b60405161ffff821681527fc806a10dd41921869155255a462a80195a7bfeb01e4f3431e3a43bdf80e4baa09060200160405180910390a16004805461ffff909216600160b81b0261ffff60b81b19909216919091179055565b5f33610c97818585612209565b611984612187565b6001600160a01b0382165f908152600160205260408120805490916001600160681b0390911690036119c957604051637475d84d60e11b815260040160405180910390fd5b8054604080516001600160a01b03861681526001600160681b03928316602082015291841682820152517f4590c2052b5ebf4a0a703688d2a793d162b6925a337b78387018d7c20ef4ed2e9181900360600190a180546001600160681b0319166001600160681b039290921691909117905550565b611a46612187565b611a4e610ede565b6001600160a01b0316836001600160a01b031603611a7f5760405163c1ab6dc160e01b815260040160405180910390fd5b611a936001600160a01b0384168284612652565b505050565b5f610c84826001612109565b6004545f90600160a01b900462ffffff1615611ad357604051637a851da960e11b815260040160405180910390fd5b6112958484846126b1565b6004545f90600160a01b900462ffffff1615611b0d57604051637a851da960e11b815260040160405180910390fd5b611295848484612707565b5f610c84825f612153565b611b2b612187565b6276a70062ffffff82161115611b5457604051637475d84d60e11b815260040160405180910390fd5b6004805462ffffff838116600160a01b90810262ffffff60a01b198416179384905560408051938290048316808552919094049091166020830152917f180eacdf7dbaeecaa983d93173b4285db2f2c0de0044697e1f932bbbb73dcaa6910160405180910390a15050565b5f610c84611bcc8361129d565b5f612109565b6004545f90600160a01b900462ffffff168103611c0257604051637a851da960e11b815260040160405180910390fd5b611c0b82611bbf565b831115611c2b57604051636fa9eef160e11b815260040160405180910390fd5b5f611c3584610ca1565b600454909150611c5190600160a01b900462ffffff16426136bf565b6001600160a01b0384165f908152600160208190526040822080546001600160681b0319166001600160681b0394909416939093178355919091018054869290611c9c908490613621565b90915550610ea89050336002546001600160a01b03168587856125db565b611cc2612187565b6001600160a01b038116611ce95760405163f6b2911f60e01b815260040160405180910390fd5b6004546001600160a01b03808316911603611d175760405163a741a04560e01b815260040160405180910390fd5b6040516001600160a01b03821681527fdb8167fc515fc9095f0a3a91bcd16cf7f1a9b3cc52ebad83691f81180d5098a59060200160405180910390a1600480546001600160a01b0319166001600160a01b0392909216919091179055565b5f610c848261129d565b611d87612187565b6004805460ff600160c81b808304821615810260ff60c81b1990931692909217928390556040517f79a0d73b50e293c1e17b973f07d567c5a14399afb5e2373c44a82e9f9109d71693611de39390049091161515815260200190565b60405180910390a1565b5f805f5160206139795f395f51905f52610e80565b6001600160a01b039182165f9081527f52c63247e1f47db19d5ce0460030c497f067ca4cebf71ba98eeadabe20bace016020908152604080832093909416825291909152205490565b611e53612266565b335f908152600160208190526040909120908101548154426001600160681b039091161115611ea957815460405163922bceef60e01b81524260048201526001600160681b039091166024820152604401610ce4565b805f03611ec95760405163422f6e3560e11b815260040160405180910390fd5b6005545f03611eeb57604051637cf9af2360e11b815260040160405180910390fd5b81546001600160681b03191682555f60018301556005548190670de0b6b3a7640000111561200557670de0b6b3a764000060055483611f2a919061364d565b611f349190613678565b90505f611f41828461368b565b60025460405163f3fef3a360e01b8152306004820152602481018390529192506001600160a01b03169063f3fef3a3906044015f604051808303815f87803b158015611f8b575f5ffd5b505af1158015611f9d573d5f5f3e3d5ffd5b50505050611fa9610ede565b6001600160a01b03166342966c68826040518263ffffffff1660e01b8152600401611fd691815260200190565b5f604051808303815f87803b158015611fed575f5ffd5b505af1158015611fff573d5f5f3e3d5ffd5b50505050505b604080513381526001600160a01b0386166020820152908101839052606081018290527f18edd09e80386cd99df397e2e0d87d2bb259423eae08645e776321a36fe680ef9060800160405180910390a160025460405163f3fef3a360e01b81526001600160a01b038681166004830152602482018490529091169063f3fef3a3906044015f604051808303815f87803b1580156120a0575f5ffd5b505af11580156120b2573d5f5f3e3d5ffd5b505050505050506111b260015f5160206139d95f395f51905f5255565b6120d7612187565b6001600160a01b03811661210057604051631e4fbdf760e01b81525f6004820152602401610ce4565b6111b28161250a565b5f610ea8612115610b43565b612120906001613621565b61212b5f600a6137c1565b612133610e6f565b61213d9190613621565b85919085612754565b611a9383838360016127a1565b5f610ea861216282600a6137c1565b61216a610e6f565b6121749190613621565b61217c610b43565b61213d906001613621565b33612190611504565b6001600160a01b0316146112d45760405163118cdaa760e01b8152336004820152602401610ce4565b5f6121c48484611e02565b90505f19811461220357818110156121f557828183604051637dc7a0d960e11b8152600401610ce49392919061369e565b61220384848484035f6127a1565b50505050565b6001600160a01b03831661223257604051634b637e8f60e11b81525f6004820152602401610ce4565b6001600160a01b03821661225b5760405163ec442f0560e01b81525f6004820152602401610ce4565b611a93838383612884565b5f5160206139d95f395f51905f5280546001190161229757604051633ee5aeb560e01b815260040160405180910390fd5b60029055565b60015f5160206139d95f395f51905f5255565b306001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016148061233657507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031661232a5f5160206139595f395f51905f52546001600160a01b031690565b6001600160a01b031614155b156112d45760405163703e46dd60e11b815260040160405180910390fd5b61235c612187565b6111b2816129aa565b816001600160a01b03166352d1902d6040518163ffffffff1660e01b8152600401602060405180830381865afa9250505080156123bf575060408051601f3d908101601f191682019092526123bc918101906135be565b60015b6123e757604051634c9c8ce360e01b81526001600160a01b0383166004820152602401610ce4565b5f5160206139595f395f51905f52811461241757604051632a87526960e21b815260048101829052602401610ce4565b611a938383612a34565b306001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016146112d45760405163703e46dd60e11b815260040160405180910390fd5b612472612266565b600454600160c81b900460ff1661249c57604051630e2f42c960e31b815260040160405180910390fd5b81805f036124bd5760405163162908e360e11b815260040160405180910390fd5b81805f036124de5760405163162908e360e11b815260040160405180910390fd5b6124ea86868686612a89565b6124f2612b06565b505061220360015f5160206139d95f395f51905f5255565b7f9016d09d72d40fdae2fd8ceac6b6234c7706214fd39c1cd1e609a0528c19930080546001600160a01b031981166001600160a01b03848116918217845560405192169182907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0905f90a3505050565b612582612b45565b6111d08282612b8e565b612594612b45565b6111b281612bde565b6125a5612b45565b6111b281612c4e565b6125b6612b45565b6112d4612c56565b6125c6612b45565b620151805f5160206139795f395f51905f5255565b6125e3612266565b81805f036126045760405163162908e360e11b815260040160405180910390fd5b81805f036126255760405163162908e360e11b815260040160405180910390fd5b6126328787878787612c5e565b61263a612b06565b50506115c560015f5160206139d95f395f51905f5255565b6040516001600160a01b03838116602483015260448201839052611a9391859182169063a9059cbb906064015b604051602081830303815290604052915060e01b6020820180516001600160e01b038381831617835250505050612d12565b5f5f6126bc83611bbf565b9050808511156126e557828582604051633fa733bb60e21b8152600401610ce49392919061369e565b5f6126ef86610ca1565b90506126fe33868689856125db565b95945050505050565b5f5f61271283611d75565b90508085111561273b57828582604051632e52afbb60e21b8152600401610ce49392919061369e565b5f61274586610c79565b90506126fe338686848a6125db565b5f5f612761868686612d73565b905061276c83612e32565b801561278757505f848061278257612782613664565b868809115b156126fe57612797600182613621565b9695505050505050565b5f5160206139395f395f51905f526001600160a01b0385166127d85760405163e602df0560e01b81525f6004820152602401610ce4565b6001600160a01b03841661280157604051634a1406b160e11b81525f6004820152602401610ce4565b6001600160a01b038086165f908152600183016020908152604080832093881683529290522083905581156115c557836001600160a01b0316856001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9258560405161287591815260200190565b60405180910390a35050505050565b5f5160206139395f395f51905f526001600160a01b0384166128be5781816002015f8282546128b39190613621565b9091555061291b9050565b6001600160a01b0384165f90815260208290526040902054828110156128fd5784818460405163391434e360e21b8152600401610ce49392919061369e565b6001600160a01b0385165f9081526020839052604090209083900390555b6001600160a01b038316612939576002810180548390039055612957565b6001600160a01b0383165f9081526020829052604090208054830190555b826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8460405161299c91815260200190565b60405180910390a350505050565b5f5160206139995f395f51905f52545f5160206139795f395f51905f52906001600160a01b038381169116146129f3576040516316545d4f60e11b815260040160405180910390fd5b8060020154421015612a18576040516364037fb760e11b815260040160405180910390fd5b6001810180546001600160a01b03191690555f60029091015550565b612a3d82612e5e565b6040516001600160a01b038316907fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b905f90a2805115612a8157611a938282612ec1565b6111d0612f2a565b5f5160206139b95f395f51905f528054612aae906001600160a01b0316863086612f49565b612ab88483612f82565b836001600160a01b0316856001600160a01b03167fdcbc1c05240f31ff3ad067ef1ee35ce4997762752e3a095284754544f4c709d78585604051612875929190918252602082015260400190565b5f612b0f610e6f565b90505f81118015612b275750670de0b6b3a764000081105b156111b257604051635a5c1b5560e11b815260040160405180910390fd5b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a0054600160401b900460ff166112d457604051631afcd79f60e31b815260040160405180910390fd5b612b96612b45565b5f5160206139395f395f51905f527f52c63247e1f47db19d5ce0460030c497f067ca4cebf71ba98eeadabe20bace03612bcf8482613813565b50600481016122038382613813565b612be6612b45565b5f5160206139b95f395f51905f525f80612bff84612fb6565b9150915081612c0f576012612c11565b805b83546001600160a81b031916600160a01b60ff92909216919091026001600160a01b031916176001600160a01b0394909416939093179091555050565b6120d7612b45565b61229d612b45565b5f5160206139b95f395f51905f526001600160a01b0386811690851614612c8a57612c8a8487846121b9565b612c94848361308c565b8054612caa906001600160a01b03168685612652565b836001600160a01b0316856001600160a01b0316876001600160a01b03167ffbde797d201c681b91056529119e0b02407c7bb96a4a2c75c01fc9667232c8db8686604051612d02929190918252602082015260400190565b60405180910390a4505050505050565b5f612d266001600160a01b038416836130c0565b905080515f14158015612d4a575080806020019051810190612d4891906138ce565b155b15611a9357604051635274afe760e01b81526001600160a01b0384166004820152602401610ce4565b5f838302815f1985870982811083820303915050805f03612da757838281612d9d57612d9d613664565b0492505050610ea8565b808411612dc75760405163227bc15360e01b815260040160405180910390fd5b5f848688095f868103871696879004966002600389028118808a02820302808a02820302808a02820302808a02820302808a02820302808a02909103029181900381900460010186841190950394909402919094039290920491909117919091029150509392505050565b5f6002826003811115612e4757612e476138ed565b612e519190613901565b60ff166001149050919050565b806001600160a01b03163b5f03612e9357604051634c9c8ce360e01b81526001600160a01b0382166004820152602401610ce4565b5f5160206139595f395f51905f5280546001600160a01b0319166001600160a01b0392909216919091179055565b60605f5f846001600160a01b031684604051612edd9190613922565b5f60405180830381855af49150503d805f8114612f15576040519150601f19603f3d011682016040523d82523d5f602084013e612f1a565b606091505b50915091506126fe8583836130cd565b34156112d45760405163b398979f60e01b815260040160405180910390fd5b6040516001600160a01b0384811660248301528381166044830152606482018390526122039186918216906323b872dd9060840161267f565b6001600160a01b038216612fab5760405163ec442f0560e01b81525f6004820152602401610ce4565b6111d05f8383612884565b60408051600481526024810182526020810180516001600160e01b031663313ce56760e01b17905290515f918291829182916001600160a01b03871691612ffc91613922565b5f60405180830381855afa9150503d805f8114613034576040519150601f19603f3d011682016040523d82523d5f602084013e613039565b606091505b509150915081801561304d57506020815110155b15613080575f8180602001905181019061306791906135be565b905060ff811161307e576001969095509350505050565b505b505f9485945092505050565b6001600160a01b0382166130b557604051634b637e8f60e11b81525f6004820152602401610ce4565b6111d0825f83612884565b6060610ea883835f613129565b6060826130e2576130dd826131b8565b610ea8565b81511580156130f957506001600160a01b0384163b155b1561312257604051639996b31560e01b81526001600160a01b0385166004820152602401610ce4565b5080610ea8565b60608147101561314e5760405163cd78605960e01b8152306004820152602401610ce4565b5f5f856001600160a01b031684866040516131699190613922565b5f6040518083038185875af1925050503d805f81146131a3576040519150601f19603f3d011682016040523d82523d5f602084013e6131a8565b606091505b50915091506127978683836130cd565b8051156131c85780518082602001fd5b604051630a12f52160e11b815260040160405180910390fd5b80356001600160a01b03811681146131f7575f5ffd5b919050565b5f6020828403121561320c575f5ffd5b610ea8826131e1565b602081525f82518060208401528060208501604085015e5f604082850101526040601f19601f83011684010191505092915050565b5f6020828403121561325a575f5ffd5b5035919050565b5f5f60408385031215613272575f5ffd5b61327b836131e1565b946020939093013593505050565b5f5f5f6060848603121561329b575f5ffd5b6132a4846131e1565b92506132b2602085016131e1565b929592945050506040919091013590565b634e487b7160e01b5f52604160045260245ffd5b5f5f604083850312156132e8575f5ffd5b6132f1836131e1565b9150602083013567ffffffffffffffff81111561330c575f5ffd5b8301601f8101851361331c575f5ffd5b803567ffffffffffffffff811115613336576133366132c3565b604051601f8201601f19908116603f0116810167ffffffffffffffff81118282101715613365576133656132c3565b60405281815282820160200187101561337c575f5ffd5b816020840160208301375f602083830101528093505050509250929050565b5f5f604083850312156133ac575f5ffd5b823591506133bc602084016131e1565b90509250929050565b5f5f83601f8401126133d5575f5ffd5b50813567ffffffffffffffff8111156133ec575f5ffd5b602083019150836020828501011115613403575f5ffd5b9250929050565b5f5f5f5f5f5f5f60a0888a031215613420575f5ffd5b613429886131e1565b9650613437602089016131e1565b9550613445604089016131e1565b9450606088013567ffffffffffffffff811115613460575f5ffd5b61346c8a828b016133c5565b909550935050608088013567ffffffffffffffff81111561348b575f5ffd5b6134978a828b016133c5565b989b979a50959850939692959293505050565b5f602082840312156134ba575f5ffd5b813561ffff81168114610ea8575f5ffd5b5f5f604083850312156134dc575f5ffd5b6134e5836131e1565b915060208301356001600160681b0381168114613500575f5ffd5b809150509250929050565b5f5f5f6060848603121561351d575f5ffd5b613526846131e1565b92506020840135915061353b604085016131e1565b90509250925092565b5f5f5f60608486031215613556575f5ffd5b83359250613566602085016131e1565b915061353b604085016131e1565b5f60208284031215613584575f5ffd5b813562ffffff81168114610ea8575f5ffd5b5f5f604083850312156135a7575f5ffd5b6135b0836131e1565b91506133bc602084016131e1565b5f602082840312156135ce575f5ffd5b5051919050565b600181811c908216806135e957607f821691505b60208210810361360757634e487b7160e01b5f52602260045260245ffd5b50919050565b634e487b7160e01b5f52601160045260245ffd5b80820180821115610c8457610c8461360d565b60ff8181168382160190811115610c8457610c8461360d565b8082028115828204841417610c8457610c8461360d565b634e487b7160e01b5f52601260045260245ffd5b5f8261368657613686613664565b500490565b81810381811115610c8457610c8461360d565b6001600160a01b039390931683526020830191909152604082015260600190565b6001600160681b038181168382160190811115610c8457610c8461360d565b6001815b6001841115613719578085048111156136fd576136fd61360d565b600184161561370b57908102905b60019390931c9280026136e2565b935093915050565b5f8261372f57506001610c84565b8161373b57505f610c84565b8160018114613751576002811461375b57613777565b6001915050610c84565b60ff84111561376c5761376c61360d565b50506001821b610c84565b5060208310610133831016604e8410600b841016171561379a575081810a610c84565b6137a65f1984846136de565b805f19048211156137b9576137b961360d565b029392505050565b5f610ea860ff841683613721565b601f821115611a9357805f5260205f20601f840160051c810160208510156137f45750805b601f840160051c820191505b818110156115c5575f8155600101613800565b815167ffffffffffffffff81111561382d5761382d6132c3565b6138418161383b84546135d5565b846137cf565b6020601f821160018114613873575f831561385c5750848201515b5f19600385901b1c1916600184901b1784556115c5565b5f84815260208120601f198516915b828110156138a25787850151825560209485019460019092019101613882565b50848210156138bf57868401515f19600387901b60f8161c191681555b50505050600190811b01905550565b5f602082840312156138de575f5ffd5b81518015158114610ea8575f5ffd5b634e487b7160e01b5f52602160045260245ffd5b5f60ff83168061391357613913613664565b8060ff84160691505092915050565b5f82518060208501845e5f92019182525091905056fe52c63247e1f47db19d5ce0460030c497f067ca4cebf71ba98eeadabe20bace00360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbca9f7ef5782100b08bddb9be7a16303ba138e26e6df1a3e56c7be0bac217aa800a9f7ef5782100b08bddb9be7a16303ba138e26e6df1a3e56c7be0bac217aa8010773e532dfede91f04b12a73d3d2acd361424f41f76b4fb79f090161e36b4e009b779b17422d0df92223018b32b4d1fa46e071723d6817e2486d003becc55f00a164736f6c634300081e000a","sourceMap":"2228:15472:22:-:0;;;1060:4:11;1017:48;;5136:53:22;;;;;;;;;-1:-1:-1;5160:22:22;:20;:22::i;:::-;2228:15472;;7711:422:1;8870:21;7900:15;;;;;;;7896:76;;;7938:23;;-1:-1:-1;;;7938:23:1;;;;;;;;;;;7896:76;7985:14;;-1:-1:-1;;;;;7985:14:1;;;:34;7981:146;;8035:33;;-1:-1:-1;;;;;;8035:33:1;-1:-1:-1;;;;;8035:33:1;;;;;8087:29;;158:50:24;;;8087:29:1;;146:2:24;131:18;8087:29:1;;;;;;;7981:146;7760:373;7711:422::o;14:200:24:-;2228:15472:22;;;;;;;;;;;;;;;;;;;;;;","linkReferences":{},"cborAuxdata":{"1":{"value":"0xa164736f6c634300081e000a","offset":15090}},"transformations":[],"transformationValues":{}},"runtimeBytecode":{"onchainBytecode":"0x6080604052600436106103b3575f3560e01c80638da5cb5b116101e9578063c63d75b611610108578063da4493f61161009d578063ef8b30f71161006d578063ef8b30f7146109b1578063f2888dbb14610af0578063f2fde38b14610b0f578063f812fa7014610b2e575f5ffd5b8063da4493f614610a7f578063dcc3e06e14610a93578063dd62ed3e14610ab2578063eb3beb2914610ad1575f5ffd5b8063d50655b0116100d8578063d50655b014610a0e578063d87c286714610a2d578063d905777e14610a4c578063d907813c14610a6b575f5ffd5b8063c63d75b614610651578063c6e6f592146109b1578063ce23eb3c146109d0578063ce96cb77146109ef575f5ffd5b8063a63a25f61161017e578063b37fd1901161014e578063b37fd19014610935578063b3d7f6b914610954578063b460af9414610973578063ba08765214610992575f5ffd5b8063a63a25f6146108a8578063a9059cbb146108c7578063ad3cb1cc146108e6578063ae3dc06814610916575f5ffd5b80639606d201116101b95780639606d2011461083757806397379d64146108565780639dc103661461086a578063a2af490014610889575f5ffd5b80638da5cb5b146107d15780638f08d44d146107e557806394bf804d1461080457806395d89b4114610823575f5ffd5b8063396f7b23116102d55780635392fd1c1161026a578063715018a61161023a578063715018a61461074a578063771a3a1d1461075e5780637e48d4ea1461079257806383b43589146107b2575f5ffd5b80635392fd1c146106cd5780635a639912146106ed5780636e553f651461070c57806370a082311461072b575f5ffd5b80634828ced9116102a55780634828ced9146106875780634cdad5061461045c5780634f1ef286146106a657806352d1902d146106b9575f5ffd5b8063396f7b23146106095780633a6462e414610632578063402d267d1461065157806342e7159614610671575f5ffd5b806318160ddd1161034b57806323b872dd1161031b57806323b872dd14610576578063313ce5671461059557806335269315146105bb57806338d52e0f146105dd575f5ffd5b806318160ddd146105095780631e9049cf1461051d5780631fcd3080146105475780632095093314610562575f5ffd5b8063095ea7b311610386578063095ea7b31461047b5780630a28a477146104aa5780630c80447a146104c957806315715313146104ea575f5ffd5b806301320fe2146103b757806301e1d1141461041957806306fdde031461043b57806307a2d13a1461045c575b5f5ffd5b3480156103c2575f5ffd5b506103f56103d13660046131fc565b600160208190525f918252604090912080549101546001600160681b039091169082565b604080516001600160681b0390931683526020830191909152015b60405180910390f35b348015610424575f5ffd5b5061042d610b43565b604051908152602001610410565b348015610446575f5ffd5b5061044f610bb9565b6040516104109190613215565b348015610467575f5ffd5b5061042d61047636600461324a565b610c79565b348015610486575f5ffd5b5061049a610495366004613261565b610c8a565b6040519015158152602001610410565b3480156104b5575f5ffd5b5061042d6104c436600461324a565b610ca1565b3480156104d4575f5ffd5b506104e86104e33660046131fc565b610cad565b005b3480156104f5575f5ffd5b506104e86105043660046131fc565b610db4565b348015610514575f5ffd5b5061042d610e6f565b348015610528575f5ffd5b506105336276a70081565b60405162ffffff9091168152602001610410565b348015610552575f5ffd5b5061042d670de0b6b3a764000081565b34801561056d575f5ffd5b5061042d5f5481565b348015610581575f5ffd5b5061049a610590366004613289565b610e8a565b3480156105a0575f5ffd5b506105a9610eaf565b60405160ff9091168152602001610410565b3480156105c6575f5ffd5b5060045461053390600160a01b900462ffffff1681565b3480156105e8575f5ffd5b506105f1610ede565b6040516001600160a01b039091168152602001610410565b348015610614575f5ffd5b505f5160206139995f395f51905f52546001600160a01b03166105f1565b34801561063d575f5ffd5b506104e861064c3660046131fc565b610eff565b34801561065c575f5ffd5b5061042d61066b3660046131fc565b505f1990565b34801561067c575f5ffd5b5061042d6201518081565b348015610692575f5ffd5b506104e86106a136600461324a565b610fba565b6104e86106b43660046132d7565b6111b5565b3480156106c4575f5ffd5b5061042d6111d4565b3480156106d8575f5ffd5b5060045461049a90600160c81b900460ff1681565b3480156106f8575f5ffd5b506104e861070736600461324a565b6111ef565b348015610717575f5ffd5b5061042d61072636600461339b565b61127a565b348015610736575f5ffd5b5061042d6107453660046131fc565b61129d565b348015610755575f5ffd5b506104e86112c3565b348015610769575f5ffd5b5060045461077f90600160b81b900461ffff1681565b60405161ffff9091168152602001610410565b34801561079d575f5ffd5b505f5160206139795f395f51905f525461042d565b3480156107bd575f5ffd5b506104e86107cc36600461340a565b6112d6565b3480156107dc575f5ffd5b506105f1611504565b3480156107f0575f5ffd5b506104e86107ff36600461324a565b61152c565b34801561080f575f5ffd5b5061042d61081e36600461339b565b6115cc565b34801561082e575f5ffd5b5061044f6115e7565b348015610842575f5ffd5b506104e861085136600461324a565b611625565b348015610861575f5ffd5b506104e86116e7565b348015610875575f5ffd5b506004546105f1906001600160a01b031681565b348015610894575f5ffd5b5061042d6108a336600461339b565b61178d565b3480156108b3575f5ffd5b506104e86108c23660046134aa565b611875565b3480156108d2575f5ffd5b5061049a6108e1366004613261565b61196f565b3480156108f1575f5ffd5b5061044f604051806040016040528060058152602001640352e302e360dc1b81525081565b348015610921575f5ffd5b506104e86109303660046134cb565b61197c565b348015610940575f5ffd5b506104e861094f36600461350b565b611a3e565b34801561095f575f5ffd5b5061042d61096e36600461324a565b611a98565b34801561097e575f5ffd5b5061042d61098d366004613544565b611aa4565b34801561099d575f5ffd5b5061042d6109ac366004613544565b611ade565b3480156109bc575f5ffd5b5061042d6109cb36600461324a565b611b18565b3480156109db575f5ffd5b506104e86109ea366004613574565b611b23565b3480156109fa575f5ffd5b5061042d610a093660046131fc565b611bbf565b348015610a19575f5ffd5b5061042d610a2836600461339b565b611bd2565b348015610a38575f5ffd5b506104e8610a473660046131fc565b611cba565b348015610a57575f5ffd5b5061042d610a663660046131fc565b611d75565b348015610a76575f5ffd5b506104e8611d7f565b348015610a8a575f5ffd5b5061042d611ded565b348015610a9e575f5ffd5b506003546105f1906001600160a01b031681565b348015610abd575f5ffd5b5061042d610acc366004613596565b611e02565b348015610adc575f5ffd5b506002546105f1906001600160a01b031681565b348015610afb575f5ffd5b506104e8610b0a3660046131fc565b611e4b565b348015610b1a575f5ffd5b506104e8610b293660046131fc565b6120cf565b348015610b39575f5ffd5b5061042d60055481565b5f610b4c610ede565b6040516370a0823160e01b81523060048201526001600160a01b0391909116906370a0823190602401602060405180830381865afa158015610b90573d5f5f3e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610bb491906135be565b905090565b7f52c63247e1f47db19d5ce0460030c497f067ca4cebf71ba98eeadabe20bace0380546060915f5160206139395f395f51905f5291610bf7906135d5565b80601f0160208091040260200160405190810160405280929190818152602001828054610c23906135d5565b8015610c6e5780601f10610c4557610100808354040283529160200191610c6e565b820191905f5260205f20905b815481529060010190602001808311610c5157829003601f168201915b505050505091505090565b5f610c84825f612109565b92915050565b5f33610c97818585612146565b5060019392505050565b5f610c84826001612153565b610cb5611504565b6001600160a01b0316336001600160a01b031614610ced5760405163118cdaa760e01b81523360048201526024015b60405180910390fd5b6001600160a01b038116610d145760405163e99d5ac560e01b815260040160405180910390fd5b5f5160206139995f395f51905f5280546001600160a01b0319166001600160a01b0383161790555f5160206139795f395f51905f5280545f9015610d59578154610d5e565b620151805b9050610d6a8142613621565b600283018190556040519081526001600160a01b038416907fe1009627653eb47f7d0f3b4435749f7984a803c21f84a076cc4dcb0412cf066f9060200160405180910390a2505050565b610dbc612187565b6001600160a01b038116610de35760405163f6b2911f60e01b815260040160405180910390fd5b6002546001600160a01b03808316911603610e115760405163a741a04560e01b815260040160405180910390fd5b6040516001600160a01b03821681527f6b49d24dd3285d61bdc40376f699105de0c026f54ed60756482d0f20c0b8abea9060200160405180910390a1600280546001600160a01b0319166001600160a01b0392909216919091179055565b5f805f5160206139395f395f51905f525b6002015492915050565b5f33610e978582856121b9565b610ea2858585612209565b60019150505b9392505050565b5f805f5160206139b95f395f51905f5290505f8154610ed89190600160a01b900460ff16613634565b91505090565b5f805f5160206139b95f395f51905f525b546001600160a01b031692915050565b610f07612187565b6001600160a01b038116610f2e5760405163f6b2911f60e01b815260040160405180910390fd5b6003546001600160a01b03808316911603610f5c5760405163a741a04560e01b815260040160405180910390fd5b6040516001600160a01b03821681527f47c9042c3be42a955f60f9b75006522826af1a3bed83e26646997d3bcccda77c9060200160405180910390a1600380546001600160a01b0319166001600160a01b0392909216919091179055565b610fc2612266565b6003546001600160a01b03163314801590610ff65750610fe0611504565b6001600160a01b0316336001600160a01b031614155b1561101657604051634a0bfec160e01b8152336004820152602401610ce4565b80805f036110375760405163162908e360e11b815260040160405180910390fd5b425f55600454600160b81b900461ffff161580159061106057506004546001600160a01b031615155b1561110c576004545f906103e89061108390600160b81b900461ffff168561364d565b61108d9190613678565b9050611097610ede565b600480546040516340c10f1960e01b81526001600160a01b03918216928101929092526024820184905291909116906340c10f19906044015f604051808303815f87803b1580156110e6575f5ffd5b505af11580156110f8573d5f5f3e3d5ffd5b505050508083611108919061368b565b9250505b611114610ede565b6040516340c10f1960e01b8152306004820152602481018490526001600160a01b0391909116906340c10f19906044015f604051808303815f87803b15801561115b575f5ffd5b505af115801561116d573d5f5f3e3d5ffd5b50506040518492507fbb28dd7cd6be6f61828ea9158a04c5182c716a946a6d2f31f4864edb87471aa691505f90a2506111b260015f5160206139d95f395f51905f5255565b50565b6111bd6122b0565b6111c682612354565b6111d08282612365565b5050565b5f6111dd612421565b505f5160206139595f395f51905f5290565b6111f7612187565b60055481036112195760405163a741a04560e01b815260040160405180910390fd5b670de0b6b3a76400008111156112425760405163648564d360e01b815260040160405180910390fd5b6040518181527fdf2cd4b648795c20aa1aeba11f8ca0264b6ac306acecd2fd590f3c573fe7a5f89060200160405180910390a1600555565b5f5f195f61128785611b18565b90506112953385878461246a565b949350505050565b6001600160a01b03165f9081525f5160206139395f395f51905f52602052604090205490565b6112cb612187565b6112d45f61250a565b565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a008054600160401b810460ff16159067ffffffffffffffff165f8115801561131b5750825b90505f8267ffffffffffffffff1660011480156113375750303b155b905081158015611345575080155b156113635760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff19166001178555831561138d57845460ff60401b1916600160401b1785555b6001600160a01b038a1615806113aa57506001600160a01b038b16155b806113bc57506001600160a01b038c16155b156113da5760405163f6b2911f60e01b815260040160405180910390fd5b61144b89898080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525050604080516020601f8d018190048102820181019092528b815292508b91508a90819084018382808284375f9201919091525061257a92505050565b6114548c61258c565b61145d8a61259d565b6114656125ae565b61146d6125be565b670de0b6b3a76400006005556004805465ff0000ffffff60a01b191664020000127560a71b179055600380546001600160a01b0319166001600160a01b038d1617905583156114f657845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b505050505050505050505050565b5f807f9016d09d72d40fdae2fd8ceac6b6234c7706214fd39c1cd1e609a0528c199300610eef565b611534612187565b6040518181527f23c8e7ecf38ad1e9e1639dfb4b258fc9942ae76b580d2ba43c4a73b9291812c99060200160405180910390a161156f610ede565b6001600160a01b03166342966c68826040518263ffffffff1660e01b815260040161159c91815260200190565b5f604051808303815f87803b1580156115b3575f5ffd5b505af11580156115c5573d5f5f3e3d5ffd5b5050505050565b5f5f195f6115d985611a98565b90506112953385838861246a565b7f52c63247e1f47db19d5ce0460030c497f067ca4cebf71ba98eeadabe20bace0480546060915f5160206139395f395f51905f5291610bf7906135d5565b61162d611504565b6001600160a01b0316336001600160a01b0316146116605760405163118cdaa760e01b8152336004820152602401610ce4565b610e108110156116835760405163a965618960e01b815260040160405180910390fd5b5f6116995f5160206139795f395f51905f525490565b60408051828152602081018590529192507f460e10c89f7fa39a35b0b6bd68e6a834bc423a08a5b10fc1bda0dff3276e2694910160405180910390a1505f5160206139795f395f51905f5255565b6116ef611504565b6001600160a01b0316336001600160a01b0316146117225760405163118cdaa760e01b8152336004820152602401610ce4565b5f5160206139995f395f51905f52546040515f5160206139795f395f51905f52916001600160a01b0316907fd947ef8b4f7aabc4b6a79ec773516b48d12ac25da7af787b659083c6af28cb42905f90a26001810180546001600160a01b03191690555f600290910155565b6004545f90600160a01b900462ffffff1681036117bd57604051637a851da960e11b815260040160405180910390fd5b6117c682611d75565b8311156117e657604051630c668a7160e31b815260040160405180910390fd5b5f6117f084610c79565b60045490915061180c90600160a01b900462ffffff16426136bf565b6001600160a01b0384165f908152600160208190526040822080546001600160681b0319166001600160681b0394909416939093178355919091018054839290611857908490613621565b90915550610ea89050336002546001600160a01b03168584886125db565b61187d612187565b6103e88161ffff16106118e65760405162461bcd60e51b815260206004820152602b60248201527f5461782063616e6e6f742062652031303025202d204d757374206265206c657360448201526a073207468616e20313030360ac1b6064820152608401610ce4565b60045461ffff808316600160b81b90920416036119165760405163a741a04560e01b815260040160405180910390fd5b60405161ffff821681527fc806a10dd41921869155255a462a80195a7bfeb01e4f3431e3a43bdf80e4baa09060200160405180910390a16004805461ffff909216600160b81b0261ffff60b81b19909216919091179055565b5f33610c97818585612209565b611984612187565b6001600160a01b0382165f908152600160205260408120805490916001600160681b0390911690036119c957604051637475d84d60e11b815260040160405180910390fd5b8054604080516001600160a01b03861681526001600160681b03928316602082015291841682820152517f4590c2052b5ebf4a0a703688d2a793d162b6925a337b78387018d7c20ef4ed2e9181900360600190a180546001600160681b0319166001600160681b039290921691909117905550565b611a46612187565b611a4e610ede565b6001600160a01b0316836001600160a01b031603611a7f5760405163c1ab6dc160e01b815260040160405180910390fd5b611a936001600160a01b0384168284612652565b505050565b5f610c84826001612109565b6004545f90600160a01b900462ffffff1615611ad357604051637a851da960e11b815260040160405180910390fd5b6112958484846126b1565b6004545f90600160a01b900462ffffff1615611b0d57604051637a851da960e11b815260040160405180910390fd5b611295848484612707565b5f610c84825f612153565b611b2b612187565b6276a70062ffffff82161115611b5457604051637475d84d60e11b815260040160405180910390fd5b6004805462ffffff838116600160a01b90810262ffffff60a01b198416179384905560408051938290048316808552919094049091166020830152917f180eacdf7dbaeecaa983d93173b4285db2f2c0de0044697e1f932bbbb73dcaa6910160405180910390a15050565b5f610c84611bcc8361129d565b5f612109565b6004545f90600160a01b900462ffffff168103611c0257604051637a851da960e11b815260040160405180910390fd5b611c0b82611bbf565b831115611c2b57604051636fa9eef160e11b815260040160405180910390fd5b5f611c3584610ca1565b600454909150611c5190600160a01b900462ffffff16426136bf565b6001600160a01b0384165f908152600160208190526040822080546001600160681b0319166001600160681b0394909416939093178355919091018054869290611c9c908490613621565b90915550610ea89050336002546001600160a01b03168587856125db565b611cc2612187565b6001600160a01b038116611ce95760405163f6b2911f60e01b815260040160405180910390fd5b6004546001600160a01b03808316911603611d175760405163a741a04560e01b815260040160405180910390fd5b6040516001600160a01b03821681527fdb8167fc515fc9095f0a3a91bcd16cf7f1a9b3cc52ebad83691f81180d5098a59060200160405180910390a1600480546001600160a01b0319166001600160a01b0392909216919091179055565b5f610c848261129d565b611d87612187565b6004805460ff600160c81b808304821615810260ff60c81b1990931692909217928390556040517f79a0d73b50e293c1e17b973f07d567c5a14399afb5e2373c44a82e9f9109d71693611de39390049091161515815260200190565b60405180910390a1565b5f805f5160206139795f395f51905f52610e80565b6001600160a01b039182165f9081527f52c63247e1f47db19d5ce0460030c497f067ca4cebf71ba98eeadabe20bace016020908152604080832093909416825291909152205490565b611e53612266565b335f908152600160208190526040909120908101548154426001600160681b039091161115611ea957815460405163922bceef60e01b81524260048201526001600160681b039091166024820152604401610ce4565b805f03611ec95760405163422f6e3560e11b815260040160405180910390fd5b6005545f03611eeb57604051637cf9af2360e11b815260040160405180910390fd5b81546001600160681b03191682555f60018301556005548190670de0b6b3a7640000111561200557670de0b6b3a764000060055483611f2a919061364d565b611f349190613678565b90505f611f41828461368b565b60025460405163f3fef3a360e01b8152306004820152602481018390529192506001600160a01b03169063f3fef3a3906044015f604051808303815f87803b158015611f8b575f5ffd5b505af1158015611f9d573d5f5f3e3d5ffd5b50505050611fa9610ede565b6001600160a01b03166342966c68826040518263ffffffff1660e01b8152600401611fd691815260200190565b5f604051808303815f87803b158015611fed575f5ffd5b505af1158015611fff573d5f5f3e3d5ffd5b50505050505b604080513381526001600160a01b0386166020820152908101839052606081018290527f18edd09e80386cd99df397e2e0d87d2bb259423eae08645e776321a36fe680ef9060800160405180910390a160025460405163f3fef3a360e01b81526001600160a01b038681166004830152602482018490529091169063f3fef3a3906044015f604051808303815f87803b1580156120a0575f5ffd5b505af11580156120b2573d5f5f3e3d5ffd5b505050505050506111b260015f5160206139d95f395f51905f5255565b6120d7612187565b6001600160a01b03811661210057604051631e4fbdf760e01b81525f6004820152602401610ce4565b6111b28161250a565b5f610ea8612115610b43565b612120906001613621565b61212b5f600a6137c1565b612133610e6f565b61213d9190613621565b85919085612754565b611a9383838360016127a1565b5f610ea861216282600a6137c1565b61216a610e6f565b6121749190613621565b61217c610b43565b61213d906001613621565b33612190611504565b6001600160a01b0316146112d45760405163118cdaa760e01b8152336004820152602401610ce4565b5f6121c48484611e02565b90505f19811461220357818110156121f557828183604051637dc7a0d960e11b8152600401610ce49392919061369e565b61220384848484035f6127a1565b50505050565b6001600160a01b03831661223257604051634b637e8f60e11b81525f6004820152602401610ce4565b6001600160a01b03821661225b5760405163ec442f0560e01b81525f6004820152602401610ce4565b611a93838383612884565b5f5160206139d95f395f51905f5280546001190161229757604051633ee5aeb560e01b815260040160405180910390fd5b60029055565b60015f5160206139d95f395f51905f5255565b306001600160a01b037f000000000000000000000000843e3a09675e5fa00951c55727f8b0f2076c0d2c16148061233657507f000000000000000000000000843e3a09675e5fa00951c55727f8b0f2076c0d2c6001600160a01b031661232a5f5160206139595f395f51905f52546001600160a01b031690565b6001600160a01b031614155b156112d45760405163703e46dd60e11b815260040160405180910390fd5b61235c612187565b6111b2816129aa565b816001600160a01b03166352d1902d6040518163ffffffff1660e01b8152600401602060405180830381865afa9250505080156123bf575060408051601f3d908101601f191682019092526123bc918101906135be565b60015b6123e757604051634c9c8ce360e01b81526001600160a01b0383166004820152602401610ce4565b5f5160206139595f395f51905f52811461241757604051632a87526960e21b815260048101829052602401610ce4565b611a938383612a34565b306001600160a01b037f000000000000000000000000843e3a09675e5fa00951c55727f8b0f2076c0d2c16146112d45760405163703e46dd60e11b815260040160405180910390fd5b612472612266565b600454600160c81b900460ff1661249c57604051630e2f42c960e31b815260040160405180910390fd5b81805f036124bd5760405163162908e360e11b815260040160405180910390fd5b81805f036124de5760405163162908e360e11b815260040160405180910390fd5b6124ea86868686612a89565b6124f2612b06565b505061220360015f5160206139d95f395f51905f5255565b7f9016d09d72d40fdae2fd8ceac6b6234c7706214fd39c1cd1e609a0528c19930080546001600160a01b031981166001600160a01b03848116918217845560405192169182907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0905f90a3505050565b612582612b45565b6111d08282612b8e565b612594612b45565b6111b281612bde565b6125a5612b45565b6111b281612c4e565b6125b6612b45565b6112d4612c56565b6125c6612b45565b620151805f5160206139795f395f51905f5255565b6125e3612266565b81805f036126045760405163162908e360e11b815260040160405180910390fd5b81805f036126255760405163162908e360e11b815260040160405180910390fd5b6126328787878787612c5e565b61263a612b06565b50506115c560015f5160206139d95f395f51905f5255565b6040516001600160a01b03838116602483015260448201839052611a9391859182169063a9059cbb906064015b604051602081830303815290604052915060e01b6020820180516001600160e01b038381831617835250505050612d12565b5f5f6126bc83611bbf565b9050808511156126e557828582604051633fa733bb60e21b8152600401610ce49392919061369e565b5f6126ef86610ca1565b90506126fe33868689856125db565b95945050505050565b5f5f61271283611d75565b90508085111561273b57828582604051632e52afbb60e21b8152600401610ce49392919061369e565b5f61274586610c79565b90506126fe338686848a6125db565b5f5f612761868686612d73565b905061276c83612e32565b801561278757505f848061278257612782613664565b868809115b156126fe57612797600182613621565b9695505050505050565b5f5160206139395f395f51905f526001600160a01b0385166127d85760405163e602df0560e01b81525f6004820152602401610ce4565b6001600160a01b03841661280157604051634a1406b160e11b81525f6004820152602401610ce4565b6001600160a01b038086165f908152600183016020908152604080832093881683529290522083905581156115c557836001600160a01b0316856001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9258560405161287591815260200190565b60405180910390a35050505050565b5f5160206139395f395f51905f526001600160a01b0384166128be5781816002015f8282546128b39190613621565b9091555061291b9050565b6001600160a01b0384165f90815260208290526040902054828110156128fd5784818460405163391434e360e21b8152600401610ce49392919061369e565b6001600160a01b0385165f9081526020839052604090209083900390555b6001600160a01b038316612939576002810180548390039055612957565b6001600160a01b0383165f9081526020829052604090208054830190555b826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8460405161299c91815260200190565b60405180910390a350505050565b5f5160206139995f395f51905f52545f5160206139795f395f51905f52906001600160a01b038381169116146129f3576040516316545d4f60e11b815260040160405180910390fd5b8060020154421015612a18576040516364037fb760e11b815260040160405180910390fd5b6001810180546001600160a01b03191690555f60029091015550565b612a3d82612e5e565b6040516001600160a01b038316907fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b905f90a2805115612a8157611a938282612ec1565b6111d0612f2a565b5f5160206139b95f395f51905f528054612aae906001600160a01b0316863086612f49565b612ab88483612f82565b836001600160a01b0316856001600160a01b03167fdcbc1c05240f31ff3ad067ef1ee35ce4997762752e3a095284754544f4c709d78585604051612875929190918252602082015260400190565b5f612b0f610e6f565b90505f81118015612b275750670de0b6b3a764000081105b156111b257604051635a5c1b5560e11b815260040160405180910390fd5b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a0054600160401b900460ff166112d457604051631afcd79f60e31b815260040160405180910390fd5b612b96612b45565b5f5160206139395f395f51905f527f52c63247e1f47db19d5ce0460030c497f067ca4cebf71ba98eeadabe20bace03612bcf8482613813565b50600481016122038382613813565b612be6612b45565b5f5160206139b95f395f51905f525f80612bff84612fb6565b9150915081612c0f576012612c11565b805b83546001600160a81b031916600160a01b60ff92909216919091026001600160a01b031916176001600160a01b0394909416939093179091555050565b6120d7612b45565b61229d612b45565b5f5160206139b95f395f51905f526001600160a01b0386811690851614612c8a57612c8a8487846121b9565b612c94848361308c565b8054612caa906001600160a01b03168685612652565b836001600160a01b0316856001600160a01b0316876001600160a01b03167ffbde797d201c681b91056529119e0b02407c7bb96a4a2c75c01fc9667232c8db8686604051612d02929190918252602082015260400190565b60405180910390a4505050505050565b5f612d266001600160a01b038416836130c0565b905080515f14158015612d4a575080806020019051810190612d4891906138ce565b155b15611a9357604051635274afe760e01b81526001600160a01b0384166004820152602401610ce4565b5f838302815f1985870982811083820303915050805f03612da757838281612d9d57612d9d613664565b0492505050610ea8565b808411612dc75760405163227bc15360e01b815260040160405180910390fd5b5f848688095f868103871696879004966002600389028118808a02820302808a02820302808a02820302808a02820302808a02820302808a02909103029181900381900460010186841190950394909402919094039290920491909117919091029150509392505050565b5f6002826003811115612e4757612e476138ed565b612e519190613901565b60ff166001149050919050565b806001600160a01b03163b5f03612e9357604051634c9c8ce360e01b81526001600160a01b0382166004820152602401610ce4565b5f5160206139595f395f51905f5280546001600160a01b0319166001600160a01b0392909216919091179055565b60605f5f846001600160a01b031684604051612edd9190613922565b5f60405180830381855af49150503d805f8114612f15576040519150601f19603f3d011682016040523d82523d5f602084013e612f1a565b606091505b50915091506126fe8583836130cd565b34156112d45760405163b398979f60e01b815260040160405180910390fd5b6040516001600160a01b0384811660248301528381166044830152606482018390526122039186918216906323b872dd9060840161267f565b6001600160a01b038216612fab5760405163ec442f0560e01b81525f6004820152602401610ce4565b6111d05f8383612884565b60408051600481526024810182526020810180516001600160e01b031663313ce56760e01b17905290515f918291829182916001600160a01b03871691612ffc91613922565b5f60405180830381855afa9150503d805f8114613034576040519150601f19603f3d011682016040523d82523d5f602084013e613039565b606091505b509150915081801561304d57506020815110155b15613080575f8180602001905181019061306791906135be565b905060ff811161307e576001969095509350505050565b505b505f9485945092505050565b6001600160a01b0382166130b557604051634b637e8f60e11b81525f6004820152602401610ce4565b6111d0825f83612884565b6060610ea883835f613129565b6060826130e2576130dd826131b8565b610ea8565b81511580156130f957506001600160a01b0384163b155b1561312257604051639996b31560e01b81526001600160a01b0385166004820152602401610ce4565b5080610ea8565b60608147101561314e5760405163cd78605960e01b8152306004820152602401610ce4565b5f5f856001600160a01b031684866040516131699190613922565b5f6040518083038185875af1925050503d805f81146131a3576040519150601f19603f3d011682016040523d82523d5f602084013e6131a8565b606091505b50915091506127978683836130cd565b8051156131c85780518082602001fd5b604051630a12f52160e11b815260040160405180910390fd5b80356001600160a01b03811681146131f7575f5ffd5b919050565b5f6020828403121561320c575f5ffd5b610ea8826131e1565b602081525f82518060208401528060208501604085015e5f604082850101526040601f19601f83011684010191505092915050565b5f6020828403121561325a575f5ffd5b5035919050565b5f5f60408385031215613272575f5ffd5b61327b836131e1565b946020939093013593505050565b5f5f5f6060848603121561329b575f5ffd5b6132a4846131e1565b92506132b2602085016131e1565b929592945050506040919091013590565b634e487b7160e01b5f52604160045260245ffd5b5f5f604083850312156132e8575f5ffd5b6132f1836131e1565b9150602083013567ffffffffffffffff81111561330c575f5ffd5b8301601f8101851361331c575f5ffd5b803567ffffffffffffffff811115613336576133366132c3565b604051601f8201601f19908116603f0116810167ffffffffffffffff81118282101715613365576133656132c3565b60405281815282820160200187101561337c575f5ffd5b816020840160208301375f602083830101528093505050509250929050565b5f5f604083850312156133ac575f5ffd5b823591506133bc602084016131e1565b90509250929050565b5f5f83601f8401126133d5575f5ffd5b50813567ffffffffffffffff8111156133ec575f5ffd5b602083019150836020828501011115613403575f5ffd5b9250929050565b5f5f5f5f5f5f5f60a0888a031215613420575f5ffd5b613429886131e1565b9650613437602089016131e1565b9550613445604089016131e1565b9450606088013567ffffffffffffffff811115613460575f5ffd5b61346c8a828b016133c5565b909550935050608088013567ffffffffffffffff81111561348b575f5ffd5b6134978a828b016133c5565b989b979a50959850939692959293505050565b5f602082840312156134ba575f5ffd5b813561ffff81168114610ea8575f5ffd5b5f5f604083850312156134dc575f5ffd5b6134e5836131e1565b915060208301356001600160681b0381168114613500575f5ffd5b809150509250929050565b5f5f5f6060848603121561351d575f5ffd5b613526846131e1565b92506020840135915061353b604085016131e1565b90509250925092565b5f5f5f60608486031215613556575f5ffd5b83359250613566602085016131e1565b915061353b604085016131e1565b5f60208284031215613584575f5ffd5b813562ffffff81168114610ea8575f5ffd5b5f5f604083850312156135a7575f5ffd5b6135b0836131e1565b91506133bc602084016131e1565b5f602082840312156135ce575f5ffd5b5051919050565b600181811c908216806135e957607f821691505b60208210810361360757634e487b7160e01b5f52602260045260245ffd5b50919050565b634e487b7160e01b5f52601160045260245ffd5b80820180821115610c8457610c8461360d565b60ff8181168382160190811115610c8457610c8461360d565b8082028115828204841417610c8457610c8461360d565b634e487b7160e01b5f52601260045260245ffd5b5f8261368657613686613664565b500490565b81810381811115610c8457610c8461360d565b6001600160a01b039390931683526020830191909152604082015260600190565b6001600160681b038181168382160190811115610c8457610c8461360d565b6001815b6001841115613719578085048111156136fd576136fd61360d565b600184161561370b57908102905b60019390931c9280026136e2565b935093915050565b5f8261372f57506001610c84565b8161373b57505f610c84565b8160018114613751576002811461375b57613777565b6001915050610c84565b60ff84111561376c5761376c61360d565b50506001821b610c84565b5060208310610133831016604e8410600b841016171561379a575081810a610c84565b6137a65f1984846136de565b805f19048211156137b9576137b961360d565b029392505050565b5f610ea860ff841683613721565b601f821115611a9357805f5260205f20601f840160051c810160208510156137f45750805b601f840160051c820191505b818110156115c5575f8155600101613800565b815167ffffffffffffffff81111561382d5761382d6132c3565b6138418161383b84546135d5565b846137cf565b6020601f821160018114613873575f831561385c5750848201515b5f19600385901b1c1916600184901b1784556115c5565b5f84815260208120601f198516915b828110156138a25787850151825560209485019460019092019101613882565b50848210156138bf57868401515f19600387901b60f8161c191681555b50505050600190811b01905550565b5f602082840312156138de575f5ffd5b81518015158114610ea8575f5ffd5b634e487b7160e01b5f52602160045260245ffd5b5f60ff83168061391357613913613664565b8060ff84160691505092915050565b5f82518060208501845e5f92019182525091905056fe52c63247e1f47db19d5ce0460030c497f067ca4cebf71ba98eeadabe20bace00360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbca9f7ef5782100b08bddb9be7a16303ba138e26e6df1a3e56c7be0bac217aa800a9f7ef5782100b08bddb9be7a16303ba138e26e6df1a3e56c7be0bac217aa8010773e532dfede91f04b12a73d3d2acd361424f41f76b4fb79f090161e36b4e009b779b17422d0df92223018b32b4d1fa46e071723d6817e2486d003becc55f00a164736f6c634300081e000a","recompiledBytecode":"0x6080604052600436106103b3575f3560e01c80638da5cb5b116101e9578063c63d75b611610108578063da4493f61161009d578063ef8b30f71161006d578063ef8b30f7146109b1578063f2888dbb14610af0578063f2fde38b14610b0f578063f812fa7014610b2e575f5ffd5b8063da4493f614610a7f578063dcc3e06e14610a93578063dd62ed3e14610ab2578063eb3beb2914610ad1575f5ffd5b8063d50655b0116100d8578063d50655b014610a0e578063d87c286714610a2d578063d905777e14610a4c578063d907813c14610a6b575f5ffd5b8063c63d75b614610651578063c6e6f592146109b1578063ce23eb3c146109d0578063ce96cb77146109ef575f5ffd5b8063a63a25f61161017e578063b37fd1901161014e578063b37fd19014610935578063b3d7f6b914610954578063b460af9414610973578063ba08765214610992575f5ffd5b8063a63a25f6146108a8578063a9059cbb146108c7578063ad3cb1cc146108e6578063ae3dc06814610916575f5ffd5b80639606d201116101b95780639606d2011461083757806397379d64146108565780639dc103661461086a578063a2af490014610889575f5ffd5b80638da5cb5b146107d15780638f08d44d146107e557806394bf804d1461080457806395d89b4114610823575f5ffd5b8063396f7b23116102d55780635392fd1c1161026a578063715018a61161023a578063715018a61461074a578063771a3a1d1461075e5780637e48d4ea1461079257806383b43589146107b2575f5ffd5b80635392fd1c146106cd5780635a639912146106ed5780636e553f651461070c57806370a082311461072b575f5ffd5b80634828ced9116102a55780634828ced9146106875780634cdad5061461045c5780634f1ef286146106a657806352d1902d146106b9575f5ffd5b8063396f7b23146106095780633a6462e414610632578063402d267d1461065157806342e7159614610671575f5ffd5b806318160ddd1161034b57806323b872dd1161031b57806323b872dd14610576578063313ce5671461059557806335269315146105bb57806338d52e0f146105dd575f5ffd5b806318160ddd146105095780631e9049cf1461051d5780631fcd3080146105475780632095093314610562575f5ffd5b8063095ea7b311610386578063095ea7b31461047b5780630a28a477146104aa5780630c80447a146104c957806315715313146104ea575f5ffd5b806301320fe2146103b757806301e1d1141461041957806306fdde031461043b57806307a2d13a1461045c575b5f5ffd5b3480156103c2575f5ffd5b506103f56103d13660046131fc565b600160208190525f918252604090912080549101546001600160681b039091169082565b604080516001600160681b0390931683526020830191909152015b60405180910390f35b348015610424575f5ffd5b5061042d610b43565b604051908152602001610410565b348015610446575f5ffd5b5061044f610bb9565b6040516104109190613215565b348015610467575f5ffd5b5061042d61047636600461324a565b610c79565b348015610486575f5ffd5b5061049a610495366004613261565b610c8a565b6040519015158152602001610410565b3480156104b5575f5ffd5b5061042d6104c436600461324a565b610ca1565b3480156104d4575f5ffd5b506104e86104e33660046131fc565b610cad565b005b3480156104f5575f5ffd5b506104e86105043660046131fc565b610db4565b348015610514575f5ffd5b5061042d610e6f565b348015610528575f5ffd5b506105336276a70081565b60405162ffffff9091168152602001610410565b348015610552575f5ffd5b5061042d670de0b6b3a764000081565b34801561056d575f5ffd5b5061042d5f5481565b348015610581575f5ffd5b5061049a610590366004613289565b610e8a565b3480156105a0575f5ffd5b506105a9610eaf565b60405160ff9091168152602001610410565b3480156105c6575f5ffd5b5060045461053390600160a01b900462ffffff1681565b3480156105e8575f5ffd5b506105f1610ede565b6040516001600160a01b039091168152602001610410565b348015610614575f5ffd5b505f5160206139995f395f51905f52546001600160a01b03166105f1565b34801561063d575f5ffd5b506104e861064c3660046131fc565b610eff565b34801561065c575f5ffd5b5061042d61066b3660046131fc565b505f1990565b34801561067c575f5ffd5b5061042d6201518081565b348015610692575f5ffd5b506104e86106a136600461324a565b610fba565b6104e86106b43660046132d7565b6111b5565b3480156106c4575f5ffd5b5061042d6111d4565b3480156106d8575f5ffd5b5060045461049a90600160c81b900460ff1681565b3480156106f8575f5ffd5b506104e861070736600461324a565b6111ef565b348015610717575f5ffd5b5061042d61072636600461339b565b61127a565b348015610736575f5ffd5b5061042d6107453660046131fc565b61129d565b348015610755575f5ffd5b506104e86112c3565b348015610769575f5ffd5b5060045461077f90600160b81b900461ffff1681565b60405161ffff9091168152602001610410565b34801561079d575f5ffd5b505f5160206139795f395f51905f525461042d565b3480156107bd575f5ffd5b506104e86107cc36600461340a565b6112d6565b3480156107dc575f5ffd5b506105f1611504565b3480156107f0575f5ffd5b506104e86107ff36600461324a565b61152c565b34801561080f575f5ffd5b5061042d61081e36600461339b565b6115cc565b34801561082e575f5ffd5b5061044f6115e7565b348015610842575f5ffd5b506104e861085136600461324a565b611625565b348015610861575f5ffd5b506104e86116e7565b348015610875575f5ffd5b506004546105f1906001600160a01b031681565b348015610894575f5ffd5b5061042d6108a336600461339b565b61178d565b3480156108b3575f5ffd5b506104e86108c23660046134aa565b611875565b3480156108d2575f5ffd5b5061049a6108e1366004613261565b61196f565b3480156108f1575f5ffd5b5061044f604051806040016040528060058152602001640352e302e360dc1b81525081565b348015610921575f5ffd5b506104e86109303660046134cb565b61197c565b348015610940575f5ffd5b506104e861094f36600461350b565b611a3e565b34801561095f575f5ffd5b5061042d61096e36600461324a565b611a98565b34801561097e575f5ffd5b5061042d61098d366004613544565b611aa4565b34801561099d575f5ffd5b5061042d6109ac366004613544565b611ade565b3480156109bc575f5ffd5b5061042d6109cb36600461324a565b611b18565b3480156109db575f5ffd5b506104e86109ea366004613574565b611b23565b3480156109fa575f5ffd5b5061042d610a093660046131fc565b611bbf565b348015610a19575f5ffd5b5061042d610a2836600461339b565b611bd2565b348015610a38575f5ffd5b506104e8610a473660046131fc565b611cba565b348015610a57575f5ffd5b5061042d610a663660046131fc565b611d75565b348015610a76575f5ffd5b506104e8611d7f565b348015610a8a575f5ffd5b5061042d611ded565b348015610a9e575f5ffd5b506003546105f1906001600160a01b031681565b348015610abd575f5ffd5b5061042d610acc366004613596565b611e02565b348015610adc575f5ffd5b506002546105f1906001600160a01b031681565b348015610afb575f5ffd5b506104e8610b0a3660046131fc565b611e4b565b348015610b1a575f5ffd5b506104e8610b293660046131fc565b6120cf565b348015610b39575f5ffd5b5061042d60055481565b5f610b4c610ede565b6040516370a0823160e01b81523060048201526001600160a01b0391909116906370a0823190602401602060405180830381865afa158015610b90573d5f5f3e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610bb491906135be565b905090565b7f52c63247e1f47db19d5ce0460030c497f067ca4cebf71ba98eeadabe20bace0380546060915f5160206139395f395f51905f5291610bf7906135d5565b80601f0160208091040260200160405190810160405280929190818152602001828054610c23906135d5565b8015610c6e5780601f10610c4557610100808354040283529160200191610c6e565b820191905f5260205f20905b815481529060010190602001808311610c5157829003601f168201915b505050505091505090565b5f610c84825f612109565b92915050565b5f33610c97818585612146565b5060019392505050565b5f610c84826001612153565b610cb5611504565b6001600160a01b0316336001600160a01b031614610ced5760405163118cdaa760e01b81523360048201526024015b60405180910390fd5b6001600160a01b038116610d145760405163e99d5ac560e01b815260040160405180910390fd5b5f5160206139995f395f51905f5280546001600160a01b0319166001600160a01b0383161790555f5160206139795f395f51905f5280545f9015610d59578154610d5e565b620151805b9050610d6a8142613621565b600283018190556040519081526001600160a01b038416907fe1009627653eb47f7d0f3b4435749f7984a803c21f84a076cc4dcb0412cf066f9060200160405180910390a2505050565b610dbc612187565b6001600160a01b038116610de35760405163f6b2911f60e01b815260040160405180910390fd5b6002546001600160a01b03808316911603610e115760405163a741a04560e01b815260040160405180910390fd5b6040516001600160a01b03821681527f6b49d24dd3285d61bdc40376f699105de0c026f54ed60756482d0f20c0b8abea9060200160405180910390a1600280546001600160a01b0319166001600160a01b0392909216919091179055565b5f805f5160206139395f395f51905f525b6002015492915050565b5f33610e978582856121b9565b610ea2858585612209565b60019150505b9392505050565b5f805f5160206139b95f395f51905f5290505f8154610ed89190600160a01b900460ff16613634565b91505090565b5f805f5160206139b95f395f51905f525b546001600160a01b031692915050565b610f07612187565b6001600160a01b038116610f2e5760405163f6b2911f60e01b815260040160405180910390fd5b6003546001600160a01b03808316911603610f5c5760405163a741a04560e01b815260040160405180910390fd5b6040516001600160a01b03821681527f47c9042c3be42a955f60f9b75006522826af1a3bed83e26646997d3bcccda77c9060200160405180910390a1600380546001600160a01b0319166001600160a01b0392909216919091179055565b610fc2612266565b6003546001600160a01b03163314801590610ff65750610fe0611504565b6001600160a01b0316336001600160a01b031614155b1561101657604051634a0bfec160e01b8152336004820152602401610ce4565b80805f036110375760405163162908e360e11b815260040160405180910390fd5b425f55600454600160b81b900461ffff161580159061106057506004546001600160a01b031615155b1561110c576004545f906103e89061108390600160b81b900461ffff168561364d565b61108d9190613678565b9050611097610ede565b600480546040516340c10f1960e01b81526001600160a01b03918216928101929092526024820184905291909116906340c10f19906044015f604051808303815f87803b1580156110e6575f5ffd5b505af11580156110f8573d5f5f3e3d5ffd5b505050508083611108919061368b565b9250505b611114610ede565b6040516340c10f1960e01b8152306004820152602481018490526001600160a01b0391909116906340c10f19906044015f604051808303815f87803b15801561115b575f5ffd5b505af115801561116d573d5f5f3e3d5ffd5b50506040518492507fbb28dd7cd6be6f61828ea9158a04c5182c716a946a6d2f31f4864edb87471aa691505f90a2506111b260015f5160206139d95f395f51905f5255565b50565b6111bd6122b0565b6111c682612354565b6111d08282612365565b5050565b5f6111dd612421565b505f5160206139595f395f51905f5290565b6111f7612187565b60055481036112195760405163a741a04560e01b815260040160405180910390fd5b670de0b6b3a76400008111156112425760405163648564d360e01b815260040160405180910390fd5b6040518181527fdf2cd4b648795c20aa1aeba11f8ca0264b6ac306acecd2fd590f3c573fe7a5f89060200160405180910390a1600555565b5f5f195f61128785611b18565b90506112953385878461246a565b949350505050565b6001600160a01b03165f9081525f5160206139395f395f51905f52602052604090205490565b6112cb612187565b6112d45f61250a565b565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a008054600160401b810460ff16159067ffffffffffffffff165f8115801561131b5750825b90505f8267ffffffffffffffff1660011480156113375750303b155b905081158015611345575080155b156113635760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff19166001178555831561138d57845460ff60401b1916600160401b1785555b6001600160a01b038a1615806113aa57506001600160a01b038b16155b806113bc57506001600160a01b038c16155b156113da5760405163f6b2911f60e01b815260040160405180910390fd5b61144b89898080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525050604080516020601f8d018190048102820181019092528b815292508b91508a90819084018382808284375f9201919091525061257a92505050565b6114548c61258c565b61145d8a61259d565b6114656125ae565b61146d6125be565b670de0b6b3a76400006005556004805465ff0000ffffff60a01b191664020000127560a71b179055600380546001600160a01b0319166001600160a01b038d1617905583156114f657845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b505050505050505050505050565b5f807f9016d09d72d40fdae2fd8ceac6b6234c7706214fd39c1cd1e609a0528c199300610eef565b611534612187565b6040518181527f23c8e7ecf38ad1e9e1639dfb4b258fc9942ae76b580d2ba43c4a73b9291812c99060200160405180910390a161156f610ede565b6001600160a01b03166342966c68826040518263ffffffff1660e01b815260040161159c91815260200190565b5f604051808303815f87803b1580156115b3575f5ffd5b505af11580156115c5573d5f5f3e3d5ffd5b5050505050565b5f5f195f6115d985611a98565b90506112953385838861246a565b7f52c63247e1f47db19d5ce0460030c497f067ca4cebf71ba98eeadabe20bace0480546060915f5160206139395f395f51905f5291610bf7906135d5565b61162d611504565b6001600160a01b0316336001600160a01b0316146116605760405163118cdaa760e01b8152336004820152602401610ce4565b610e108110156116835760405163a965618960e01b815260040160405180910390fd5b5f6116995f5160206139795f395f51905f525490565b60408051828152602081018590529192507f460e10c89f7fa39a35b0b6bd68e6a834bc423a08a5b10fc1bda0dff3276e2694910160405180910390a1505f5160206139795f395f51905f5255565b6116ef611504565b6001600160a01b0316336001600160a01b0316146117225760405163118cdaa760e01b8152336004820152602401610ce4565b5f5160206139995f395f51905f52546040515f5160206139795f395f51905f52916001600160a01b0316907fd947ef8b4f7aabc4b6a79ec773516b48d12ac25da7af787b659083c6af28cb42905f90a26001810180546001600160a01b03191690555f600290910155565b6004545f90600160a01b900462ffffff1681036117bd57604051637a851da960e11b815260040160405180910390fd5b6117c682611d75565b8311156117e657604051630c668a7160e31b815260040160405180910390fd5b5f6117f084610c79565b60045490915061180c90600160a01b900462ffffff16426136bf565b6001600160a01b0384165f908152600160208190526040822080546001600160681b0319166001600160681b0394909416939093178355919091018054839290611857908490613621565b90915550610ea89050336002546001600160a01b03168584886125db565b61187d612187565b6103e88161ffff16106118e65760405162461bcd60e51b815260206004820152602b60248201527f5461782063616e6e6f742062652031303025202d204d757374206265206c657360448201526a073207468616e20313030360ac1b6064820152608401610ce4565b60045461ffff808316600160b81b90920416036119165760405163a741a04560e01b815260040160405180910390fd5b60405161ffff821681527fc806a10dd41921869155255a462a80195a7bfeb01e4f3431e3a43bdf80e4baa09060200160405180910390a16004805461ffff909216600160b81b0261ffff60b81b19909216919091179055565b5f33610c97818585612209565b611984612187565b6001600160a01b0382165f908152600160205260408120805490916001600160681b0390911690036119c957604051637475d84d60e11b815260040160405180910390fd5b8054604080516001600160a01b03861681526001600160681b03928316602082015291841682820152517f4590c2052b5ebf4a0a703688d2a793d162b6925a337b78387018d7c20ef4ed2e9181900360600190a180546001600160681b0319166001600160681b039290921691909117905550565b611a46612187565b611a4e610ede565b6001600160a01b0316836001600160a01b031603611a7f5760405163c1ab6dc160e01b815260040160405180910390fd5b611a936001600160a01b0384168284612652565b505050565b5f610c84826001612109565b6004545f90600160a01b900462ffffff1615611ad357604051637a851da960e11b815260040160405180910390fd5b6112958484846126b1565b6004545f90600160a01b900462ffffff1615611b0d57604051637a851da960e11b815260040160405180910390fd5b611295848484612707565b5f610c84825f612153565b611b2b612187565b6276a70062ffffff82161115611b5457604051637475d84d60e11b815260040160405180910390fd5b6004805462ffffff838116600160a01b90810262ffffff60a01b198416179384905560408051938290048316808552919094049091166020830152917f180eacdf7dbaeecaa983d93173b4285db2f2c0de0044697e1f932bbbb73dcaa6910160405180910390a15050565b5f610c84611bcc8361129d565b5f612109565b6004545f90600160a01b900462ffffff168103611c0257604051637a851da960e11b815260040160405180910390fd5b611c0b82611bbf565b831115611c2b57604051636fa9eef160e11b815260040160405180910390fd5b5f611c3584610ca1565b600454909150611c5190600160a01b900462ffffff16426136bf565b6001600160a01b0384165f908152600160208190526040822080546001600160681b0319166001600160681b0394909416939093178355919091018054869290611c9c908490613621565b90915550610ea89050336002546001600160a01b03168587856125db565b611cc2612187565b6001600160a01b038116611ce95760405163f6b2911f60e01b815260040160405180910390fd5b6004546001600160a01b03808316911603611d175760405163a741a04560e01b815260040160405180910390fd5b6040516001600160a01b03821681527fdb8167fc515fc9095f0a3a91bcd16cf7f1a9b3cc52ebad83691f81180d5098a59060200160405180910390a1600480546001600160a01b0319166001600160a01b0392909216919091179055565b5f610c848261129d565b611d87612187565b6004805460ff600160c81b808304821615810260ff60c81b1990931692909217928390556040517f79a0d73b50e293c1e17b973f07d567c5a14399afb5e2373c44a82e9f9109d71693611de39390049091161515815260200190565b60405180910390a1565b5f805f5160206139795f395f51905f52610e80565b6001600160a01b039182165f9081527f52c63247e1f47db19d5ce0460030c497f067ca4cebf71ba98eeadabe20bace016020908152604080832093909416825291909152205490565b611e53612266565b335f908152600160208190526040909120908101548154426001600160681b039091161115611ea957815460405163922bceef60e01b81524260048201526001600160681b039091166024820152604401610ce4565b805f03611ec95760405163422f6e3560e11b815260040160405180910390fd5b6005545f03611eeb57604051637cf9af2360e11b815260040160405180910390fd5b81546001600160681b03191682555f60018301556005548190670de0b6b3a7640000111561200557670de0b6b3a764000060055483611f2a919061364d565b611f349190613678565b90505f611f41828461368b565b60025460405163f3fef3a360e01b8152306004820152602481018390529192506001600160a01b03169063f3fef3a3906044015f604051808303815f87803b158015611f8b575f5ffd5b505af1158015611f9d573d5f5f3e3d5ffd5b50505050611fa9610ede565b6001600160a01b03166342966c68826040518263ffffffff1660e01b8152600401611fd691815260200190565b5f604051808303815f87803b158015611fed575f5ffd5b505af1158015611fff573d5f5f3e3d5ffd5b50505050505b604080513381526001600160a01b0386166020820152908101839052606081018290527f18edd09e80386cd99df397e2e0d87d2bb259423eae08645e776321a36fe680ef9060800160405180910390a160025460405163f3fef3a360e01b81526001600160a01b038681166004830152602482018490529091169063f3fef3a3906044015f604051808303815f87803b1580156120a0575f5ffd5b505af11580156120b2573d5f5f3e3d5ffd5b505050505050506111b260015f5160206139d95f395f51905f5255565b6120d7612187565b6001600160a01b03811661210057604051631e4fbdf760e01b81525f6004820152602401610ce4565b6111b28161250a565b5f610ea8612115610b43565b612120906001613621565b61212b5f600a6137c1565b612133610e6f565b61213d9190613621565b85919085612754565b611a9383838360016127a1565b5f610ea861216282600a6137c1565b61216a610e6f565b6121749190613621565b61217c610b43565b61213d906001613621565b33612190611504565b6001600160a01b0316146112d45760405163118cdaa760e01b8152336004820152602401610ce4565b5f6121c48484611e02565b90505f19811461220357818110156121f557828183604051637dc7a0d960e11b8152600401610ce49392919061369e565b61220384848484035f6127a1565b50505050565b6001600160a01b03831661223257604051634b637e8f60e11b81525f6004820152602401610ce4565b6001600160a01b03821661225b5760405163ec442f0560e01b81525f6004820152602401610ce4565b611a93838383612884565b5f5160206139d95f395f51905f5280546001190161229757604051633ee5aeb560e01b815260040160405180910390fd5b60029055565b60015f5160206139d95f395f51905f5255565b306001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016148061233657507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031661232a5f5160206139595f395f51905f52546001600160a01b031690565b6001600160a01b031614155b156112d45760405163703e46dd60e11b815260040160405180910390fd5b61235c612187565b6111b2816129aa565b816001600160a01b03166352d1902d6040518163ffffffff1660e01b8152600401602060405180830381865afa9250505080156123bf575060408051601f3d908101601f191682019092526123bc918101906135be565b60015b6123e757604051634c9c8ce360e01b81526001600160a01b0383166004820152602401610ce4565b5f5160206139595f395f51905f52811461241757604051632a87526960e21b815260048101829052602401610ce4565b611a938383612a34565b306001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016146112d45760405163703e46dd60e11b815260040160405180910390fd5b612472612266565b600454600160c81b900460ff1661249c57604051630e2f42c960e31b815260040160405180910390fd5b81805f036124bd5760405163162908e360e11b815260040160405180910390fd5b81805f036124de5760405163162908e360e11b815260040160405180910390fd5b6124ea86868686612a89565b6124f2612b06565b505061220360015f5160206139d95f395f51905f5255565b7f9016d09d72d40fdae2fd8ceac6b6234c7706214fd39c1cd1e609a0528c19930080546001600160a01b031981166001600160a01b03848116918217845560405192169182907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0905f90a3505050565b612582612b45565b6111d08282612b8e565b612594612b45565b6111b281612bde565b6125a5612b45565b6111b281612c4e565b6125b6612b45565b6112d4612c56565b6125c6612b45565b620151805f5160206139795f395f51905f5255565b6125e3612266565b81805f036126045760405163162908e360e11b815260040160405180910390fd5b81805f036126255760405163162908e360e11b815260040160405180910390fd5b6126328787878787612c5e565b61263a612b06565b50506115c560015f5160206139d95f395f51905f5255565b6040516001600160a01b03838116602483015260448201839052611a9391859182169063a9059cbb906064015b604051602081830303815290604052915060e01b6020820180516001600160e01b038381831617835250505050612d12565b5f5f6126bc83611bbf565b9050808511156126e557828582604051633fa733bb60e21b8152600401610ce49392919061369e565b5f6126ef86610ca1565b90506126fe33868689856125db565b95945050505050565b5f5f61271283611d75565b90508085111561273b57828582604051632e52afbb60e21b8152600401610ce49392919061369e565b5f61274586610c79565b90506126fe338686848a6125db565b5f5f612761868686612d73565b905061276c83612e32565b801561278757505f848061278257612782613664565b868809115b156126fe57612797600182613621565b9695505050505050565b5f5160206139395f395f51905f526001600160a01b0385166127d85760405163e602df0560e01b81525f6004820152602401610ce4565b6001600160a01b03841661280157604051634a1406b160e11b81525f6004820152602401610ce4565b6001600160a01b038086165f908152600183016020908152604080832093881683529290522083905581156115c557836001600160a01b0316856001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9258560405161287591815260200190565b60405180910390a35050505050565b5f5160206139395f395f51905f526001600160a01b0384166128be5781816002015f8282546128b39190613621565b9091555061291b9050565b6001600160a01b0384165f90815260208290526040902054828110156128fd5784818460405163391434e360e21b8152600401610ce49392919061369e565b6001600160a01b0385165f9081526020839052604090209083900390555b6001600160a01b038316612939576002810180548390039055612957565b6001600160a01b0383165f9081526020829052604090208054830190555b826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8460405161299c91815260200190565b60405180910390a350505050565b5f5160206139995f395f51905f52545f5160206139795f395f51905f52906001600160a01b038381169116146129f3576040516316545d4f60e11b815260040160405180910390fd5b8060020154421015612a18576040516364037fb760e11b815260040160405180910390fd5b6001810180546001600160a01b03191690555f60029091015550565b612a3d82612e5e565b6040516001600160a01b038316907fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b905f90a2805115612a8157611a938282612ec1565b6111d0612f2a565b5f5160206139b95f395f51905f528054612aae906001600160a01b0316863086612f49565b612ab88483612f82565b836001600160a01b0316856001600160a01b03167fdcbc1c05240f31ff3ad067ef1ee35ce4997762752e3a095284754544f4c709d78585604051612875929190918252602082015260400190565b5f612b0f610e6f565b90505f81118015612b275750670de0b6b3a764000081105b156111b257604051635a5c1b5560e11b815260040160405180910390fd5b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a0054600160401b900460ff166112d457604051631afcd79f60e31b815260040160405180910390fd5b612b96612b45565b5f5160206139395f395f51905f527f52c63247e1f47db19d5ce0460030c497f067ca4cebf71ba98eeadabe20bace03612bcf8482613813565b50600481016122038382613813565b612be6612b45565b5f5160206139b95f395f51905f525f80612bff84612fb6565b9150915081612c0f576012612c11565b805b83546001600160a81b031916600160a01b60ff92909216919091026001600160a01b031916176001600160a01b0394909416939093179091555050565b6120d7612b45565b61229d612b45565b5f5160206139b95f395f51905f526001600160a01b0386811690851614612c8a57612c8a8487846121b9565b612c94848361308c565b8054612caa906001600160a01b03168685612652565b836001600160a01b0316856001600160a01b0316876001600160a01b03167ffbde797d201c681b91056529119e0b02407c7bb96a4a2c75c01fc9667232c8db8686604051612d02929190918252602082015260400190565b60405180910390a4505050505050565b5f612d266001600160a01b038416836130c0565b905080515f14158015612d4a575080806020019051810190612d4891906138ce565b155b15611a9357604051635274afe760e01b81526001600160a01b0384166004820152602401610ce4565b5f838302815f1985870982811083820303915050805f03612da757838281612d9d57612d9d613664565b0492505050610ea8565b808411612dc75760405163227bc15360e01b815260040160405180910390fd5b5f848688095f868103871696879004966002600389028118808a02820302808a02820302808a02820302808a02820302808a02820302808a02909103029181900381900460010186841190950394909402919094039290920491909117919091029150509392505050565b5f6002826003811115612e4757612e476138ed565b612e519190613901565b60ff166001149050919050565b806001600160a01b03163b5f03612e9357604051634c9c8ce360e01b81526001600160a01b0382166004820152602401610ce4565b5f5160206139595f395f51905f5280546001600160a01b0319166001600160a01b0392909216919091179055565b60605f5f846001600160a01b031684604051612edd9190613922565b5f60405180830381855af49150503d805f8114612f15576040519150601f19603f3d011682016040523d82523d5f602084013e612f1a565b606091505b50915091506126fe8583836130cd565b34156112d45760405163b398979f60e01b815260040160405180910390fd5b6040516001600160a01b0384811660248301528381166044830152606482018390526122039186918216906323b872dd9060840161267f565b6001600160a01b038216612fab5760405163ec442f0560e01b81525f6004820152602401610ce4565b6111d05f8383612884565b60408051600481526024810182526020810180516001600160e01b031663313ce56760e01b17905290515f918291829182916001600160a01b03871691612ffc91613922565b5f60405180830381855afa9150503d805f8114613034576040519150601f19603f3d011682016040523d82523d5f602084013e613039565b606091505b509150915081801561304d57506020815110155b15613080575f8180602001905181019061306791906135be565b905060ff811161307e576001969095509350505050565b505b505f9485945092505050565b6001600160a01b0382166130b557604051634b637e8f60e11b81525f6004820152602401610ce4565b6111d0825f83612884565b6060610ea883835f613129565b6060826130e2576130dd826131b8565b610ea8565b81511580156130f957506001600160a01b0384163b155b1561312257604051639996b31560e01b81526001600160a01b0385166004820152602401610ce4565b5080610ea8565b60608147101561314e5760405163cd78605960e01b8152306004820152602401610ce4565b5f5f856001600160a01b031684866040516131699190613922565b5f6040518083038185875af1925050503d805f81146131a3576040519150601f19603f3d011682016040523d82523d5f602084013e6131a8565b606091505b50915091506127978683836130cd565b8051156131c85780518082602001fd5b604051630a12f52160e11b815260040160405180910390fd5b80356001600160a01b03811681146131f7575f5ffd5b919050565b5f6020828403121561320c575f5ffd5b610ea8826131e1565b602081525f82518060208401528060208501604085015e5f604082850101526040601f19601f83011684010191505092915050565b5f6020828403121561325a575f5ffd5b5035919050565b5f5f60408385031215613272575f5ffd5b61327b836131e1565b946020939093013593505050565b5f5f5f6060848603121561329b575f5ffd5b6132a4846131e1565b92506132b2602085016131e1565b929592945050506040919091013590565b634e487b7160e01b5f52604160045260245ffd5b5f5f604083850312156132e8575f5ffd5b6132f1836131e1565b9150602083013567ffffffffffffffff81111561330c575f5ffd5b8301601f8101851361331c575f5ffd5b803567ffffffffffffffff811115613336576133366132c3565b604051601f8201601f19908116603f0116810167ffffffffffffffff81118282101715613365576133656132c3565b60405281815282820160200187101561337c575f5ffd5b816020840160208301375f602083830101528093505050509250929050565b5f5f604083850312156133ac575f5ffd5b823591506133bc602084016131e1565b90509250929050565b5f5f83601f8401126133d5575f5ffd5b50813567ffffffffffffffff8111156133ec575f5ffd5b602083019150836020828501011115613403575f5ffd5b9250929050565b5f5f5f5f5f5f5f60a0888a031215613420575f5ffd5b613429886131e1565b9650613437602089016131e1565b9550613445604089016131e1565b9450606088013567ffffffffffffffff811115613460575f5ffd5b61346c8a828b016133c5565b909550935050608088013567ffffffffffffffff81111561348b575f5ffd5b6134978a828b016133c5565b989b979a50959850939692959293505050565b5f602082840312156134ba575f5ffd5b813561ffff81168114610ea8575f5ffd5b5f5f604083850312156134dc575f5ffd5b6134e5836131e1565b915060208301356001600160681b0381168114613500575f5ffd5b809150509250929050565b5f5f5f6060848603121561351d575f5ffd5b613526846131e1565b92506020840135915061353b604085016131e1565b90509250925092565b5f5f5f60608486031215613556575f5ffd5b83359250613566602085016131e1565b915061353b604085016131e1565b5f60208284031215613584575f5ffd5b813562ffffff81168114610ea8575f5ffd5b5f5f604083850312156135a7575f5ffd5b6135b0836131e1565b91506133bc602084016131e1565b5f602082840312156135ce575f5ffd5b5051919050565b600181811c908216806135e957607f821691505b60208210810361360757634e487b7160e01b5f52602260045260245ffd5b50919050565b634e487b7160e01b5f52601160045260245ffd5b80820180821115610c8457610c8461360d565b60ff8181168382160190811115610c8457610c8461360d565b8082028115828204841417610c8457610c8461360d565b634e487b7160e01b5f52601260045260245ffd5b5f8261368657613686613664565b500490565b81810381811115610c8457610c8461360d565b6001600160a01b039390931683526020830191909152604082015260600190565b6001600160681b038181168382160190811115610c8457610c8461360d565b6001815b6001841115613719578085048111156136fd576136fd61360d565b600184161561370b57908102905b60019390931c9280026136e2565b935093915050565b5f8261372f57506001610c84565b8161373b57505f610c84565b8160018114613751576002811461375b57613777565b6001915050610c84565b60ff84111561376c5761376c61360d565b50506001821b610c84565b5060208310610133831016604e8410600b841016171561379a575081810a610c84565b6137a65f1984846136de565b805f19048211156137b9576137b961360d565b029392505050565b5f610ea860ff841683613721565b601f821115611a9357805f5260205f20601f840160051c810160208510156137f45750805b601f840160051c820191505b818110156115c5575f8155600101613800565b815167ffffffffffffffff81111561382d5761382d6132c3565b6138418161383b84546135d5565b846137cf565b6020601f821160018114613873575f831561385c5750848201515b5f19600385901b1c1916600184901b1784556115c5565b5f84815260208120601f198516915b828110156138a25787850151825560209485019460019092019101613882565b50848210156138bf57868401515f19600387901b60f8161c191681555b50505050600190811b01905550565b5f602082840312156138de575f5ffd5b81518015158114610ea8575f5ffd5b634e487b7160e01b5f52602160045260245ffd5b5f60ff83168061391357613913613664565b8060ff84160691505092915050565b5f82518060208501845e5f92019182525091905056fe52c63247e1f47db19d5ce0460030c497f067ca4cebf71ba98eeadabe20bace00360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbca9f7ef5782100b08bddb9be7a16303ba138e26e6df1a3e56c7be0bac217aa800a9f7ef5782100b08bddb9be7a16303ba138e26e6df1a3e56c7be0bac217aa8010773e532dfede91f04b12a73d3d2acd361424f41f76b4fb79f090161e36b4e009b779b17422d0df92223018b32b4d1fa46e071723d6817e2486d003becc55f00a164736f6c634300081e000a","sourceMap":"2228:15472:22:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3048:49;;;;;;;;;;-1:-1:-1;3048:49:22;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;3048:49:22;;;;;;;;;;-1:-1:-1;;;;;575:41:24;;;557:60;;648:2;633:18;;626:34;;;;530:18;3048:49:22;;;;;;;;16115:126;;;;;;;;;;;;;:::i;:::-;;;817:25:24;;;805:2;790:18;16115:126:22;671:177:24;3011:144:2;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;7381:148:3:-;;;;;;;;;;-1:-1:-1;7381:148:3;;;;;:::i;:::-;;:::i;5505:186:2:-;;;;;;;;;;-1:-1:-1;5505:186:2;;;;;:::i;:::-;;:::i;:::-;;;1977:14:24;;1970:22;1952:41;;1940:2;1925:18;5505:186:2;1812:187:24;8647:147:3;;;;;;;;;;-1:-1:-1;8647:147:3;;;;;:::i;:::-;;:::i;2960:464:19:-;;;;;;;;;;-1:-1:-1;2960:464:19;;;;;:::i;:::-;;:::i;:::-;;8918:248:22;;;;;;;;;;-1:-1:-1;8918:248:22;;;;;:::i;:::-;;:::i;4191:152:2:-;;;;;;;;;;;;;:::i;2657:54:22:-;;;;;;;;;;;;2704:7;2657:54;;;;;2178:8:24;2166:21;;;2148:40;;2136:2;2121:18;2657:54:22;2004:190:24;2565:44:22;;;;;;;;;;;;2602:7;2565:44;;2882:40;;;;;;;;;;;;;;;;6251:244:2;;;;;;;;;;-1:-1:-1;6251:244:2;;;;;:::i;:::-;;:::i;6482:221:3:-;;;;;;;;;;;;;:::i;:::-;;;2750:4:24;2738:17;;;2720:36;;2708:2;2693:18;6482:221:3;2578:184:24;3558:30:22;;;;;;;;;;-1:-1:-1;3558:30:22;;;;-1:-1:-1;;;3558:30:22;;;;;;6747:153:3;;;;;;;;;;;;;:::i;:::-;;;-1:-1:-1;;;;;2931:32:24;;;2913:51;;2901:2;2886:18;6747:153:3;2767:203:24;4717:185:19;;;;;;;;;;-1:-1:-1;;;;;;;;;;;;4872:23:19;-1:-1:-1;;;;;4872:23:19;4717:185;;8356:259:22;;;;;;;;;;-1:-1:-1;8356:259:22;;;;;:::i;:::-;;:::i;7578:108:3:-;;;;;;;;;;-1:-1:-1;7578:108:3;;;;;:::i;:::-;-1:-1:-1;;;7662:17:3;7578:108;688:54:19;;;;;;;;;;;;736:6;688:54;;6464:440:22;;;;;;;;;;-1:-1:-1;6464:440:22;;;;;:::i;:::-;;:::i;3892:214:11:-;;;;;;:::i;:::-;;:::i;3439:134::-;;;;;;;;;;;;;:::i;3745:27:22:-;;;;;;;;;;-1:-1:-1;3745:27:22;;;;-1:-1:-1;;;3745:27:22;;;;;;7875:251;;;;;;;;;;-1:-1:-1;7875:251:22;;;;;:::i;:::-;;:::i;9038:392:3:-;;;;;;;;;;-1:-1:-1;9038:392:3;;;;;:::i;:::-;;:::i;4401:171:2:-;;;;;;;;;;-1:-1:-1;4401:171:2;;;;;:::i;:::-;;:::i;3155:101:0:-;;;;;;;;;;;;;:::i;3670:21:22:-;;;;;;;;;;-1:-1:-1;3670:21:22;;;;-1:-1:-1;;;3670:21:22;;;;;;;;;4791:6:24;4779:19;;;4761:38;;4749:2;4734:18;3670:21:22;4617:188:24;4544:167:19;;;;;;;;;;-1:-1:-1;;;;;;;;;;;;4690:14:19;4544:167;;5433:666:22;;;;;;;;;;-1:-1:-1;5433:666:22;;;;;:::i;:::-;;:::i;2441:144:0:-;;;;;;;;;;;;;:::i;11133:135:22:-;;;;;;;;;;-1:-1:-1;11133:135:22;;;;;:::i;:::-;;:::i;9697:380:3:-;;;;;;;;;;-1:-1:-1;9697:380:3;;;;;:::i;:::-;;:::i;3268:148:2:-;;;;;;;;;;;;;:::i;2346:386:19:-;;;;;;;;;;-1:-1:-1;2346:386:19;;;;;:::i;:::-;;:::i;3571:274::-;;;;;;;;;;;;;:::i;3422:22:22:-;;;;;;;;;;-1:-1:-1;3422:22:22;;;;-1:-1:-1;;;;;3422:22:22;;;13592:460;;;;;;;;;;-1:-1:-1;13592:460:22;;;;;:::i;:::-;;:::i;9922:275::-;;;;;;;;;;-1:-1:-1;9922:275:22;;;;;:::i;:::-;;:::i;4767:178:2:-;;;;;;;;;;-1:-1:-1;4767:178:2;;;;;:::i;:::-;;:::i;1708:58:11:-;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;1708:58:11;;;;;15046:373:22;;;;;;;;;;-1:-1:-1;15046:373:22;;;;;:::i;:::-;;:::i;10709:201::-;;;;;;;;;;-1:-1:-1;10709:201:22;;;;;:::i;:::-;;:::i;8450:143:3:-;;;;;;;;;;-1:-1:-1;8450:143:3;;;;;:::i;:::-;;:::i;15524:218:22:-;;;;;;;;;;-1:-1:-1;15524:218:22;;;;;:::i;:::-;;:::i;15799:214::-;;;;;;;;;;-1:-1:-1;15799:214:22;;;;;:::i;:::-;;:::i;7179:148:3:-;;;;;;;;;;-1:-1:-1;7179:148:3;;;;;:::i;:::-;;:::i;14488:308:22:-;;;;;;;;;;-1:-1:-1;14488:308:22;;;;;:::i;:::-;;:::i;7887:153:3:-;;;;;;;;;;-1:-1:-1;7887:153:3;;;;;:::i;:::-;;:::i;12856:466:22:-;;;;;;;;;;-1:-1:-1;12856:466:22;;;;;:::i;:::-;;:::i;9417:235::-;;;;;;;;;;-1:-1:-1;9417:235:22;;;;;:::i;:::-;;:::i;8088:112:3:-;;;;;;;;;;-1:-1:-1;8088:112:3;;;;;:::i;:::-;;:::i;7171:143:22:-;;;;;;;;;;;;;:::i;4908:171:19:-;;;;;;;;;;;;;:::i;3312:23:22:-;;;;;;;;;;-1:-1:-1;3312:23:22;;;;-1:-1:-1;;;;;3312:23:22;;;5003:195:2;;;;;;;;;;-1:-1:-1;5003:195:2;;;;;:::i;:::-;;:::i;3183:21:22:-;;;;;;;;;;-1:-1:-1;3183:21:22;;;;-1:-1:-1;;;;;3183:21:22;;;11613:985;;;;;;;;;;-1:-1:-1;11613:985:22;;;;;:::i;:::-;;:::i;3405:215:0:-;;;;;;;;;;-1:-1:-1;3405:215:0;;;;;:::i;:::-;;:::i;3962:28:22:-;;;;;;;;;;;;;;;;16115:126;16168:7;16201;:5;:7::i;:::-;16194:40;;-1:-1:-1;;;16194:40:22;;16228:4;16194:40;;;2913:51:24;-1:-1:-1;;;;;16194:25:22;;;;;;;2886:18:24;;16194:40:22;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;16187:47;;16115:126;:::o;3011:144:2:-;3141:7;3134:14;;3056:13;;-1:-1:-1;;;;;;;;;;;2359:20:2;3134:14;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3011:144;:::o;7381:148:3:-;7451:7;7477:45;7494:6;7502:19;7477:16;:45::i;:::-;7470:52;7381:148;-1:-1:-1;;7381:148:3:o;5505:186:2:-;5578:4;966:10:4;5632:31:2;966:10:4;5648:7:2;5657:5;5632:8;:31::i;:::-;-1:-1:-1;5680:4:2;;5505:186;-1:-1:-1;;;5505:186:2:o;8647:147:3:-;8717:7;8743:44;8760:6;8768:18;8743:16;:44::i;2960:464:19:-;5007:7:22;:5;:7::i;:::-;-1:-1:-1;;;;;4993:21:22;:10;-1:-1:-1;;;;;4993:21:22;;4989:72;;5023:38;;-1:-1:-1;;;5023:38:22;;5050:10;5023:38;;;2913:51:24;2886:18;;5023:38:22;;;;;;;;4989:72;-1:-1:-1;;;;;3043:21:19;::::1;3039:47;;3073:13;;-1:-1:-1::0;;;3073:13:19::1;;;;;;;;;;;3039:47;-1:-1:-1::0;;;;;;;;;;;3172:33:19;;-1:-1:-1;;;;;;3172:33:19::1;-1:-1:-1::0;;;;;3172:33:19;::::1;;::::0;;-1:-1:-1;;;;;;;;;;;3239:14:19;;-1:-1:-1;;3239:19:19;:60:::1;;3285:14:::0;;3239:60:::1;;;736:6;3239:60;3215:84:::0;-1:-1:-1;3328:31:19::1;3215:84:::0;3328:15:::1;:31;:::i;:::-;3309:16;::::0;::::1;:50:::0;;;3374:43:::1;::::0;817:25:24;;;-1:-1:-1;;;;;3374:43:19;::::1;::::0;::::1;::::0;805:2:24;790:18;3374:43:19::1;;;;;;;3029:395;;2960:464:::0;:::o;8918:248:22:-;2334:13:0;:11;:13::i;:::-;-1:-1:-1;;;;;8983:19:22;::::1;8979:52;;9011:20;;-1:-1:-1::0;;;9011:20:22::1;;;;;;;;;;;8979:52;9053:4;::::0;-1:-1:-1;;;;;9045:22:22;;::::1;9053:4:::0;::::1;9045:22:::0;9041:47:::1;;9076:12;;-1:-1:-1::0;;;9076:12:22::1;;;;;;;;;;;9041:47;9103:23;::::0;-1:-1:-1;;;;;2931:32:24;;2913:51;;9103:23:22::1;::::0;2901:2:24;2886:18;9103:23:22::1;;;;;;;9136:4;:23:::0;;-1:-1:-1;;;;;;9136:23:22::1;-1:-1:-1::0;;;;;9136:23:22;;;::::1;::::0;;;::::1;::::0;;8918:248::o;4191:152:2:-;4243:7;;-1:-1:-1;;;;;;;;;;;4287:18:2;4322:14;;;;4191:152;-1:-1:-1;;4191:152:2:o;6251:244::-;6338:4;966:10:4;6394:37:2;6410:4;966:10:4;6425:5:2;6394:15;:37::i;:::-;6441:26;6451:4;6457:2;6461:5;6441:9;:26::i;:::-;6484:4;6477:11;;;6251:244;;;;;;:::o;6482:221:3:-;6574:5;;-1:-1:-1;;;;;;;;;;;6591:47:3;-1:-1:-1;13718:5:3;6655:21;;:41;;;-1:-1:-1;;;6655:21:3;;;;:41;:::i;:::-;6648:48;;;6482:221;:::o;6747:153::-;6793:7;;-1:-1:-1;;;;;;;;;;;6839:20:3;6884:8;-1:-1:-1;;;;;6884:8:3;;6747:153;-1:-1:-1;;6747:153:3:o;8356:259:22:-;2334:13:0;:11;:13::i;:::-;-1:-1:-1;;;;;8429:23:22;::::1;8425:56;;8461:20;;-1:-1:-1::0;;;8461:20:22::1;;;;;;;;;;;8425:56;8495:8;::::0;-1:-1:-1;;;;;8495:21:22;;::::1;:8:::0;::::1;:21:::0;8491:46:::1;;8525:12;;-1:-1:-1::0;;;8525:12:22::1;;;;;;;;;;;8491:46;8552:26;::::0;-1:-1:-1;;;;;2931:32:24;;2913:51;;8552:26:22::1;::::0;2901:2:24;2886:18;8552:26:22::1;;;;;;;8588:8;:20:::0;;-1:-1:-1;;;;;;8588:20:22::1;-1:-1:-1::0;;;;;8588:20:22;;;::::1;::::0;;;::::1;::::0;;8356:259::o;6464:440::-;3251:21:5;:19;:21::i;:::-;4622:8:22::1;::::0;-1:-1:-1;;;;;4622:8:22::1;4608:10;:22;::::0;::::1;::::0;:47:::1;;;4648:7;:5;:7::i;:::-;-1:-1:-1::0;;;;;4634:21:22::1;:10;-1:-1:-1::0;;;;;4634:21:22::1;;;4608:47;4604:85;;;4664:25;::::0;-1:-1:-1;;;4664:25:22;;4678:10:::1;4664:25;::::0;::::1;2913:51:24::0;2886:18;;4664:25:22::1;2767:203:24::0;4604:85:22::1;6544:6:::2;4137;4147:1;4137:11:::0;4133:39:::2;;4157:15;;-1:-1:-1::0;;;4157:15:22::2;;;;;;;;;;;4133:39;6590:15:::3;6562:25;:43:::0;6619:7:::3;::::0;-1:-1:-1;;;6619:7:22;::::3;;;:12:::0;;::::3;::::0;:37:::3;;-1:-1:-1::0;6635:7:22::3;::::0;-1:-1:-1;;;;;6635:7:22::3;:21:::0;::::3;6619:37;6615:190;;;6695:7;::::0;6672:11:::3;::::0;6705:4:::3;::::0;6686:16:::3;::::0;-1:-1:-1;;;6695:7:22;::::3;;;6686:6:::0;:16:::3;:::i;:::-;:23;;;;:::i;:::-;6672:37;;6732:7;:5;:7::i;:::-;6746;::::0;;6723:36:::3;::::0;-1:-1:-1;;;6723:36:22;;-1:-1:-1;;;;;6746:7:22;;::::3;6723:36:::0;;::::3;9880:51:24::0;;;;9947:18;;;9940:34;;;6723:22:22;;;::::3;::::0;::::3;::::0;9853:18:24;;6723:36:22::3;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6791:3;6782:6;:12;;;;:::i;:::-;6773:21;;6658:147;6615:190;6823:7;:5;:7::i;:::-;6814:45;::::0;-1:-1:-1;;;6814:45:22;;6845:4:::3;6814:45;::::0;::::3;9880:51:24::0;9947:18;;;9940:34;;;-1:-1:-1;;;;;6814:22:22;;;::::3;::::0;::::3;::::0;9853:18:24;;6814:45:22::3;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1::0;;6874:23:22::3;::::0;6890:6;;-1:-1:-1;6874:23:22::3;::::0;-1:-1:-1;6874:23:22;;::::3;4699:1:::2;3293:20:5::0;1805:1;-1:-1:-1;;;;;;;;;;;3969:23:5;3716:283;3293:20;6464:440:22;:::o;3892:214:11:-;2542:13;:11;:13::i;:::-;4007:36:::1;4025:17;4007;:36::i;:::-;4053:46;4075:17;4094:4;4053:21;:46::i;:::-;3892:214:::0;;:::o;3439:134::-;3508:7;2813:20;:18;:20::i;:::-;-1:-1:-1;;;;;;;;;;;;3439:134:11;:::o;7875:251:22:-;2334:13:0;:11;:13::i;:::-;7960::22::1;;7950:6;:23:::0;7946:48:::1;;7982:12;;-1:-1:-1::0;;;7982:12:22::1;;;;;;;;;;;7946:48;8017:4;8008:6;:13;8004:40;;;8030:14;;-1:-1:-1::0;;;8030:14:22::1;;;;;;;;;;;8004:40;8059:28;::::0;817:25:24;;;8059:28:22::1;::::0;805:2:24;790:18;8059:28:22::1;;;;;;;8097:13;:22:::0;7875:251::o;9038:392:3:-;9113:7;-1:-1:-1;;9302:14:3;9319:22;9334:6;9319:14;:22::i;:::-;9302:39;-1:-1:-1;9351:48:3;966:10:4;9374:8:3;9384:6;9392;9351:8;:48::i;:::-;9417:6;9038:392;-1:-1:-1;;;;9038:392:3:o;4401:171:2:-;-1:-1:-1;;;;;4545:20:2;4466:7;4545:20;;;-1:-1:-1;;;;;;;;;;;4545:20:2;;;;;;;4401:171::o;3155:101:0:-;2334:13;:11;:13::i;:::-;3219:30:::1;3246:1;3219:18;:30::i;:::-;3155:101::o:0;5433:666:22:-;8870:21:1;4302:15;;-1:-1:-1;;;4302:15:1;;;;4301:16;;4348:14;;4158:30;4726:16;;:34;;;;;4746:14;4726:34;4706:54;;4770:17;4790:11;:16;;4805:1;4790:16;:50;;;;-1:-1:-1;4818:4:1;4810:25;:30;4790:50;4770:70;;4856:12;4855:13;:30;;;;;4873:12;4872:13;4855:30;4851:91;;;4908:23;;-1:-1:-1;;;4908:23:1;;;;;;;;;;;4851:91;4951:18;;-1:-1:-1;;4951:18:1;4968:1;4951:18;;;4979:67;;;;5013:22;;-1:-1:-1;;;;5013:22:1;-1:-1:-1;;;5013:22:1;;;4979:67;-1:-1:-1;;;;;5638:20:22;::::1;::::0;;:54:::1;;-1:-1:-1::0;;;;;;5662:30:22;::::1;::::0;5638:54:::1;:87;;;-1:-1:-1::0;;;;;;5696:29:22;::::1;::::0;5638:87:::1;5634:145;;;5748:20;;-1:-1:-1::0;;;5748:20:22::1;;;;;;;;;;;5634:145;5789:28;5802:5;;5789:28;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;::::0;;;;-1:-1:-1;;5789:28:22::1;::::0;;::::1;;::::0;::::1;::::0;;::::1;::::0;::::1;::::0;;;;;;;;;;;-1:-1:-1;5809:7:22;;-1:-1:-1;5809:7:22;;;;5789:28;::::1;5809:7:::0;;;;5789:28;::::1;;::::0;::::1;::::0;;;;-1:-1:-1;5789:12:22::1;::::0;-1:-1:-1;;;5789:28:22:i:1;:::-;5827:30;5849:6;5827:14;:30::i;:::-;5867:22;5882:6;5867:14;:22::i;:::-;5899:24;:22;:24::i;:::-;5933;:22;:24::i;:::-;5984:4;5968:13;:20:::0;5998:15:::1;:22:::0;;-1:-1:-1;;;;6030:25:22;-1:-1:-1;;;6030:25:22;;;6065:8:::1;:27:::0;;-1:-1:-1;;;;;;6065:27:22::1;-1:-1:-1::0;;;;;6065:27:22;::::1;;::::0;;5066:101:1;;;;5100:23;;-1:-1:-1;;;;5100:23:1;;;5142:14;;-1:-1:-1;10621:50:24;;5142:14:1;;10609:2:24;10594:18;5142:14:1;;;;;;;5066:101;4092:1081;;;;;5433:666:22;;;;;;;:::o;2441:144:0:-;2487:7;;1313:22;2533:20;1192:159;11133:135:22;2334:13:0;:11;:13::i;:::-;11202:19:22::1;::::0;817:25:24;;;11202:19:22::1;::::0;805:2:24;790:18;11202:19:22::1;;;;;;;11240:7;:5;:7::i;:::-;-1:-1:-1::0;;;;;11231:22:22::1;;11254:6;11231:30;;;;;;;;;;;;;817:25:24::0;;805:2;790:18;;671:177;11231:30:22::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;11133:135:::0;:::o;9697:380:3:-;9769:7;-1:-1:-1;;9952:14:3;9969:19;9981:6;9969:11;:19::i;:::-;9952:36;-1:-1:-1;9998:48:3;966:10:4;10021:8:3;10031:6;10039;9998:8;:48::i;3268:148:2:-;3400:9;3393:16;;3315:13;;-1:-1:-1;;;;;;;;;;;2359:20:2;3393:16;;;:::i;2346:386:19:-;5007:7:22;:5;:7::i;:::-;-1:-1:-1;;;;;4993:21:22;:10;-1:-1:-1;;;;;4993:21:22;;4989:72;;5023:38;;-1:-1:-1;;;5023:38:22;;5050:10;5023:38;;;2913:51:24;2886:18;;5023:38:22;2767:203:24;4989:72:22;2478:4:19::1;2467:8;:15;2463:44;;;2491:16;;-1:-1:-1::0;;;2491:16:19::1;;;;;;;;;;;2463:44;2518:21;2542:14;-1:-1:-1::0;;;;;;;;;;;4690:14:19;;4544:167;2542:14:::1;2571:44;::::0;;10856:25:24;;;10912:2;10897:18;;10890:34;;;2518:38:19;;-1:-1:-1;2571:44:19::1;::::0;10829:18:24;2571:44:19::1;;;;;;;-1:-1:-1::0;;;;;;;;;;;;2700:25:19;2346:386::o;3571:274::-;5007:7:22;:5;:7::i;:::-;-1:-1:-1;;;;;4993:21:22;:10;-1:-1:-1;;;;;4993:21:22;;4989:72;;5023:38;;-1:-1:-1;;;5023:38:22;;5050:10;5023:38;;;2913:51:24;2886:18;;5023:38:22;2767:203:24;4989:72:22;-1:-1:-1;;;;;;;;;;;3738:23:19;3722:40:::1;::::0;-1:-1:-1;;;;;;;;;;;1413:24:19;-1:-1:-1;;;;;3738:23:19::1;::::0;3722:40:::1;::::0;3642:33:::1;::::0;3722:40:::1;3772:23;::::0;::::1;:36:::0;;-1:-1:-1;;;;;;3772:36:19::1;::::0;;3806:1:::1;3818:16;::::0;;::::1;:20:::0;3571:274::o;13592:460:22:-;4452:16;;13682:7;;-1:-1:-1;;;4452:16:22;;;;:21;;4448:55;;4482:21;;-1:-1:-1;;;4482:21:22;;;;;;;;;;;4448:55;13714:16:::1;13724:5;13714:9;:16::i;:::-;13705:6;:25;13701:61;;;13739:23;;-1:-1:-1::0;;;13739:23:22::1;;;;;;;;;;;13701:61;13773:14;13790:21;13804:6;13790:13;:21::i;:::-;13880:16;::::0;13773:38;;-1:-1:-1;13853:43:22::1;::::0;-1:-1:-1;;;13880:16:22;::::1;;;13861:15;13853:43;:::i;:::-;-1:-1:-1::0;;;;;13822:16:22;::::1;;::::0;;;:9:::1;:16;::::0;;;;;;:74;;-1:-1:-1;;;;;;13822:74:22::1;-1:-1:-1::0;;;;;13822:74:22;;;::::1;::::0;;;::::1;::::0;;13906:33;;;::::1;:43:::0;;13943:6;;13822:16;13906:43:::1;::::0;13943:6;;13906:43:::1;:::i;:::-;::::0;;;-1:-1:-1;13960:61:22::1;::::0;-1:-1:-1;966:10:4;13992:4:22::1;::::0;-1:-1:-1;;;;;13992:4:22::1;13999:5:::0;14006:6;14014;13960:9:::1;:61::i;9922:275::-:0;2334:13:0;:11;:13::i;:::-;10011:4:22::1;9998:10;:17;;;9990:73;;;::::0;-1:-1:-1;;;9990:73:22;;11364:2:24;9990:73:22::1;::::0;::::1;11346:21:24::0;11403:2;11383:18;;;11376:30;11442:34;11422:18;;;11415:62;-1:-1:-1;;;11493:18:24;;;11486:41;11544:19;;9990:73:22::1;11162:407:24::0;9990:73:22::1;10077:7;::::0;:21:::1;::::0;;::::1;-1:-1:-1::0;;;10077:7:22;;::::1;;:21:::0;10073:46:::1;;10107:12;;-1:-1:-1::0;;;10107:12:22::1;;;;;;;;;;;10073:46;10134:26;::::0;4791:6:24;4779:19;;4761:38;;10134:26:22::1;::::0;4749:2:24;4734:18;10134:26:22::1;;;;;;;10170:7;:20:::0;;::::1;::::0;;::::1;-1:-1:-1::0;;;10170:20:22::1;-1:-1:-1::0;;;;10170:20:22;;::::1;::::0;;;::::1;::::0;;9922:275::o;4767:178:2:-;4836:4;966:10:4;4890:27:2;966:10:4;4907:2:2;4911:5;4890:9;:27::i;15046:373:22:-;2334:13:0;:11;:13::i;:::-;-1:-1:-1;;;;;15184:18:22;::::1;15148:33;15184:18:::0;;;:9:::1;:18;::::0;;;;15216:24;;15184:18;;-1:-1:-1;;;;;15216:24:22;;::::1;:29:::0;;15212:59:::1;;15254:17;;-1:-1:-1::0;;;15254:17:22::1;;;;;;;;;;;15212:59;15319:24:::0;;15287:73:::1;::::0;;-1:-1:-1;;;;;11794:32:24;;11776:51;;-1:-1:-1;;;;;15319:24:22;;::::1;11858:2:24::0;11843:18;;11836:69;11941:41;;;11921:18;;;11914:69;15287:73:22;::::1;::::0;;;;11764:2:24;15287:73:22;;::::1;15371:41:::0;;-1:-1:-1;;;;;;15371:41:22::1;-1:-1:-1::0;;;;;15371:41:22;;;::::1;::::0;;;::::1;::::0;;-1:-1:-1;15046:373:22:o;10709:201::-;2334:13:0;:11;:13::i;:::-;10825:7:22::1;:5;:7::i;:::-;-1:-1:-1::0;;;;;10807:25:22::1;10815:5;-1:-1:-1::0;;;;;10807:25:22::1;::::0;10803:52:::1;;10841:14;;-1:-1:-1::0;;;10841:14:22::1;;;;;;;;;;;10803:52;10865:38;-1:-1:-1::0;;;;;10865:26:22;::::1;10892:2:::0;10896:6;10865:26:::1;:38::i;:::-;10709:201:::0;;;:::o;8450:143:3:-;8516:7;8542:44;8559:6;8567:18;8542:16;:44::i;15524:218:22:-;4287:16;;15666:7;;-1:-1:-1;;;4287:16:22;;;;:21;4283:55;;4317:21;;-1:-1:-1;;;4317:21:22;;;;;;;;;;;4283:55;15696:39:::1;15711:6;15719:8;15729:5;15696:14;:39::i;15799:214::-:0;4287:16;;15939:7;;-1:-1:-1;;;4287:16:22;;;;:21;4283:55;;4317:21;;-1:-1:-1;;;4317:21:22;;;;;;;;;;;4283:55;15969:37:::1;15982:6;15990:8;16000:5;15969:12;:37::i;7179:148:3:-:0;7249:7;7275:45;7292:6;7300:19;7275:16;:45::i;14488:308:22:-;2334:13:0;:11;:13::i;:::-;2704:7:22::1;14567:32;::::0;::::1;;14563:62;;;14608:17;;-1:-1:-1::0;;;14608:17:22::1;;;;;;;;;;;14563:62;14662:16;::::0;;::::1;14688:27:::0;;::::1;-1:-1:-1::0;;;14688:27:22;;::::1;-1:-1:-1::0;;;;14688:27:22;::::1;;::::0;;;;14730:59:::1;::::0;;14662:16;;;::::1;::::0;::::1;12164:40:24::0;;;14772:16:22;;;::::1;::::0;;::::1;12235:2:24::0;12220:18;;12213:49;14662:16:22;14730:59:::1;::::0;12137:18:24;14730:59:22::1;;;;;;;14553:243;14488:308:::0;:::o;7887:153:3:-;7952:7;7978:55;7995:16;8005:5;7995:9;:16::i;:::-;8013:19;7978:16;:55::i;12856:466:22:-;4452:16;;12946:7;;-1:-1:-1;;;4452:16:22;;;;:21;;4448:55;;4482:21;;-1:-1:-1;;;4482:21:22;;;;;;;;;;;4448:55;12978:18:::1;12990:5;12978:11;:18::i;:::-;12969:6;:27;12965:65;;;13005:25;;-1:-1:-1::0;;;13005:25:22::1;;;;;;;;;;;12965:65;13041:14;13058:23;13074:6;13058:15;:23::i;:::-;13150:16;::::0;13041:40;;-1:-1:-1;13123:43:22::1;::::0;-1:-1:-1;;;13150:16:22;::::1;;;13131:15;13123:43;:::i;:::-;-1:-1:-1::0;;;;;13092:16:22;::::1;;::::0;;;:9:::1;:16;::::0;;;;;;:74;;-1:-1:-1;;;;;;13092:74:22::1;-1:-1:-1::0;;;;;13092:74:22;;;::::1;::::0;;;::::1;::::0;;13176:33;;;::::1;:43:::0;;13213:6;;13092:16;13176:43:::1;::::0;13213:6;;13176:43:::1;:::i;:::-;::::0;;;-1:-1:-1;13230:61:22::1;::::0;-1:-1:-1;966:10:4;13262:4:22::1;::::0;-1:-1:-1;;;;;13262:4:22::1;13269:5:::0;13276:6;13284;13230:9:::1;:61::i;9417:235::-:0;2334:13:0;:11;:13::i;:::-;-1:-1:-1;;;;;9485:19:22;::::1;9481:52;;9513:20;;-1:-1:-1::0;;;9513:20:22::1;;;;;;;;;;;9481:52;9547:7;::::0;-1:-1:-1;;;;;9547:16:22;;::::1;:7:::0;::::1;:16:::0;9543:41:::1;;9572:12;;-1:-1:-1::0;;;9572:12:22::1;;;;;;;;;;;9543:41;9599:21;::::0;-1:-1:-1;;;;;2931:32:24;;2913:51;;9599:21:22::1;::::0;2901:2:24;2886:18;9599:21:22::1;;;;;;;9630:7;:15:::0;;-1:-1:-1;;;;;;9630:15:22::1;-1:-1:-1::0;;;;;9630:15:22;;;::::1;::::0;;;::::1;::::0;;9417:235::o;8088:112:3:-;8151:7;8177:16;8187:5;8177:9;:16::i;7171:143:22:-;2334:13:0;:11;:13::i;:::-;7245:15:22::1;::::0;;::::1;-1:-1:-1::0;;;7245:15:22;;::::1;::::0;::::1;7244:16;7226:34:::0;::::1;-1:-1:-1::0;;;;7226:34:22;;::::1;::::0;;;::::1;::::0;;;;7275:32:::1;::::0;::::1;::::0;::::1;::::0;7291:15;::::1;::::0;;::::1;1977:14:24::0;1970:22;1952:41;;1940:2;1925:18;;1812:187;7275:32:22::1;;;;;;;;7171:143::o:0;4908:171:19:-;4955:7;;-1:-1:-1;;;;;;;;;;;5010:29:19;1228:225;5003:195:2;-1:-1:-1;;;;;5162:20:2;;;5083:7;5162:20;;;:13;:20;;;;;;;;:29;;;;;;;;;;;;;5003:195::o;11613:985:22:-;3251:21:5;:19;:21::i;:::-;11726:10:22::1;11680:33;11716:21:::0;;;:9:::1;:21;::::0;;;;;;;11764:29;;::::1;::::0;11808:24;;11835:15:::1;-1:-1:-1::0;;;;;11808:24:22;;::::1;:42;11804:142;;;11910:24:::0;;11873:62:::1;::::0;-1:-1:-1;;;11873:62:22;;11893:15:::1;11873:62;::::0;::::1;12447:25:24::0;-1:-1:-1;;;;;11910:24:22;;::::1;12488:18:24::0;;;12481:69;12420:18;;11873:62:22::1;12273:283:24::0;11804:142:22::1;11959:6;11969:1;11959:11:::0;11955:42:::1;;11979:18;;-1:-1:-1::0;;;11979:18:22::1;;;;;;;;;;;11955:42;12011:13;;12028:1;12011:18:::0;12007:50:::1;;12038:19;;-1:-1:-1::0;;;12038:19:22::1;;;;;;;;;;;12007:50;12068:28:::0;;-1:-1:-1;;;;;;12068:28:22::1;::::0;;12095:1:::1;12068:28:::0;12106:29;::::1;:33:::0;12199:13:::1;::::0;12178:6;;12215:4:::1;-1:-1:-1::0;12195:272:22::1;;;12280:4;12264:13;;12255:6;:22;;;;:::i;:::-;:29;;;;:::i;:::-;12235:49:::0;-1:-1:-1;12298:21:22::1;12322:26;12235:49:::0;12322:6;:26:::1;:::i;:::-;12362:4;::::0;:43:::1;::::0;-1:-1:-1;;;12362:43:22;;12384:4:::1;12362:43;::::0;::::1;9880:51:24::0;9947:18;;;9940:34;;;12298:50:22;;-1:-1:-1;;;;;;12362:4:22::1;::::0;:13:::1;::::0;9853:18:24;;12362:43:22::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;12428:7;:5;:7::i;:::-;-1:-1:-1::0;;;;;12419:22:22::1;;12442:13;12419:37;;;;;;;;;;;;;817:25:24::0;;805:2;790:18;;671:177;12419:37:22::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;12221:246;12195:272;12482:56;::::0;;12490:10:::1;12792:51:24::0;;-1:-1:-1;;;;;12879:32:24;;12874:2;12859:18;;12852:60;12928:18;;;12921:34;;;12986:2;12971:18;;12964:34;;;12482:56:22::1;::::0;12779:3:24;12764:19;12482:56:22::1;;;;;;;12549:4;::::0;:42:::1;::::0;-1:-1:-1;;;12549:42:22;;-1:-1:-1;;;;;9898:32:24;;;12549:42:22::1;::::0;::::1;9880:51:24::0;9947:18;;;9940:34;;;12549:4:22;;::::1;::::0;:13:::1;::::0;9853:18:24;;12549:42:22::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;11670:928;;;3293:20:5::0;1805:1;-1:-1:-1;;;;;;;;;;;3969:23:5;3716:283;3405:215:0;2334:13;:11;:13::i;:::-;-1:-1:-1;;;;;3489:22:0;::::1;3485:91;;3534:31;::::0;-1:-1:-1;;;3534:31:0;;3562:1:::1;3534:31;::::0;::::1;2913:51:24::0;2886:18;;3534:31:0::1;2767:203:24::0;3485:91:0::1;3585:28;3604:8;3585:18;:28::i;11448:213:3:-:0;11545:7;11571:83;11585:13;:11;:13::i;:::-;:17;;11601:1;11585:17;:::i;:::-;11620:23;13718:5;11620:2;:23;:::i;:::-;11604:13;:11;:13::i;:::-;:39;;;;:::i;:::-;11571:6;;:83;11645:8;11571:13;:83::i;10264:128:2:-;10348:37;10357:5;10364:7;10373:5;10380:4;10348:8;:37::i;11111:213:3:-;11208:7;11234:83;11264:23;11208:7;11264:2;:23;:::i;:::-;11248:13;:11;:13::i;:::-;:39;;;;:::i;:::-;11289:13;:11;:13::i;:::-;:17;;11305:1;11289:17;:::i;2658:162:0:-;966:10:4;2717:7:0;:5;:7::i;:::-;-1:-1:-1;;;;;2717:23:0;;2713:101;;2763:40;;-1:-1:-1;;;2763:40:0;;966:10:4;2763:40:0;;;2913:51:24;2886:18;;2763:40:0;2767:203:24;11993:477:2;12092:24;12119:25;12129:5;12136:7;12119:9;:25::i;:::-;12092:52;;-1:-1:-1;;12158:16:2;:37;12154:310;;12234:5;12215:16;:24;12211:130;;;12293:7;12302:16;12320:5;12266:60;;-1:-1:-1;;;12266:60:2;;;;;;;;;;:::i;12211:130::-;12382:57;12391:5;12398:7;12426:5;12407:16;:24;12433:5;12382:8;:57::i;:::-;12082:388;11993:477;;;:::o;6868:300::-;-1:-1:-1;;;;;6951:18:2;;6947:86;;6992:30;;-1:-1:-1;;;6992:30:2;;7019:1;6992:30;;;2913:51:24;2886:18;;6992:30:2;2767:203:24;6947:86:2;-1:-1:-1;;;;;7046:16:2;;7042:86;;7085:32;;-1:-1:-1;;;7085:32:2;;7114:1;7085:32;;;2913:51:24;2886:18;;7085:32:2;2767:203:24;7042:86:2;7137:24;7145:4;7151:2;7155:5;7137:7;:24::i;3326:384:5:-;-1:-1:-1;;;;;;;;;;;3526:9:5;;-1:-1:-1;;3526:20:5;3522:88;;3569:30;;-1:-1:-1;;;3569:30:5;;;;;;;;;;;3522:88;1847:1;3684:19;;3326:384::o;3716:283::-;1805:1;-1:-1:-1;;;;;;;;;;;3969:23:5;3716:283::o;4333:312:11:-;4413:4;-1:-1:-1;;;;;4422:6:11;4405:23;;;:120;;;4519:6;-1:-1:-1;;;;;4483:42:11;:32;-1:-1:-1;;;;;;;;;;;2035:53:9;-1:-1:-1;;;;;2035:53:9;;1957:138;4483:32:11;-1:-1:-1;;;;;4483:42:11;;;4405:120;4388:251;;;4599:29;;-1:-1:-1;;;4599:29:11;;;;;;;;;;;6105:169:22;2334:13:0;:11;:13::i;:::-;6244:23:22::1;6259:7;6244:14;:23::i;5786:538:11:-:0;5903:17;-1:-1:-1;;;;;5885:50:11;;:52;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;5885:52:11;;;;;;;;-1:-1:-1;;5885:52:11;;;;;;;;;;;;:::i;:::-;;;5881:437;;6247:60;;-1:-1:-1;;;6247:60:11;;-1:-1:-1;;;;;2931:32:24;;6247:60:11;;;2913:51:24;2886:18;;6247:60:11;2767:203:24;5881:437:11;-1:-1:-1;;;;;;;;;;;5979:40:11;;5975:120;;6046:34;;-1:-1:-1;;;6046:34:11;;;;;817:25:24;;;790:18;;6046:34:11;671:177:24;5975:120:11;6108:54;6138:17;6157:4;6108:29;:54::i;4762:213::-;4836:4;-1:-1:-1;;;;;4845:6:11;4828:23;;4824:145;;4929:29;;-1:-1:-1;;;4929:29:11;;;;;;;;;;;16801:313:22;3251:21:5;:19;:21::i;:::-;4806:15:22::1;::::0;-1:-1:-1;;;4806:15:22;::::1;;;4801:47;;4830:18;;-1:-1:-1::0;;;4830:18:22::1;;;;;;;;;;;4801:47;16986:6:::2;4137;4147:1;4137:11:::0;4133:39:::2;;4157:15;;-1:-1:-1::0;;;4157:15:22::2;;;;;;;;;;;4133:39;17010:6:::3;4137;4147:1;4137:11:::0;4133:39:::3;;4157:15;;-1:-1:-1::0;;;4157:15:22::3;;;;;;;;;;;4133:39;17032:48:::4;17047:6;17055:8;17065:6;17073;17032:14;:48::i;:::-;17090:17;:15;:17::i;:::-;4182:1:::3;4858::::2;3293:20:5::0;1805:1;-1:-1:-1;;;;;;;;;;;3969:23:5;3716:283;3774:248:0;1313:22;3923:8;;-1:-1:-1;;;;;;3941:19:0;;-1:-1:-1;;;;;3941:19:0;;;;;;;;3975:40;;3923:8;;;;;3975:40;;3847:24;;3975:40;3837:185;;3774:248;:::o;2577:147:2:-;6931:20:1;:18;:20::i;:::-;2679:38:2::1;2702:5;2709:7;2679:22;:38::i;4977:114:3:-:0;6931:20:1;:18;:20::i;:::-;5052:32:3::1;5077:6;5052:24;:32::i;1847:127:0:-:0;6931:20:1;:18;:20::i;:::-;1929:38:0::1;1954:12;1929:24;:38::i;2540:111:5:-:0;6931:20:1;:18;:20::i;:::-;2610:34:5::1;:32;:34::i;1839:175:19:-:0;6931:20:1;:18;:20::i;:::-;2001:6:19::1;-1:-1:-1::0;;;;;;;;;;;1984:23:19;1839:175::o;17389:309:22:-;3251:21:5;:19;:21::i;:::-;17561:6:22::1;4137;4147:1;4137:11:::0;4133:39:::1;;4157:15;;-1:-1:-1::0;;;4157:15:22::1;;;;;;;;;;;4133:39;17585:6:::2;4137;4147:1;4137:11:::0;4133:39:::2;;4157:15;;-1:-1:-1::0;;;4157:15:22::2;;;;;;;;;;;4133:39;17607:57:::3;17623:6;17631:8;17641:6;17649;17657;17607:15;:57::i;:::-;17674:17;:15;:17::i;:::-;4182:1:::2;3282::5::1;3293:20:::0;1805:1;-1:-1:-1;;;;;;;;;;;3969:23:5;3716:283;1303:160:15;1412:43;;-1:-1:-1;;;;;9898:32:24;;;1412:43:15;;;9880:51:24;9947:18;;;9940:34;;;1385:71:15;;1405:5;;1427:14;;;;;9853:18:24;;1412:43:15;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;1412:43:15;;;;;;;;;;;1385:19;:71::i;10124:413:3:-;10215:7;10234:17;10254:18;10266:5;10254:11;:18::i;:::-;10234:38;;10295:9;10286:6;:18;10282:108;;;10354:5;10361:6;10369:9;10327:52;;-1:-1:-1;;;10327:52:3;;;;;;;;;;:::i;10282:108::-;10400:14;10417:23;10433:6;10417:15;:23::i;:::-;10400:40;-1:-1:-1;10450:56:3;966:10:4;10474:8:3;10484:5;10491:6;10499;10450:9;:56::i;:::-;10524:6;10124:413;-1:-1:-1;;;;;10124:413:3:o;10582:405::-;10671:7;10690:17;10710:16;10720:5;10710:9;:16::i;:::-;10690:36;;10749:9;10740:6;:18;10736:106;;;10806:5;10813:6;10821:9;10781:50;;-1:-1:-1;;;10781:50:3;;;;;;;;;;:::i;10736:106::-;10852:14;10869:21;10883:6;10869:13;:21::i;:::-;10852:38;-1:-1:-1;10900:56:3;966:10:4;10924:8:3;10934:5;10941:6;10949;10900:9;:56::i;8051:302:18:-;8152:7;8171:14;8188:25;8195:1;8198;8201:11;8188:6;:25::i;:::-;8171:42;;8227:26;8244:8;8227:16;:26::i;:::-;:59;;;;;8285:1;8270:11;8257:25;;;;;:::i;:::-;8267:1;8264;8257:25;:29;8227:59;8223:101;;;8302:11;8312:1;8302:11;;:::i;:::-;;8340:6;-1:-1:-1;;;;;;8051:302:18:o;11224:487:2:-;-1:-1:-1;;;;;;;;;;;;;;;;11389:19:2;;11385:89;;11431:32;;-1:-1:-1;;;11431:32:2;;11460:1;11431:32;;;2913:51:24;2886:18;;11431:32:2;2767:203:24;11385:89:2;-1:-1:-1;;;;;11487:21:2;;11483:90;;11531:31;;-1:-1:-1;;;11531:31:2;;11559:1;11531:31;;;2913:51:24;2886:18;;11531:31:2;2767:203:24;11483:90:2;-1:-1:-1;;;;;11582:20:2;;;;;;;:13;;;:20;;;;;;;;:29;;;;;;;;;:37;;;11629:76;;;;11679:7;-1:-1:-1;;;;;11663:31:2;11672:5;-1:-1:-1;;;;;11663:31:2;;11688:5;11663:31;;;;817:25:24;;805:2;790:18;;671:177;11663:31:2;;;;;;;;11322:389;11224:487;;;;:::o;7483:1170::-;-1:-1:-1;;;;;;;;;;;;;;;;7625:18:2;;7621:546;;7779:5;7761:1;:14;;;:23;;;;;;;:::i;:::-;;;;-1:-1:-1;7621:546:2;;-1:-1:-1;7621:546:2;;-1:-1:-1;;;;;7837:17:2;;7815:19;7837:17;;;;;;;;;;;7872:19;;;7868:115;;;7943:4;7949:11;7962:5;7918:50;;-1:-1:-1;;;7918:50:2;;;;;;;;;;:::i;7868:115::-;-1:-1:-1;;;;;8103:17:2;;:11;:17;;;;;;;;;;8123:19;;;;8103:39;;7621:546;-1:-1:-1;;;;;8181:16:2;;8177:429;;8344:14;;;:23;;;;;;;8177:429;;;-1:-1:-1;;;;;8557:15:2;;:11;:15;;;;;;;;;;:24;;;;;;8177:429;8636:2;-1:-1:-1;;;;;8621:25:2;8630:4;-1:-1:-1;;;;;8621:25:2;;8640:5;8621:25;;;;817::24;;805:2;790:18;;671:177;8621:25:2;;;;;;;;7558:1095;7483:1170;;;:::o;4100:397:19:-;-1:-1:-1;;;;;;;;;;;4250:23:19;-1:-1:-1;;;;;;;;;;;1413:24:19;-1:-1:-1;;;;;4239:34:19;;;4250:23;;4239:34;4235:71;;4282:24;;-1:-1:-1;;;4282:24:19;;;;;;;;;;;4235:71;4338:1;:16;;;4320:15;:34;4316:63;;;4363:16;;-1:-1:-1;;;4363:16:19;;;;;;;;;;;4316:63;4424:23;;;:36;;-1:-1:-1;;;;;;4424:36:19;;;4458:1;4470:16;;;;:20;-1:-1:-1;4100:397:19:o;2779:335:9:-;2870:37;2889:17;2870:18;:37::i;:::-;2922:27;;-1:-1:-1;;;;;2922:27:9;;;;;;;;2964:11;;:15;2960:148;;2995:53;3024:17;3043:4;2995:28;:53::i;2960:148::-;3079:18;:16;:18::i;11725:889:3:-;-1:-1:-1;;;;;;;;;;;12477:8:3;;12450:67;;-1:-1:-1;;;;;12477:8:3;12487:6;12503:4;12510:6;12450:26;:67::i;:::-;12527:23;12533:8;12543:6;12527:5;:23::i;:::-;12582:8;-1:-1:-1;;;;;12566:41:3;12574:6;-1:-1:-1;;;;;12566:41:3;;12592:6;12600;12566:41;;;;;;10856:25:24;;;10912:2;10897:18;;10890:34;10844:2;10829:18;;10682:248;16398:182:22;16449:20;16472:13;:11;:13::i;:::-;16449:36;;16514:1;16499:12;:16;:45;;;;;2602:7;16519:12;:25;16499:45;16495:78;;;16553:20;;-1:-1:-1;;;16553:20:22;;;;;;;;;;;7084:141:1;8870:21;8560:40;-1:-1:-1;;;8560:40:1;;;;7146:73;;7191:17;;-1:-1:-1;;;7191:17:1;;;;;;;;;;;2730:216:2;6931:20:1;:18;:20::i;:::-;-1:-1:-1;;;;;;;;;;;2895:7:2;:15:::1;2905:5:::0;2895:7;:15:::1;:::i;:::-;-1:-1:-1::0;2920:9:2::1;::::0;::::1;:19;2932:7:::0;2920:9;:19:::1;:::i;5097:304:3:-:0;6931:20:1;:18;:20::i;:::-;-1:-1:-1;;;;;;;;;;;5182:24:3::1;::::0;5277:28:::1;5298:6:::0;5277:20:::1;:28::i;:::-;5239:66;;;;5339:7;:28;;5365:2;5339:28;;;5349:13;5339:28;5315:52:::0;;-1:-1:-1;;;;;;5377:17:3;-1:-1:-1;;;5315:52:3::1;::::0;;;::::1;::::0;;;::::1;-1:-1:-1::0;;;;;;5377:17:3;;-1:-1:-1;;;;;5377:17:3;;;::::1;::::0;;;::::1;::::0;;;-1:-1:-1;;5097:304:3:o;1980:235:0:-;6931:20:1;:18;:20::i;2657:183:5:-;6931:20:1;:18;:20::i;12681:973:3:-;-1:-1:-1;;;;;;;;;;;;;;;;12915:15:3;;;;;;;12911:84;;12946:38;12962:5;12969:6;12977;12946:15;:38::i;:::-;13502:20;13508:5;13515:6;13502:5;:20::i;:::-;13555:8;;13532:50;;-1:-1:-1;;;;;13555:8:3;13565;13575:6;13532:22;:50::i;:::-;13625:5;-1:-1:-1;;;;;13598:49:3;13615:8;-1:-1:-1;;;;;13598:49:3;13607:6;-1:-1:-1;;;;;13598:49:3;;13632:6;13640;13598:49;;;;;;10856:25:24;;;10912:2;10897:18;;10890:34;10844:2;10829:18;;10682:248;13598:49:3;;;;;;;;12844:810;12681:973;;;;;:::o;4059:629:15:-;4478:23;4504:33;-1:-1:-1;;;;;4504:27:15;;4532:4;4504:27;:33::i;:::-;4478:59;;4551:10;:17;4572:1;4551:22;;:57;;;;;4589:10;4578:30;;;;;;;;;;;;:::i;:::-;4577:31;4551:57;4547:135;;;4631:40;;-1:-1:-1;;;4631:40:15;;-1:-1:-1;;;;;2931:32:24;;4631:40:15;;;2913:51:24;2886:18;;4631:40:15;2767:203:24;3803:4116:18;3885:14;4248:5;;;3885:14;-1:-1:-1;;4252:1:18;4248;4420:20;4493:5;4489:2;4486:13;4478:5;4474:2;4470:14;4466:34;4457:43;;;4595:5;4604:1;4595:10;4591:368;;4933:11;4925:5;:19;;;;;:::i;:::-;;4918:26;;;;;;4591:368;5080:5;5065:11;:20;5061:88;;5112:22;;-1:-1:-1;;;5112:22:18;;;;;;;;;;;5061:88;5404:17;5539:11;5536:1;5533;5526:25;5939:12;5969:15;;;5954:31;;6088:22;;;;;6813:1;6794;:15;;6793:21;;7046;;;7042:25;;7031:36;7115:21;;;7111:25;;7100:36;7185:21;;;7181:25;;7170:36;7255:21;;;7251:25;;7240:36;7325:21;;;7321:25;;7310:36;7396:21;;;7392:25;;;7381:36;6333:12;;;;6329:23;;;6354:1;6325:31;5653:20;;;5642:32;;;6445:12;;;;5700:21;;;;6186:16;;;;6436:21;;;;7860:15;;;;;-1:-1:-1;;3803:4116:18;;;;;:::o;14993:122::-;15061:4;15102:1;15090:8;15084:15;;;;;;;;:::i;:::-;:19;;;;:::i;:::-;:24;;15107:1;15084:24;15077:31;;14993:122;;;:::o;2186:281:9:-;2263:17;-1:-1:-1;;;;;2263:29:9;;2296:1;2263:34;2259:119;;2320:47;;-1:-1:-1;;;2320:47:9;;-1:-1:-1;;;;;2931:32:24;;2320:47:9;;;2913:51:24;2886:18;;2320:47:9;2767:203:24;2259:119:9;-1:-1:-1;;;;;;;;;;;2387:73:9;;-1:-1:-1;;;;;;2387:73:9;-1:-1:-1;;;;;2387:73:9;;;;;;;;;;2186:281::o;4106:253:16:-;4189:12;4214;4228:23;4255:6;-1:-1:-1;;;;;4255:19:16;4275:4;4255:25;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4213:67;;;;4297:55;4324:6;4332:7;4341:10;4297:26;:55::i;6598:122:9:-;6648:9;:13;6644:70;;6684:19;;-1:-1:-1;;;6684:19:9;;;;;;;;;;;1702:188:15;1829:53;;-1:-1:-1;;;;;17856:32:24;;;1829:53:15;;;17838:51:24;17925:32;;;17905:18;;;17898:60;17974:18;;;17967:34;;;1802:81:15;;1822:5;;1844:18;;;;;17811::24;;1829:53:15;17636:371:24;8996:208:2;-1:-1:-1;;;;;9066:21:2;;9062:91;;9110:32;;-1:-1:-1;;;9110:32:2;;9139:1;9110:32;;;2913:51:24;2886:18;;9110:32:2;2767:203:24;9062:91:2;9162:35;9178:1;9182:7;9191:5;9162:7;:35::i;5544:533:3:-;5721:43;;;;;;;;;;;;;;;;-1:-1:-1;;;;;5721:43:3;-1:-1:-1;;;5721:43:3;;;5681:93;;5611:4;;;;;;;;-1:-1:-1;;;;;5681:26:3;;;:93;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5634:140;;;;5788:7;:39;;;;;5825:2;5799:15;:22;:28;;5788:39;5784:260;;;5843:24;5881:15;5870:38;;;;;;;;;;;;:::i;:::-;5843:65;-1:-1:-1;5946:15:3;5926:35;;5922:112;;5989:4;;6001:16;;-1:-1:-1;5544:533:3;-1:-1:-1;;;;5544:533:3:o;5922:112::-;5829:215;5784:260;-1:-1:-1;6061:5:3;;;;-1:-1:-1;5544:533:3;-1:-1:-1;;;5544:533:3:o;9522:206:2:-;-1:-1:-1;;;;;9592:21:2;;9588:89;;9636:30;;-1:-1:-1;;;9636:30:2;;9663:1;9636:30;;;2913:51:24;2886:18;;9636:30:2;2767:203:24;9588:89:2;9686:35;9694:7;9711:1;9715:5;9686:7;:35::i;2705:151:16:-;2780:12;2811:38;2833:6;2841:4;2847:1;2811:21;:38::i;4625:582::-;4769:12;4798:7;4793:408;;4821:19;4829:10;4821:7;:19::i;:::-;4793:408;;;5045:17;;:22;:49;;;;-1:-1:-1;;;;;;5071:18:16;;;:23;5045:49;5041:119;;;5121:24;;-1:-1:-1;;;5121:24:16;;-1:-1:-1;;;;;2931:32:24;;5121:24:16;;;2913:51:24;2886:18;;5121:24:16;2767:203:24;5041:119:16;-1:-1:-1;5180:10:16;5173:17;;3180:392;3279:12;3331:5;3307:21;:29;3303:108;;;3359:41;;-1:-1:-1;;;3359:41:16;;3394:4;3359:41;;;2913:51:24;2886:18;;3359:41:16;2767:203:24;3303:108:16;3421:12;3435:23;3462:6;-1:-1:-1;;;;;3462:11:16;3481:5;3488:4;3462:31;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3420:73;;;;3510:55;3537:6;3545:7;3554:10;3510:26;:55::i;5743:516::-;5874:17;;:21;5870:383;;6102:10;6096:17;6158:15;6145:10;6141:2;6137:19;6130:44;5870:383;6225:17;;-1:-1:-1;;;6225:17:16;;;;;;;;;;;14:173:24;82:20;;-1:-1:-1;;;;;131:31:24;;121:42;;111:70;;177:1;174;167:12;111:70;14:173;;;:::o;192:186::-;251:6;304:2;292:9;283:7;279:23;275:32;272:52;;;320:1;317;310:12;272:52;343:29;362:9;343:29;:::i;853:418::-;1002:2;991:9;984:21;965:4;1034:6;1028:13;1077:6;1072:2;1061:9;1057:18;1050:34;1136:6;1131:2;1123:6;1119:15;1114:2;1103:9;1099:18;1093:50;1192:1;1187:2;1178:6;1167:9;1163:22;1159:31;1152:42;1262:2;1255;1251:7;1246:2;1238:6;1234:15;1230:29;1219:9;1215:45;1211:54;1203:62;;;853:418;;;;:::o;1276:226::-;1335:6;1388:2;1376:9;1367:7;1363:23;1359:32;1356:52;;;1404:1;1401;1394:12;1356:52;-1:-1:-1;1449:23:24;;1276:226;-1:-1:-1;1276:226:24:o;1507:300::-;1575:6;1583;1636:2;1624:9;1615:7;1611:23;1607:32;1604:52;;;1652:1;1649;1642:12;1604:52;1675:29;1694:9;1675:29;:::i;:::-;1665:39;1773:2;1758:18;;;;1745:32;;-1:-1:-1;;;1507:300:24:o;2199:374::-;2276:6;2284;2292;2345:2;2333:9;2324:7;2320:23;2316:32;2313:52;;;2361:1;2358;2351:12;2313:52;2384:29;2403:9;2384:29;:::i;:::-;2374:39;;2432:38;2466:2;2455:9;2451:18;2432:38;:::i;:::-;2199:374;;2422:48;;-1:-1:-1;;;2539:2:24;2524:18;;;;2511:32;;2199:374::o;2975:127::-;3036:10;3031:3;3027:20;3024:1;3017:31;3067:4;3064:1;3057:15;3091:4;3088:1;3081:15;3107:1018;3184:6;3192;3245:2;3233:9;3224:7;3220:23;3216:32;3213:52;;;3261:1;3258;3251:12;3213:52;3284:29;3303:9;3284:29;:::i;:::-;3274:39;;3364:2;3353:9;3349:18;3336:32;3391:18;3383:6;3380:30;3377:50;;;3423:1;3420;3413:12;3377:50;3446:22;;3499:4;3491:13;;3487:27;-1:-1:-1;3477:55:24;;3528:1;3525;3518:12;3477:55;3568:2;3555:16;3594:18;3586:6;3583:30;3580:56;;;3616:18;;:::i;:::-;3665:2;3659:9;3757:2;3719:17;;-1:-1:-1;;3715:31:24;;;3748:2;3711:40;3707:54;3695:67;;3792:18;3777:34;;3813:22;;;3774:62;3771:88;;;3839:18;;:::i;:::-;3875:2;3868:22;3899;;;3940:15;;;3957:2;3936:24;3933:37;-1:-1:-1;3930:57:24;;;3983:1;3980;3973:12;3930:57;4039:6;4034:2;4030;4026:11;4021:2;4013:6;4009:15;3996:50;4092:1;4087:2;4078:6;4070;4066:19;4062:28;4055:39;4113:6;4103:16;;;;;3107:1018;;;;;:::o;4312:300::-;4380:6;4388;4441:2;4429:9;4420:7;4416:23;4412:32;4409:52;;;4457:1;4454;4447:12;4409:52;4502:23;;;-1:-1:-1;4568:38:24;4602:2;4587:18;;4568:38;:::i;:::-;4558:48;;4312:300;;;;;:::o;4810:348::-;4862:8;4872:6;4926:3;4919:4;4911:6;4907:17;4903:27;4893:55;;4944:1;4941;4934:12;4893:55;-1:-1:-1;4967:20:24;;5010:18;4999:30;;4996:50;;;5042:1;5039;5032:12;4996:50;5079:4;5071:6;5067:17;5055:29;;5131:3;5124:4;5115:6;5107;5103:19;5099:30;5096:39;5093:59;;;5148:1;5145;5138:12;5093:59;4810:348;;;;;:::o;5163:940::-;5282:6;5290;5298;5306;5314;5322;5330;5383:3;5371:9;5362:7;5358:23;5354:33;5351:53;;;5400:1;5397;5390:12;5351:53;5423:29;5442:9;5423:29;:::i;:::-;5413:39;;5471:38;5505:2;5494:9;5490:18;5471:38;:::i;:::-;5461:48;;5528:38;5562:2;5551:9;5547:18;5528:38;:::i;:::-;5518:48;;5617:2;5606:9;5602:18;5589:32;5644:18;5636:6;5633:30;5630:50;;;5676:1;5673;5666:12;5630:50;5715:59;5766:7;5757:6;5746:9;5742:22;5715:59;:::i;:::-;5793:8;;-1:-1:-1;5689:85:24;-1:-1:-1;;5881:3:24;5866:19;;5853:33;5911:18;5898:32;;5895:52;;;5943:1;5940;5933:12;5895:52;5982:61;6035:7;6024:8;6013:9;6009:24;5982:61;:::i;:::-;5163:940;;;;-1:-1:-1;5163:940:24;;-1:-1:-1;5163:940:24;;;;5956:87;;-1:-1:-1;;;5163:940:24:o;6108:272::-;6166:6;6219:2;6207:9;6198:7;6194:23;6190:32;6187:52;;;6235:1;6232;6225:12;6187:52;6274:9;6261:23;6324:6;6317:5;6313:18;6306:5;6303:29;6293:57;;6346:1;6343;6336:12;6385:369;6453:6;6461;6514:2;6502:9;6493:7;6489:23;6485:32;6482:52;;;6530:1;6527;6520:12;6482:52;6553:29;6572:9;6553:29;:::i;:::-;6543:39;;6632:2;6621:9;6617:18;6604:32;-1:-1:-1;;;;;6669:5:24;6665:40;6658:5;6655:51;6645:79;;6720:1;6717;6710:12;6645:79;6743:5;6733:15;;;6385:369;;;;;:::o;6759:374::-;6836:6;6844;6852;6905:2;6893:9;6884:7;6880:23;6876:32;6873:52;;;6921:1;6918;6911:12;6873:52;6944:29;6963:9;6944:29;:::i;:::-;6934:39;-1:-1:-1;7042:2:24;7027:18;;7014:32;;-1:-1:-1;7089:38:24;7123:2;7108:18;;7089:38;:::i;:::-;7079:48;;6759:374;;;;;:::o;7138:::-;7215:6;7223;7231;7284:2;7272:9;7263:7;7259:23;7255:32;7252:52;;;7300:1;7297;7290:12;7252:52;7345:23;;;-1:-1:-1;7411:38:24;7445:2;7430:18;;7411:38;:::i;:::-;7401:48;;7468:38;7502:2;7491:9;7487:18;7468:38;:::i;7517:274::-;7575:6;7628:2;7616:9;7607:7;7603:23;7599:32;7596:52;;;7644:1;7641;7634:12;7596:52;7683:9;7670:23;7733:8;7726:5;7722:20;7715:5;7712:31;7702:59;;7757:1;7754;7747:12;7796:260;7864:6;7872;7925:2;7913:9;7904:7;7900:23;7896:32;7893:52;;;7941:1;7938;7931:12;7893:52;7964:29;7983:9;7964:29;:::i;:::-;7954:39;;8012:38;8046:2;8035:9;8031:18;8012:38;:::i;8287:184::-;8357:6;8410:2;8398:9;8389:7;8385:23;8381:32;8378:52;;;8426:1;8423;8416:12;8378:52;-1:-1:-1;8449:16:24;;8287:184;-1:-1:-1;8287:184:24:o;8476:380::-;8555:1;8551:12;;;;8598;;;8619:61;;8673:4;8665:6;8661:17;8651:27;;8619:61;8726:2;8718:6;8715:14;8695:18;8692:38;8689:161;;8772:10;8767:3;8763:20;8760:1;8753:31;8807:4;8804:1;8797:15;8835:4;8832:1;8825:15;8689:161;;8476:380;;;:::o;8861:127::-;8922:10;8917:3;8913:20;8910:1;8903:31;8953:4;8950:1;8943:15;8977:4;8974:1;8967:15;8993:125;9058:9;;;9079:10;;;9076:36;;;9092:18;;:::i;9123:148::-;9211:4;9190:12;;;9204;;;9186:31;;9229:13;;9226:39;;;9245:18;;:::i;9276:168::-;9349:9;;;9380;;9397:15;;;9391:22;;9377:37;9367:71;;9418:18;;:::i;9449:127::-;9510:10;9505:3;9501:20;9498:1;9491:31;9541:4;9538:1;9531:15;9565:4;9562:1;9555:15;9581:120;9621:1;9647;9637:35;;9652:18;;:::i;:::-;-1:-1:-1;9686:9:24;;9581:120::o;9985:128::-;10052:9;;;10073:11;;;10070:37;;;10087:18;;:::i;10118:345::-;-1:-1:-1;;;;;10338:32:24;;;;10320:51;;10402:2;10387:18;;10380:34;;;;10445:2;10430:18;;10423:34;10308:2;10293:18;;10118:345::o;10935:222::-;-1:-1:-1;;;;;11004:36:24;;;11042;;;11000:79;;11091:37;;11088:63;;;11131:18;;:::i;13009:375::-;13097:1;13115:5;13129:249;13150:1;13140:8;13137:15;13129:249;;;13200:4;13195:3;13191:14;13185:4;13182:24;13179:50;;;13209:18;;:::i;:::-;13259:1;13249:8;13245:16;13242:49;;;13273:16;;;;13242:49;13356:1;13352:16;;;;;13312:15;;13129:249;;;13009:375;;;;;;:::o;13389:902::-;13438:5;13468:8;13458:80;;-1:-1:-1;13509:1:24;13523:5;;13458:80;13557:4;13547:76;;-1:-1:-1;13594:1:24;13608:5;;13547:76;13639:4;13657:1;13652:59;;;;13725:1;13720:174;;;;13632:262;;13652:59;13682:1;13673:10;;13696:5;;;13720:174;13757:3;13747:8;13744:17;13741:43;;;13764:18;;:::i;:::-;-1:-1:-1;;13820:1:24;13806:16;;13879:5;;13632:262;;13978:2;13968:8;13965:16;13959:3;13953:4;13950:13;13946:36;13940:2;13930:8;13927:16;13922:2;13916:4;13913:12;13909:35;13906:77;13903:203;;;-1:-1:-1;14015:19:24;;;14091:5;;13903:203;14138:42;-1:-1:-1;;14163:8:24;14157:4;14138:42;:::i;:::-;14216:6;14212:1;14208:6;14204:19;14195:7;14192:32;14189:58;;;14227:18;;:::i;:::-;14265:20;;13389:902;-1:-1:-1;;;13389:902:24:o;14296:140::-;14354:5;14383:47;14424:4;14414:8;14410:19;14404:4;14383:47;:::i;14756:518::-;14858:2;14853:3;14850:11;14847:421;;;14894:5;14891:1;14884:16;14938:4;14935:1;14925:18;15008:2;14996:10;14992:19;14989:1;14985:27;14979:4;14975:38;15044:4;15032:10;15029:20;15026:47;;;-1:-1:-1;15067:4:24;15026:47;15122:2;15117:3;15113:12;15110:1;15106:20;15100:4;15096:31;15086:41;;15177:81;15195:2;15188:5;15185:13;15177:81;;;15254:1;15240:16;;15221:1;15210:13;15177:81;;15450:1299;15576:3;15570:10;15603:18;15595:6;15592:30;15589:56;;;15625:18;;:::i;:::-;15654:97;15744:6;15704:38;15736:4;15730:11;15704:38;:::i;:::-;15698:4;15654:97;:::i;:::-;15800:4;15831:2;15820:14;;15848:1;15843:649;;;;16536:1;16553:6;16550:89;;;-1:-1:-1;16605:19:24;;;16599:26;16550:89;-1:-1:-1;;15407:1:24;15403:11;;;15399:24;15395:29;15385:40;15431:1;15427:11;;;15382:57;16652:81;;15813:930;;15843:649;14703:1;14696:14;;;14740:4;14727:18;;-1:-1:-1;;15879:20:24;;;15997:222;16011:7;16008:1;16005:14;15997:222;;;16093:19;;;16087:26;16072:42;;16200:4;16185:20;;;;16153:1;16141:14;;;;16027:12;15997:222;;;16001:3;16247:6;16238:7;16235:19;16232:201;;;16308:19;;;16302:26;-1:-1:-1;;16391:1:24;16387:14;;;16403:3;16383:24;16379:37;16375:42;16360:58;16345:74;;16232:201;-1:-1:-1;;;;16479:1:24;16463:14;;;16459:22;16446:36;;-1:-1:-1;15450:1299:24:o;16754:277::-;16821:6;16874:2;16862:9;16853:7;16849:23;16845:32;16842:52;;;16890:1;16887;16880:12;16842:52;16922:9;16916:16;16975:5;16968:13;16961:21;16954:5;16951:32;16941:60;;16997:1;16994;16987:12;17036:127;17097:10;17092:3;17088:20;17085:1;17078:31;17128:4;17125:1;17118:15;17152:4;17149:1;17142:15;17168:157;17198:1;17232:4;17229:1;17225:12;17256:3;17246:37;;17263:18;;:::i;:::-;17315:3;17308:4;17305:1;17301:12;17297:22;17292:27;;;17168:157;;;;:::o;17330:301::-;17459:3;17497:6;17491:13;17543:6;17536:4;17528:6;17524:17;17519:3;17513:37;17605:1;17569:16;;17594:13;;;-1:-1:-1;17569:16:24;17330:301;-1:-1:-1;17330:301:24:o","linkReferences":{},"cborAuxdata":{"1":{"value":"0xa164736f6c634300081e000a","offset":14841}},"immutableReferences":{"2650":[{"start":8891,"length":32},{"start":8932,"length":32},{"start":9260,"length":32}]},"transformations":[{"id":"2650","type":"replace","offset":8891,"reason":"immutable"},{"id":"2650","type":"replace","offset":8932,"reason":"immutable"},{"id":"2650","type":"replace","offset":9260,"reason":"immutable"}],"transformationValues":{"immutables":{"2650":"0x000000000000000000000000843e3a09675e5fa00951c55727f8b0f2076c0d2c"}}},"deployment":{"transactionHash":"0x1ce5bde0c5550b09460c840ddbd771692252d25d82b631e03a92ac97341c67bf","blockNumber":"24034051","transactionIndex":"199","deployer":"0x69Eb23bBbB38b2b784C8fA525657F473B053CDf4"},"sources":{"src/v2/StakedmsUSD.sol":{"content":"// SPDX-License-Identifier: GPL-3.0\npragma solidity ^0.8.20;\n\nimport {UUPSUpgradeable} from \"@openzeppelin/contracts/proxy/utils/UUPSUpgradeable.sol\";\nimport {ERC4626Upgradeable} from \"@openzeppelin/contracts-upgradeable/token/ERC20/extensions/ERC4626Upgradeable.sol\";\nimport {SafeERC20} from \"@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol\";\nimport {ReentrancyGuardUpgradeable} from \"@openzeppelin/contracts-upgradeable/utils/ReentrancyGuardUpgradeable.sol\";\nimport {OwnableUpgradeable} from \"@openzeppelin/contracts-upgradeable/access/OwnableUpgradeable.sol\";\nimport {IERC20} from \"@openzeppelin/contracts/token/ERC20/IERC20.sol\";\nimport {IStakedmsUSD, UserCooldown} from \"../interfaces/IStakedmsUSD.sol\";\nimport {ImsUSDV2} from \"../interfaces/ImsUSDV2.sol\";\nimport {msUSDSilo} from \"./msUSDSilo.sol\";\nimport {UpgraderTimelockUpgradeable} from \"../helpers/v2/UpgraderTimelockUpgradeable.sol\";\n\n/**\n * @title StakedmsUSD\n * @author Mainstreet Labs\n * @notice A liquid staking token for msUSD that enables users to earn yield while maintaining liquidity.\n * Users can stake msUSD tokens to receive StakedmsUSD shares that appreciate in value as protocol rewards\n * are distributed. The contract implements a flexible cooldown system that can be enabled or disabled\n * to control withdrawal mechanics based on market conditions and protocol needs.\n * @dev This contract extends ERC4626 to provide vault functionality with dual operational modes:\n *\n * **Cooldown Disabled (cooldownDuration = 0):**\n * - Operates as standard ERC4626 vault\n * - Immediate withdrawals and redemptions available\n * - Standard deposit, mint, withdraw, redeem functions work normally\n *\n * **Cooldown Enabled (cooldownDuration > 0):**\n * - ERC4626 withdraw/redeem functions are disabled\n * - Users must use cooldownAssets/cooldownShares to initiate withdrawals\n * - Assets are transferred to a silo contract during cooldown period\n * - After cooldown expires, users can claim assets via unstake function\n *\n * The contract features:\n * - Donation attack protection via minimum shares requirement\n * - Upgradeable implementation using UUPS pattern\n * - Owner-controlled configuration of cooldown duration, key addresses, and coverage ratio\n */\ncontract StakedmsUSD is\n    UUPSUpgradeable,\n    OwnableUpgradeable,\n    ReentrancyGuardUpgradeable,\n    ERC4626Upgradeable,\n    IStakedmsUSD,\n    UpgraderTimelockUpgradeable\n{\n    using SafeERC20 for IERC20;\n\n    /* ------------- CONSTANTS ------------- */\n\n    /// @notice Minimum non-zero shares amount to prevent donation attack\n    uint256 public constant MIN_SHARES = 1 ether;\n    /// @notice Maximum cooldown duration\n    uint24 public constant MAX_COOLDOWN_DURATION = 90 days;\n\n    /* ------------- STATE VARIABLES ------------- */\n\n    /// @notice The timestamp of the last asset distribution from the controller contract into this contract\n    uint256 public lastDistributionTimestamp;\n\n    /// @notice Mapping of user addresses to their cooldown information including end time and underlying asset amount\n    mapping(address => UserCooldown) public cooldowns;\n\n    /// @notice The silo contract that holds assets during the cooldown period\n    msUSDSilo public silo;\n\n    /// @notice Address authorized to transfer rewards into the contract for distribution to stakers\n    address public rewarder;\n\n    /// @notice Stores the address of where fees are collected and distributed.\n    address public feeSilo;\n\n    /// @notice Duration in seconds that users must wait after initiating cooldown before they can unstake\n    uint24 public cooldownDuration;\n\n    /// @notice Stores the % of each rewards mint that is sent to feeSilo.\n    uint16 public taxRate;\n\n    /// @notice If true, deposits are enabled.\n    bool public depositsEnabled;\n\n    /// @notice Default is 1e18 which allows redeemer to collect 100% of their redemption post-cooldown.\n    /// If <1e18, the redeemer cannot claim their total redemption of tokens.\n    uint256 public coverageRatio;\n\n    /* ------------- MODIFIERS ------------- */\n\n    /// @notice ensure input amount nonzero\n    modifier notZero(uint256 amount) {\n        if (amount == 0) revert InvalidAmount();\n        _;\n    }\n\n    /// @notice ensure cooldownDuration is zero\n    modifier ensureCooldownOff() {\n        if (cooldownDuration != 0) revert OperationNotAllowed();\n        _;\n    }\n\n    /// @notice ensure cooldownDuration is gt 0\n    modifier ensureCooldownOn() {\n        if (cooldownDuration == 0) revert OperationNotAllowed();\n        _;\n    }\n\n    /// @notice Ensures caller is rewarder\n    modifier onlyRewarder() {\n        if (msg.sender != rewarder && msg.sender != owner()) revert NotAuthorized(msg.sender);\n        _;\n    }\n\n    /// @notice Ensures deposits are enabled\n    modifier ensureDepositsEnabled() {\n        if (!depositsEnabled) revert DepositsDisabled();\n        _;\n    }\n\n    /// @notice ensures owner authorization for timelocked functions\n    modifier onlyTimelockOwner() override {\n        if (msg.sender != owner()) revert OwnableUnauthorizedAccount(msg.sender);\n        _;\n    }\n\n    /* ------------- CONSTRUCTOR ------------- */\n\n    constructor() {\n        _disableInitializers();\n    }\n\n    /**\n     * @notice Initializes StakedmsUSD contract.\n     * @param _asset The address of the msUSD token.\n     * @param _initialRewarder The address of the initial rewarder.\n     * @param _owner The address of the admin role.\n     */\n    function initialize(\n        address _asset,\n        address _initialRewarder,\n        address _owner,\n        string calldata _name,\n        string calldata _symbol\n    ) public initializer {\n        if (_owner == address(0) || _initialRewarder == address(0) || address(_asset) == address(0)) {\n            revert InvalidZeroAddress();\n        }\n\n        __ERC20_init(_name, _symbol);\n        __ERC4626_init(IERC20(_asset));\n        __Ownable_init(_owner);\n        __ReentrancyGuard_init();\n        __UpgradeTimelock_init();\n\n        coverageRatio = 1e18;\n        depositsEnabled = true;\n        cooldownDuration = 7 days;\n        rewarder = _initialRewarder;\n    }\n\n    function _authorizeUpgrade(address newImpl) internal override onlyOwner {\n        // will revert unless scheduled and delay passed\n        _checkTimelock(newImpl);\n    }\n\n    /* ------------- EXTERNAL ------------- */\n\n    /**\n     * @notice Allows the owner to mint rewards into this contract.\n     * @param amount The amount of rewards to mint.\n     */\n    function mintRewards(uint256 amount) external nonReentrant onlyRewarder notZero(amount) {\n        lastDistributionTimestamp = block.timestamp;\n        if (taxRate != 0 && feeSilo != address(0)) {\n            uint256 fee = amount * taxRate / 1000;\n            ImsUSDV2(asset()).mint(feeSilo, fee);\n            amount = amount - fee;\n        }\n        ImsUSDV2(asset()).mint(address(this), amount);\n        emit RewardsReceived(amount);\n    }\n\n    /**\n     * @notice Allows the owner to toggle the status stored in `depositsEnabled`.\n     * @dev When the boolean stored in `depositsEnabled` is true, deposits are enabled.\n     * Conversely, when the status is set to false, deposits are disabled.\n     */\n    function toggleDeposits() external onlyOwner {\n        depositsEnabled = !depositsEnabled;\n        emit DepositsToggled(depositsEnabled);\n    }\n\n    /**\n     * @notice Allows the owner to update the value stored in `coverageRatio`.\n     * @dev If the value is set to <1e18, the total amount of redeemable tokens post-cooldown\n     * will be less than what was initially redeemable. Only used in serious situations when the\n     * system is not fully collateralized.\n     * @dev If 1e18 -> Redeemer can redeem 100% post-cooldown. Conversly, if set to .9 * 1e18,\n     * only 90% of the requested tokens are redeemable, until the ratio is updated again.\n     * @param _ratio New converage ratio\n     */\n    function setCoverageRatio(uint256 _ratio) external onlyOwner {\n        if (_ratio == coverageRatio) revert AlreadySet();\n        if (_ratio > 1e18) revert InvalidRatio();\n        emit CoverageRatioUpdated(_ratio);\n        coverageRatio = _ratio;\n    }\n\n    /**\n     * @notice Sets the address authorized to transfer rewards into the contract\n     * @dev Only callable by the contract owner. Emits RewarderUpdated event.\n     * @param _rewarder The new rewarder address\n     */\n    function setRewarder(address _rewarder) external onlyOwner {\n        if (_rewarder == address(0)) revert InvalidZeroAddress();\n        if (rewarder == _rewarder) revert AlreadySet();\n        emit RewarderUpdated(_rewarder);\n        rewarder = _rewarder;\n    }\n\n    /**\n     * @notice Sets the silo contract address that holds assets during cooldown periods\n     * @dev Only callable by the contract owner. The silo must be deployed and configured\n     * before setting. Emits msUSDSiloUpdated event.\n     * @param _silo The new silo contract address\n     */\n    function setSilo(address _silo) external onlyOwner {\n        if (_silo == address(0)) revert InvalidZeroAddress();\n        if (address(silo) == _silo) revert AlreadySet();\n        emit msUSDSiloUpdated(_silo);\n        silo = msUSDSilo(_silo);\n    }\n\n    /**\n     * @notice Sets the feeSilo address which holds and distributes fees collected by the protocol\n     * @dev Only callable by the contract owner. Emits FeeSiloUpdated event.\n     * @param _silo The new feeSilo contract address\n     */\n    function setFeeSilo(address _silo) external onlyOwner {\n        if (_silo == address(0)) revert InvalidZeroAddress();\n        if (feeSilo == _silo) revert AlreadySet();\n        emit FeeSiloUpdated(_silo);\n        feeSilo = _silo;\n    }\n\n    /**\n     * @notice Sets the taxRate which is the % out of 1000 that is sent to feeSilo upon reward distribution\n     * @dev Only callable by the contract owner. Emits TaxRateUpdated event.\n     * @param newTaxRate The tax rate. Must be less than 1000.\n     */\n    function setTaxRate(uint16 newTaxRate) external onlyOwner {\n        require(newTaxRate < 1000, \"Tax cannot be 100% - Must be less than 1000\");\n        if (taxRate == newTaxRate) revert AlreadySet();\n        emit TaxRateUpdated(newTaxRate);\n        taxRate = newTaxRate;\n    }\n\n    /**\n     * @notice Allows the owner to rescue tokens accidentally sent to the contract.\n     * Note that the owner cannot rescue msUSD tokens because they functionally sit here\n     * and belong to stakers but can rescue staked msUSD as they should never actually\n     * sit in this contract and a staker may well transfer them here by accident.\n     * @param token The token to be rescued.\n     * @param amount The amount of tokens to be rescued.\n     * @param to Where to send rescued tokens\n     */\n    function rescueTokens(address token, uint256 amount, address to) external onlyOwner {\n        if (address(token) == asset()) revert InvalidToken();\n        IERC20(token).safeTransfer(to, amount);\n    }\n\n    /**\n     * @notice Allows the owner to burn tokens from the vault, dropping price\n     * @dev Only used in situations of undercollateralization\n     * @param amount Amount of tokens to burn from the vault\n     */\n    function burnAsset(uint256 amount) external onlyOwner {\n        emit AssetBurned(amount);\n        ImsUSDV2(asset()).burn(amount);\n    }\n\n    /**\n     * @notice Allows users to claim their assets after the cooldown period has ended\n     * @dev Can be called by anyone to claim their own assets. The cooldown must have expired\n     * and the user must have assets in cooldown. Transfers assets from silo to receiver.\n     * @param receiver Address to send the assets to\n     */\n    function unstake(address receiver) external nonReentrant {\n        UserCooldown storage userCooldown = cooldowns[msg.sender];\n        uint256 assets = userCooldown.underlyingAmount;\n\n        if (userCooldown.cooldownEnd > block.timestamp) {\n            revert CooldownNotFinished(block.timestamp, userCooldown.cooldownEnd);\n        }\n        if (assets == 0) revert NothingToUnstake();\n        if (coverageRatio == 0) revert CoverageRatioZero();\n\n        userCooldown.cooldownEnd = 0;\n        userCooldown.underlyingAmount = 0;\n\n        uint256 amountForRedeemer = assets;\n\n        if (coverageRatio < 1e18) {\n            amountForRedeemer = assets * coverageRatio / 1e18;\n            uint256 amountForBurn = assets - amountForRedeemer;\n            silo.withdraw(address(this), amountForBurn);\n            ImsUSDV2(asset()).burn(amountForBurn);\n        }\n\n        emit Unstake(msg.sender, receiver, assets, amountForRedeemer);\n\n        silo.withdraw(receiver, amountForRedeemer);\n    }\n\n    /**\n     * @notice redeem assets and starts a cooldown to claim the converted underlying asset\n     * @param assets assets to redeem\n     * @param owner address to redeem and start cooldown, owner must allowed caller to perform this action\n     */\n    function cooldownAssets(uint256 assets, address owner) external ensureCooldownOn returns (uint256) {\n        if (assets > maxWithdraw(owner)) revert ExcessiveWithdrawAmount();\n\n        uint256 shares = previewWithdraw(assets);\n\n        cooldowns[owner].cooldownEnd = uint104(block.timestamp) + cooldownDuration;\n        cooldowns[owner].underlyingAmount += assets;\n\n        _withdraw(_msgSender(), address(silo), owner, assets, shares);\n\n        return shares;\n    }\n\n    /**\n     * @notice redeem shares into assets and starts a cooldown to claim the converted underlying asset\n     * @param shares shares to redeem\n     * @param owner address to redeem and start cooldown, owner must allowed caller to perform this action\n     */\n    function cooldownShares(uint256 shares, address owner) external ensureCooldownOn returns (uint256) {\n        if (shares > maxRedeem(owner)) revert ExcessiveRedeemAmount();\n\n        uint256 assets = previewRedeem(shares);\n\n        cooldowns[owner].cooldownEnd = uint104(block.timestamp) + cooldownDuration;\n        cooldowns[owner].underlyingAmount += assets;\n\n        _withdraw(_msgSender(), address(silo), owner, assets, shares);\n\n        return assets;\n    }\n\n    /**\n     * @notice Sets the cooldown duration for withdrawal requests\n     * @dev Only callable by the contract owner. Setting to 0 enables immediate withdrawals (ERC4626 mode).\n     * Setting to >0 enables cooldown mode where users must use cooldownAssets/cooldownShares.\n     * Emits CooldownDurationUpdated event.\n     * @param duration Duration in seconds that users must wait before claiming assets (max 90 days)\n     */\n    function setCooldownDuration(uint24 duration) external onlyOwner {\n        if (duration > MAX_COOLDOWN_DURATION) revert InvalidCooldown();\n\n        uint24 previousDuration = cooldownDuration;\n        cooldownDuration = duration;\n        emit CooldownDurationUpdated(previousDuration, cooldownDuration);\n    }\n\n    /**\n     * @notice Sets the cooldown endtime for an existing cooldown\n     * @dev Only callable by the contract owner.\n     * @param account Account with existing cooldown\n     * @param newCooldownEnd Account with existing cooldown\n     */\n    function updateExistingCooldown(address account, uint104 newCooldownEnd) external onlyOwner {\n        UserCooldown storage userCooldown = cooldowns[account];\n        if (userCooldown.cooldownEnd == 0) revert InvalidCooldown();\n\n        emit CooldownEndtimeUpdated(account, userCooldown.cooldownEnd, newCooldownEnd);\n\n        userCooldown.cooldownEnd = newCooldownEnd;\n    }\n\n    /* ------------- PUBLIC ------------- */\n\n    /**\n     * @dev See {IERC4626-withdraw}.\n     */\n    function withdraw(uint256 assets, address receiver, address owner)\n        public\n        override\n        ensureCooldownOff\n        returns (uint256)\n    {\n        return super.withdraw(assets, receiver, owner);\n    }\n\n    /**\n     * @dev See {IERC4626-redeem}.\n     */\n    function redeem(uint256 shares, address receiver, address owner)\n        public\n        override\n        ensureCooldownOff\n        returns (uint256)\n    {\n        return super.redeem(shares, receiver, owner);\n    }\n\n    /**\n     * @notice Returns the amount of msUSD tokens that are inside the contract.\n     */\n    function totalAssets() public view override returns (uint256) {\n        return IERC20(asset()).balanceOf(address(this));\n    }\n\n    /* ------------- INTERNAL ------------- */\n\n    /// @notice ensures a small non-zero amount of shares does not remain, exposing to donation attack\n    function _checkMinShares() internal view {\n        uint256 _totalSupply = totalSupply();\n        if (_totalSupply > 0 && _totalSupply < MIN_SHARES) revert MinSharesViolation();\n    }\n\n    /**\n     * @dev Deposit/mint common workflow.\n     * @param caller sender of assets\n     * @param receiver where to send shares\n     * @param assets assets to deposit\n     * @param shares shares to mint\n     */\n    function _deposit(address caller, address receiver, uint256 assets, uint256 shares)\n        internal\n        override\n        nonReentrant\n        ensureDepositsEnabled\n        notZero(assets)\n        notZero(shares)\n    {\n        super._deposit(caller, receiver, assets, shares);\n        _checkMinShares();\n    }\n\n    /**\n     * @dev Withdraw/redeem common workflow.\n     * @param caller tx sender\n     * @param receiver where to send assets\n     * @param _owner where to burn shares from\n     * @param assets asset amount to transfer out\n     * @param shares shares to burn\n     */\n    function _withdraw(address caller, address receiver, address _owner, uint256 assets, uint256 shares)\n        internal\n        override\n        nonReentrant\n        notZero(assets)\n        notZero(shares)\n    {\n        super._withdraw(caller, receiver, _owner, assets, shares);\n        _checkMinShares();\n    }\n}\n"},"lib/openzeppelin-contracts-upgradeable/lib/openzeppelin-contracts/contracts/proxy/utils/UUPSUpgradeable.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.0.0) (proxy/utils/UUPSUpgradeable.sol)\n\npragma solidity ^0.8.20;\n\nimport {IERC1822Proxiable} from \"../../interfaces/draft-IERC1822.sol\";\nimport {ERC1967Utils} from \"../ERC1967/ERC1967Utils.sol\";\n\n/**\n * @dev An upgradeability mechanism designed for UUPS proxies. The functions included here can perform an upgrade of an\n * {ERC1967Proxy}, when this contract is set as the implementation behind such a proxy.\n *\n * A security mechanism ensures that an upgrade does not turn off upgradeability accidentally, although this risk is\n * reinstated if the upgrade retains upgradeability but removes the security mechanism, e.g. by replacing\n * `UUPSUpgradeable` with a custom implementation of upgrades.\n *\n * The {_authorizeUpgrade} function must be overridden to include access restriction to the upgrade mechanism.\n */\nabstract contract UUPSUpgradeable is IERC1822Proxiable {\n    /// @custom:oz-upgrades-unsafe-allow state-variable-immutable\n    address private immutable __self = address(this);\n\n    /**\n     * @dev The version of the upgrade interface of the contract. If this getter is missing, both `upgradeTo(address)`\n     * and `upgradeToAndCall(address,bytes)` are present, and `upgradeTo` must be used if no function should be called,\n     * while `upgradeToAndCall` will invoke the `receive` function if the second argument is the empty byte string.\n     * If the getter returns `\"5.0.0\"`, only `upgradeToAndCall(address,bytes)` is present, and the second argument must\n     * be the empty byte string if no function should be called, making it impossible to invoke the `receive` function\n     * during an upgrade.\n     */\n    string public constant UPGRADE_INTERFACE_VERSION = \"5.0.0\";\n\n    /**\n     * @dev The call is from an unauthorized context.\n     */\n    error UUPSUnauthorizedCallContext();\n\n    /**\n     * @dev The storage `slot` is unsupported as a UUID.\n     */\n    error UUPSUnsupportedProxiableUUID(bytes32 slot);\n\n    /**\n     * @dev Check that the execution is being performed through a delegatecall call and that the execution context is\n     * a proxy contract with an implementation (as defined in ERC1967) pointing to self. This should only be the case\n     * for UUPS and transparent proxies that are using the current contract as their implementation. Execution of a\n     * function through ERC1167 minimal proxies (clones) would not normally pass this test, but is not guaranteed to\n     * fail.\n     */\n    modifier onlyProxy() {\n        _checkProxy();\n        _;\n    }\n\n    /**\n     * @dev Check that the execution is not being performed through a delegate call. This allows a function to be\n     * callable on the implementing contract but not through proxies.\n     */\n    modifier notDelegated() {\n        _checkNotDelegated();\n        _;\n    }\n\n    /**\n     * @dev Implementation of the ERC1822 {proxiableUUID} function. This returns the storage slot used by the\n     * implementation. It is used to validate the implementation's compatibility when performing an upgrade.\n     *\n     * IMPORTANT: A proxy pointing at a proxiable contract should not be considered proxiable itself, because this risks\n     * bricking a proxy that upgrades to it, by delegating to itself until out of gas. Thus it is critical that this\n     * function revert if invoked through a proxy. This is guaranteed by the `notDelegated` modifier.\n     */\n    function proxiableUUID() external view virtual notDelegated returns (bytes32) {\n        return ERC1967Utils.IMPLEMENTATION_SLOT;\n    }\n\n    /**\n     * @dev Upgrade the implementation of the proxy to `newImplementation`, and subsequently execute the function call\n     * encoded in `data`.\n     *\n     * Calls {_authorizeUpgrade}.\n     *\n     * Emits an {Upgraded} event.\n     *\n     * @custom:oz-upgrades-unsafe-allow-reachable delegatecall\n     */\n    function upgradeToAndCall(address newImplementation, bytes memory data) public payable virtual onlyProxy {\n        _authorizeUpgrade(newImplementation);\n        _upgradeToAndCallUUPS(newImplementation, data);\n    }\n\n    /**\n     * @dev Reverts if the execution is not performed via delegatecall or the execution\n     * context is not of a proxy with an ERC1967-compliant implementation pointing to self.\n     * See {_onlyProxy}.\n     */\n    function _checkProxy() internal view virtual {\n        if (\n            address(this) == __self || // Must be called through delegatecall\n            ERC1967Utils.getImplementation() != __self // Must be called through an active proxy\n        ) {\n            revert UUPSUnauthorizedCallContext();\n        }\n    }\n\n    /**\n     * @dev Reverts if the execution is performed via delegatecall.\n     * See {notDelegated}.\n     */\n    function _checkNotDelegated() internal view virtual {\n        if (address(this) != __self) {\n            // Must not be called through delegatecall\n            revert UUPSUnauthorizedCallContext();\n        }\n    }\n\n    /**\n     * @dev Function that should revert when `msg.sender` is not authorized to upgrade the contract. Called by\n     * {upgradeToAndCall}.\n     *\n     * Normally, this function will use an xref:access.adoc[access control] modifier such as {Ownable-onlyOwner}.\n     *\n     * ```solidity\n     * function _authorizeUpgrade(address) internal onlyOwner {}\n     * ```\n     */\n    function _authorizeUpgrade(address newImplementation) internal virtual;\n\n    /**\n     * @dev Performs an implementation upgrade with a security check for UUPS proxies, and additional setup call.\n     *\n     * As a security check, {proxiableUUID} is invoked in the new implementation, and the return value\n     * is expected to be the implementation slot in ERC1967.\n     *\n     * Emits an {IERC1967-Upgraded} event.\n     */\n    function _upgradeToAndCallUUPS(address newImplementation, bytes memory data) private {\n        try IERC1822Proxiable(newImplementation).proxiableUUID() returns (bytes32 slot) {\n            if (slot != ERC1967Utils.IMPLEMENTATION_SLOT) {\n                revert UUPSUnsupportedProxiableUUID(slot);\n            }\n            ERC1967Utils.upgradeToAndCall(newImplementation, data);\n        } catch {\n            // The implementation is not UUPS\n            revert ERC1967Utils.ERC1967InvalidImplementation(newImplementation);\n        }\n    }\n}\n"},"lib/openzeppelin-contracts-upgradeable/contracts/token/ERC20/extensions/ERC4626Upgradeable.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.0.0) (token/ERC20/extensions/ERC4626.sol)\n\npragma solidity ^0.8.20;\n\nimport {IERC20} from \"@openzeppelin/contracts/token/ERC20/IERC20.sol\";\nimport {IERC20Metadata} from \"@openzeppelin/contracts/token/ERC20/extensions/IERC20Metadata.sol\";\nimport {ERC20Upgradeable} from \"../ERC20Upgradeable.sol\";\nimport {SafeERC20} from \"@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol\";\nimport {IERC4626} from \"@openzeppelin/contracts/interfaces/IERC4626.sol\";\nimport {Math} from \"@openzeppelin/contracts/utils/math/Math.sol\";\nimport {Initializable} from \"../../../proxy/utils/Initializable.sol\";\n\n/**\n * @dev Implementation of the ERC4626 \"Tokenized Vault Standard\" as defined in\n * https://eips.ethereum.org/EIPS/eip-4626[EIP-4626].\n *\n * This extension allows the minting and burning of \"shares\" (represented using the ERC20 inheritance) in exchange for\n * underlying \"assets\" through standardized {deposit}, {mint}, {redeem} and {burn} workflows. This contract extends\n * the ERC20 standard. Any additional extensions included along it would affect the \"shares\" token represented by this\n * contract and not the \"assets\" token which is an independent contract.\n *\n * [CAUTION]\n * ====\n * In empty (or nearly empty) ERC-4626 vaults, deposits are at high risk of being stolen through frontrunning\n * with a \"donation\" to the vault that inflates the price of a share. This is variously known as a donation or inflation\n * attack and is essentially a problem of slippage. Vault deployers can protect against this attack by making an initial\n * deposit of a non-trivial amount of the asset, such that price manipulation becomes infeasible. Withdrawals may\n * similarly be affected by slippage. Users can protect against this attack as well as unexpected slippage in general by\n * verifying the amount received is as expected, using a wrapper that performs these checks such as\n * https://github.com/fei-protocol/ERC4626#erc4626router-and-base[ERC4626Router].\n *\n * Since v4.9, this implementation uses virtual assets and shares to mitigate that risk. The `_decimalsOffset()`\n * corresponds to an offset in the decimal representation between the underlying asset's decimals and the vault\n * decimals. This offset also determines the rate of virtual shares to virtual assets in the vault, which itself\n * determines the initial exchange rate. While not fully preventing the attack, analysis shows that the default offset\n * (0) makes it non-profitable, as a result of the value being captured by the virtual shares (out of the attacker's\n * donation) matching the attacker's expected gains. With a larger offset, the attack becomes orders of magnitude more\n * expensive than it is profitable. More details about the underlying math can be found\n * xref:erc4626.adoc#inflation-attack[here].\n *\n * The drawback of this approach is that the virtual shares do capture (a very small) part of the value being accrued\n * to the vault. Also, if the vault experiences losses, the users try to exit the vault, the virtual shares and assets\n * will cause the first user to exit to experience reduced losses in detriment to the last users that will experience\n * bigger losses. Developers willing to revert back to the pre-v4.9 behavior just need to override the\n * `_convertToShares` and `_convertToAssets` functions.\n *\n * To learn more, check out our xref:ROOT:erc4626.adoc[ERC-4626 guide].\n * ====\n */\nabstract contract ERC4626Upgradeable is Initializable, ERC20Upgradeable, IERC4626 {\n    using Math for uint256;\n\n    /// @custom:storage-location erc7201:openzeppelin.storage.ERC4626\n    struct ERC4626Storage {\n        IERC20 _asset;\n        uint8 _underlyingDecimals;\n    }\n\n    // keccak256(abi.encode(uint256(keccak256(\"openzeppelin.storage.ERC4626\")) - 1)) & ~bytes32(uint256(0xff))\n    bytes32 private constant ERC4626StorageLocation = 0x0773e532dfede91f04b12a73d3d2acd361424f41f76b4fb79f090161e36b4e00;\n\n    function _getERC4626Storage() private pure returns (ERC4626Storage storage $) {\n        assembly {\n            $.slot := ERC4626StorageLocation\n        }\n    }\n\n    /**\n     * @dev Attempted to deposit more assets than the max amount for `receiver`.\n     */\n    error ERC4626ExceededMaxDeposit(address receiver, uint256 assets, uint256 max);\n\n    /**\n     * @dev Attempted to mint more shares than the max amount for `receiver`.\n     */\n    error ERC4626ExceededMaxMint(address receiver, uint256 shares, uint256 max);\n\n    /**\n     * @dev Attempted to withdraw more assets than the max amount for `receiver`.\n     */\n    error ERC4626ExceededMaxWithdraw(address owner, uint256 assets, uint256 max);\n\n    /**\n     * @dev Attempted to redeem more shares than the max amount for `receiver`.\n     */\n    error ERC4626ExceededMaxRedeem(address owner, uint256 shares, uint256 max);\n\n    /**\n     * @dev Set the underlying asset contract. This must be an ERC20-compatible contract (ERC20 or ERC777).\n     */\n    function __ERC4626_init(IERC20 asset_) internal onlyInitializing {\n        __ERC4626_init_unchained(asset_);\n    }\n\n    function __ERC4626_init_unchained(IERC20 asset_) internal onlyInitializing {\n        ERC4626Storage storage $ = _getERC4626Storage();\n        (bool success, uint8 assetDecimals) = _tryGetAssetDecimals(asset_);\n        $._underlyingDecimals = success ? assetDecimals : 18;\n        $._asset = asset_;\n    }\n\n    /**\n     * @dev Attempts to fetch the asset decimals. A return value of false indicates that the attempt failed in some way.\n     */\n    function _tryGetAssetDecimals(IERC20 asset_) private view returns (bool, uint8) {\n        (bool success, bytes memory encodedDecimals) = address(asset_).staticcall(\n            abi.encodeCall(IERC20Metadata.decimals, ())\n        );\n        if (success && encodedDecimals.length >= 32) {\n            uint256 returnedDecimals = abi.decode(encodedDecimals, (uint256));\n            if (returnedDecimals <= type(uint8).max) {\n                return (true, uint8(returnedDecimals));\n            }\n        }\n        return (false, 0);\n    }\n\n    /**\n     * @dev Decimals are computed by adding the decimal offset on top of the underlying asset's decimals. This\n     * \"original\" value is cached during construction of the vault contract. If this read operation fails (e.g., the\n     * asset has not been created yet), a default of 18 is used to represent the underlying asset's decimals.\n     *\n     * See {IERC20Metadata-decimals}.\n     */\n    function decimals() public view virtual override(IERC20Metadata, ERC20Upgradeable) returns (uint8) {\n        ERC4626Storage storage $ = _getERC4626Storage();\n        return $._underlyingDecimals + _decimalsOffset();\n    }\n\n    /** @dev See {IERC4626-asset}. */\n    function asset() public view virtual returns (address) {\n        ERC4626Storage storage $ = _getERC4626Storage();\n        return address($._asset);\n    }\n\n    /** @dev See {IERC4626-totalAssets}. */\n    function totalAssets() public view virtual returns (uint256) {\n        ERC4626Storage storage $ = _getERC4626Storage();\n        return $._asset.balanceOf(address(this));\n    }\n\n    /** @dev See {IERC4626-convertToShares}. */\n    function convertToShares(uint256 assets) public view virtual returns (uint256) {\n        return _convertToShares(assets, Math.Rounding.Floor);\n    }\n\n    /** @dev See {IERC4626-convertToAssets}. */\n    function convertToAssets(uint256 shares) public view virtual returns (uint256) {\n        return _convertToAssets(shares, Math.Rounding.Floor);\n    }\n\n    /** @dev See {IERC4626-maxDeposit}. */\n    function maxDeposit(address) public view virtual returns (uint256) {\n        return type(uint256).max;\n    }\n\n    /** @dev See {IERC4626-maxMint}. */\n    function maxMint(address) public view virtual returns (uint256) {\n        return type(uint256).max;\n    }\n\n    /** @dev See {IERC4626-maxWithdraw}. */\n    function maxWithdraw(address owner) public view virtual returns (uint256) {\n        return _convertToAssets(balanceOf(owner), Math.Rounding.Floor);\n    }\n\n    /** @dev See {IERC4626-maxRedeem}. */\n    function maxRedeem(address owner) public view virtual returns (uint256) {\n        return balanceOf(owner);\n    }\n\n    /** @dev See {IERC4626-previewDeposit}. */\n    function previewDeposit(uint256 assets) public view virtual returns (uint256) {\n        return _convertToShares(assets, Math.Rounding.Floor);\n    }\n\n    /** @dev See {IERC4626-previewMint}. */\n    function previewMint(uint256 shares) public view virtual returns (uint256) {\n        return _convertToAssets(shares, Math.Rounding.Ceil);\n    }\n\n    /** @dev See {IERC4626-previewWithdraw}. */\n    function previewWithdraw(uint256 assets) public view virtual returns (uint256) {\n        return _convertToShares(assets, Math.Rounding.Ceil);\n    }\n\n    /** @dev See {IERC4626-previewRedeem}. */\n    function previewRedeem(uint256 shares) public view virtual returns (uint256) {\n        return _convertToAssets(shares, Math.Rounding.Floor);\n    }\n\n    /** @dev See {IERC4626-deposit}. */\n    function deposit(uint256 assets, address receiver) public virtual returns (uint256) {\n        uint256 maxAssets = maxDeposit(receiver);\n        if (assets > maxAssets) {\n            revert ERC4626ExceededMaxDeposit(receiver, assets, maxAssets);\n        }\n\n        uint256 shares = previewDeposit(assets);\n        _deposit(_msgSender(), receiver, assets, shares);\n\n        return shares;\n    }\n\n    /** @dev See {IERC4626-mint}.\n     *\n     * As opposed to {deposit}, minting is allowed even if the vault is in a state where the price of a share is zero.\n     * In this case, the shares will be minted without requiring any assets to be deposited.\n     */\n    function mint(uint256 shares, address receiver) public virtual returns (uint256) {\n        uint256 maxShares = maxMint(receiver);\n        if (shares > maxShares) {\n            revert ERC4626ExceededMaxMint(receiver, shares, maxShares);\n        }\n\n        uint256 assets = previewMint(shares);\n        _deposit(_msgSender(), receiver, assets, shares);\n\n        return assets;\n    }\n\n    /** @dev See {IERC4626-withdraw}. */\n    function withdraw(uint256 assets, address receiver, address owner) public virtual returns (uint256) {\n        uint256 maxAssets = maxWithdraw(owner);\n        if (assets > maxAssets) {\n            revert ERC4626ExceededMaxWithdraw(owner, assets, maxAssets);\n        }\n\n        uint256 shares = previewWithdraw(assets);\n        _withdraw(_msgSender(), receiver, owner, assets, shares);\n\n        return shares;\n    }\n\n    /** @dev See {IERC4626-redeem}. */\n    function redeem(uint256 shares, address receiver, address owner) public virtual returns (uint256) {\n        uint256 maxShares = maxRedeem(owner);\n        if (shares > maxShares) {\n            revert ERC4626ExceededMaxRedeem(owner, shares, maxShares);\n        }\n\n        uint256 assets = previewRedeem(shares);\n        _withdraw(_msgSender(), receiver, owner, assets, shares);\n\n        return assets;\n    }\n\n    /**\n     * @dev Internal conversion function (from assets to shares) with support for rounding direction.\n     */\n    function _convertToShares(uint256 assets, Math.Rounding rounding) internal view virtual returns (uint256) {\n        return assets.mulDiv(totalSupply() + 10 ** _decimalsOffset(), totalAssets() + 1, rounding);\n    }\n\n    /**\n     * @dev Internal conversion function (from shares to assets) with support for rounding direction.\n     */\n    function _convertToAssets(uint256 shares, Math.Rounding rounding) internal view virtual returns (uint256) {\n        return shares.mulDiv(totalAssets() + 1, totalSupply() + 10 ** _decimalsOffset(), rounding);\n    }\n\n    /**\n     * @dev Deposit/mint common workflow.\n     */\n    function _deposit(address caller, address receiver, uint256 assets, uint256 shares) internal virtual {\n        ERC4626Storage storage $ = _getERC4626Storage();\n        // If _asset is ERC777, `transferFrom` can trigger a reentrancy BEFORE the transfer happens through the\n        // `tokensToSend` hook. On the other hand, the `tokenReceived` hook, that is triggered after the transfer,\n        // calls the vault, which is assumed not malicious.\n        //\n        // Conclusion: we need to do the transfer before we mint so that any reentrancy would happen before the\n        // assets are transferred and before the shares are minted, which is a valid state.\n        // slither-disable-next-line reentrancy-no-eth\n        SafeERC20.safeTransferFrom($._asset, caller, address(this), assets);\n        _mint(receiver, shares);\n\n        emit Deposit(caller, receiver, assets, shares);\n    }\n\n    /**\n     * @dev Withdraw/redeem common workflow.\n     */\n    function _withdraw(\n        address caller,\n        address receiver,\n        address owner,\n        uint256 assets,\n        uint256 shares\n    ) internal virtual {\n        ERC4626Storage storage $ = _getERC4626Storage();\n        if (caller != owner) {\n            _spendAllowance(owner, caller, shares);\n        }\n\n        // If _asset is ERC777, `transfer` can trigger a reentrancy AFTER the transfer happens through the\n        // `tokensReceived` hook. On the other hand, the `tokensToSend` hook, that is triggered before the transfer,\n        // calls the vault, which is assumed not malicious.\n        //\n        // Conclusion: we need to do the transfer after the burn so that any reentrancy would happen after the\n        // shares are burned and after the assets are transferred, which is a valid state.\n        _burn(owner, shares);\n        SafeERC20.safeTransfer($._asset, receiver, assets);\n\n        emit Withdraw(caller, receiver, owner, assets, shares);\n    }\n\n    function _decimalsOffset() internal view virtual returns (uint8) {\n        return 0;\n    }\n}\n"},"lib/openzeppelin-contracts-upgradeable/lib/openzeppelin-contracts/contracts/token/ERC20/utils/SafeERC20.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.0.0) (token/ERC20/utils/SafeERC20.sol)\n\npragma solidity ^0.8.20;\n\nimport {IERC20} from \"../IERC20.sol\";\nimport {IERC20Permit} from \"../extensions/IERC20Permit.sol\";\nimport {Address} from \"../../../utils/Address.sol\";\n\n/**\n * @title SafeERC20\n * @dev Wrappers around ERC20 operations that throw on failure (when the token\n * contract returns false). Tokens that return no value (and instead revert or\n * throw on failure) are also supported, non-reverting calls are assumed to be\n * successful.\n * To use this library you can add a `using SafeERC20 for IERC20;` statement to your contract,\n * which allows you to call the safe operations as `token.safeTransfer(...)`, etc.\n */\nlibrary SafeERC20 {\n    using Address for address;\n\n    /**\n     * @dev An operation with an ERC20 token failed.\n     */\n    error SafeERC20FailedOperation(address token);\n\n    /**\n     * @dev Indicates a failed `decreaseAllowance` request.\n     */\n    error SafeERC20FailedDecreaseAllowance(address spender, uint256 currentAllowance, uint256 requestedDecrease);\n\n    /**\n     * @dev Transfer `value` amount of `token` from the calling contract to `to`. If `token` returns no value,\n     * non-reverting calls are assumed to be successful.\n     */\n    function safeTransfer(IERC20 token, address to, uint256 value) internal {\n        _callOptionalReturn(token, abi.encodeCall(token.transfer, (to, value)));\n    }\n\n    /**\n     * @dev Transfer `value` amount of `token` from `from` to `to`, spending the approval given by `from` to the\n     * calling contract. If `token` returns no value, non-reverting calls are assumed to be successful.\n     */\n    function safeTransferFrom(IERC20 token, address from, address to, uint256 value) internal {\n        _callOptionalReturn(token, abi.encodeCall(token.transferFrom, (from, to, value)));\n    }\n\n    /**\n     * @dev Increase the calling contract's allowance toward `spender` by `value`. If `token` returns no value,\n     * non-reverting calls are assumed to be successful.\n     */\n    function safeIncreaseAllowance(IERC20 token, address spender, uint256 value) internal {\n        uint256 oldAllowance = token.allowance(address(this), spender);\n        forceApprove(token, spender, oldAllowance + value);\n    }\n\n    /**\n     * @dev Decrease the calling contract's allowance toward `spender` by `requestedDecrease`. If `token` returns no\n     * value, non-reverting calls are assumed to be successful.\n     */\n    function safeDecreaseAllowance(IERC20 token, address spender, uint256 requestedDecrease) internal {\n        unchecked {\n            uint256 currentAllowance = token.allowance(address(this), spender);\n            if (currentAllowance < requestedDecrease) {\n                revert SafeERC20FailedDecreaseAllowance(spender, currentAllowance, requestedDecrease);\n            }\n            forceApprove(token, spender, currentAllowance - requestedDecrease);\n        }\n    }\n\n    /**\n     * @dev Set the calling contract's allowance toward `spender` to `value`. If `token` returns no value,\n     * non-reverting calls are assumed to be successful. Meant to be used with tokens that require the approval\n     * to be set to zero before setting it to a non-zero value, such as USDT.\n     */\n    function forceApprove(IERC20 token, address spender, uint256 value) internal {\n        bytes memory approvalCall = abi.encodeCall(token.approve, (spender, value));\n\n        if (!_callOptionalReturnBool(token, approvalCall)) {\n            _callOptionalReturn(token, abi.encodeCall(token.approve, (spender, 0)));\n            _callOptionalReturn(token, approvalCall);\n        }\n    }\n\n    /**\n     * @dev Imitates a Solidity high-level call (i.e. a regular function call to a contract), relaxing the requirement\n     * on the return value: the return value is optional (but if data is returned, it must not be false).\n     * @param token The token targeted by the call.\n     * @param data The call data (encoded using abi.encode or one of its variants).\n     */\n    function _callOptionalReturn(IERC20 token, bytes memory data) private {\n        // We need to perform a low level call here, to bypass Solidity's return data size checking mechanism, since\n        // we're implementing it ourselves. We use {Address-functionCall} to perform this call, which verifies that\n        // the target address contains contract code and also asserts for success in the low-level call.\n\n        bytes memory returndata = address(token).functionCall(data);\n        if (returndata.length != 0 && !abi.decode(returndata, (bool))) {\n            revert SafeERC20FailedOperation(address(token));\n        }\n    }\n\n    /**\n     * @dev Imitates a Solidity high-level call (i.e. a regular function call to a contract), relaxing the requirement\n     * on the return value: the return value is optional (but if data is returned, it must not be false).\n     * @param token The token targeted by the call.\n     * @param data The call data (encoded using abi.encode or one of its variants).\n     *\n     * This is a variant of {_callOptionalReturn} that silents catches all reverts and returns a bool instead.\n     */\n    function _callOptionalReturnBool(IERC20 token, bytes memory data) private returns (bool) {\n        // We need to perform a low level call here, to bypass Solidity's return data size checking mechanism, since\n        // we're implementing it ourselves. We cannot use {Address-functionCall} here since this should return false\n        // and not revert is the subcall reverts.\n\n        (bool success, bytes memory returndata) = address(token).call(data);\n        return success && (returndata.length == 0 || abi.decode(returndata, (bool))) && address(token).code.length > 0;\n    }\n}\n"},"lib/openzeppelin-contracts-upgradeable/contracts/utils/ReentrancyGuardUpgradeable.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.0.0) (utils/ReentrancyGuard.sol)\n\npragma solidity ^0.8.20;\nimport {Initializable} from \"../proxy/utils/Initializable.sol\";\n\n/**\n * @dev Contract module that helps prevent reentrant calls to a function.\n *\n * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier\n * available, which can be applied to functions to make sure there are no nested\n * (reentrant) calls to them.\n *\n * Note that because there is a single `nonReentrant` guard, functions marked as\n * `nonReentrant` may not call one another. This can be worked around by making\n * those functions `private`, and then adding `external` `nonReentrant` entry\n * points to them.\n *\n * TIP: If you would like to learn more about reentrancy and alternative ways\n * to protect against it, check out our blog post\n * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul].\n */\nabstract contract ReentrancyGuardUpgradeable is Initializable {\n    // Booleans are more expensive than uint256 or any type that takes up a full\n    // word because each write operation emits an extra SLOAD to first read the\n    // slot's contents, replace the bits taken up by the boolean, and then write\n    // back. This is the compiler's defense against contract upgrades and\n    // pointer aliasing, and it cannot be disabled.\n\n    // The values being non-zero value makes deployment a bit more expensive,\n    // but in exchange the refund on every call to nonReentrant will be lower in\n    // amount. Since refunds are capped to a percentage of the total\n    // transaction's gas, it is best to keep them low in cases like this one, to\n    // increase the likelihood of the full refund coming into effect.\n    uint256 private constant NOT_ENTERED = 1;\n    uint256 private constant ENTERED = 2;\n\n    /// @custom:storage-location erc7201:openzeppelin.storage.ReentrancyGuard\n    struct ReentrancyGuardStorage {\n        uint256 _status;\n    }\n\n    // keccak256(abi.encode(uint256(keccak256(\"openzeppelin.storage.ReentrancyGuard\")) - 1)) & ~bytes32(uint256(0xff))\n    bytes32 private constant ReentrancyGuardStorageLocation = 0x9b779b17422d0df92223018b32b4d1fa46e071723d6817e2486d003becc55f00;\n\n    function _getReentrancyGuardStorage() private pure returns (ReentrancyGuardStorage storage $) {\n        assembly {\n            $.slot := ReentrancyGuardStorageLocation\n        }\n    }\n\n    /**\n     * @dev Unauthorized reentrant call.\n     */\n    error ReentrancyGuardReentrantCall();\n\n    function __ReentrancyGuard_init() internal onlyInitializing {\n        __ReentrancyGuard_init_unchained();\n    }\n\n    function __ReentrancyGuard_init_unchained() internal onlyInitializing {\n        ReentrancyGuardStorage storage $ = _getReentrancyGuardStorage();\n        $._status = NOT_ENTERED;\n    }\n\n    /**\n     * @dev Prevents a contract from calling itself, directly or indirectly.\n     * Calling a `nonReentrant` function from another `nonReentrant`\n     * function is not supported. It is possible to prevent this from happening\n     * by making the `nonReentrant` function external, and making it call a\n     * `private` function that does the actual work.\n     */\n    modifier nonReentrant() {\n        _nonReentrantBefore();\n        _;\n        _nonReentrantAfter();\n    }\n\n    function _nonReentrantBefore() private {\n        ReentrancyGuardStorage storage $ = _getReentrancyGuardStorage();\n        // On the first call to nonReentrant, _status will be NOT_ENTERED\n        if ($._status == ENTERED) {\n            revert ReentrancyGuardReentrantCall();\n        }\n\n        // Any calls to nonReentrant after this point will fail\n        $._status = ENTERED;\n    }\n\n    function _nonReentrantAfter() private {\n        ReentrancyGuardStorage storage $ = _getReentrancyGuardStorage();\n        // By storing the original value once again, a refund is triggered (see\n        // https://eips.ethereum.org/EIPS/eip-2200)\n        $._status = NOT_ENTERED;\n    }\n\n    /**\n     * @dev Returns true if the reentrancy guard is currently set to \"entered\", which indicates there is a\n     * `nonReentrant` function in the call stack.\n     */\n    function _reentrancyGuardEntered() internal view returns (bool) {\n        ReentrancyGuardStorage storage $ = _getReentrancyGuardStorage();\n        return $._status == ENTERED;\n    }\n}\n"},"lib/openzeppelin-contracts-upgradeable/contracts/access/OwnableUpgradeable.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.0.0) (access/Ownable.sol)\n\npragma solidity ^0.8.20;\n\nimport {ContextUpgradeable} from \"../utils/ContextUpgradeable.sol\";\nimport {Initializable} from \"../proxy/utils/Initializable.sol\";\n\n/**\n * @dev Contract module which provides a basic access control mechanism, where\n * there is an account (an owner) that can be granted exclusive access to\n * specific functions.\n *\n * The initial owner is set to the address provided by the deployer. This can\n * later be changed with {transferOwnership}.\n *\n * This module is used through inheritance. It will make available the modifier\n * `onlyOwner`, which can be applied to your functions to restrict their use to\n * the owner.\n */\nabstract contract OwnableUpgradeable is Initializable, ContextUpgradeable {\n    /// @custom:storage-location erc7201:openzeppelin.storage.Ownable\n    struct OwnableStorage {\n        address _owner;\n    }\n\n    // keccak256(abi.encode(uint256(keccak256(\"openzeppelin.storage.Ownable\")) - 1)) & ~bytes32(uint256(0xff))\n    bytes32 private constant OwnableStorageLocation = 0x9016d09d72d40fdae2fd8ceac6b6234c7706214fd39c1cd1e609a0528c199300;\n\n    function _getOwnableStorage() private pure returns (OwnableStorage storage $) {\n        assembly {\n            $.slot := OwnableStorageLocation\n        }\n    }\n\n    /**\n     * @dev The caller account is not authorized to perform an operation.\n     */\n    error OwnableUnauthorizedAccount(address account);\n\n    /**\n     * @dev The owner is not a valid owner account. (eg. `address(0)`)\n     */\n    error OwnableInvalidOwner(address owner);\n\n    event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);\n\n    /**\n     * @dev Initializes the contract setting the address provided by the deployer as the initial owner.\n     */\n    function __Ownable_init(address initialOwner) internal onlyInitializing {\n        __Ownable_init_unchained(initialOwner);\n    }\n\n    function __Ownable_init_unchained(address initialOwner) internal onlyInitializing {\n        if (initialOwner == address(0)) {\n            revert OwnableInvalidOwner(address(0));\n        }\n        _transferOwnership(initialOwner);\n    }\n\n    /**\n     * @dev Throws if called by any account other than the owner.\n     */\n    modifier onlyOwner() {\n        _checkOwner();\n        _;\n    }\n\n    /**\n     * @dev Returns the address of the current owner.\n     */\n    function owner() public view virtual returns (address) {\n        OwnableStorage storage $ = _getOwnableStorage();\n        return $._owner;\n    }\n\n    /**\n     * @dev Throws if the sender is not the owner.\n     */\n    function _checkOwner() internal view virtual {\n        if (owner() != _msgSender()) {\n            revert OwnableUnauthorizedAccount(_msgSender());\n        }\n    }\n\n    /**\n     * @dev Leaves the contract without owner. It will not be possible to call\n     * `onlyOwner` functions. Can only be called by the current owner.\n     *\n     * NOTE: Renouncing ownership will leave the contract without an owner,\n     * thereby disabling any functionality that is only available to the owner.\n     */\n    function renounceOwnership() public virtual onlyOwner {\n        _transferOwnership(address(0));\n    }\n\n    /**\n     * @dev Transfers ownership of the contract to a new account (`newOwner`).\n     * Can only be called by the current owner.\n     */\n    function transferOwnership(address newOwner) public virtual onlyOwner {\n        if (newOwner == address(0)) {\n            revert OwnableInvalidOwner(address(0));\n        }\n        _transferOwnership(newOwner);\n    }\n\n    /**\n     * @dev Transfers ownership of the contract to a new account (`newOwner`).\n     * Internal function without access restriction.\n     */\n    function _transferOwnership(address newOwner) internal virtual {\n        OwnableStorage storage $ = _getOwnableStorage();\n        address oldOwner = $._owner;\n        $._owner = newOwner;\n        emit OwnershipTransferred(oldOwner, newOwner);\n    }\n}\n"},"lib/openzeppelin-contracts-upgradeable/lib/openzeppelin-contracts/contracts/token/ERC20/IERC20.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.0.0) (token/ERC20/IERC20.sol)\n\npragma solidity ^0.8.20;\n\n/**\n * @dev Interface of the ERC20 standard as defined in the EIP.\n */\ninterface IERC20 {\n    /**\n     * @dev Emitted when `value` tokens are moved from one account (`from`) to\n     * another (`to`).\n     *\n     * Note that `value` may be zero.\n     */\n    event Transfer(address indexed from, address indexed to, uint256 value);\n\n    /**\n     * @dev Emitted when the allowance of a `spender` for an `owner` is set by\n     * a call to {approve}. `value` is the new allowance.\n     */\n    event Approval(address indexed owner, address indexed spender, uint256 value);\n\n    /**\n     * @dev Returns the value of tokens in existence.\n     */\n    function totalSupply() external view returns (uint256);\n\n    /**\n     * @dev Returns the value of tokens owned by `account`.\n     */\n    function balanceOf(address account) external view returns (uint256);\n\n    /**\n     * @dev Moves a `value` amount of tokens from the caller's account to `to`.\n     *\n     * Returns a boolean value indicating whether the operation succeeded.\n     *\n     * Emits a {Transfer} event.\n     */\n    function transfer(address to, uint256 value) external returns (bool);\n\n    /**\n     * @dev Returns the remaining number of tokens that `spender` will be\n     * allowed to spend on behalf of `owner` through {transferFrom}. This is\n     * zero by default.\n     *\n     * This value changes when {approve} or {transferFrom} are called.\n     */\n    function allowance(address owner, address spender) external view returns (uint256);\n\n    /**\n     * @dev Sets a `value` amount of tokens as the allowance of `spender` over the\n     * caller's tokens.\n     *\n     * Returns a boolean value indicating whether the operation succeeded.\n     *\n     * IMPORTANT: Beware that changing an allowance with this method brings the risk\n     * that someone may use both the old and the new allowance by unfortunate\n     * transaction ordering. One possible solution to mitigate this race\n     * condition is to first reduce the spender's allowance to 0 and set the\n     * desired value afterwards:\n     * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729\n     *\n     * Emits an {Approval} event.\n     */\n    function approve(address spender, uint256 value) external returns (bool);\n\n    /**\n     * @dev Moves a `value` amount of tokens from `from` to `to` using the\n     * allowance mechanism. `value` is then deducted from the caller's\n     * allowance.\n     *\n     * Returns a boolean value indicating whether the operation succeeded.\n     *\n     * Emits a {Transfer} event.\n     */\n    function transferFrom(address from, address to, uint256 value) external returns (bool);\n}\n"},"src/interfaces/IStakedmsUSD.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity ^0.8.19;\n\nstruct UserCooldown {\n    uint104 cooldownEnd;\n    uint256 underlyingAmount;\n}\n\ninterface IStakedmsUSD {\n    // Events //\n    /// @notice Event emitted when the rewards are received\n    event RewardsReceived(uint256 indexed amount);\n    /// @notice Event emitted when the balance from an FULL_RESTRICTED_STAKER_ROLE user are redistributed\n    event LockedAmountRedistributed(\n        address indexed from,\n        address indexed to,\n        uint256 amount\n    );\n    /// @notice Event emitted when cooldown duration updates\n    event CooldownDurationUpdated(uint24 previousDuration, uint24 newDuration);\n    /// @notice Event emitted when the silo address updates\n    event SiloUpdated(address previousSilo, address newSilo);\n    /// @notice Event emitted when the rewarder address is updated\n    event RewarderUpdated(address);\n    /// @notice Event emitted when the msUSD silo address is updated\n    event msUSDSiloUpdated(address);\n    /// @notice Event emitted when the fee silo address is updated\n    event FeeSiloUpdated(address);\n    /// @notice Event emitted when a user unstakes\n    event Unstake(address caller, address receiver, uint256 assets, uint256 amountForRedeemer);\n    /// @notice Event emitted when the tax rate is updated.\n    event TaxRateUpdated(uint16);\n    /// @notice Event emitted when the boolean stored in depositsEnabled is updated\n    event DepositsToggled(bool);\n    /// @notice Event emitted when `coverageRatio` is updated.\n    event CoverageRatioUpdated(uint256);\n    /// @notice Event emitted when `burnAsset` is executed.\n    event AssetBurned(uint256);\n    /// @notice Event emitted when `updateExistingCooldown` is executed.\n    event CooldownEndtimeUpdated(address account, uint256 oldTime, uint256 newTime);\n\n    // Errors //\n    /// @notice Error emitted shares or assets equal zero.\n    error InvalidAmount();\n    /// @notice Error emitted when owner attempts to rescue USDe tokens.\n    error InvalidToken();\n    /// @notice Error emitted when slippage is exceeded on a deposit or withdrawal\n    error SlippageExceeded();\n    /// @notice Error emitted when a small non-zero share amount remains, which risks donations attack\n    error MinSharesViolation();\n    /// @notice Error emitted when owner is not allowed to perform an operation\n    error OperationNotAllowed();\n    /// @notice Error emitted when the zero address is given\n    error InvalidZeroAddress();\n    /// @notice Error emitted when the shares amount to redeem is greater than the shares balance of the owner\n    error ExcessiveRedeemAmount();\n    /// @notice Error emitted when the shares amount to withdraw is greater than the shares balance of the owner\n    error ExcessiveWithdrawAmount();\n    /// @notice Error emitted when cooldown value is invalid\n    error InvalidCooldown();\n    /// @notice Error emitted when a permissioned funciton is called by an unauthorized wallet\n    error NotAuthorized(address);\n    /// @notice Error emitted when a value is already set\n    error AlreadySet();\n    /// @notice Error emitted when a user attempts to unstake a cooldown that is not finished\n    error CooldownNotFinished(uint256 currentTimestamp, uint256 endTimestamp);\n    /// @notice Error emitted when a user attempts to unstake a cooldown of amount 0\n    error NothingToUnstake();\n    /// @notice Error emitted when a deposit is executed when deposits are disabled\n    error DepositsDisabled();\n    /// @notice Error emitted when an unstake is performed while `coverageRatio` is set to 0.\n    error CoverageRatioZero();\n    /// @notice Error emitted when a coverageRatio is greater than 1e18, breaking logic.\n    error InvalidRatio();\n\n    function mintRewards(uint256 amount) external;\n\n    function rescueTokens(address token, uint256 amount, address to) external;\n\n    function cooldownAssets(\n        uint256 assets,\n        address owner\n    ) external returns (uint256 shares);\n\n    function cooldownShares(\n        uint256 shares,\n        address owner\n    ) external returns (uint256 assets);\n\n    function unstake(address receiver) external;\n\n    function setCooldownDuration(uint24 duration) external;\n}\n"},"src/interfaces/ImsUSDV2.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity ^0.8.19;\n\nimport \"@openzeppelin/contracts/token/ERC20/IERC20.sol\";\n\ninterface ImsUSDV2 is IERC20 {\n    /// @dev This event is fired when the minter changes.\n    event MinterUpdated(address indexed newMinter, address indexed oldMinter);\n    /// @dev This event is emitted when the supply limit is updated.\n    event SupplyLimitUpdated(uint256 indexed newSupplyLimit);\n    /// @dev This event is emitted when the stakedmsUSD address is updated.\n    event StakedmsUSDUpdated(address indexed newStakedmsUSD, address indexed oldStakedmsUSD);\n\n\n    /// @dev Error emitted when totalSupply exceeds `supplyLimit`.\n    error SupplyLimitExceeded();\n    /// @dev Zero address not allowed.\n    error ZeroAddressException();\n    /// @dev It's not possible to renounce the ownership.\n    error CantRenounceOwnership();\n    /// @dev Emitted when msg.sender is not authorized.\n    error NotAuthorized(address account);\n\n    /// @dev Allows the `minter` to mint more msUSD tokens to a specified `to` address.\n    function mint(address _to, uint256 _amount) external;\n    /// @dev Burns `amount` tokens from msg.sender.\n    function burn(uint256 _amount) external;\n    /// @dev Burns `amount` of tokens from `account`, given approval from `account`.\n    function burnFrom(address account, uint256 amount) external;\n    /// @dev Allows the owner to update the `minter` state variable.\n    function setMinter(address newMinter) external;\n    /// @dev Allows owner to set a ceiling on msUSD total supply to throttle minting.\n    function setSupplyLimit(uint256 limit) external;\n}\n"},"src/v2/msUSDSilo.sol":{"content":"// SPDX-License-Identifier: GPL-3.0\npragma solidity ^0.8.0;\n\nimport \"@openzeppelin/contracts/token/ERC20/IERC20.sol\";\nimport \"@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol\";\n\n/**\n * @title msUSDSilo\n * @notice The Silo allows to store msUSD during the stake cooldown process.\n */\ncontract msUSDSilo {\n    using SafeERC20 for IERC20;\n\n    address immutable STAKING_VAULT;\n    IERC20 immutable ASSET;\n\n    /// @notice Error emitted when the staking vault is not the caller\n    error OnlyStakingVault();\n\n    constructor(address stakingVault, address _asset) {\n        STAKING_VAULT = stakingVault;\n        ASSET = IERC20(_asset);\n    }\n\n    modifier onlyStakingVault() {\n        if (msg.sender != STAKING_VAULT) revert OnlyStakingVault();\n        _;\n    }\n\n    function withdraw(address to, uint256 amount) external onlyStakingVault {\n        ASSET.transfer(to, amount);\n    }\n}\n"},"lib/openzeppelin-contracts-upgradeable/lib/openzeppelin-contracts/contracts/utils/Address.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.0.0) (utils/Address.sol)\n\npragma solidity ^0.8.20;\n\n/**\n * @dev Collection of functions related to the address type\n */\nlibrary Address {\n    /**\n     * @dev The ETH balance of the account is not enough to perform the operation.\n     */\n    error AddressInsufficientBalance(address account);\n\n    /**\n     * @dev There's no code at `target` (it is not a contract).\n     */\n    error AddressEmptyCode(address target);\n\n    /**\n     * @dev A call to an address target failed. The target may have reverted.\n     */\n    error FailedInnerCall();\n\n    /**\n     * @dev Replacement for Solidity's `transfer`: sends `amount` wei to\n     * `recipient`, forwarding all available gas and reverting on errors.\n     *\n     * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost\n     * of certain opcodes, possibly making contracts go over the 2300 gas limit\n     * imposed by `transfer`, making them unable to receive funds via\n     * `transfer`. {sendValue} removes this limitation.\n     *\n     * https://consensys.net/diligence/blog/2019/09/stop-using-soliditys-transfer-now/[Learn more].\n     *\n     * IMPORTANT: because control is transferred to `recipient`, care must be\n     * taken to not create reentrancy vulnerabilities. Consider using\n     * {ReentrancyGuard} or the\n     * https://solidity.readthedocs.io/en/v0.8.20/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern].\n     */\n    function sendValue(address payable recipient, uint256 amount) internal {\n        if (address(this).balance < amount) {\n            revert AddressInsufficientBalance(address(this));\n        }\n\n        (bool success, ) = recipient.call{value: amount}(\"\");\n        if (!success) {\n            revert FailedInnerCall();\n        }\n    }\n\n    /**\n     * @dev Performs a Solidity function call using a low level `call`. A\n     * plain `call` is an unsafe replacement for a function call: use this\n     * function instead.\n     *\n     * If `target` reverts with a revert reason or custom error, it is bubbled\n     * up by this function (like regular Solidity function calls). However, if\n     * the call reverted with no returned reason, this function reverts with a\n     * {FailedInnerCall} error.\n     *\n     * Returns the raw returned data. To convert to the expected return value,\n     * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`].\n     *\n     * Requirements:\n     *\n     * - `target` must be a contract.\n     * - calling `target` with `data` must not revert.\n     */\n    function functionCall(address target, bytes memory data) internal returns (bytes memory) {\n        return functionCallWithValue(target, data, 0);\n    }\n\n    /**\n     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],\n     * but also transferring `value` wei to `target`.\n     *\n     * Requirements:\n     *\n     * - the calling contract must have an ETH balance of at least `value`.\n     * - the called Solidity function must be `payable`.\n     */\n    function functionCallWithValue(address target, bytes memory data, uint256 value) internal returns (bytes memory) {\n        if (address(this).balance < value) {\n            revert AddressInsufficientBalance(address(this));\n        }\n        (bool success, bytes memory returndata) = target.call{value: value}(data);\n        return verifyCallResultFromTarget(target, success, returndata);\n    }\n\n    /**\n     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],\n     * but performing a static call.\n     */\n    function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) {\n        (bool success, bytes memory returndata) = target.staticcall(data);\n        return verifyCallResultFromTarget(target, success, returndata);\n    }\n\n    /**\n     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],\n     * but performing a delegate call.\n     */\n    function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) {\n        (bool success, bytes memory returndata) = target.delegatecall(data);\n        return verifyCallResultFromTarget(target, success, returndata);\n    }\n\n    /**\n     * @dev Tool to verify that a low level call to smart-contract was successful, and reverts if the target\n     * was not a contract or bubbling up the revert reason (falling back to {FailedInnerCall}) in case of an\n     * unsuccessful call.\n     */\n    function verifyCallResultFromTarget(\n        address target,\n        bool success,\n        bytes memory returndata\n    ) internal view returns (bytes memory) {\n        if (!success) {\n            _revert(returndata);\n        } else {\n            // only check if target is a contract if the call was successful and the return data is empty\n            // otherwise we already know that it was a contract\n            if (returndata.length == 0 && target.code.length == 0) {\n                revert AddressEmptyCode(target);\n            }\n            return returndata;\n        }\n    }\n\n    /**\n     * @dev Tool to verify that a low level call was successful, and reverts if it wasn't, either by bubbling the\n     * revert reason or with a default {FailedInnerCall} error.\n     */\n    function verifyCallResult(bool success, bytes memory returndata) internal pure returns (bytes memory) {\n        if (!success) {\n            _revert(returndata);\n        } else {\n            return returndata;\n        }\n    }\n\n    /**\n     * @dev Reverts with returndata if present. Otherwise reverts with {FailedInnerCall}.\n     */\n    function _revert(bytes memory returndata) private pure {\n        // Look for revert reason and bubble it up if present\n        if (returndata.length > 0) {\n            // The easiest way to bubble the revert reason is using memory via assembly\n            /// @solidity memory-safe-assembly\n            assembly {\n                let returndata_size := mload(returndata)\n                revert(add(32, returndata), returndata_size)\n            }\n        } else {\n            revert FailedInnerCall();\n        }\n    }\n}\n"},"lib/openzeppelin-contracts-upgradeable/contracts/utils/ContextUpgradeable.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.0.1) (utils/Context.sol)\n\npragma solidity ^0.8.20;\nimport {Initializable} from \"../proxy/utils/Initializable.sol\";\n\n/**\n * @dev Provides information about the current execution context, including the\n * sender of the transaction and its data. While these are generally available\n * via msg.sender and msg.data, they should not be accessed in such a direct\n * manner, since when dealing with meta-transactions the account sending and\n * paying for execution may not be the actual sender (as far as an application\n * is concerned).\n *\n * This contract is only required for intermediate, library-like contracts.\n */\nabstract contract ContextUpgradeable is Initializable {\n    function __Context_init() internal onlyInitializing {\n    }\n\n    function __Context_init_unchained() internal onlyInitializing {\n    }\n    function _msgSender() internal view virtual returns (address) {\n        return msg.sender;\n    }\n\n    function _msgData() internal view virtual returns (bytes calldata) {\n        return msg.data;\n    }\n\n    function _contextSuffixLength() internal view virtual returns (uint256) {\n        return 0;\n    }\n}\n"},"lib/openzeppelin-contracts-upgradeable/lib/openzeppelin-contracts/contracts/proxy/beacon/IBeacon.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.0.0) (proxy/beacon/IBeacon.sol)\n\npragma solidity ^0.8.20;\n\n/**\n * @dev This is the interface that {BeaconProxy} expects of its beacon.\n */\ninterface IBeacon {\n    /**\n     * @dev Must return an address that can be used as a delegate call target.\n     *\n     * {UpgradeableBeacon} will check that this address is a contract.\n     */\n    function implementation() external view returns (address);\n}\n"},"lib/openzeppelin-contracts-upgradeable/lib/openzeppelin-contracts/contracts/utils/StorageSlot.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.0.0) (utils/StorageSlot.sol)\n// This file was procedurally generated from scripts/generate/templates/StorageSlot.js.\n\npragma solidity ^0.8.20;\n\n/**\n * @dev Library for reading and writing primitive types to specific storage slots.\n *\n * Storage slots are often used to avoid storage conflict when dealing with upgradeable contracts.\n * This library helps with reading and writing to such slots without the need for inline assembly.\n *\n * The functions in this library return Slot structs that contain a `value` member that can be used to read or write.\n *\n * Example usage to set ERC1967 implementation slot:\n * ```solidity\n * contract ERC1967 {\n *     bytes32 internal constant _IMPLEMENTATION_SLOT = 0x360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc;\n *\n *     function _getImplementation() internal view returns (address) {\n *         return StorageSlot.getAddressSlot(_IMPLEMENTATION_SLOT).value;\n *     }\n *\n *     function _setImplementation(address newImplementation) internal {\n *         require(newImplementation.code.length > 0);\n *         StorageSlot.getAddressSlot(_IMPLEMENTATION_SLOT).value = newImplementation;\n *     }\n * }\n * ```\n */\nlibrary StorageSlot {\n    struct AddressSlot {\n        address value;\n    }\n\n    struct BooleanSlot {\n        bool value;\n    }\n\n    struct Bytes32Slot {\n        bytes32 value;\n    }\n\n    struct Uint256Slot {\n        uint256 value;\n    }\n\n    struct StringSlot {\n        string value;\n    }\n\n    struct BytesSlot {\n        bytes value;\n    }\n\n    /**\n     * @dev Returns an `AddressSlot` with member `value` located at `slot`.\n     */\n    function getAddressSlot(bytes32 slot) internal pure returns (AddressSlot storage r) {\n        /// @solidity memory-safe-assembly\n        assembly {\n            r.slot := slot\n        }\n    }\n\n    /**\n     * @dev Returns an `BooleanSlot` with member `value` located at `slot`.\n     */\n    function getBooleanSlot(bytes32 slot) internal pure returns (BooleanSlot storage r) {\n        /// @solidity memory-safe-assembly\n        assembly {\n            r.slot := slot\n        }\n    }\n\n    /**\n     * @dev Returns an `Bytes32Slot` with member `value` located at `slot`.\n     */\n    function getBytes32Slot(bytes32 slot) internal pure returns (Bytes32Slot storage r) {\n        /// @solidity memory-safe-assembly\n        assembly {\n            r.slot := slot\n        }\n    }\n\n    /**\n     * @dev Returns an `Uint256Slot` with member `value` located at `slot`.\n     */\n    function getUint256Slot(bytes32 slot) internal pure returns (Uint256Slot storage r) {\n        /// @solidity memory-safe-assembly\n        assembly {\n            r.slot := slot\n        }\n    }\n\n    /**\n     * @dev Returns an `StringSlot` with member `value` located at `slot`.\n     */\n    function getStringSlot(bytes32 slot) internal pure returns (StringSlot storage r) {\n        /// @solidity memory-safe-assembly\n        assembly {\n            r.slot := slot\n        }\n    }\n\n    /**\n     * @dev Returns an `StringSlot` representation of the string storage pointer `store`.\n     */\n    function getStringSlot(string storage store) internal pure returns (StringSlot storage r) {\n        /// @solidity memory-safe-assembly\n        assembly {\n            r.slot := store.slot\n        }\n    }\n\n    /**\n     * @dev Returns an `BytesSlot` with member `value` located at `slot`.\n     */\n    function getBytesSlot(bytes32 slot) internal pure returns (BytesSlot storage r) {\n        /// @solidity memory-safe-assembly\n        assembly {\n            r.slot := slot\n        }\n    }\n\n    /**\n     * @dev Returns an `BytesSlot` representation of the bytes storage pointer `store`.\n     */\n    function getBytesSlot(bytes storage store) internal pure returns (BytesSlot storage r) {\n        /// @solidity memory-safe-assembly\n        assembly {\n            r.slot := store.slot\n        }\n    }\n}\n"},"lib/openzeppelin-contracts-upgradeable/lib/openzeppelin-contracts/contracts/interfaces/draft-IERC6093.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.0.0) (interfaces/draft-IERC6093.sol)\npragma solidity ^0.8.20;\n\n/**\n * @dev Standard ERC20 Errors\n * Interface of the https://eips.ethereum.org/EIPS/eip-6093[ERC-6093] custom errors for ERC20 tokens.\n */\ninterface IERC20Errors {\n    /**\n     * @dev Indicates an error related to the current `balance` of a `sender`. Used in transfers.\n     * @param sender Address whose tokens are being transferred.\n     * @param balance Current balance for the interacting account.\n     * @param needed Minimum amount required to perform a transfer.\n     */\n    error ERC20InsufficientBalance(address sender, uint256 balance, uint256 needed);\n\n    /**\n     * @dev Indicates a failure with the token `sender`. Used in transfers.\n     * @param sender Address whose tokens are being transferred.\n     */\n    error ERC20InvalidSender(address sender);\n\n    /**\n     * @dev Indicates a failure with the token `receiver`. Used in transfers.\n     * @param receiver Address to which tokens are being transferred.\n     */\n    error ERC20InvalidReceiver(address receiver);\n\n    /**\n     * @dev Indicates a failure with the `spender`’s `allowance`. Used in transfers.\n     * @param spender Address that may be allowed to operate on tokens without being their owner.\n     * @param allowance Amount of tokens a `spender` is allowed to operate with.\n     * @param needed Minimum amount required to perform a transfer.\n     */\n    error ERC20InsufficientAllowance(address spender, uint256 allowance, uint256 needed);\n\n    /**\n     * @dev Indicates a failure with the `approver` of a token to be approved. Used in approvals.\n     * @param approver Address initiating an approval operation.\n     */\n    error ERC20InvalidApprover(address approver);\n\n    /**\n     * @dev Indicates a failure with the `spender` to be approved. Used in approvals.\n     * @param spender Address that may be allowed to operate on tokens without being their owner.\n     */\n    error ERC20InvalidSpender(address spender);\n}\n\n/**\n * @dev Standard ERC721 Errors\n * Interface of the https://eips.ethereum.org/EIPS/eip-6093[ERC-6093] custom errors for ERC721 tokens.\n */\ninterface IERC721Errors {\n    /**\n     * @dev Indicates that an address can't be an owner. For example, `address(0)` is a forbidden owner in EIP-20.\n     * Used in balance queries.\n     * @param owner Address of the current owner of a token.\n     */\n    error ERC721InvalidOwner(address owner);\n\n    /**\n     * @dev Indicates a `tokenId` whose `owner` is the zero address.\n     * @param tokenId Identifier number of a token.\n     */\n    error ERC721NonexistentToken(uint256 tokenId);\n\n    /**\n     * @dev Indicates an error related to the ownership over a particular token. Used in transfers.\n     * @param sender Address whose tokens are being transferred.\n     * @param tokenId Identifier number of a token.\n     * @param owner Address of the current owner of a token.\n     */\n    error ERC721IncorrectOwner(address sender, uint256 tokenId, address owner);\n\n    /**\n     * @dev Indicates a failure with the token `sender`. Used in transfers.\n     * @param sender Address whose tokens are being transferred.\n     */\n    error ERC721InvalidSender(address sender);\n\n    /**\n     * @dev Indicates a failure with the token `receiver`. Used in transfers.\n     * @param receiver Address to which tokens are being transferred.\n     */\n    error ERC721InvalidReceiver(address receiver);\n\n    /**\n     * @dev Indicates a failure with the `operator`’s approval. Used in transfers.\n     * @param operator Address that may be allowed to operate on tokens without being their owner.\n     * @param tokenId Identifier number of a token.\n     */\n    error ERC721InsufficientApproval(address operator, uint256 tokenId);\n\n    /**\n     * @dev Indicates a failure with the `approver` of a token to be approved. Used in approvals.\n     * @param approver Address initiating an approval operation.\n     */\n    error ERC721InvalidApprover(address approver);\n\n    /**\n     * @dev Indicates a failure with the `operator` to be approved. Used in approvals.\n     * @param operator Address that may be allowed to operate on tokens without being their owner.\n     */\n    error ERC721InvalidOperator(address operator);\n}\n\n/**\n * @dev Standard ERC1155 Errors\n * Interface of the https://eips.ethereum.org/EIPS/eip-6093[ERC-6093] custom errors for ERC1155 tokens.\n */\ninterface IERC1155Errors {\n    /**\n     * @dev Indicates an error related to the current `balance` of a `sender`. Used in transfers.\n     * @param sender Address whose tokens are being transferred.\n     * @param balance Current balance for the interacting account.\n     * @param needed Minimum amount required to perform a transfer.\n     * @param tokenId Identifier number of a token.\n     */\n    error ERC1155InsufficientBalance(address sender, uint256 balance, uint256 needed, uint256 tokenId);\n\n    /**\n     * @dev Indicates a failure with the token `sender`. Used in transfers.\n     * @param sender Address whose tokens are being transferred.\n     */\n    error ERC1155InvalidSender(address sender);\n\n    /**\n     * @dev Indicates a failure with the token `receiver`. Used in transfers.\n     * @param receiver Address to which tokens are being transferred.\n     */\n    error ERC1155InvalidReceiver(address receiver);\n\n    /**\n     * @dev Indicates a failure with the `operator`’s approval. Used in transfers.\n     * @param operator Address that may be allowed to operate on tokens without being their owner.\n     * @param owner Address of the current owner of a token.\n     */\n    error ERC1155MissingApprovalForAll(address operator, address owner);\n\n    /**\n     * @dev Indicates a failure with the `approver` of a token to be approved. Used in approvals.\n     * @param approver Address initiating an approval operation.\n     */\n    error ERC1155InvalidApprover(address approver);\n\n    /**\n     * @dev Indicates a failure with the `operator` to be approved. Used in approvals.\n     * @param operator Address that may be allowed to operate on tokens without being their owner.\n     */\n    error ERC1155InvalidOperator(address operator);\n\n    /**\n     * @dev Indicates an array length mismatch between ids and values in a safeBatchTransferFrom operation.\n     * Used in batch transfers.\n     * @param idsLength Length of the array of token identifiers\n     * @param valuesLength Length of the array of token amounts\n     */\n    error ERC1155InvalidArrayLength(uint256 idsLength, uint256 valuesLength);\n}\n"},"src/helpers/v2/UpgraderTimelockUpgradeable.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity ^0.8.20;\n\nimport {Initializable} from \"@openzeppelin/contracts-upgradeable/proxy/utils/Initializable.sol\";\n\n/**\n * @title UpgraderTimelockUpgradeable\n * @author Mainstreet Labs\n * @notice A simple timelock contract to delay upgrades performed by the Upgrader contract. It\n * allows scheduling an upgrade to a new implementation after a specified delay period.\n * @dev This contract is designed to work with UUPSUpgradeable contracts. It handles the address of new\n * implementation and the timestamp when the upgrade can be executed. It also has configurable delay.\n */\n\nabstract contract UpgraderTimelockUpgradeable is Initializable {\n    uint256 public constant DEFAULT_UPGRADE_DELAY = 1 days;\n\n    /// @custom:storage-location erc7201:mainstreet.UpgraderTimelockUpgradeable\n    struct UpgraderTimelockStorage {\n        uint256 upgradeDelay;\n        address pendingImplementation;\n        uint256 activationTime;\n    }\n\n    // keccak256(abi.encode(uint256(keccak256(\"mainstreet.UpgraderTimelockUpgradeable\")) - 1)) & ~bytes32(uint256(0xff))\n    bytes32 private constant UpgraderTimelockLocation =\n        0xa9f7ef5782100b08bddb9be7a16303ba138e26e6df1a3e56c7be0bac217aa800;\n\n    function _getUpgraderTimelockStorage() private pure returns (UpgraderTimelockStorage storage $) {\n        // slither-disable-next-line assembly\n        assembly {\n            $.slot := UpgraderTimelockLocation\n        }\n    }\n\n    event UpgradeScheduled(address indexed newImplementation, uint256 availableAt);\n    event UpgradeCanceled(address indexed canceledImplementation);\n    event UpgradeDelayUpdated(uint256 oldDelay, uint256 newDelay);\n\n    error NullAddress();\n    error DelayNotPassed();\n    error ImplementationMismatch();\n    error MinDelayNotMet();\n\n    // ----------- initializer -----------\n    function __UpgradeTimelock_init() internal onlyInitializing {\n        UpgraderTimelockStorage storage $ = _getUpgraderTimelockStorage();\n        $.upgradeDelay = 1 days;\n    }\n\n    // ----------- timelock owner hook -----------\n    /// @notice Must be overridden by inheritor to restrict scheduling/canceling.\n    modifier onlyTimelockOwner() virtual {\n        _;\n    }\n\n    /**\n     * @notice Sets the new upgrade delay.\n     * @param newDelay The new delay in seconds. Must be at least 1 hour\n     */\n    function setUpgradeDelay(uint256 newDelay) external onlyTimelockOwner {\n        // can't be less than 1 hour\n        if (newDelay < 3600) revert MinDelayNotMet();\n\n        uint256 _upgradeDelay = upgradeDelay();\n        emit UpgradeDelayUpdated(_upgradeDelay, newDelay);\n        UpgraderTimelockStorage storage $ = _getUpgraderTimelockStorage();\n        $.upgradeDelay = newDelay;\n    }\n\n    /**\n     * @notice Schedules an upgrade to a new implementation.\n     * @param newImpl The address of the new implementation contract.\n     * @dev The upgrade can be executed after the delay period has passed.\n     */\n    function scheduleUpgrade(address newImpl) external onlyTimelockOwner {\n        if (newImpl == address(0)) revert NullAddress();\n\n        UpgraderTimelockStorage storage $ = _getUpgraderTimelockStorage();\n        $.pendingImplementation = newImpl;\n        uint256 _upgradeDelay = $.upgradeDelay == 0 ? DEFAULT_UPGRADE_DELAY : $.upgradeDelay;\n        $.activationTime = block.timestamp + _upgradeDelay;\n        emit UpgradeScheduled(newImpl, $.activationTime);\n    }\n\n    /**\n     * @notice Cancels a scheduled upgrade.\n     * @dev This function clears the pending implementation and activation time.\n     */\n    function cancelScheduledUpgrade() external onlyTimelockOwner {\n        UpgraderTimelockStorage storage $ = _getUpgraderTimelockStorage();\n        emit UpgradeCanceled($.pendingImplementation);\n        $.pendingImplementation = address(0);\n        $.activationTime = 0;\n    }\n\n    /**\n     * @notice Checks if the upgrade can be executed.\n     * @param newImpl The address of the new implementation contract.\n     * @dev Reverts if the new implementation does not match the pending one or if the delay has not passed.\n     */\n    function _checkTimelock(address newImpl) internal {\n        UpgraderTimelockStorage storage $ = _getUpgraderTimelockStorage();\n        if (newImpl != $.pendingImplementation) revert ImplementationMismatch();\n        if (block.timestamp < $.activationTime) revert DelayNotPassed();\n        // clear to prevent replay\n        $.pendingImplementation = address(0);\n        $.activationTime = 0;\n    }\n\n    /// ----------- getters -----------\n\n    function upgradeDelay() public view returns (uint256) {\n        UpgraderTimelockStorage storage $ = _getUpgraderTimelockStorage();\n        return $.upgradeDelay;\n    }\n\n    function pendingImplementation() public view returns (address) {\n        UpgraderTimelockStorage storage $ = _getUpgraderTimelockStorage();\n        return $.pendingImplementation;\n    }\n\n    function activationTime() public view returns (uint256) {\n        UpgraderTimelockStorage storage $ = _getUpgraderTimelockStorage();\n        return $.activationTime;\n    }\n}\n"},"lib/openzeppelin-contracts-upgradeable/lib/openzeppelin-contracts/contracts/interfaces/draft-IERC1822.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.0.0) (interfaces/draft-IERC1822.sol)\n\npragma solidity ^0.8.20;\n\n/**\n * @dev ERC1822: Universal Upgradeable Proxy Standard (UUPS) documents a method for upgradeability through a simplified\n * proxy whose upgrades are fully controlled by the current implementation.\n */\ninterface IERC1822Proxiable {\n    /**\n     * @dev Returns the storage slot that the proxiable contract assumes is being used to store the implementation\n     * address.\n     *\n     * IMPORTANT: A proxy pointing at a proxiable contract should not be considered proxiable itself, because this risks\n     * bricking a proxy that upgrades to it, by delegating to itself until out of gas. Thus it is critical that this\n     * function revert if invoked through a proxy.\n     */\n    function proxiableUUID() external view returns (bytes32);\n}\n"},"lib/openzeppelin-contracts-upgradeable/lib/openzeppelin-contracts/contracts/proxy/ERC1967/ERC1967Utils.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.0.0) (proxy/ERC1967/ERC1967Utils.sol)\n\npragma solidity ^0.8.20;\n\nimport {IBeacon} from \"../beacon/IBeacon.sol\";\nimport {Address} from \"../../utils/Address.sol\";\nimport {StorageSlot} from \"../../utils/StorageSlot.sol\";\n\n/**\n * @dev This abstract contract provides getters and event emitting update functions for\n * https://eips.ethereum.org/EIPS/eip-1967[EIP1967] slots.\n */\nlibrary ERC1967Utils {\n    // We re-declare ERC-1967 events here because they can't be used directly from IERC1967.\n    // This will be fixed in Solidity 0.8.21. At that point we should remove these events.\n    /**\n     * @dev Emitted when the implementation is upgraded.\n     */\n    event Upgraded(address indexed implementation);\n\n    /**\n     * @dev Emitted when the admin account has changed.\n     */\n    event AdminChanged(address previousAdmin, address newAdmin);\n\n    /**\n     * @dev Emitted when the beacon is changed.\n     */\n    event BeaconUpgraded(address indexed beacon);\n\n    /**\n     * @dev Storage slot with the address of the current implementation.\n     * This is the keccak-256 hash of \"eip1967.proxy.implementation\" subtracted by 1.\n     */\n    // solhint-disable-next-line private-vars-leading-underscore\n    bytes32 internal constant IMPLEMENTATION_SLOT = 0x360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc;\n\n    /**\n     * @dev The `implementation` of the proxy is invalid.\n     */\n    error ERC1967InvalidImplementation(address implementation);\n\n    /**\n     * @dev The `admin` of the proxy is invalid.\n     */\n    error ERC1967InvalidAdmin(address admin);\n\n    /**\n     * @dev The `beacon` of the proxy is invalid.\n     */\n    error ERC1967InvalidBeacon(address beacon);\n\n    /**\n     * @dev An upgrade function sees `msg.value > 0` that may be lost.\n     */\n    error ERC1967NonPayable();\n\n    /**\n     * @dev Returns the current implementation address.\n     */\n    function getImplementation() internal view returns (address) {\n        return StorageSlot.getAddressSlot(IMPLEMENTATION_SLOT).value;\n    }\n\n    /**\n     * @dev Stores a new address in the EIP1967 implementation slot.\n     */\n    function _setImplementation(address newImplementation) private {\n        if (newImplementation.code.length == 0) {\n            revert ERC1967InvalidImplementation(newImplementation);\n        }\n        StorageSlot.getAddressSlot(IMPLEMENTATION_SLOT).value = newImplementation;\n    }\n\n    /**\n     * @dev Performs implementation upgrade with additional setup call if data is nonempty.\n     * This function is payable only if the setup call is performed, otherwise `msg.value` is rejected\n     * to avoid stuck value in the contract.\n     *\n     * Emits an {IERC1967-Upgraded} event.\n     */\n    function upgradeToAndCall(address newImplementation, bytes memory data) internal {\n        _setImplementation(newImplementation);\n        emit Upgraded(newImplementation);\n\n        if (data.length > 0) {\n            Address.functionDelegateCall(newImplementation, data);\n        } else {\n            _checkNonPayable();\n        }\n    }\n\n    /**\n     * @dev Storage slot with the admin of the contract.\n     * This is the keccak-256 hash of \"eip1967.proxy.admin\" subtracted by 1.\n     */\n    // solhint-disable-next-line private-vars-leading-underscore\n    bytes32 internal constant ADMIN_SLOT = 0xb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d6103;\n\n    /**\n     * @dev Returns the current admin.\n     *\n     * TIP: To get this value clients can read directly from the storage slot shown below (specified by EIP1967) using\n     * the https://eth.wiki/json-rpc/API#eth_getstorageat[`eth_getStorageAt`] RPC call.\n     * `0xb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d6103`\n     */\n    function getAdmin() internal view returns (address) {\n        return StorageSlot.getAddressSlot(ADMIN_SLOT).value;\n    }\n\n    /**\n     * @dev Stores a new address in the EIP1967 admin slot.\n     */\n    function _setAdmin(address newAdmin) private {\n        if (newAdmin == address(0)) {\n            revert ERC1967InvalidAdmin(address(0));\n        }\n        StorageSlot.getAddressSlot(ADMIN_SLOT).value = newAdmin;\n    }\n\n    /**\n     * @dev Changes the admin of the proxy.\n     *\n     * Emits an {IERC1967-AdminChanged} event.\n     */\n    function changeAdmin(address newAdmin) internal {\n        emit AdminChanged(getAdmin(), newAdmin);\n        _setAdmin(newAdmin);\n    }\n\n    /**\n     * @dev The storage slot of the UpgradeableBeacon contract which defines the implementation for this proxy.\n     * This is the keccak-256 hash of \"eip1967.proxy.beacon\" subtracted by 1.\n     */\n    // solhint-disable-next-line private-vars-leading-underscore\n    bytes32 internal constant BEACON_SLOT = 0xa3f0ad74e5423aebfd80d3ef4346578335a9a72aeaee59ff6cb3582b35133d50;\n\n    /**\n     * @dev Returns the current beacon.\n     */\n    function getBeacon() internal view returns (address) {\n        return StorageSlot.getAddressSlot(BEACON_SLOT).value;\n    }\n\n    /**\n     * @dev Stores a new beacon in the EIP1967 beacon slot.\n     */\n    function _setBeacon(address newBeacon) private {\n        if (newBeacon.code.length == 0) {\n            revert ERC1967InvalidBeacon(newBeacon);\n        }\n\n        StorageSlot.getAddressSlot(BEACON_SLOT).value = newBeacon;\n\n        address beaconImplementation = IBeacon(newBeacon).implementation();\n        if (beaconImplementation.code.length == 0) {\n            revert ERC1967InvalidImplementation(beaconImplementation);\n        }\n    }\n\n    /**\n     * @dev Change the beacon and trigger a setup call if data is nonempty.\n     * This function is payable only if the setup call is performed, otherwise `msg.value` is rejected\n     * to avoid stuck value in the contract.\n     *\n     * Emits an {IERC1967-BeaconUpgraded} event.\n     *\n     * CAUTION: Invoking this function has no effect on an instance of {BeaconProxy} since v5, since\n     * it uses an immutable beacon without looking at the value of the ERC-1967 beacon slot for\n     * efficiency.\n     */\n    function upgradeBeaconToAndCall(address newBeacon, bytes memory data) internal {\n        _setBeacon(newBeacon);\n        emit BeaconUpgraded(newBeacon);\n\n        if (data.length > 0) {\n            Address.functionDelegateCall(IBeacon(newBeacon).implementation(), data);\n        } else {\n            _checkNonPayable();\n        }\n    }\n\n    /**\n     * @dev Reverts if `msg.value` is not zero. It can be used to avoid `msg.value` stuck in the contract\n     * if an upgrade doesn't perform an initialization call.\n     */\n    function _checkNonPayable() private {\n        if (msg.value > 0) {\n            revert ERC1967NonPayable();\n        }\n    }\n}\n"},"lib/openzeppelin-contracts-upgradeable/lib/openzeppelin-contracts/contracts/token/ERC20/extensions/IERC20Metadata.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.0.0) (token/ERC20/extensions/IERC20Metadata.sol)\n\npragma solidity ^0.8.20;\n\nimport {IERC20} from \"../IERC20.sol\";\n\n/**\n * @dev Interface for the optional metadata functions from the ERC20 standard.\n */\ninterface IERC20Metadata is IERC20 {\n    /**\n     * @dev Returns the name of the token.\n     */\n    function name() external view returns (string memory);\n\n    /**\n     * @dev Returns the symbol of the token.\n     */\n    function symbol() external view returns (string memory);\n\n    /**\n     * @dev Returns the decimals places of the token.\n     */\n    function decimals() external view returns (uint8);\n}\n"},"lib/openzeppelin-contracts-upgradeable/contracts/token/ERC20/ERC20Upgradeable.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.0.0) (token/ERC20/ERC20.sol)\n\npragma solidity ^0.8.20;\n\nimport {IERC20} from \"@openzeppelin/contracts/token/ERC20/IERC20.sol\";\nimport {IERC20Metadata} from \"@openzeppelin/contracts/token/ERC20/extensions/IERC20Metadata.sol\";\nimport {ContextUpgradeable} from \"../../utils/ContextUpgradeable.sol\";\nimport {IERC20Errors} from \"@openzeppelin/contracts/interfaces/draft-IERC6093.sol\";\nimport {Initializable} from \"../../proxy/utils/Initializable.sol\";\n\n/**\n * @dev Implementation of the {IERC20} interface.\n *\n * This implementation is agnostic to the way tokens are created. This means\n * that a supply mechanism has to be added in a derived contract using {_mint}.\n *\n * TIP: For a detailed writeup see our guide\n * https://forum.openzeppelin.com/t/how-to-implement-erc20-supply-mechanisms/226[How\n * to implement supply mechanisms].\n *\n * The default value of {decimals} is 18. To change this, you should override\n * this function so it returns a different value.\n *\n * We have followed general OpenZeppelin Contracts guidelines: functions revert\n * instead returning `false` on failure. This behavior is nonetheless\n * conventional and does not conflict with the expectations of ERC20\n * applications.\n *\n * Additionally, an {Approval} event is emitted on calls to {transferFrom}.\n * This allows applications to reconstruct the allowance for all accounts just\n * by listening to said events. Other implementations of the EIP may not emit\n * these events, as it isn't required by the specification.\n */\nabstract contract ERC20Upgradeable is Initializable, ContextUpgradeable, IERC20, IERC20Metadata, IERC20Errors {\n    /// @custom:storage-location erc7201:openzeppelin.storage.ERC20\n    struct ERC20Storage {\n        mapping(address account => uint256) _balances;\n\n        mapping(address account => mapping(address spender => uint256)) _allowances;\n\n        uint256 _totalSupply;\n\n        string _name;\n        string _symbol;\n    }\n\n    // keccak256(abi.encode(uint256(keccak256(\"openzeppelin.storage.ERC20\")) - 1)) & ~bytes32(uint256(0xff))\n    bytes32 private constant ERC20StorageLocation = 0x52c63247e1f47db19d5ce0460030c497f067ca4cebf71ba98eeadabe20bace00;\n\n    function _getERC20Storage() private pure returns (ERC20Storage storage $) {\n        assembly {\n            $.slot := ERC20StorageLocation\n        }\n    }\n\n    /**\n     * @dev Sets the values for {name} and {symbol}.\n     *\n     * All two of these values are immutable: they can only be set once during\n     * construction.\n     */\n    function __ERC20_init(string memory name_, string memory symbol_) internal onlyInitializing {\n        __ERC20_init_unchained(name_, symbol_);\n    }\n\n    function __ERC20_init_unchained(string memory name_, string memory symbol_) internal onlyInitializing {\n        ERC20Storage storage $ = _getERC20Storage();\n        $._name = name_;\n        $._symbol = symbol_;\n    }\n\n    /**\n     * @dev Returns the name of the token.\n     */\n    function name() public view virtual returns (string memory) {\n        ERC20Storage storage $ = _getERC20Storage();\n        return $._name;\n    }\n\n    /**\n     * @dev Returns the symbol of the token, usually a shorter version of the\n     * name.\n     */\n    function symbol() public view virtual returns (string memory) {\n        ERC20Storage storage $ = _getERC20Storage();\n        return $._symbol;\n    }\n\n    /**\n     * @dev Returns the number of decimals used to get its user representation.\n     * For example, if `decimals` equals `2`, a balance of `505` tokens should\n     * be displayed to a user as `5.05` (`505 / 10 ** 2`).\n     *\n     * Tokens usually opt for a value of 18, imitating the relationship between\n     * Ether and Wei. This is the default value returned by this function, unless\n     * it's overridden.\n     *\n     * NOTE: This information is only used for _display_ purposes: it in\n     * no way affects any of the arithmetic of the contract, including\n     * {IERC20-balanceOf} and {IERC20-transfer}.\n     */\n    function decimals() public view virtual returns (uint8) {\n        return 18;\n    }\n\n    /**\n     * @dev See {IERC20-totalSupply}.\n     */\n    function totalSupply() public view virtual returns (uint256) {\n        ERC20Storage storage $ = _getERC20Storage();\n        return $._totalSupply;\n    }\n\n    /**\n     * @dev See {IERC20-balanceOf}.\n     */\n    function balanceOf(address account) public view virtual returns (uint256) {\n        ERC20Storage storage $ = _getERC20Storage();\n        return $._balances[account];\n    }\n\n    /**\n     * @dev See {IERC20-transfer}.\n     *\n     * Requirements:\n     *\n     * - `to` cannot be the zero address.\n     * - the caller must have a balance of at least `value`.\n     */\n    function transfer(address to, uint256 value) public virtual returns (bool) {\n        address owner = _msgSender();\n        _transfer(owner, to, value);\n        return true;\n    }\n\n    /**\n     * @dev See {IERC20-allowance}.\n     */\n    function allowance(address owner, address spender) public view virtual returns (uint256) {\n        ERC20Storage storage $ = _getERC20Storage();\n        return $._allowances[owner][spender];\n    }\n\n    /**\n     * @dev See {IERC20-approve}.\n     *\n     * NOTE: If `value` is the maximum `uint256`, the allowance is not updated on\n     * `transferFrom`. This is semantically equivalent to an infinite approval.\n     *\n     * Requirements:\n     *\n     * - `spender` cannot be the zero address.\n     */\n    function approve(address spender, uint256 value) public virtual returns (bool) {\n        address owner = _msgSender();\n        _approve(owner, spender, value);\n        return true;\n    }\n\n    /**\n     * @dev See {IERC20-transferFrom}.\n     *\n     * Emits an {Approval} event indicating the updated allowance. This is not\n     * required by the EIP. See the note at the beginning of {ERC20}.\n     *\n     * NOTE: Does not update the allowance if the current allowance\n     * is the maximum `uint256`.\n     *\n     * Requirements:\n     *\n     * - `from` and `to` cannot be the zero address.\n     * - `from` must have a balance of at least `value`.\n     * - the caller must have allowance for ``from``'s tokens of at least\n     * `value`.\n     */\n    function transferFrom(address from, address to, uint256 value) public virtual returns (bool) {\n        address spender = _msgSender();\n        _spendAllowance(from, spender, value);\n        _transfer(from, to, value);\n        return true;\n    }\n\n    /**\n     * @dev Moves a `value` amount of tokens from `from` to `to`.\n     *\n     * This internal function is equivalent to {transfer}, and can be used to\n     * e.g. implement automatic token fees, slashing mechanisms, etc.\n     *\n     * Emits a {Transfer} event.\n     *\n     * NOTE: This function is not virtual, {_update} should be overridden instead.\n     */\n    function _transfer(address from, address to, uint256 value) internal {\n        if (from == address(0)) {\n            revert ERC20InvalidSender(address(0));\n        }\n        if (to == address(0)) {\n            revert ERC20InvalidReceiver(address(0));\n        }\n        _update(from, to, value);\n    }\n\n    /**\n     * @dev Transfers a `value` amount of tokens from `from` to `to`, or alternatively mints (or burns) if `from`\n     * (or `to`) is the zero address. All customizations to transfers, mints, and burns should be done by overriding\n     * this function.\n     *\n     * Emits a {Transfer} event.\n     */\n    function _update(address from, address to, uint256 value) internal virtual {\n        ERC20Storage storage $ = _getERC20Storage();\n        if (from == address(0)) {\n            // Overflow check required: The rest of the code assumes that totalSupply never overflows\n            $._totalSupply += value;\n        } else {\n            uint256 fromBalance = $._balances[from];\n            if (fromBalance < value) {\n                revert ERC20InsufficientBalance(from, fromBalance, value);\n            }\n            unchecked {\n                // Overflow not possible: value <= fromBalance <= totalSupply.\n                $._balances[from] = fromBalance - value;\n            }\n        }\n\n        if (to == address(0)) {\n            unchecked {\n                // Overflow not possible: value <= totalSupply or value <= fromBalance <= totalSupply.\n                $._totalSupply -= value;\n            }\n        } else {\n            unchecked {\n                // Overflow not possible: balance + value is at most totalSupply, which we know fits into a uint256.\n                $._balances[to] += value;\n            }\n        }\n\n        emit Transfer(from, to, value);\n    }\n\n    /**\n     * @dev Creates a `value` amount of tokens and assigns them to `account`, by transferring it from address(0).\n     * Relies on the `_update` mechanism\n     *\n     * Emits a {Transfer} event with `from` set to the zero address.\n     *\n     * NOTE: This function is not virtual, {_update} should be overridden instead.\n     */\n    function _mint(address account, uint256 value) internal {\n        if (account == address(0)) {\n            revert ERC20InvalidReceiver(address(0));\n        }\n        _update(address(0), account, value);\n    }\n\n    /**\n     * @dev Destroys a `value` amount of tokens from `account`, lowering the total supply.\n     * Relies on the `_update` mechanism.\n     *\n     * Emits a {Transfer} event with `to` set to the zero address.\n     *\n     * NOTE: This function is not virtual, {_update} should be overridden instead\n     */\n    function _burn(address account, uint256 value) internal {\n        if (account == address(0)) {\n            revert ERC20InvalidSender(address(0));\n        }\n        _update(account, address(0), value);\n    }\n\n    /**\n     * @dev Sets `value` as the allowance of `spender` over the `owner` s tokens.\n     *\n     * This internal function is equivalent to `approve`, and can be used to\n     * e.g. set automatic allowances for certain subsystems, etc.\n     *\n     * Emits an {Approval} event.\n     *\n     * Requirements:\n     *\n     * - `owner` cannot be the zero address.\n     * - `spender` cannot be the zero address.\n     *\n     * Overrides to this logic should be done to the variant with an additional `bool emitEvent` argument.\n     */\n    function _approve(address owner, address spender, uint256 value) internal {\n        _approve(owner, spender, value, true);\n    }\n\n    /**\n     * @dev Variant of {_approve} with an optional flag to enable or disable the {Approval} event.\n     *\n     * By default (when calling {_approve}) the flag is set to true. On the other hand, approval changes made by\n     * `_spendAllowance` during the `transferFrom` operation set the flag to false. This saves gas by not emitting any\n     * `Approval` event during `transferFrom` operations.\n     *\n     * Anyone who wishes to continue emitting `Approval` events on the`transferFrom` operation can force the flag to\n     * true using the following override:\n     * ```\n     * function _approve(address owner, address spender, uint256 value, bool) internal virtual override {\n     *     super._approve(owner, spender, value, true);\n     * }\n     * ```\n     *\n     * Requirements are the same as {_approve}.\n     */\n    function _approve(address owner, address spender, uint256 value, bool emitEvent) internal virtual {\n        ERC20Storage storage $ = _getERC20Storage();\n        if (owner == address(0)) {\n            revert ERC20InvalidApprover(address(0));\n        }\n        if (spender == address(0)) {\n            revert ERC20InvalidSpender(address(0));\n        }\n        $._allowances[owner][spender] = value;\n        if (emitEvent) {\n            emit Approval(owner, spender, value);\n        }\n    }\n\n    /**\n     * @dev Updates `owner` s allowance for `spender` based on spent `value`.\n     *\n     * Does not update the allowance value in case of infinite allowance.\n     * Revert if not enough allowance is available.\n     *\n     * Does not emit an {Approval} event.\n     */\n    function _spendAllowance(address owner, address spender, uint256 value) internal virtual {\n        uint256 currentAllowance = allowance(owner, spender);\n        if (currentAllowance != type(uint256).max) {\n            if (currentAllowance < value) {\n                revert ERC20InsufficientAllowance(spender, currentAllowance, value);\n            }\n            unchecked {\n                _approve(owner, spender, currentAllowance - value, false);\n            }\n        }\n    }\n}\n"},"lib/openzeppelin-contracts-upgradeable/lib/openzeppelin-contracts/contracts/interfaces/IERC4626.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.0.0) (interfaces/IERC4626.sol)\n\npragma solidity ^0.8.20;\n\nimport {IERC20} from \"../token/ERC20/IERC20.sol\";\nimport {IERC20Metadata} from \"../token/ERC20/extensions/IERC20Metadata.sol\";\n\n/**\n * @dev Interface of the ERC4626 \"Tokenized Vault Standard\", as defined in\n * https://eips.ethereum.org/EIPS/eip-4626[ERC-4626].\n */\ninterface IERC4626 is IERC20, IERC20Metadata {\n    event Deposit(address indexed sender, address indexed owner, uint256 assets, uint256 shares);\n\n    event Withdraw(\n        address indexed sender,\n        address indexed receiver,\n        address indexed owner,\n        uint256 assets,\n        uint256 shares\n    );\n\n    /**\n     * @dev Returns the address of the underlying token used for the Vault for accounting, depositing, and withdrawing.\n     *\n     * - MUST be an ERC-20 token contract.\n     * - MUST NOT revert.\n     */\n    function asset() external view returns (address assetTokenAddress);\n\n    /**\n     * @dev Returns the total amount of the underlying asset that is “managed” by Vault.\n     *\n     * - SHOULD include any compounding that occurs from yield.\n     * - MUST be inclusive of any fees that are charged against assets in the Vault.\n     * - MUST NOT revert.\n     */\n    function totalAssets() external view returns (uint256 totalManagedAssets);\n\n    /**\n     * @dev Returns the amount of shares that the Vault would exchange for the amount of assets provided, in an ideal\n     * scenario where all the conditions are met.\n     *\n     * - MUST NOT be inclusive of any fees that are charged against assets in the Vault.\n     * - MUST NOT show any variations depending on the caller.\n     * - MUST NOT reflect slippage or other on-chain conditions, when performing the actual exchange.\n     * - MUST NOT revert.\n     *\n     * NOTE: This calculation MAY NOT reflect the “per-user” price-per-share, and instead should reflect the\n     * “average-user’s” price-per-share, meaning what the average user should expect to see when exchanging to and\n     * from.\n     */\n    function convertToShares(uint256 assets) external view returns (uint256 shares);\n\n    /**\n     * @dev Returns the amount of assets that the Vault would exchange for the amount of shares provided, in an ideal\n     * scenario where all the conditions are met.\n     *\n     * - MUST NOT be inclusive of any fees that are charged against assets in the Vault.\n     * - MUST NOT show any variations depending on the caller.\n     * - MUST NOT reflect slippage or other on-chain conditions, when performing the actual exchange.\n     * - MUST NOT revert.\n     *\n     * NOTE: This calculation MAY NOT reflect the “per-user” price-per-share, and instead should reflect the\n     * “average-user’s” price-per-share, meaning what the average user should expect to see when exchanging to and\n     * from.\n     */\n    function convertToAssets(uint256 shares) external view returns (uint256 assets);\n\n    /**\n     * @dev Returns the maximum amount of the underlying asset that can be deposited into the Vault for the receiver,\n     * through a deposit call.\n     *\n     * - MUST return a limited value if receiver is subject to some deposit limit.\n     * - MUST return 2 ** 256 - 1 if there is no limit on the maximum amount of assets that may be deposited.\n     * - MUST NOT revert.\n     */\n    function maxDeposit(address receiver) external view returns (uint256 maxAssets);\n\n    /**\n     * @dev Allows an on-chain or off-chain user to simulate the effects of their deposit at the current block, given\n     * current on-chain conditions.\n     *\n     * - MUST return as close to and no more than the exact amount of Vault shares that would be minted in a deposit\n     *   call in the same transaction. I.e. deposit should return the same or more shares as previewDeposit if called\n     *   in the same transaction.\n     * - MUST NOT account for deposit limits like those returned from maxDeposit and should always act as though the\n     *   deposit would be accepted, regardless if the user has enough tokens approved, etc.\n     * - MUST be inclusive of deposit fees. Integrators should be aware of the existence of deposit fees.\n     * - MUST NOT revert.\n     *\n     * NOTE: any unfavorable discrepancy between convertToShares and previewDeposit SHOULD be considered slippage in\n     * share price or some other type of condition, meaning the depositor will lose assets by depositing.\n     */\n    function previewDeposit(uint256 assets) external view returns (uint256 shares);\n\n    /**\n     * @dev Mints shares Vault shares to receiver by depositing exactly amount of underlying tokens.\n     *\n     * - MUST emit the Deposit event.\n     * - MAY support an additional flow in which the underlying tokens are owned by the Vault contract before the\n     *   deposit execution, and are accounted for during deposit.\n     * - MUST revert if all of assets cannot be deposited (due to deposit limit being reached, slippage, the user not\n     *   approving enough underlying tokens to the Vault contract, etc).\n     *\n     * NOTE: most implementations will require pre-approval of the Vault with the Vault’s underlying asset token.\n     */\n    function deposit(uint256 assets, address receiver) external returns (uint256 shares);\n\n    /**\n     * @dev Returns the maximum amount of the Vault shares that can be minted for the receiver, through a mint call.\n     * - MUST return a limited value if receiver is subject to some mint limit.\n     * - MUST return 2 ** 256 - 1 if there is no limit on the maximum amount of shares that may be minted.\n     * - MUST NOT revert.\n     */\n    function maxMint(address receiver) external view returns (uint256 maxShares);\n\n    /**\n     * @dev Allows an on-chain or off-chain user to simulate the effects of their mint at the current block, given\n     * current on-chain conditions.\n     *\n     * - MUST return as close to and no fewer than the exact amount of assets that would be deposited in a mint call\n     *   in the same transaction. I.e. mint should return the same or fewer assets as previewMint if called in the\n     *   same transaction.\n     * - MUST NOT account for mint limits like those returned from maxMint and should always act as though the mint\n     *   would be accepted, regardless if the user has enough tokens approved, etc.\n     * - MUST be inclusive of deposit fees. Integrators should be aware of the existence of deposit fees.\n     * - MUST NOT revert.\n     *\n     * NOTE: any unfavorable discrepancy between convertToAssets and previewMint SHOULD be considered slippage in\n     * share price or some other type of condition, meaning the depositor will lose assets by minting.\n     */\n    function previewMint(uint256 shares) external view returns (uint256 assets);\n\n    /**\n     * @dev Mints exactly shares Vault shares to receiver by depositing amount of underlying tokens.\n     *\n     * - MUST emit the Deposit event.\n     * - MAY support an additional flow in which the underlying tokens are owned by the Vault contract before the mint\n     *   execution, and are accounted for during mint.\n     * - MUST revert if all of shares cannot be minted (due to deposit limit being reached, slippage, the user not\n     *   approving enough underlying tokens to the Vault contract, etc).\n     *\n     * NOTE: most implementations will require pre-approval of the Vault with the Vault’s underlying asset token.\n     */\n    function mint(uint256 shares, address receiver) external returns (uint256 assets);\n\n    /**\n     * @dev Returns the maximum amount of the underlying asset that can be withdrawn from the owner balance in the\n     * Vault, through a withdraw call.\n     *\n     * - MUST return a limited value if owner is subject to some withdrawal limit or timelock.\n     * - MUST NOT revert.\n     */\n    function maxWithdraw(address owner) external view returns (uint256 maxAssets);\n\n    /**\n     * @dev Allows an on-chain or off-chain user to simulate the effects of their withdrawal at the current block,\n     * given current on-chain conditions.\n     *\n     * - MUST return as close to and no fewer than the exact amount of Vault shares that would be burned in a withdraw\n     *   call in the same transaction. I.e. withdraw should return the same or fewer shares as previewWithdraw if\n     *   called\n     *   in the same transaction.\n     * - MUST NOT account for withdrawal limits like those returned from maxWithdraw and should always act as though\n     *   the withdrawal would be accepted, regardless if the user has enough shares, etc.\n     * - MUST be inclusive of withdrawal fees. Integrators should be aware of the existence of withdrawal fees.\n     * - MUST NOT revert.\n     *\n     * NOTE: any unfavorable discrepancy between convertToShares and previewWithdraw SHOULD be considered slippage in\n     * share price or some other type of condition, meaning the depositor will lose assets by depositing.\n     */\n    function previewWithdraw(uint256 assets) external view returns (uint256 shares);\n\n    /**\n     * @dev Burns shares from owner and sends exactly assets of underlying tokens to receiver.\n     *\n     * - MUST emit the Withdraw event.\n     * - MAY support an additional flow in which the underlying tokens are owned by the Vault contract before the\n     *   withdraw execution, and are accounted for during withdraw.\n     * - MUST revert if all of assets cannot be withdrawn (due to withdrawal limit being reached, slippage, the owner\n     *   not having enough shares, etc).\n     *\n     * Note that some implementations will require pre-requesting to the Vault before a withdrawal may be performed.\n     * Those methods should be performed separately.\n     */\n    function withdraw(uint256 assets, address receiver, address owner) external returns (uint256 shares);\n\n    /**\n     * @dev Returns the maximum amount of Vault shares that can be redeemed from the owner balance in the Vault,\n     * through a redeem call.\n     *\n     * - MUST return a limited value if owner is subject to some withdrawal limit or timelock.\n     * - MUST return balanceOf(owner) if owner is not subject to any withdrawal limit or timelock.\n     * - MUST NOT revert.\n     */\n    function maxRedeem(address owner) external view returns (uint256 maxShares);\n\n    /**\n     * @dev Allows an on-chain or off-chain user to simulate the effects of their redeemption at the current block,\n     * given current on-chain conditions.\n     *\n     * - MUST return as close to and no more than the exact amount of assets that would be withdrawn in a redeem call\n     *   in the same transaction. I.e. redeem should return the same or more assets as previewRedeem if called in the\n     *   same transaction.\n     * - MUST NOT account for redemption limits like those returned from maxRedeem and should always act as though the\n     *   redemption would be accepted, regardless if the user has enough shares, etc.\n     * - MUST be inclusive of withdrawal fees. Integrators should be aware of the existence of withdrawal fees.\n     * - MUST NOT revert.\n     *\n     * NOTE: any unfavorable discrepancy between convertToAssets and previewRedeem SHOULD be considered slippage in\n     * share price or some other type of condition, meaning the depositor will lose assets by redeeming.\n     */\n    function previewRedeem(uint256 shares) external view returns (uint256 assets);\n\n    /**\n     * @dev Burns exactly shares from owner and sends assets of underlying tokens to receiver.\n     *\n     * - MUST emit the Withdraw event.\n     * - MAY support an additional flow in which the underlying tokens are owned by the Vault contract before the\n     *   redeem execution, and are accounted for during redeem.\n     * - MUST revert if all of shares cannot be redeemed (due to withdrawal limit being reached, slippage, the owner\n     *   not having enough shares, etc).\n     *\n     * NOTE: some implementations will require pre-requesting to the Vault before a withdrawal may be performed.\n     * Those methods should be performed separately.\n     */\n    function redeem(uint256 shares, address receiver, address owner) external returns (uint256 assets);\n}\n"},"lib/openzeppelin-contracts-upgradeable/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\n/**\n * @dev Standard math utilities missing in the Solidity language.\n */\nlibrary Math {\n    /**\n     * @dev Muldiv operation overflow.\n     */\n    error MathOverflowedMulDiv();\n\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 overflow flag.\n     */\n    function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) {\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 overflow flag.\n     */\n    function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) {\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 overflow flag.\n     */\n    function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) {\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 division by zero flag.\n     */\n    function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) {\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 division by zero flag.\n     */\n    function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) {\n        unchecked {\n            if (b == 0) return (false, 0);\n            return (true, a % b);\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 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 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            return a / b;\n        }\n\n        // (a + b - 1) / b can overflow on addition, so we distribute.\n        return a == 0 ? 0 : (a - 1) / b + 1;\n    }\n\n    /**\n     * @notice Calculates floor(x * y / denominator) with full precision. Throws if result overflows a uint256 or\n     * denominator == 0.\n     * @dev 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^256 and mod 2^256 - 1, then use\n            // use the Chinese Remainder Theorem to reconstruct the 512 bit result. The result is stored in two 256\n            // variables such that product = prod1 * 2^256 + 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^256. Also prevents denominator == 0.\n            if (denominator <= prod1) {\n                revert MathOverflowedMulDiv();\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^256 / 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^256. Now that denominator is an odd number, it has an inverse modulo 2^256 such\n            // that denominator * inv = 1 mod 2^256. Compute the inverse by starting with a seed that is correct for\n            // four bits. That is, denominator * inv = 1 mod 2^4.\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^8\n            inverse *= 2 - denominator * inverse; // inverse mod 2^16\n            inverse *= 2 - denominator * inverse; // inverse mod 2^32\n            inverse *= 2 - denominator * inverse; // inverse mod 2^64\n            inverse *= 2 - denominator * inverse; // inverse mod 2^128\n            inverse *= 2 - denominator * inverse; // inverse mod 2^256\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^256. Since the preconditions guarantee that the outcome is\n            // less than 2^256, 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     * @notice 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        uint256 result = mulDiv(x, y, denominator);\n        if (unsignedRoundsUp(rounding) && mulmod(x, y, denominator) > 0) {\n            result += 1;\n        }\n        return result;\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     * Inspired by Henry S. Warren, Jr.'s \"Hacker's Delight\" (Chapter 11).\n     */\n    function sqrt(uint256 a) internal pure returns (uint256) {\n        if (a == 0) {\n            return 0;\n        }\n\n        // For our first guess, we get the biggest power of 2 which is smaller than the square root of the target.\n        //\n        // We know that the \"msb\" (most significant bit) of our target number `a` is a power of 2 such that we have\n        // `msb(a) <= a < 2*msb(a)`. This value can be written `msb(a)=2**k` with `k=log2(a)`.\n        //\n        // This can be rewritten `2**log2(a) <= a < 2**(log2(a) + 1)`\n        // → `sqrt(2**k) <= sqrt(a) < sqrt(2**(k+1))`\n        // → `2**(k/2) <= sqrt(a) < 2**((k+1)/2) <= 2**(k/2 + 1)`\n        //\n        // Consequently, `2**(log2(a) / 2)` is a good first approximation of `sqrt(a)` with at least 1 correct bit.\n        uint256 result = 1 << (log2(a) >> 1);\n\n        // At this point `result` is an estimation with one bit of precision. We know the true value is a uint128,\n        // since it is the square root of a uint256. Newton's method converges quadratically (precision doubles at\n        // every iteration). We thus need at most 7 iteration to turn our partial result with one bit of precision\n        // into the expected uint128 result.\n        unchecked {\n            result = (result + a / result) >> 1;\n            result = (result + a / result) >> 1;\n            result = (result + a / result) >> 1;\n            result = (result + a / result) >> 1;\n            result = (result + a / result) >> 1;\n            result = (result + a / result) >> 1;\n            result = (result + a / result) >> 1;\n            return min(result, a / result);\n        }\n    }\n\n    /**\n     * @notice 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 + (unsignedRoundsUp(rounding) && result * result < a ? 1 : 0);\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        unchecked {\n            if (value >> 128 > 0) {\n                value >>= 128;\n                result += 128;\n            }\n            if (value >> 64 > 0) {\n                value >>= 64;\n                result += 64;\n            }\n            if (value >> 32 > 0) {\n                value >>= 32;\n                result += 32;\n            }\n            if (value >> 16 > 0) {\n                value >>= 16;\n                result += 16;\n            }\n            if (value >> 8 > 0) {\n                value >>= 8;\n                result += 8;\n            }\n            if (value >> 4 > 0) {\n                value >>= 4;\n                result += 4;\n            }\n            if (value >> 2 > 0) {\n                value >>= 2;\n                result += 2;\n            }\n            if (value >> 1 > 0) {\n                result += 1;\n            }\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 + (unsignedRoundsUp(rounding) && 1 << result < value ? 1 : 0);\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 + (unsignedRoundsUp(rounding) && 10 ** result < value ? 1 : 0);\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        unchecked {\n            if (value >> 128 > 0) {\n                value >>= 128;\n                result += 16;\n            }\n            if (value >> 64 > 0) {\n                value >>= 64;\n                result += 8;\n            }\n            if (value >> 32 > 0) {\n                value >>= 32;\n                result += 4;\n            }\n            if (value >> 16 > 0) {\n                value >>= 16;\n                result += 2;\n            }\n            if (value >> 8 > 0) {\n                result += 1;\n            }\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 + (unsignedRoundsUp(rounding) && 1 << (result << 3) < value ? 1 : 0);\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-upgradeable/contracts/proxy/utils/Initializable.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.0.0) (proxy/utils/Initializable.sol)\n\npragma solidity ^0.8.20;\n\n/**\n * @dev This is a base contract to aid in writing upgradeable contracts, or any kind of contract that will be deployed\n * behind a proxy. Since proxied contracts do not make use of a constructor, it's common to move constructor logic to an\n * external initializer function, usually called `initialize`. It then becomes necessary to protect this initializer\n * function so it can only be called once. The {initializer} modifier provided by this contract will have this effect.\n *\n * The initialization functions use a version number. Once a version number is used, it is consumed and cannot be\n * reused. This mechanism prevents re-execution of each \"step\" but allows the creation of new initialization steps in\n * case an upgrade adds a module that needs to be initialized.\n *\n * For example:\n *\n * [.hljs-theme-light.nopadding]\n * ```solidity\n * contract MyToken is ERC20Upgradeable {\n *     function initialize() initializer public {\n *         __ERC20_init(\"MyToken\", \"MTK\");\n *     }\n * }\n *\n * contract MyTokenV2 is MyToken, ERC20PermitUpgradeable {\n *     function initializeV2() reinitializer(2) public {\n *         __ERC20Permit_init(\"MyToken\");\n *     }\n * }\n * ```\n *\n * TIP: To avoid leaving the proxy in an uninitialized state, the initializer function should be called as early as\n * possible by providing the encoded function call as the `_data` argument to {ERC1967Proxy-constructor}.\n *\n * CAUTION: When used with inheritance, manual care must be taken to not invoke a parent initializer twice, or to ensure\n * that all initializers are idempotent. This is not verified automatically as constructors are by Solidity.\n *\n * [CAUTION]\n * ====\n * Avoid leaving a contract uninitialized.\n *\n * An uninitialized contract can be taken over by an attacker. This applies to both a proxy and its implementation\n * contract, which may impact the proxy. To prevent the implementation contract from being used, you should invoke\n * the {_disableInitializers} function in the constructor to automatically lock it when it is deployed:\n *\n * [.hljs-theme-light.nopadding]\n * ```\n * /// @custom:oz-upgrades-unsafe-allow constructor\n * constructor() {\n *     _disableInitializers();\n * }\n * ```\n * ====\n */\nabstract contract Initializable {\n    /**\n     * @dev Storage of the initializable contract.\n     *\n     * It's implemented on a custom ERC-7201 namespace to reduce the risk of storage collisions\n     * when using with upgradeable contracts.\n     *\n     * @custom:storage-location erc7201:openzeppelin.storage.Initializable\n     */\n    struct InitializableStorage {\n        /**\n         * @dev Indicates that the contract has been initialized.\n         */\n        uint64 _initialized;\n        /**\n         * @dev Indicates that the contract is in the process of being initialized.\n         */\n        bool _initializing;\n    }\n\n    // keccak256(abi.encode(uint256(keccak256(\"openzeppelin.storage.Initializable\")) - 1)) & ~bytes32(uint256(0xff))\n    bytes32 private constant INITIALIZABLE_STORAGE = 0xf0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00;\n\n    /**\n     * @dev The contract is already initialized.\n     */\n    error InvalidInitialization();\n\n    /**\n     * @dev The contract is not initializing.\n     */\n    error NotInitializing();\n\n    /**\n     * @dev Triggered when the contract has been initialized or reinitialized.\n     */\n    event Initialized(uint64 version);\n\n    /**\n     * @dev A modifier that defines a protected initializer function that can be invoked at most once. In its scope,\n     * `onlyInitializing` functions can be used to initialize parent contracts.\n     *\n     * Similar to `reinitializer(1)`, except that in the context of a constructor an `initializer` may be invoked any\n     * number of times. This behavior in the constructor can be useful during testing and is not expected to be used in\n     * production.\n     *\n     * Emits an {Initialized} event.\n     */\n    modifier initializer() {\n        // solhint-disable-next-line var-name-mixedcase\n        InitializableStorage storage $ = _getInitializableStorage();\n\n        // Cache values to avoid duplicated sloads\n        bool isTopLevelCall = !$._initializing;\n        uint64 initialized = $._initialized;\n\n        // Allowed calls:\n        // - initialSetup: the contract is not in the initializing state and no previous version was\n        //                 initialized\n        // - construction: the contract is initialized at version 1 (no reininitialization) and the\n        //                 current contract is just being deployed\n        bool initialSetup = initialized == 0 && isTopLevelCall;\n        bool construction = initialized == 1 && address(this).code.length == 0;\n\n        if (!initialSetup && !construction) {\n            revert InvalidInitialization();\n        }\n        $._initialized = 1;\n        if (isTopLevelCall) {\n            $._initializing = true;\n        }\n        _;\n        if (isTopLevelCall) {\n            $._initializing = false;\n            emit Initialized(1);\n        }\n    }\n\n    /**\n     * @dev A modifier that defines a protected reinitializer function that can be invoked at most once, and only if the\n     * contract hasn't been initialized to a greater version before. In its scope, `onlyInitializing` functions can be\n     * used to initialize parent contracts.\n     *\n     * A reinitializer may be used after the original initialization step. This is essential to configure modules that\n     * are added through upgrades and that require initialization.\n     *\n     * When `version` is 1, this modifier is similar to `initializer`, except that functions marked with `reinitializer`\n     * cannot be nested. If one is invoked in the context of another, execution will revert.\n     *\n     * Note that versions can jump in increments greater than 1; this implies that if multiple reinitializers coexist in\n     * a contract, executing them in the right order is up to the developer or operator.\n     *\n     * WARNING: Setting the version to 2**64 - 1 will prevent any future reinitialization.\n     *\n     * Emits an {Initialized} event.\n     */\n    modifier reinitializer(uint64 version) {\n        // solhint-disable-next-line var-name-mixedcase\n        InitializableStorage storage $ = _getInitializableStorage();\n\n        if ($._initializing || $._initialized >= version) {\n            revert InvalidInitialization();\n        }\n        $._initialized = version;\n        $._initializing = true;\n        _;\n        $._initializing = false;\n        emit Initialized(version);\n    }\n\n    /**\n     * @dev Modifier to protect an initialization function so that it can only be invoked by functions with the\n     * {initializer} and {reinitializer} modifiers, directly or indirectly.\n     */\n    modifier onlyInitializing() {\n        _checkInitializing();\n        _;\n    }\n\n    /**\n     * @dev Reverts if the contract is not in an initializing state. See {onlyInitializing}.\n     */\n    function _checkInitializing() internal view virtual {\n        if (!_isInitializing()) {\n            revert NotInitializing();\n        }\n    }\n\n    /**\n     * @dev Locks the contract, preventing any future reinitialization. This cannot be part of an initializer call.\n     * Calling this in the constructor of a contract will prevent that contract from being initialized or reinitialized\n     * to any version. It is recommended to use this to lock implementation contracts that are designed to be called\n     * through proxies.\n     *\n     * Emits an {Initialized} event the first time it is successfully executed.\n     */\n    function _disableInitializers() internal virtual {\n        // solhint-disable-next-line var-name-mixedcase\n        InitializableStorage storage $ = _getInitializableStorage();\n\n        if ($._initializing) {\n            revert InvalidInitialization();\n        }\n        if ($._initialized != type(uint64).max) {\n            $._initialized = type(uint64).max;\n            emit Initialized(type(uint64).max);\n        }\n    }\n\n    /**\n     * @dev Returns the highest version that has been initialized. See {reinitializer}.\n     */\n    function _getInitializedVersion() internal view returns (uint64) {\n        return _getInitializableStorage()._initialized;\n    }\n\n    /**\n     * @dev Returns `true` if the contract is currently initializing. See {onlyInitializing}.\n     */\n    function _isInitializing() internal view returns (bool) {\n        return _getInitializableStorage()._initializing;\n    }\n\n    /**\n     * @dev Returns a pointer to the storage namespace.\n     */\n    // solhint-disable-next-line var-name-mixedcase\n    function _getInitializableStorage() private pure returns (InitializableStorage storage $) {\n        assembly {\n            $.slot := INITIALIZABLE_STORAGE\n        }\n    }\n}\n"},"lib/openzeppelin-contracts-upgradeable/lib/openzeppelin-contracts/contracts/token/ERC20/extensions/IERC20Permit.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.0.0) (token/ERC20/extensions/IERC20Permit.sol)\n\npragma solidity ^0.8.20;\n\n/**\n * @dev Interface of the ERC20 Permit extension allowing approvals to be made via signatures, as defined in\n * https://eips.ethereum.org/EIPS/eip-2612[EIP-2612].\n *\n * Adds the {permit} method, which can be used to change an account's ERC20 allowance (see {IERC20-allowance}) by\n * presenting a message signed by the account. By not relying on {IERC20-approve}, the token holder account doesn't\n * need to send a transaction, and thus is not required to hold Ether at all.\n *\n * ==== Security Considerations\n *\n * There are two important considerations concerning the use of `permit`. The first is that a valid permit signature\n * expresses an allowance, and it should not be assumed to convey additional meaning. In particular, it should not be\n * considered as an intention to spend the allowance in any specific way. The second is that because permits have\n * built-in replay protection and can be submitted by anyone, they can be frontrun. A protocol that uses permits should\n * take this into consideration and allow a `permit` call to fail. Combining these two aspects, a pattern that may be\n * generally recommended is:\n *\n * ```solidity\n * function doThingWithPermit(..., uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s) public {\n *     try token.permit(msg.sender, address(this), value, deadline, v, r, s) {} catch {}\n *     doThing(..., value);\n * }\n *\n * function doThing(..., uint256 value) public {\n *     token.safeTransferFrom(msg.sender, address(this), value);\n *     ...\n * }\n * ```\n *\n * Observe that: 1) `msg.sender` is used as the owner, leaving no ambiguity as to the signer intent, and 2) the use of\n * `try/catch` allows the permit to fail and makes the code tolerant to frontrunning. (See also\n * {SafeERC20-safeTransferFrom}).\n *\n * Additionally, note that smart contract wallets (such as Argent or Safe) are not able to produce permit signatures, so\n * contracts should have entry points that don't rely on permit.\n */\ninterface IERC20Permit {\n    /**\n     * @dev Sets `value` as the allowance of `spender` over ``owner``'s tokens,\n     * given ``owner``'s signed approval.\n     *\n     * IMPORTANT: The same issues {IERC20-approve} has related to transaction\n     * ordering also apply here.\n     *\n     * Emits an {Approval} event.\n     *\n     * Requirements:\n     *\n     * - `spender` cannot be the zero address.\n     * - `deadline` must be a timestamp in the future.\n     * - `v`, `r` and `s` must be a valid `secp256k1` signature from `owner`\n     * over the EIP712-formatted function arguments.\n     * - the signature must use ``owner``'s current nonce (see {nonces}).\n     *\n     * For more information on the signature format, see the\n     * https://eips.ethereum.org/EIPS/eip-2612#specification[relevant EIP\n     * section].\n     *\n     * CAUTION: See Security Considerations above.\n     */\n    function permit(\n        address owner,\n        address spender,\n        uint256 value,\n        uint256 deadline,\n        uint8 v,\n        bytes32 r,\n        bytes32 s\n    ) external;\n\n    /**\n     * @dev Returns the current nonce for `owner`. This value must be\n     * included whenever a signature is generated for {permit}.\n     *\n     * Every successful call to {permit} increases ``owner``'s nonce by one. This\n     * prevents a signature from being used multiple times.\n     */\n    function nonces(address owner) external view returns (uint256);\n\n    /**\n     * @dev Returns the domain separator used in the encoding of the signature for {permit}, as defined by {EIP712}.\n     */\n    // solhint-disable-next-line func-name-mixedcase\n    function DOMAIN_SEPARATOR() external view returns (bytes32);\n}\n"}},"compilation":{"language":"Solidity","compiler":"solc","compilerVersion":"0.8.30+commit.73712a01","compilerSettings":{"viaIR":false,"metadata":{"appendCBOR":true,"bytecodeHash":"none","useLiteralContent":false},"optimizer":{"runs":200,"enabled":true},"evmVersion":"prague","remappings":["ds-test/=lib/forge-std/lib/ds-test/src/","forge-std/=lib/forge-std/src/","@openzeppelin/contracts/=lib/openzeppelin-contracts-upgradeable/lib/openzeppelin-contracts/contracts/","@openzeppelin/contracts-upgradeable/=lib/openzeppelin-contracts-upgradeable/contracts/","@layerzerolabs/contracts/=lib/endpoint-v1-solidity-examples/contracts/","endpoint-v1-solidity-examples/=lib/endpoint-v1-solidity-examples/contracts/","erc4626-tests/=lib/openzeppelin-contracts-upgradeable/lib/erc4626-tests/","openzeppelin-contracts-upgradeable/=lib/openzeppelin-contracts-upgradeable/","openzeppelin-contracts/=lib/openzeppelin-contracts-upgradeable/lib/openzeppelin-contracts/"]},"name":"StakedmsUSD","fullyQualifiedName":"src/v2/StakedmsUSD.sol:StakedmsUSD"},"abi":[{"type":"constructor","inputs":[],"stateMutability":"nonpayable"},{"name":"AddressEmptyCode","type":"error","inputs":[{"name":"target","type":"address","internalType":"address"}]},{"name":"AddressInsufficientBalance","type":"error","inputs":[{"name":"account","type":"address","internalType":"address"}]},{"name":"AlreadySet","type":"error","inputs":[]},{"name":"CooldownNotFinished","type":"error","inputs":[{"name":"currentTimestamp","type":"uint256","internalType":"uint256"},{"name":"endTimestamp","type":"uint256","internalType":"uint256"}]},{"name":"CoverageRatioZero","type":"error","inputs":[]},{"name":"DelayNotPassed","type":"error","inputs":[]},{"name":"DepositsDisabled","type":"error","inputs":[]},{"name":"ERC1967InvalidImplementation","type":"error","inputs":[{"name":"implementation","type":"address","internalType":"address"}]},{"name":"ERC1967NonPayable","type":"error","inputs":[]},{"name":"ERC20InsufficientAllowance","type":"error","inputs":[{"name":"spender","type":"address","internalType":"address"},{"name":"allowance","type":"uint256","internalType":"uint256"},{"name":"needed","type":"uint256","internalType":"uint256"}]},{"name":"ERC20InsufficientBalance","type":"error","inputs":[{"name":"sender","type":"address","internalType":"address"},{"name":"balance","type":"uint256","internalType":"uint256"},{"name":"needed","type":"uint256","internalType":"uint256"}]},{"name":"ERC20InvalidApprover","type":"error","inputs":[{"name":"approver","type":"address","internalType":"address"}]},{"name":"ERC20InvalidReceiver","type":"error","inputs":[{"name":"receiver","type":"address","internalType":"address"}]},{"name":"ERC20InvalidSender","type":"error","inputs":[{"name":"sender","type":"address","internalType":"address"}]},{"name":"ERC20InvalidSpender","type":"error","inputs":[{"name":"spender","type":"address","internalType":"address"}]},{"name":"ERC4626ExceededMaxDeposit","type":"error","inputs":[{"name":"receiver","type":"address","internalType":"address"},{"name":"assets","type":"uint256","internalType":"uint256"},{"name":"max","type":"uint256","internalType":"uint256"}]},{"name":"ERC4626ExceededMaxMint","type":"error","inputs":[{"name":"receiver","type":"address","internalType":"address"},{"name":"shares","type":"uint256","internalType":"uint256"},{"name":"max","type":"uint256","internalType":"uint256"}]},{"name":"ERC4626ExceededMaxRedeem","type":"error","inputs":[{"name":"owner","type":"address","internalType":"address"},{"name":"shares","type":"uint256","internalType":"uint256"},{"name":"max","type":"uint256","internalType":"uint256"}]},{"name":"ERC4626ExceededMaxWithdraw","type":"error","inputs":[{"name":"owner","type":"address","internalType":"address"},{"name":"assets","type":"uint256","internalType":"uint256"},{"name":"max","type":"uint256","internalType":"uint256"}]},{"name":"ExcessiveRedeemAmount","type":"error","inputs":[]},{"name":"ExcessiveWithdrawAmount","type":"error","inputs":[]},{"name":"FailedInnerCall","type":"error","inputs":[]},{"name":"ImplementationMismatch","type":"error","inputs":[]},{"name":"InvalidAmount","type":"error","inputs":[]},{"name":"InvalidCooldown","type":"error","inputs":[]},{"name":"InvalidInitialization","type":"error","inputs":[]},{"name":"InvalidRatio","type":"error","inputs":[]},{"name":"InvalidToken","type":"error","inputs":[]},{"name":"InvalidZeroAddress","type":"error","inputs":[]},{"name":"MathOverflowedMulDiv","type":"error","inputs":[]},{"name":"MinDelayNotMet","type":"error","inputs":[]},{"name":"MinSharesViolation","type":"error","inputs":[]},{"name":"NotAuthorized","type":"error","inputs":[{"name":"","type":"address","internalType":"address"}]},{"name":"NotInitializing","type":"error","inputs":[]},{"name":"NothingToUnstake","type":"error","inputs":[]},{"name":"NullAddress","type":"error","inputs":[]},{"name":"OperationNotAllowed","type":"error","inputs":[]},{"name":"OwnableInvalidOwner","type":"error","inputs":[{"name":"owner","type":"address","internalType":"address"}]},{"name":"OwnableUnauthorizedAccount","type":"error","inputs":[{"name":"account","type":"address","internalType":"address"}]},{"name":"ReentrancyGuardReentrantCall","type":"error","inputs":[]},{"name":"SafeERC20FailedOperation","type":"error","inputs":[{"name":"token","type":"address","internalType":"address"}]},{"name":"SlippageExceeded","type":"error","inputs":[]},{"name":"UUPSUnauthorizedCallContext","type":"error","inputs":[]},{"name":"UUPSUnsupportedProxiableUUID","type":"error","inputs":[{"name":"slot","type":"bytes32","internalType":"bytes32"}]},{"name":"Approval","type":"event","inputs":[{"name":"owner","type":"address","indexed":true,"internalType":"address"},{"name":"spender","type":"address","indexed":true,"internalType":"address"},{"name":"value","type":"uint256","indexed":false,"internalType":"uint256"}],"anonymous":false},{"name":"AssetBurned","type":"event","inputs":[{"name":"","type":"uint256","indexed":false,"internalType":"uint256"}],"anonymous":false},{"name":"CooldownDurationUpdated","type":"event","inputs":[{"name":"previousDuration","type":"uint24","indexed":false,"internalType":"uint24"},{"name":"newDuration","type":"uint24","indexed":false,"internalType":"uint24"}],"anonymous":false},{"name":"CooldownEndtimeUpdated","type":"event","inputs":[{"name":"account","type":"address","indexed":false,"internalType":"address"},{"name":"oldTime","type":"uint256","indexed":false,"internalType":"uint256"},{"name":"newTime","type":"uint256","indexed":false,"internalType":"uint256"}],"anonymous":false},{"name":"CoverageRatioUpdated","type":"event","inputs":[{"name":"","type":"uint256","indexed":false,"internalType":"uint256"}],"anonymous":false},{"name":"Deposit","type":"event","inputs":[{"name":"sender","type":"address","indexed":true,"internalType":"address"},{"name":"owner","type":"address","indexed":true,"internalType":"address"},{"name":"assets","type":"uint256","indexed":false,"internalType":"uint256"},{"name":"shares","type":"uint256","indexed":false,"internalType":"uint256"}],"anonymous":false},{"name":"DepositsToggled","type":"event","inputs":[{"name":"","type":"bool","indexed":false,"internalType":"bool"}],"anonymous":false},{"name":"FeeSiloUpdated","type":"event","inputs":[{"name":"","type":"address","indexed":false,"internalType":"address"}],"anonymous":false},{"name":"Initialized","type":"event","inputs":[{"name":"version","type":"uint64","indexed":false,"internalType":"uint64"}],"anonymous":false},{"name":"LockedAmountRedistributed","type":"event","inputs":[{"name":"from","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":"OwnershipTransferred","type":"event","inputs":[{"name":"previousOwner","type":"address","indexed":true,"internalType":"address"},{"name":"newOwner","type":"address","indexed":true,"internalType":"address"}],"anonymous":false},{"name":"RewarderUpdated","type":"event","inputs":[{"name":"","type":"address","indexed":false,"internalType":"address"}],"anonymous":false},{"name":"RewardsReceived","type":"event","inputs":[{"name":"amount","type":"uint256","indexed":true,"internalType":"uint256"}],"anonymous":false},{"name":"SiloUpdated","type":"event","inputs":[{"name":"previousSilo","type":"address","indexed":false,"internalType":"address"},{"name":"newSilo","type":"address","indexed":false,"internalType":"address"}],"anonymous":false},{"name":"TaxRateUpdated","type":"event","inputs":[{"name":"","type":"uint16","indexed":false,"internalType":"uint16"}],"anonymous":false},{"name":"Transfer","type":"event","inputs":[{"name":"from","type":"address","indexed":true,"internalType":"address"},{"name":"to","type":"address","indexed":true,"internalType":"address"},{"name":"value","type":"uint256","indexed":false,"internalType":"uint256"}],"anonymous":false},{"name":"Unstake","type":"event","inputs":[{"name":"caller","type":"address","indexed":false,"internalType":"address"},{"name":"receiver","type":"address","indexed":false,"internalType":"address"},{"name":"assets","type":"uint256","indexed":false,"internalType":"uint256"},{"name":"amountForRedeemer","type":"uint256","indexed":false,"internalType":"uint256"}],"anonymous":false},{"name":"UpgradeCanceled","type":"event","inputs":[{"name":"canceledImplementation","type":"address","indexed":true,"internalType":"address"}],"anonymous":false},{"name":"UpgradeDelayUpdated","type":"event","inputs":[{"name":"oldDelay","type":"uint256","indexed":false,"internalType":"uint256"},{"name":"newDelay","type":"uint256","indexed":false,"internalType":"uint256"}],"anonymous":false},{"name":"UpgradeScheduled","type":"event","inputs":[{"name":"newImplementation","type":"address","indexed":true,"internalType":"address"},{"name":"availableAt","type":"uint256","indexed":false,"internalType":"uint256"}],"anonymous":false},{"name":"Upgraded","type":"event","inputs":[{"name":"implementation","type":"address","indexed":true,"internalType":"address"}],"anonymous":false},{"name":"Withdraw","type":"event","inputs":[{"name":"sender","type":"address","indexed":true,"internalType":"address"},{"name":"receiver","type":"address","indexed":true,"internalType":"address"},{"name":"owner","type":"address","indexed":true,"internalType":"address"},{"name":"assets","type":"uint256","indexed":false,"internalType":"uint256"},{"name":"shares","type":"uint256","indexed":false,"internalType":"uint256"}],"anonymous":false},{"name":"msUSDSiloUpdated","type":"event","inputs":[{"name":"","type":"address","indexed":false,"internalType":"address"}],"anonymous":false},{"name":"DEFAULT_UPGRADE_DELAY","type":"function","inputs":[],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"MAX_COOLDOWN_DURATION","type":"function","inputs":[],"outputs":[{"name":"","type":"uint24","internalType":"uint24"}],"stateMutability":"view"},{"name":"MIN_SHARES","type":"function","inputs":[],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"UPGRADE_INTERFACE_VERSION","type":"function","inputs":[],"outputs":[{"name":"","type":"string","internalType":"string"}],"stateMutability":"view"},{"name":"activationTime","type":"function","inputs":[],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"allowance","type":"function","inputs":[{"name":"owner","type":"address","internalType":"address"},{"name":"spender","type":"address","internalType":"address"}],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"approve","type":"function","inputs":[{"name":"spender","type":"address","internalType":"address"},{"name":"value","type":"uint256","internalType":"uint256"}],"outputs":[{"name":"","type":"bool","internalType":"bool"}],"stateMutability":"nonpayable"},{"name":"asset","type":"function","inputs":[],"outputs":[{"name":"","type":"address","internalType":"address"}],"stateMutability":"view"},{"name":"balanceOf","type":"function","inputs":[{"name":"account","type":"address","internalType":"address"}],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"burnAsset","type":"function","inputs":[{"name":"amount","type":"uint256","internalType":"uint256"}],"outputs":[],"stateMutability":"nonpayable"},{"name":"cancelScheduledUpgrade","type":"function","inputs":[],"outputs":[],"stateMutability":"nonpayable"},{"name":"convertToAssets","type":"function","inputs":[{"name":"shares","type":"uint256","internalType":"uint256"}],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"convertToShares","type":"function","inputs":[{"name":"assets","type":"uint256","internalType":"uint256"}],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"cooldownAssets","type":"function","inputs":[{"name":"assets","type":"uint256","internalType":"uint256"},{"name":"owner","type":"address","internalType":"address"}],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"nonpayable"},{"name":"cooldownDuration","type":"function","inputs":[],"outputs":[{"name":"","type":"uint24","internalType":"uint24"}],"stateMutability":"view"},{"name":"cooldownShares","type":"function","inputs":[{"name":"shares","type":"uint256","internalType":"uint256"},{"name":"owner","type":"address","internalType":"address"}],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"nonpayable"},{"name":"cooldowns","type":"function","inputs":[{"name":"","type":"address","internalType":"address"}],"outputs":[{"name":"cooldownEnd","type":"uint104","internalType":"uint104"},{"name":"underlyingAmount","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"coverageRatio","type":"function","inputs":[],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"decimals","type":"function","inputs":[],"outputs":[{"name":"","type":"uint8","internalType":"uint8"}],"stateMutability":"view"},{"name":"deposit","type":"function","inputs":[{"name":"assets","type":"uint256","internalType":"uint256"},{"name":"receiver","type":"address","internalType":"address"}],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"nonpayable"},{"name":"depositsEnabled","type":"function","inputs":[],"outputs":[{"name":"","type":"bool","internalType":"bool"}],"stateMutability":"view"},{"name":"feeSilo","type":"function","inputs":[],"outputs":[{"name":"","type":"address","internalType":"address"}],"stateMutability":"view"},{"name":"initialize","type":"function","inputs":[{"name":"_asset","type":"address","internalType":"address"},{"name":"_initialRewarder","type":"address","internalType":"address"},{"name":"_owner","type":"address","internalType":"address"},{"name":"_name","type":"string","internalType":"string"},{"name":"_symbol","type":"string","internalType":"string"}],"outputs":[],"stateMutability":"nonpayable"},{"name":"lastDistributionTimestamp","type":"function","inputs":[],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"maxDeposit","type":"function","inputs":[{"name":"","type":"address","internalType":"address"}],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"maxMint","type":"function","inputs":[{"name":"","type":"address","internalType":"address"}],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"maxRedeem","type":"function","inputs":[{"name":"owner","type":"address","internalType":"address"}],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"maxWithdraw","type":"function","inputs":[{"name":"owner","type":"address","internalType":"address"}],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"mint","type":"function","inputs":[{"name":"shares","type":"uint256","internalType":"uint256"},{"name":"receiver","type":"address","internalType":"address"}],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"nonpayable"},{"name":"mintRewards","type":"function","inputs":[{"name":"amount","type":"uint256","internalType":"uint256"}],"outputs":[],"stateMutability":"nonpayable"},{"name":"name","type":"function","inputs":[],"outputs":[{"name":"","type":"string","internalType":"string"}],"stateMutability":"view"},{"name":"owner","type":"function","inputs":[],"outputs":[{"name":"","type":"address","internalType":"address"}],"stateMutability":"view"},{"name":"pendingImplementation","type":"function","inputs":[],"outputs":[{"name":"","type":"address","internalType":"address"}],"stateMutability":"view"},{"name":"previewDeposit","type":"function","inputs":[{"name":"assets","type":"uint256","internalType":"uint256"}],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"previewMint","type":"function","inputs":[{"name":"shares","type":"uint256","internalType":"uint256"}],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"previewRedeem","type":"function","inputs":[{"name":"shares","type":"uint256","internalType":"uint256"}],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"previewWithdraw","type":"function","inputs":[{"name":"assets","type":"uint256","internalType":"uint256"}],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"proxiableUUID","type":"function","inputs":[],"outputs":[{"name":"","type":"bytes32","internalType":"bytes32"}],"stateMutability":"view"},{"name":"redeem","type":"function","inputs":[{"name":"shares","type":"uint256","internalType":"uint256"},{"name":"receiver","type":"address","internalType":"address"},{"name":"owner","type":"address","internalType":"address"}],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"nonpayable"},{"name":"renounceOwnership","type":"function","inputs":[],"outputs":[],"stateMutability":"nonpayable"},{"name":"rescueTokens","type":"function","inputs":[{"name":"token","type":"address","internalType":"address"},{"name":"amount","type":"uint256","internalType":"uint256"},{"name":"to","type":"address","internalType":"address"}],"outputs":[],"stateMutability":"nonpayable"},{"name":"rewarder","type":"function","inputs":[],"outputs":[{"name":"","type":"address","internalType":"address"}],"stateMutability":"view"},{"name":"scheduleUpgrade","type":"function","inputs":[{"name":"newImpl","type":"address","internalType":"address"}],"outputs":[],"stateMutability":"nonpayable"},{"name":"setCooldownDuration","type":"function","inputs":[{"name":"duration","type":"uint24","internalType":"uint24"}],"outputs":[],"stateMutability":"nonpayable"},{"name":"setCoverageRatio","type":"function","inputs":[{"name":"_ratio","type":"uint256","internalType":"uint256"}],"outputs":[],"stateMutability":"nonpayable"},{"name":"setFeeSilo","type":"function","inputs":[{"name":"_silo","type":"address","internalType":"address"}],"outputs":[],"stateMutability":"nonpayable"},{"name":"setRewarder","type":"function","inputs":[{"name":"_rewarder","type":"address","internalType":"address"}],"outputs":[],"stateMutability":"nonpayable"},{"name":"setSilo","type":"function","inputs":[{"name":"_silo","type":"address","internalType":"address"}],"outputs":[],"stateMutability":"nonpayable"},{"name":"setTaxRate","type":"function","inputs":[{"name":"newTaxRate","type":"uint16","internalType":"uint16"}],"outputs":[],"stateMutability":"nonpayable"},{"name":"setUpgradeDelay","type":"function","inputs":[{"name":"newDelay","type":"uint256","internalType":"uint256"}],"outputs":[],"stateMutability":"nonpayable"},{"name":"silo","type":"function","inputs":[],"outputs":[{"name":"","type":"address","internalType":"contract msUSDSilo"}],"stateMutability":"view"},{"name":"symbol","type":"function","inputs":[],"outputs":[{"name":"","type":"string","internalType":"string"}],"stateMutability":"view"},{"name":"taxRate","type":"function","inputs":[],"outputs":[{"name":"","type":"uint16","internalType":"uint16"}],"stateMutability":"view"},{"name":"toggleDeposits","type":"function","inputs":[],"outputs":[],"stateMutability":"nonpayable"},{"name":"totalAssets","type":"function","inputs":[],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"totalSupply","type":"function","inputs":[],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"transfer","type":"function","inputs":[{"name":"to","type":"address","internalType":"address"},{"name":"value","type":"uint256","internalType":"uint256"}],"outputs":[{"name":"","type":"bool","internalType":"bool"}],"stateMutability":"nonpayable"},{"name":"transferFrom","type":"function","inputs":[{"name":"from","type":"address","internalType":"address"},{"name":"to","type":"address","internalType":"address"},{"name":"value","type":"uint256","internalType":"uint256"}],"outputs":[{"name":"","type":"bool","internalType":"bool"}],"stateMutability":"nonpayable"},{"name":"transferOwnership","type":"function","inputs":[{"name":"newOwner","type":"address","internalType":"address"}],"outputs":[],"stateMutability":"nonpayable"},{"name":"unstake","type":"function","inputs":[{"name":"receiver","type":"address","internalType":"address"}],"outputs":[],"stateMutability":"nonpayable"},{"name":"updateExistingCooldown","type":"function","inputs":[{"name":"account","type":"address","internalType":"address"},{"name":"newCooldownEnd","type":"uint104","internalType":"uint104"}],"outputs":[],"stateMutability":"nonpayable"},{"name":"upgradeDelay","type":"function","inputs":[],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"upgradeToAndCall","type":"function","inputs":[{"name":"newImplementation","type":"address","internalType":"address"},{"name":"data","type":"bytes","internalType":"bytes"}],"outputs":[],"stateMutability":"payable"},{"name":"withdraw","type":"function","inputs":[{"name":"assets","type":"uint256","internalType":"uint256"},{"name":"receiver","type":"address","internalType":"address"},{"name":"owner","type":"address","internalType":"address"}],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"nonpayable"}],"metadata":{"compiler":{"version":"0.8.30+commit.73712a01"},"language":"Solidity","output":{"abi":[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[{"internalType":"address","name":"target","type":"address"}],"name":"AddressEmptyCode","type":"error"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"AddressInsufficientBalance","type":"error"},{"inputs":[],"name":"AlreadySet","type":"error"},{"inputs":[{"internalType":"uint256","name":"currentTimestamp","type":"uint256"},{"internalType":"uint256","name":"endTimestamp","type":"uint256"}],"name":"CooldownNotFinished","type":"error"},{"inputs":[],"name":"CoverageRatioZero","type":"error"},{"inputs":[],"name":"DelayNotPassed","type":"error"},{"inputs":[],"name":"DepositsDisabled","type":"error"},{"inputs":[{"internalType":"address","name":"implementation","type":"address"}],"name":"ERC1967InvalidImplementation","type":"error"},{"inputs":[],"name":"ERC1967NonPayable","type":"error"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"allowance","type":"uint256"},{"internalType":"uint256","name":"needed","type":"uint256"}],"name":"ERC20InsufficientAllowance","type":"error"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"uint256","name":"balance","type":"uint256"},{"internalType":"uint256","name":"needed","type":"uint256"}],"name":"ERC20InsufficientBalance","type":"error"},{"inputs":[{"internalType":"address","name":"approver","type":"address"}],"name":"ERC20InvalidApprover","type":"error"},{"inputs":[{"internalType":"address","name":"receiver","type":"address"}],"name":"ERC20InvalidReceiver","type":"error"},{"inputs":[{"internalType":"address","name":"sender","type":"address"}],"name":"ERC20InvalidSender","type":"error"},{"inputs":[{"internalType":"address","name":"spender","type":"address"}],"name":"ERC20InvalidSpender","type":"error"},{"inputs":[{"internalType":"address","name":"receiver","type":"address"},{"internalType":"uint256","name":"assets","type":"uint256"},{"internalType":"uint256","name":"max","type":"uint256"}],"name":"ERC4626ExceededMaxDeposit","type":"error"},{"inputs":[{"internalType":"address","name":"receiver","type":"address"},{"internalType":"uint256","name":"shares","type":"uint256"},{"internalType":"uint256","name":"max","type":"uint256"}],"name":"ERC4626ExceededMaxMint","type":"error"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"shares","type":"uint256"},{"internalType":"uint256","name":"max","type":"uint256"}],"name":"ERC4626ExceededMaxRedeem","type":"error"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"assets","type":"uint256"},{"internalType":"uint256","name":"max","type":"uint256"}],"name":"ERC4626ExceededMaxWithdraw","type":"error"},{"inputs":[],"name":"ExcessiveRedeemAmount","type":"error"},{"inputs":[],"name":"ExcessiveWithdrawAmount","type":"error"},{"inputs":[],"name":"FailedInnerCall","type":"error"},{"inputs":[],"name":"ImplementationMismatch","type":"error"},{"inputs":[],"name":"InvalidAmount","type":"error"},{"inputs":[],"name":"InvalidCooldown","type":"error"},{"inputs":[],"name":"InvalidInitialization","type":"error"},{"inputs":[],"name":"InvalidRatio","type":"error"},{"inputs":[],"name":"InvalidToken","type":"error"},{"inputs":[],"name":"InvalidZeroAddress","type":"error"},{"inputs":[],"name":"MathOverflowedMulDiv","type":"error"},{"inputs":[],"name":"MinDelayNotMet","type":"error"},{"inputs":[],"name":"MinSharesViolation","type":"error"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"NotAuthorized","type":"error"},{"inputs":[],"name":"NotInitializing","type":"error"},{"inputs":[],"name":"NothingToUnstake","type":"error"},{"inputs":[],"name":"NullAddress","type":"error"},{"inputs":[],"name":"OperationNotAllowed","type":"error"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"OwnableInvalidOwner","type":"error"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"OwnableUnauthorizedAccount","type":"error"},{"inputs":[],"name":"ReentrancyGuardReentrantCall","type":"error"},{"inputs":[{"internalType":"address","name":"token","type":"address"}],"name":"SafeERC20FailedOperation","type":"error"},{"inputs":[],"name":"SlippageExceeded","type":"error"},{"inputs":[],"name":"UUPSUnauthorizedCallContext","type":"error"},{"inputs":[{"internalType":"bytes32","name":"slot","type":"bytes32"}],"name":"UUPSUnsupportedProxiableUUID","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"","type":"uint256"}],"name":"AssetBurned","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint24","name":"previousDuration","type":"uint24"},{"indexed":false,"internalType":"uint24","name":"newDuration","type":"uint24"}],"name":"CooldownDurationUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"},{"indexed":false,"internalType":"uint256","name":"oldTime","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"newTime","type":"uint256"}],"name":"CooldownEndtimeUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"","type":"uint256"}],"name":"CoverageRatioUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"sender","type":"address"},{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":false,"internalType":"uint256","name":"assets","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"shares","type":"uint256"}],"name":"Deposit","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"bool","name":"","type":"bool"}],"name":"DepositsToggled","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"","type":"address"}],"name":"FeeSiloUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint64","name":"version","type":"uint64"}],"name":"Initialized","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"LockedAmountRedistributed","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":false,"internalType":"address","name":"","type":"address"}],"name":"RewarderUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"RewardsReceived","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"previousSilo","type":"address"},{"indexed":false,"internalType":"address","name":"newSilo","type":"address"}],"name":"SiloUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint16","name":"","type":"uint16"}],"name":"TaxRateUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"caller","type":"address"},{"indexed":false,"internalType":"address","name":"receiver","type":"address"},{"indexed":false,"internalType":"uint256","name":"assets","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"amountForRedeemer","type":"uint256"}],"name":"Unstake","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"canceledImplementation","type":"address"}],"name":"UpgradeCanceled","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"oldDelay","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"newDelay","type":"uint256"}],"name":"UpgradeDelayUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"newImplementation","type":"address"},{"indexed":false,"internalType":"uint256","name":"availableAt","type":"uint256"}],"name":"UpgradeScheduled","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"implementation","type":"address"}],"name":"Upgraded","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"sender","type":"address"},{"indexed":true,"internalType":"address","name":"receiver","type":"address"},{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":false,"internalType":"uint256","name":"assets","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"shares","type":"uint256"}],"name":"Withdraw","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"","type":"address"}],"name":"msUSDSiloUpdated","type":"event"},{"inputs":[],"name":"DEFAULT_UPGRADE_DELAY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_COOLDOWN_DURATION","outputs":[{"internalType":"uint24","name":"","type":"uint24"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MIN_SHARES","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"UPGRADE_INTERFACE_VERSION","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"activationTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"asset","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"burnAsset","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"cancelScheduledUpgrade","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"shares","type":"uint256"}],"name":"convertToAssets","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"assets","type":"uint256"}],"name":"convertToShares","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"assets","type":"uint256"},{"internalType":"address","name":"owner","type":"address"}],"name":"cooldownAssets","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"cooldownDuration","outputs":[{"internalType":"uint24","name":"","type":"uint24"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"shares","type":"uint256"},{"internalType":"address","name":"owner","type":"address"}],"name":"cooldownShares","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"cooldowns","outputs":[{"internalType":"uint104","name":"cooldownEnd","type":"uint104"},{"internalType":"uint256","name":"underlyingAmount","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"coverageRatio","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"assets","type":"uint256"},{"internalType":"address","name":"receiver","type":"address"}],"name":"deposit","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"depositsEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"feeSilo","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_asset","type":"address"},{"internalType":"address","name":"_initialRewarder","type":"address"},{"internalType":"address","name":"_owner","type":"address"},{"internalType":"string","name":"_name","type":"string"},{"internalType":"string","name":"_symbol","type":"string"}],"name":"initialize","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"lastDistributionTimestamp","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"maxDeposit","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"maxMint","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"maxRedeem","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"maxWithdraw","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"shares","type":"uint256"},{"internalType":"address","name":"receiver","type":"address"}],"name":"mint","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"mintRewards","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pendingImplementation","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"assets","type":"uint256"}],"name":"previewDeposit","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"shares","type":"uint256"}],"name":"previewMint","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"shares","type":"uint256"}],"name":"previewRedeem","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"assets","type":"uint256"}],"name":"previewWithdraw","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"proxiableUUID","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"shares","type":"uint256"},{"internalType":"address","name":"receiver","type":"address"},{"internalType":"address","name":"owner","type":"address"}],"name":"redeem","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"token","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"address","name":"to","type":"address"}],"name":"rescueTokens","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"rewarder","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newImpl","type":"address"}],"name":"scheduleUpgrade","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint24","name":"duration","type":"uint24"}],"name":"setCooldownDuration","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_ratio","type":"uint256"}],"name":"setCoverageRatio","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_silo","type":"address"}],"name":"setFeeSilo","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_rewarder","type":"address"}],"name":"setRewarder","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_silo","type":"address"}],"name":"setSilo","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint16","name":"newTaxRate","type":"uint16"}],"name":"setTaxRate","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newDelay","type":"uint256"}],"name":"setUpgradeDelay","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"silo","outputs":[{"internalType":"contract msUSDSilo","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"taxRate","outputs":[{"internalType":"uint16","name":"","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"toggleDeposits","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"totalAssets","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"receiver","type":"address"}],"name":"unstake","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint104","name":"newCooldownEnd","type":"uint104"}],"name":"updateExistingCooldown","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"upgradeDelay","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newImplementation","type":"address"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"upgradeToAndCall","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"assets","type":"uint256"},{"internalType":"address","name":"receiver","type":"address"},{"internalType":"address","name":"owner","type":"address"}],"name":"withdraw","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"nonpayable","type":"function"}],"devdoc":{"author":"Mainstreet Labs","details":"This contract extends ERC4626 to provide vault functionality with dual operational modes: **Cooldown Disabled (cooldownDuration = 0):** - Operates as standard ERC4626 vault - Immediate withdrawals and redemptions available - Standard deposit, mint, withdraw, redeem functions work normally **Cooldown Enabled (cooldownDuration > 0):** - ERC4626 withdraw/redeem functions are disabled - Users must use cooldownAssets/cooldownShares to initiate withdrawals - Assets are transferred to a silo contract during cooldown period - After cooldown expires, users can claim assets via unstake function The contract features: - Donation attack protection via minimum shares requirement - Upgradeable implementation using UUPS pattern - Owner-controlled configuration of cooldown duration, key addresses, and coverage ratio","errors":{"AddressEmptyCode(address)":[{"details":"There's no code at `target` (it is not a contract)."}],"AddressInsufficientBalance(address)":[{"details":"The ETH balance of the account is not enough to perform the operation."}],"ERC1967InvalidImplementation(address)":[{"details":"The `implementation` of the proxy is invalid."}],"ERC1967NonPayable()":[{"details":"An upgrade function sees `msg.value > 0` that may be lost."}],"ERC20InsufficientAllowance(address,uint256,uint256)":[{"details":"Indicates a failure with the `spender`’s `allowance`. Used in transfers.","params":{"allowance":"Amount of tokens a `spender` is allowed to operate with.","needed":"Minimum amount required to perform a transfer.","spender":"Address that may be allowed to operate on tokens without being their owner."}}],"ERC20InsufficientBalance(address,uint256,uint256)":[{"details":"Indicates an error related to the current `balance` of a `sender`. Used in transfers.","params":{"balance":"Current balance for the interacting account.","needed":"Minimum amount required to perform a transfer.","sender":"Address whose tokens are being transferred."}}],"ERC20InvalidApprover(address)":[{"details":"Indicates a failure with the `approver` of a token to be approved. Used in approvals.","params":{"approver":"Address initiating an approval operation."}}],"ERC20InvalidReceiver(address)":[{"details":"Indicates a failure with the token `receiver`. Used in transfers.","params":{"receiver":"Address to which tokens are being transferred."}}],"ERC20InvalidSender(address)":[{"details":"Indicates a failure with the token `sender`. Used in transfers.","params":{"sender":"Address whose tokens are being transferred."}}],"ERC20InvalidSpender(address)":[{"details":"Indicates a failure with the `spender` to be approved. Used in approvals.","params":{"spender":"Address that may be allowed to operate on tokens without being their owner."}}],"ERC4626ExceededMaxDeposit(address,uint256,uint256)":[{"details":"Attempted to deposit more assets than the max amount for `receiver`."}],"ERC4626ExceededMaxMint(address,uint256,uint256)":[{"details":"Attempted to mint more shares than the max amount for `receiver`."}],"ERC4626ExceededMaxRedeem(address,uint256,uint256)":[{"details":"Attempted to redeem more shares than the max amount for `receiver`."}],"ERC4626ExceededMaxWithdraw(address,uint256,uint256)":[{"details":"Attempted to withdraw more assets than the max amount for `receiver`."}],"FailedInnerCall()":[{"details":"A call to an address target failed. The target may have reverted."}],"InvalidInitialization()":[{"details":"The contract is already initialized."}],"MathOverflowedMulDiv()":[{"details":"Muldiv operation overflow."}],"NotInitializing()":[{"details":"The contract is not initializing."}],"OwnableInvalidOwner(address)":[{"details":"The owner is not a valid owner account. (eg. `address(0)`)"}],"OwnableUnauthorizedAccount(address)":[{"details":"The caller account is not authorized to perform an operation."}],"ReentrancyGuardReentrantCall()":[{"details":"Unauthorized reentrant call."}],"SafeERC20FailedOperation(address)":[{"details":"An operation with an ERC20 token failed."}],"UUPSUnauthorizedCallContext()":[{"details":"The call is from an unauthorized context."}],"UUPSUnsupportedProxiableUUID(bytes32)":[{"details":"The storage `slot` is unsupported as a UUID."}]},"events":{"Approval(address,address,uint256)":{"details":"Emitted when the allowance of a `spender` for an `owner` is set by a call to {approve}. `value` is the new allowance."},"Initialized(uint64)":{"details":"Triggered when the contract has been initialized or reinitialized."},"Transfer(address,address,uint256)":{"details":"Emitted when `value` tokens are moved from one account (`from`) to another (`to`). Note that `value` may be zero."},"Upgraded(address)":{"details":"Emitted when the implementation is upgraded."}},"kind":"dev","methods":{"allowance(address,address)":{"details":"See {IERC20-allowance}."},"approve(address,uint256)":{"details":"See {IERC20-approve}. NOTE: If `value` is the maximum `uint256`, the allowance is not updated on `transferFrom`. This is semantically equivalent to an infinite approval. Requirements: - `spender` cannot be the zero address."},"asset()":{"details":"See {IERC4626-asset}. "},"balanceOf(address)":{"details":"See {IERC20-balanceOf}."},"burnAsset(uint256)":{"details":"Only used in situations of undercollateralization","params":{"amount":"Amount of tokens to burn from the vault"}},"cancelScheduledUpgrade()":{"details":"This function clears the pending implementation and activation time."},"convertToAssets(uint256)":{"details":"See {IERC4626-convertToAssets}. "},"convertToShares(uint256)":{"details":"See {IERC4626-convertToShares}. "},"cooldownAssets(uint256,address)":{"params":{"assets":"assets to redeem","owner":"address to redeem and start cooldown, owner must allowed caller to perform this action"}},"cooldownShares(uint256,address)":{"params":{"owner":"address to redeem and start cooldown, owner must allowed caller to perform this action","shares":"shares to redeem"}},"decimals()":{"details":"Decimals are computed by adding the decimal offset on top of the underlying asset's decimals. This \"original\" value is cached during construction of the vault contract. If this read operation fails (e.g., the asset has not been created yet), a default of 18 is used to represent the underlying asset's decimals. See {IERC20Metadata-decimals}."},"deposit(uint256,address)":{"details":"See {IERC4626-deposit}. "},"initialize(address,address,address,string,string)":{"params":{"_asset":"The address of the msUSD token.","_initialRewarder":"The address of the initial rewarder.","_owner":"The address of the admin role."}},"maxDeposit(address)":{"details":"See {IERC4626-maxDeposit}. "},"maxMint(address)":{"details":"See {IERC4626-maxMint}. "},"maxRedeem(address)":{"details":"See {IERC4626-maxRedeem}. "},"maxWithdraw(address)":{"details":"See {IERC4626-maxWithdraw}. "},"mint(uint256,address)":{"details":"See {IERC4626-mint}. As opposed to {deposit}, minting is allowed even if the vault is in a state where the price of a share is zero. In this case, the shares will be minted without requiring any assets to be deposited."},"mintRewards(uint256)":{"params":{"amount":"The amount of rewards to mint."}},"name()":{"details":"Returns the name of the token."},"owner()":{"details":"Returns the address of the current owner."},"previewDeposit(uint256)":{"details":"See {IERC4626-previewDeposit}. "},"previewMint(uint256)":{"details":"See {IERC4626-previewMint}. "},"previewRedeem(uint256)":{"details":"See {IERC4626-previewRedeem}. "},"previewWithdraw(uint256)":{"details":"See {IERC4626-previewWithdraw}. "},"proxiableUUID()":{"details":"Implementation of the ERC1822 {proxiableUUID} function. This returns the storage slot used by the implementation. It is used to validate the implementation's compatibility when performing an upgrade. IMPORTANT: A proxy pointing at a proxiable contract should not be considered proxiable itself, because this risks bricking a proxy that upgrades to it, by delegating to itself until out of gas. Thus it is critical that this function revert if invoked through a proxy. This is guaranteed by the `notDelegated` modifier."},"redeem(uint256,address,address)":{"details":"See {IERC4626-redeem}."},"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,uint256,address)":{"params":{"amount":"The amount of tokens to be rescued.","to":"Where to send rescued tokens","token":"The token to be rescued."}},"scheduleUpgrade(address)":{"details":"The upgrade can be executed after the delay period has passed.","params":{"newImpl":"The address of the new implementation contract."}},"setCooldownDuration(uint24)":{"details":"Only callable by the contract owner. Setting to 0 enables immediate withdrawals (ERC4626 mode). Setting to >0 enables cooldown mode where users must use cooldownAssets/cooldownShares. Emits CooldownDurationUpdated event.","params":{"duration":"Duration in seconds that users must wait before claiming assets (max 90 days)"}},"setCoverageRatio(uint256)":{"details":"If the value is set to <1e18, the total amount of redeemable tokens post-cooldown will be less than what was initially redeemable. Only used in serious situations when the system is not fully collateralized.If 1e18 -> Redeemer can redeem 100% post-cooldown. Conversly, if set to .9 * 1e18, only 90% of the requested tokens are redeemable, until the ratio is updated again.","params":{"_ratio":"New converage ratio"}},"setFeeSilo(address)":{"details":"Only callable by the contract owner. Emits FeeSiloUpdated event.","params":{"_silo":"The new feeSilo contract address"}},"setRewarder(address)":{"details":"Only callable by the contract owner. Emits RewarderUpdated event.","params":{"_rewarder":"The new rewarder address"}},"setSilo(address)":{"details":"Only callable by the contract owner. The silo must be deployed and configured before setting. Emits msUSDSiloUpdated event.","params":{"_silo":"The new silo contract address"}},"setTaxRate(uint16)":{"details":"Only callable by the contract owner. Emits TaxRateUpdated event.","params":{"newTaxRate":"The tax rate. Must be less than 1000."}},"setUpgradeDelay(uint256)":{"params":{"newDelay":"The new delay in seconds. Must be at least 1 hour"}},"symbol()":{"details":"Returns the symbol of the token, usually a shorter version of the name."},"toggleDeposits()":{"details":"When the boolean stored in `depositsEnabled` is true, deposits are enabled. Conversely, when the status is set to false, deposits are disabled."},"totalSupply()":{"details":"See {IERC20-totalSupply}."},"transfer(address,uint256)":{"details":"See {IERC20-transfer}. Requirements: - `to` cannot be the zero address. - the caller must have a balance of at least `value`."},"transferFrom(address,address,uint256)":{"details":"See {IERC20-transferFrom}. Emits an {Approval} event indicating the updated allowance. This is not required by the EIP. See the note at the beginning of {ERC20}. NOTE: Does not update the allowance if the current allowance is the maximum `uint256`. Requirements: - `from` and `to` cannot be the zero address. - `from` must have a balance of at least `value`. - the caller must have allowance for ``from``'s tokens of at least `value`."},"transferOwnership(address)":{"details":"Transfers ownership of the contract to a new account (`newOwner`). Can only be called by the current owner."},"unstake(address)":{"details":"Can be called by anyone to claim their own assets. The cooldown must have expired and the user must have assets in cooldown. Transfers assets from silo to receiver.","params":{"receiver":"Address to send the assets to"}},"updateExistingCooldown(address,uint104)":{"details":"Only callable by the contract owner.","params":{"account":"Account with existing cooldown","newCooldownEnd":"Account with existing cooldown"}},"upgradeToAndCall(address,bytes)":{"custom:oz-upgrades-unsafe-allow-reachable":"delegatecall","details":"Upgrade the implementation of the proxy to `newImplementation`, and subsequently execute the function call encoded in `data`. Calls {_authorizeUpgrade}. Emits an {Upgraded} event."},"withdraw(uint256,address,address)":{"details":"See {IERC4626-withdraw}."}},"title":"StakedmsUSD","version":1},"userdoc":{"errors":{"AlreadySet()":[{"notice":"Error emitted when a value is already set"}],"CooldownNotFinished(uint256,uint256)":[{"notice":"Error emitted when a user attempts to unstake a cooldown that is not finished"}],"CoverageRatioZero()":[{"notice":"Error emitted when an unstake is performed while `coverageRatio` is set to 0."}],"DepositsDisabled()":[{"notice":"Error emitted when a deposit is executed when deposits are disabled"}],"ExcessiveRedeemAmount()":[{"notice":"Error emitted when the shares amount to redeem is greater than the shares balance of the owner"}],"ExcessiveWithdrawAmount()":[{"notice":"Error emitted when the shares amount to withdraw is greater than the shares balance of the owner"}],"InvalidAmount()":[{"notice":"Error emitted shares or assets equal zero."}],"InvalidCooldown()":[{"notice":"Error emitted when cooldown value is invalid"}],"InvalidRatio()":[{"notice":"Error emitted when a coverageRatio is greater than 1e18, breaking logic."}],"InvalidToken()":[{"notice":"Error emitted when owner attempts to rescue USDe tokens."}],"InvalidZeroAddress()":[{"notice":"Error emitted when the zero address is given"}],"MinSharesViolation()":[{"notice":"Error emitted when a small non-zero share amount remains, which risks donations attack"}],"NotAuthorized(address)":[{"notice":"Error emitted when a permissioned funciton is called by an unauthorized wallet"}],"NothingToUnstake()":[{"notice":"Error emitted when a user attempts to unstake a cooldown of amount 0"}],"OperationNotAllowed()":[{"notice":"Error emitted when owner is not allowed to perform an operation"}],"SlippageExceeded()":[{"notice":"Error emitted when slippage is exceeded on a deposit or withdrawal"}]},"events":{"AssetBurned(uint256)":{"notice":"Event emitted when `burnAsset` is executed."},"CooldownDurationUpdated(uint24,uint24)":{"notice":"Event emitted when cooldown duration updates"},"CooldownEndtimeUpdated(address,uint256,uint256)":{"notice":"Event emitted when `updateExistingCooldown` is executed."},"CoverageRatioUpdated(uint256)":{"notice":"Event emitted when `coverageRatio` is updated."},"DepositsToggled(bool)":{"notice":"Event emitted when the boolean stored in depositsEnabled is updated"},"FeeSiloUpdated(address)":{"notice":"Event emitted when the fee silo address is updated"},"LockedAmountRedistributed(address,address,uint256)":{"notice":"Event emitted when the balance from an FULL_RESTRICTED_STAKER_ROLE user are redistributed"},"RewarderUpdated(address)":{"notice":"Event emitted when the rewarder address is updated"},"RewardsReceived(uint256)":{"notice":"Event emitted when the rewards are received"},"SiloUpdated(address,address)":{"notice":"Event emitted when the silo address updates"},"TaxRateUpdated(uint16)":{"notice":"Event emitted when the tax rate is updated."},"Unstake(address,address,uint256,uint256)":{"notice":"Event emitted when a user unstakes"},"msUSDSiloUpdated(address)":{"notice":"Event emitted when the msUSD silo address is updated"}},"kind":"user","methods":{"MAX_COOLDOWN_DURATION()":{"notice":"Maximum cooldown duration"},"MIN_SHARES()":{"notice":"Minimum non-zero shares amount to prevent donation attack"},"burnAsset(uint256)":{"notice":"Allows the owner to burn tokens from the vault, dropping price"},"cancelScheduledUpgrade()":{"notice":"Cancels a scheduled upgrade."},"cooldownAssets(uint256,address)":{"notice":"redeem assets and starts a cooldown to claim the converted underlying asset"},"cooldownDuration()":{"notice":"Duration in seconds that users must wait after initiating cooldown before they can unstake"},"cooldownShares(uint256,address)":{"notice":"redeem shares into assets and starts a cooldown to claim the converted underlying asset"},"cooldowns(address)":{"notice":"Mapping of user addresses to their cooldown information including end time and underlying asset amount"},"coverageRatio()":{"notice":"Default is 1e18 which allows redeemer to collect 100% of their redemption post-cooldown. If <1e18, the redeemer cannot claim their total redemption of tokens."},"depositsEnabled()":{"notice":"If true, deposits are enabled."},"feeSilo()":{"notice":"Stores the address of where fees are collected and distributed."},"initialize(address,address,address,string,string)":{"notice":"Initializes StakedmsUSD contract."},"lastDistributionTimestamp()":{"notice":"The timestamp of the last asset distribution from the controller contract into this contract"},"mintRewards(uint256)":{"notice":"Allows the owner to mint rewards into this contract."},"rescueTokens(address,uint256,address)":{"notice":"Allows the owner to rescue tokens accidentally sent to the contract. Note that the owner cannot rescue msUSD tokens because they functionally sit here and belong to stakers but can rescue staked msUSD as they should never actually sit in this contract and a staker may well transfer them here by accident."},"rewarder()":{"notice":"Address authorized to transfer rewards into the contract for distribution to stakers"},"scheduleUpgrade(address)":{"notice":"Schedules an upgrade to a new implementation."},"setCooldownDuration(uint24)":{"notice":"Sets the cooldown duration for withdrawal requests"},"setCoverageRatio(uint256)":{"notice":"Allows the owner to update the value stored in `coverageRatio`."},"setFeeSilo(address)":{"notice":"Sets the feeSilo address which holds and distributes fees collected by the protocol"},"setRewarder(address)":{"notice":"Sets the address authorized to transfer rewards into the contract"},"setSilo(address)":{"notice":"Sets the silo contract address that holds assets during cooldown periods"},"setTaxRate(uint16)":{"notice":"Sets the taxRate which is the % out of 1000 that is sent to feeSilo upon reward distribution"},"setUpgradeDelay(uint256)":{"notice":"Sets the new upgrade delay."},"silo()":{"notice":"The silo contract that holds assets during the cooldown period"},"taxRate()":{"notice":"Stores the % of each rewards mint that is sent to feeSilo."},"toggleDeposits()":{"notice":"Allows the owner to toggle the status stored in `depositsEnabled`."},"totalAssets()":{"notice":"Returns the amount of msUSD tokens that are inside the contract."},"unstake(address)":{"notice":"Allows users to claim their assets after the cooldown period has ended"},"updateExistingCooldown(address,uint104)":{"notice":"Sets the cooldown endtime for an existing cooldown"},"upgradeDelay()":{"notice":"----------- getters -----------"}},"notice":"A liquid staking token for msUSD that enables users to earn yield while maintaining liquidity. Users can stake msUSD tokens to receive StakedmsUSD shares that appreciate in value as protocol rewards are distributed. The contract implements a flexible cooldown system that can be enabled or disabled to control withdrawal mechanics based on market conditions and protocol needs.","version":1}},"settings":{"compilationTarget":{"src/v2/StakedmsUSD.sol":"StakedmsUSD"},"evmVersion":"prague","libraries":{},"metadata":{"bytecodeHash":"none"},"optimizer":{"enabled":true,"runs":200},"remappings":[":@layerzerolabs/contracts/=lib/endpoint-v1-solidity-examples/contracts/",":@openzeppelin/contracts-upgradeable/=lib/openzeppelin-contracts-upgradeable/contracts/",":@openzeppelin/contracts/=lib/openzeppelin-contracts-upgradeable/lib/openzeppelin-contracts/contracts/",":ds-test/=lib/forge-std/lib/ds-test/src/",":endpoint-v1-solidity-examples/=lib/endpoint-v1-solidity-examples/contracts/",":erc4626-tests/=lib/openzeppelin-contracts-upgradeable/lib/erc4626-tests/",":forge-std/=lib/forge-std/src/",":openzeppelin-contracts-upgradeable/=lib/openzeppelin-contracts-upgradeable/",":openzeppelin-contracts/=lib/openzeppelin-contracts-upgradeable/lib/openzeppelin-contracts/"]},"sources":{"lib/openzeppelin-contracts-upgradeable/contracts/access/OwnableUpgradeable.sol":{"keccak256":"0xc163fcf9bb10138631a9ba5564df1fa25db9adff73bd9ee868a8ae1858fe093a","license":"MIT","urls":["bzz-raw://9706d43a0124053d9880f6e31a59f31bc0a6a3dc1acd66ce0a16e1111658c5f6","dweb:/ipfs/QmUFmfowzkRwGtDu36cXV9SPTBHJ3n7dG9xQiK5B28jTf2"]},"lib/openzeppelin-contracts-upgradeable/contracts/proxy/utils/Initializable.sol":{"keccak256":"0x631188737069917d2f909d29ce62c4d48611d326686ba6683e26b72a23bfac0b","license":"MIT","urls":["bzz-raw://7a61054ae84cd6c4d04c0c4450ba1d6de41e27e0a2c4f1bcdf58f796b401c609","dweb:/ipfs/QmUvtdp7X1mRVyC3CsHrtPbgoqWaXHp3S1ZR24tpAQYJWM"]},"lib/openzeppelin-contracts-upgradeable/contracts/token/ERC20/ERC20Upgradeable.sol":{"keccak256":"0x9a1766b1921bf91b3e61eb53c7a6e70725254befd4bdcbbcd3af40bd9f66856f","license":"MIT","urls":["bzz-raw://29bf2fa41a172086a665c9738377b93655aa4b1ffda9fe839c8bdf646f185040","dweb:/ipfs/QmeB21qDuo8WPQSrqXJbQmWHKsdeocGNSUWLhCwniVejrt"]},"lib/openzeppelin-contracts-upgradeable/contracts/token/ERC20/extensions/ERC4626Upgradeable.sol":{"keccak256":"0x965c2122f57aa6b11e715d089065310dc72d757a873a4c68a171950853fddbc1","license":"MIT","urls":["bzz-raw://1d7e6662194ed2fd5fc2dac10f2784b1da842c9de587e4cd27749ecf316a66a2","dweb:/ipfs/QmZRuDawtHCaJFTj3dtKiMaq7CMfQ1NnL31P8ApnvXvCHV"]},"lib/openzeppelin-contracts-upgradeable/contracts/utils/ContextUpgradeable.sol":{"keccak256":"0xdbef5f0c787055227243a7318ef74c8a5a1108ca3a07f2b3a00ef67769e1e397","license":"MIT","urls":["bzz-raw://08e39f23d5b4692f9a40803e53a8156b72b4c1f9902a88cd65ba964db103dab9","dweb:/ipfs/QmPKn6EYDgpga7KtpkA8wV2yJCYGMtc9K4LkJfhKX2RVSV"]},"lib/openzeppelin-contracts-upgradeable/contracts/utils/ReentrancyGuardUpgradeable.sol":{"keccak256":"0xb44e086e941292cdc7f440de51478493894ef0b1aeccb0c4047445919f667f74","license":"MIT","urls":["bzz-raw://942dad22fbdc1669f025540ba63aa3ccfad5f8458fc5d4525b31ebf272e7af45","dweb:/ipfs/Qmdo4X2M82aM3AMoW2kf2jhYkSCyC4T1pHNd6obdsDFnAB"]},"lib/openzeppelin-contracts-upgradeable/lib/openzeppelin-contracts/contracts/interfaces/IERC4626.sol":{"keccak256":"0x207f64371bc0fcc5be86713aa5da109a870cc3a6da50e93b64ee881e369b593d","license":"MIT","urls":["bzz-raw://548667cfa76683767c2c610b577f6c2f0675d0ce28f53c3f37b969c84a56b205","dweb:/ipfs/QmUzA1CKC6bDdULuS44wGd7PWBNLiHb6bh7oHwJBDZSLAx"]},"lib/openzeppelin-contracts-upgradeable/lib/openzeppelin-contracts/contracts/interfaces/draft-IERC1822.sol":{"keccak256":"0x2a1f9944df2015c081d89cd41ba22ffaf10aa6285969f0dc612b235cc448999c","license":"MIT","urls":["bzz-raw://ef381843676aec64421200ee85eaa0b1356a35f28b9fc67e746a6bbb832077d9","dweb:/ipfs/QmY8aorMYA2TeTCnu6ejDjzb4rW4t7TCtW4GZ6LoxTFm7v"]},"lib/openzeppelin-contracts-upgradeable/lib/openzeppelin-contracts/contracts/interfaces/draft-IERC6093.sol":{"keccak256":"0x60c65f701957fdd6faea1acb0bb45825791d473693ed9ecb34726fdfaa849dd7","license":"MIT","urls":["bzz-raw://ea290300e0efc4d901244949dc4d877fd46e6c5e43dc2b26620e8efab3ab803f","dweb:/ipfs/QmcLLJppxKeJWqHxE2CUkcfhuRTgHSn8J4kijcLa5MYhSt"]},"lib/openzeppelin-contracts-upgradeable/lib/openzeppelin-contracts/contracts/proxy/ERC1967/ERC1967Utils.sol":{"keccak256":"0x06a78f9b3ee3e6d0eb4e4cd635ba49960bea34cac1db8c0a27c75f2319f1fd65","license":"MIT","urls":["bzz-raw://547d21aa17f4f3f1a1a7edf7167beff8dd9496a0348d5588f15cc8a4b29d052a","dweb:/ipfs/QmT16JtRQSWNpLo9W23jr6CzaMuTAcQcjJJcdRd8HLJ6cE"]},"lib/openzeppelin-contracts-upgradeable/lib/openzeppelin-contracts/contracts/proxy/beacon/IBeacon.sol":{"keccak256":"0xc59a78b07b44b2cf2e8ab4175fca91e8eca1eee2df7357b8d2a8833e5ea1f64c","license":"MIT","urls":["bzz-raw://5aa4f07e65444784c29cd7bfcc2341b34381e4e5b5da9f0c5bd00d7f430e66fa","dweb:/ipfs/QmWRMh4Q9DpaU9GvsiXmDdoNYMyyece9if7hnfLz7uqzWM"]},"lib/openzeppelin-contracts-upgradeable/lib/openzeppelin-contracts/contracts/proxy/utils/UUPSUpgradeable.sol":{"keccak256":"0x3ffb56bcb175984a10b1167e2eba560876bfe96a435f5d62ffed8b1bb4ebc4c7","license":"MIT","urls":["bzz-raw://7db94af56aa20efb57c3f9003eacd884faad04118967d8e35cdffe07790bbdcd","dweb:/ipfs/QmXtAshRWFjcQ1kL7gpC5CiLUZgJ9uzrZyeHp2Sux9ojPF"]},"lib/openzeppelin-contracts-upgradeable/lib/openzeppelin-contracts/contracts/token/ERC20/IERC20.sol":{"keccak256":"0xc6a8ff0ea489379b61faa647490411b80102578440ab9d84e9a957cc12164e70","license":"MIT","urls":["bzz-raw://0ea104e577e63faea3b69c415637e99e755dcbf64c5833d7140c35a714d6d90c","dweb:/ipfs/Qmau6x4Ns9XdyynRCNNp3RhLqijJjFm7z5fyZazfYFGYdq"]},"lib/openzeppelin-contracts-upgradeable/lib/openzeppelin-contracts/contracts/token/ERC20/extensions/IERC20Metadata.sol":{"keccak256":"0xaa761817f6cd7892fcf158b3c776b34551cde36f48ff9703d53898bc45a94ea2","license":"MIT","urls":["bzz-raw://0ad7c8d4d08938c8dfc43d75a148863fb324b80cf53e0a36f7e5a4ac29008850","dweb:/ipfs/QmcrhfPgVNf5mkdhQvy1pMv51TFokD3Y4Wa5WZhFqVh8UV"]},"lib/openzeppelin-contracts-upgradeable/lib/openzeppelin-contracts/contracts/token/ERC20/extensions/IERC20Permit.sol":{"keccak256":"0x6008dabfe393240d73d7dd7688033f72740d570aa422254d29a7dce8568f3aff","license":"MIT","urls":["bzz-raw://f5196ec75139918c6c7bb4251b36395e668f1fa6d206beba7e7520e74913940d","dweb:/ipfs/QmSyqjksXxmm2mCG6qRd1yuwLykypkSVBbnBnGqJRcuJMi"]},"lib/openzeppelin-contracts-upgradeable/lib/openzeppelin-contracts/contracts/token/ERC20/utils/SafeERC20.sol":{"keccak256":"0x37bb49513c49c87c4642a891b13b63571bc87013dde806617aa1efb54605f386","license":"MIT","urls":["bzz-raw://b3036b3a83b7c48f96641f2a9002b9f2dcb6a5958dd670894ada21ae8229b3d0","dweb:/ipfs/QmUNfSBdoVtjhETaUJCYcaC7pTMgbhht926tJ2uXJbiVd3"]},"lib/openzeppelin-contracts-upgradeable/lib/openzeppelin-contracts/contracts/utils/Address.sol":{"keccak256":"0xaf28a975a78550e45f65e559a3ad6a5ad43b9b8a37366999abd1b7084eb70721","license":"MIT","urls":["bzz-raw://b7bd24e224f67f65bfadf85dc2929fa965456bb2415478bd0125471b5ce35245","dweb:/ipfs/QmRaydGr8BTHs1kvaZfsNU69pKzUAGFrvABn1KiRSbE51y"]},"lib/openzeppelin-contracts-upgradeable/lib/openzeppelin-contracts/contracts/utils/StorageSlot.sol":{"keccak256":"0x32ba59b4b7299237c8ba56319110989d7978a039faf754793064e967e5894418","license":"MIT","urls":["bzz-raw://1ae50c8b562427df610cc4540c9bf104acca7ef8e2dcae567ae7e52272281e9c","dweb:/ipfs/QmTHiadFCSJUPpRjNegc5SahmeU8bAoY8i9Aq6tVscbcKR"]},"lib/openzeppelin-contracts-upgradeable/lib/openzeppelin-contracts/contracts/utils/math/Math.sol":{"keccak256":"0x005ec64c6313f0555d59e278f9a7a5ab2db5bdc72a027f255a37c327af1ec02d","license":"MIT","urls":["bzz-raw://4ece9f0b9c8daca08c76b6b5405a6446b6f73b3a15fab7ff56e296cbd4a2c875","dweb:/ipfs/QmQyRpyPRL5SQuAgj6SHmbir3foX65FJjbVTTQrA2EFg6L"]},"src/helpers/v2/UpgraderTimelockUpgradeable.sol":{"keccak256":"0x1848a0f4b322be58296230963871e2f38cb90a0315e892c93dfc4552d330dc58","license":"MIT","urls":["bzz-raw://d7f159c1daa6055da7c6b9a181e0cc50b3ae4d1b164ea0a3e878bc013431da15","dweb:/ipfs/QmWRHU7fkw7osSetEGEgkYN3PYiKrvbjHatarqzAZAM41z"]},"src/interfaces/IStakedmsUSD.sol":{"keccak256":"0xb5244bd6ddfb8dba5bd1bb3ec0ac112eeb5fb779a834d18c27c9666f0b376a25","license":"MIT","urls":["bzz-raw://43f53aa0a7031da427fbdcda69c5e58b9ae66e2b42d943071cdb937171b577b8","dweb:/ipfs/QmZdsN3zX7mMTJ7jGQGF3pWxYrfqGrac1hYWTS2XHQ5b8J"]},"src/interfaces/ImsUSDV2.sol":{"keccak256":"0xbe0556312ac196b8d27e4969ee3590f70e45105ef4aa114cb3746b8e81ff7010","license":"MIT","urls":["bzz-raw://83d5715684f3e6e9a4ab2fea9419110042c29c49b955c121b1b4459d6449e313","dweb:/ipfs/QmchJDs4jHecEST7n2tSUaYfEmLqu6WsckS3viaiMZWw1M"]},"src/v2/StakedmsUSD.sol":{"keccak256":"0xae75d1b85885651a5b4ade5cbe907ed6c995cbc3fd3a0e99de6e61e1a057d981","license":"GPL-3.0","urls":["bzz-raw://8c070bd3149028521a6c7d98248eae29245d30d5157efd537dc13cf68e2a97f1","dweb:/ipfs/QmWeMfU8iVKeUsxj3kyDqFAQsCV1KXH3nAkgqnDoZoADLX"]},"src/v2/msUSDSilo.sol":{"keccak256":"0xf92149967c4a1c6ff536ab70aabd6d1a8225e5aff0cbeee8bcd1f5c57c62c94e","license":"GPL-3.0","urls":["bzz-raw://7e03a78c74cb8d2e1bce73cd710da488c63d3322a433e0c02dc4d89428f441be","dweb:/ipfs/QmSqj72CXMNgje5RSpYY8bNkYMGnaW1L9AFV9ueAkDyZQA"]}},"version":1},"storageLayout":{"types":{"t_bool":{"label":"bool","encoding":"inplace","numberOfBytes":"1"},"t_uint16":{"label":"uint16","encoding":"inplace","numberOfBytes":"2"},"t_uint24":{"label":"uint24","encoding":"inplace","numberOfBytes":"3"},"t_address":{"label":"address","encoding":"inplace","numberOfBytes":"20"},"t_uint104":{"label":"uint104","encoding":"inplace","numberOfBytes":"13"},"t_uint256":{"label":"uint256","encoding":"inplace","numberOfBytes":"32"},"t_contract(msUSDSilo)6314":{"label":"contract msUSDSilo","encoding":"inplace","numberOfBytes":"20"},"t_struct(UserCooldown)4950_storage":{"label":"struct UserCooldown","members":[{"slot":"0","type":"t_uint104","astId":4947,"label":"cooldownEnd","offset":0,"contract":"src/v2/StakedmsUSD.sol:StakedmsUSD"},{"slot":"1","type":"t_uint256","astId":4949,"label":"underlyingAmount","offset":0,"contract":"src/v2/StakedmsUSD.sol:StakedmsUSD"}],"encoding":"inplace","numberOfBytes":"64"},"t_mapping(t_address,t_struct(UserCooldown)4950_storage)":{"key":"t_address","label":"mapping(address => struct UserCooldown)","value":"t_struct(UserCooldown)4950_storage","encoding":"mapping","numberOfBytes":"32"}},"storage":[{"slot":"0","type":"t_uint256","astId":5254,"label":"lastDistributionTimestamp","offset":0,"contract":"src/v2/StakedmsUSD.sol:StakedmsUSD"},{"slot":"1","type":"t_mapping(t_address,t_struct(UserCooldown)4950_storage)","astId":5260,"label":"cooldowns","offset":0,"contract":"src/v2/StakedmsUSD.sol:StakedmsUSD"},{"slot":"2","type":"t_contract(msUSDSilo)6314","astId":5264,"label":"silo","offset":0,"contract":"src/v2/StakedmsUSD.sol:StakedmsUSD"},{"slot":"3","type":"t_address","astId":5267,"label":"rewarder","offset":0,"contract":"src/v2/StakedmsUSD.sol:StakedmsUSD"},{"slot":"4","type":"t_address","astId":5270,"label":"feeSilo","offset":0,"contract":"src/v2/StakedmsUSD.sol:StakedmsUSD"},{"slot":"4","type":"t_uint24","astId":5273,"label":"cooldownDuration","offset":20,"contract":"src/v2/StakedmsUSD.sol:StakedmsUSD"},{"slot":"4","type":"t_uint16","astId":5276,"label":"taxRate","offset":23,"contract":"src/v2/StakedmsUSD.sol:StakedmsUSD"},{"slot":"4","type":"t_bool","astId":5279,"label":"depositsEnabled","offset":25,"contract":"src/v2/StakedmsUSD.sol:StakedmsUSD"},{"slot":"5","type":"t_uint256","astId":5282,"label":"coverageRatio","offset":0,"contract":"src/v2/StakedmsUSD.sol:StakedmsUSD"}]},"transientStorageLayout":null,"userdoc":{"kind":"user","errors":{"AlreadySet()":[{"notice":"Error emitted when a value is already set"}],"InvalidRatio()":[{"notice":"Error emitted when a coverageRatio is greater than 1e18, breaking logic."}],"InvalidToken()":[{"notice":"Error emitted when owner attempts to rescue USDe tokens."}],"InvalidAmount()":[{"notice":"Error emitted shares or assets equal zero."}],"InvalidCooldown()":[{"notice":"Error emitted when cooldown value is invalid"}],"DepositsDisabled()":[{"notice":"Error emitted when a deposit is executed when deposits are disabled"}],"NothingToUnstake()":[{"notice":"Error emitted when a user attempts to unstake a cooldown of amount 0"}],"SlippageExceeded()":[{"notice":"Error emitted when slippage is exceeded on a deposit or withdrawal"}],"CoverageRatioZero()":[{"notice":"Error emitted when an unstake is performed while `coverageRatio` is set to 0."}],"InvalidZeroAddress()":[{"notice":"Error emitted when the zero address is given"}],"MinSharesViolation()":[{"notice":"Error emitted when a small non-zero share amount remains, which risks donations attack"}],"OperationNotAllowed()":[{"notice":"Error emitted when owner is not allowed to perform an operation"}],"NotAuthorized(address)":[{"notice":"Error emitted when a permissioned funciton is called by an unauthorized wallet"}],"ExcessiveRedeemAmount()":[{"notice":"Error emitted when the shares amount to redeem is greater than the shares balance of the owner"}],"ExcessiveWithdrawAmount()":[{"notice":"Error emitted when the shares amount to withdraw is greater than the shares balance of the owner"}],"CooldownNotFinished(uint256,uint256)":[{"notice":"Error emitted when a user attempts to unstake a cooldown that is not finished"}]},"events":{"AssetBurned(uint256)":{"notice":"Event emitted when `burnAsset` is executed."},"DepositsToggled(bool)":{"notice":"Event emitted when the boolean stored in depositsEnabled is updated"},"TaxRateUpdated(uint16)":{"notice":"Event emitted when the tax rate is updated."},"FeeSiloUpdated(address)":{"notice":"Event emitted when the fee silo address is updated"},"RewarderUpdated(address)":{"notice":"Event emitted when the rewarder address is updated"},"RewardsReceived(uint256)":{"notice":"Event emitted when the rewards are received"},"msUSDSiloUpdated(address)":{"notice":"Event emitted when the msUSD silo address is updated"},"SiloUpdated(address,address)":{"notice":"Event emitted when the silo address updates"},"CoverageRatioUpdated(uint256)":{"notice":"Event emitted when `coverageRatio` is updated."},"CooldownDurationUpdated(uint24,uint24)":{"notice":"Event emitted when cooldown duration updates"},"Unstake(address,address,uint256,uint256)":{"notice":"Event emitted when a user unstakes"},"CooldownEndtimeUpdated(address,uint256,uint256)":{"notice":"Event emitted when `updateExistingCooldown` is executed."},"LockedAmountRedistributed(address,address,uint256)":{"notice":"Event emitted when the balance from an FULL_RESTRICTED_STAKER_ROLE user are redistributed"}},"notice":"A liquid staking token for msUSD that enables users to earn yield while maintaining liquidity. Users can stake msUSD tokens to receive StakedmsUSD shares that appreciate in value as protocol rewards are distributed. The contract implements a flexible cooldown system that can be enabled or disabled to control withdrawal mechanics based on market conditions and protocol needs.","methods":{"silo()":{"notice":"The silo contract that holds assets during the cooldown period"},"feeSilo()":{"notice":"Stores the address of where fees are collected and distributed."},"taxRate()":{"notice":"Stores the % of each rewards mint that is sent to feeSilo."},"rewarder()":{"notice":"Address authorized to transfer rewards into the contract for distribution to stakers"},"MIN_SHARES()":{"notice":"Minimum non-zero shares amount to prevent donation attack"},"totalAssets()":{"notice":"Returns the amount of msUSD tokens that are inside the contract."},"upgradeDelay()":{"notice":"----------- getters -----------"},"coverageRatio()":{"notice":"Default is 1e18 which allows redeemer to collect 100% of their redemption post-cooldown. If <1e18, the redeemer cannot claim their total redemption of tokens."},"setSilo(address)":{"notice":"Sets the silo contract address that holds assets during cooldown periods"},"toggleDeposits()":{"notice":"Allows the owner to toggle the status stored in `depositsEnabled`."},"unstake(address)":{"notice":"Allows users to claim their assets after the cooldown period has ended"},"depositsEnabled()":{"notice":"If true, deposits are enabled."},"burnAsset(uint256)":{"notice":"Allows the owner to burn tokens from the vault, dropping price"},"cooldownDuration()":{"notice":"Duration in seconds that users must wait after initiating cooldown before they can unstake"},"cooldowns(address)":{"notice":"Mapping of user addresses to their cooldown information including end time and underlying asset amount"},"setTaxRate(uint16)":{"notice":"Sets the taxRate which is the % out of 1000 that is sent to feeSilo upon reward distribution"},"setFeeSilo(address)":{"notice":"Sets the feeSilo address which holds and distributes fees collected by the protocol"},"mintRewards(uint256)":{"notice":"Allows the owner to mint rewards into this contract."},"setRewarder(address)":{"notice":"Sets the address authorized to transfer rewards into the contract"},"MAX_COOLDOWN_DURATION()":{"notice":"Maximum cooldown duration"},"cancelScheduledUpgrade()":{"notice":"Cancels a scheduled upgrade."},"scheduleUpgrade(address)":{"notice":"Schedules an upgrade to a new implementation."},"setUpgradeDelay(uint256)":{"notice":"Sets the new upgrade delay."},"setCoverageRatio(uint256)":{"notice":"Allows the owner to update the value stored in `coverageRatio`."},"lastDistributionTimestamp()":{"notice":"The timestamp of the last asset distribution from the controller contract into this contract"},"setCooldownDuration(uint24)":{"notice":"Sets the cooldown duration for withdrawal requests"},"cooldownAssets(uint256,address)":{"notice":"redeem assets and starts a cooldown to claim the converted underlying asset"},"cooldownShares(uint256,address)":{"notice":"redeem shares into assets and starts a cooldown to claim the converted underlying asset"},"rescueTokens(address,uint256,address)":{"notice":"Allows the owner to rescue tokens accidentally sent to the contract. Note that the owner cannot rescue msUSD tokens because they functionally sit here and belong to stakers but can rescue staked msUSD as they should never actually sit in this contract and a staker may well transfer them here by accident."},"updateExistingCooldown(address,uint104)":{"notice":"Sets the cooldown endtime for an existing cooldown"},"initialize(address,address,address,string,string)":{"notice":"Initializes StakedmsUSD contract."}},"version":1},"devdoc":{"kind":"dev","title":"StakedmsUSD","author":"Mainstreet Labs","errors":{"FailedInnerCall()":[{"details":"A call to an address target failed. The target may have reverted."}],"NotInitializing()":[{"details":"The contract is not initializing."}],"ERC1967NonPayable()":[{"details":"An upgrade function sees `msg.value > 0` that may be lost."}],"MathOverflowedMulDiv()":[{"details":"Muldiv operation overflow."}],"InvalidInitialization()":[{"details":"The contract is already initialized."}],"AddressEmptyCode(address)":[{"details":"There's no code at `target` (it is not a contract)."}],"ERC20InvalidSender(address)":[{"params":{"sender":"Address whose tokens are being transferred."},"details":"Indicates a failure with the token `sender`. Used in transfers."}],"ERC20InvalidSpender(address)":[{"params":{"spender":"Address that may be allowed to operate on tokens without being their owner."},"details":"Indicates a failure with the `spender` to be approved. Used in approvals."}],"OwnableInvalidOwner(address)":[{"details":"The owner is not a valid owner account. (eg. `address(0)`)"}],"ERC20InvalidApprover(address)":[{"params":{"approver":"Address initiating an approval operation."},"details":"Indicates a failure with the `approver` of a token to be approved. Used in approvals."}],"ERC20InvalidReceiver(address)":[{"params":{"receiver":"Address to which tokens are being transferred."},"details":"Indicates a failure with the token `receiver`. Used in transfers."}],"UUPSUnauthorizedCallContext()":[{"details":"The call is from an unauthorized context."}],"ReentrancyGuardReentrantCall()":[{"details":"Unauthorized reentrant call."}],"SafeERC20FailedOperation(address)":[{"details":"An operation with an ERC20 token failed."}],"AddressInsufficientBalance(address)":[{"details":"The ETH balance of the account is not enough to perform the operation."}],"OwnableUnauthorizedAccount(address)":[{"details":"The caller account is not authorized to perform an operation."}],"ERC1967InvalidImplementation(address)":[{"details":"The `implementation` of the proxy is invalid."}],"UUPSUnsupportedProxiableUUID(bytes32)":[{"details":"The storage `slot` is unsupported as a UUID."}],"ERC4626ExceededMaxMint(address,uint256,uint256)":[{"details":"Attempted to mint more shares than the max amount for `receiver`."}],"ERC20InsufficientBalance(address,uint256,uint256)":[{"params":{"needed":"Minimum amount required to perform a transfer.","sender":"Address whose tokens are being transferred.","balance":"Current balance for the interacting account."},"details":"Indicates an error related to the current `balance` of a `sender`. Used in transfers."}],"ERC4626ExceededMaxRedeem(address,uint256,uint256)":[{"details":"Attempted to redeem more shares than the max amount for `receiver`."}],"ERC4626ExceededMaxDeposit(address,uint256,uint256)":[{"details":"Attempted to deposit more assets than the max amount for `receiver`."}],"ERC20InsufficientAllowance(address,uint256,uint256)":[{"params":{"needed":"Minimum amount required to perform a transfer.","spender":"Address that may be allowed to operate on tokens without being their owner.","allowance":"Amount of tokens a `spender` is allowed to operate with."},"details":"Indicates a failure with the `spender`’s `allowance`. Used in transfers."}],"ERC4626ExceededMaxWithdraw(address,uint256,uint256)":[{"details":"Attempted to withdraw more assets than the max amount for `receiver`."}]},"events":{"Upgraded(address)":{"details":"Emitted when the implementation is upgraded."},"Initialized(uint64)":{"details":"Triggered when the contract has been initialized or reinitialized."},"Approval(address,address,uint256)":{"details":"Emitted when the allowance of a `spender` for an `owner` is set by a call to {approve}. `value` is the new allowance."},"Transfer(address,address,uint256)":{"details":"Emitted when `value` tokens are moved from one account (`from`) to another (`to`). Note that `value` may be zero."}},"details":"This contract extends ERC4626 to provide vault functionality with dual operational modes: **Cooldown Disabled (cooldownDuration = 0):** - Operates as standard ERC4626 vault - Immediate withdrawals and redemptions available - Standard deposit, mint, withdraw, redeem functions work normally **Cooldown Enabled (cooldownDuration > 0):** - ERC4626 withdraw/redeem functions are disabled - Users must use cooldownAssets/cooldownShares to initiate withdrawals - Assets are transferred to a silo contract during cooldown period - After cooldown expires, users can claim assets via unstake function The contract features: - Donation attack protection via minimum shares requirement - Upgradeable implementation using UUPS pattern - Owner-controlled configuration of cooldown duration, key addresses, and coverage ratio","methods":{"name()":{"details":"Returns the name of the token."},"asset()":{"details":"See {IERC4626-asset}. "},"owner()":{"details":"Returns the address of the current owner."},"symbol()":{"details":"Returns the symbol of the token, usually a shorter version of the name."},"decimals()":{"details":"Decimals are computed by adding the decimal offset on top of the underlying asset's decimals. This \"original\" value is cached during construction of the vault contract. If this read operation fails (e.g., the asset has not been created yet), a default of 18 is used to represent the underlying asset's decimals. See {IERC20Metadata-decimals}."},"totalSupply()":{"details":"See {IERC20-totalSupply}."},"proxiableUUID()":{"details":"Implementation of the ERC1822 {proxiableUUID} function. This returns the storage slot used by the implementation. It is used to validate the implementation's compatibility when performing an upgrade. IMPORTANT: A proxy pointing at a proxiable contract should not be considered proxiable itself, because this risks bricking a proxy that upgrades to it, by delegating to itself until out of gas. Thus it is critical that this function revert if invoked through a proxy. This is guaranteed by the `notDelegated` modifier."},"maxMint(address)":{"details":"See {IERC4626-maxMint}. "},"setSilo(address)":{"params":{"_silo":"The new silo contract address"},"details":"Only callable by the contract owner. The silo must be deployed and configured before setting. Emits msUSDSiloUpdated event."},"toggleDeposits()":{"details":"When the boolean stored in `depositsEnabled` is true, deposits are enabled. Conversely, when the status is set to false, deposits are disabled."},"unstake(address)":{"params":{"receiver":"Address to send the assets to"},"details":"Can be called by anyone to claim their own assets. The cooldown must have expired and the user must have assets in cooldown. Transfers assets from silo to receiver."},"balanceOf(address)":{"details":"See {IERC20-balanceOf}."},"burnAsset(uint256)":{"params":{"amount":"Amount of tokens to burn from the vault"},"details":"Only used in situations of undercollateralization"},"maxRedeem(address)":{"details":"See {IERC4626-maxRedeem}. "},"setTaxRate(uint16)":{"params":{"newTaxRate":"The tax rate. Must be less than 1000."},"details":"Only callable by the contract owner. Emits TaxRateUpdated event."},"maxDeposit(address)":{"details":"See {IERC4626-maxDeposit}. "},"renounceOwnership()":{"details":"Leaves the contract without owner. It will not be possible to call `onlyOwner` functions. Can only be called by the current owner. NOTE: Renouncing ownership will leave the contract without an owner, thereby disabling any functionality that is only available to the owner."},"setFeeSilo(address)":{"params":{"_silo":"The new feeSilo contract address"},"details":"Only callable by the contract owner. Emits FeeSiloUpdated event."},"maxWithdraw(address)":{"details":"See {IERC4626-maxWithdraw}. "},"mintRewards(uint256)":{"params":{"amount":"The amount of rewards to mint."}},"previewMint(uint256)":{"details":"See {IERC4626-previewMint}. "},"setRewarder(address)":{"params":{"_rewarder":"The new rewarder address"},"details":"Only callable by the contract owner. Emits RewarderUpdated event."},"mint(uint256,address)":{"details":"See {IERC4626-mint}. As opposed to {deposit}, minting is allowed even if the vault is in a state where the price of a share is zero. In this case, the shares will be minted without requiring any assets to be deposited."},"previewRedeem(uint256)":{"details":"See {IERC4626-previewRedeem}. "},"previewDeposit(uint256)":{"details":"See {IERC4626-previewDeposit}. "},"approve(address,uint256)":{"details":"See {IERC20-approve}. NOTE: If `value` is the maximum `uint256`, the allowance is not updated on `transferFrom`. This is semantically equivalent to an infinite approval. Requirements: - `spender` cannot be the zero address."},"cancelScheduledUpgrade()":{"details":"This function clears the pending implementation and activation time."},"convertToAssets(uint256)":{"details":"See {IERC4626-convertToAssets}. "},"convertToShares(uint256)":{"details":"See {IERC4626-convertToShares}. "},"deposit(uint256,address)":{"details":"See {IERC4626-deposit}. "},"previewWithdraw(uint256)":{"details":"See {IERC4626-previewWithdraw}. "},"scheduleUpgrade(address)":{"params":{"newImpl":"The address of the new implementation contract."},"details":"The upgrade can be executed after the delay period has passed."},"setUpgradeDelay(uint256)":{"params":{"newDelay":"The new delay in seconds. Must be at least 1 hour"}},"setCoverageRatio(uint256)":{"params":{"_ratio":"New converage ratio"},"details":"If the value is set to <1e18, the total amount of redeemable tokens post-cooldown will be less than what was initially redeemable. Only used in serious situations when the system is not fully collateralized.If 1e18 -> Redeemer can redeem 100% post-cooldown. Conversly, if set to .9 * 1e18, only 90% of the requested tokens are redeemable, until the ratio is updated again."},"transfer(address,uint256)":{"details":"See {IERC20-transfer}. Requirements: - `to` cannot be the zero address. - the caller must have a balance of at least `value`."},"allowance(address,address)":{"details":"See {IERC20-allowance}."},"transferOwnership(address)":{"details":"Transfers ownership of the contract to a new account (`newOwner`). Can only be called by the current owner."},"setCooldownDuration(uint24)":{"params":{"duration":"Duration in seconds that users must wait before claiming assets (max 90 days)"},"details":"Only callable by the contract owner. Setting to 0 enables immediate withdrawals (ERC4626 mode). Setting to >0 enables cooldown mode where users must use cooldownAssets/cooldownShares. Emits CooldownDurationUpdated event."},"cooldownAssets(uint256,address)":{"params":{"owner":"address to redeem and start cooldown, owner must allowed caller to perform this action","assets":"assets to redeem"}},"cooldownShares(uint256,address)":{"params":{"owner":"address to redeem and start cooldown, owner must allowed caller to perform this action","shares":"shares to redeem"}},"redeem(uint256,address,address)":{"details":"See {IERC4626-redeem}."},"upgradeToAndCall(address,bytes)":{"details":"Upgrade the implementation of the proxy to `newImplementation`, and subsequently execute the function call encoded in `data`. Calls {_authorizeUpgrade}. Emits an {Upgraded} event.","custom:oz-upgrades-unsafe-allow-reachable":"delegatecall"},"withdraw(uint256,address,address)":{"details":"See {IERC4626-withdraw}."},"rescueTokens(address,uint256,address)":{"params":{"to":"Where to send rescued tokens","token":"The token to be rescued.","amount":"The amount of tokens to be rescued."}},"transferFrom(address,address,uint256)":{"details":"See {IERC20-transferFrom}. Emits an {Approval} event indicating the updated allowance. This is not required by the EIP. See the note at the beginning of {ERC20}. NOTE: Does not update the allowance if the current allowance is the maximum `uint256`. Requirements: - `from` and `to` cannot be the zero address. - `from` must have a balance of at least `value`. - the caller must have allowance for ``from``'s tokens of at least `value`."},"updateExistingCooldown(address,uint104)":{"params":{"account":"Account with existing cooldown","newCooldownEnd":"Account with existing cooldown"},"details":"Only callable by the contract owner."},"initialize(address,address,address,string,string)":{"params":{"_asset":"The address of the msUSD token.","_owner":"The address of the admin role.","_initialRewarder":"The address of the initial rewarder."}}},"version":1},"sourceIds":{"src/v2/msUSDSilo.sol":{"id":23},"src/v2/StakedmsUSD.sol":{"id":22},"src/interfaces/ImsUSDV2.sol":{"id":21},"src/interfaces/IStakedmsUSD.sol":{"id":20},"src/helpers/v2/UpgraderTimelockUpgradeable.sol":{"id":19},"lib/openzeppelin-contracts-upgradeable/contracts/utils/ContextUpgradeable.sol":{"id":4},"lib/openzeppelin-contracts-upgradeable/contracts/access/OwnableUpgradeable.sol":{"id":0},"lib/openzeppelin-contracts-upgradeable/contracts/proxy/utils/Initializable.sol":{"id":1},"lib/openzeppelin-contracts-upgradeable/contracts/token/ERC20/ERC20Upgradeable.sol":{"id":2},"lib/openzeppelin-contracts-upgradeable/contracts/utils/ReentrancyGuardUpgradeable.sol":{"id":5},"lib/openzeppelin-contracts-upgradeable/lib/openzeppelin-contracts/contracts/utils/Address.sol":{"id":16},"lib/openzeppelin-contracts-upgradeable/contracts/token/ERC20/extensions/ERC4626Upgradeable.sol":{"id":3},"lib/openzeppelin-contracts-upgradeable/lib/openzeppelin-contracts/contracts/utils/math/Math.sol":{"id":18},"lib/openzeppelin-contracts-upgradeable/lib/openzeppelin-contracts/contracts/utils/StorageSlot.sol":{"id":17},"lib/openzeppelin-contracts-upgradeable/lib/openzeppelin-contracts/contracts/token/ERC20/IERC20.sol":{"id":12},"lib/openzeppelin-contracts-upgradeable/lib/openzeppelin-contracts/contracts/interfaces/IERC4626.sol":{"id":6},"lib/openzeppelin-contracts-upgradeable/lib/openzeppelin-contracts/contracts/proxy/beacon/IBeacon.sol":{"id":10},"lib/openzeppelin-contracts-upgradeable/lib/openzeppelin-contracts/contracts/interfaces/draft-IERC1822.sol":{"id":7},"lib/openzeppelin-contracts-upgradeable/lib/openzeppelin-contracts/contracts/interfaces/draft-IERC6093.sol":{"id":8},"lib/openzeppelin-contracts-upgradeable/lib/openzeppelin-contracts/contracts/proxy/ERC1967/ERC1967Utils.sol":{"id":9},"lib/openzeppelin-contracts-upgradeable/lib/openzeppelin-contracts/contracts/proxy/utils/UUPSUpgradeable.sol":{"id":11},"lib/openzeppelin-contracts-upgradeable/lib/openzeppelin-contracts/contracts/token/ERC20/utils/SafeERC20.sol":{"id":15},"lib/openzeppelin-contracts-upgradeable/lib/openzeppelin-contracts/contracts/token/ERC20/extensions/IERC20Permit.sol":{"id":14},"lib/openzeppelin-contracts-upgradeable/lib/openzeppelin-contracts/contracts/token/ERC20/extensions/IERC20Metadata.sol":{"id":13}},"additionalInput":null,"stdJsonInput":{"sources":{"src/v2/msUSDSilo.sol":{"content":"// SPDX-License-Identifier: GPL-3.0\npragma solidity ^0.8.0;\n\nimport \"@openzeppelin/contracts/token/ERC20/IERC20.sol\";\nimport \"@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol\";\n\n/**\n * @title msUSDSilo\n * @notice The Silo allows to store msUSD during the stake cooldown process.\n */\ncontract msUSDSilo {\n    using SafeERC20 for IERC20;\n\n    address immutable STAKING_VAULT;\n    IERC20 immutable ASSET;\n\n    /// @notice Error emitted when the staking vault is not the caller\n    error OnlyStakingVault();\n\n    constructor(address stakingVault, address _asset) {\n        STAKING_VAULT = stakingVault;\n        ASSET = IERC20(_asset);\n    }\n\n    modifier onlyStakingVault() {\n        if (msg.sender != STAKING_VAULT) revert OnlyStakingVault();\n        _;\n    }\n\n    function withdraw(address to, uint256 amount) external onlyStakingVault {\n        ASSET.transfer(to, amount);\n    }\n}\n"},"src/v2/StakedmsUSD.sol":{"content":"// SPDX-License-Identifier: GPL-3.0\npragma solidity ^0.8.20;\n\nimport {UUPSUpgradeable} from \"@openzeppelin/contracts/proxy/utils/UUPSUpgradeable.sol\";\nimport {ERC4626Upgradeable} from \"@openzeppelin/contracts-upgradeable/token/ERC20/extensions/ERC4626Upgradeable.sol\";\nimport {SafeERC20} from \"@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol\";\nimport {ReentrancyGuardUpgradeable} from \"@openzeppelin/contracts-upgradeable/utils/ReentrancyGuardUpgradeable.sol\";\nimport {OwnableUpgradeable} from \"@openzeppelin/contracts-upgradeable/access/OwnableUpgradeable.sol\";\nimport {IERC20} from \"@openzeppelin/contracts/token/ERC20/IERC20.sol\";\nimport {IStakedmsUSD, UserCooldown} from \"../interfaces/IStakedmsUSD.sol\";\nimport {ImsUSDV2} from \"../interfaces/ImsUSDV2.sol\";\nimport {msUSDSilo} from \"./msUSDSilo.sol\";\nimport {UpgraderTimelockUpgradeable} from \"../helpers/v2/UpgraderTimelockUpgradeable.sol\";\n\n/**\n * @title StakedmsUSD\n * @author Mainstreet Labs\n * @notice A liquid staking token for msUSD that enables users to earn yield while maintaining liquidity.\n * Users can stake msUSD tokens to receive StakedmsUSD shares that appreciate in value as protocol rewards\n * are distributed. The contract implements a flexible cooldown system that can be enabled or disabled\n * to control withdrawal mechanics based on market conditions and protocol needs.\n * @dev This contract extends ERC4626 to provide vault functionality with dual operational modes:\n *\n * **Cooldown Disabled (cooldownDuration = 0):**\n * - Operates as standard ERC4626 vault\n * - Immediate withdrawals and redemptions available\n * - Standard deposit, mint, withdraw, redeem functions work normally\n *\n * **Cooldown Enabled (cooldownDuration > 0):**\n * - ERC4626 withdraw/redeem functions are disabled\n * - Users must use cooldownAssets/cooldownShares to initiate withdrawals\n * - Assets are transferred to a silo contract during cooldown period\n * - After cooldown expires, users can claim assets via unstake function\n *\n * The contract features:\n * - Donation attack protection via minimum shares requirement\n * - Upgradeable implementation using UUPS pattern\n * - Owner-controlled configuration of cooldown duration, key addresses, and coverage ratio\n */\ncontract StakedmsUSD is\n    UUPSUpgradeable,\n    OwnableUpgradeable,\n    ReentrancyGuardUpgradeable,\n    ERC4626Upgradeable,\n    IStakedmsUSD,\n    UpgraderTimelockUpgradeable\n{\n    using SafeERC20 for IERC20;\n\n    /* ------------- CONSTANTS ------------- */\n\n    /// @notice Minimum non-zero shares amount to prevent donation attack\n    uint256 public constant MIN_SHARES = 1 ether;\n    /// @notice Maximum cooldown duration\n    uint24 public constant MAX_COOLDOWN_DURATION = 90 days;\n\n    /* ------------- STATE VARIABLES ------------- */\n\n    /// @notice The timestamp of the last asset distribution from the controller contract into this contract\n    uint256 public lastDistributionTimestamp;\n\n    /// @notice Mapping of user addresses to their cooldown information including end time and underlying asset amount\n    mapping(address => UserCooldown) public cooldowns;\n\n    /// @notice The silo contract that holds assets during the cooldown period\n    msUSDSilo public silo;\n\n    /// @notice Address authorized to transfer rewards into the contract for distribution to stakers\n    address public rewarder;\n\n    /// @notice Stores the address of where fees are collected and distributed.\n    address public feeSilo;\n\n    /// @notice Duration in seconds that users must wait after initiating cooldown before they can unstake\n    uint24 public cooldownDuration;\n\n    /// @notice Stores the % of each rewards mint that is sent to feeSilo.\n    uint16 public taxRate;\n\n    /// @notice If true, deposits are enabled.\n    bool public depositsEnabled;\n\n    /// @notice Default is 1e18 which allows redeemer to collect 100% of their redemption post-cooldown.\n    /// If <1e18, the redeemer cannot claim their total redemption of tokens.\n    uint256 public coverageRatio;\n\n    /* ------------- MODIFIERS ------------- */\n\n    /// @notice ensure input amount nonzero\n    modifier notZero(uint256 amount) {\n        if (amount == 0) revert InvalidAmount();\n        _;\n    }\n\n    /// @notice ensure cooldownDuration is zero\n    modifier ensureCooldownOff() {\n        if (cooldownDuration != 0) revert OperationNotAllowed();\n        _;\n    }\n\n    /// @notice ensure cooldownDuration is gt 0\n    modifier ensureCooldownOn() {\n        if (cooldownDuration == 0) revert OperationNotAllowed();\n        _;\n    }\n\n    /// @notice Ensures caller is rewarder\n    modifier onlyRewarder() {\n        if (msg.sender != rewarder && msg.sender != owner()) revert NotAuthorized(msg.sender);\n        _;\n    }\n\n    /// @notice Ensures deposits are enabled\n    modifier ensureDepositsEnabled() {\n        if (!depositsEnabled) revert DepositsDisabled();\n        _;\n    }\n\n    /// @notice ensures owner authorization for timelocked functions\n    modifier onlyTimelockOwner() override {\n        if (msg.sender != owner()) revert OwnableUnauthorizedAccount(msg.sender);\n        _;\n    }\n\n    /* ------------- CONSTRUCTOR ------------- */\n\n    constructor() {\n        _disableInitializers();\n    }\n\n    /**\n     * @notice Initializes StakedmsUSD contract.\n     * @param _asset The address of the msUSD token.\n     * @param _initialRewarder The address of the initial rewarder.\n     * @param _owner The address of the admin role.\n     */\n    function initialize(\n        address _asset,\n        address _initialRewarder,\n        address _owner,\n        string calldata _name,\n        string calldata _symbol\n    ) public initializer {\n        if (_owner == address(0) || _initialRewarder == address(0) || address(_asset) == address(0)) {\n            revert InvalidZeroAddress();\n        }\n\n        __ERC20_init(_name, _symbol);\n        __ERC4626_init(IERC20(_asset));\n        __Ownable_init(_owner);\n        __ReentrancyGuard_init();\n        __UpgradeTimelock_init();\n\n        coverageRatio = 1e18;\n        depositsEnabled = true;\n        cooldownDuration = 7 days;\n        rewarder = _initialRewarder;\n    }\n\n    function _authorizeUpgrade(address newImpl) internal override onlyOwner {\n        // will revert unless scheduled and delay passed\n        _checkTimelock(newImpl);\n    }\n\n    /* ------------- EXTERNAL ------------- */\n\n    /**\n     * @notice Allows the owner to mint rewards into this contract.\n     * @param amount The amount of rewards to mint.\n     */\n    function mintRewards(uint256 amount) external nonReentrant onlyRewarder notZero(amount) {\n        lastDistributionTimestamp = block.timestamp;\n        if (taxRate != 0 && feeSilo != address(0)) {\n            uint256 fee = amount * taxRate / 1000;\n            ImsUSDV2(asset()).mint(feeSilo, fee);\n            amount = amount - fee;\n        }\n        ImsUSDV2(asset()).mint(address(this), amount);\n        emit RewardsReceived(amount);\n    }\n\n    /**\n     * @notice Allows the owner to toggle the status stored in `depositsEnabled`.\n     * @dev When the boolean stored in `depositsEnabled` is true, deposits are enabled.\n     * Conversely, when the status is set to false, deposits are disabled.\n     */\n    function toggleDeposits() external onlyOwner {\n        depositsEnabled = !depositsEnabled;\n        emit DepositsToggled(depositsEnabled);\n    }\n\n    /**\n     * @notice Allows the owner to update the value stored in `coverageRatio`.\n     * @dev If the value is set to <1e18, the total amount of redeemable tokens post-cooldown\n     * will be less than what was initially redeemable. Only used in serious situations when the\n     * system is not fully collateralized.\n     * @dev If 1e18 -> Redeemer can redeem 100% post-cooldown. Conversly, if set to .9 * 1e18,\n     * only 90% of the requested tokens are redeemable, until the ratio is updated again.\n     * @param _ratio New converage ratio\n     */\n    function setCoverageRatio(uint256 _ratio) external onlyOwner {\n        if (_ratio == coverageRatio) revert AlreadySet();\n        if (_ratio > 1e18) revert InvalidRatio();\n        emit CoverageRatioUpdated(_ratio);\n        coverageRatio = _ratio;\n    }\n\n    /**\n     * @notice Sets the address authorized to transfer rewards into the contract\n     * @dev Only callable by the contract owner. Emits RewarderUpdated event.\n     * @param _rewarder The new rewarder address\n     */\n    function setRewarder(address _rewarder) external onlyOwner {\n        if (_rewarder == address(0)) revert InvalidZeroAddress();\n        if (rewarder == _rewarder) revert AlreadySet();\n        emit RewarderUpdated(_rewarder);\n        rewarder = _rewarder;\n    }\n\n    /**\n     * @notice Sets the silo contract address that holds assets during cooldown periods\n     * @dev Only callable by the contract owner. The silo must be deployed and configured\n     * before setting. Emits msUSDSiloUpdated event.\n     * @param _silo The new silo contract address\n     */\n    function setSilo(address _silo) external onlyOwner {\n        if (_silo == address(0)) revert InvalidZeroAddress();\n        if (address(silo) == _silo) revert AlreadySet();\n        emit msUSDSiloUpdated(_silo);\n        silo = msUSDSilo(_silo);\n    }\n\n    /**\n     * @notice Sets the feeSilo address which holds and distributes fees collected by the protocol\n     * @dev Only callable by the contract owner. Emits FeeSiloUpdated event.\n     * @param _silo The new feeSilo contract address\n     */\n    function setFeeSilo(address _silo) external onlyOwner {\n        if (_silo == address(0)) revert InvalidZeroAddress();\n        if (feeSilo == _silo) revert AlreadySet();\n        emit FeeSiloUpdated(_silo);\n        feeSilo = _silo;\n    }\n\n    /**\n     * @notice Sets the taxRate which is the % out of 1000 that is sent to feeSilo upon reward distribution\n     * @dev Only callable by the contract owner. Emits TaxRateUpdated event.\n     * @param newTaxRate The tax rate. Must be less than 1000.\n     */\n    function setTaxRate(uint16 newTaxRate) external onlyOwner {\n        require(newTaxRate < 1000, \"Tax cannot be 100% - Must be less than 1000\");\n        if (taxRate == newTaxRate) revert AlreadySet();\n        emit TaxRateUpdated(newTaxRate);\n        taxRate = newTaxRate;\n    }\n\n    /**\n     * @notice Allows the owner to rescue tokens accidentally sent to the contract.\n     * Note that the owner cannot rescue msUSD tokens because they functionally sit here\n     * and belong to stakers but can rescue staked msUSD as they should never actually\n     * sit in this contract and a staker may well transfer them here by accident.\n     * @param token The token to be rescued.\n     * @param amount The amount of tokens to be rescued.\n     * @param to Where to send rescued tokens\n     */\n    function rescueTokens(address token, uint256 amount, address to) external onlyOwner {\n        if (address(token) == asset()) revert InvalidToken();\n        IERC20(token).safeTransfer(to, amount);\n    }\n\n    /**\n     * @notice Allows the owner to burn tokens from the vault, dropping price\n     * @dev Only used in situations of undercollateralization\n     * @param amount Amount of tokens to burn from the vault\n     */\n    function burnAsset(uint256 amount) external onlyOwner {\n        emit AssetBurned(amount);\n        ImsUSDV2(asset()).burn(amount);\n    }\n\n    /**\n     * @notice Allows users to claim their assets after the cooldown period has ended\n     * @dev Can be called by anyone to claim their own assets. The cooldown must have expired\n     * and the user must have assets in cooldown. Transfers assets from silo to receiver.\n     * @param receiver Address to send the assets to\n     */\n    function unstake(address receiver) external nonReentrant {\n        UserCooldown storage userCooldown = cooldowns[msg.sender];\n        uint256 assets = userCooldown.underlyingAmount;\n\n        if (userCooldown.cooldownEnd > block.timestamp) {\n            revert CooldownNotFinished(block.timestamp, userCooldown.cooldownEnd);\n        }\n        if (assets == 0) revert NothingToUnstake();\n        if (coverageRatio == 0) revert CoverageRatioZero();\n\n        userCooldown.cooldownEnd = 0;\n        userCooldown.underlyingAmount = 0;\n\n        uint256 amountForRedeemer = assets;\n\n        if (coverageRatio < 1e18) {\n            amountForRedeemer = assets * coverageRatio / 1e18;\n            uint256 amountForBurn = assets - amountForRedeemer;\n            silo.withdraw(address(this), amountForBurn);\n            ImsUSDV2(asset()).burn(amountForBurn);\n        }\n\n        emit Unstake(msg.sender, receiver, assets, amountForRedeemer);\n\n        silo.withdraw(receiver, amountForRedeemer);\n    }\n\n    /**\n     * @notice redeem assets and starts a cooldown to claim the converted underlying asset\n     * @param assets assets to redeem\n     * @param owner address to redeem and start cooldown, owner must allowed caller to perform this action\n     */\n    function cooldownAssets(uint256 assets, address owner) external ensureCooldownOn returns (uint256) {\n        if (assets > maxWithdraw(owner)) revert ExcessiveWithdrawAmount();\n\n        uint256 shares = previewWithdraw(assets);\n\n        cooldowns[owner].cooldownEnd = uint104(block.timestamp) + cooldownDuration;\n        cooldowns[owner].underlyingAmount += assets;\n\n        _withdraw(_msgSender(), address(silo), owner, assets, shares);\n\n        return shares;\n    }\n\n    /**\n     * @notice redeem shares into assets and starts a cooldown to claim the converted underlying asset\n     * @param shares shares to redeem\n     * @param owner address to redeem and start cooldown, owner must allowed caller to perform this action\n     */\n    function cooldownShares(uint256 shares, address owner) external ensureCooldownOn returns (uint256) {\n        if (shares > maxRedeem(owner)) revert ExcessiveRedeemAmount();\n\n        uint256 assets = previewRedeem(shares);\n\n        cooldowns[owner].cooldownEnd = uint104(block.timestamp) + cooldownDuration;\n        cooldowns[owner].underlyingAmount += assets;\n\n        _withdraw(_msgSender(), address(silo), owner, assets, shares);\n\n        return assets;\n    }\n\n    /**\n     * @notice Sets the cooldown duration for withdrawal requests\n     * @dev Only callable by the contract owner. Setting to 0 enables immediate withdrawals (ERC4626 mode).\n     * Setting to >0 enables cooldown mode where users must use cooldownAssets/cooldownShares.\n     * Emits CooldownDurationUpdated event.\n     * @param duration Duration in seconds that users must wait before claiming assets (max 90 days)\n     */\n    function setCooldownDuration(uint24 duration) external onlyOwner {\n        if (duration > MAX_COOLDOWN_DURATION) revert InvalidCooldown();\n\n        uint24 previousDuration = cooldownDuration;\n        cooldownDuration = duration;\n        emit CooldownDurationUpdated(previousDuration, cooldownDuration);\n    }\n\n    /**\n     * @notice Sets the cooldown endtime for an existing cooldown\n     * @dev Only callable by the contract owner.\n     * @param account Account with existing cooldown\n     * @param newCooldownEnd Account with existing cooldown\n     */\n    function updateExistingCooldown(address account, uint104 newCooldownEnd) external onlyOwner {\n        UserCooldown storage userCooldown = cooldowns[account];\n        if (userCooldown.cooldownEnd == 0) revert InvalidCooldown();\n\n        emit CooldownEndtimeUpdated(account, userCooldown.cooldownEnd, newCooldownEnd);\n\n        userCooldown.cooldownEnd = newCooldownEnd;\n    }\n\n    /* ------------- PUBLIC ------------- */\n\n    /**\n     * @dev See {IERC4626-withdraw}.\n     */\n    function withdraw(uint256 assets, address receiver, address owner)\n        public\n        override\n        ensureCooldownOff\n        returns (uint256)\n    {\n        return super.withdraw(assets, receiver, owner);\n    }\n\n    /**\n     * @dev See {IERC4626-redeem}.\n     */\n    function redeem(uint256 shares, address receiver, address owner)\n        public\n        override\n        ensureCooldownOff\n        returns (uint256)\n    {\n        return super.redeem(shares, receiver, owner);\n    }\n\n    /**\n     * @notice Returns the amount of msUSD tokens that are inside the contract.\n     */\n    function totalAssets() public view override returns (uint256) {\n        return IERC20(asset()).balanceOf(address(this));\n    }\n\n    /* ------------- INTERNAL ------------- */\n\n    /// @notice ensures a small non-zero amount of shares does not remain, exposing to donation attack\n    function _checkMinShares() internal view {\n        uint256 _totalSupply = totalSupply();\n        if (_totalSupply > 0 && _totalSupply < MIN_SHARES) revert MinSharesViolation();\n    }\n\n    /**\n     * @dev Deposit/mint common workflow.\n     * @param caller sender of assets\n     * @param receiver where to send shares\n     * @param assets assets to deposit\n     * @param shares shares to mint\n     */\n    function _deposit(address caller, address receiver, uint256 assets, uint256 shares)\n        internal\n        override\n        nonReentrant\n        ensureDepositsEnabled\n        notZero(assets)\n        notZero(shares)\n    {\n        super._deposit(caller, receiver, assets, shares);\n        _checkMinShares();\n    }\n\n    /**\n     * @dev Withdraw/redeem common workflow.\n     * @param caller tx sender\n     * @param receiver where to send assets\n     * @param _owner where to burn shares from\n     * @param assets asset amount to transfer out\n     * @param shares shares to burn\n     */\n    function _withdraw(address caller, address receiver, address _owner, uint256 assets, uint256 shares)\n        internal\n        override\n        nonReentrant\n        notZero(assets)\n        notZero(shares)\n    {\n        super._withdraw(caller, receiver, _owner, assets, shares);\n        _checkMinShares();\n    }\n}\n"},"src/interfaces/ImsUSDV2.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity ^0.8.19;\n\nimport \"@openzeppelin/contracts/token/ERC20/IERC20.sol\";\n\ninterface ImsUSDV2 is IERC20 {\n    /// @dev This event is fired when the minter changes.\n    event MinterUpdated(address indexed newMinter, address indexed oldMinter);\n    /// @dev This event is emitted when the supply limit is updated.\n    event SupplyLimitUpdated(uint256 indexed newSupplyLimit);\n    /// @dev This event is emitted when the stakedmsUSD address is updated.\n    event StakedmsUSDUpdated(address indexed newStakedmsUSD, address indexed oldStakedmsUSD);\n\n\n    /// @dev Error emitted when totalSupply exceeds `supplyLimit`.\n    error SupplyLimitExceeded();\n    /// @dev Zero address not allowed.\n    error ZeroAddressException();\n    /// @dev It's not possible to renounce the ownership.\n    error CantRenounceOwnership();\n    /// @dev Emitted when msg.sender is not authorized.\n    error NotAuthorized(address account);\n\n    /// @dev Allows the `minter` to mint more msUSD tokens to a specified `to` address.\n    function mint(address _to, uint256 _amount) external;\n    /// @dev Burns `amount` tokens from msg.sender.\n    function burn(uint256 _amount) external;\n    /// @dev Burns `amount` of tokens from `account`, given approval from `account`.\n    function burnFrom(address account, uint256 amount) external;\n    /// @dev Allows the owner to update the `minter` state variable.\n    function setMinter(address newMinter) external;\n    /// @dev Allows owner to set a ceiling on msUSD total supply to throttle minting.\n    function setSupplyLimit(uint256 limit) external;\n}\n"},"src/interfaces/IStakedmsUSD.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity ^0.8.19;\n\nstruct UserCooldown {\n    uint104 cooldownEnd;\n    uint256 underlyingAmount;\n}\n\ninterface IStakedmsUSD {\n    // Events //\n    /// @notice Event emitted when the rewards are received\n    event RewardsReceived(uint256 indexed amount);\n    /// @notice Event emitted when the balance from an FULL_RESTRICTED_STAKER_ROLE user are redistributed\n    event LockedAmountRedistributed(\n        address indexed from,\n        address indexed to,\n        uint256 amount\n    );\n    /// @notice Event emitted when cooldown duration updates\n    event CooldownDurationUpdated(uint24 previousDuration, uint24 newDuration);\n    /// @notice Event emitted when the silo address updates\n    event SiloUpdated(address previousSilo, address newSilo);\n    /// @notice Event emitted when the rewarder address is updated\n    event RewarderUpdated(address);\n    /// @notice Event emitted when the msUSD silo address is updated\n    event msUSDSiloUpdated(address);\n    /// @notice Event emitted when the fee silo address is updated\n    event FeeSiloUpdated(address);\n    /// @notice Event emitted when a user unstakes\n    event Unstake(address caller, address receiver, uint256 assets, uint256 amountForRedeemer);\n    /// @notice Event emitted when the tax rate is updated.\n    event TaxRateUpdated(uint16);\n    /// @notice Event emitted when the boolean stored in depositsEnabled is updated\n    event DepositsToggled(bool);\n    /// @notice Event emitted when `coverageRatio` is updated.\n    event CoverageRatioUpdated(uint256);\n    /// @notice Event emitted when `burnAsset` is executed.\n    event AssetBurned(uint256);\n    /// @notice Event emitted when `updateExistingCooldown` is executed.\n    event CooldownEndtimeUpdated(address account, uint256 oldTime, uint256 newTime);\n\n    // Errors //\n    /// @notice Error emitted shares or assets equal zero.\n    error InvalidAmount();\n    /// @notice Error emitted when owner attempts to rescue USDe tokens.\n    error InvalidToken();\n    /// @notice Error emitted when slippage is exceeded on a deposit or withdrawal\n    error SlippageExceeded();\n    /// @notice Error emitted when a small non-zero share amount remains, which risks donations attack\n    error MinSharesViolation();\n    /// @notice Error emitted when owner is not allowed to perform an operation\n    error OperationNotAllowed();\n    /// @notice Error emitted when the zero address is given\n    error InvalidZeroAddress();\n    /// @notice Error emitted when the shares amount to redeem is greater than the shares balance of the owner\n    error ExcessiveRedeemAmount();\n    /// @notice Error emitted when the shares amount to withdraw is greater than the shares balance of the owner\n    error ExcessiveWithdrawAmount();\n    /// @notice Error emitted when cooldown value is invalid\n    error InvalidCooldown();\n    /// @notice Error emitted when a permissioned funciton is called by an unauthorized wallet\n    error NotAuthorized(address);\n    /// @notice Error emitted when a value is already set\n    error AlreadySet();\n    /// @notice Error emitted when a user attempts to unstake a cooldown that is not finished\n    error CooldownNotFinished(uint256 currentTimestamp, uint256 endTimestamp);\n    /// @notice Error emitted when a user attempts to unstake a cooldown of amount 0\n    error NothingToUnstake();\n    /// @notice Error emitted when a deposit is executed when deposits are disabled\n    error DepositsDisabled();\n    /// @notice Error emitted when an unstake is performed while `coverageRatio` is set to 0.\n    error CoverageRatioZero();\n    /// @notice Error emitted when a coverageRatio is greater than 1e18, breaking logic.\n    error InvalidRatio();\n\n    function mintRewards(uint256 amount) external;\n\n    function rescueTokens(address token, uint256 amount, address to) external;\n\n    function cooldownAssets(\n        uint256 assets,\n        address owner\n    ) external returns (uint256 shares);\n\n    function cooldownShares(\n        uint256 shares,\n        address owner\n    ) external returns (uint256 assets);\n\n    function unstake(address receiver) external;\n\n    function setCooldownDuration(uint24 duration) external;\n}\n"},"src/helpers/v2/UpgraderTimelockUpgradeable.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity ^0.8.20;\n\nimport {Initializable} from \"@openzeppelin/contracts-upgradeable/proxy/utils/Initializable.sol\";\n\n/**\n * @title UpgraderTimelockUpgradeable\n * @author Mainstreet Labs\n * @notice A simple timelock contract to delay upgrades performed by the Upgrader contract. It\n * allows scheduling an upgrade to a new implementation after a specified delay period.\n * @dev This contract is designed to work with UUPSUpgradeable contracts. It handles the address of new\n * implementation and the timestamp when the upgrade can be executed. It also has configurable delay.\n */\n\nabstract contract UpgraderTimelockUpgradeable is Initializable {\n    uint256 public constant DEFAULT_UPGRADE_DELAY = 1 days;\n\n    /// @custom:storage-location erc7201:mainstreet.UpgraderTimelockUpgradeable\n    struct UpgraderTimelockStorage {\n        uint256 upgradeDelay;\n        address pendingImplementation;\n        uint256 activationTime;\n    }\n\n    // keccak256(abi.encode(uint256(keccak256(\"mainstreet.UpgraderTimelockUpgradeable\")) - 1)) & ~bytes32(uint256(0xff))\n    bytes32 private constant UpgraderTimelockLocation =\n        0xa9f7ef5782100b08bddb9be7a16303ba138e26e6df1a3e56c7be0bac217aa800;\n\n    function _getUpgraderTimelockStorage() private pure returns (UpgraderTimelockStorage storage $) {\n        // slither-disable-next-line assembly\n        assembly {\n            $.slot := UpgraderTimelockLocation\n        }\n    }\n\n    event UpgradeScheduled(address indexed newImplementation, uint256 availableAt);\n    event UpgradeCanceled(address indexed canceledImplementation);\n    event UpgradeDelayUpdated(uint256 oldDelay, uint256 newDelay);\n\n    error NullAddress();\n    error DelayNotPassed();\n    error ImplementationMismatch();\n    error MinDelayNotMet();\n\n    // ----------- initializer -----------\n    function __UpgradeTimelock_init() internal onlyInitializing {\n        UpgraderTimelockStorage storage $ = _getUpgraderTimelockStorage();\n        $.upgradeDelay = 1 days;\n    }\n\n    // ----------- timelock owner hook -----------\n    /// @notice Must be overridden by inheritor to restrict scheduling/canceling.\n    modifier onlyTimelockOwner() virtual {\n        _;\n    }\n\n    /**\n     * @notice Sets the new upgrade delay.\n     * @param newDelay The new delay in seconds. Must be at least 1 hour\n     */\n    function setUpgradeDelay(uint256 newDelay) external onlyTimelockOwner {\n        // can't be less than 1 hour\n        if (newDelay < 3600) revert MinDelayNotMet();\n\n        uint256 _upgradeDelay = upgradeDelay();\n        emit UpgradeDelayUpdated(_upgradeDelay, newDelay);\n        UpgraderTimelockStorage storage $ = _getUpgraderTimelockStorage();\n        $.upgradeDelay = newDelay;\n    }\n\n    /**\n     * @notice Schedules an upgrade to a new implementation.\n     * @param newImpl The address of the new implementation contract.\n     * @dev The upgrade can be executed after the delay period has passed.\n     */\n    function scheduleUpgrade(address newImpl) external onlyTimelockOwner {\n        if (newImpl == address(0)) revert NullAddress();\n\n        UpgraderTimelockStorage storage $ = _getUpgraderTimelockStorage();\n        $.pendingImplementation = newImpl;\n        uint256 _upgradeDelay = $.upgradeDelay == 0 ? DEFAULT_UPGRADE_DELAY : $.upgradeDelay;\n        $.activationTime = block.timestamp + _upgradeDelay;\n        emit UpgradeScheduled(newImpl, $.activationTime);\n    }\n\n    /**\n     * @notice Cancels a scheduled upgrade.\n     * @dev This function clears the pending implementation and activation time.\n     */\n    function cancelScheduledUpgrade() external onlyTimelockOwner {\n        UpgraderTimelockStorage storage $ = _getUpgraderTimelockStorage();\n        emit UpgradeCanceled($.pendingImplementation);\n        $.pendingImplementation = address(0);\n        $.activationTime = 0;\n    }\n\n    /**\n     * @notice Checks if the upgrade can be executed.\n     * @param newImpl The address of the new implementation contract.\n     * @dev Reverts if the new implementation does not match the pending one or if the delay has not passed.\n     */\n    function _checkTimelock(address newImpl) internal {\n        UpgraderTimelockStorage storage $ = _getUpgraderTimelockStorage();\n        if (newImpl != $.pendingImplementation) revert ImplementationMismatch();\n        if (block.timestamp < $.activationTime) revert DelayNotPassed();\n        // clear to prevent replay\n        $.pendingImplementation = address(0);\n        $.activationTime = 0;\n    }\n\n    /// ----------- getters -----------\n\n    function upgradeDelay() public view returns (uint256) {\n        UpgraderTimelockStorage storage $ = _getUpgraderTimelockStorage();\n        return $.upgradeDelay;\n    }\n\n    function pendingImplementation() public view returns (address) {\n        UpgraderTimelockStorage storage $ = _getUpgraderTimelockStorage();\n        return $.pendingImplementation;\n    }\n\n    function activationTime() public view returns (uint256) {\n        UpgraderTimelockStorage storage $ = _getUpgraderTimelockStorage();\n        return $.activationTime;\n    }\n}\n"},"lib/openzeppelin-contracts-upgradeable/contracts/utils/ContextUpgradeable.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.0.1) (utils/Context.sol)\n\npragma solidity ^0.8.20;\nimport {Initializable} from \"../proxy/utils/Initializable.sol\";\n\n/**\n * @dev Provides information about the current execution context, including the\n * sender of the transaction and its data. While these are generally available\n * via msg.sender and msg.data, they should not be accessed in such a direct\n * manner, since when dealing with meta-transactions the account sending and\n * paying for execution may not be the actual sender (as far as an application\n * is concerned).\n *\n * This contract is only required for intermediate, library-like contracts.\n */\nabstract contract ContextUpgradeable is Initializable {\n    function __Context_init() internal onlyInitializing {\n    }\n\n    function __Context_init_unchained() internal onlyInitializing {\n    }\n    function _msgSender() internal view virtual returns (address) {\n        return msg.sender;\n    }\n\n    function _msgData() internal view virtual returns (bytes calldata) {\n        return msg.data;\n    }\n\n    function _contextSuffixLength() internal view virtual returns (uint256) {\n        return 0;\n    }\n}\n"},"lib/openzeppelin-contracts-upgradeable/contracts/access/OwnableUpgradeable.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.0.0) (access/Ownable.sol)\n\npragma solidity ^0.8.20;\n\nimport {ContextUpgradeable} from \"../utils/ContextUpgradeable.sol\";\nimport {Initializable} from \"../proxy/utils/Initializable.sol\";\n\n/**\n * @dev Contract module which provides a basic access control mechanism, where\n * there is an account (an owner) that can be granted exclusive access to\n * specific functions.\n *\n * The initial owner is set to the address provided by the deployer. This can\n * later be changed with {transferOwnership}.\n *\n * This module is used through inheritance. It will make available the modifier\n * `onlyOwner`, which can be applied to your functions to restrict their use to\n * the owner.\n */\nabstract contract OwnableUpgradeable is Initializable, ContextUpgradeable {\n    /// @custom:storage-location erc7201:openzeppelin.storage.Ownable\n    struct OwnableStorage {\n        address _owner;\n    }\n\n    // keccak256(abi.encode(uint256(keccak256(\"openzeppelin.storage.Ownable\")) - 1)) & ~bytes32(uint256(0xff))\n    bytes32 private constant OwnableStorageLocation = 0x9016d09d72d40fdae2fd8ceac6b6234c7706214fd39c1cd1e609a0528c199300;\n\n    function _getOwnableStorage() private pure returns (OwnableStorage storage $) {\n        assembly {\n            $.slot := OwnableStorageLocation\n        }\n    }\n\n    /**\n     * @dev The caller account is not authorized to perform an operation.\n     */\n    error OwnableUnauthorizedAccount(address account);\n\n    /**\n     * @dev The owner is not a valid owner account. (eg. `address(0)`)\n     */\n    error OwnableInvalidOwner(address owner);\n\n    event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);\n\n    /**\n     * @dev Initializes the contract setting the address provided by the deployer as the initial owner.\n     */\n    function __Ownable_init(address initialOwner) internal onlyInitializing {\n        __Ownable_init_unchained(initialOwner);\n    }\n\n    function __Ownable_init_unchained(address initialOwner) internal onlyInitializing {\n        if (initialOwner == address(0)) {\n            revert OwnableInvalidOwner(address(0));\n        }\n        _transferOwnership(initialOwner);\n    }\n\n    /**\n     * @dev Throws if called by any account other than the owner.\n     */\n    modifier onlyOwner() {\n        _checkOwner();\n        _;\n    }\n\n    /**\n     * @dev Returns the address of the current owner.\n     */\n    function owner() public view virtual returns (address) {\n        OwnableStorage storage $ = _getOwnableStorage();\n        return $._owner;\n    }\n\n    /**\n     * @dev Throws if the sender is not the owner.\n     */\n    function _checkOwner() internal view virtual {\n        if (owner() != _msgSender()) {\n            revert OwnableUnauthorizedAccount(_msgSender());\n        }\n    }\n\n    /**\n     * @dev Leaves the contract without owner. It will not be possible to call\n     * `onlyOwner` functions. Can only be called by the current owner.\n     *\n     * NOTE: Renouncing ownership will leave the contract without an owner,\n     * thereby disabling any functionality that is only available to the owner.\n     */\n    function renounceOwnership() public virtual onlyOwner {\n        _transferOwnership(address(0));\n    }\n\n    /**\n     * @dev Transfers ownership of the contract to a new account (`newOwner`).\n     * Can only be called by the current owner.\n     */\n    function transferOwnership(address newOwner) public virtual onlyOwner {\n        if (newOwner == address(0)) {\n            revert OwnableInvalidOwner(address(0));\n        }\n        _transferOwnership(newOwner);\n    }\n\n    /**\n     * @dev Transfers ownership of the contract to a new account (`newOwner`).\n     * Internal function without access restriction.\n     */\n    function _transferOwnership(address newOwner) internal virtual {\n        OwnableStorage storage $ = _getOwnableStorage();\n        address oldOwner = $._owner;\n        $._owner = newOwner;\n        emit OwnershipTransferred(oldOwner, newOwner);\n    }\n}\n"},"lib/openzeppelin-contracts-upgradeable/contracts/proxy/utils/Initializable.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.0.0) (proxy/utils/Initializable.sol)\n\npragma solidity ^0.8.20;\n\n/**\n * @dev This is a base contract to aid in writing upgradeable contracts, or any kind of contract that will be deployed\n * behind a proxy. Since proxied contracts do not make use of a constructor, it's common to move constructor logic to an\n * external initializer function, usually called `initialize`. It then becomes necessary to protect this initializer\n * function so it can only be called once. The {initializer} modifier provided by this contract will have this effect.\n *\n * The initialization functions use a version number. Once a version number is used, it is consumed and cannot be\n * reused. This mechanism prevents re-execution of each \"step\" but allows the creation of new initialization steps in\n * case an upgrade adds a module that needs to be initialized.\n *\n * For example:\n *\n * [.hljs-theme-light.nopadding]\n * ```solidity\n * contract MyToken is ERC20Upgradeable {\n *     function initialize() initializer public {\n *         __ERC20_init(\"MyToken\", \"MTK\");\n *     }\n * }\n *\n * contract MyTokenV2 is MyToken, ERC20PermitUpgradeable {\n *     function initializeV2() reinitializer(2) public {\n *         __ERC20Permit_init(\"MyToken\");\n *     }\n * }\n * ```\n *\n * TIP: To avoid leaving the proxy in an uninitialized state, the initializer function should be called as early as\n * possible by providing the encoded function call as the `_data` argument to {ERC1967Proxy-constructor}.\n *\n * CAUTION: When used with inheritance, manual care must be taken to not invoke a parent initializer twice, or to ensure\n * that all initializers are idempotent. This is not verified automatically as constructors are by Solidity.\n *\n * [CAUTION]\n * ====\n * Avoid leaving a contract uninitialized.\n *\n * An uninitialized contract can be taken over by an attacker. This applies to both a proxy and its implementation\n * contract, which may impact the proxy. To prevent the implementation contract from being used, you should invoke\n * the {_disableInitializers} function in the constructor to automatically lock it when it is deployed:\n *\n * [.hljs-theme-light.nopadding]\n * ```\n * /// @custom:oz-upgrades-unsafe-allow constructor\n * constructor() {\n *     _disableInitializers();\n * }\n * ```\n * ====\n */\nabstract contract Initializable {\n    /**\n     * @dev Storage of the initializable contract.\n     *\n     * It's implemented on a custom ERC-7201 namespace to reduce the risk of storage collisions\n     * when using with upgradeable contracts.\n     *\n     * @custom:storage-location erc7201:openzeppelin.storage.Initializable\n     */\n    struct InitializableStorage {\n        /**\n         * @dev Indicates that the contract has been initialized.\n         */\n        uint64 _initialized;\n        /**\n         * @dev Indicates that the contract is in the process of being initialized.\n         */\n        bool _initializing;\n    }\n\n    // keccak256(abi.encode(uint256(keccak256(\"openzeppelin.storage.Initializable\")) - 1)) & ~bytes32(uint256(0xff))\n    bytes32 private constant INITIALIZABLE_STORAGE = 0xf0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00;\n\n    /**\n     * @dev The contract is already initialized.\n     */\n    error InvalidInitialization();\n\n    /**\n     * @dev The contract is not initializing.\n     */\n    error NotInitializing();\n\n    /**\n     * @dev Triggered when the contract has been initialized or reinitialized.\n     */\n    event Initialized(uint64 version);\n\n    /**\n     * @dev A modifier that defines a protected initializer function that can be invoked at most once. In its scope,\n     * `onlyInitializing` functions can be used to initialize parent contracts.\n     *\n     * Similar to `reinitializer(1)`, except that in the context of a constructor an `initializer` may be invoked any\n     * number of times. This behavior in the constructor can be useful during testing and is not expected to be used in\n     * production.\n     *\n     * Emits an {Initialized} event.\n     */\n    modifier initializer() {\n        // solhint-disable-next-line var-name-mixedcase\n        InitializableStorage storage $ = _getInitializableStorage();\n\n        // Cache values to avoid duplicated sloads\n        bool isTopLevelCall = !$._initializing;\n        uint64 initialized = $._initialized;\n\n        // Allowed calls:\n        // - initialSetup: the contract is not in the initializing state and no previous version was\n        //                 initialized\n        // - construction: the contract is initialized at version 1 (no reininitialization) and the\n        //                 current contract is just being deployed\n        bool initialSetup = initialized == 0 && isTopLevelCall;\n        bool construction = initialized == 1 && address(this).code.length == 0;\n\n        if (!initialSetup && !construction) {\n            revert InvalidInitialization();\n        }\n        $._initialized = 1;\n        if (isTopLevelCall) {\n            $._initializing = true;\n        }\n        _;\n        if (isTopLevelCall) {\n            $._initializing = false;\n            emit Initialized(1);\n        }\n    }\n\n    /**\n     * @dev A modifier that defines a protected reinitializer function that can be invoked at most once, and only if the\n     * contract hasn't been initialized to a greater version before. In its scope, `onlyInitializing` functions can be\n     * used to initialize parent contracts.\n     *\n     * A reinitializer may be used after the original initialization step. This is essential to configure modules that\n     * are added through upgrades and that require initialization.\n     *\n     * When `version` is 1, this modifier is similar to `initializer`, except that functions marked with `reinitializer`\n     * cannot be nested. If one is invoked in the context of another, execution will revert.\n     *\n     * Note that versions can jump in increments greater than 1; this implies that if multiple reinitializers coexist in\n     * a contract, executing them in the right order is up to the developer or operator.\n     *\n     * WARNING: Setting the version to 2**64 - 1 will prevent any future reinitialization.\n     *\n     * Emits an {Initialized} event.\n     */\n    modifier reinitializer(uint64 version) {\n        // solhint-disable-next-line var-name-mixedcase\n        InitializableStorage storage $ = _getInitializableStorage();\n\n        if ($._initializing || $._initialized >= version) {\n            revert InvalidInitialization();\n        }\n        $._initialized = version;\n        $._initializing = true;\n        _;\n        $._initializing = false;\n        emit Initialized(version);\n    }\n\n    /**\n     * @dev Modifier to protect an initialization function so that it can only be invoked by functions with the\n     * {initializer} and {reinitializer} modifiers, directly or indirectly.\n     */\n    modifier onlyInitializing() {\n        _checkInitializing();\n        _;\n    }\n\n    /**\n     * @dev Reverts if the contract is not in an initializing state. See {onlyInitializing}.\n     */\n    function _checkInitializing() internal view virtual {\n        if (!_isInitializing()) {\n            revert NotInitializing();\n        }\n    }\n\n    /**\n     * @dev Locks the contract, preventing any future reinitialization. This cannot be part of an initializer call.\n     * Calling this in the constructor of a contract will prevent that contract from being initialized or reinitialized\n     * to any version. It is recommended to use this to lock implementation contracts that are designed to be called\n     * through proxies.\n     *\n     * Emits an {Initialized} event the first time it is successfully executed.\n     */\n    function _disableInitializers() internal virtual {\n        // solhint-disable-next-line var-name-mixedcase\n        InitializableStorage storage $ = _getInitializableStorage();\n\n        if ($._initializing) {\n            revert InvalidInitialization();\n        }\n        if ($._initialized != type(uint64).max) {\n            $._initialized = type(uint64).max;\n            emit Initialized(type(uint64).max);\n        }\n    }\n\n    /**\n     * @dev Returns the highest version that has been initialized. See {reinitializer}.\n     */\n    function _getInitializedVersion() internal view returns (uint64) {\n        return _getInitializableStorage()._initialized;\n    }\n\n    /**\n     * @dev Returns `true` if the contract is currently initializing. See {onlyInitializing}.\n     */\n    function _isInitializing() internal view returns (bool) {\n        return _getInitializableStorage()._initializing;\n    }\n\n    /**\n     * @dev Returns a pointer to the storage namespace.\n     */\n    // solhint-disable-next-line var-name-mixedcase\n    function _getInitializableStorage() private pure returns (InitializableStorage storage $) {\n        assembly {\n            $.slot := INITIALIZABLE_STORAGE\n        }\n    }\n}\n"},"lib/openzeppelin-contracts-upgradeable/contracts/token/ERC20/ERC20Upgradeable.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.0.0) (token/ERC20/ERC20.sol)\n\npragma solidity ^0.8.20;\n\nimport {IERC20} from \"@openzeppelin/contracts/token/ERC20/IERC20.sol\";\nimport {IERC20Metadata} from \"@openzeppelin/contracts/token/ERC20/extensions/IERC20Metadata.sol\";\nimport {ContextUpgradeable} from \"../../utils/ContextUpgradeable.sol\";\nimport {IERC20Errors} from \"@openzeppelin/contracts/interfaces/draft-IERC6093.sol\";\nimport {Initializable} from \"../../proxy/utils/Initializable.sol\";\n\n/**\n * @dev Implementation of the {IERC20} interface.\n *\n * This implementation is agnostic to the way tokens are created. This means\n * that a supply mechanism has to be added in a derived contract using {_mint}.\n *\n * TIP: For a detailed writeup see our guide\n * https://forum.openzeppelin.com/t/how-to-implement-erc20-supply-mechanisms/226[How\n * to implement supply mechanisms].\n *\n * The default value of {decimals} is 18. To change this, you should override\n * this function so it returns a different value.\n *\n * We have followed general OpenZeppelin Contracts guidelines: functions revert\n * instead returning `false` on failure. This behavior is nonetheless\n * conventional and does not conflict with the expectations of ERC20\n * applications.\n *\n * Additionally, an {Approval} event is emitted on calls to {transferFrom}.\n * This allows applications to reconstruct the allowance for all accounts just\n * by listening to said events. Other implementations of the EIP may not emit\n * these events, as it isn't required by the specification.\n */\nabstract contract ERC20Upgradeable is Initializable, ContextUpgradeable, IERC20, IERC20Metadata, IERC20Errors {\n    /// @custom:storage-location erc7201:openzeppelin.storage.ERC20\n    struct ERC20Storage {\n        mapping(address account => uint256) _balances;\n\n        mapping(address account => mapping(address spender => uint256)) _allowances;\n\n        uint256 _totalSupply;\n\n        string _name;\n        string _symbol;\n    }\n\n    // keccak256(abi.encode(uint256(keccak256(\"openzeppelin.storage.ERC20\")) - 1)) & ~bytes32(uint256(0xff))\n    bytes32 private constant ERC20StorageLocation = 0x52c63247e1f47db19d5ce0460030c497f067ca4cebf71ba98eeadabe20bace00;\n\n    function _getERC20Storage() private pure returns (ERC20Storage storage $) {\n        assembly {\n            $.slot := ERC20StorageLocation\n        }\n    }\n\n    /**\n     * @dev Sets the values for {name} and {symbol}.\n     *\n     * All two of these values are immutable: they can only be set once during\n     * construction.\n     */\n    function __ERC20_init(string memory name_, string memory symbol_) internal onlyInitializing {\n        __ERC20_init_unchained(name_, symbol_);\n    }\n\n    function __ERC20_init_unchained(string memory name_, string memory symbol_) internal onlyInitializing {\n        ERC20Storage storage $ = _getERC20Storage();\n        $._name = name_;\n        $._symbol = symbol_;\n    }\n\n    /**\n     * @dev Returns the name of the token.\n     */\n    function name() public view virtual returns (string memory) {\n        ERC20Storage storage $ = _getERC20Storage();\n        return $._name;\n    }\n\n    /**\n     * @dev Returns the symbol of the token, usually a shorter version of the\n     * name.\n     */\n    function symbol() public view virtual returns (string memory) {\n        ERC20Storage storage $ = _getERC20Storage();\n        return $._symbol;\n    }\n\n    /**\n     * @dev Returns the number of decimals used to get its user representation.\n     * For example, if `decimals` equals `2`, a balance of `505` tokens should\n     * be displayed to a user as `5.05` (`505 / 10 ** 2`).\n     *\n     * Tokens usually opt for a value of 18, imitating the relationship between\n     * Ether and Wei. This is the default value returned by this function, unless\n     * it's overridden.\n     *\n     * NOTE: This information is only used for _display_ purposes: it in\n     * no way affects any of the arithmetic of the contract, including\n     * {IERC20-balanceOf} and {IERC20-transfer}.\n     */\n    function decimals() public view virtual returns (uint8) {\n        return 18;\n    }\n\n    /**\n     * @dev See {IERC20-totalSupply}.\n     */\n    function totalSupply() public view virtual returns (uint256) {\n        ERC20Storage storage $ = _getERC20Storage();\n        return $._totalSupply;\n    }\n\n    /**\n     * @dev See {IERC20-balanceOf}.\n     */\n    function balanceOf(address account) public view virtual returns (uint256) {\n        ERC20Storage storage $ = _getERC20Storage();\n        return $._balances[account];\n    }\n\n    /**\n     * @dev See {IERC20-transfer}.\n     *\n     * Requirements:\n     *\n     * - `to` cannot be the zero address.\n     * - the caller must have a balance of at least `value`.\n     */\n    function transfer(address to, uint256 value) public virtual returns (bool) {\n        address owner = _msgSender();\n        _transfer(owner, to, value);\n        return true;\n    }\n\n    /**\n     * @dev See {IERC20-allowance}.\n     */\n    function allowance(address owner, address spender) public view virtual returns (uint256) {\n        ERC20Storage storage $ = _getERC20Storage();\n        return $._allowances[owner][spender];\n    }\n\n    /**\n     * @dev See {IERC20-approve}.\n     *\n     * NOTE: If `value` is the maximum `uint256`, the allowance is not updated on\n     * `transferFrom`. This is semantically equivalent to an infinite approval.\n     *\n     * Requirements:\n     *\n     * - `spender` cannot be the zero address.\n     */\n    function approve(address spender, uint256 value) public virtual returns (bool) {\n        address owner = _msgSender();\n        _approve(owner, spender, value);\n        return true;\n    }\n\n    /**\n     * @dev See {IERC20-transferFrom}.\n     *\n     * Emits an {Approval} event indicating the updated allowance. This is not\n     * required by the EIP. See the note at the beginning of {ERC20}.\n     *\n     * NOTE: Does not update the allowance if the current allowance\n     * is the maximum `uint256`.\n     *\n     * Requirements:\n     *\n     * - `from` and `to` cannot be the zero address.\n     * - `from` must have a balance of at least `value`.\n     * - the caller must have allowance for ``from``'s tokens of at least\n     * `value`.\n     */\n    function transferFrom(address from, address to, uint256 value) public virtual returns (bool) {\n        address spender = _msgSender();\n        _spendAllowance(from, spender, value);\n        _transfer(from, to, value);\n        return true;\n    }\n\n    /**\n     * @dev Moves a `value` amount of tokens from `from` to `to`.\n     *\n     * This internal function is equivalent to {transfer}, and can be used to\n     * e.g. implement automatic token fees, slashing mechanisms, etc.\n     *\n     * Emits a {Transfer} event.\n     *\n     * NOTE: This function is not virtual, {_update} should be overridden instead.\n     */\n    function _transfer(address from, address to, uint256 value) internal {\n        if (from == address(0)) {\n            revert ERC20InvalidSender(address(0));\n        }\n        if (to == address(0)) {\n            revert ERC20InvalidReceiver(address(0));\n        }\n        _update(from, to, value);\n    }\n\n    /**\n     * @dev Transfers a `value` amount of tokens from `from` to `to`, or alternatively mints (or burns) if `from`\n     * (or `to`) is the zero address. All customizations to transfers, mints, and burns should be done by overriding\n     * this function.\n     *\n     * Emits a {Transfer} event.\n     */\n    function _update(address from, address to, uint256 value) internal virtual {\n        ERC20Storage storage $ = _getERC20Storage();\n        if (from == address(0)) {\n            // Overflow check required: The rest of the code assumes that totalSupply never overflows\n            $._totalSupply += value;\n        } else {\n            uint256 fromBalance = $._balances[from];\n            if (fromBalance < value) {\n                revert ERC20InsufficientBalance(from, fromBalance, value);\n            }\n            unchecked {\n                // Overflow not possible: value <= fromBalance <= totalSupply.\n                $._balances[from] = fromBalance - value;\n            }\n        }\n\n        if (to == address(0)) {\n            unchecked {\n                // Overflow not possible: value <= totalSupply or value <= fromBalance <= totalSupply.\n                $._totalSupply -= value;\n            }\n        } else {\n            unchecked {\n                // Overflow not possible: balance + value is at most totalSupply, which we know fits into a uint256.\n                $._balances[to] += value;\n            }\n        }\n\n        emit Transfer(from, to, value);\n    }\n\n    /**\n     * @dev Creates a `value` amount of tokens and assigns them to `account`, by transferring it from address(0).\n     * Relies on the `_update` mechanism\n     *\n     * Emits a {Transfer} event with `from` set to the zero address.\n     *\n     * NOTE: This function is not virtual, {_update} should be overridden instead.\n     */\n    function _mint(address account, uint256 value) internal {\n        if (account == address(0)) {\n            revert ERC20InvalidReceiver(address(0));\n        }\n        _update(address(0), account, value);\n    }\n\n    /**\n     * @dev Destroys a `value` amount of tokens from `account`, lowering the total supply.\n     * Relies on the `_update` mechanism.\n     *\n     * Emits a {Transfer} event with `to` set to the zero address.\n     *\n     * NOTE: This function is not virtual, {_update} should be overridden instead\n     */\n    function _burn(address account, uint256 value) internal {\n        if (account == address(0)) {\n            revert ERC20InvalidSender(address(0));\n        }\n        _update(account, address(0), value);\n    }\n\n    /**\n     * @dev Sets `value` as the allowance of `spender` over the `owner` s tokens.\n     *\n     * This internal function is equivalent to `approve`, and can be used to\n     * e.g. set automatic allowances for certain subsystems, etc.\n     *\n     * Emits an {Approval} event.\n     *\n     * Requirements:\n     *\n     * - `owner` cannot be the zero address.\n     * - `spender` cannot be the zero address.\n     *\n     * Overrides to this logic should be done to the variant with an additional `bool emitEvent` argument.\n     */\n    function _approve(address owner, address spender, uint256 value) internal {\n        _approve(owner, spender, value, true);\n    }\n\n    /**\n     * @dev Variant of {_approve} with an optional flag to enable or disable the {Approval} event.\n     *\n     * By default (when calling {_approve}) the flag is set to true. On the other hand, approval changes made by\n     * `_spendAllowance` during the `transferFrom` operation set the flag to false. This saves gas by not emitting any\n     * `Approval` event during `transferFrom` operations.\n     *\n     * Anyone who wishes to continue emitting `Approval` events on the`transferFrom` operation can force the flag to\n     * true using the following override:\n     * ```\n     * function _approve(address owner, address spender, uint256 value, bool) internal virtual override {\n     *     super._approve(owner, spender, value, true);\n     * }\n     * ```\n     *\n     * Requirements are the same as {_approve}.\n     */\n    function _approve(address owner, address spender, uint256 value, bool emitEvent) internal virtual {\n        ERC20Storage storage $ = _getERC20Storage();\n        if (owner == address(0)) {\n            revert ERC20InvalidApprover(address(0));\n        }\n        if (spender == address(0)) {\n            revert ERC20InvalidSpender(address(0));\n        }\n        $._allowances[owner][spender] = value;\n        if (emitEvent) {\n            emit Approval(owner, spender, value);\n        }\n    }\n\n    /**\n     * @dev Updates `owner` s allowance for `spender` based on spent `value`.\n     *\n     * Does not update the allowance value in case of infinite allowance.\n     * Revert if not enough allowance is available.\n     *\n     * Does not emit an {Approval} event.\n     */\n    function _spendAllowance(address owner, address spender, uint256 value) internal virtual {\n        uint256 currentAllowance = allowance(owner, spender);\n        if (currentAllowance != type(uint256).max) {\n            if (currentAllowance < value) {\n                revert ERC20InsufficientAllowance(spender, currentAllowance, value);\n            }\n            unchecked {\n                _approve(owner, spender, currentAllowance - value, false);\n            }\n        }\n    }\n}\n"},"lib/openzeppelin-contracts-upgradeable/contracts/utils/ReentrancyGuardUpgradeable.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.0.0) (utils/ReentrancyGuard.sol)\n\npragma solidity ^0.8.20;\nimport {Initializable} from \"../proxy/utils/Initializable.sol\";\n\n/**\n * @dev Contract module that helps prevent reentrant calls to a function.\n *\n * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier\n * available, which can be applied to functions to make sure there are no nested\n * (reentrant) calls to them.\n *\n * Note that because there is a single `nonReentrant` guard, functions marked as\n * `nonReentrant` may not call one another. This can be worked around by making\n * those functions `private`, and then adding `external` `nonReentrant` entry\n * points to them.\n *\n * TIP: If you would like to learn more about reentrancy and alternative ways\n * to protect against it, check out our blog post\n * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul].\n */\nabstract contract ReentrancyGuardUpgradeable is Initializable {\n    // Booleans are more expensive than uint256 or any type that takes up a full\n    // word because each write operation emits an extra SLOAD to first read the\n    // slot's contents, replace the bits taken up by the boolean, and then write\n    // back. This is the compiler's defense against contract upgrades and\n    // pointer aliasing, and it cannot be disabled.\n\n    // The values being non-zero value makes deployment a bit more expensive,\n    // but in exchange the refund on every call to nonReentrant will be lower in\n    // amount. Since refunds are capped to a percentage of the total\n    // transaction's gas, it is best to keep them low in cases like this one, to\n    // increase the likelihood of the full refund coming into effect.\n    uint256 private constant NOT_ENTERED = 1;\n    uint256 private constant ENTERED = 2;\n\n    /// @custom:storage-location erc7201:openzeppelin.storage.ReentrancyGuard\n    struct ReentrancyGuardStorage {\n        uint256 _status;\n    }\n\n    // keccak256(abi.encode(uint256(keccak256(\"openzeppelin.storage.ReentrancyGuard\")) - 1)) & ~bytes32(uint256(0xff))\n    bytes32 private constant ReentrancyGuardStorageLocation = 0x9b779b17422d0df92223018b32b4d1fa46e071723d6817e2486d003becc55f00;\n\n    function _getReentrancyGuardStorage() private pure returns (ReentrancyGuardStorage storage $) {\n        assembly {\n            $.slot := ReentrancyGuardStorageLocation\n        }\n    }\n\n    /**\n     * @dev Unauthorized reentrant call.\n     */\n    error ReentrancyGuardReentrantCall();\n\n    function __ReentrancyGuard_init() internal onlyInitializing {\n        __ReentrancyGuard_init_unchained();\n    }\n\n    function __ReentrancyGuard_init_unchained() internal onlyInitializing {\n        ReentrancyGuardStorage storage $ = _getReentrancyGuardStorage();\n        $._status = NOT_ENTERED;\n    }\n\n    /**\n     * @dev Prevents a contract from calling itself, directly or indirectly.\n     * Calling a `nonReentrant` function from another `nonReentrant`\n     * function is not supported. It is possible to prevent this from happening\n     * by making the `nonReentrant` function external, and making it call a\n     * `private` function that does the actual work.\n     */\n    modifier nonReentrant() {\n        _nonReentrantBefore();\n        _;\n        _nonReentrantAfter();\n    }\n\n    function _nonReentrantBefore() private {\n        ReentrancyGuardStorage storage $ = _getReentrancyGuardStorage();\n        // On the first call to nonReentrant, _status will be NOT_ENTERED\n        if ($._status == ENTERED) {\n            revert ReentrancyGuardReentrantCall();\n        }\n\n        // Any calls to nonReentrant after this point will fail\n        $._status = ENTERED;\n    }\n\n    function _nonReentrantAfter() private {\n        ReentrancyGuardStorage storage $ = _getReentrancyGuardStorage();\n        // By storing the original value once again, a refund is triggered (see\n        // https://eips.ethereum.org/EIPS/eip-2200)\n        $._status = NOT_ENTERED;\n    }\n\n    /**\n     * @dev Returns true if the reentrancy guard is currently set to \"entered\", which indicates there is a\n     * `nonReentrant` function in the call stack.\n     */\n    function _reentrancyGuardEntered() internal view returns (bool) {\n        ReentrancyGuardStorage storage $ = _getReentrancyGuardStorage();\n        return $._status == ENTERED;\n    }\n}\n"},"lib/openzeppelin-contracts-upgradeable/lib/openzeppelin-contracts/contracts/utils/Address.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.0.0) (utils/Address.sol)\n\npragma solidity ^0.8.20;\n\n/**\n * @dev Collection of functions related to the address type\n */\nlibrary Address {\n    /**\n     * @dev The ETH balance of the account is not enough to perform the operation.\n     */\n    error AddressInsufficientBalance(address account);\n\n    /**\n     * @dev There's no code at `target` (it is not a contract).\n     */\n    error AddressEmptyCode(address target);\n\n    /**\n     * @dev A call to an address target failed. The target may have reverted.\n     */\n    error FailedInnerCall();\n\n    /**\n     * @dev Replacement for Solidity's `transfer`: sends `amount` wei to\n     * `recipient`, forwarding all available gas and reverting on errors.\n     *\n     * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost\n     * of certain opcodes, possibly making contracts go over the 2300 gas limit\n     * imposed by `transfer`, making them unable to receive funds via\n     * `transfer`. {sendValue} removes this limitation.\n     *\n     * https://consensys.net/diligence/blog/2019/09/stop-using-soliditys-transfer-now/[Learn more].\n     *\n     * IMPORTANT: because control is transferred to `recipient`, care must be\n     * taken to not create reentrancy vulnerabilities. Consider using\n     * {ReentrancyGuard} or the\n     * https://solidity.readthedocs.io/en/v0.8.20/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern].\n     */\n    function sendValue(address payable recipient, uint256 amount) internal {\n        if (address(this).balance < amount) {\n            revert AddressInsufficientBalance(address(this));\n        }\n\n        (bool success, ) = recipient.call{value: amount}(\"\");\n        if (!success) {\n            revert FailedInnerCall();\n        }\n    }\n\n    /**\n     * @dev Performs a Solidity function call using a low level `call`. A\n     * plain `call` is an unsafe replacement for a function call: use this\n     * function instead.\n     *\n     * If `target` reverts with a revert reason or custom error, it is bubbled\n     * up by this function (like regular Solidity function calls). However, if\n     * the call reverted with no returned reason, this function reverts with a\n     * {FailedInnerCall} error.\n     *\n     * Returns the raw returned data. To convert to the expected return value,\n     * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`].\n     *\n     * Requirements:\n     *\n     * - `target` must be a contract.\n     * - calling `target` with `data` must not revert.\n     */\n    function functionCall(address target, bytes memory data) internal returns (bytes memory) {\n        return functionCallWithValue(target, data, 0);\n    }\n\n    /**\n     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],\n     * but also transferring `value` wei to `target`.\n     *\n     * Requirements:\n     *\n     * - the calling contract must have an ETH balance of at least `value`.\n     * - the called Solidity function must be `payable`.\n     */\n    function functionCallWithValue(address target, bytes memory data, uint256 value) internal returns (bytes memory) {\n        if (address(this).balance < value) {\n            revert AddressInsufficientBalance(address(this));\n        }\n        (bool success, bytes memory returndata) = target.call{value: value}(data);\n        return verifyCallResultFromTarget(target, success, returndata);\n    }\n\n    /**\n     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],\n     * but performing a static call.\n     */\n    function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) {\n        (bool success, bytes memory returndata) = target.staticcall(data);\n        return verifyCallResultFromTarget(target, success, returndata);\n    }\n\n    /**\n     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],\n     * but performing a delegate call.\n     */\n    function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) {\n        (bool success, bytes memory returndata) = target.delegatecall(data);\n        return verifyCallResultFromTarget(target, success, returndata);\n    }\n\n    /**\n     * @dev Tool to verify that a low level call to smart-contract was successful, and reverts if the target\n     * was not a contract or bubbling up the revert reason (falling back to {FailedInnerCall}) in case of an\n     * unsuccessful call.\n     */\n    function verifyCallResultFromTarget(\n        address target,\n        bool success,\n        bytes memory returndata\n    ) internal view returns (bytes memory) {\n        if (!success) {\n            _revert(returndata);\n        } else {\n            // only check if target is a contract if the call was successful and the return data is empty\n            // otherwise we already know that it was a contract\n            if (returndata.length == 0 && target.code.length == 0) {\n                revert AddressEmptyCode(target);\n            }\n            return returndata;\n        }\n    }\n\n    /**\n     * @dev Tool to verify that a low level call was successful, and reverts if it wasn't, either by bubbling the\n     * revert reason or with a default {FailedInnerCall} error.\n     */\n    function verifyCallResult(bool success, bytes memory returndata) internal pure returns (bytes memory) {\n        if (!success) {\n            _revert(returndata);\n        } else {\n            return returndata;\n        }\n    }\n\n    /**\n     * @dev Reverts with returndata if present. Otherwise reverts with {FailedInnerCall}.\n     */\n    function _revert(bytes memory returndata) private pure {\n        // Look for revert reason and bubble it up if present\n        if (returndata.length > 0) {\n            // The easiest way to bubble the revert reason is using memory via assembly\n            /// @solidity memory-safe-assembly\n            assembly {\n                let returndata_size := mload(returndata)\n                revert(add(32, returndata), returndata_size)\n            }\n        } else {\n            revert FailedInnerCall();\n        }\n    }\n}\n"},"lib/openzeppelin-contracts-upgradeable/contracts/token/ERC20/extensions/ERC4626Upgradeable.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.0.0) (token/ERC20/extensions/ERC4626.sol)\n\npragma solidity ^0.8.20;\n\nimport {IERC20} from \"@openzeppelin/contracts/token/ERC20/IERC20.sol\";\nimport {IERC20Metadata} from \"@openzeppelin/contracts/token/ERC20/extensions/IERC20Metadata.sol\";\nimport {ERC20Upgradeable} from \"../ERC20Upgradeable.sol\";\nimport {SafeERC20} from \"@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol\";\nimport {IERC4626} from \"@openzeppelin/contracts/interfaces/IERC4626.sol\";\nimport {Math} from \"@openzeppelin/contracts/utils/math/Math.sol\";\nimport {Initializable} from \"../../../proxy/utils/Initializable.sol\";\n\n/**\n * @dev Implementation of the ERC4626 \"Tokenized Vault Standard\" as defined in\n * https://eips.ethereum.org/EIPS/eip-4626[EIP-4626].\n *\n * This extension allows the minting and burning of \"shares\" (represented using the ERC20 inheritance) in exchange for\n * underlying \"assets\" through standardized {deposit}, {mint}, {redeem} and {burn} workflows. This contract extends\n * the ERC20 standard. Any additional extensions included along it would affect the \"shares\" token represented by this\n * contract and not the \"assets\" token which is an independent contract.\n *\n * [CAUTION]\n * ====\n * In empty (or nearly empty) ERC-4626 vaults, deposits are at high risk of being stolen through frontrunning\n * with a \"donation\" to the vault that inflates the price of a share. This is variously known as a donation or inflation\n * attack and is essentially a problem of slippage. Vault deployers can protect against this attack by making an initial\n * deposit of a non-trivial amount of the asset, such that price manipulation becomes infeasible. Withdrawals may\n * similarly be affected by slippage. Users can protect against this attack as well as unexpected slippage in general by\n * verifying the amount received is as expected, using a wrapper that performs these checks such as\n * https://github.com/fei-protocol/ERC4626#erc4626router-and-base[ERC4626Router].\n *\n * Since v4.9, this implementation uses virtual assets and shares to mitigate that risk. The `_decimalsOffset()`\n * corresponds to an offset in the decimal representation between the underlying asset's decimals and the vault\n * decimals. This offset also determines the rate of virtual shares to virtual assets in the vault, which itself\n * determines the initial exchange rate. While not fully preventing the attack, analysis shows that the default offset\n * (0) makes it non-profitable, as a result of the value being captured by the virtual shares (out of the attacker's\n * donation) matching the attacker's expected gains. With a larger offset, the attack becomes orders of magnitude more\n * expensive than it is profitable. More details about the underlying math can be found\n * xref:erc4626.adoc#inflation-attack[here].\n *\n * The drawback of this approach is that the virtual shares do capture (a very small) part of the value being accrued\n * to the vault. Also, if the vault experiences losses, the users try to exit the vault, the virtual shares and assets\n * will cause the first user to exit to experience reduced losses in detriment to the last users that will experience\n * bigger losses. Developers willing to revert back to the pre-v4.9 behavior just need to override the\n * `_convertToShares` and `_convertToAssets` functions.\n *\n * To learn more, check out our xref:ROOT:erc4626.adoc[ERC-4626 guide].\n * ====\n */\nabstract contract ERC4626Upgradeable is Initializable, ERC20Upgradeable, IERC4626 {\n    using Math for uint256;\n\n    /// @custom:storage-location erc7201:openzeppelin.storage.ERC4626\n    struct ERC4626Storage {\n        IERC20 _asset;\n        uint8 _underlyingDecimals;\n    }\n\n    // keccak256(abi.encode(uint256(keccak256(\"openzeppelin.storage.ERC4626\")) - 1)) & ~bytes32(uint256(0xff))\n    bytes32 private constant ERC4626StorageLocation = 0x0773e532dfede91f04b12a73d3d2acd361424f41f76b4fb79f090161e36b4e00;\n\n    function _getERC4626Storage() private pure returns (ERC4626Storage storage $) {\n        assembly {\n            $.slot := ERC4626StorageLocation\n        }\n    }\n\n    /**\n     * @dev Attempted to deposit more assets than the max amount for `receiver`.\n     */\n    error ERC4626ExceededMaxDeposit(address receiver, uint256 assets, uint256 max);\n\n    /**\n     * @dev Attempted to mint more shares than the max amount for `receiver`.\n     */\n    error ERC4626ExceededMaxMint(address receiver, uint256 shares, uint256 max);\n\n    /**\n     * @dev Attempted to withdraw more assets than the max amount for `receiver`.\n     */\n    error ERC4626ExceededMaxWithdraw(address owner, uint256 assets, uint256 max);\n\n    /**\n     * @dev Attempted to redeem more shares than the max amount for `receiver`.\n     */\n    error ERC4626ExceededMaxRedeem(address owner, uint256 shares, uint256 max);\n\n    /**\n     * @dev Set the underlying asset contract. This must be an ERC20-compatible contract (ERC20 or ERC777).\n     */\n    function __ERC4626_init(IERC20 asset_) internal onlyInitializing {\n        __ERC4626_init_unchained(asset_);\n    }\n\n    function __ERC4626_init_unchained(IERC20 asset_) internal onlyInitializing {\n        ERC4626Storage storage $ = _getERC4626Storage();\n        (bool success, uint8 assetDecimals) = _tryGetAssetDecimals(asset_);\n        $._underlyingDecimals = success ? assetDecimals : 18;\n        $._asset = asset_;\n    }\n\n    /**\n     * @dev Attempts to fetch the asset decimals. A return value of false indicates that the attempt failed in some way.\n     */\n    function _tryGetAssetDecimals(IERC20 asset_) private view returns (bool, uint8) {\n        (bool success, bytes memory encodedDecimals) = address(asset_).staticcall(\n            abi.encodeCall(IERC20Metadata.decimals, ())\n        );\n        if (success && encodedDecimals.length >= 32) {\n            uint256 returnedDecimals = abi.decode(encodedDecimals, (uint256));\n            if (returnedDecimals <= type(uint8).max) {\n                return (true, uint8(returnedDecimals));\n            }\n        }\n        return (false, 0);\n    }\n\n    /**\n     * @dev Decimals are computed by adding the decimal offset on top of the underlying asset's decimals. This\n     * \"original\" value is cached during construction of the vault contract. If this read operation fails (e.g., the\n     * asset has not been created yet), a default of 18 is used to represent the underlying asset's decimals.\n     *\n     * See {IERC20Metadata-decimals}.\n     */\n    function decimals() public view virtual override(IERC20Metadata, ERC20Upgradeable) returns (uint8) {\n        ERC4626Storage storage $ = _getERC4626Storage();\n        return $._underlyingDecimals + _decimalsOffset();\n    }\n\n    /** @dev See {IERC4626-asset}. */\n    function asset() public view virtual returns (address) {\n        ERC4626Storage storage $ = _getERC4626Storage();\n        return address($._asset);\n    }\n\n    /** @dev See {IERC4626-totalAssets}. */\n    function totalAssets() public view virtual returns (uint256) {\n        ERC4626Storage storage $ = _getERC4626Storage();\n        return $._asset.balanceOf(address(this));\n    }\n\n    /** @dev See {IERC4626-convertToShares}. */\n    function convertToShares(uint256 assets) public view virtual returns (uint256) {\n        return _convertToShares(assets, Math.Rounding.Floor);\n    }\n\n    /** @dev See {IERC4626-convertToAssets}. */\n    function convertToAssets(uint256 shares) public view virtual returns (uint256) {\n        return _convertToAssets(shares, Math.Rounding.Floor);\n    }\n\n    /** @dev See {IERC4626-maxDeposit}. */\n    function maxDeposit(address) public view virtual returns (uint256) {\n        return type(uint256).max;\n    }\n\n    /** @dev See {IERC4626-maxMint}. */\n    function maxMint(address) public view virtual returns (uint256) {\n        return type(uint256).max;\n    }\n\n    /** @dev See {IERC4626-maxWithdraw}. */\n    function maxWithdraw(address owner) public view virtual returns (uint256) {\n        return _convertToAssets(balanceOf(owner), Math.Rounding.Floor);\n    }\n\n    /** @dev See {IERC4626-maxRedeem}. */\n    function maxRedeem(address owner) public view virtual returns (uint256) {\n        return balanceOf(owner);\n    }\n\n    /** @dev See {IERC4626-previewDeposit}. */\n    function previewDeposit(uint256 assets) public view virtual returns (uint256) {\n        return _convertToShares(assets, Math.Rounding.Floor);\n    }\n\n    /** @dev See {IERC4626-previewMint}. */\n    function previewMint(uint256 shares) public view virtual returns (uint256) {\n        return _convertToAssets(shares, Math.Rounding.Ceil);\n    }\n\n    /** @dev See {IERC4626-previewWithdraw}. */\n    function previewWithdraw(uint256 assets) public view virtual returns (uint256) {\n        return _convertToShares(assets, Math.Rounding.Ceil);\n    }\n\n    /** @dev See {IERC4626-previewRedeem}. */\n    function previewRedeem(uint256 shares) public view virtual returns (uint256) {\n        return _convertToAssets(shares, Math.Rounding.Floor);\n    }\n\n    /** @dev See {IERC4626-deposit}. */\n    function deposit(uint256 assets, address receiver) public virtual returns (uint256) {\n        uint256 maxAssets = maxDeposit(receiver);\n        if (assets > maxAssets) {\n            revert ERC4626ExceededMaxDeposit(receiver, assets, maxAssets);\n        }\n\n        uint256 shares = previewDeposit(assets);\n        _deposit(_msgSender(), receiver, assets, shares);\n\n        return shares;\n    }\n\n    /** @dev See {IERC4626-mint}.\n     *\n     * As opposed to {deposit}, minting is allowed even if the vault is in a state where the price of a share is zero.\n     * In this case, the shares will be minted without requiring any assets to be deposited.\n     */\n    function mint(uint256 shares, address receiver) public virtual returns (uint256) {\n        uint256 maxShares = maxMint(receiver);\n        if (shares > maxShares) {\n            revert ERC4626ExceededMaxMint(receiver, shares, maxShares);\n        }\n\n        uint256 assets = previewMint(shares);\n        _deposit(_msgSender(), receiver, assets, shares);\n\n        return assets;\n    }\n\n    /** @dev See {IERC4626-withdraw}. */\n    function withdraw(uint256 assets, address receiver, address owner) public virtual returns (uint256) {\n        uint256 maxAssets = maxWithdraw(owner);\n        if (assets > maxAssets) {\n            revert ERC4626ExceededMaxWithdraw(owner, assets, maxAssets);\n        }\n\n        uint256 shares = previewWithdraw(assets);\n        _withdraw(_msgSender(), receiver, owner, assets, shares);\n\n        return shares;\n    }\n\n    /** @dev See {IERC4626-redeem}. */\n    function redeem(uint256 shares, address receiver, address owner) public virtual returns (uint256) {\n        uint256 maxShares = maxRedeem(owner);\n        if (shares > maxShares) {\n            revert ERC4626ExceededMaxRedeem(owner, shares, maxShares);\n        }\n\n        uint256 assets = previewRedeem(shares);\n        _withdraw(_msgSender(), receiver, owner, assets, shares);\n\n        return assets;\n    }\n\n    /**\n     * @dev Internal conversion function (from assets to shares) with support for rounding direction.\n     */\n    function _convertToShares(uint256 assets, Math.Rounding rounding) internal view virtual returns (uint256) {\n        return assets.mulDiv(totalSupply() + 10 ** _decimalsOffset(), totalAssets() + 1, rounding);\n    }\n\n    /**\n     * @dev Internal conversion function (from shares to assets) with support for rounding direction.\n     */\n    function _convertToAssets(uint256 shares, Math.Rounding rounding) internal view virtual returns (uint256) {\n        return shares.mulDiv(totalAssets() + 1, totalSupply() + 10 ** _decimalsOffset(), rounding);\n    }\n\n    /**\n     * @dev Deposit/mint common workflow.\n     */\n    function _deposit(address caller, address receiver, uint256 assets, uint256 shares) internal virtual {\n        ERC4626Storage storage $ = _getERC4626Storage();\n        // If _asset is ERC777, `transferFrom` can trigger a reentrancy BEFORE the transfer happens through the\n        // `tokensToSend` hook. On the other hand, the `tokenReceived` hook, that is triggered after the transfer,\n        // calls the vault, which is assumed not malicious.\n        //\n        // Conclusion: we need to do the transfer before we mint so that any reentrancy would happen before the\n        // assets are transferred and before the shares are minted, which is a valid state.\n        // slither-disable-next-line reentrancy-no-eth\n        SafeERC20.safeTransferFrom($._asset, caller, address(this), assets);\n        _mint(receiver, shares);\n\n        emit Deposit(caller, receiver, assets, shares);\n    }\n\n    /**\n     * @dev Withdraw/redeem common workflow.\n     */\n    function _withdraw(\n        address caller,\n        address receiver,\n        address owner,\n        uint256 assets,\n        uint256 shares\n    ) internal virtual {\n        ERC4626Storage storage $ = _getERC4626Storage();\n        if (caller != owner) {\n            _spendAllowance(owner, caller, shares);\n        }\n\n        // If _asset is ERC777, `transfer` can trigger a reentrancy AFTER the transfer happens through the\n        // `tokensReceived` hook. On the other hand, the `tokensToSend` hook, that is triggered before the transfer,\n        // calls the vault, which is assumed not malicious.\n        //\n        // Conclusion: we need to do the transfer after the burn so that any reentrancy would happen after the\n        // shares are burned and after the assets are transferred, which is a valid state.\n        _burn(owner, shares);\n        SafeERC20.safeTransfer($._asset, receiver, assets);\n\n        emit Withdraw(caller, receiver, owner, assets, shares);\n    }\n\n    function _decimalsOffset() internal view virtual returns (uint8) {\n        return 0;\n    }\n}\n"},"lib/openzeppelin-contracts-upgradeable/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\n/**\n * @dev Standard math utilities missing in the Solidity language.\n */\nlibrary Math {\n    /**\n     * @dev Muldiv operation overflow.\n     */\n    error MathOverflowedMulDiv();\n\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 overflow flag.\n     */\n    function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) {\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 overflow flag.\n     */\n    function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) {\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 overflow flag.\n     */\n    function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) {\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 division by zero flag.\n     */\n    function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) {\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 division by zero flag.\n     */\n    function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) {\n        unchecked {\n            if (b == 0) return (false, 0);\n            return (true, a % b);\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 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 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            return a / b;\n        }\n\n        // (a + b - 1) / b can overflow on addition, so we distribute.\n        return a == 0 ? 0 : (a - 1) / b + 1;\n    }\n\n    /**\n     * @notice Calculates floor(x * y / denominator) with full precision. Throws if result overflows a uint256 or\n     * denominator == 0.\n     * @dev 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^256 and mod 2^256 - 1, then use\n            // use the Chinese Remainder Theorem to reconstruct the 512 bit result. The result is stored in two 256\n            // variables such that product = prod1 * 2^256 + 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^256. Also prevents denominator == 0.\n            if (denominator <= prod1) {\n                revert MathOverflowedMulDiv();\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^256 / 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^256. Now that denominator is an odd number, it has an inverse modulo 2^256 such\n            // that denominator * inv = 1 mod 2^256. Compute the inverse by starting with a seed that is correct for\n            // four bits. That is, denominator * inv = 1 mod 2^4.\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^8\n            inverse *= 2 - denominator * inverse; // inverse mod 2^16\n            inverse *= 2 - denominator * inverse; // inverse mod 2^32\n            inverse *= 2 - denominator * inverse; // inverse mod 2^64\n            inverse *= 2 - denominator * inverse; // inverse mod 2^128\n            inverse *= 2 - denominator * inverse; // inverse mod 2^256\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^256. Since the preconditions guarantee that the outcome is\n            // less than 2^256, 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     * @notice 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        uint256 result = mulDiv(x, y, denominator);\n        if (unsignedRoundsUp(rounding) && mulmod(x, y, denominator) > 0) {\n            result += 1;\n        }\n        return result;\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     * Inspired by Henry S. Warren, Jr.'s \"Hacker's Delight\" (Chapter 11).\n     */\n    function sqrt(uint256 a) internal pure returns (uint256) {\n        if (a == 0) {\n            return 0;\n        }\n\n        // For our first guess, we get the biggest power of 2 which is smaller than the square root of the target.\n        //\n        // We know that the \"msb\" (most significant bit) of our target number `a` is a power of 2 such that we have\n        // `msb(a) <= a < 2*msb(a)`. This value can be written `msb(a)=2**k` with `k=log2(a)`.\n        //\n        // This can be rewritten `2**log2(a) <= a < 2**(log2(a) + 1)`\n        // → `sqrt(2**k) <= sqrt(a) < sqrt(2**(k+1))`\n        // → `2**(k/2) <= sqrt(a) < 2**((k+1)/2) <= 2**(k/2 + 1)`\n        //\n        // Consequently, `2**(log2(a) / 2)` is a good first approximation of `sqrt(a)` with at least 1 correct bit.\n        uint256 result = 1 << (log2(a) >> 1);\n\n        // At this point `result` is an estimation with one bit of precision. We know the true value is a uint128,\n        // since it is the square root of a uint256. Newton's method converges quadratically (precision doubles at\n        // every iteration). We thus need at most 7 iteration to turn our partial result with one bit of precision\n        // into the expected uint128 result.\n        unchecked {\n            result = (result + a / result) >> 1;\n            result = (result + a / result) >> 1;\n            result = (result + a / result) >> 1;\n            result = (result + a / result) >> 1;\n            result = (result + a / result) >> 1;\n            result = (result + a / result) >> 1;\n            result = (result + a / result) >> 1;\n            return min(result, a / result);\n        }\n    }\n\n    /**\n     * @notice 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 + (unsignedRoundsUp(rounding) && result * result < a ? 1 : 0);\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        unchecked {\n            if (value >> 128 > 0) {\n                value >>= 128;\n                result += 128;\n            }\n            if (value >> 64 > 0) {\n                value >>= 64;\n                result += 64;\n            }\n            if (value >> 32 > 0) {\n                value >>= 32;\n                result += 32;\n            }\n            if (value >> 16 > 0) {\n                value >>= 16;\n                result += 16;\n            }\n            if (value >> 8 > 0) {\n                value >>= 8;\n                result += 8;\n            }\n            if (value >> 4 > 0) {\n                value >>= 4;\n                result += 4;\n            }\n            if (value >> 2 > 0) {\n                value >>= 2;\n                result += 2;\n            }\n            if (value >> 1 > 0) {\n                result += 1;\n            }\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 + (unsignedRoundsUp(rounding) && 1 << result < value ? 1 : 0);\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 + (unsignedRoundsUp(rounding) && 10 ** result < value ? 1 : 0);\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        unchecked {\n            if (value >> 128 > 0) {\n                value >>= 128;\n                result += 16;\n            }\n            if (value >> 64 > 0) {\n                value >>= 64;\n                result += 8;\n            }\n            if (value >> 32 > 0) {\n                value >>= 32;\n                result += 4;\n            }\n            if (value >> 16 > 0) {\n                value >>= 16;\n                result += 2;\n            }\n            if (value >> 8 > 0) {\n                result += 1;\n            }\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 + (unsignedRoundsUp(rounding) && 1 << (result << 3) < value ? 1 : 0);\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-upgradeable/lib/openzeppelin-contracts/contracts/utils/StorageSlot.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.0.0) (utils/StorageSlot.sol)\n// This file was procedurally generated from scripts/generate/templates/StorageSlot.js.\n\npragma solidity ^0.8.20;\n\n/**\n * @dev Library for reading and writing primitive types to specific storage slots.\n *\n * Storage slots are often used to avoid storage conflict when dealing with upgradeable contracts.\n * This library helps with reading and writing to such slots without the need for inline assembly.\n *\n * The functions in this library return Slot structs that contain a `value` member that can be used to read or write.\n *\n * Example usage to set ERC1967 implementation slot:\n * ```solidity\n * contract ERC1967 {\n *     bytes32 internal constant _IMPLEMENTATION_SLOT = 0x360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc;\n *\n *     function _getImplementation() internal view returns (address) {\n *         return StorageSlot.getAddressSlot(_IMPLEMENTATION_SLOT).value;\n *     }\n *\n *     function _setImplementation(address newImplementation) internal {\n *         require(newImplementation.code.length > 0);\n *         StorageSlot.getAddressSlot(_IMPLEMENTATION_SLOT).value = newImplementation;\n *     }\n * }\n * ```\n */\nlibrary StorageSlot {\n    struct AddressSlot {\n        address value;\n    }\n\n    struct BooleanSlot {\n        bool value;\n    }\n\n    struct Bytes32Slot {\n        bytes32 value;\n    }\n\n    struct Uint256Slot {\n        uint256 value;\n    }\n\n    struct StringSlot {\n        string value;\n    }\n\n    struct BytesSlot {\n        bytes value;\n    }\n\n    /**\n     * @dev Returns an `AddressSlot` with member `value` located at `slot`.\n     */\n    function getAddressSlot(bytes32 slot) internal pure returns (AddressSlot storage r) {\n        /// @solidity memory-safe-assembly\n        assembly {\n            r.slot := slot\n        }\n    }\n\n    /**\n     * @dev Returns an `BooleanSlot` with member `value` located at `slot`.\n     */\n    function getBooleanSlot(bytes32 slot) internal pure returns (BooleanSlot storage r) {\n        /// @solidity memory-safe-assembly\n        assembly {\n            r.slot := slot\n        }\n    }\n\n    /**\n     * @dev Returns an `Bytes32Slot` with member `value` located at `slot`.\n     */\n    function getBytes32Slot(bytes32 slot) internal pure returns (Bytes32Slot storage r) {\n        /// @solidity memory-safe-assembly\n        assembly {\n            r.slot := slot\n        }\n    }\n\n    /**\n     * @dev Returns an `Uint256Slot` with member `value` located at `slot`.\n     */\n    function getUint256Slot(bytes32 slot) internal pure returns (Uint256Slot storage r) {\n        /// @solidity memory-safe-assembly\n        assembly {\n            r.slot := slot\n        }\n    }\n\n    /**\n     * @dev Returns an `StringSlot` with member `value` located at `slot`.\n     */\n    function getStringSlot(bytes32 slot) internal pure returns (StringSlot storage r) {\n        /// @solidity memory-safe-assembly\n        assembly {\n            r.slot := slot\n        }\n    }\n\n    /**\n     * @dev Returns an `StringSlot` representation of the string storage pointer `store`.\n     */\n    function getStringSlot(string storage store) internal pure returns (StringSlot storage r) {\n        /// @solidity memory-safe-assembly\n        assembly {\n            r.slot := store.slot\n        }\n    }\n\n    /**\n     * @dev Returns an `BytesSlot` with member `value` located at `slot`.\n     */\n    function getBytesSlot(bytes32 slot) internal pure returns (BytesSlot storage r) {\n        /// @solidity memory-safe-assembly\n        assembly {\n            r.slot := slot\n        }\n    }\n\n    /**\n     * @dev Returns an `BytesSlot` representation of the bytes storage pointer `store`.\n     */\n    function getBytesSlot(bytes storage store) internal pure returns (BytesSlot storage r) {\n        /// @solidity memory-safe-assembly\n        assembly {\n            r.slot := store.slot\n        }\n    }\n}\n"},"lib/openzeppelin-contracts-upgradeable/lib/openzeppelin-contracts/contracts/token/ERC20/IERC20.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.0.0) (token/ERC20/IERC20.sol)\n\npragma solidity ^0.8.20;\n\n/**\n * @dev Interface of the ERC20 standard as defined in the EIP.\n */\ninterface IERC20 {\n    /**\n     * @dev Emitted when `value` tokens are moved from one account (`from`) to\n     * another (`to`).\n     *\n     * Note that `value` may be zero.\n     */\n    event Transfer(address indexed from, address indexed to, uint256 value);\n\n    /**\n     * @dev Emitted when the allowance of a `spender` for an `owner` is set by\n     * a call to {approve}. `value` is the new allowance.\n     */\n    event Approval(address indexed owner, address indexed spender, uint256 value);\n\n    /**\n     * @dev Returns the value of tokens in existence.\n     */\n    function totalSupply() external view returns (uint256);\n\n    /**\n     * @dev Returns the value of tokens owned by `account`.\n     */\n    function balanceOf(address account) external view returns (uint256);\n\n    /**\n     * @dev Moves a `value` amount of tokens from the caller's account to `to`.\n     *\n     * Returns a boolean value indicating whether the operation succeeded.\n     *\n     * Emits a {Transfer} event.\n     */\n    function transfer(address to, uint256 value) external returns (bool);\n\n    /**\n     * @dev Returns the remaining number of tokens that `spender` will be\n     * allowed to spend on behalf of `owner` through {transferFrom}. This is\n     * zero by default.\n     *\n     * This value changes when {approve} or {transferFrom} are called.\n     */\n    function allowance(address owner, address spender) external view returns (uint256);\n\n    /**\n     * @dev Sets a `value` amount of tokens as the allowance of `spender` over the\n     * caller's tokens.\n     *\n     * Returns a boolean value indicating whether the operation succeeded.\n     *\n     * IMPORTANT: Beware that changing an allowance with this method brings the risk\n     * that someone may use both the old and the new allowance by unfortunate\n     * transaction ordering. One possible solution to mitigate this race\n     * condition is to first reduce the spender's allowance to 0 and set the\n     * desired value afterwards:\n     * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729\n     *\n     * Emits an {Approval} event.\n     */\n    function approve(address spender, uint256 value) external returns (bool);\n\n    /**\n     * @dev Moves a `value` amount of tokens from `from` to `to` using the\n     * allowance mechanism. `value` is then deducted from the caller's\n     * allowance.\n     *\n     * Returns a boolean value indicating whether the operation succeeded.\n     *\n     * Emits a {Transfer} event.\n     */\n    function transferFrom(address from, address to, uint256 value) external returns (bool);\n}\n"},"lib/openzeppelin-contracts-upgradeable/lib/openzeppelin-contracts/contracts/interfaces/IERC4626.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.0.0) (interfaces/IERC4626.sol)\n\npragma solidity ^0.8.20;\n\nimport {IERC20} from \"../token/ERC20/IERC20.sol\";\nimport {IERC20Metadata} from \"../token/ERC20/extensions/IERC20Metadata.sol\";\n\n/**\n * @dev Interface of the ERC4626 \"Tokenized Vault Standard\", as defined in\n * https://eips.ethereum.org/EIPS/eip-4626[ERC-4626].\n */\ninterface IERC4626 is IERC20, IERC20Metadata {\n    event Deposit(address indexed sender, address indexed owner, uint256 assets, uint256 shares);\n\n    event Withdraw(\n        address indexed sender,\n        address indexed receiver,\n        address indexed owner,\n        uint256 assets,\n        uint256 shares\n    );\n\n    /**\n     * @dev Returns the address of the underlying token used for the Vault for accounting, depositing, and withdrawing.\n     *\n     * - MUST be an ERC-20 token contract.\n     * - MUST NOT revert.\n     */\n    function asset() external view returns (address assetTokenAddress);\n\n    /**\n     * @dev Returns the total amount of the underlying asset that is “managed” by Vault.\n     *\n     * - SHOULD include any compounding that occurs from yield.\n     * - MUST be inclusive of any fees that are charged against assets in the Vault.\n     * - MUST NOT revert.\n     */\n    function totalAssets() external view returns (uint256 totalManagedAssets);\n\n    /**\n     * @dev Returns the amount of shares that the Vault would exchange for the amount of assets provided, in an ideal\n     * scenario where all the conditions are met.\n     *\n     * - MUST NOT be inclusive of any fees that are charged against assets in the Vault.\n     * - MUST NOT show any variations depending on the caller.\n     * - MUST NOT reflect slippage or other on-chain conditions, when performing the actual exchange.\n     * - MUST NOT revert.\n     *\n     * NOTE: This calculation MAY NOT reflect the “per-user” price-per-share, and instead should reflect the\n     * “average-user’s” price-per-share, meaning what the average user should expect to see when exchanging to and\n     * from.\n     */\n    function convertToShares(uint256 assets) external view returns (uint256 shares);\n\n    /**\n     * @dev Returns the amount of assets that the Vault would exchange for the amount of shares provided, in an ideal\n     * scenario where all the conditions are met.\n     *\n     * - MUST NOT be inclusive of any fees that are charged against assets in the Vault.\n     * - MUST NOT show any variations depending on the caller.\n     * - MUST NOT reflect slippage or other on-chain conditions, when performing the actual exchange.\n     * - MUST NOT revert.\n     *\n     * NOTE: This calculation MAY NOT reflect the “per-user” price-per-share, and instead should reflect the\n     * “average-user’s” price-per-share, meaning what the average user should expect to see when exchanging to and\n     * from.\n     */\n    function convertToAssets(uint256 shares) external view returns (uint256 assets);\n\n    /**\n     * @dev Returns the maximum amount of the underlying asset that can be deposited into the Vault for the receiver,\n     * through a deposit call.\n     *\n     * - MUST return a limited value if receiver is subject to some deposit limit.\n     * - MUST return 2 ** 256 - 1 if there is no limit on the maximum amount of assets that may be deposited.\n     * - MUST NOT revert.\n     */\n    function maxDeposit(address receiver) external view returns (uint256 maxAssets);\n\n    /**\n     * @dev Allows an on-chain or off-chain user to simulate the effects of their deposit at the current block, given\n     * current on-chain conditions.\n     *\n     * - MUST return as close to and no more than the exact amount of Vault shares that would be minted in a deposit\n     *   call in the same transaction. I.e. deposit should return the same or more shares as previewDeposit if called\n     *   in the same transaction.\n     * - MUST NOT account for deposit limits like those returned from maxDeposit and should always act as though the\n     *   deposit would be accepted, regardless if the user has enough tokens approved, etc.\n     * - MUST be inclusive of deposit fees. Integrators should be aware of the existence of deposit fees.\n     * - MUST NOT revert.\n     *\n     * NOTE: any unfavorable discrepancy between convertToShares and previewDeposit SHOULD be considered slippage in\n     * share price or some other type of condition, meaning the depositor will lose assets by depositing.\n     */\n    function previewDeposit(uint256 assets) external view returns (uint256 shares);\n\n    /**\n     * @dev Mints shares Vault shares to receiver by depositing exactly amount of underlying tokens.\n     *\n     * - MUST emit the Deposit event.\n     * - MAY support an additional flow in which the underlying tokens are owned by the Vault contract before the\n     *   deposit execution, and are accounted for during deposit.\n     * - MUST revert if all of assets cannot be deposited (due to deposit limit being reached, slippage, the user not\n     *   approving enough underlying tokens to the Vault contract, etc).\n     *\n     * NOTE: most implementations will require pre-approval of the Vault with the Vault’s underlying asset token.\n     */\n    function deposit(uint256 assets, address receiver) external returns (uint256 shares);\n\n    /**\n     * @dev Returns the maximum amount of the Vault shares that can be minted for the receiver, through a mint call.\n     * - MUST return a limited value if receiver is subject to some mint limit.\n     * - MUST return 2 ** 256 - 1 if there is no limit on the maximum amount of shares that may be minted.\n     * - MUST NOT revert.\n     */\n    function maxMint(address receiver) external view returns (uint256 maxShares);\n\n    /**\n     * @dev Allows an on-chain or off-chain user to simulate the effects of their mint at the current block, given\n     * current on-chain conditions.\n     *\n     * - MUST return as close to and no fewer than the exact amount of assets that would be deposited in a mint call\n     *   in the same transaction. I.e. mint should return the same or fewer assets as previewMint if called in the\n     *   same transaction.\n     * - MUST NOT account for mint limits like those returned from maxMint and should always act as though the mint\n     *   would be accepted, regardless if the user has enough tokens approved, etc.\n     * - MUST be inclusive of deposit fees. Integrators should be aware of the existence of deposit fees.\n     * - MUST NOT revert.\n     *\n     * NOTE: any unfavorable discrepancy between convertToAssets and previewMint SHOULD be considered slippage in\n     * share price or some other type of condition, meaning the depositor will lose assets by minting.\n     */\n    function previewMint(uint256 shares) external view returns (uint256 assets);\n\n    /**\n     * @dev Mints exactly shares Vault shares to receiver by depositing amount of underlying tokens.\n     *\n     * - MUST emit the Deposit event.\n     * - MAY support an additional flow in which the underlying tokens are owned by the Vault contract before the mint\n     *   execution, and are accounted for during mint.\n     * - MUST revert if all of shares cannot be minted (due to deposit limit being reached, slippage, the user not\n     *   approving enough underlying tokens to the Vault contract, etc).\n     *\n     * NOTE: most implementations will require pre-approval of the Vault with the Vault’s underlying asset token.\n     */\n    function mint(uint256 shares, address receiver) external returns (uint256 assets);\n\n    /**\n     * @dev Returns the maximum amount of the underlying asset that can be withdrawn from the owner balance in the\n     * Vault, through a withdraw call.\n     *\n     * - MUST return a limited value if owner is subject to some withdrawal limit or timelock.\n     * - MUST NOT revert.\n     */\n    function maxWithdraw(address owner) external view returns (uint256 maxAssets);\n\n    /**\n     * @dev Allows an on-chain or off-chain user to simulate the effects of their withdrawal at the current block,\n     * given current on-chain conditions.\n     *\n     * - MUST return as close to and no fewer than the exact amount of Vault shares that would be burned in a withdraw\n     *   call in the same transaction. I.e. withdraw should return the same or fewer shares as previewWithdraw if\n     *   called\n     *   in the same transaction.\n     * - MUST NOT account for withdrawal limits like those returned from maxWithdraw and should always act as though\n     *   the withdrawal would be accepted, regardless if the user has enough shares, etc.\n     * - MUST be inclusive of withdrawal fees. Integrators should be aware of the existence of withdrawal fees.\n     * - MUST NOT revert.\n     *\n     * NOTE: any unfavorable discrepancy between convertToShares and previewWithdraw SHOULD be considered slippage in\n     * share price or some other type of condition, meaning the depositor will lose assets by depositing.\n     */\n    function previewWithdraw(uint256 assets) external view returns (uint256 shares);\n\n    /**\n     * @dev Burns shares from owner and sends exactly assets of underlying tokens to receiver.\n     *\n     * - MUST emit the Withdraw event.\n     * - MAY support an additional flow in which the underlying tokens are owned by the Vault contract before the\n     *   withdraw execution, and are accounted for during withdraw.\n     * - MUST revert if all of assets cannot be withdrawn (due to withdrawal limit being reached, slippage, the owner\n     *   not having enough shares, etc).\n     *\n     * Note that some implementations will require pre-requesting to the Vault before a withdrawal may be performed.\n     * Those methods should be performed separately.\n     */\n    function withdraw(uint256 assets, address receiver, address owner) external returns (uint256 shares);\n\n    /**\n     * @dev Returns the maximum amount of Vault shares that can be redeemed from the owner balance in the Vault,\n     * through a redeem call.\n     *\n     * - MUST return a limited value if owner is subject to some withdrawal limit or timelock.\n     * - MUST return balanceOf(owner) if owner is not subject to any withdrawal limit or timelock.\n     * - MUST NOT revert.\n     */\n    function maxRedeem(address owner) external view returns (uint256 maxShares);\n\n    /**\n     * @dev Allows an on-chain or off-chain user to simulate the effects of their redeemption at the current block,\n     * given current on-chain conditions.\n     *\n     * - MUST return as close to and no more than the exact amount of assets that would be withdrawn in a redeem call\n     *   in the same transaction. I.e. redeem should return the same or more assets as previewRedeem if called in the\n     *   same transaction.\n     * - MUST NOT account for redemption limits like those returned from maxRedeem and should always act as though the\n     *   redemption would be accepted, regardless if the user has enough shares, etc.\n     * - MUST be inclusive of withdrawal fees. Integrators should be aware of the existence of withdrawal fees.\n     * - MUST NOT revert.\n     *\n     * NOTE: any unfavorable discrepancy between convertToAssets and previewRedeem SHOULD be considered slippage in\n     * share price or some other type of condition, meaning the depositor will lose assets by redeeming.\n     */\n    function previewRedeem(uint256 shares) external view returns (uint256 assets);\n\n    /**\n     * @dev Burns exactly shares from owner and sends assets of underlying tokens to receiver.\n     *\n     * - MUST emit the Withdraw event.\n     * - MAY support an additional flow in which the underlying tokens are owned by the Vault contract before the\n     *   redeem execution, and are accounted for during redeem.\n     * - MUST revert if all of shares cannot be redeemed (due to withdrawal limit being reached, slippage, the owner\n     *   not having enough shares, etc).\n     *\n     * NOTE: some implementations will require pre-requesting to the Vault before a withdrawal may be performed.\n     * Those methods should be performed separately.\n     */\n    function redeem(uint256 shares, address receiver, address owner) external returns (uint256 assets);\n}\n"},"lib/openzeppelin-contracts-upgradeable/lib/openzeppelin-contracts/contracts/proxy/beacon/IBeacon.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.0.0) (proxy/beacon/IBeacon.sol)\n\npragma solidity ^0.8.20;\n\n/**\n * @dev This is the interface that {BeaconProxy} expects of its beacon.\n */\ninterface IBeacon {\n    /**\n     * @dev Must return an address that can be used as a delegate call target.\n     *\n     * {UpgradeableBeacon} will check that this address is a contract.\n     */\n    function implementation() external view returns (address);\n}\n"},"lib/openzeppelin-contracts-upgradeable/lib/openzeppelin-contracts/contracts/interfaces/draft-IERC1822.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.0.0) (interfaces/draft-IERC1822.sol)\n\npragma solidity ^0.8.20;\n\n/**\n * @dev ERC1822: Universal Upgradeable Proxy Standard (UUPS) documents a method for upgradeability through a simplified\n * proxy whose upgrades are fully controlled by the current implementation.\n */\ninterface IERC1822Proxiable {\n    /**\n     * @dev Returns the storage slot that the proxiable contract assumes is being used to store the implementation\n     * address.\n     *\n     * IMPORTANT: A proxy pointing at a proxiable contract should not be considered proxiable itself, because this risks\n     * bricking a proxy that upgrades to it, by delegating to itself until out of gas. Thus it is critical that this\n     * function revert if invoked through a proxy.\n     */\n    function proxiableUUID() external view returns (bytes32);\n}\n"},"lib/openzeppelin-contracts-upgradeable/lib/openzeppelin-contracts/contracts/interfaces/draft-IERC6093.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.0.0) (interfaces/draft-IERC6093.sol)\npragma solidity ^0.8.20;\n\n/**\n * @dev Standard ERC20 Errors\n * Interface of the https://eips.ethereum.org/EIPS/eip-6093[ERC-6093] custom errors for ERC20 tokens.\n */\ninterface IERC20Errors {\n    /**\n     * @dev Indicates an error related to the current `balance` of a `sender`. Used in transfers.\n     * @param sender Address whose tokens are being transferred.\n     * @param balance Current balance for the interacting account.\n     * @param needed Minimum amount required to perform a transfer.\n     */\n    error ERC20InsufficientBalance(address sender, uint256 balance, uint256 needed);\n\n    /**\n     * @dev Indicates a failure with the token `sender`. Used in transfers.\n     * @param sender Address whose tokens are being transferred.\n     */\n    error ERC20InvalidSender(address sender);\n\n    /**\n     * @dev Indicates a failure with the token `receiver`. Used in transfers.\n     * @param receiver Address to which tokens are being transferred.\n     */\n    error ERC20InvalidReceiver(address receiver);\n\n    /**\n     * @dev Indicates a failure with the `spender`’s `allowance`. Used in transfers.\n     * @param spender Address that may be allowed to operate on tokens without being their owner.\n     * @param allowance Amount of tokens a `spender` is allowed to operate with.\n     * @param needed Minimum amount required to perform a transfer.\n     */\n    error ERC20InsufficientAllowance(address spender, uint256 allowance, uint256 needed);\n\n    /**\n     * @dev Indicates a failure with the `approver` of a token to be approved. Used in approvals.\n     * @param approver Address initiating an approval operation.\n     */\n    error ERC20InvalidApprover(address approver);\n\n    /**\n     * @dev Indicates a failure with the `spender` to be approved. Used in approvals.\n     * @param spender Address that may be allowed to operate on tokens without being their owner.\n     */\n    error ERC20InvalidSpender(address spender);\n}\n\n/**\n * @dev Standard ERC721 Errors\n * Interface of the https://eips.ethereum.org/EIPS/eip-6093[ERC-6093] custom errors for ERC721 tokens.\n */\ninterface IERC721Errors {\n    /**\n     * @dev Indicates that an address can't be an owner. For example, `address(0)` is a forbidden owner in EIP-20.\n     * Used in balance queries.\n     * @param owner Address of the current owner of a token.\n     */\n    error ERC721InvalidOwner(address owner);\n\n    /**\n     * @dev Indicates a `tokenId` whose `owner` is the zero address.\n     * @param tokenId Identifier number of a token.\n     */\n    error ERC721NonexistentToken(uint256 tokenId);\n\n    /**\n     * @dev Indicates an error related to the ownership over a particular token. Used in transfers.\n     * @param sender Address whose tokens are being transferred.\n     * @param tokenId Identifier number of a token.\n     * @param owner Address of the current owner of a token.\n     */\n    error ERC721IncorrectOwner(address sender, uint256 tokenId, address owner);\n\n    /**\n     * @dev Indicates a failure with the token `sender`. Used in transfers.\n     * @param sender Address whose tokens are being transferred.\n     */\n    error ERC721InvalidSender(address sender);\n\n    /**\n     * @dev Indicates a failure with the token `receiver`. Used in transfers.\n     * @param receiver Address to which tokens are being transferred.\n     */\n    error ERC721InvalidReceiver(address receiver);\n\n    /**\n     * @dev Indicates a failure with the `operator`’s approval. Used in transfers.\n     * @param operator Address that may be allowed to operate on tokens without being their owner.\n     * @param tokenId Identifier number of a token.\n     */\n    error ERC721InsufficientApproval(address operator, uint256 tokenId);\n\n    /**\n     * @dev Indicates a failure with the `approver` of a token to be approved. Used in approvals.\n     * @param approver Address initiating an approval operation.\n     */\n    error ERC721InvalidApprover(address approver);\n\n    /**\n     * @dev Indicates a failure with the `operator` to be approved. Used in approvals.\n     * @param operator Address that may be allowed to operate on tokens without being their owner.\n     */\n    error ERC721InvalidOperator(address operator);\n}\n\n/**\n * @dev Standard ERC1155 Errors\n * Interface of the https://eips.ethereum.org/EIPS/eip-6093[ERC-6093] custom errors for ERC1155 tokens.\n */\ninterface IERC1155Errors {\n    /**\n     * @dev Indicates an error related to the current `balance` of a `sender`. Used in transfers.\n     * @param sender Address whose tokens are being transferred.\n     * @param balance Current balance for the interacting account.\n     * @param needed Minimum amount required to perform a transfer.\n     * @param tokenId Identifier number of a token.\n     */\n    error ERC1155InsufficientBalance(address sender, uint256 balance, uint256 needed, uint256 tokenId);\n\n    /**\n     * @dev Indicates a failure with the token `sender`. Used in transfers.\n     * @param sender Address whose tokens are being transferred.\n     */\n    error ERC1155InvalidSender(address sender);\n\n    /**\n     * @dev Indicates a failure with the token `receiver`. Used in transfers.\n     * @param receiver Address to which tokens are being transferred.\n     */\n    error ERC1155InvalidReceiver(address receiver);\n\n    /**\n     * @dev Indicates a failure with the `operator`’s approval. Used in transfers.\n     * @param operator Address that may be allowed to operate on tokens without being their owner.\n     * @param owner Address of the current owner of a token.\n     */\n    error ERC1155MissingApprovalForAll(address operator, address owner);\n\n    /**\n     * @dev Indicates a failure with the `approver` of a token to be approved. Used in approvals.\n     * @param approver Address initiating an approval operation.\n     */\n    error ERC1155InvalidApprover(address approver);\n\n    /**\n     * @dev Indicates a failure with the `operator` to be approved. Used in approvals.\n     * @param operator Address that may be allowed to operate on tokens without being their owner.\n     */\n    error ERC1155InvalidOperator(address operator);\n\n    /**\n     * @dev Indicates an array length mismatch between ids and values in a safeBatchTransferFrom operation.\n     * Used in batch transfers.\n     * @param idsLength Length of the array of token identifiers\n     * @param valuesLength Length of the array of token amounts\n     */\n    error ERC1155InvalidArrayLength(uint256 idsLength, uint256 valuesLength);\n}\n"},"lib/openzeppelin-contracts-upgradeable/lib/openzeppelin-contracts/contracts/proxy/ERC1967/ERC1967Utils.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.0.0) (proxy/ERC1967/ERC1967Utils.sol)\n\npragma solidity ^0.8.20;\n\nimport {IBeacon} from \"../beacon/IBeacon.sol\";\nimport {Address} from \"../../utils/Address.sol\";\nimport {StorageSlot} from \"../../utils/StorageSlot.sol\";\n\n/**\n * @dev This abstract contract provides getters and event emitting update functions for\n * https://eips.ethereum.org/EIPS/eip-1967[EIP1967] slots.\n */\nlibrary ERC1967Utils {\n    // We re-declare ERC-1967 events here because they can't be used directly from IERC1967.\n    // This will be fixed in Solidity 0.8.21. At that point we should remove these events.\n    /**\n     * @dev Emitted when the implementation is upgraded.\n     */\n    event Upgraded(address indexed implementation);\n\n    /**\n     * @dev Emitted when the admin account has changed.\n     */\n    event AdminChanged(address previousAdmin, address newAdmin);\n\n    /**\n     * @dev Emitted when the beacon is changed.\n     */\n    event BeaconUpgraded(address indexed beacon);\n\n    /**\n     * @dev Storage slot with the address of the current implementation.\n     * This is the keccak-256 hash of \"eip1967.proxy.implementation\" subtracted by 1.\n     */\n    // solhint-disable-next-line private-vars-leading-underscore\n    bytes32 internal constant IMPLEMENTATION_SLOT = 0x360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc;\n\n    /**\n     * @dev The `implementation` of the proxy is invalid.\n     */\n    error ERC1967InvalidImplementation(address implementation);\n\n    /**\n     * @dev The `admin` of the proxy is invalid.\n     */\n    error ERC1967InvalidAdmin(address admin);\n\n    /**\n     * @dev The `beacon` of the proxy is invalid.\n     */\n    error ERC1967InvalidBeacon(address beacon);\n\n    /**\n     * @dev An upgrade function sees `msg.value > 0` that may be lost.\n     */\n    error ERC1967NonPayable();\n\n    /**\n     * @dev Returns the current implementation address.\n     */\n    function getImplementation() internal view returns (address) {\n        return StorageSlot.getAddressSlot(IMPLEMENTATION_SLOT).value;\n    }\n\n    /**\n     * @dev Stores a new address in the EIP1967 implementation slot.\n     */\n    function _setImplementation(address newImplementation) private {\n        if (newImplementation.code.length == 0) {\n            revert ERC1967InvalidImplementation(newImplementation);\n        }\n        StorageSlot.getAddressSlot(IMPLEMENTATION_SLOT).value = newImplementation;\n    }\n\n    /**\n     * @dev Performs implementation upgrade with additional setup call if data is nonempty.\n     * This function is payable only if the setup call is performed, otherwise `msg.value` is rejected\n     * to avoid stuck value in the contract.\n     *\n     * Emits an {IERC1967-Upgraded} event.\n     */\n    function upgradeToAndCall(address newImplementation, bytes memory data) internal {\n        _setImplementation(newImplementation);\n        emit Upgraded(newImplementation);\n\n        if (data.length > 0) {\n            Address.functionDelegateCall(newImplementation, data);\n        } else {\n            _checkNonPayable();\n        }\n    }\n\n    /**\n     * @dev Storage slot with the admin of the contract.\n     * This is the keccak-256 hash of \"eip1967.proxy.admin\" subtracted by 1.\n     */\n    // solhint-disable-next-line private-vars-leading-underscore\n    bytes32 internal constant ADMIN_SLOT = 0xb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d6103;\n\n    /**\n     * @dev Returns the current admin.\n     *\n     * TIP: To get this value clients can read directly from the storage slot shown below (specified by EIP1967) using\n     * the https://eth.wiki/json-rpc/API#eth_getstorageat[`eth_getStorageAt`] RPC call.\n     * `0xb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d6103`\n     */\n    function getAdmin() internal view returns (address) {\n        return StorageSlot.getAddressSlot(ADMIN_SLOT).value;\n    }\n\n    /**\n     * @dev Stores a new address in the EIP1967 admin slot.\n     */\n    function _setAdmin(address newAdmin) private {\n        if (newAdmin == address(0)) {\n            revert ERC1967InvalidAdmin(address(0));\n        }\n        StorageSlot.getAddressSlot(ADMIN_SLOT).value = newAdmin;\n    }\n\n    /**\n     * @dev Changes the admin of the proxy.\n     *\n     * Emits an {IERC1967-AdminChanged} event.\n     */\n    function changeAdmin(address newAdmin) internal {\n        emit AdminChanged(getAdmin(), newAdmin);\n        _setAdmin(newAdmin);\n    }\n\n    /**\n     * @dev The storage slot of the UpgradeableBeacon contract which defines the implementation for this proxy.\n     * This is the keccak-256 hash of \"eip1967.proxy.beacon\" subtracted by 1.\n     */\n    // solhint-disable-next-line private-vars-leading-underscore\n    bytes32 internal constant BEACON_SLOT = 0xa3f0ad74e5423aebfd80d3ef4346578335a9a72aeaee59ff6cb3582b35133d50;\n\n    /**\n     * @dev Returns the current beacon.\n     */\n    function getBeacon() internal view returns (address) {\n        return StorageSlot.getAddressSlot(BEACON_SLOT).value;\n    }\n\n    /**\n     * @dev Stores a new beacon in the EIP1967 beacon slot.\n     */\n    function _setBeacon(address newBeacon) private {\n        if (newBeacon.code.length == 0) {\n            revert ERC1967InvalidBeacon(newBeacon);\n        }\n\n        StorageSlot.getAddressSlot(BEACON_SLOT).value = newBeacon;\n\n        address beaconImplementation = IBeacon(newBeacon).implementation();\n        if (beaconImplementation.code.length == 0) {\n            revert ERC1967InvalidImplementation(beaconImplementation);\n        }\n    }\n\n    /**\n     * @dev Change the beacon and trigger a setup call if data is nonempty.\n     * This function is payable only if the setup call is performed, otherwise `msg.value` is rejected\n     * to avoid stuck value in the contract.\n     *\n     * Emits an {IERC1967-BeaconUpgraded} event.\n     *\n     * CAUTION: Invoking this function has no effect on an instance of {BeaconProxy} since v5, since\n     * it uses an immutable beacon without looking at the value of the ERC-1967 beacon slot for\n     * efficiency.\n     */\n    function upgradeBeaconToAndCall(address newBeacon, bytes memory data) internal {\n        _setBeacon(newBeacon);\n        emit BeaconUpgraded(newBeacon);\n\n        if (data.length > 0) {\n            Address.functionDelegateCall(IBeacon(newBeacon).implementation(), data);\n        } else {\n            _checkNonPayable();\n        }\n    }\n\n    /**\n     * @dev Reverts if `msg.value` is not zero. It can be used to avoid `msg.value` stuck in the contract\n     * if an upgrade doesn't perform an initialization call.\n     */\n    function _checkNonPayable() private {\n        if (msg.value > 0) {\n            revert ERC1967NonPayable();\n        }\n    }\n}\n"},"lib/openzeppelin-contracts-upgradeable/lib/openzeppelin-contracts/contracts/proxy/utils/UUPSUpgradeable.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.0.0) (proxy/utils/UUPSUpgradeable.sol)\n\npragma solidity ^0.8.20;\n\nimport {IERC1822Proxiable} from \"../../interfaces/draft-IERC1822.sol\";\nimport {ERC1967Utils} from \"../ERC1967/ERC1967Utils.sol\";\n\n/**\n * @dev An upgradeability mechanism designed for UUPS proxies. The functions included here can perform an upgrade of an\n * {ERC1967Proxy}, when this contract is set as the implementation behind such a proxy.\n *\n * A security mechanism ensures that an upgrade does not turn off upgradeability accidentally, although this risk is\n * reinstated if the upgrade retains upgradeability but removes the security mechanism, e.g. by replacing\n * `UUPSUpgradeable` with a custom implementation of upgrades.\n *\n * The {_authorizeUpgrade} function must be overridden to include access restriction to the upgrade mechanism.\n */\nabstract contract UUPSUpgradeable is IERC1822Proxiable {\n    /// @custom:oz-upgrades-unsafe-allow state-variable-immutable\n    address private immutable __self = address(this);\n\n    /**\n     * @dev The version of the upgrade interface of the contract. If this getter is missing, both `upgradeTo(address)`\n     * and `upgradeToAndCall(address,bytes)` are present, and `upgradeTo` must be used if no function should be called,\n     * while `upgradeToAndCall` will invoke the `receive` function if the second argument is the empty byte string.\n     * If the getter returns `\"5.0.0\"`, only `upgradeToAndCall(address,bytes)` is present, and the second argument must\n     * be the empty byte string if no function should be called, making it impossible to invoke the `receive` function\n     * during an upgrade.\n     */\n    string public constant UPGRADE_INTERFACE_VERSION = \"5.0.0\";\n\n    /**\n     * @dev The call is from an unauthorized context.\n     */\n    error UUPSUnauthorizedCallContext();\n\n    /**\n     * @dev The storage `slot` is unsupported as a UUID.\n     */\n    error UUPSUnsupportedProxiableUUID(bytes32 slot);\n\n    /**\n     * @dev Check that the execution is being performed through a delegatecall call and that the execution context is\n     * a proxy contract with an implementation (as defined in ERC1967) pointing to self. This should only be the case\n     * for UUPS and transparent proxies that are using the current contract as their implementation. Execution of a\n     * function through ERC1167 minimal proxies (clones) would not normally pass this test, but is not guaranteed to\n     * fail.\n     */\n    modifier onlyProxy() {\n        _checkProxy();\n        _;\n    }\n\n    /**\n     * @dev Check that the execution is not being performed through a delegate call. This allows a function to be\n     * callable on the implementing contract but not through proxies.\n     */\n    modifier notDelegated() {\n        _checkNotDelegated();\n        _;\n    }\n\n    /**\n     * @dev Implementation of the ERC1822 {proxiableUUID} function. This returns the storage slot used by the\n     * implementation. It is used to validate the implementation's compatibility when performing an upgrade.\n     *\n     * IMPORTANT: A proxy pointing at a proxiable contract should not be considered proxiable itself, because this risks\n     * bricking a proxy that upgrades to it, by delegating to itself until out of gas. Thus it is critical that this\n     * function revert if invoked through a proxy. This is guaranteed by the `notDelegated` modifier.\n     */\n    function proxiableUUID() external view virtual notDelegated returns (bytes32) {\n        return ERC1967Utils.IMPLEMENTATION_SLOT;\n    }\n\n    /**\n     * @dev Upgrade the implementation of the proxy to `newImplementation`, and subsequently execute the function call\n     * encoded in `data`.\n     *\n     * Calls {_authorizeUpgrade}.\n     *\n     * Emits an {Upgraded} event.\n     *\n     * @custom:oz-upgrades-unsafe-allow-reachable delegatecall\n     */\n    function upgradeToAndCall(address newImplementation, bytes memory data) public payable virtual onlyProxy {\n        _authorizeUpgrade(newImplementation);\n        _upgradeToAndCallUUPS(newImplementation, data);\n    }\n\n    /**\n     * @dev Reverts if the execution is not performed via delegatecall or the execution\n     * context is not of a proxy with an ERC1967-compliant implementation pointing to self.\n     * See {_onlyProxy}.\n     */\n    function _checkProxy() internal view virtual {\n        if (\n            address(this) == __self || // Must be called through delegatecall\n            ERC1967Utils.getImplementation() != __self // Must be called through an active proxy\n        ) {\n            revert UUPSUnauthorizedCallContext();\n        }\n    }\n\n    /**\n     * @dev Reverts if the execution is performed via delegatecall.\n     * See {notDelegated}.\n     */\n    function _checkNotDelegated() internal view virtual {\n        if (address(this) != __self) {\n            // Must not be called through delegatecall\n            revert UUPSUnauthorizedCallContext();\n        }\n    }\n\n    /**\n     * @dev Function that should revert when `msg.sender` is not authorized to upgrade the contract. Called by\n     * {upgradeToAndCall}.\n     *\n     * Normally, this function will use an xref:access.adoc[access control] modifier such as {Ownable-onlyOwner}.\n     *\n     * ```solidity\n     * function _authorizeUpgrade(address) internal onlyOwner {}\n     * ```\n     */\n    function _authorizeUpgrade(address newImplementation) internal virtual;\n\n    /**\n     * @dev Performs an implementation upgrade with a security check for UUPS proxies, and additional setup call.\n     *\n     * As a security check, {proxiableUUID} is invoked in the new implementation, and the return value\n     * is expected to be the implementation slot in ERC1967.\n     *\n     * Emits an {IERC1967-Upgraded} event.\n     */\n    function _upgradeToAndCallUUPS(address newImplementation, bytes memory data) private {\n        try IERC1822Proxiable(newImplementation).proxiableUUID() returns (bytes32 slot) {\n            if (slot != ERC1967Utils.IMPLEMENTATION_SLOT) {\n                revert UUPSUnsupportedProxiableUUID(slot);\n            }\n            ERC1967Utils.upgradeToAndCall(newImplementation, data);\n        } catch {\n            // The implementation is not UUPS\n            revert ERC1967Utils.ERC1967InvalidImplementation(newImplementation);\n        }\n    }\n}\n"},"lib/openzeppelin-contracts-upgradeable/lib/openzeppelin-contracts/contracts/token/ERC20/utils/SafeERC20.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.0.0) (token/ERC20/utils/SafeERC20.sol)\n\npragma solidity ^0.8.20;\n\nimport {IERC20} from \"../IERC20.sol\";\nimport {IERC20Permit} from \"../extensions/IERC20Permit.sol\";\nimport {Address} from \"../../../utils/Address.sol\";\n\n/**\n * @title SafeERC20\n * @dev Wrappers around ERC20 operations that throw on failure (when the token\n * contract returns false). Tokens that return no value (and instead revert or\n * throw on failure) are also supported, non-reverting calls are assumed to be\n * successful.\n * To use this library you can add a `using SafeERC20 for IERC20;` statement to your contract,\n * which allows you to call the safe operations as `token.safeTransfer(...)`, etc.\n */\nlibrary SafeERC20 {\n    using Address for address;\n\n    /**\n     * @dev An operation with an ERC20 token failed.\n     */\n    error SafeERC20FailedOperation(address token);\n\n    /**\n     * @dev Indicates a failed `decreaseAllowance` request.\n     */\n    error SafeERC20FailedDecreaseAllowance(address spender, uint256 currentAllowance, uint256 requestedDecrease);\n\n    /**\n     * @dev Transfer `value` amount of `token` from the calling contract to `to`. If `token` returns no value,\n     * non-reverting calls are assumed to be successful.\n     */\n    function safeTransfer(IERC20 token, address to, uint256 value) internal {\n        _callOptionalReturn(token, abi.encodeCall(token.transfer, (to, value)));\n    }\n\n    /**\n     * @dev Transfer `value` amount of `token` from `from` to `to`, spending the approval given by `from` to the\n     * calling contract. If `token` returns no value, non-reverting calls are assumed to be successful.\n     */\n    function safeTransferFrom(IERC20 token, address from, address to, uint256 value) internal {\n        _callOptionalReturn(token, abi.encodeCall(token.transferFrom, (from, to, value)));\n    }\n\n    /**\n     * @dev Increase the calling contract's allowance toward `spender` by `value`. If `token` returns no value,\n     * non-reverting calls are assumed to be successful.\n     */\n    function safeIncreaseAllowance(IERC20 token, address spender, uint256 value) internal {\n        uint256 oldAllowance = token.allowance(address(this), spender);\n        forceApprove(token, spender, oldAllowance + value);\n    }\n\n    /**\n     * @dev Decrease the calling contract's allowance toward `spender` by `requestedDecrease`. If `token` returns no\n     * value, non-reverting calls are assumed to be successful.\n     */\n    function safeDecreaseAllowance(IERC20 token, address spender, uint256 requestedDecrease) internal {\n        unchecked {\n            uint256 currentAllowance = token.allowance(address(this), spender);\n            if (currentAllowance < requestedDecrease) {\n                revert SafeERC20FailedDecreaseAllowance(spender, currentAllowance, requestedDecrease);\n            }\n            forceApprove(token, spender, currentAllowance - requestedDecrease);\n        }\n    }\n\n    /**\n     * @dev Set the calling contract's allowance toward `spender` to `value`. If `token` returns no value,\n     * non-reverting calls are assumed to be successful. Meant to be used with tokens that require the approval\n     * to be set to zero before setting it to a non-zero value, such as USDT.\n     */\n    function forceApprove(IERC20 token, address spender, uint256 value) internal {\n        bytes memory approvalCall = abi.encodeCall(token.approve, (spender, value));\n\n        if (!_callOptionalReturnBool(token, approvalCall)) {\n            _callOptionalReturn(token, abi.encodeCall(token.approve, (spender, 0)));\n            _callOptionalReturn(token, approvalCall);\n        }\n    }\n\n    /**\n     * @dev Imitates a Solidity high-level call (i.e. a regular function call to a contract), relaxing the requirement\n     * on the return value: the return value is optional (but if data is returned, it must not be false).\n     * @param token The token targeted by the call.\n     * @param data The call data (encoded using abi.encode or one of its variants).\n     */\n    function _callOptionalReturn(IERC20 token, bytes memory data) private {\n        // We need to perform a low level call here, to bypass Solidity's return data size checking mechanism, since\n        // we're implementing it ourselves. We use {Address-functionCall} to perform this call, which verifies that\n        // the target address contains contract code and also asserts for success in the low-level call.\n\n        bytes memory returndata = address(token).functionCall(data);\n        if (returndata.length != 0 && !abi.decode(returndata, (bool))) {\n            revert SafeERC20FailedOperation(address(token));\n        }\n    }\n\n    /**\n     * @dev Imitates a Solidity high-level call (i.e. a regular function call to a contract), relaxing the requirement\n     * on the return value: the return value is optional (but if data is returned, it must not be false).\n     * @param token The token targeted by the call.\n     * @param data The call data (encoded using abi.encode or one of its variants).\n     *\n     * This is a variant of {_callOptionalReturn} that silents catches all reverts and returns a bool instead.\n     */\n    function _callOptionalReturnBool(IERC20 token, bytes memory data) private returns (bool) {\n        // We need to perform a low level call here, to bypass Solidity's return data size checking mechanism, since\n        // we're implementing it ourselves. We cannot use {Address-functionCall} here since this should return false\n        // and not revert is the subcall reverts.\n\n        (bool success, bytes memory returndata) = address(token).call(data);\n        return success && (returndata.length == 0 || abi.decode(returndata, (bool))) && address(token).code.length > 0;\n    }\n}\n"},"lib/openzeppelin-contracts-upgradeable/lib/openzeppelin-contracts/contracts/token/ERC20/extensions/IERC20Permit.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.0.0) (token/ERC20/extensions/IERC20Permit.sol)\n\npragma solidity ^0.8.20;\n\n/**\n * @dev Interface of the ERC20 Permit extension allowing approvals to be made via signatures, as defined in\n * https://eips.ethereum.org/EIPS/eip-2612[EIP-2612].\n *\n * Adds the {permit} method, which can be used to change an account's ERC20 allowance (see {IERC20-allowance}) by\n * presenting a message signed by the account. By not relying on {IERC20-approve}, the token holder account doesn't\n * need to send a transaction, and thus is not required to hold Ether at all.\n *\n * ==== Security Considerations\n *\n * There are two important considerations concerning the use of `permit`. The first is that a valid permit signature\n * expresses an allowance, and it should not be assumed to convey additional meaning. In particular, it should not be\n * considered as an intention to spend the allowance in any specific way. The second is that because permits have\n * built-in replay protection and can be submitted by anyone, they can be frontrun. A protocol that uses permits should\n * take this into consideration and allow a `permit` call to fail. Combining these two aspects, a pattern that may be\n * generally recommended is:\n *\n * ```solidity\n * function doThingWithPermit(..., uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s) public {\n *     try token.permit(msg.sender, address(this), value, deadline, v, r, s) {} catch {}\n *     doThing(..., value);\n * }\n *\n * function doThing(..., uint256 value) public {\n *     token.safeTransferFrom(msg.sender, address(this), value);\n *     ...\n * }\n * ```\n *\n * Observe that: 1) `msg.sender` is used as the owner, leaving no ambiguity as to the signer intent, and 2) the use of\n * `try/catch` allows the permit to fail and makes the code tolerant to frontrunning. (See also\n * {SafeERC20-safeTransferFrom}).\n *\n * Additionally, note that smart contract wallets (such as Argent or Safe) are not able to produce permit signatures, so\n * contracts should have entry points that don't rely on permit.\n */\ninterface IERC20Permit {\n    /**\n     * @dev Sets `value` as the allowance of `spender` over ``owner``'s tokens,\n     * given ``owner``'s signed approval.\n     *\n     * IMPORTANT: The same issues {IERC20-approve} has related to transaction\n     * ordering also apply here.\n     *\n     * Emits an {Approval} event.\n     *\n     * Requirements:\n     *\n     * - `spender` cannot be the zero address.\n     * - `deadline` must be a timestamp in the future.\n     * - `v`, `r` and `s` must be a valid `secp256k1` signature from `owner`\n     * over the EIP712-formatted function arguments.\n     * - the signature must use ``owner``'s current nonce (see {nonces}).\n     *\n     * For more information on the signature format, see the\n     * https://eips.ethereum.org/EIPS/eip-2612#specification[relevant EIP\n     * section].\n     *\n     * CAUTION: See Security Considerations above.\n     */\n    function permit(\n        address owner,\n        address spender,\n        uint256 value,\n        uint256 deadline,\n        uint8 v,\n        bytes32 r,\n        bytes32 s\n    ) external;\n\n    /**\n     * @dev Returns the current nonce for `owner`. This value must be\n     * included whenever a signature is generated for {permit}.\n     *\n     * Every successful call to {permit} increases ``owner``'s nonce by one. This\n     * prevents a signature from being used multiple times.\n     */\n    function nonces(address owner) external view returns (uint256);\n\n    /**\n     * @dev Returns the domain separator used in the encoding of the signature for {permit}, as defined by {EIP712}.\n     */\n    // solhint-disable-next-line func-name-mixedcase\n    function DOMAIN_SEPARATOR() external view returns (bytes32);\n}\n"},"lib/openzeppelin-contracts-upgradeable/lib/openzeppelin-contracts/contracts/token/ERC20/extensions/IERC20Metadata.sol":{"content":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.0.0) (token/ERC20/extensions/IERC20Metadata.sol)\n\npragma solidity ^0.8.20;\n\nimport {IERC20} from \"../IERC20.sol\";\n\n/**\n * @dev Interface for the optional metadata functions from the ERC20 standard.\n */\ninterface IERC20Metadata is IERC20 {\n    /**\n     * @dev Returns the name of the token.\n     */\n    function name() external view returns (string memory);\n\n    /**\n     * @dev Returns the symbol of the token.\n     */\n    function symbol() external view returns (string memory);\n\n    /**\n     * @dev Returns the decimals places of the token.\n     */\n    function decimals() external view returns (uint8);\n}\n"}},"language":"Solidity","settings":{"viaIR":false,"metadata":{"appendCBOR":true,"bytecodeHash":"none","useLiteralContent":false},"optimizer":{"runs":200,"enabled":true},"evmVersion":"prague","remappings":["ds-test/=lib/forge-std/lib/ds-test/src/","forge-std/=lib/forge-std/src/","@openzeppelin/contracts/=lib/openzeppelin-contracts-upgradeable/lib/openzeppelin-contracts/contracts/","@openzeppelin/contracts-upgradeable/=lib/openzeppelin-contracts-upgradeable/contracts/","@layerzerolabs/contracts/=lib/endpoint-v1-solidity-examples/contracts/","endpoint-v1-solidity-examples/=lib/endpoint-v1-solidity-examples/contracts/","erc4626-tests/=lib/openzeppelin-contracts-upgradeable/lib/erc4626-tests/","openzeppelin-contracts-upgradeable/=lib/openzeppelin-contracts-upgradeable/","openzeppelin-contracts/=lib/openzeppelin-contracts-upgradeable/lib/openzeppelin-contracts/"]}},"stdJsonOutput":{"sources":{"src/v2/msUSDSilo.sol":{"id":23},"src/v2/StakedmsUSD.sol":{"id":22},"src/interfaces/ImsUSDV2.sol":{"id":21},"src/interfaces/IStakedmsUSD.sol":{"id":20},"src/helpers/v2/UpgraderTimelockUpgradeable.sol":{"id":19},"lib/openzeppelin-contracts-upgradeable/contracts/utils/ContextUpgradeable.sol":{"id":4},"lib/openzeppelin-contracts-upgradeable/contracts/access/OwnableUpgradeable.sol":{"id":0},"lib/openzeppelin-contracts-upgradeable/contracts/proxy/utils/Initializable.sol":{"id":1},"lib/openzeppelin-contracts-upgradeable/contracts/token/ERC20/ERC20Upgradeable.sol":{"id":2},"lib/openzeppelin-contracts-upgradeable/contracts/utils/ReentrancyGuardUpgradeable.sol":{"id":5},"lib/openzeppelin-contracts-upgradeable/lib/openzeppelin-contracts/contracts/utils/Address.sol":{"id":16},"lib/openzeppelin-contracts-upgradeable/contracts/token/ERC20/extensions/ERC4626Upgradeable.sol":{"id":3},"lib/openzeppelin-contracts-upgradeable/lib/openzeppelin-contracts/contracts/utils/math/Math.sol":{"id":18},"lib/openzeppelin-contracts-upgradeable/lib/openzeppelin-contracts/contracts/utils/StorageSlot.sol":{"id":17},"lib/openzeppelin-contracts-upgradeable/lib/openzeppelin-contracts/contracts/token/ERC20/IERC20.sol":{"id":12},"lib/openzeppelin-contracts-upgradeable/lib/openzeppelin-contracts/contracts/interfaces/IERC4626.sol":{"id":6},"lib/openzeppelin-contracts-upgradeable/lib/openzeppelin-contracts/contracts/proxy/beacon/IBeacon.sol":{"id":10},"lib/openzeppelin-contracts-upgradeable/lib/openzeppelin-contracts/contracts/interfaces/draft-IERC1822.sol":{"id":7},"lib/openzeppelin-contracts-upgradeable/lib/openzeppelin-contracts/contracts/interfaces/draft-IERC6093.sol":{"id":8},"lib/openzeppelin-contracts-upgradeable/lib/openzeppelin-contracts/contracts/proxy/ERC1967/ERC1967Utils.sol":{"id":9},"lib/openzeppelin-contracts-upgradeable/lib/openzeppelin-contracts/contracts/proxy/utils/UUPSUpgradeable.sol":{"id":11},"lib/openzeppelin-contracts-upgradeable/lib/openzeppelin-contracts/contracts/token/ERC20/utils/SafeERC20.sol":{"id":15},"lib/openzeppelin-contracts-upgradeable/lib/openzeppelin-contracts/contracts/token/ERC20/extensions/IERC20Permit.sol":{"id":14},"lib/openzeppelin-contracts-upgradeable/lib/openzeppelin-contracts/contracts/token/ERC20/extensions/IERC20Metadata.sol":{"id":13}},"contracts":{"src/v2/StakedmsUSD.sol":{"StakedmsUSD":{"abi":[{"type":"constructor","inputs":[],"stateMutability":"nonpayable"},{"name":"AddressEmptyCode","type":"error","inputs":[{"name":"target","type":"address","internalType":"address"}]},{"name":"AddressInsufficientBalance","type":"error","inputs":[{"name":"account","type":"address","internalType":"address"}]},{"name":"AlreadySet","type":"error","inputs":[]},{"name":"CooldownNotFinished","type":"error","inputs":[{"name":"currentTimestamp","type":"uint256","internalType":"uint256"},{"name":"endTimestamp","type":"uint256","internalType":"uint256"}]},{"name":"CoverageRatioZero","type":"error","inputs":[]},{"name":"DelayNotPassed","type":"error","inputs":[]},{"name":"DepositsDisabled","type":"error","inputs":[]},{"name":"ERC1967InvalidImplementation","type":"error","inputs":[{"name":"implementation","type":"address","internalType":"address"}]},{"name":"ERC1967NonPayable","type":"error","inputs":[]},{"name":"ERC20InsufficientAllowance","type":"error","inputs":[{"name":"spender","type":"address","internalType":"address"},{"name":"allowance","type":"uint256","internalType":"uint256"},{"name":"needed","type":"uint256","internalType":"uint256"}]},{"name":"ERC20InsufficientBalance","type":"error","inputs":[{"name":"sender","type":"address","internalType":"address"},{"name":"balance","type":"uint256","internalType":"uint256"},{"name":"needed","type":"uint256","internalType":"uint256"}]},{"name":"ERC20InvalidApprover","type":"error","inputs":[{"name":"approver","type":"address","internalType":"address"}]},{"name":"ERC20InvalidReceiver","type":"error","inputs":[{"name":"receiver","type":"address","internalType":"address"}]},{"name":"ERC20InvalidSender","type":"error","inputs":[{"name":"sender","type":"address","internalType":"address"}]},{"name":"ERC20InvalidSpender","type":"error","inputs":[{"name":"spender","type":"address","internalType":"address"}]},{"name":"ERC4626ExceededMaxDeposit","type":"error","inputs":[{"name":"receiver","type":"address","internalType":"address"},{"name":"assets","type":"uint256","internalType":"uint256"},{"name":"max","type":"uint256","internalType":"uint256"}]},{"name":"ERC4626ExceededMaxMint","type":"error","inputs":[{"name":"receiver","type":"address","internalType":"address"},{"name":"shares","type":"uint256","internalType":"uint256"},{"name":"max","type":"uint256","internalType":"uint256"}]},{"name":"ERC4626ExceededMaxRedeem","type":"error","inputs":[{"name":"owner","type":"address","internalType":"address"},{"name":"shares","type":"uint256","internalType":"uint256"},{"name":"max","type":"uint256","internalType":"uint256"}]},{"name":"ERC4626ExceededMaxWithdraw","type":"error","inputs":[{"name":"owner","type":"address","internalType":"address"},{"name":"assets","type":"uint256","internalType":"uint256"},{"name":"max","type":"uint256","internalType":"uint256"}]},{"name":"ExcessiveRedeemAmount","type":"error","inputs":[]},{"name":"ExcessiveWithdrawAmount","type":"error","inputs":[]},{"name":"FailedInnerCall","type":"error","inputs":[]},{"name":"ImplementationMismatch","type":"error","inputs":[]},{"name":"InvalidAmount","type":"error","inputs":[]},{"name":"InvalidCooldown","type":"error","inputs":[]},{"name":"InvalidInitialization","type":"error","inputs":[]},{"name":"InvalidRatio","type":"error","inputs":[]},{"name":"InvalidToken","type":"error","inputs":[]},{"name":"InvalidZeroAddress","type":"error","inputs":[]},{"name":"MathOverflowedMulDiv","type":"error","inputs":[]},{"name":"MinDelayNotMet","type":"error","inputs":[]},{"name":"MinSharesViolation","type":"error","inputs":[]},{"name":"NotAuthorized","type":"error","inputs":[{"name":"","type":"address","internalType":"address"}]},{"name":"NotInitializing","type":"error","inputs":[]},{"name":"NothingToUnstake","type":"error","inputs":[]},{"name":"NullAddress","type":"error","inputs":[]},{"name":"OperationNotAllowed","type":"error","inputs":[]},{"name":"OwnableInvalidOwner","type":"error","inputs":[{"name":"owner","type":"address","internalType":"address"}]},{"name":"OwnableUnauthorizedAccount","type":"error","inputs":[{"name":"account","type":"address","internalType":"address"}]},{"name":"ReentrancyGuardReentrantCall","type":"error","inputs":[]},{"name":"SafeERC20FailedOperation","type":"error","inputs":[{"name":"token","type":"address","internalType":"address"}]},{"name":"SlippageExceeded","type":"error","inputs":[]},{"name":"UUPSUnauthorizedCallContext","type":"error","inputs":[]},{"name":"UUPSUnsupportedProxiableUUID","type":"error","inputs":[{"name":"slot","type":"bytes32","internalType":"bytes32"}]},{"name":"Approval","type":"event","inputs":[{"name":"owner","type":"address","indexed":true,"internalType":"address"},{"name":"spender","type":"address","indexed":true,"internalType":"address"},{"name":"value","type":"uint256","indexed":false,"internalType":"uint256"}],"anonymous":false},{"name":"AssetBurned","type":"event","inputs":[{"name":"","type":"uint256","indexed":false,"internalType":"uint256"}],"anonymous":false},{"name":"CooldownDurationUpdated","type":"event","inputs":[{"name":"previousDuration","type":"uint24","indexed":false,"internalType":"uint24"},{"name":"newDuration","type":"uint24","indexed":false,"internalType":"uint24"}],"anonymous":false},{"name":"CooldownEndtimeUpdated","type":"event","inputs":[{"name":"account","type":"address","indexed":false,"internalType":"address"},{"name":"oldTime","type":"uint256","indexed":false,"internalType":"uint256"},{"name":"newTime","type":"uint256","indexed":false,"internalType":"uint256"}],"anonymous":false},{"name":"CoverageRatioUpdated","type":"event","inputs":[{"name":"","type":"uint256","indexed":false,"internalType":"uint256"}],"anonymous":false},{"name":"Deposit","type":"event","inputs":[{"name":"sender","type":"address","indexed":true,"internalType":"address"},{"name":"owner","type":"address","indexed":true,"internalType":"address"},{"name":"assets","type":"uint256","indexed":false,"internalType":"uint256"},{"name":"shares","type":"uint256","indexed":false,"internalType":"uint256"}],"anonymous":false},{"name":"DepositsToggled","type":"event","inputs":[{"name":"","type":"bool","indexed":false,"internalType":"bool"}],"anonymous":false},{"name":"FeeSiloUpdated","type":"event","inputs":[{"name":"","type":"address","indexed":false,"internalType":"address"}],"anonymous":false},{"name":"Initialized","type":"event","inputs":[{"name":"version","type":"uint64","indexed":false,"internalType":"uint64"}],"anonymous":false},{"name":"LockedAmountRedistributed","type":"event","inputs":[{"name":"from","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":"OwnershipTransferred","type":"event","inputs":[{"name":"previousOwner","type":"address","indexed":true,"internalType":"address"},{"name":"newOwner","type":"address","indexed":true,"internalType":"address"}],"anonymous":false},{"name":"RewarderUpdated","type":"event","inputs":[{"name":"","type":"address","indexed":false,"internalType":"address"}],"anonymous":false},{"name":"RewardsReceived","type":"event","inputs":[{"name":"amount","type":"uint256","indexed":true,"internalType":"uint256"}],"anonymous":false},{"name":"SiloUpdated","type":"event","inputs":[{"name":"previousSilo","type":"address","indexed":false,"internalType":"address"},{"name":"newSilo","type":"address","indexed":false,"internalType":"address"}],"anonymous":false},{"name":"TaxRateUpdated","type":"event","inputs":[{"name":"","type":"uint16","indexed":false,"internalType":"uint16"}],"anonymous":false},{"name":"Transfer","type":"event","inputs":[{"name":"from","type":"address","indexed":true,"internalType":"address"},{"name":"to","type":"address","indexed":true,"internalType":"address"},{"name":"value","type":"uint256","indexed":false,"internalType":"uint256"}],"anonymous":false},{"name":"Unstake","type":"event","inputs":[{"name":"caller","type":"address","indexed":false,"internalType":"address"},{"name":"receiver","type":"address","indexed":false,"internalType":"address"},{"name":"assets","type":"uint256","indexed":false,"internalType":"uint256"},{"name":"amountForRedeemer","type":"uint256","indexed":false,"internalType":"uint256"}],"anonymous":false},{"name":"UpgradeCanceled","type":"event","inputs":[{"name":"canceledImplementation","type":"address","indexed":true,"internalType":"address"}],"anonymous":false},{"name":"UpgradeDelayUpdated","type":"event","inputs":[{"name":"oldDelay","type":"uint256","indexed":false,"internalType":"uint256"},{"name":"newDelay","type":"uint256","indexed":false,"internalType":"uint256"}],"anonymous":false},{"name":"UpgradeScheduled","type":"event","inputs":[{"name":"newImplementation","type":"address","indexed":true,"internalType":"address"},{"name":"availableAt","type":"uint256","indexed":false,"internalType":"uint256"}],"anonymous":false},{"name":"Upgraded","type":"event","inputs":[{"name":"implementation","type":"address","indexed":true,"internalType":"address"}],"anonymous":false},{"name":"Withdraw","type":"event","inputs":[{"name":"sender","type":"address","indexed":true,"internalType":"address"},{"name":"receiver","type":"address","indexed":true,"internalType":"address"},{"name":"owner","type":"address","indexed":true,"internalType":"address"},{"name":"assets","type":"uint256","indexed":false,"internalType":"uint256"},{"name":"shares","type":"uint256","indexed":false,"internalType":"uint256"}],"anonymous":false},{"name":"msUSDSiloUpdated","type":"event","inputs":[{"name":"","type":"address","indexed":false,"internalType":"address"}],"anonymous":false},{"name":"DEFAULT_UPGRADE_DELAY","type":"function","inputs":[],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"MAX_COOLDOWN_DURATION","type":"function","inputs":[],"outputs":[{"name":"","type":"uint24","internalType":"uint24"}],"stateMutability":"view"},{"name":"MIN_SHARES","type":"function","inputs":[],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"UPGRADE_INTERFACE_VERSION","type":"function","inputs":[],"outputs":[{"name":"","type":"string","internalType":"string"}],"stateMutability":"view"},{"name":"activationTime","type":"function","inputs":[],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"allowance","type":"function","inputs":[{"name":"owner","type":"address","internalType":"address"},{"name":"spender","type":"address","internalType":"address"}],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"approve","type":"function","inputs":[{"name":"spender","type":"address","internalType":"address"},{"name":"value","type":"uint256","internalType":"uint256"}],"outputs":[{"name":"","type":"bool","internalType":"bool"}],"stateMutability":"nonpayable"},{"name":"asset","type":"function","inputs":[],"outputs":[{"name":"","type":"address","internalType":"address"}],"stateMutability":"view"},{"name":"balanceOf","type":"function","inputs":[{"name":"account","type":"address","internalType":"address"}],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"burnAsset","type":"function","inputs":[{"name":"amount","type":"uint256","internalType":"uint256"}],"outputs":[],"stateMutability":"nonpayable"},{"name":"cancelScheduledUpgrade","type":"function","inputs":[],"outputs":[],"stateMutability":"nonpayable"},{"name":"convertToAssets","type":"function","inputs":[{"name":"shares","type":"uint256","internalType":"uint256"}],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"convertToShares","type":"function","inputs":[{"name":"assets","type":"uint256","internalType":"uint256"}],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"cooldownAssets","type":"function","inputs":[{"name":"assets","type":"uint256","internalType":"uint256"},{"name":"owner","type":"address","internalType":"address"}],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"nonpayable"},{"name":"cooldownDuration","type":"function","inputs":[],"outputs":[{"name":"","type":"uint24","internalType":"uint24"}],"stateMutability":"view"},{"name":"cooldownShares","type":"function","inputs":[{"name":"shares","type":"uint256","internalType":"uint256"},{"name":"owner","type":"address","internalType":"address"}],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"nonpayable"},{"name":"cooldowns","type":"function","inputs":[{"name":"","type":"address","internalType":"address"}],"outputs":[{"name":"cooldownEnd","type":"uint104","internalType":"uint104"},{"name":"underlyingAmount","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"coverageRatio","type":"function","inputs":[],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"decimals","type":"function","inputs":[],"outputs":[{"name":"","type":"uint8","internalType":"uint8"}],"stateMutability":"view"},{"name":"deposit","type":"function","inputs":[{"name":"assets","type":"uint256","internalType":"uint256"},{"name":"receiver","type":"address","internalType":"address"}],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"nonpayable"},{"name":"depositsEnabled","type":"function","inputs":[],"outputs":[{"name":"","type":"bool","internalType":"bool"}],"stateMutability":"view"},{"name":"feeSilo","type":"function","inputs":[],"outputs":[{"name":"","type":"address","internalType":"address"}],"stateMutability":"view"},{"name":"initialize","type":"function","inputs":[{"name":"_asset","type":"address","internalType":"address"},{"name":"_initialRewarder","type":"address","internalType":"address"},{"name":"_owner","type":"address","internalType":"address"},{"name":"_name","type":"string","internalType":"string"},{"name":"_symbol","type":"string","internalType":"string"}],"outputs":[],"stateMutability":"nonpayable"},{"name":"lastDistributionTimestamp","type":"function","inputs":[],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"maxDeposit","type":"function","inputs":[{"name":"","type":"address","internalType":"address"}],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"maxMint","type":"function","inputs":[{"name":"","type":"address","internalType":"address"}],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"maxRedeem","type":"function","inputs":[{"name":"owner","type":"address","internalType":"address"}],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"maxWithdraw","type":"function","inputs":[{"name":"owner","type":"address","internalType":"address"}],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"mint","type":"function","inputs":[{"name":"shares","type":"uint256","internalType":"uint256"},{"name":"receiver","type":"address","internalType":"address"}],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"nonpayable"},{"name":"mintRewards","type":"function","inputs":[{"name":"amount","type":"uint256","internalType":"uint256"}],"outputs":[],"stateMutability":"nonpayable"},{"name":"name","type":"function","inputs":[],"outputs":[{"name":"","type":"string","internalType":"string"}],"stateMutability":"view"},{"name":"owner","type":"function","inputs":[],"outputs":[{"name":"","type":"address","internalType":"address"}],"stateMutability":"view"},{"name":"pendingImplementation","type":"function","inputs":[],"outputs":[{"name":"","type":"address","internalType":"address"}],"stateMutability":"view"},{"name":"previewDeposit","type":"function","inputs":[{"name":"assets","type":"uint256","internalType":"uint256"}],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"previewMint","type":"function","inputs":[{"name":"shares","type":"uint256","internalType":"uint256"}],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"previewRedeem","type":"function","inputs":[{"name":"shares","type":"uint256","internalType":"uint256"}],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"previewWithdraw","type":"function","inputs":[{"name":"assets","type":"uint256","internalType":"uint256"}],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"proxiableUUID","type":"function","inputs":[],"outputs":[{"name":"","type":"bytes32","internalType":"bytes32"}],"stateMutability":"view"},{"name":"redeem","type":"function","inputs":[{"name":"shares","type":"uint256","internalType":"uint256"},{"name":"receiver","type":"address","internalType":"address"},{"name":"owner","type":"address","internalType":"address"}],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"nonpayable"},{"name":"renounceOwnership","type":"function","inputs":[],"outputs":[],"stateMutability":"nonpayable"},{"name":"rescueTokens","type":"function","inputs":[{"name":"token","type":"address","internalType":"address"},{"name":"amount","type":"uint256","internalType":"uint256"},{"name":"to","type":"address","internalType":"address"}],"outputs":[],"stateMutability":"nonpayable"},{"name":"rewarder","type":"function","inputs":[],"outputs":[{"name":"","type":"address","internalType":"address"}],"stateMutability":"view"},{"name":"scheduleUpgrade","type":"function","inputs":[{"name":"newImpl","type":"address","internalType":"address"}],"outputs":[],"stateMutability":"nonpayable"},{"name":"setCooldownDuration","type":"function","inputs":[{"name":"duration","type":"uint24","internalType":"uint24"}],"outputs":[],"stateMutability":"nonpayable"},{"name":"setCoverageRatio","type":"function","inputs":[{"name":"_ratio","type":"uint256","internalType":"uint256"}],"outputs":[],"stateMutability":"nonpayable"},{"name":"setFeeSilo","type":"function","inputs":[{"name":"_silo","type":"address","internalType":"address"}],"outputs":[],"stateMutability":"nonpayable"},{"name":"setRewarder","type":"function","inputs":[{"name":"_rewarder","type":"address","internalType":"address"}],"outputs":[],"stateMutability":"nonpayable"},{"name":"setSilo","type":"function","inputs":[{"name":"_silo","type":"address","internalType":"address"}],"outputs":[],"stateMutability":"nonpayable"},{"name":"setTaxRate","type":"function","inputs":[{"name":"newTaxRate","type":"uint16","internalType":"uint16"}],"outputs":[],"stateMutability":"nonpayable"},{"name":"setUpgradeDelay","type":"function","inputs":[{"name":"newDelay","type":"uint256","internalType":"uint256"}],"outputs":[],"stateMutability":"nonpayable"},{"name":"silo","type":"function","inputs":[],"outputs":[{"name":"","type":"address","internalType":"contract msUSDSilo"}],"stateMutability":"view"},{"name":"symbol","type":"function","inputs":[],"outputs":[{"name":"","type":"string","internalType":"string"}],"stateMutability":"view"},{"name":"taxRate","type":"function","inputs":[],"outputs":[{"name":"","type":"uint16","internalType":"uint16"}],"stateMutability":"view"},{"name":"toggleDeposits","type":"function","inputs":[],"outputs":[],"stateMutability":"nonpayable"},{"name":"totalAssets","type":"function","inputs":[],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"totalSupply","type":"function","inputs":[],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"transfer","type":"function","inputs":[{"name":"to","type":"address","internalType":"address"},{"name":"value","type":"uint256","internalType":"uint256"}],"outputs":[{"name":"","type":"bool","internalType":"bool"}],"stateMutability":"nonpayable"},{"name":"transferFrom","type":"function","inputs":[{"name":"from","type":"address","internalType":"address"},{"name":"to","type":"address","internalType":"address"},{"name":"value","type":"uint256","internalType":"uint256"}],"outputs":[{"name":"","type":"bool","internalType":"bool"}],"stateMutability":"nonpayable"},{"name":"transferOwnership","type":"function","inputs":[{"name":"newOwner","type":"address","internalType":"address"}],"outputs":[],"stateMutability":"nonpayable"},{"name":"unstake","type":"function","inputs":[{"name":"receiver","type":"address","internalType":"address"}],"outputs":[],"stateMutability":"nonpayable"},{"name":"updateExistingCooldown","type":"function","inputs":[{"name":"account","type":"address","internalType":"address"},{"name":"newCooldownEnd","type":"uint104","internalType":"uint104"}],"outputs":[],"stateMutability":"nonpayable"},{"name":"upgradeDelay","type":"function","inputs":[],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"name":"upgradeToAndCall","type":"function","inputs":[{"name":"newImplementation","type":"address","internalType":"address"},{"name":"data","type":"bytes","internalType":"bytes"}],"outputs":[],"stateMutability":"payable"},{"name":"withdraw","type":"function","inputs":[{"name":"assets","type":"uint256","internalType":"uint256"},{"name":"receiver","type":"address","internalType":"address"},{"name":"owner","type":"address","internalType":"address"}],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"nonpayable"}],"metadata":"{\"compiler\":{\"version\":\"0.8.30+commit.73712a01\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"target\",\"type\":\"address\"}],\"name\":\"AddressEmptyCode\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"AddressInsufficientBalance\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"AlreadySet\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"currentTimestamp\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"endTimestamp\",\"type\":\"uint256\"}],\"name\":\"CooldownNotFinished\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"CoverageRatioZero\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"DelayNotPassed\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"DepositsDisabled\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"implementation\",\"type\":\"address\"}],\"name\":\"ERC1967InvalidImplementation\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"ERC1967NonPayable\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"allowance\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"needed\",\"type\":\"uint256\"}],\"name\":\"ERC20InsufficientAllowance\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"balance\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"needed\",\"type\":\"uint256\"}],\"name\":\"ERC20InsufficientBalance\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"approver\",\"type\":\"address\"}],\"name\":\"ERC20InvalidApprover\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"receiver\",\"type\":\"address\"}],\"name\":\"ERC20InvalidReceiver\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"}],\"name\":\"ERC20InvalidSender\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"}],\"name\":\"ERC20InvalidSpender\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"receiver\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"assets\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"max\",\"type\":\"uint256\"}],\"name\":\"ERC4626ExceededMaxDeposit\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"receiver\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"shares\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"max\",\"type\":\"uint256\"}],\"name\":\"ERC4626ExceededMaxMint\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"shares\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"max\",\"type\":\"uint256\"}],\"name\":\"ERC4626ExceededMaxRedeem\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"assets\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"max\",\"type\":\"uint256\"}],\"name\":\"ERC4626ExceededMaxWithdraw\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"ExcessiveRedeemAmount\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"ExcessiveWithdrawAmount\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"FailedInnerCall\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"ImplementationMismatch\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InvalidAmount\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InvalidCooldown\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InvalidInitialization\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InvalidRatio\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InvalidToken\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InvalidZeroAddress\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"MathOverflowedMulDiv\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"MinDelayNotMet\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"MinSharesViolation\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"NotAuthorized\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"NotInitializing\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"NothingToUnstake\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"NullAddress\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"OperationNotAllowed\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"}],\"name\":\"OwnableInvalidOwner\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"OwnableUnauthorizedAccount\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"ReentrancyGuardReentrantCall\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"}],\"name\":\"SafeERC20FailedOperation\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"SlippageExceeded\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"UUPSUnauthorizedCallContext\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"slot\",\"type\":\"bytes32\"}],\"name\":\"UUPSUnsupportedProxiableUUID\",\"type\":\"error\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"Approval\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"AssetBurned\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint24\",\"name\":\"previousDuration\",\"type\":\"uint24\"},{\"indexed\":false,\"internalType\":\"uint24\",\"name\":\"newDuration\",\"type\":\"uint24\"}],\"name\":\"CooldownDurationUpdated\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"oldTime\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"newTime\",\"type\":\"uint256\"}],\"name\":\"CooldownEndtimeUpdated\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"CoverageRatioUpdated\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"assets\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"shares\",\"type\":\"uint256\"}],\"name\":\"Deposit\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"name\":\"DepositsToggled\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"FeeSiloUpdated\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint64\",\"name\":\"version\",\"type\":\"uint64\"}],\"name\":\"Initialized\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"LockedAmountRedistributed\",\"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\":false,\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"RewarderUpdated\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"RewardsReceived\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"previousSilo\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"newSilo\",\"type\":\"address\"}],\"name\":\"SiloUpdated\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint16\",\"name\":\"\",\"type\":\"uint16\"}],\"name\":\"TaxRateUpdated\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"Transfer\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"caller\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"receiver\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"assets\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amountForRedeemer\",\"type\":\"uint256\"}],\"name\":\"Unstake\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"canceledImplementation\",\"type\":\"address\"}],\"name\":\"UpgradeCanceled\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"oldDelay\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"newDelay\",\"type\":\"uint256\"}],\"name\":\"UpgradeDelayUpdated\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"newImplementation\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"availableAt\",\"type\":\"uint256\"}],\"name\":\"UpgradeScheduled\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"implementation\",\"type\":\"address\"}],\"name\":\"Upgraded\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"receiver\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"assets\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"shares\",\"type\":\"uint256\"}],\"name\":\"Withdraw\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"msUSDSiloUpdated\",\"type\":\"event\"},{\"inputs\":[],\"name\":\"DEFAULT_UPGRADE_DELAY\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"MAX_COOLDOWN_DURATION\",\"outputs\":[{\"internalType\":\"uint24\",\"name\":\"\",\"type\":\"uint24\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"MIN_SHARES\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"UPGRADE_INTERFACE_VERSION\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"activationTime\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"}],\"name\":\"allowance\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"approve\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"asset\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"balanceOf\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"burnAsset\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"cancelScheduledUpgrade\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"shares\",\"type\":\"uint256\"}],\"name\":\"convertToAssets\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"assets\",\"type\":\"uint256\"}],\"name\":\"convertToShares\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"assets\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"}],\"name\":\"cooldownAssets\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"cooldownDuration\",\"outputs\":[{\"internalType\":\"uint24\",\"name\":\"\",\"type\":\"uint24\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"shares\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"}],\"name\":\"cooldownShares\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"cooldowns\",\"outputs\":[{\"internalType\":\"uint104\",\"name\":\"cooldownEnd\",\"type\":\"uint104\"},{\"internalType\":\"uint256\",\"name\":\"underlyingAmount\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"coverageRatio\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"decimals\",\"outputs\":[{\"internalType\":\"uint8\",\"name\":\"\",\"type\":\"uint8\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"assets\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"receiver\",\"type\":\"address\"}],\"name\":\"deposit\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"depositsEnabled\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"feeSilo\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_asset\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_initialRewarder\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_owner\",\"type\":\"address\"},{\"internalType\":\"string\",\"name\":\"_name\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"_symbol\",\"type\":\"string\"}],\"name\":\"initialize\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"lastDistributionTimestamp\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"maxDeposit\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"maxMint\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"}],\"name\":\"maxRedeem\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"}],\"name\":\"maxWithdraw\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"shares\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"receiver\",\"type\":\"address\"}],\"name\":\"mint\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"mintRewards\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"name\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"owner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"pendingImplementation\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"assets\",\"type\":\"uint256\"}],\"name\":\"previewDeposit\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"shares\",\"type\":\"uint256\"}],\"name\":\"previewMint\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"shares\",\"type\":\"uint256\"}],\"name\":\"previewRedeem\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"assets\",\"type\":\"uint256\"}],\"name\":\"previewWithdraw\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"proxiableUUID\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"shares\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"receiver\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"}],\"name\":\"redeem\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"renounceOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"}],\"name\":\"rescueTokens\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"rewarder\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newImpl\",\"type\":\"address\"}],\"name\":\"scheduleUpgrade\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint24\",\"name\":\"duration\",\"type\":\"uint24\"}],\"name\":\"setCooldownDuration\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_ratio\",\"type\":\"uint256\"}],\"name\":\"setCoverageRatio\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_silo\",\"type\":\"address\"}],\"name\":\"setFeeSilo\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_rewarder\",\"type\":\"address\"}],\"name\":\"setRewarder\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_silo\",\"type\":\"address\"}],\"name\":\"setSilo\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint16\",\"name\":\"newTaxRate\",\"type\":\"uint16\"}],\"name\":\"setTaxRate\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"newDelay\",\"type\":\"uint256\"}],\"name\":\"setUpgradeDelay\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"silo\",\"outputs\":[{\"internalType\":\"contract msUSDSilo\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"symbol\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"taxRate\",\"outputs\":[{\"internalType\":\"uint16\",\"name\":\"\",\"type\":\"uint16\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"toggleDeposits\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"totalAssets\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"totalSupply\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"transfer\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"transferFrom\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"transferOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"receiver\",\"type\":\"address\"}],\"name\":\"unstake\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"},{\"internalType\":\"uint104\",\"name\":\"newCooldownEnd\",\"type\":\"uint104\"}],\"name\":\"updateExistingCooldown\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"upgradeDelay\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newImplementation\",\"type\":\"address\"},{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"}],\"name\":\"upgradeToAndCall\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"assets\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"receiver\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"}],\"name\":\"withdraw\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}],\"devdoc\":{\"author\":\"Mainstreet Labs\",\"details\":\"This contract extends ERC4626 to provide vault functionality with dual operational modes: **Cooldown Disabled (cooldownDuration = 0):** - Operates as standard ERC4626 vault - Immediate withdrawals and redemptions available - Standard deposit, mint, withdraw, redeem functions work normally **Cooldown Enabled (cooldownDuration > 0):** - ERC4626 withdraw/redeem functions are disabled - Users must use cooldownAssets/cooldownShares to initiate withdrawals - Assets are transferred to a silo contract during cooldown period - After cooldown expires, users can claim assets via unstake function The contract features: - Donation attack protection via minimum shares requirement - Upgradeable implementation using UUPS pattern - Owner-controlled configuration of cooldown duration, key addresses, and coverage ratio\",\"errors\":{\"AddressEmptyCode(address)\":[{\"details\":\"There's no code at `target` (it is not a contract).\"}],\"AddressInsufficientBalance(address)\":[{\"details\":\"The ETH balance of the account is not enough to perform the operation.\"}],\"ERC1967InvalidImplementation(address)\":[{\"details\":\"The `implementation` of the proxy is invalid.\"}],\"ERC1967NonPayable()\":[{\"details\":\"An upgrade function sees `msg.value > 0` that may be lost.\"}],\"ERC20InsufficientAllowance(address,uint256,uint256)\":[{\"details\":\"Indicates a failure with the `spender`’s `allowance`. Used in transfers.\",\"params\":{\"allowance\":\"Amount of tokens a `spender` is allowed to operate with.\",\"needed\":\"Minimum amount required to perform a transfer.\",\"spender\":\"Address that may be allowed to operate on tokens without being their owner.\"}}],\"ERC20InsufficientBalance(address,uint256,uint256)\":[{\"details\":\"Indicates an error related to the current `balance` of a `sender`. Used in transfers.\",\"params\":{\"balance\":\"Current balance for the interacting account.\",\"needed\":\"Minimum amount required to perform a transfer.\",\"sender\":\"Address whose tokens are being transferred.\"}}],\"ERC20InvalidApprover(address)\":[{\"details\":\"Indicates a failure with the `approver` of a token to be approved. Used in approvals.\",\"params\":{\"approver\":\"Address initiating an approval operation.\"}}],\"ERC20InvalidReceiver(address)\":[{\"details\":\"Indicates a failure with the token `receiver`. Used in transfers.\",\"params\":{\"receiver\":\"Address to which tokens are being transferred.\"}}],\"ERC20InvalidSender(address)\":[{\"details\":\"Indicates a failure with the token `sender`. Used in transfers.\",\"params\":{\"sender\":\"Address whose tokens are being transferred.\"}}],\"ERC20InvalidSpender(address)\":[{\"details\":\"Indicates a failure with the `spender` to be approved. Used in approvals.\",\"params\":{\"spender\":\"Address that may be allowed to operate on tokens without being their owner.\"}}],\"ERC4626ExceededMaxDeposit(address,uint256,uint256)\":[{\"details\":\"Attempted to deposit more assets than the max amount for `receiver`.\"}],\"ERC4626ExceededMaxMint(address,uint256,uint256)\":[{\"details\":\"Attempted to mint more shares than the max amount for `receiver`.\"}],\"ERC4626ExceededMaxRedeem(address,uint256,uint256)\":[{\"details\":\"Attempted to redeem more shares than the max amount for `receiver`.\"}],\"ERC4626ExceededMaxWithdraw(address,uint256,uint256)\":[{\"details\":\"Attempted to withdraw more assets than the max amount for `receiver`.\"}],\"FailedInnerCall()\":[{\"details\":\"A call to an address target failed. The target may have reverted.\"}],\"InvalidInitialization()\":[{\"details\":\"The contract is already initialized.\"}],\"MathOverflowedMulDiv()\":[{\"details\":\"Muldiv operation overflow.\"}],\"NotInitializing()\":[{\"details\":\"The contract is not initializing.\"}],\"OwnableInvalidOwner(address)\":[{\"details\":\"The owner is not a valid owner account. (eg. `address(0)`)\"}],\"OwnableUnauthorizedAccount(address)\":[{\"details\":\"The caller account is not authorized to perform an operation.\"}],\"ReentrancyGuardReentrantCall()\":[{\"details\":\"Unauthorized reentrant call.\"}],\"SafeERC20FailedOperation(address)\":[{\"details\":\"An operation with an ERC20 token failed.\"}],\"UUPSUnauthorizedCallContext()\":[{\"details\":\"The call is from an unauthorized context.\"}],\"UUPSUnsupportedProxiableUUID(bytes32)\":[{\"details\":\"The storage `slot` is unsupported as a UUID.\"}]},\"events\":{\"Approval(address,address,uint256)\":{\"details\":\"Emitted when the allowance of a `spender` for an `owner` is set by a call to {approve}. `value` is the new allowance.\"},\"Initialized(uint64)\":{\"details\":\"Triggered when the contract has been initialized or reinitialized.\"},\"Transfer(address,address,uint256)\":{\"details\":\"Emitted when `value` tokens are moved from one account (`from`) to another (`to`). Note that `value` may be zero.\"},\"Upgraded(address)\":{\"details\":\"Emitted when the implementation is upgraded.\"}},\"kind\":\"dev\",\"methods\":{\"allowance(address,address)\":{\"details\":\"See {IERC20-allowance}.\"},\"approve(address,uint256)\":{\"details\":\"See {IERC20-approve}. NOTE: If `value` is the maximum `uint256`, the allowance is not updated on `transferFrom`. This is semantically equivalent to an infinite approval. Requirements: - `spender` cannot be the zero address.\"},\"asset()\":{\"details\":\"See {IERC4626-asset}. \"},\"balanceOf(address)\":{\"details\":\"See {IERC20-balanceOf}.\"},\"burnAsset(uint256)\":{\"details\":\"Only used in situations of undercollateralization\",\"params\":{\"amount\":\"Amount of tokens to burn from the vault\"}},\"cancelScheduledUpgrade()\":{\"details\":\"This function clears the pending implementation and activation time.\"},\"convertToAssets(uint256)\":{\"details\":\"See {IERC4626-convertToAssets}. \"},\"convertToShares(uint256)\":{\"details\":\"See {IERC4626-convertToShares}. \"},\"cooldownAssets(uint256,address)\":{\"params\":{\"assets\":\"assets to redeem\",\"owner\":\"address to redeem and start cooldown, owner must allowed caller to perform this action\"}},\"cooldownShares(uint256,address)\":{\"params\":{\"owner\":\"address to redeem and start cooldown, owner must allowed caller to perform this action\",\"shares\":\"shares to redeem\"}},\"decimals()\":{\"details\":\"Decimals are computed by adding the decimal offset on top of the underlying asset's decimals. This \\\"original\\\" value is cached during construction of the vault contract. If this read operation fails (e.g., the asset has not been created yet), a default of 18 is used to represent the underlying asset's decimals. See {IERC20Metadata-decimals}.\"},\"deposit(uint256,address)\":{\"details\":\"See {IERC4626-deposit}. \"},\"initialize(address,address,address,string,string)\":{\"params\":{\"_asset\":\"The address of the msUSD token.\",\"_initialRewarder\":\"The address of the initial rewarder.\",\"_owner\":\"The address of the admin role.\"}},\"maxDeposit(address)\":{\"details\":\"See {IERC4626-maxDeposit}. \"},\"maxMint(address)\":{\"details\":\"See {IERC4626-maxMint}. \"},\"maxRedeem(address)\":{\"details\":\"See {IERC4626-maxRedeem}. \"},\"maxWithdraw(address)\":{\"details\":\"See {IERC4626-maxWithdraw}. \"},\"mint(uint256,address)\":{\"details\":\"See {IERC4626-mint}. As opposed to {deposit}, minting is allowed even if the vault is in a state where the price of a share is zero. In this case, the shares will be minted without requiring any assets to be deposited.\"},\"mintRewards(uint256)\":{\"params\":{\"amount\":\"The amount of rewards to mint.\"}},\"name()\":{\"details\":\"Returns the name of the token.\"},\"owner()\":{\"details\":\"Returns the address of the current owner.\"},\"previewDeposit(uint256)\":{\"details\":\"See {IERC4626-previewDeposit}. \"},\"previewMint(uint256)\":{\"details\":\"See {IERC4626-previewMint}. \"},\"previewRedeem(uint256)\":{\"details\":\"See {IERC4626-previewRedeem}. \"},\"previewWithdraw(uint256)\":{\"details\":\"See {IERC4626-previewWithdraw}. \"},\"proxiableUUID()\":{\"details\":\"Implementation of the ERC1822 {proxiableUUID} function. This returns the storage slot used by the implementation. It is used to validate the implementation's compatibility when performing an upgrade. IMPORTANT: A proxy pointing at a proxiable contract should not be considered proxiable itself, because this risks bricking a proxy that upgrades to it, by delegating to itself until out of gas. Thus it is critical that this function revert if invoked through a proxy. This is guaranteed by the `notDelegated` modifier.\"},\"redeem(uint256,address,address)\":{\"details\":\"See {IERC4626-redeem}.\"},\"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,uint256,address)\":{\"params\":{\"amount\":\"The amount of tokens to be rescued.\",\"to\":\"Where to send rescued tokens\",\"token\":\"The token to be rescued.\"}},\"scheduleUpgrade(address)\":{\"details\":\"The upgrade can be executed after the delay period has passed.\",\"params\":{\"newImpl\":\"The address of the new implementation contract.\"}},\"setCooldownDuration(uint24)\":{\"details\":\"Only callable by the contract owner. Setting to 0 enables immediate withdrawals (ERC4626 mode). Setting to >0 enables cooldown mode where users must use cooldownAssets/cooldownShares. Emits CooldownDurationUpdated event.\",\"params\":{\"duration\":\"Duration in seconds that users must wait before claiming assets (max 90 days)\"}},\"setCoverageRatio(uint256)\":{\"details\":\"If the value is set to <1e18, the total amount of redeemable tokens post-cooldown will be less than what was initially redeemable. Only used in serious situations when the system is not fully collateralized.If 1e18 -> Redeemer can redeem 100% post-cooldown. Conversly, if set to .9 * 1e18, only 90% of the requested tokens are redeemable, until the ratio is updated again.\",\"params\":{\"_ratio\":\"New converage ratio\"}},\"setFeeSilo(address)\":{\"details\":\"Only callable by the contract owner. Emits FeeSiloUpdated event.\",\"params\":{\"_silo\":\"The new feeSilo contract address\"}},\"setRewarder(address)\":{\"details\":\"Only callable by the contract owner. Emits RewarderUpdated event.\",\"params\":{\"_rewarder\":\"The new rewarder address\"}},\"setSilo(address)\":{\"details\":\"Only callable by the contract owner. The silo must be deployed and configured before setting. Emits msUSDSiloUpdated event.\",\"params\":{\"_silo\":\"The new silo contract address\"}},\"setTaxRate(uint16)\":{\"details\":\"Only callable by the contract owner. Emits TaxRateUpdated event.\",\"params\":{\"newTaxRate\":\"The tax rate. Must be less than 1000.\"}},\"setUpgradeDelay(uint256)\":{\"params\":{\"newDelay\":\"The new delay in seconds. Must be at least 1 hour\"}},\"symbol()\":{\"details\":\"Returns the symbol of the token, usually a shorter version of the name.\"},\"toggleDeposits()\":{\"details\":\"When the boolean stored in `depositsEnabled` is true, deposits are enabled. Conversely, when the status is set to false, deposits are disabled.\"},\"totalSupply()\":{\"details\":\"See {IERC20-totalSupply}.\"},\"transfer(address,uint256)\":{\"details\":\"See {IERC20-transfer}. Requirements: - `to` cannot be the zero address. - the caller must have a balance of at least `value`.\"},\"transferFrom(address,address,uint256)\":{\"details\":\"See {IERC20-transferFrom}. Emits an {Approval} event indicating the updated allowance. This is not required by the EIP. See the note at the beginning of {ERC20}. NOTE: Does not update the allowance if the current allowance is the maximum `uint256`. Requirements: - `from` and `to` cannot be the zero address. - `from` must have a balance of at least `value`. - the caller must have allowance for ``from``'s tokens of at least `value`.\"},\"transferOwnership(address)\":{\"details\":\"Transfers ownership of the contract to a new account (`newOwner`). Can only be called by the current owner.\"},\"unstake(address)\":{\"details\":\"Can be called by anyone to claim their own assets. The cooldown must have expired and the user must have assets in cooldown. Transfers assets from silo to receiver.\",\"params\":{\"receiver\":\"Address to send the assets to\"}},\"updateExistingCooldown(address,uint104)\":{\"details\":\"Only callable by the contract owner.\",\"params\":{\"account\":\"Account with existing cooldown\",\"newCooldownEnd\":\"Account with existing cooldown\"}},\"upgradeToAndCall(address,bytes)\":{\"custom:oz-upgrades-unsafe-allow-reachable\":\"delegatecall\",\"details\":\"Upgrade the implementation of the proxy to `newImplementation`, and subsequently execute the function call encoded in `data`. Calls {_authorizeUpgrade}. Emits an {Upgraded} event.\"},\"withdraw(uint256,address,address)\":{\"details\":\"See {IERC4626-withdraw}.\"}},\"title\":\"StakedmsUSD\",\"version\":1},\"userdoc\":{\"errors\":{\"AlreadySet()\":[{\"notice\":\"Error emitted when a value is already set\"}],\"CooldownNotFinished(uint256,uint256)\":[{\"notice\":\"Error emitted when a user attempts to unstake a cooldown that is not finished\"}],\"CoverageRatioZero()\":[{\"notice\":\"Error emitted when an unstake is performed while `coverageRatio` is set to 0.\"}],\"DepositsDisabled()\":[{\"notice\":\"Error emitted when a deposit is executed when deposits are disabled\"}],\"ExcessiveRedeemAmount()\":[{\"notice\":\"Error emitted when the shares amount to redeem is greater than the shares balance of the owner\"}],\"ExcessiveWithdrawAmount()\":[{\"notice\":\"Error emitted when the shares amount to withdraw is greater than the shares balance of the owner\"}],\"InvalidAmount()\":[{\"notice\":\"Error emitted shares or assets equal zero.\"}],\"InvalidCooldown()\":[{\"notice\":\"Error emitted when cooldown value is invalid\"}],\"InvalidRatio()\":[{\"notice\":\"Error emitted when a coverageRatio is greater than 1e18, breaking logic.\"}],\"InvalidToken()\":[{\"notice\":\"Error emitted when owner attempts to rescue USDe tokens.\"}],\"InvalidZeroAddress()\":[{\"notice\":\"Error emitted when the zero address is given\"}],\"MinSharesViolation()\":[{\"notice\":\"Error emitted when a small non-zero share amount remains, which risks donations attack\"}],\"NotAuthorized(address)\":[{\"notice\":\"Error emitted when a permissioned funciton is called by an unauthorized wallet\"}],\"NothingToUnstake()\":[{\"notice\":\"Error emitted when a user attempts to unstake a cooldown of amount 0\"}],\"OperationNotAllowed()\":[{\"notice\":\"Error emitted when owner is not allowed to perform an operation\"}],\"SlippageExceeded()\":[{\"notice\":\"Error emitted when slippage is exceeded on a deposit or withdrawal\"}]},\"events\":{\"AssetBurned(uint256)\":{\"notice\":\"Event emitted when `burnAsset` is executed.\"},\"CooldownDurationUpdated(uint24,uint24)\":{\"notice\":\"Event emitted when cooldown duration updates\"},\"CooldownEndtimeUpdated(address,uint256,uint256)\":{\"notice\":\"Event emitted when `updateExistingCooldown` is executed.\"},\"CoverageRatioUpdated(uint256)\":{\"notice\":\"Event emitted when `coverageRatio` is updated.\"},\"DepositsToggled(bool)\":{\"notice\":\"Event emitted when the boolean stored in depositsEnabled is updated\"},\"FeeSiloUpdated(address)\":{\"notice\":\"Event emitted when the fee silo address is updated\"},\"LockedAmountRedistributed(address,address,uint256)\":{\"notice\":\"Event emitted when the balance from an FULL_RESTRICTED_STAKER_ROLE user are redistributed\"},\"RewarderUpdated(address)\":{\"notice\":\"Event emitted when the rewarder address is updated\"},\"RewardsReceived(uint256)\":{\"notice\":\"Event emitted when the rewards are received\"},\"SiloUpdated(address,address)\":{\"notice\":\"Event emitted when the silo address updates\"},\"TaxRateUpdated(uint16)\":{\"notice\":\"Event emitted when the tax rate is updated.\"},\"Unstake(address,address,uint256,uint256)\":{\"notice\":\"Event emitted when a user unstakes\"},\"msUSDSiloUpdated(address)\":{\"notice\":\"Event emitted when the msUSD silo address is updated\"}},\"kind\":\"user\",\"methods\":{\"MAX_COOLDOWN_DURATION()\":{\"notice\":\"Maximum cooldown duration\"},\"MIN_SHARES()\":{\"notice\":\"Minimum non-zero shares amount to prevent donation attack\"},\"burnAsset(uint256)\":{\"notice\":\"Allows the owner to burn tokens from the vault, dropping price\"},\"cancelScheduledUpgrade()\":{\"notice\":\"Cancels a scheduled upgrade.\"},\"cooldownAssets(uint256,address)\":{\"notice\":\"redeem assets and starts a cooldown to claim the converted underlying asset\"},\"cooldownDuration()\":{\"notice\":\"Duration in seconds that users must wait after initiating cooldown before they can unstake\"},\"cooldownShares(uint256,address)\":{\"notice\":\"redeem shares into assets and starts a cooldown to claim the converted underlying asset\"},\"cooldowns(address)\":{\"notice\":\"Mapping of user addresses to their cooldown information including end time and underlying asset amount\"},\"coverageRatio()\":{\"notice\":\"Default is 1e18 which allows redeemer to collect 100% of their redemption post-cooldown. If <1e18, the redeemer cannot claim their total redemption of tokens.\"},\"depositsEnabled()\":{\"notice\":\"If true, deposits are enabled.\"},\"feeSilo()\":{\"notice\":\"Stores the address of where fees are collected and distributed.\"},\"initialize(address,address,address,string,string)\":{\"notice\":\"Initializes StakedmsUSD contract.\"},\"lastDistributionTimestamp()\":{\"notice\":\"The timestamp of the last asset distribution from the controller contract into this contract\"},\"mintRewards(uint256)\":{\"notice\":\"Allows the owner to mint rewards into this contract.\"},\"rescueTokens(address,uint256,address)\":{\"notice\":\"Allows the owner to rescue tokens accidentally sent to the contract. Note that the owner cannot rescue msUSD tokens because they functionally sit here and belong to stakers but can rescue staked msUSD as they should never actually sit in this contract and a staker may well transfer them here by accident.\"},\"rewarder()\":{\"notice\":\"Address authorized to transfer rewards into the contract for distribution to stakers\"},\"scheduleUpgrade(address)\":{\"notice\":\"Schedules an upgrade to a new implementation.\"},\"setCooldownDuration(uint24)\":{\"notice\":\"Sets the cooldown duration for withdrawal requests\"},\"setCoverageRatio(uint256)\":{\"notice\":\"Allows the owner to update the value stored in `coverageRatio`.\"},\"setFeeSilo(address)\":{\"notice\":\"Sets the feeSilo address which holds and distributes fees collected by the protocol\"},\"setRewarder(address)\":{\"notice\":\"Sets the address authorized to transfer rewards into the contract\"},\"setSilo(address)\":{\"notice\":\"Sets the silo contract address that holds assets during cooldown periods\"},\"setTaxRate(uint16)\":{\"notice\":\"Sets the taxRate which is the % out of 1000 that is sent to feeSilo upon reward distribution\"},\"setUpgradeDelay(uint256)\":{\"notice\":\"Sets the new upgrade delay.\"},\"silo()\":{\"notice\":\"The silo contract that holds assets during the cooldown period\"},\"taxRate()\":{\"notice\":\"Stores the % of each rewards mint that is sent to feeSilo.\"},\"toggleDeposits()\":{\"notice\":\"Allows the owner to toggle the status stored in `depositsEnabled`.\"},\"totalAssets()\":{\"notice\":\"Returns the amount of msUSD tokens that are inside the contract.\"},\"unstake(address)\":{\"notice\":\"Allows users to claim their assets after the cooldown period has ended\"},\"updateExistingCooldown(address,uint104)\":{\"notice\":\"Sets the cooldown endtime for an existing cooldown\"},\"upgradeDelay()\":{\"notice\":\"----------- getters -----------\"}},\"notice\":\"A liquid staking token for msUSD that enables users to earn yield while maintaining liquidity. Users can stake msUSD tokens to receive StakedmsUSD shares that appreciate in value as protocol rewards are distributed. The contract implements a flexible cooldown system that can be enabled or disabled to control withdrawal mechanics based on market conditions and protocol needs.\",\"version\":1}},\"settings\":{\"compilationTarget\":{\"src/v2/StakedmsUSD.sol\":\"StakedmsUSD\"},\"evmVersion\":\"prague\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"none\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[\":@layerzerolabs/contracts/=lib/endpoint-v1-solidity-examples/contracts/\",\":@openzeppelin/contracts-upgradeable/=lib/openzeppelin-contracts-upgradeable/contracts/\",\":@openzeppelin/contracts/=lib/openzeppelin-contracts-upgradeable/lib/openzeppelin-contracts/contracts/\",\":ds-test/=lib/forge-std/lib/ds-test/src/\",\":endpoint-v1-solidity-examples/=lib/endpoint-v1-solidity-examples/contracts/\",\":erc4626-tests/=lib/openzeppelin-contracts-upgradeable/lib/erc4626-tests/\",\":forge-std/=lib/forge-std/src/\",\":openzeppelin-contracts-upgradeable/=lib/openzeppelin-contracts-upgradeable/\",\":openzeppelin-contracts/=lib/openzeppelin-contracts-upgradeable/lib/openzeppelin-contracts/\"]},\"sources\":{\"lib/openzeppelin-contracts-upgradeable/contracts/access/OwnableUpgradeable.sol\":{\"keccak256\":\"0xc163fcf9bb10138631a9ba5564df1fa25db9adff73bd9ee868a8ae1858fe093a\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://9706d43a0124053d9880f6e31a59f31bc0a6a3dc1acd66ce0a16e1111658c5f6\",\"dweb:/ipfs/QmUFmfowzkRwGtDu36cXV9SPTBHJ3n7dG9xQiK5B28jTf2\"]},\"lib/openzeppelin-contracts-upgradeable/contracts/proxy/utils/Initializable.sol\":{\"keccak256\":\"0x631188737069917d2f909d29ce62c4d48611d326686ba6683e26b72a23bfac0b\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://7a61054ae84cd6c4d04c0c4450ba1d6de41e27e0a2c4f1bcdf58f796b401c609\",\"dweb:/ipfs/QmUvtdp7X1mRVyC3CsHrtPbgoqWaXHp3S1ZR24tpAQYJWM\"]},\"lib/openzeppelin-contracts-upgradeable/contracts/token/ERC20/ERC20Upgradeable.sol\":{\"keccak256\":\"0x9a1766b1921bf91b3e61eb53c7a6e70725254befd4bdcbbcd3af40bd9f66856f\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://29bf2fa41a172086a665c9738377b93655aa4b1ffda9fe839c8bdf646f185040\",\"dweb:/ipfs/QmeB21qDuo8WPQSrqXJbQmWHKsdeocGNSUWLhCwniVejrt\"]},\"lib/openzeppelin-contracts-upgradeable/contracts/token/ERC20/extensions/ERC4626Upgradeable.sol\":{\"keccak256\":\"0x965c2122f57aa6b11e715d089065310dc72d757a873a4c68a171950853fddbc1\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://1d7e6662194ed2fd5fc2dac10f2784b1da842c9de587e4cd27749ecf316a66a2\",\"dweb:/ipfs/QmZRuDawtHCaJFTj3dtKiMaq7CMfQ1NnL31P8ApnvXvCHV\"]},\"lib/openzeppelin-contracts-upgradeable/contracts/utils/ContextUpgradeable.sol\":{\"keccak256\":\"0xdbef5f0c787055227243a7318ef74c8a5a1108ca3a07f2b3a00ef67769e1e397\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://08e39f23d5b4692f9a40803e53a8156b72b4c1f9902a88cd65ba964db103dab9\",\"dweb:/ipfs/QmPKn6EYDgpga7KtpkA8wV2yJCYGMtc9K4LkJfhKX2RVSV\"]},\"lib/openzeppelin-contracts-upgradeable/contracts/utils/ReentrancyGuardUpgradeable.sol\":{\"keccak256\":\"0xb44e086e941292cdc7f440de51478493894ef0b1aeccb0c4047445919f667f74\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://942dad22fbdc1669f025540ba63aa3ccfad5f8458fc5d4525b31ebf272e7af45\",\"dweb:/ipfs/Qmdo4X2M82aM3AMoW2kf2jhYkSCyC4T1pHNd6obdsDFnAB\"]},\"lib/openzeppelin-contracts-upgradeable/lib/openzeppelin-contracts/contracts/interfaces/IERC4626.sol\":{\"keccak256\":\"0x207f64371bc0fcc5be86713aa5da109a870cc3a6da50e93b64ee881e369b593d\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://548667cfa76683767c2c610b577f6c2f0675d0ce28f53c3f37b969c84a56b205\",\"dweb:/ipfs/QmUzA1CKC6bDdULuS44wGd7PWBNLiHb6bh7oHwJBDZSLAx\"]},\"lib/openzeppelin-contracts-upgradeable/lib/openzeppelin-contracts/contracts/interfaces/draft-IERC1822.sol\":{\"keccak256\":\"0x2a1f9944df2015c081d89cd41ba22ffaf10aa6285969f0dc612b235cc448999c\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://ef381843676aec64421200ee85eaa0b1356a35f28b9fc67e746a6bbb832077d9\",\"dweb:/ipfs/QmY8aorMYA2TeTCnu6ejDjzb4rW4t7TCtW4GZ6LoxTFm7v\"]},\"lib/openzeppelin-contracts-upgradeable/lib/openzeppelin-contracts/contracts/interfaces/draft-IERC6093.sol\":{\"keccak256\":\"0x60c65f701957fdd6faea1acb0bb45825791d473693ed9ecb34726fdfaa849dd7\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://ea290300e0efc4d901244949dc4d877fd46e6c5e43dc2b26620e8efab3ab803f\",\"dweb:/ipfs/QmcLLJppxKeJWqHxE2CUkcfhuRTgHSn8J4kijcLa5MYhSt\"]},\"lib/openzeppelin-contracts-upgradeable/lib/openzeppelin-contracts/contracts/proxy/ERC1967/ERC1967Utils.sol\":{\"keccak256\":\"0x06a78f9b3ee3e6d0eb4e4cd635ba49960bea34cac1db8c0a27c75f2319f1fd65\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://547d21aa17f4f3f1a1a7edf7167beff8dd9496a0348d5588f15cc8a4b29d052a\",\"dweb:/ipfs/QmT16JtRQSWNpLo9W23jr6CzaMuTAcQcjJJcdRd8HLJ6cE\"]},\"lib/openzeppelin-contracts-upgradeable/lib/openzeppelin-contracts/contracts/proxy/beacon/IBeacon.sol\":{\"keccak256\":\"0xc59a78b07b44b2cf2e8ab4175fca91e8eca1eee2df7357b8d2a8833e5ea1f64c\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://5aa4f07e65444784c29cd7bfcc2341b34381e4e5b5da9f0c5bd00d7f430e66fa\",\"dweb:/ipfs/QmWRMh4Q9DpaU9GvsiXmDdoNYMyyece9if7hnfLz7uqzWM\"]},\"lib/openzeppelin-contracts-upgradeable/lib/openzeppelin-contracts/contracts/proxy/utils/UUPSUpgradeable.sol\":{\"keccak256\":\"0x3ffb56bcb175984a10b1167e2eba560876bfe96a435f5d62ffed8b1bb4ebc4c7\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://7db94af56aa20efb57c3f9003eacd884faad04118967d8e35cdffe07790bbdcd\",\"dweb:/ipfs/QmXtAshRWFjcQ1kL7gpC5CiLUZgJ9uzrZyeHp2Sux9ojPF\"]},\"lib/openzeppelin-contracts-upgradeable/lib/openzeppelin-contracts/contracts/token/ERC20/IERC20.sol\":{\"keccak256\":\"0xc6a8ff0ea489379b61faa647490411b80102578440ab9d84e9a957cc12164e70\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://0ea104e577e63faea3b69c415637e99e755dcbf64c5833d7140c35a714d6d90c\",\"dweb:/ipfs/Qmau6x4Ns9XdyynRCNNp3RhLqijJjFm7z5fyZazfYFGYdq\"]},\"lib/openzeppelin-contracts-upgradeable/lib/openzeppelin-contracts/contracts/token/ERC20/extensions/IERC20Metadata.sol\":{\"keccak256\":\"0xaa761817f6cd7892fcf158b3c776b34551cde36f48ff9703d53898bc45a94ea2\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://0ad7c8d4d08938c8dfc43d75a148863fb324b80cf53e0a36f7e5a4ac29008850\",\"dweb:/ipfs/QmcrhfPgVNf5mkdhQvy1pMv51TFokD3Y4Wa5WZhFqVh8UV\"]},\"lib/openzeppelin-contracts-upgradeable/lib/openzeppelin-contracts/contracts/token/ERC20/extensions/IERC20Permit.sol\":{\"keccak256\":\"0x6008dabfe393240d73d7dd7688033f72740d570aa422254d29a7dce8568f3aff\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://f5196ec75139918c6c7bb4251b36395e668f1fa6d206beba7e7520e74913940d\",\"dweb:/ipfs/QmSyqjksXxmm2mCG6qRd1yuwLykypkSVBbnBnGqJRcuJMi\"]},\"lib/openzeppelin-contracts-upgradeable/lib/openzeppelin-contracts/contracts/token/ERC20/utils/SafeERC20.sol\":{\"keccak256\":\"0x37bb49513c49c87c4642a891b13b63571bc87013dde806617aa1efb54605f386\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://b3036b3a83b7c48f96641f2a9002b9f2dcb6a5958dd670894ada21ae8229b3d0\",\"dweb:/ipfs/QmUNfSBdoVtjhETaUJCYcaC7pTMgbhht926tJ2uXJbiVd3\"]},\"lib/openzeppelin-contracts-upgradeable/lib/openzeppelin-contracts/contracts/utils/Address.sol\":{\"keccak256\":\"0xaf28a975a78550e45f65e559a3ad6a5ad43b9b8a37366999abd1b7084eb70721\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://b7bd24e224f67f65bfadf85dc2929fa965456bb2415478bd0125471b5ce35245\",\"dweb:/ipfs/QmRaydGr8BTHs1kvaZfsNU69pKzUAGFrvABn1KiRSbE51y\"]},\"lib/openzeppelin-contracts-upgradeable/lib/openzeppelin-contracts/contracts/utils/StorageSlot.sol\":{\"keccak256\":\"0x32ba59b4b7299237c8ba56319110989d7978a039faf754793064e967e5894418\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://1ae50c8b562427df610cc4540c9bf104acca7ef8e2dcae567ae7e52272281e9c\",\"dweb:/ipfs/QmTHiadFCSJUPpRjNegc5SahmeU8bAoY8i9Aq6tVscbcKR\"]},\"lib/openzeppelin-contracts-upgradeable/lib/openzeppelin-contracts/contracts/utils/math/Math.sol\":{\"keccak256\":\"0x005ec64c6313f0555d59e278f9a7a5ab2db5bdc72a027f255a37c327af1ec02d\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://4ece9f0b9c8daca08c76b6b5405a6446b6f73b3a15fab7ff56e296cbd4a2c875\",\"dweb:/ipfs/QmQyRpyPRL5SQuAgj6SHmbir3foX65FJjbVTTQrA2EFg6L\"]},\"src/helpers/v2/UpgraderTimelockUpgradeable.sol\":{\"keccak256\":\"0x1848a0f4b322be58296230963871e2f38cb90a0315e892c93dfc4552d330dc58\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://d7f159c1daa6055da7c6b9a181e0cc50b3ae4d1b164ea0a3e878bc013431da15\",\"dweb:/ipfs/QmWRHU7fkw7osSetEGEgkYN3PYiKrvbjHatarqzAZAM41z\"]},\"src/interfaces/IStakedmsUSD.sol\":{\"keccak256\":\"0xb5244bd6ddfb8dba5bd1bb3ec0ac112eeb5fb779a834d18c27c9666f0b376a25\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://43f53aa0a7031da427fbdcda69c5e58b9ae66e2b42d943071cdb937171b577b8\",\"dweb:/ipfs/QmZdsN3zX7mMTJ7jGQGF3pWxYrfqGrac1hYWTS2XHQ5b8J\"]},\"src/interfaces/ImsUSDV2.sol\":{\"keccak256\":\"0xbe0556312ac196b8d27e4969ee3590f70e45105ef4aa114cb3746b8e81ff7010\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://83d5715684f3e6e9a4ab2fea9419110042c29c49b955c121b1b4459d6449e313\",\"dweb:/ipfs/QmchJDs4jHecEST7n2tSUaYfEmLqu6WsckS3viaiMZWw1M\"]},\"src/v2/StakedmsUSD.sol\":{\"keccak256\":\"0xae75d1b85885651a5b4ade5cbe907ed6c995cbc3fd3a0e99de6e61e1a057d981\",\"license\":\"GPL-3.0\",\"urls\":[\"bzz-raw://8c070bd3149028521a6c7d98248eae29245d30d5157efd537dc13cf68e2a97f1\",\"dweb:/ipfs/QmWeMfU8iVKeUsxj3kyDqFAQsCV1KXH3nAkgqnDoZoADLX\"]},\"src/v2/msUSDSilo.sol\":{\"keccak256\":\"0xf92149967c4a1c6ff536ab70aabd6d1a8225e5aff0cbeee8bcd1f5c57c62c94e\",\"license\":\"GPL-3.0\",\"urls\":[\"bzz-raw://7e03a78c74cb8d2e1bce73cd710da488c63d3322a433e0c02dc4d89428f441be\",\"dweb:/ipfs/QmSqj72CXMNgje5RSpYY8bNkYMGnaW1L9AFV9ueAkDyZQA\"]}},\"version\":1}","userdoc":{"kind":"user","errors":{"AlreadySet()":[{"notice":"Error emitted when a value is already set"}],"InvalidRatio()":[{"notice":"Error emitted when a coverageRatio is greater than 1e18, breaking logic."}],"InvalidToken()":[{"notice":"Error emitted when owner attempts to rescue USDe tokens."}],"InvalidAmount()":[{"notice":"Error emitted shares or assets equal zero."}],"InvalidCooldown()":[{"notice":"Error emitted when cooldown value is invalid"}],"DepositsDisabled()":[{"notice":"Error emitted when a deposit is executed when deposits are disabled"}],"NothingToUnstake()":[{"notice":"Error emitted when a user attempts to unstake a cooldown of amount 0"}],"SlippageExceeded()":[{"notice":"Error emitted when slippage is exceeded on a deposit or withdrawal"}],"CoverageRatioZero()":[{"notice":"Error emitted when an unstake is performed while `coverageRatio` is set to 0."}],"InvalidZeroAddress()":[{"notice":"Error emitted when the zero address is given"}],"MinSharesViolation()":[{"notice":"Error emitted when a small non-zero share amount remains, which risks donations attack"}],"OperationNotAllowed()":[{"notice":"Error emitted when owner is not allowed to perform an operation"}],"NotAuthorized(address)":[{"notice":"Error emitted when a permissioned funciton is called by an unauthorized wallet"}],"ExcessiveRedeemAmount()":[{"notice":"Error emitted when the shares amount to redeem is greater than the shares balance of the owner"}],"ExcessiveWithdrawAmount()":[{"notice":"Error emitted when the shares amount to withdraw is greater than the shares balance of the owner"}],"CooldownNotFinished(uint256,uint256)":[{"notice":"Error emitted when a user attempts to unstake a cooldown that is not finished"}]},"events":{"AssetBurned(uint256)":{"notice":"Event emitted when `burnAsset` is executed."},"DepositsToggled(bool)":{"notice":"Event emitted when the boolean stored in depositsEnabled is updated"},"TaxRateUpdated(uint16)":{"notice":"Event emitted when the tax rate is updated."},"FeeSiloUpdated(address)":{"notice":"Event emitted when the fee silo address is updated"},"RewarderUpdated(address)":{"notice":"Event emitted when the rewarder address is updated"},"RewardsReceived(uint256)":{"notice":"Event emitted when the rewards are received"},"msUSDSiloUpdated(address)":{"notice":"Event emitted when the msUSD silo address is updated"},"SiloUpdated(address,address)":{"notice":"Event emitted when the silo address updates"},"CoverageRatioUpdated(uint256)":{"notice":"Event emitted when `coverageRatio` is updated."},"CooldownDurationUpdated(uint24,uint24)":{"notice":"Event emitted when cooldown duration updates"},"Unstake(address,address,uint256,uint256)":{"notice":"Event emitted when a user unstakes"},"CooldownEndtimeUpdated(address,uint256,uint256)":{"notice":"Event emitted when `updateExistingCooldown` is executed."},"LockedAmountRedistributed(address,address,uint256)":{"notice":"Event emitted when the balance from an FULL_RESTRICTED_STAKER_ROLE user are redistributed"}},"notice":"A liquid staking token for msUSD that enables users to earn yield while maintaining liquidity. Users can stake msUSD tokens to receive StakedmsUSD shares that appreciate in value as protocol rewards are distributed. The contract implements a flexible cooldown system that can be enabled or disabled to control withdrawal mechanics based on market conditions and protocol needs.","methods":{"silo()":{"notice":"The silo contract that holds assets during the cooldown period"},"feeSilo()":{"notice":"Stores the address of where fees are collected and distributed."},"taxRate()":{"notice":"Stores the % of each rewards mint that is sent to feeSilo."},"rewarder()":{"notice":"Address authorized to transfer rewards into the contract for distribution to stakers"},"MIN_SHARES()":{"notice":"Minimum non-zero shares amount to prevent donation attack"},"totalAssets()":{"notice":"Returns the amount of msUSD tokens that are inside the contract."},"upgradeDelay()":{"notice":"----------- getters -----------"},"coverageRatio()":{"notice":"Default is 1e18 which allows redeemer to collect 100% of their redemption post-cooldown. If <1e18, the redeemer cannot claim their total redemption of tokens."},"setSilo(address)":{"notice":"Sets the silo contract address that holds assets during cooldown periods"},"toggleDeposits()":{"notice":"Allows the owner to toggle the status stored in `depositsEnabled`."},"unstake(address)":{"notice":"Allows users to claim their assets after the cooldown period has ended"},"depositsEnabled()":{"notice":"If true, deposits are enabled."},"burnAsset(uint256)":{"notice":"Allows the owner to burn tokens from the vault, dropping price"},"cooldownDuration()":{"notice":"Duration in seconds that users must wait after initiating cooldown before they can unstake"},"cooldowns(address)":{"notice":"Mapping of user addresses to their cooldown information including end time and underlying asset amount"},"setTaxRate(uint16)":{"notice":"Sets the taxRate which is the % out of 1000 that is sent to feeSilo upon reward distribution"},"setFeeSilo(address)":{"notice":"Sets the feeSilo address which holds and distributes fees collected by the protocol"},"mintRewards(uint256)":{"notice":"Allows the owner to mint rewards into this contract."},"setRewarder(address)":{"notice":"Sets the address authorized to transfer rewards into the contract"},"MAX_COOLDOWN_DURATION()":{"notice":"Maximum cooldown duration"},"cancelScheduledUpgrade()":{"notice":"Cancels a scheduled upgrade."},"scheduleUpgrade(address)":{"notice":"Schedules an upgrade to a new implementation."},"setUpgradeDelay(uint256)":{"notice":"Sets the new upgrade delay."},"setCoverageRatio(uint256)":{"notice":"Allows the owner to update the value stored in `coverageRatio`."},"lastDistributionTimestamp()":{"notice":"The timestamp of the last asset distribution from the controller contract into this contract"},"setCooldownDuration(uint24)":{"notice":"Sets the cooldown duration for withdrawal requests"},"cooldownAssets(uint256,address)":{"notice":"redeem assets and starts a cooldown to claim the converted underlying asset"},"cooldownShares(uint256,address)":{"notice":"redeem shares into assets and starts a cooldown to claim the converted underlying asset"},"rescueTokens(address,uint256,address)":{"notice":"Allows the owner to rescue tokens accidentally sent to the contract. Note that the owner cannot rescue msUSD tokens because they functionally sit here and belong to stakers but can rescue staked msUSD as they should never actually sit in this contract and a staker may well transfer them here by accident."},"updateExistingCooldown(address,uint104)":{"notice":"Sets the cooldown endtime for an existing cooldown"},"initialize(address,address,address,string,string)":{"notice":"Initializes StakedmsUSD contract."}},"version":1},"devdoc":{"kind":"dev","title":"StakedmsUSD","author":"Mainstreet Labs","errors":{"FailedInnerCall()":[{"details":"A call to an address target failed. The target may have reverted."}],"NotInitializing()":[{"details":"The contract is not initializing."}],"ERC1967NonPayable()":[{"details":"An upgrade function sees `msg.value > 0` that may be lost."}],"MathOverflowedMulDiv()":[{"details":"Muldiv operation overflow."}],"InvalidInitialization()":[{"details":"The contract is already initialized."}],"AddressEmptyCode(address)":[{"details":"There's no code at `target` (it is not a contract)."}],"ERC20InvalidSender(address)":[{"params":{"sender":"Address whose tokens are being transferred."},"details":"Indicates a failure with the token `sender`. Used in transfers."}],"ERC20InvalidSpender(address)":[{"params":{"spender":"Address that may be allowed to operate on tokens without being their owner."},"details":"Indicates a failure with the `spender` to be approved. Used in approvals."}],"OwnableInvalidOwner(address)":[{"details":"The owner is not a valid owner account. (eg. `address(0)`)"}],"ERC20InvalidApprover(address)":[{"params":{"approver":"Address initiating an approval operation."},"details":"Indicates a failure with the `approver` of a token to be approved. Used in approvals."}],"ERC20InvalidReceiver(address)":[{"params":{"receiver":"Address to which tokens are being transferred."},"details":"Indicates a failure with the token `receiver`. Used in transfers."}],"UUPSUnauthorizedCallContext()":[{"details":"The call is from an unauthorized context."}],"ReentrancyGuardReentrantCall()":[{"details":"Unauthorized reentrant call."}],"SafeERC20FailedOperation(address)":[{"details":"An operation with an ERC20 token failed."}],"AddressInsufficientBalance(address)":[{"details":"The ETH balance of the account is not enough to perform the operation."}],"OwnableUnauthorizedAccount(address)":[{"details":"The caller account is not authorized to perform an operation."}],"ERC1967InvalidImplementation(address)":[{"details":"The `implementation` of the proxy is invalid."}],"UUPSUnsupportedProxiableUUID(bytes32)":[{"details":"The storage `slot` is unsupported as a UUID."}],"ERC4626ExceededMaxMint(address,uint256,uint256)":[{"details":"Attempted to mint more shares than the max amount for `receiver`."}],"ERC20InsufficientBalance(address,uint256,uint256)":[{"params":{"needed":"Minimum amount required to perform a transfer.","sender":"Address whose tokens are being transferred.","balance":"Current balance for the interacting account."},"details":"Indicates an error related to the current `balance` of a `sender`. Used in transfers."}],"ERC4626ExceededMaxRedeem(address,uint256,uint256)":[{"details":"Attempted to redeem more shares than the max amount for `receiver`."}],"ERC4626ExceededMaxDeposit(address,uint256,uint256)":[{"details":"Attempted to deposit more assets than the max amount for `receiver`."}],"ERC20InsufficientAllowance(address,uint256,uint256)":[{"params":{"needed":"Minimum amount required to perform a transfer.","spender":"Address that may be allowed to operate on tokens without being their owner.","allowance":"Amount of tokens a `spender` is allowed to operate with."},"details":"Indicates a failure with the `spender`’s `allowance`. Used in transfers."}],"ERC4626ExceededMaxWithdraw(address,uint256,uint256)":[{"details":"Attempted to withdraw more assets than the max amount for `receiver`."}]},"events":{"Upgraded(address)":{"details":"Emitted when the implementation is upgraded."},"Initialized(uint64)":{"details":"Triggered when the contract has been initialized or reinitialized."},"Approval(address,address,uint256)":{"details":"Emitted when the allowance of a `spender` for an `owner` is set by a call to {approve}. `value` is the new allowance."},"Transfer(address,address,uint256)":{"details":"Emitted when `value` tokens are moved from one account (`from`) to another (`to`). Note that `value` may be zero."}},"details":"This contract extends ERC4626 to provide vault functionality with dual operational modes: **Cooldown Disabled (cooldownDuration = 0):** - Operates as standard ERC4626 vault - Immediate withdrawals and redemptions available - Standard deposit, mint, withdraw, redeem functions work normally **Cooldown Enabled (cooldownDuration > 0):** - ERC4626 withdraw/redeem functions are disabled - Users must use cooldownAssets/cooldownShares to initiate withdrawals - Assets are transferred to a silo contract during cooldown period - After cooldown expires, users can claim assets via unstake function The contract features: - Donation attack protection via minimum shares requirement - Upgradeable implementation using UUPS pattern - Owner-controlled configuration of cooldown duration, key addresses, and coverage ratio","methods":{"name()":{"details":"Returns the name of the token."},"asset()":{"details":"See {IERC4626-asset}. "},"owner()":{"details":"Returns the address of the current owner."},"symbol()":{"details":"Returns the symbol of the token, usually a shorter version of the name."},"decimals()":{"details":"Decimals are computed by adding the decimal offset on top of the underlying asset's decimals. This \"original\" value is cached during construction of the vault contract. If this read operation fails (e.g., the asset has not been created yet), a default of 18 is used to represent the underlying asset's decimals. See {IERC20Metadata-decimals}."},"totalSupply()":{"details":"See {IERC20-totalSupply}."},"proxiableUUID()":{"details":"Implementation of the ERC1822 {proxiableUUID} function. This returns the storage slot used by the implementation. It is used to validate the implementation's compatibility when performing an upgrade. IMPORTANT: A proxy pointing at a proxiable contract should not be considered proxiable itself, because this risks bricking a proxy that upgrades to it, by delegating to itself until out of gas. Thus it is critical that this function revert if invoked through a proxy. This is guaranteed by the `notDelegated` modifier."},"maxMint(address)":{"details":"See {IERC4626-maxMint}. "},"setSilo(address)":{"params":{"_silo":"The new silo contract address"},"details":"Only callable by the contract owner. The silo must be deployed and configured before setting. Emits msUSDSiloUpdated event."},"toggleDeposits()":{"details":"When the boolean stored in `depositsEnabled` is true, deposits are enabled. Conversely, when the status is set to false, deposits are disabled."},"unstake(address)":{"params":{"receiver":"Address to send the assets to"},"details":"Can be called by anyone to claim their own assets. The cooldown must have expired and the user must have assets in cooldown. Transfers assets from silo to receiver."},"balanceOf(address)":{"details":"See {IERC20-balanceOf}."},"burnAsset(uint256)":{"params":{"amount":"Amount of tokens to burn from the vault"},"details":"Only used in situations of undercollateralization"},"maxRedeem(address)":{"details":"See {IERC4626-maxRedeem}. "},"setTaxRate(uint16)":{"params":{"newTaxRate":"The tax rate. Must be less than 1000."},"details":"Only callable by the contract owner. Emits TaxRateUpdated event."},"maxDeposit(address)":{"details":"See {IERC4626-maxDeposit}. "},"renounceOwnership()":{"details":"Leaves the contract without owner. It will not be possible to call `onlyOwner` functions. Can only be called by the current owner. NOTE: Renouncing ownership will leave the contract without an owner, thereby disabling any functionality that is only available to the owner."},"setFeeSilo(address)":{"params":{"_silo":"The new feeSilo contract address"},"details":"Only callable by the contract owner. Emits FeeSiloUpdated event."},"maxWithdraw(address)":{"details":"See {IERC4626-maxWithdraw}. "},"mintRewards(uint256)":{"params":{"amount":"The amount of rewards to mint."}},"previewMint(uint256)":{"details":"See {IERC4626-previewMint}. "},"setRewarder(address)":{"params":{"_rewarder":"The new rewarder address"},"details":"Only callable by the contract owner. Emits RewarderUpdated event."},"mint(uint256,address)":{"details":"See {IERC4626-mint}. As opposed to {deposit}, minting is allowed even if the vault is in a state where the price of a share is zero. In this case, the shares will be minted without requiring any assets to be deposited."},"previewRedeem(uint256)":{"details":"See {IERC4626-previewRedeem}. "},"previewDeposit(uint256)":{"details":"See {IERC4626-previewDeposit}. "},"approve(address,uint256)":{"details":"See {IERC20-approve}. NOTE: If `value` is the maximum `uint256`, the allowance is not updated on `transferFrom`. This is semantically equivalent to an infinite approval. Requirements: - `spender` cannot be the zero address."},"cancelScheduledUpgrade()":{"details":"This function clears the pending implementation and activation time."},"convertToAssets(uint256)":{"details":"See {IERC4626-convertToAssets}. "},"convertToShares(uint256)":{"details":"See {IERC4626-convertToShares}. "},"deposit(uint256,address)":{"details":"See {IERC4626-deposit}. "},"previewWithdraw(uint256)":{"details":"See {IERC4626-previewWithdraw}. "},"scheduleUpgrade(address)":{"params":{"newImpl":"The address of the new implementation contract."},"details":"The upgrade can be executed after the delay period has passed."},"setUpgradeDelay(uint256)":{"params":{"newDelay":"The new delay in seconds. Must be at least 1 hour"}},"setCoverageRatio(uint256)":{"params":{"_ratio":"New converage ratio"},"details":"If the value is set to <1e18, the total amount of redeemable tokens post-cooldown will be less than what was initially redeemable. Only used in serious situations when the system is not fully collateralized.If 1e18 -> Redeemer can redeem 100% post-cooldown. Conversly, if set to .9 * 1e18, only 90% of the requested tokens are redeemable, until the ratio is updated again."},"transfer(address,uint256)":{"details":"See {IERC20-transfer}. Requirements: - `to` cannot be the zero address. - the caller must have a balance of at least `value`."},"allowance(address,address)":{"details":"See {IERC20-allowance}."},"transferOwnership(address)":{"details":"Transfers ownership of the contract to a new account (`newOwner`). Can only be called by the current owner."},"setCooldownDuration(uint24)":{"params":{"duration":"Duration in seconds that users must wait before claiming assets (max 90 days)"},"details":"Only callable by the contract owner. Setting to 0 enables immediate withdrawals (ERC4626 mode). Setting to >0 enables cooldown mode where users must use cooldownAssets/cooldownShares. Emits CooldownDurationUpdated event."},"cooldownAssets(uint256,address)":{"params":{"owner":"address to redeem and start cooldown, owner must allowed caller to perform this action","assets":"assets to redeem"}},"cooldownShares(uint256,address)":{"params":{"owner":"address to redeem and start cooldown, owner must allowed caller to perform this action","shares":"shares to redeem"}},"redeem(uint256,address,address)":{"details":"See {IERC4626-redeem}."},"upgradeToAndCall(address,bytes)":{"details":"Upgrade the implementation of the proxy to `newImplementation`, and subsequently execute the function call encoded in `data`. Calls {_authorizeUpgrade}. Emits an {Upgraded} event.","custom:oz-upgrades-unsafe-allow-reachable":"delegatecall"},"withdraw(uint256,address,address)":{"details":"See {IERC4626-withdraw}."},"rescueTokens(address,uint256,address)":{"params":{"to":"Where to send rescued tokens","token":"The token to be rescued.","amount":"The amount of tokens to be rescued."}},"transferFrom(address,address,uint256)":{"details":"See {IERC20-transferFrom}. Emits an {Approval} event indicating the updated allowance. This is not required by the EIP. See the note at the beginning of {ERC20}. NOTE: Does not update the allowance if the current allowance is the maximum `uint256`. Requirements: - `from` and `to` cannot be the zero address. - `from` must have a balance of at least `value`. - the caller must have allowance for ``from``'s tokens of at least `value`."},"updateExistingCooldown(address,uint104)":{"params":{"account":"Account with existing cooldown","newCooldownEnd":"Account with existing cooldown"},"details":"Only callable by the contract owner."},"initialize(address,address,address,string,string)":{"params":{"_asset":"The address of the msUSD token.","_owner":"The address of the admin role.","_initialRewarder":"The address of the initial rewarder."}}},"version":1},"storageLayout":{"types":{"t_bool":{"label":"bool","encoding":"inplace","numberOfBytes":"1"},"t_uint16":{"label":"uint16","encoding":"inplace","numberOfBytes":"2"},"t_uint24":{"label":"uint24","encoding":"inplace","numberOfBytes":"3"},"t_address":{"label":"address","encoding":"inplace","numberOfBytes":"20"},"t_uint104":{"label":"uint104","encoding":"inplace","numberOfBytes":"13"},"t_uint256":{"label":"uint256","encoding":"inplace","numberOfBytes":"32"},"t_contract(msUSDSilo)6314":{"label":"contract msUSDSilo","encoding":"inplace","numberOfBytes":"20"},"t_struct(UserCooldown)4950_storage":{"label":"struct UserCooldown","members":[{"slot":"0","type":"t_uint104","astId":4947,"label":"cooldownEnd","offset":0,"contract":"src/v2/StakedmsUSD.sol:StakedmsUSD"},{"slot":"1","type":"t_uint256","astId":4949,"label":"underlyingAmount","offset":0,"contract":"src/v2/StakedmsUSD.sol:StakedmsUSD"}],"encoding":"inplace","numberOfBytes":"64"},"t_mapping(t_address,t_struct(UserCooldown)4950_storage)":{"key":"t_address","label":"mapping(address => struct UserCooldown)","value":"t_struct(UserCooldown)4950_storage","encoding":"mapping","numberOfBytes":"32"}},"storage":[{"slot":"0","type":"t_uint256","astId":5254,"label":"lastDistributionTimestamp","offset":0,"contract":"src/v2/StakedmsUSD.sol:StakedmsUSD"},{"slot":"1","type":"t_mapping(t_address,t_struct(UserCooldown)4950_storage)","astId":5260,"label":"cooldowns","offset":0,"contract":"src/v2/StakedmsUSD.sol:StakedmsUSD"},{"slot":"2","type":"t_contract(msUSDSilo)6314","astId":5264,"label":"silo","offset":0,"contract":"src/v2/StakedmsUSD.sol:StakedmsUSD"},{"slot":"3","type":"t_address","astId":5267,"label":"rewarder","offset":0,"contract":"src/v2/StakedmsUSD.sol:StakedmsUSD"},{"slot":"4","type":"t_address","astId":5270,"label":"feeSilo","offset":0,"contract":"src/v2/StakedmsUSD.sol:StakedmsUSD"},{"slot":"4","type":"t_uint24","astId":5273,"label":"cooldownDuration","offset":20,"contract":"src/v2/StakedmsUSD.sol:StakedmsUSD"},{"slot":"4","type":"t_uint16","astId":5276,"label":"taxRate","offset":23,"contract":"src/v2/StakedmsUSD.sol:StakedmsUSD"},{"slot":"4","type":"t_bool","astId":5279,"label":"depositsEnabled","offset":25,"contract":"src/v2/StakedmsUSD.sol:StakedmsUSD"},{"slot":"5","type":"t_uint256","astId":5282,"label":"coverageRatio","offset":0,"contract":"src/v2/StakedmsUSD.sol:StakedmsUSD"}]},"transientStorageLayout":null,"evm":{"bytecode":{"object":"60a060405230608052348015610013575f5ffd5b5061001c610021565b6100d3565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00805468010000000000000000900460ff16156100715760405163f92ee8a960e01b815260040160405180910390fd5b80546001600160401b03908116146100d05780546001600160401b0319166001600160401b0390811782556040519081527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b50565b608051613a056100f95f395f81816122bb015281816122e4015261242c0152613a055ff3fe6080604052600436106103b3575f3560e01c80638da5cb5b116101e9578063c63d75b611610108578063da4493f61161009d578063ef8b30f71161006d578063ef8b30f7146109b1578063f2888dbb14610af0578063f2fde38b14610b0f578063f812fa7014610b2e575f5ffd5b8063da4493f614610a7f578063dcc3e06e14610a93578063dd62ed3e14610ab2578063eb3beb2914610ad1575f5ffd5b8063d50655b0116100d8578063d50655b014610a0e578063d87c286714610a2d578063d905777e14610a4c578063d907813c14610a6b575f5ffd5b8063c63d75b614610651578063c6e6f592146109b1578063ce23eb3c146109d0578063ce96cb77146109ef575f5ffd5b8063a63a25f61161017e578063b37fd1901161014e578063b37fd19014610935578063b3d7f6b914610954578063b460af9414610973578063ba08765214610992575f5ffd5b8063a63a25f6146108a8578063a9059cbb146108c7578063ad3cb1cc146108e6578063ae3dc06814610916575f5ffd5b80639606d201116101b95780639606d2011461083757806397379d64146108565780639dc103661461086a578063a2af490014610889575f5ffd5b80638da5cb5b146107d15780638f08d44d146107e557806394bf804d1461080457806395d89b4114610823575f5ffd5b8063396f7b23116102d55780635392fd1c1161026a578063715018a61161023a578063715018a61461074a578063771a3a1d1461075e5780637e48d4ea1461079257806383b43589146107b2575f5ffd5b80635392fd1c146106cd5780635a639912146106ed5780636e553f651461070c57806370a082311461072b575f5ffd5b80634828ced9116102a55780634828ced9146106875780634cdad5061461045c5780634f1ef286146106a657806352d1902d146106b9575f5ffd5b8063396f7b23146106095780633a6462e414610632578063402d267d1461065157806342e7159614610671575f5ffd5b806318160ddd1161034b57806323b872dd1161031b57806323b872dd14610576578063313ce5671461059557806335269315146105bb57806338d52e0f146105dd575f5ffd5b806318160ddd146105095780631e9049cf1461051d5780631fcd3080146105475780632095093314610562575f5ffd5b8063095ea7b311610386578063095ea7b31461047b5780630a28a477146104aa5780630c80447a146104c957806315715313146104ea575f5ffd5b806301320fe2146103b757806301e1d1141461041957806306fdde031461043b57806307a2d13a1461045c575b5f5ffd5b3480156103c2575f5ffd5b506103f56103d13660046131fc565b600160208190525f918252604090912080549101546001600160681b039091169082565b604080516001600160681b0390931683526020830191909152015b60405180910390f35b348015610424575f5ffd5b5061042d610b43565b604051908152602001610410565b348015610446575f5ffd5b5061044f610bb9565b6040516104109190613215565b348015610467575f5ffd5b5061042d61047636600461324a565b610c79565b348015610486575f5ffd5b5061049a610495366004613261565b610c8a565b6040519015158152602001610410565b3480156104b5575f5ffd5b5061042d6104c436600461324a565b610ca1565b3480156104d4575f5ffd5b506104e86104e33660046131fc565b610cad565b005b3480156104f5575f5ffd5b506104e86105043660046131fc565b610db4565b348015610514575f5ffd5b5061042d610e6f565b348015610528575f5ffd5b506105336276a70081565b60405162ffffff9091168152602001610410565b348015610552575f5ffd5b5061042d670de0b6b3a764000081565b34801561056d575f5ffd5b5061042d5f5481565b348015610581575f5ffd5b5061049a610590366004613289565b610e8a565b3480156105a0575f5ffd5b506105a9610eaf565b60405160ff9091168152602001610410565b3480156105c6575f5ffd5b5060045461053390600160a01b900462ffffff1681565b3480156105e8575f5ffd5b506105f1610ede565b6040516001600160a01b039091168152602001610410565b348015610614575f5ffd5b505f5160206139995f395f51905f52546001600160a01b03166105f1565b34801561063d575f5ffd5b506104e861064c3660046131fc565b610eff565b34801561065c575f5ffd5b5061042d61066b3660046131fc565b505f1990565b34801561067c575f5ffd5b5061042d6201518081565b348015610692575f5ffd5b506104e86106a136600461324a565b610fba565b6104e86106b43660046132d7565b6111b5565b3480156106c4575f5ffd5b5061042d6111d4565b3480156106d8575f5ffd5b5060045461049a90600160c81b900460ff1681565b3480156106f8575f5ffd5b506104e861070736600461324a565b6111ef565b348015610717575f5ffd5b5061042d61072636600461339b565b61127a565b348015610736575f5ffd5b5061042d6107453660046131fc565b61129d565b348015610755575f5ffd5b506104e86112c3565b348015610769575f5ffd5b5060045461077f90600160b81b900461ffff1681565b60405161ffff9091168152602001610410565b34801561079d575f5ffd5b505f5160206139795f395f51905f525461042d565b3480156107bd575f5ffd5b506104e86107cc36600461340a565b6112d6565b3480156107dc575f5ffd5b506105f1611504565b3480156107f0575f5ffd5b506104e86107ff36600461324a565b61152c565b34801561080f575f5ffd5b5061042d61081e36600461339b565b6115cc565b34801561082e575f5ffd5b5061044f6115e7565b348015610842575f5ffd5b506104e861085136600461324a565b611625565b348015610861575f5ffd5b506104e86116e7565b348015610875575f5ffd5b506004546105f1906001600160a01b031681565b348015610894575f5ffd5b5061042d6108a336600461339b565b61178d565b3480156108b3575f5ffd5b506104e86108c23660046134aa565b611875565b3480156108d2575f5ffd5b5061049a6108e1366004613261565b61196f565b3480156108f1575f5ffd5b5061044f604051806040016040528060058152602001640352e302e360dc1b81525081565b348015610921575f5ffd5b506104e86109303660046134cb565b61197c565b348015610940575f5ffd5b506104e861094f36600461350b565b611a3e565b34801561095f575f5ffd5b5061042d61096e36600461324a565b611a98565b34801561097e575f5ffd5b5061042d61098d366004613544565b611aa4565b34801561099d575f5ffd5b5061042d6109ac366004613544565b611ade565b3480156109bc575f5ffd5b5061042d6109cb36600461324a565b611b18565b3480156109db575f5ffd5b506104e86109ea366004613574565b611b23565b3480156109fa575f5ffd5b5061042d610a093660046131fc565b611bbf565b348015610a19575f5ffd5b5061042d610a2836600461339b565b611bd2565b348015610a38575f5ffd5b506104e8610a473660046131fc565b611cba565b348015610a57575f5ffd5b5061042d610a663660046131fc565b611d75565b348015610a76575f5ffd5b506104e8611d7f565b348015610a8a575f5ffd5b5061042d611ded565b348015610a9e575f5ffd5b506003546105f1906001600160a01b031681565b348015610abd575f5ffd5b5061042d610acc366004613596565b611e02565b348015610adc575f5ffd5b506002546105f1906001600160a01b031681565b348015610afb575f5ffd5b506104e8610b0a3660046131fc565b611e4b565b348015610b1a575f5ffd5b506104e8610b293660046131fc565b6120cf565b348015610b39575f5ffd5b5061042d60055481565b5f610b4c610ede565b6040516370a0823160e01b81523060048201526001600160a01b0391909116906370a0823190602401602060405180830381865afa158015610b90573d5f5f3e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610bb491906135be565b905090565b7f52c63247e1f47db19d5ce0460030c497f067ca4cebf71ba98eeadabe20bace0380546060915f5160206139395f395f51905f5291610bf7906135d5565b80601f0160208091040260200160405190810160405280929190818152602001828054610c23906135d5565b8015610c6e5780601f10610c4557610100808354040283529160200191610c6e565b820191905f5260205f20905b815481529060010190602001808311610c5157829003601f168201915b505050505091505090565b5f610c84825f612109565b92915050565b5f33610c97818585612146565b5060019392505050565b5f610c84826001612153565b610cb5611504565b6001600160a01b0316336001600160a01b031614610ced5760405163118cdaa760e01b81523360048201526024015b60405180910390fd5b6001600160a01b038116610d145760405163e99d5ac560e01b815260040160405180910390fd5b5f5160206139995f395f51905f5280546001600160a01b0319166001600160a01b0383161790555f5160206139795f395f51905f5280545f9015610d59578154610d5e565b620151805b9050610d6a8142613621565b600283018190556040519081526001600160a01b038416907fe1009627653eb47f7d0f3b4435749f7984a803c21f84a076cc4dcb0412cf066f9060200160405180910390a2505050565b610dbc612187565b6001600160a01b038116610de35760405163f6b2911f60e01b815260040160405180910390fd5b6002546001600160a01b03808316911603610e115760405163a741a04560e01b815260040160405180910390fd5b6040516001600160a01b03821681527f6b49d24dd3285d61bdc40376f699105de0c026f54ed60756482d0f20c0b8abea9060200160405180910390a1600280546001600160a01b0319166001600160a01b0392909216919091179055565b5f805f5160206139395f395f51905f525b6002015492915050565b5f33610e978582856121b9565b610ea2858585612209565b60019150505b9392505050565b5f805f5160206139b95f395f51905f5290505f8154610ed89190600160a01b900460ff16613634565b91505090565b5f805f5160206139b95f395f51905f525b546001600160a01b031692915050565b610f07612187565b6001600160a01b038116610f2e5760405163f6b2911f60e01b815260040160405180910390fd5b6003546001600160a01b03808316911603610f5c5760405163a741a04560e01b815260040160405180910390fd5b6040516001600160a01b03821681527f47c9042c3be42a955f60f9b75006522826af1a3bed83e26646997d3bcccda77c9060200160405180910390a1600380546001600160a01b0319166001600160a01b0392909216919091179055565b610fc2612266565b6003546001600160a01b03163314801590610ff65750610fe0611504565b6001600160a01b0316336001600160a01b031614155b1561101657604051634a0bfec160e01b8152336004820152602401610ce4565b80805f036110375760405163162908e360e11b815260040160405180910390fd5b425f55600454600160b81b900461ffff161580159061106057506004546001600160a01b031615155b1561110c576004545f906103e89061108390600160b81b900461ffff168561364d565b61108d9190613678565b9050611097610ede565b600480546040516340c10f1960e01b81526001600160a01b03918216928101929092526024820184905291909116906340c10f19906044015f604051808303815f87803b1580156110e6575f5ffd5b505af11580156110f8573d5f5f3e3d5ffd5b505050508083611108919061368b565b9250505b611114610ede565b6040516340c10f1960e01b8152306004820152602481018490526001600160a01b0391909116906340c10f19906044015f604051808303815f87803b15801561115b575f5ffd5b505af115801561116d573d5f5f3e3d5ffd5b50506040518492507fbb28dd7cd6be6f61828ea9158a04c5182c716a946a6d2f31f4864edb87471aa691505f90a2506111b260015f5160206139d95f395f51905f5255565b50565b6111bd6122b0565b6111c682612354565b6111d08282612365565b5050565b5f6111dd612421565b505f5160206139595f395f51905f5290565b6111f7612187565b60055481036112195760405163a741a04560e01b815260040160405180910390fd5b670de0b6b3a76400008111156112425760405163648564d360e01b815260040160405180910390fd5b6040518181527fdf2cd4b648795c20aa1aeba11f8ca0264b6ac306acecd2fd590f3c573fe7a5f89060200160405180910390a1600555565b5f5f195f61128785611b18565b90506112953385878461246a565b949350505050565b6001600160a01b03165f9081525f5160206139395f395f51905f52602052604090205490565b6112cb612187565b6112d45f61250a565b565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a008054600160401b810460ff16159067ffffffffffffffff165f8115801561131b5750825b90505f8267ffffffffffffffff1660011480156113375750303b155b905081158015611345575080155b156113635760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff19166001178555831561138d57845460ff60401b1916600160401b1785555b6001600160a01b038a1615806113aa57506001600160a01b038b16155b806113bc57506001600160a01b038c16155b156113da5760405163f6b2911f60e01b815260040160405180910390fd5b61144b89898080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525050604080516020601f8d018190048102820181019092528b815292508b91508a90819084018382808284375f9201919091525061257a92505050565b6114548c61258c565b61145d8a61259d565b6114656125ae565b61146d6125be565b670de0b6b3a76400006005556004805465ff0000ffffff60a01b191664020000127560a71b179055600380546001600160a01b0319166001600160a01b038d1617905583156114f657845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b505050505050505050505050565b5f807f9016d09d72d40fdae2fd8ceac6b6234c7706214fd39c1cd1e609a0528c199300610eef565b611534612187565b6040518181527f23c8e7ecf38ad1e9e1639dfb4b258fc9942ae76b580d2ba43c4a73b9291812c99060200160405180910390a161156f610ede565b6001600160a01b03166342966c68826040518263ffffffff1660e01b815260040161159c91815260200190565b5f604051808303815f87803b1580156115b3575f5ffd5b505af11580156115c5573d5f5f3e3d5ffd5b5050505050565b5f5f195f6115d985611a98565b90506112953385838861246a565b7f52c63247e1f47db19d5ce0460030c497f067ca4cebf71ba98eeadabe20bace0480546060915f5160206139395f395f51905f5291610bf7906135d5565b61162d611504565b6001600160a01b0316336001600160a01b0316146116605760405163118cdaa760e01b8152336004820152602401610ce4565b610e108110156116835760405163a965618960e01b815260040160405180910390fd5b5f6116995f5160206139795f395f51905f525490565b60408051828152602081018590529192507f460e10c89f7fa39a35b0b6bd68e6a834bc423a08a5b10fc1bda0dff3276e2694910160405180910390a1505f5160206139795f395f51905f5255565b6116ef611504565b6001600160a01b0316336001600160a01b0316146117225760405163118cdaa760e01b8152336004820152602401610ce4565b5f5160206139995f395f51905f52546040515f5160206139795f395f51905f52916001600160a01b0316907fd947ef8b4f7aabc4b6a79ec773516b48d12ac25da7af787b659083c6af28cb42905f90a26001810180546001600160a01b03191690555f600290910155565b6004545f90600160a01b900462ffffff1681036117bd57604051637a851da960e11b815260040160405180910390fd5b6117c682611d75565b8311156117e657604051630c668a7160e31b815260040160405180910390fd5b5f6117f084610c79565b60045490915061180c90600160a01b900462ffffff16426136bf565b6001600160a01b0384165f908152600160208190526040822080546001600160681b0319166001600160681b0394909416939093178355919091018054839290611857908490613621565b90915550610ea89050336002546001600160a01b03168584886125db565b61187d612187565b6103e88161ffff16106118e65760405162461bcd60e51b815260206004820152602b60248201527f5461782063616e6e6f742062652031303025202d204d757374206265206c657360448201526a073207468616e20313030360ac1b6064820152608401610ce4565b60045461ffff808316600160b81b90920416036119165760405163a741a04560e01b815260040160405180910390fd5b60405161ffff821681527fc806a10dd41921869155255a462a80195a7bfeb01e4f3431e3a43bdf80e4baa09060200160405180910390a16004805461ffff909216600160b81b0261ffff60b81b19909216919091179055565b5f33610c97818585612209565b611984612187565b6001600160a01b0382165f908152600160205260408120805490916001600160681b0390911690036119c957604051637475d84d60e11b815260040160405180910390fd5b8054604080516001600160a01b03861681526001600160681b03928316602082015291841682820152517f4590c2052b5ebf4a0a703688d2a793d162b6925a337b78387018d7c20ef4ed2e9181900360600190a180546001600160681b0319166001600160681b039290921691909117905550565b611a46612187565b611a4e610ede565b6001600160a01b0316836001600160a01b031603611a7f5760405163c1ab6dc160e01b815260040160405180910390fd5b611a936001600160a01b0384168284612652565b505050565b5f610c84826001612109565b6004545f90600160a01b900462ffffff1615611ad357604051637a851da960e11b815260040160405180910390fd5b6112958484846126b1565b6004545f90600160a01b900462ffffff1615611b0d57604051637a851da960e11b815260040160405180910390fd5b611295848484612707565b5f610c84825f612153565b611b2b612187565b6276a70062ffffff82161115611b5457604051637475d84d60e11b815260040160405180910390fd5b6004805462ffffff838116600160a01b90810262ffffff60a01b198416179384905560408051938290048316808552919094049091166020830152917f180eacdf7dbaeecaa983d93173b4285db2f2c0de0044697e1f932bbbb73dcaa6910160405180910390a15050565b5f610c84611bcc8361129d565b5f612109565b6004545f90600160a01b900462ffffff168103611c0257604051637a851da960e11b815260040160405180910390fd5b611c0b82611bbf565b831115611c2b57604051636fa9eef160e11b815260040160405180910390fd5b5f611c3584610ca1565b600454909150611c5190600160a01b900462ffffff16426136bf565b6001600160a01b0384165f908152600160208190526040822080546001600160681b0319166001600160681b0394909416939093178355919091018054869290611c9c908490613621565b90915550610ea89050336002546001600160a01b03168587856125db565b611cc2612187565b6001600160a01b038116611ce95760405163f6b2911f60e01b815260040160405180910390fd5b6004546001600160a01b03808316911603611d175760405163a741a04560e01b815260040160405180910390fd5b6040516001600160a01b03821681527fdb8167fc515fc9095f0a3a91bcd16cf7f1a9b3cc52ebad83691f81180d5098a59060200160405180910390a1600480546001600160a01b0319166001600160a01b0392909216919091179055565b5f610c848261129d565b611d87612187565b6004805460ff600160c81b808304821615810260ff60c81b1990931692909217928390556040517f79a0d73b50e293c1e17b973f07d567c5a14399afb5e2373c44a82e9f9109d71693611de39390049091161515815260200190565b60405180910390a1565b5f805f5160206139795f395f51905f52610e80565b6001600160a01b039182165f9081527f52c63247e1f47db19d5ce0460030c497f067ca4cebf71ba98eeadabe20bace016020908152604080832093909416825291909152205490565b611e53612266565b335f908152600160208190526040909120908101548154426001600160681b039091161115611ea957815460405163922bceef60e01b81524260048201526001600160681b039091166024820152604401610ce4565b805f03611ec95760405163422f6e3560e11b815260040160405180910390fd5b6005545f03611eeb57604051637cf9af2360e11b815260040160405180910390fd5b81546001600160681b03191682555f60018301556005548190670de0b6b3a7640000111561200557670de0b6b3a764000060055483611f2a919061364d565b611f349190613678565b90505f611f41828461368b565b60025460405163f3fef3a360e01b8152306004820152602481018390529192506001600160a01b03169063f3fef3a3906044015f604051808303815f87803b158015611f8b575f5ffd5b505af1158015611f9d573d5f5f3e3d5ffd5b50505050611fa9610ede565b6001600160a01b03166342966c68826040518263ffffffff1660e01b8152600401611fd691815260200190565b5f604051808303815f87803b158015611fed575f5ffd5b505af1158015611fff573d5f5f3e3d5ffd5b50505050505b604080513381526001600160a01b0386166020820152908101839052606081018290527f18edd09e80386cd99df397e2e0d87d2bb259423eae08645e776321a36fe680ef9060800160405180910390a160025460405163f3fef3a360e01b81526001600160a01b038681166004830152602482018490529091169063f3fef3a3906044015f604051808303815f87803b1580156120a0575f5ffd5b505af11580156120b2573d5f5f3e3d5ffd5b505050505050506111b260015f5160206139d95f395f51905f5255565b6120d7612187565b6001600160a01b03811661210057604051631e4fbdf760e01b81525f6004820152602401610ce4565b6111b28161250a565b5f610ea8612115610b43565b612120906001613621565b61212b5f600a6137c1565b612133610e6f565b61213d9190613621565b85919085612754565b611a9383838360016127a1565b5f610ea861216282600a6137c1565b61216a610e6f565b6121749190613621565b61217c610b43565b61213d906001613621565b33612190611504565b6001600160a01b0316146112d45760405163118cdaa760e01b8152336004820152602401610ce4565b5f6121c48484611e02565b90505f19811461220357818110156121f557828183604051637dc7a0d960e11b8152600401610ce49392919061369e565b61220384848484035f6127a1565b50505050565b6001600160a01b03831661223257604051634b637e8f60e11b81525f6004820152602401610ce4565b6001600160a01b03821661225b5760405163ec442f0560e01b81525f6004820152602401610ce4565b611a93838383612884565b5f5160206139d95f395f51905f5280546001190161229757604051633ee5aeb560e01b815260040160405180910390fd5b60029055565b60015f5160206139d95f395f51905f5255565b306001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016148061233657507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031661232a5f5160206139595f395f51905f52546001600160a01b031690565b6001600160a01b031614155b156112d45760405163703e46dd60e11b815260040160405180910390fd5b61235c612187565b6111b2816129aa565b816001600160a01b03166352d1902d6040518163ffffffff1660e01b8152600401602060405180830381865afa9250505080156123bf575060408051601f3d908101601f191682019092526123bc918101906135be565b60015b6123e757604051634c9c8ce360e01b81526001600160a01b0383166004820152602401610ce4565b5f5160206139595f395f51905f52811461241757604051632a87526960e21b815260048101829052602401610ce4565b611a938383612a34565b306001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016146112d45760405163703e46dd60e11b815260040160405180910390fd5b612472612266565b600454600160c81b900460ff1661249c57604051630e2f42c960e31b815260040160405180910390fd5b81805f036124bd5760405163162908e360e11b815260040160405180910390fd5b81805f036124de5760405163162908e360e11b815260040160405180910390fd5b6124ea86868686612a89565b6124f2612b06565b505061220360015f5160206139d95f395f51905f5255565b7f9016d09d72d40fdae2fd8ceac6b6234c7706214fd39c1cd1e609a0528c19930080546001600160a01b031981166001600160a01b03848116918217845560405192169182907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0905f90a3505050565b612582612b45565b6111d08282612b8e565b612594612b45565b6111b281612bde565b6125a5612b45565b6111b281612c4e565b6125b6612b45565b6112d4612c56565b6125c6612b45565b620151805f5160206139795f395f51905f5255565b6125e3612266565b81805f036126045760405163162908e360e11b815260040160405180910390fd5b81805f036126255760405163162908e360e11b815260040160405180910390fd5b6126328787878787612c5e565b61263a612b06565b50506115c560015f5160206139d95f395f51905f5255565b6040516001600160a01b03838116602483015260448201839052611a9391859182169063a9059cbb906064015b604051602081830303815290604052915060e01b6020820180516001600160e01b038381831617835250505050612d12565b5f5f6126bc83611bbf565b9050808511156126e557828582604051633fa733bb60e21b8152600401610ce49392919061369e565b5f6126ef86610ca1565b90506126fe33868689856125db565b95945050505050565b5f5f61271283611d75565b90508085111561273b57828582604051632e52afbb60e21b8152600401610ce49392919061369e565b5f61274586610c79565b90506126fe338686848a6125db565b5f5f612761868686612d73565b905061276c83612e32565b801561278757505f848061278257612782613664565b868809115b156126fe57612797600182613621565b9695505050505050565b5f5160206139395f395f51905f526001600160a01b0385166127d85760405163e602df0560e01b81525f6004820152602401610ce4565b6001600160a01b03841661280157604051634a1406b160e11b81525f6004820152602401610ce4565b6001600160a01b038086165f908152600183016020908152604080832093881683529290522083905581156115c557836001600160a01b0316856001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9258560405161287591815260200190565b60405180910390a35050505050565b5f5160206139395f395f51905f526001600160a01b0384166128be5781816002015f8282546128b39190613621565b9091555061291b9050565b6001600160a01b0384165f90815260208290526040902054828110156128fd5784818460405163391434e360e21b8152600401610ce49392919061369e565b6001600160a01b0385165f9081526020839052604090209083900390555b6001600160a01b038316612939576002810180548390039055612957565b6001600160a01b0383165f9081526020829052604090208054830190555b826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8460405161299c91815260200190565b60405180910390a350505050565b5f5160206139995f395f51905f52545f5160206139795f395f51905f52906001600160a01b038381169116146129f3576040516316545d4f60e11b815260040160405180910390fd5b8060020154421015612a18576040516364037fb760e11b815260040160405180910390fd5b6001810180546001600160a01b03191690555f60029091015550565b612a3d82612e5e565b6040516001600160a01b038316907fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b905f90a2805115612a8157611a938282612ec1565b6111d0612f2a565b5f5160206139b95f395f51905f528054612aae906001600160a01b0316863086612f49565b612ab88483612f82565b836001600160a01b0316856001600160a01b03167fdcbc1c05240f31ff3ad067ef1ee35ce4997762752e3a095284754544f4c709d78585604051612875929190918252602082015260400190565b5f612b0f610e6f565b90505f81118015612b275750670de0b6b3a764000081105b156111b257604051635a5c1b5560e11b815260040160405180910390fd5b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a0054600160401b900460ff166112d457604051631afcd79f60e31b815260040160405180910390fd5b612b96612b45565b5f5160206139395f395f51905f527f52c63247e1f47db19d5ce0460030c497f067ca4cebf71ba98eeadabe20bace03612bcf8482613813565b50600481016122038382613813565b612be6612b45565b5f5160206139b95f395f51905f525f80612bff84612fb6565b9150915081612c0f576012612c11565b805b83546001600160a81b031916600160a01b60ff92909216919091026001600160a01b031916176001600160a01b0394909416939093179091555050565b6120d7612b45565b61229d612b45565b5f5160206139b95f395f51905f526001600160a01b0386811690851614612c8a57612c8a8487846121b9565b612c94848361308c565b8054612caa906001600160a01b03168685612652565b836001600160a01b0316856001600160a01b0316876001600160a01b03167ffbde797d201c681b91056529119e0b02407c7bb96a4a2c75c01fc9667232c8db8686604051612d02929190918252602082015260400190565b60405180910390a4505050505050565b5f612d266001600160a01b038416836130c0565b905080515f14158015612d4a575080806020019051810190612d4891906138ce565b155b15611a9357604051635274afe760e01b81526001600160a01b0384166004820152602401610ce4565b5f838302815f1985870982811083820303915050805f03612da757838281612d9d57612d9d613664565b0492505050610ea8565b808411612dc75760405163227bc15360e01b815260040160405180910390fd5b5f848688095f868103871696879004966002600389028118808a02820302808a02820302808a02820302808a02820302808a02820302808a02909103029181900381900460010186841190950394909402919094039290920491909117919091029150509392505050565b5f6002826003811115612e4757612e476138ed565b612e519190613901565b60ff166001149050919050565b806001600160a01b03163b5f03612e9357604051634c9c8ce360e01b81526001600160a01b0382166004820152602401610ce4565b5f5160206139595f395f51905f5280546001600160a01b0319166001600160a01b0392909216919091179055565b60605f5f846001600160a01b031684604051612edd9190613922565b5f60405180830381855af49150503d805f8114612f15576040519150601f19603f3d011682016040523d82523d5f602084013e612f1a565b606091505b50915091506126fe8583836130cd565b34156112d45760405163b398979f60e01b815260040160405180910390fd5b6040516001600160a01b0384811660248301528381166044830152606482018390526122039186918216906323b872dd9060840161267f565b6001600160a01b038216612fab5760405163ec442f0560e01b81525f6004820152602401610ce4565b6111d05f8383612884565b60408051600481526024810182526020810180516001600160e01b031663313ce56760e01b17905290515f918291829182916001600160a01b03871691612ffc91613922565b5f60405180830381855afa9150503d805f8114613034576040519150601f19603f3d011682016040523d82523d5f602084013e613039565b606091505b509150915081801561304d57506020815110155b15613080575f8180602001905181019061306791906135be565b905060ff811161307e576001969095509350505050565b505b505f9485945092505050565b6001600160a01b0382166130b557604051634b637e8f60e11b81525f6004820152602401610ce4565b6111d0825f83612884565b6060610ea883835f613129565b6060826130e2576130dd826131b8565b610ea8565b81511580156130f957506001600160a01b0384163b155b1561312257604051639996b31560e01b81526001600160a01b0385166004820152602401610ce4565b5080610ea8565b60608147101561314e5760405163cd78605960e01b8152306004820152602401610ce4565b5f5f856001600160a01b031684866040516131699190613922565b5f6040518083038185875af1925050503d805f81146131a3576040519150601f19603f3d011682016040523d82523d5f602084013e6131a8565b606091505b50915091506127978683836130cd565b8051156131c85780518082602001fd5b604051630a12f52160e11b815260040160405180910390fd5b80356001600160a01b03811681146131f7575f5ffd5b919050565b5f6020828403121561320c575f5ffd5b610ea8826131e1565b602081525f82518060208401528060208501604085015e5f604082850101526040601f19601f83011684010191505092915050565b5f6020828403121561325a575f5ffd5b5035919050565b5f5f60408385031215613272575f5ffd5b61327b836131e1565b946020939093013593505050565b5f5f5f6060848603121561329b575f5ffd5b6132a4846131e1565b92506132b2602085016131e1565b929592945050506040919091013590565b634e487b7160e01b5f52604160045260245ffd5b5f5f604083850312156132e8575f5ffd5b6132f1836131e1565b9150602083013567ffffffffffffffff81111561330c575f5ffd5b8301601f8101851361331c575f5ffd5b803567ffffffffffffffff811115613336576133366132c3565b604051601f8201601f19908116603f0116810167ffffffffffffffff81118282101715613365576133656132c3565b60405281815282820160200187101561337c575f5ffd5b816020840160208301375f602083830101528093505050509250929050565b5f5f604083850312156133ac575f5ffd5b823591506133bc602084016131e1565b90509250929050565b5f5f83601f8401126133d5575f5ffd5b50813567ffffffffffffffff8111156133ec575f5ffd5b602083019150836020828501011115613403575f5ffd5b9250929050565b5f5f5f5f5f5f5f60a0888a031215613420575f5ffd5b613429886131e1565b9650613437602089016131e1565b9550613445604089016131e1565b9450606088013567ffffffffffffffff811115613460575f5ffd5b61346c8a828b016133c5565b909550935050608088013567ffffffffffffffff81111561348b575f5ffd5b6134978a828b016133c5565b989b979a50959850939692959293505050565b5f602082840312156134ba575f5ffd5b813561ffff81168114610ea8575f5ffd5b5f5f604083850312156134dc575f5ffd5b6134e5836131e1565b915060208301356001600160681b0381168114613500575f5ffd5b809150509250929050565b5f5f5f6060848603121561351d575f5ffd5b613526846131e1565b92506020840135915061353b604085016131e1565b90509250925092565b5f5f5f60608486031215613556575f5ffd5b83359250613566602085016131e1565b915061353b604085016131e1565b5f60208284031215613584575f5ffd5b813562ffffff81168114610ea8575f5ffd5b5f5f604083850312156135a7575f5ffd5b6135b0836131e1565b91506133bc602084016131e1565b5f602082840312156135ce575f5ffd5b5051919050565b600181811c908216806135e957607f821691505b60208210810361360757634e487b7160e01b5f52602260045260245ffd5b50919050565b634e487b7160e01b5f52601160045260245ffd5b80820180821115610c8457610c8461360d565b60ff8181168382160190811115610c8457610c8461360d565b8082028115828204841417610c8457610c8461360d565b634e487b7160e01b5f52601260045260245ffd5b5f8261368657613686613664565b500490565b81810381811115610c8457610c8461360d565b6001600160a01b039390931683526020830191909152604082015260600190565b6001600160681b038181168382160190811115610c8457610c8461360d565b6001815b6001841115613719578085048111156136fd576136fd61360d565b600184161561370b57908102905b60019390931c9280026136e2565b935093915050565b5f8261372f57506001610c84565b8161373b57505f610c84565b8160018114613751576002811461375b57613777565b6001915050610c84565b60ff84111561376c5761376c61360d565b50506001821b610c84565b5060208310610133831016604e8410600b841016171561379a575081810a610c84565b6137a65f1984846136de565b805f19048211156137b9576137b961360d565b029392505050565b5f610ea860ff841683613721565b601f821115611a9357805f5260205f20601f840160051c810160208510156137f45750805b601f840160051c820191505b818110156115c5575f8155600101613800565b815167ffffffffffffffff81111561382d5761382d6132c3565b6138418161383b84546135d5565b846137cf565b6020601f821160018114613873575f831561385c5750848201515b5f19600385901b1c1916600184901b1784556115c5565b5f84815260208120601f198516915b828110156138a25787850151825560209485019460019092019101613882565b50848210156138bf57868401515f19600387901b60f8161c191681555b50505050600190811b01905550565b5f602082840312156138de575f5ffd5b81518015158114610ea8575f5ffd5b634e487b7160e01b5f52602160045260245ffd5b5f60ff83168061391357613913613664565b8060ff84160691505092915050565b5f82518060208501845e5f92019182525091905056fe52c63247e1f47db19d5ce0460030c497f067ca4cebf71ba98eeadabe20bace00360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbca9f7ef5782100b08bddb9be7a16303ba138e26e6df1a3e56c7be0bac217aa800a9f7ef5782100b08bddb9be7a16303ba138e26e6df1a3e56c7be0bac217aa8010773e532dfede91f04b12a73d3d2acd361424f41f76b4fb79f090161e36b4e009b779b17422d0df92223018b32b4d1fa46e071723d6817e2486d003becc55f00a164736f6c634300081e000a","sourceMap":"2228:15472:22:-:0;;;1060:4:11;1017:48;;5136:53:22;;;;;;;;;-1:-1:-1;5160:22:22;:20;:22::i;:::-;2228:15472;;7711:422:1;8870:21;7900:15;;;;;;;7896:76;;;7938:23;;-1:-1:-1;;;7938:23:1;;;;;;;;;;;7896:76;7985:14;;-1:-1:-1;;;;;7985:14:1;;;:34;7981:146;;8035:33;;-1:-1:-1;;;;;;8035:33:1;-1:-1:-1;;;;;8035:33:1;;;;;8087:29;;158:50:24;;;8087:29:1;;146:2:24;131:18;8087:29:1;;;;;;;7981:146;7760:373;7711:422::o;14:200:24:-;2228:15472:22;;;;;;;;;;;;;;;;;;;;;;","linkReferences":{}},"deployedBytecode":{"object":"6080604052600436106103b3575f3560e01c80638da5cb5b116101e9578063c63d75b611610108578063da4493f61161009d578063ef8b30f71161006d578063ef8b30f7146109b1578063f2888dbb14610af0578063f2fde38b14610b0f578063f812fa7014610b2e575f5ffd5b8063da4493f614610a7f578063dcc3e06e14610a93578063dd62ed3e14610ab2578063eb3beb2914610ad1575f5ffd5b8063d50655b0116100d8578063d50655b014610a0e578063d87c286714610a2d578063d905777e14610a4c578063d907813c14610a6b575f5ffd5b8063c63d75b614610651578063c6e6f592146109b1578063ce23eb3c146109d0578063ce96cb77146109ef575f5ffd5b8063a63a25f61161017e578063b37fd1901161014e578063b37fd19014610935578063b3d7f6b914610954578063b460af9414610973578063ba08765214610992575f5ffd5b8063a63a25f6146108a8578063a9059cbb146108c7578063ad3cb1cc146108e6578063ae3dc06814610916575f5ffd5b80639606d201116101b95780639606d2011461083757806397379d64146108565780639dc103661461086a578063a2af490014610889575f5ffd5b80638da5cb5b146107d15780638f08d44d146107e557806394bf804d1461080457806395d89b4114610823575f5ffd5b8063396f7b23116102d55780635392fd1c1161026a578063715018a61161023a578063715018a61461074a578063771a3a1d1461075e5780637e48d4ea1461079257806383b43589146107b2575f5ffd5b80635392fd1c146106cd5780635a639912146106ed5780636e553f651461070c57806370a082311461072b575f5ffd5b80634828ced9116102a55780634828ced9146106875780634cdad5061461045c5780634f1ef286146106a657806352d1902d146106b9575f5ffd5b8063396f7b23146106095780633a6462e414610632578063402d267d1461065157806342e7159614610671575f5ffd5b806318160ddd1161034b57806323b872dd1161031b57806323b872dd14610576578063313ce5671461059557806335269315146105bb57806338d52e0f146105dd575f5ffd5b806318160ddd146105095780631e9049cf1461051d5780631fcd3080146105475780632095093314610562575f5ffd5b8063095ea7b311610386578063095ea7b31461047b5780630a28a477146104aa5780630c80447a146104c957806315715313146104ea575f5ffd5b806301320fe2146103b757806301e1d1141461041957806306fdde031461043b57806307a2d13a1461045c575b5f5ffd5b3480156103c2575f5ffd5b506103f56103d13660046131fc565b600160208190525f918252604090912080549101546001600160681b039091169082565b604080516001600160681b0390931683526020830191909152015b60405180910390f35b348015610424575f5ffd5b5061042d610b43565b604051908152602001610410565b348015610446575f5ffd5b5061044f610bb9565b6040516104109190613215565b348015610467575f5ffd5b5061042d61047636600461324a565b610c79565b348015610486575f5ffd5b5061049a610495366004613261565b610c8a565b6040519015158152602001610410565b3480156104b5575f5ffd5b5061042d6104c436600461324a565b610ca1565b3480156104d4575f5ffd5b506104e86104e33660046131fc565b610cad565b005b3480156104f5575f5ffd5b506104e86105043660046131fc565b610db4565b348015610514575f5ffd5b5061042d610e6f565b348015610528575f5ffd5b506105336276a70081565b60405162ffffff9091168152602001610410565b348015610552575f5ffd5b5061042d670de0b6b3a764000081565b34801561056d575f5ffd5b5061042d5f5481565b348015610581575f5ffd5b5061049a610590366004613289565b610e8a565b3480156105a0575f5ffd5b506105a9610eaf565b60405160ff9091168152602001610410565b3480156105c6575f5ffd5b5060045461053390600160a01b900462ffffff1681565b3480156105e8575f5ffd5b506105f1610ede565b6040516001600160a01b039091168152602001610410565b348015610614575f5ffd5b505f5160206139995f395f51905f52546001600160a01b03166105f1565b34801561063d575f5ffd5b506104e861064c3660046131fc565b610eff565b34801561065c575f5ffd5b5061042d61066b3660046131fc565b505f1990565b34801561067c575f5ffd5b5061042d6201518081565b348015610692575f5ffd5b506104e86106a136600461324a565b610fba565b6104e86106b43660046132d7565b6111b5565b3480156106c4575f5ffd5b5061042d6111d4565b3480156106d8575f5ffd5b5060045461049a90600160c81b900460ff1681565b3480156106f8575f5ffd5b506104e861070736600461324a565b6111ef565b348015610717575f5ffd5b5061042d61072636600461339b565b61127a565b348015610736575f5ffd5b5061042d6107453660046131fc565b61129d565b348015610755575f5ffd5b506104e86112c3565b348015610769575f5ffd5b5060045461077f90600160b81b900461ffff1681565b60405161ffff9091168152602001610410565b34801561079d575f5ffd5b505f5160206139795f395f51905f525461042d565b3480156107bd575f5ffd5b506104e86107cc36600461340a565b6112d6565b3480156107dc575f5ffd5b506105f1611504565b3480156107f0575f5ffd5b506104e86107ff36600461324a565b61152c565b34801561080f575f5ffd5b5061042d61081e36600461339b565b6115cc565b34801561082e575f5ffd5b5061044f6115e7565b348015610842575f5ffd5b506104e861085136600461324a565b611625565b348015610861575f5ffd5b506104e86116e7565b348015610875575f5ffd5b506004546105f1906001600160a01b031681565b348015610894575f5ffd5b5061042d6108a336600461339b565b61178d565b3480156108b3575f5ffd5b506104e86108c23660046134aa565b611875565b3480156108d2575f5ffd5b5061049a6108e1366004613261565b61196f565b3480156108f1575f5ffd5b5061044f604051806040016040528060058152602001640352e302e360dc1b81525081565b348015610921575f5ffd5b506104e86109303660046134cb565b61197c565b348015610940575f5ffd5b506104e861094f36600461350b565b611a3e565b34801561095f575f5ffd5b5061042d61096e36600461324a565b611a98565b34801561097e575f5ffd5b5061042d61098d366004613544565b611aa4565b34801561099d575f5ffd5b5061042d6109ac366004613544565b611ade565b3480156109bc575f5ffd5b5061042d6109cb36600461324a565b611b18565b3480156109db575f5ffd5b506104e86109ea366004613574565b611b23565b3480156109fa575f5ffd5b5061042d610a093660046131fc565b611bbf565b348015610a19575f5ffd5b5061042d610a2836600461339b565b611bd2565b348015610a38575f5ffd5b506104e8610a473660046131fc565b611cba565b348015610a57575f5ffd5b5061042d610a663660046131fc565b611d75565b348015610a76575f5ffd5b506104e8611d7f565b348015610a8a575f5ffd5b5061042d611ded565b348015610a9e575f5ffd5b506003546105f1906001600160a01b031681565b348015610abd575f5ffd5b5061042d610acc366004613596565b611e02565b348015610adc575f5ffd5b506002546105f1906001600160a01b031681565b348015610afb575f5ffd5b506104e8610b0a3660046131fc565b611e4b565b348015610b1a575f5ffd5b506104e8610b293660046131fc565b6120cf565b348015610b39575f5ffd5b5061042d60055481565b5f610b4c610ede565b6040516370a0823160e01b81523060048201526001600160a01b0391909116906370a0823190602401602060405180830381865afa158015610b90573d5f5f3e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610bb491906135be565b905090565b7f52c63247e1f47db19d5ce0460030c497f067ca4cebf71ba98eeadabe20bace0380546060915f5160206139395f395f51905f5291610bf7906135d5565b80601f0160208091040260200160405190810160405280929190818152602001828054610c23906135d5565b8015610c6e5780601f10610c4557610100808354040283529160200191610c6e565b820191905f5260205f20905b815481529060010190602001808311610c5157829003601f168201915b505050505091505090565b5f610c84825f612109565b92915050565b5f33610c97818585612146565b5060019392505050565b5f610c84826001612153565b610cb5611504565b6001600160a01b0316336001600160a01b031614610ced5760405163118cdaa760e01b81523360048201526024015b60405180910390fd5b6001600160a01b038116610d145760405163e99d5ac560e01b815260040160405180910390fd5b5f5160206139995f395f51905f5280546001600160a01b0319166001600160a01b0383161790555f5160206139795f395f51905f5280545f9015610d59578154610d5e565b620151805b9050610d6a8142613621565b600283018190556040519081526001600160a01b038416907fe1009627653eb47f7d0f3b4435749f7984a803c21f84a076cc4dcb0412cf066f9060200160405180910390a2505050565b610dbc612187565b6001600160a01b038116610de35760405163f6b2911f60e01b815260040160405180910390fd5b6002546001600160a01b03808316911603610e115760405163a741a04560e01b815260040160405180910390fd5b6040516001600160a01b03821681527f6b49d24dd3285d61bdc40376f699105de0c026f54ed60756482d0f20c0b8abea9060200160405180910390a1600280546001600160a01b0319166001600160a01b0392909216919091179055565b5f805f5160206139395f395f51905f525b6002015492915050565b5f33610e978582856121b9565b610ea2858585612209565b60019150505b9392505050565b5f805f5160206139b95f395f51905f5290505f8154610ed89190600160a01b900460ff16613634565b91505090565b5f805f5160206139b95f395f51905f525b546001600160a01b031692915050565b610f07612187565b6001600160a01b038116610f2e5760405163f6b2911f60e01b815260040160405180910390fd5b6003546001600160a01b03808316911603610f5c5760405163a741a04560e01b815260040160405180910390fd5b6040516001600160a01b03821681527f47c9042c3be42a955f60f9b75006522826af1a3bed83e26646997d3bcccda77c9060200160405180910390a1600380546001600160a01b0319166001600160a01b0392909216919091179055565b610fc2612266565b6003546001600160a01b03163314801590610ff65750610fe0611504565b6001600160a01b0316336001600160a01b031614155b1561101657604051634a0bfec160e01b8152336004820152602401610ce4565b80805f036110375760405163162908e360e11b815260040160405180910390fd5b425f55600454600160b81b900461ffff161580159061106057506004546001600160a01b031615155b1561110c576004545f906103e89061108390600160b81b900461ffff168561364d565b61108d9190613678565b9050611097610ede565b600480546040516340c10f1960e01b81526001600160a01b03918216928101929092526024820184905291909116906340c10f19906044015f604051808303815f87803b1580156110e6575f5ffd5b505af11580156110f8573d5f5f3e3d5ffd5b505050508083611108919061368b565b9250505b611114610ede565b6040516340c10f1960e01b8152306004820152602481018490526001600160a01b0391909116906340c10f19906044015f604051808303815f87803b15801561115b575f5ffd5b505af115801561116d573d5f5f3e3d5ffd5b50506040518492507fbb28dd7cd6be6f61828ea9158a04c5182c716a946a6d2f31f4864edb87471aa691505f90a2506111b260015f5160206139d95f395f51905f5255565b50565b6111bd6122b0565b6111c682612354565b6111d08282612365565b5050565b5f6111dd612421565b505f5160206139595f395f51905f5290565b6111f7612187565b60055481036112195760405163a741a04560e01b815260040160405180910390fd5b670de0b6b3a76400008111156112425760405163648564d360e01b815260040160405180910390fd5b6040518181527fdf2cd4b648795c20aa1aeba11f8ca0264b6ac306acecd2fd590f3c573fe7a5f89060200160405180910390a1600555565b5f5f195f61128785611b18565b90506112953385878461246a565b949350505050565b6001600160a01b03165f9081525f5160206139395f395f51905f52602052604090205490565b6112cb612187565b6112d45f61250a565b565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a008054600160401b810460ff16159067ffffffffffffffff165f8115801561131b5750825b90505f8267ffffffffffffffff1660011480156113375750303b155b905081158015611345575080155b156113635760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff19166001178555831561138d57845460ff60401b1916600160401b1785555b6001600160a01b038a1615806113aa57506001600160a01b038b16155b806113bc57506001600160a01b038c16155b156113da5760405163f6b2911f60e01b815260040160405180910390fd5b61144b89898080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525050604080516020601f8d018190048102820181019092528b815292508b91508a90819084018382808284375f9201919091525061257a92505050565b6114548c61258c565b61145d8a61259d565b6114656125ae565b61146d6125be565b670de0b6b3a76400006005556004805465ff0000ffffff60a01b191664020000127560a71b179055600380546001600160a01b0319166001600160a01b038d1617905583156114f657845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b505050505050505050505050565b5f807f9016d09d72d40fdae2fd8ceac6b6234c7706214fd39c1cd1e609a0528c199300610eef565b611534612187565b6040518181527f23c8e7ecf38ad1e9e1639dfb4b258fc9942ae76b580d2ba43c4a73b9291812c99060200160405180910390a161156f610ede565b6001600160a01b03166342966c68826040518263ffffffff1660e01b815260040161159c91815260200190565b5f604051808303815f87803b1580156115b3575f5ffd5b505af11580156115c5573d5f5f3e3d5ffd5b5050505050565b5f5f195f6115d985611a98565b90506112953385838861246a565b7f52c63247e1f47db19d5ce0460030c497f067ca4cebf71ba98eeadabe20bace0480546060915f5160206139395f395f51905f5291610bf7906135d5565b61162d611504565b6001600160a01b0316336001600160a01b0316146116605760405163118cdaa760e01b8152336004820152602401610ce4565b610e108110156116835760405163a965618960e01b815260040160405180910390fd5b5f6116995f5160206139795f395f51905f525490565b60408051828152602081018590529192507f460e10c89f7fa39a35b0b6bd68e6a834bc423a08a5b10fc1bda0dff3276e2694910160405180910390a1505f5160206139795f395f51905f5255565b6116ef611504565b6001600160a01b0316336001600160a01b0316146117225760405163118cdaa760e01b8152336004820152602401610ce4565b5f5160206139995f395f51905f52546040515f5160206139795f395f51905f52916001600160a01b0316907fd947ef8b4f7aabc4b6a79ec773516b48d12ac25da7af787b659083c6af28cb42905f90a26001810180546001600160a01b03191690555f600290910155565b6004545f90600160a01b900462ffffff1681036117bd57604051637a851da960e11b815260040160405180910390fd5b6117c682611d75565b8311156117e657604051630c668a7160e31b815260040160405180910390fd5b5f6117f084610c79565b60045490915061180c90600160a01b900462ffffff16426136bf565b6001600160a01b0384165f908152600160208190526040822080546001600160681b0319166001600160681b0394909416939093178355919091018054839290611857908490613621565b90915550610ea89050336002546001600160a01b03168584886125db565b61187d612187565b6103e88161ffff16106118e65760405162461bcd60e51b815260206004820152602b60248201527f5461782063616e6e6f742062652031303025202d204d757374206265206c657360448201526a073207468616e20313030360ac1b6064820152608401610ce4565b60045461ffff808316600160b81b90920416036119165760405163a741a04560e01b815260040160405180910390fd5b60405161ffff821681527fc806a10dd41921869155255a462a80195a7bfeb01e4f3431e3a43bdf80e4baa09060200160405180910390a16004805461ffff909216600160b81b0261ffff60b81b19909216919091179055565b5f33610c97818585612209565b611984612187565b6001600160a01b0382165f908152600160205260408120805490916001600160681b0390911690036119c957604051637475d84d60e11b815260040160405180910390fd5b8054604080516001600160a01b03861681526001600160681b03928316602082015291841682820152517f4590c2052b5ebf4a0a703688d2a793d162b6925a337b78387018d7c20ef4ed2e9181900360600190a180546001600160681b0319166001600160681b039290921691909117905550565b611a46612187565b611a4e610ede565b6001600160a01b0316836001600160a01b031603611a7f5760405163c1ab6dc160e01b815260040160405180910390fd5b611a936001600160a01b0384168284612652565b505050565b5f610c84826001612109565b6004545f90600160a01b900462ffffff1615611ad357604051637a851da960e11b815260040160405180910390fd5b6112958484846126b1565b6004545f90600160a01b900462ffffff1615611b0d57604051637a851da960e11b815260040160405180910390fd5b611295848484612707565b5f610c84825f612153565b611b2b612187565b6276a70062ffffff82161115611b5457604051637475d84d60e11b815260040160405180910390fd5b6004805462ffffff838116600160a01b90810262ffffff60a01b198416179384905560408051938290048316808552919094049091166020830152917f180eacdf7dbaeecaa983d93173b4285db2f2c0de0044697e1f932bbbb73dcaa6910160405180910390a15050565b5f610c84611bcc8361129d565b5f612109565b6004545f90600160a01b900462ffffff168103611c0257604051637a851da960e11b815260040160405180910390fd5b611c0b82611bbf565b831115611c2b57604051636fa9eef160e11b815260040160405180910390fd5b5f611c3584610ca1565b600454909150611c5190600160a01b900462ffffff16426136bf565b6001600160a01b0384165f908152600160208190526040822080546001600160681b0319166001600160681b0394909416939093178355919091018054869290611c9c908490613621565b90915550610ea89050336002546001600160a01b03168587856125db565b611cc2612187565b6001600160a01b038116611ce95760405163f6b2911f60e01b815260040160405180910390fd5b6004546001600160a01b03808316911603611d175760405163a741a04560e01b815260040160405180910390fd5b6040516001600160a01b03821681527fdb8167fc515fc9095f0a3a91bcd16cf7f1a9b3cc52ebad83691f81180d5098a59060200160405180910390a1600480546001600160a01b0319166001600160a01b0392909216919091179055565b5f610c848261129d565b611d87612187565b6004805460ff600160c81b808304821615810260ff60c81b1990931692909217928390556040517f79a0d73b50e293c1e17b973f07d567c5a14399afb5e2373c44a82e9f9109d71693611de39390049091161515815260200190565b60405180910390a1565b5f805f5160206139795f395f51905f52610e80565b6001600160a01b039182165f9081527f52c63247e1f47db19d5ce0460030c497f067ca4cebf71ba98eeadabe20bace016020908152604080832093909416825291909152205490565b611e53612266565b335f908152600160208190526040909120908101548154426001600160681b039091161115611ea957815460405163922bceef60e01b81524260048201526001600160681b039091166024820152604401610ce4565b805f03611ec95760405163422f6e3560e11b815260040160405180910390fd5b6005545f03611eeb57604051637cf9af2360e11b815260040160405180910390fd5b81546001600160681b03191682555f60018301556005548190670de0b6b3a7640000111561200557670de0b6b3a764000060055483611f2a919061364d565b611f349190613678565b90505f611f41828461368b565b60025460405163f3fef3a360e01b8152306004820152602481018390529192506001600160a01b03169063f3fef3a3906044015f604051808303815f87803b158015611f8b575f5ffd5b505af1158015611f9d573d5f5f3e3d5ffd5b50505050611fa9610ede565b6001600160a01b03166342966c68826040518263ffffffff1660e01b8152600401611fd691815260200190565b5f604051808303815f87803b158015611fed575f5ffd5b505af1158015611fff573d5f5f3e3d5ffd5b50505050505b604080513381526001600160a01b0386166020820152908101839052606081018290527f18edd09e80386cd99df397e2e0d87d2bb259423eae08645e776321a36fe680ef9060800160405180910390a160025460405163f3fef3a360e01b81526001600160a01b038681166004830152602482018490529091169063f3fef3a3906044015f604051808303815f87803b1580156120a0575f5ffd5b505af11580156120b2573d5f5f3e3d5ffd5b505050505050506111b260015f5160206139d95f395f51905f5255565b6120d7612187565b6001600160a01b03811661210057604051631e4fbdf760e01b81525f6004820152602401610ce4565b6111b28161250a565b5f610ea8612115610b43565b612120906001613621565b61212b5f600a6137c1565b612133610e6f565b61213d9190613621565b85919085612754565b611a9383838360016127a1565b5f610ea861216282600a6137c1565b61216a610e6f565b6121749190613621565b61217c610b43565b61213d906001613621565b33612190611504565b6001600160a01b0316146112d45760405163118cdaa760e01b8152336004820152602401610ce4565b5f6121c48484611e02565b90505f19811461220357818110156121f557828183604051637dc7a0d960e11b8152600401610ce49392919061369e565b61220384848484035f6127a1565b50505050565b6001600160a01b03831661223257604051634b637e8f60e11b81525f6004820152602401610ce4565b6001600160a01b03821661225b5760405163ec442f0560e01b81525f6004820152602401610ce4565b611a93838383612884565b5f5160206139d95f395f51905f5280546001190161229757604051633ee5aeb560e01b815260040160405180910390fd5b60029055565b60015f5160206139d95f395f51905f5255565b306001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016148061233657507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031661232a5f5160206139595f395f51905f52546001600160a01b031690565b6001600160a01b031614155b156112d45760405163703e46dd60e11b815260040160405180910390fd5b61235c612187565b6111b2816129aa565b816001600160a01b03166352d1902d6040518163ffffffff1660e01b8152600401602060405180830381865afa9250505080156123bf575060408051601f3d908101601f191682019092526123bc918101906135be565b60015b6123e757604051634c9c8ce360e01b81526001600160a01b0383166004820152602401610ce4565b5f5160206139595f395f51905f52811461241757604051632a87526960e21b815260048101829052602401610ce4565b611a938383612a34565b306001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016146112d45760405163703e46dd60e11b815260040160405180910390fd5b612472612266565b600454600160c81b900460ff1661249c57604051630e2f42c960e31b815260040160405180910390fd5b81805f036124bd5760405163162908e360e11b815260040160405180910390fd5b81805f036124de5760405163162908e360e11b815260040160405180910390fd5b6124ea86868686612a89565b6124f2612b06565b505061220360015f5160206139d95f395f51905f5255565b7f9016d09d72d40fdae2fd8ceac6b6234c7706214fd39c1cd1e609a0528c19930080546001600160a01b031981166001600160a01b03848116918217845560405192169182907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0905f90a3505050565b612582612b45565b6111d08282612b8e565b612594612b45565b6111b281612bde565b6125a5612b45565b6111b281612c4e565b6125b6612b45565b6112d4612c56565b6125c6612b45565b620151805f5160206139795f395f51905f5255565b6125e3612266565b81805f036126045760405163162908e360e11b815260040160405180910390fd5b81805f036126255760405163162908e360e11b815260040160405180910390fd5b6126328787878787612c5e565b61263a612b06565b50506115c560015f5160206139d95f395f51905f5255565b6040516001600160a01b03838116602483015260448201839052611a9391859182169063a9059cbb906064015b604051602081830303815290604052915060e01b6020820180516001600160e01b038381831617835250505050612d12565b5f5f6126bc83611bbf565b9050808511156126e557828582604051633fa733bb60e21b8152600401610ce49392919061369e565b5f6126ef86610ca1565b90506126fe33868689856125db565b95945050505050565b5f5f61271283611d75565b90508085111561273b57828582604051632e52afbb60e21b8152600401610ce49392919061369e565b5f61274586610c79565b90506126fe338686848a6125db565b5f5f612761868686612d73565b905061276c83612e32565b801561278757505f848061278257612782613664565b868809115b156126fe57612797600182613621565b9695505050505050565b5f5160206139395f395f51905f526001600160a01b0385166127d85760405163e602df0560e01b81525f6004820152602401610ce4565b6001600160a01b03841661280157604051634a1406b160e11b81525f6004820152602401610ce4565b6001600160a01b038086165f908152600183016020908152604080832093881683529290522083905581156115c557836001600160a01b0316856001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9258560405161287591815260200190565b60405180910390a35050505050565b5f5160206139395f395f51905f526001600160a01b0384166128be5781816002015f8282546128b39190613621565b9091555061291b9050565b6001600160a01b0384165f90815260208290526040902054828110156128fd5784818460405163391434e360e21b8152600401610ce49392919061369e565b6001600160a01b0385165f9081526020839052604090209083900390555b6001600160a01b038316612939576002810180548390039055612957565b6001600160a01b0383165f9081526020829052604090208054830190555b826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8460405161299c91815260200190565b60405180910390a350505050565b5f5160206139995f395f51905f52545f5160206139795f395f51905f52906001600160a01b038381169116146129f3576040516316545d4f60e11b815260040160405180910390fd5b8060020154421015612a18576040516364037fb760e11b815260040160405180910390fd5b6001810180546001600160a01b03191690555f60029091015550565b612a3d82612e5e565b6040516001600160a01b038316907fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b905f90a2805115612a8157611a938282612ec1565b6111d0612f2a565b5f5160206139b95f395f51905f528054612aae906001600160a01b0316863086612f49565b612ab88483612f82565b836001600160a01b0316856001600160a01b03167fdcbc1c05240f31ff3ad067ef1ee35ce4997762752e3a095284754544f4c709d78585604051612875929190918252602082015260400190565b5f612b0f610e6f565b90505f81118015612b275750670de0b6b3a764000081105b156111b257604051635a5c1b5560e11b815260040160405180910390fd5b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a0054600160401b900460ff166112d457604051631afcd79f60e31b815260040160405180910390fd5b612b96612b45565b5f5160206139395f395f51905f527f52c63247e1f47db19d5ce0460030c497f067ca4cebf71ba98eeadabe20bace03612bcf8482613813565b50600481016122038382613813565b612be6612b45565b5f5160206139b95f395f51905f525f80612bff84612fb6565b9150915081612c0f576012612c11565b805b83546001600160a81b031916600160a01b60ff92909216919091026001600160a01b031916176001600160a01b0394909416939093179091555050565b6120d7612b45565b61229d612b45565b5f5160206139b95f395f51905f526001600160a01b0386811690851614612c8a57612c8a8487846121b9565b612c94848361308c565b8054612caa906001600160a01b03168685612652565b836001600160a01b0316856001600160a01b0316876001600160a01b03167ffbde797d201c681b91056529119e0b02407c7bb96a4a2c75c01fc9667232c8db8686604051612d02929190918252602082015260400190565b60405180910390a4505050505050565b5f612d266001600160a01b038416836130c0565b905080515f14158015612d4a575080806020019051810190612d4891906138ce565b155b15611a9357604051635274afe760e01b81526001600160a01b0384166004820152602401610ce4565b5f838302815f1985870982811083820303915050805f03612da757838281612d9d57612d9d613664565b0492505050610ea8565b808411612dc75760405163227bc15360e01b815260040160405180910390fd5b5f848688095f868103871696879004966002600389028118808a02820302808a02820302808a02820302808a02820302808a02820302808a02909103029181900381900460010186841190950394909402919094039290920491909117919091029150509392505050565b5f6002826003811115612e4757612e476138ed565b612e519190613901565b60ff166001149050919050565b806001600160a01b03163b5f03612e9357604051634c9c8ce360e01b81526001600160a01b0382166004820152602401610ce4565b5f5160206139595f395f51905f5280546001600160a01b0319166001600160a01b0392909216919091179055565b60605f5f846001600160a01b031684604051612edd9190613922565b5f60405180830381855af49150503d805f8114612f15576040519150601f19603f3d011682016040523d82523d5f602084013e612f1a565b606091505b50915091506126fe8583836130cd565b34156112d45760405163b398979f60e01b815260040160405180910390fd5b6040516001600160a01b0384811660248301528381166044830152606482018390526122039186918216906323b872dd9060840161267f565b6001600160a01b038216612fab5760405163ec442f0560e01b81525f6004820152602401610ce4565b6111d05f8383612884565b60408051600481526024810182526020810180516001600160e01b031663313ce56760e01b17905290515f918291829182916001600160a01b03871691612ffc91613922565b5f60405180830381855afa9150503d805f8114613034576040519150601f19603f3d011682016040523d82523d5f602084013e613039565b606091505b509150915081801561304d57506020815110155b15613080575f8180602001905181019061306791906135be565b905060ff811161307e576001969095509350505050565b505b505f9485945092505050565b6001600160a01b0382166130b557604051634b637e8f60e11b81525f6004820152602401610ce4565b6111d0825f83612884565b6060610ea883835f613129565b6060826130e2576130dd826131b8565b610ea8565b81511580156130f957506001600160a01b0384163b155b1561312257604051639996b31560e01b81526001600160a01b0385166004820152602401610ce4565b5080610ea8565b60608147101561314e5760405163cd78605960e01b8152306004820152602401610ce4565b5f5f856001600160a01b031684866040516131699190613922565b5f6040518083038185875af1925050503d805f81146131a3576040519150601f19603f3d011682016040523d82523d5f602084013e6131a8565b606091505b50915091506127978683836130cd565b8051156131c85780518082602001fd5b604051630a12f52160e11b815260040160405180910390fd5b80356001600160a01b03811681146131f7575f5ffd5b919050565b5f6020828403121561320c575f5ffd5b610ea8826131e1565b602081525f82518060208401528060208501604085015e5f604082850101526040601f19601f83011684010191505092915050565b5f6020828403121561325a575f5ffd5b5035919050565b5f5f60408385031215613272575f5ffd5b61327b836131e1565b946020939093013593505050565b5f5f5f6060848603121561329b575f5ffd5b6132a4846131e1565b92506132b2602085016131e1565b929592945050506040919091013590565b634e487b7160e01b5f52604160045260245ffd5b5f5f604083850312156132e8575f5ffd5b6132f1836131e1565b9150602083013567ffffffffffffffff81111561330c575f5ffd5b8301601f8101851361331c575f5ffd5b803567ffffffffffffffff811115613336576133366132c3565b604051601f8201601f19908116603f0116810167ffffffffffffffff81118282101715613365576133656132c3565b60405281815282820160200187101561337c575f5ffd5b816020840160208301375f602083830101528093505050509250929050565b5f5f604083850312156133ac575f5ffd5b823591506133bc602084016131e1565b90509250929050565b5f5f83601f8401126133d5575f5ffd5b50813567ffffffffffffffff8111156133ec575f5ffd5b602083019150836020828501011115613403575f5ffd5b9250929050565b5f5f5f5f5f5f5f60a0888a031215613420575f5ffd5b613429886131e1565b9650613437602089016131e1565b9550613445604089016131e1565b9450606088013567ffffffffffffffff811115613460575f5ffd5b61346c8a828b016133c5565b909550935050608088013567ffffffffffffffff81111561348b575f5ffd5b6134978a828b016133c5565b989b979a50959850939692959293505050565b5f602082840312156134ba575f5ffd5b813561ffff81168114610ea8575f5ffd5b5f5f604083850312156134dc575f5ffd5b6134e5836131e1565b915060208301356001600160681b0381168114613500575f5ffd5b809150509250929050565b5f5f5f6060848603121561351d575f5ffd5b613526846131e1565b92506020840135915061353b604085016131e1565b90509250925092565b5f5f5f60608486031215613556575f5ffd5b83359250613566602085016131e1565b915061353b604085016131e1565b5f60208284031215613584575f5ffd5b813562ffffff81168114610ea8575f5ffd5b5f5f604083850312156135a7575f5ffd5b6135b0836131e1565b91506133bc602084016131e1565b5f602082840312156135ce575f5ffd5b5051919050565b600181811c908216806135e957607f821691505b60208210810361360757634e487b7160e01b5f52602260045260245ffd5b50919050565b634e487b7160e01b5f52601160045260245ffd5b80820180821115610c8457610c8461360d565b60ff8181168382160190811115610c8457610c8461360d565b8082028115828204841417610c8457610c8461360d565b634e487b7160e01b5f52601260045260245ffd5b5f8261368657613686613664565b500490565b81810381811115610c8457610c8461360d565b6001600160a01b039390931683526020830191909152604082015260600190565b6001600160681b038181168382160190811115610c8457610c8461360d565b6001815b6001841115613719578085048111156136fd576136fd61360d565b600184161561370b57908102905b60019390931c9280026136e2565b935093915050565b5f8261372f57506001610c84565b8161373b57505f610c84565b8160018114613751576002811461375b57613777565b6001915050610c84565b60ff84111561376c5761376c61360d565b50506001821b610c84565b5060208310610133831016604e8410600b841016171561379a575081810a610c84565b6137a65f1984846136de565b805f19048211156137b9576137b961360d565b029392505050565b5f610ea860ff841683613721565b601f821115611a9357805f5260205f20601f840160051c810160208510156137f45750805b601f840160051c820191505b818110156115c5575f8155600101613800565b815167ffffffffffffffff81111561382d5761382d6132c3565b6138418161383b84546135d5565b846137cf565b6020601f821160018114613873575f831561385c5750848201515b5f19600385901b1c1916600184901b1784556115c5565b5f84815260208120601f198516915b828110156138a25787850151825560209485019460019092019101613882565b50848210156138bf57868401515f19600387901b60f8161c191681555b50505050600190811b01905550565b5f602082840312156138de575f5ffd5b81518015158114610ea8575f5ffd5b634e487b7160e01b5f52602160045260245ffd5b5f60ff83168061391357613913613664565b8060ff84160691505092915050565b5f82518060208501845e5f92019182525091905056fe52c63247e1f47db19d5ce0460030c497f067ca4cebf71ba98eeadabe20bace00360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbca9f7ef5782100b08bddb9be7a16303ba138e26e6df1a3e56c7be0bac217aa800a9f7ef5782100b08bddb9be7a16303ba138e26e6df1a3e56c7be0bac217aa8010773e532dfede91f04b12a73d3d2acd361424f41f76b4fb79f090161e36b4e009b779b17422d0df92223018b32b4d1fa46e071723d6817e2486d003becc55f00a164736f6c634300081e000a","sourceMap":"2228:15472:22:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3048:49;;;;;;;;;;-1:-1:-1;3048:49:22;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;3048:49:22;;;;;;;;;;-1:-1:-1;;;;;575:41:24;;;557:60;;648:2;633:18;;626:34;;;;530:18;3048:49:22;;;;;;;;16115:126;;;;;;;;;;;;;:::i;:::-;;;817:25:24;;;805:2;790:18;16115:126:22;671:177:24;3011:144:2;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;7381:148:3:-;;;;;;;;;;-1:-1:-1;7381:148:3;;;;;:::i;:::-;;:::i;5505:186:2:-;;;;;;;;;;-1:-1:-1;5505:186:2;;;;;:::i;:::-;;:::i;:::-;;;1977:14:24;;1970:22;1952:41;;1940:2;1925:18;5505:186:2;1812:187:24;8647:147:3;;;;;;;;;;-1:-1:-1;8647:147:3;;;;;:::i;:::-;;:::i;2960:464:19:-;;;;;;;;;;-1:-1:-1;2960:464:19;;;;;:::i;:::-;;:::i;:::-;;8918:248:22;;;;;;;;;;-1:-1:-1;8918:248:22;;;;;:::i;:::-;;:::i;4191:152:2:-;;;;;;;;;;;;;:::i;2657:54:22:-;;;;;;;;;;;;2704:7;2657:54;;;;;2178:8:24;2166:21;;;2148:40;;2136:2;2121:18;2657:54:22;2004:190:24;2565:44:22;;;;;;;;;;;;2602:7;2565:44;;2882:40;;;;;;;;;;;;;;;;6251:244:2;;;;;;;;;;-1:-1:-1;6251:244:2;;;;;:::i;:::-;;:::i;6482:221:3:-;;;;;;;;;;;;;:::i;:::-;;;2750:4:24;2738:17;;;2720:36;;2708:2;2693:18;6482:221:3;2578:184:24;3558:30:22;;;;;;;;;;-1:-1:-1;3558:30:22;;;;-1:-1:-1;;;3558:30:22;;;;;;6747:153:3;;;;;;;;;;;;;:::i;:::-;;;-1:-1:-1;;;;;2931:32:24;;;2913:51;;2901:2;2886:18;6747:153:3;2767:203:24;4717:185:19;;;;;;;;;;-1:-1:-1;;;;;;;;;;;;4872:23:19;-1:-1:-1;;;;;4872:23:19;4717:185;;8356:259:22;;;;;;;;;;-1:-1:-1;8356:259:22;;;;;:::i;:::-;;:::i;7578:108:3:-;;;;;;;;;;-1:-1:-1;7578:108:3;;;;;:::i;:::-;-1:-1:-1;;;7662:17:3;7578:108;688:54:19;;;;;;;;;;;;736:6;688:54;;6464:440:22;;;;;;;;;;-1:-1:-1;6464:440:22;;;;;:::i;:::-;;:::i;3892:214:11:-;;;;;;:::i;:::-;;:::i;3439:134::-;;;;;;;;;;;;;:::i;3745:27:22:-;;;;;;;;;;-1:-1:-1;3745:27:22;;;;-1:-1:-1;;;3745:27:22;;;;;;7875:251;;;;;;;;;;-1:-1:-1;7875:251:22;;;;;:::i;:::-;;:::i;9038:392:3:-;;;;;;;;;;-1:-1:-1;9038:392:3;;;;;:::i;:::-;;:::i;4401:171:2:-;;;;;;;;;;-1:-1:-1;4401:171:2;;;;;:::i;:::-;;:::i;3155:101:0:-;;;;;;;;;;;;;:::i;3670:21:22:-;;;;;;;;;;-1:-1:-1;3670:21:22;;;;-1:-1:-1;;;3670:21:22;;;;;;;;;4791:6:24;4779:19;;;4761:38;;4749:2;4734:18;3670:21:22;4617:188:24;4544:167:19;;;;;;;;;;-1:-1:-1;;;;;;;;;;;;4690:14:19;4544:167;;5433:666:22;;;;;;;;;;-1:-1:-1;5433:666:22;;;;;:::i;:::-;;:::i;2441:144:0:-;;;;;;;;;;;;;:::i;11133:135:22:-;;;;;;;;;;-1:-1:-1;11133:135:22;;;;;:::i;:::-;;:::i;9697:380:3:-;;;;;;;;;;-1:-1:-1;9697:380:3;;;;;:::i;:::-;;:::i;3268:148:2:-;;;;;;;;;;;;;:::i;2346:386:19:-;;;;;;;;;;-1:-1:-1;2346:386:19;;;;;:::i;:::-;;:::i;3571:274::-;;;;;;;;;;;;;:::i;3422:22:22:-;;;;;;;;;;-1:-1:-1;3422:22:22;;;;-1:-1:-1;;;;;3422:22:22;;;13592:460;;;;;;;;;;-1:-1:-1;13592:460:22;;;;;:::i;:::-;;:::i;9922:275::-;;;;;;;;;;-1:-1:-1;9922:275:22;;;;;:::i;:::-;;:::i;4767:178:2:-;;;;;;;;;;-1:-1:-1;4767:178:2;;;;;:::i;:::-;;:::i;1708:58:11:-;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;1708:58:11;;;;;15046:373:22;;;;;;;;;;-1:-1:-1;15046:373:22;;;;;:::i;:::-;;:::i;10709:201::-;;;;;;;;;;-1:-1:-1;10709:201:22;;;;;:::i;:::-;;:::i;8450:143:3:-;;;;;;;;;;-1:-1:-1;8450:143:3;;;;;:::i;:::-;;:::i;15524:218:22:-;;;;;;;;;;-1:-1:-1;15524:218:22;;;;;:::i;:::-;;:::i;15799:214::-;;;;;;;;;;-1:-1:-1;15799:214:22;;;;;:::i;:::-;;:::i;7179:148:3:-;;;;;;;;;;-1:-1:-1;7179:148:3;;;;;:::i;:::-;;:::i;14488:308:22:-;;;;;;;;;;-1:-1:-1;14488:308:22;;;;;:::i;:::-;;:::i;7887:153:3:-;;;;;;;;;;-1:-1:-1;7887:153:3;;;;;:::i;:::-;;:::i;12856:466:22:-;;;;;;;;;;-1:-1:-1;12856:466:22;;;;;:::i;:::-;;:::i;9417:235::-;;;;;;;;;;-1:-1:-1;9417:235:22;;;;;:::i;:::-;;:::i;8088:112:3:-;;;;;;;;;;-1:-1:-1;8088:112:3;;;;;:::i;:::-;;:::i;7171:143:22:-;;;;;;;;;;;;;:::i;4908:171:19:-;;;;;;;;;;;;;:::i;3312:23:22:-;;;;;;;;;;-1:-1:-1;3312:23:22;;;;-1:-1:-1;;;;;3312:23:22;;;5003:195:2;;;;;;;;;;-1:-1:-1;5003:195:2;;;;;:::i;:::-;;:::i;3183:21:22:-;;;;;;;;;;-1:-1:-1;3183:21:22;;;;-1:-1:-1;;;;;3183:21:22;;;11613:985;;;;;;;;;;-1:-1:-1;11613:985:22;;;;;:::i;:::-;;:::i;3405:215:0:-;;;;;;;;;;-1:-1:-1;3405:215:0;;;;;:::i;:::-;;:::i;3962:28:22:-;;;;;;;;;;;;;;;;16115:126;16168:7;16201;:5;:7::i;:::-;16194:40;;-1:-1:-1;;;16194:40:22;;16228:4;16194:40;;;2913:51:24;-1:-1:-1;;;;;16194:25:22;;;;;;;2886:18:24;;16194:40:22;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;16187:47;;16115:126;:::o;3011:144:2:-;3141:7;3134:14;;3056:13;;-1:-1:-1;;;;;;;;;;;2359:20:2;3134:14;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3011:144;:::o;7381:148:3:-;7451:7;7477:45;7494:6;7502:19;7477:16;:45::i;:::-;7470:52;7381:148;-1:-1:-1;;7381:148:3:o;5505:186:2:-;5578:4;966:10:4;5632:31:2;966:10:4;5648:7:2;5657:5;5632:8;:31::i;:::-;-1:-1:-1;5680:4:2;;5505:186;-1:-1:-1;;;5505:186:2:o;8647:147:3:-;8717:7;8743:44;8760:6;8768:18;8743:16;:44::i;2960:464:19:-;5007:7:22;:5;:7::i;:::-;-1:-1:-1;;;;;4993:21:22;:10;-1:-1:-1;;;;;4993:21:22;;4989:72;;5023:38;;-1:-1:-1;;;5023:38:22;;5050:10;5023:38;;;2913:51:24;2886:18;;5023:38:22;;;;;;;;4989:72;-1:-1:-1;;;;;3043:21:19;::::1;3039:47;;3073:13;;-1:-1:-1::0;;;3073:13:19::1;;;;;;;;;;;3039:47;-1:-1:-1::0;;;;;;;;;;;3172:33:19;;-1:-1:-1;;;;;;3172:33:19::1;-1:-1:-1::0;;;;;3172:33:19;::::1;;::::0;;-1:-1:-1;;;;;;;;;;;3239:14:19;;-1:-1:-1;;3239:19:19;:60:::1;;3285:14:::0;;3239:60:::1;;;736:6;3239:60;3215:84:::0;-1:-1:-1;3328:31:19::1;3215:84:::0;3328:15:::1;:31;:::i;:::-;3309:16;::::0;::::1;:50:::0;;;3374:43:::1;::::0;817:25:24;;;-1:-1:-1;;;;;3374:43:19;::::1;::::0;::::1;::::0;805:2:24;790:18;3374:43:19::1;;;;;;;3029:395;;2960:464:::0;:::o;8918:248:22:-;2334:13:0;:11;:13::i;:::-;-1:-1:-1;;;;;8983:19:22;::::1;8979:52;;9011:20;;-1:-1:-1::0;;;9011:20:22::1;;;;;;;;;;;8979:52;9053:4;::::0;-1:-1:-1;;;;;9045:22:22;;::::1;9053:4:::0;::::1;9045:22:::0;9041:47:::1;;9076:12;;-1:-1:-1::0;;;9076:12:22::1;;;;;;;;;;;9041:47;9103:23;::::0;-1:-1:-1;;;;;2931:32:24;;2913:51;;9103:23:22::1;::::0;2901:2:24;2886:18;9103:23:22::1;;;;;;;9136:4;:23:::0;;-1:-1:-1;;;;;;9136:23:22::1;-1:-1:-1::0;;;;;9136:23:22;;;::::1;::::0;;;::::1;::::0;;8918:248::o;4191:152:2:-;4243:7;;-1:-1:-1;;;;;;;;;;;4287:18:2;4322:14;;;;4191:152;-1:-1:-1;;4191:152:2:o;6251:244::-;6338:4;966:10:4;6394:37:2;6410:4;966:10:4;6425:5:2;6394:15;:37::i;:::-;6441:26;6451:4;6457:2;6461:5;6441:9;:26::i;:::-;6484:4;6477:11;;;6251:244;;;;;;:::o;6482:221:3:-;6574:5;;-1:-1:-1;;;;;;;;;;;6591:47:3;-1:-1:-1;13718:5:3;6655:21;;:41;;;-1:-1:-1;;;6655:21:3;;;;:41;:::i;:::-;6648:48;;;6482:221;:::o;6747:153::-;6793:7;;-1:-1:-1;;;;;;;;;;;6839:20:3;6884:8;-1:-1:-1;;;;;6884:8:3;;6747:153;-1:-1:-1;;6747:153:3:o;8356:259:22:-;2334:13:0;:11;:13::i;:::-;-1:-1:-1;;;;;8429:23:22;::::1;8425:56;;8461:20;;-1:-1:-1::0;;;8461:20:22::1;;;;;;;;;;;8425:56;8495:8;::::0;-1:-1:-1;;;;;8495:21:22;;::::1;:8:::0;::::1;:21:::0;8491:46:::1;;8525:12;;-1:-1:-1::0;;;8525:12:22::1;;;;;;;;;;;8491:46;8552:26;::::0;-1:-1:-1;;;;;2931:32:24;;2913:51;;8552:26:22::1;::::0;2901:2:24;2886:18;8552:26:22::1;;;;;;;8588:8;:20:::0;;-1:-1:-1;;;;;;8588:20:22::1;-1:-1:-1::0;;;;;8588:20:22;;;::::1;::::0;;;::::1;::::0;;8356:259::o;6464:440::-;3251:21:5;:19;:21::i;:::-;4622:8:22::1;::::0;-1:-1:-1;;;;;4622:8:22::1;4608:10;:22;::::0;::::1;::::0;:47:::1;;;4648:7;:5;:7::i;:::-;-1:-1:-1::0;;;;;4634:21:22::1;:10;-1:-1:-1::0;;;;;4634:21:22::1;;;4608:47;4604:85;;;4664:25;::::0;-1:-1:-1;;;4664:25:22;;4678:10:::1;4664:25;::::0;::::1;2913:51:24::0;2886:18;;4664:25:22::1;2767:203:24::0;4604:85:22::1;6544:6:::2;4137;4147:1;4137:11:::0;4133:39:::2;;4157:15;;-1:-1:-1::0;;;4157:15:22::2;;;;;;;;;;;4133:39;6590:15:::3;6562:25;:43:::0;6619:7:::3;::::0;-1:-1:-1;;;6619:7:22;::::3;;;:12:::0;;::::3;::::0;:37:::3;;-1:-1:-1::0;6635:7:22::3;::::0;-1:-1:-1;;;;;6635:7:22::3;:21:::0;::::3;6619:37;6615:190;;;6695:7;::::0;6672:11:::3;::::0;6705:4:::3;::::0;6686:16:::3;::::0;-1:-1:-1;;;6695:7:22;::::3;;;6686:6:::0;:16:::3;:::i;:::-;:23;;;;:::i;:::-;6672:37;;6732:7;:5;:7::i;:::-;6746;::::0;;6723:36:::3;::::0;-1:-1:-1;;;6723:36:22;;-1:-1:-1;;;;;6746:7:22;;::::3;6723:36:::0;;::::3;9880:51:24::0;;;;9947:18;;;9940:34;;;6723:22:22;;;::::3;::::0;::::3;::::0;9853:18:24;;6723:36:22::3;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6791:3;6782:6;:12;;;;:::i;:::-;6773:21;;6658:147;6615:190;6823:7;:5;:7::i;:::-;6814:45;::::0;-1:-1:-1;;;6814:45:22;;6845:4:::3;6814:45;::::0;::::3;9880:51:24::0;9947:18;;;9940:34;;;-1:-1:-1;;;;;6814:22:22;;;::::3;::::0;::::3;::::0;9853:18:24;;6814:45:22::3;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1::0;;6874:23:22::3;::::0;6890:6;;-1:-1:-1;6874:23:22::3;::::0;-1:-1:-1;6874:23:22;;::::3;4699:1:::2;3293:20:5::0;1805:1;-1:-1:-1;;;;;;;;;;;3969:23:5;3716:283;3293:20;6464:440:22;:::o;3892:214:11:-;2542:13;:11;:13::i;:::-;4007:36:::1;4025:17;4007;:36::i;:::-;4053:46;4075:17;4094:4;4053:21;:46::i;:::-;3892:214:::0;;:::o;3439:134::-;3508:7;2813:20;:18;:20::i;:::-;-1:-1:-1;;;;;;;;;;;;3439:134:11;:::o;7875:251:22:-;2334:13:0;:11;:13::i;:::-;7960::22::1;;7950:6;:23:::0;7946:48:::1;;7982:12;;-1:-1:-1::0;;;7982:12:22::1;;;;;;;;;;;7946:48;8017:4;8008:6;:13;8004:40;;;8030:14;;-1:-1:-1::0;;;8030:14:22::1;;;;;;;;;;;8004:40;8059:28;::::0;817:25:24;;;8059:28:22::1;::::0;805:2:24;790:18;8059:28:22::1;;;;;;;8097:13;:22:::0;7875:251::o;9038:392:3:-;9113:7;-1:-1:-1;;9302:14:3;9319:22;9334:6;9319:14;:22::i;:::-;9302:39;-1:-1:-1;9351:48:3;966:10:4;9374:8:3;9384:6;9392;9351:8;:48::i;:::-;9417:6;9038:392;-1:-1:-1;;;;9038:392:3:o;4401:171:2:-;-1:-1:-1;;;;;4545:20:2;4466:7;4545:20;;;-1:-1:-1;;;;;;;;;;;4545:20:2;;;;;;;4401:171::o;3155:101:0:-;2334:13;:11;:13::i;:::-;3219:30:::1;3246:1;3219:18;:30::i;:::-;3155:101::o:0;5433:666:22:-;8870:21:1;4302:15;;-1:-1:-1;;;4302:15:1;;;;4301:16;;4348:14;;4158:30;4726:16;;:34;;;;;4746:14;4726:34;4706:54;;4770:17;4790:11;:16;;4805:1;4790:16;:50;;;;-1:-1:-1;4818:4:1;4810:25;:30;4790:50;4770:70;;4856:12;4855:13;:30;;;;;4873:12;4872:13;4855:30;4851:91;;;4908:23;;-1:-1:-1;;;4908:23:1;;;;;;;;;;;4851:91;4951:18;;-1:-1:-1;;4951:18:1;4968:1;4951:18;;;4979:67;;;;5013:22;;-1:-1:-1;;;;5013:22:1;-1:-1:-1;;;5013:22:1;;;4979:67;-1:-1:-1;;;;;5638:20:22;::::1;::::0;;:54:::1;;-1:-1:-1::0;;;;;;5662:30:22;::::1;::::0;5638:54:::1;:87;;;-1:-1:-1::0;;;;;;5696:29:22;::::1;::::0;5638:87:::1;5634:145;;;5748:20;;-1:-1:-1::0;;;5748:20:22::1;;;;;;;;;;;5634:145;5789:28;5802:5;;5789:28;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;::::0;;;;-1:-1:-1;;5789:28:22::1;::::0;;::::1;;::::0;::::1;::::0;;::::1;::::0;::::1;::::0;;;;;;;;;;;-1:-1:-1;5809:7:22;;-1:-1:-1;5809:7:22;;;;5789:28;::::1;5809:7:::0;;;;5789:28;::::1;;::::0;::::1;::::0;;;;-1:-1:-1;5789:12:22::1;::::0;-1:-1:-1;;;5789:28:22:i:1;:::-;5827:30;5849:6;5827:14;:30::i;:::-;5867:22;5882:6;5867:14;:22::i;:::-;5899:24;:22;:24::i;:::-;5933;:22;:24::i;:::-;5984:4;5968:13;:20:::0;5998:15:::1;:22:::0;;-1:-1:-1;;;;6030:25:22;-1:-1:-1;;;6030:25:22;;;6065:8:::1;:27:::0;;-1:-1:-1;;;;;;6065:27:22::1;-1:-1:-1::0;;;;;6065:27:22;::::1;;::::0;;5066:101:1;;;;5100:23;;-1:-1:-1;;;;5100:23:1;;;5142:14;;-1:-1:-1;10621:50:24;;5142:14:1;;10609:2:24;10594:18;5142:14:1;;;;;;;5066:101;4092:1081;;;;;5433:666:22;;;;;;;:::o;2441:144:0:-;2487:7;;1313:22;2533:20;1192:159;11133:135:22;2334:13:0;:11;:13::i;:::-;11202:19:22::1;::::0;817:25:24;;;11202:19:22::1;::::0;805:2:24;790:18;11202:19:22::1;;;;;;;11240:7;:5;:7::i;:::-;-1:-1:-1::0;;;;;11231:22:22::1;;11254:6;11231:30;;;;;;;;;;;;;817:25:24::0;;805:2;790:18;;671:177;11231:30:22::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;11133:135:::0;:::o;9697:380:3:-;9769:7;-1:-1:-1;;9952:14:3;9969:19;9981:6;9969:11;:19::i;:::-;9952:36;-1:-1:-1;9998:48:3;966:10:4;10021:8:3;10031:6;10039;9998:8;:48::i;3268:148:2:-;3400:9;3393:16;;3315:13;;-1:-1:-1;;;;;;;;;;;2359:20:2;3393:16;;;:::i;2346:386:19:-;5007:7:22;:5;:7::i;:::-;-1:-1:-1;;;;;4993:21:22;:10;-1:-1:-1;;;;;4993:21:22;;4989:72;;5023:38;;-1:-1:-1;;;5023:38:22;;5050:10;5023:38;;;2913:51:24;2886:18;;5023:38:22;2767:203:24;4989:72:22;2478:4:19::1;2467:8;:15;2463:44;;;2491:16;;-1:-1:-1::0;;;2491:16:19::1;;;;;;;;;;;2463:44;2518:21;2542:14;-1:-1:-1::0;;;;;;;;;;;4690:14:19;;4544:167;2542:14:::1;2571:44;::::0;;10856:25:24;;;10912:2;10897:18;;10890:34;;;2518:38:19;;-1:-1:-1;2571:44:19::1;::::0;10829:18:24;2571:44:19::1;;;;;;;-1:-1:-1::0;;;;;;;;;;;;2700:25:19;2346:386::o;3571:274::-;5007:7:22;:5;:7::i;:::-;-1:-1:-1;;;;;4993:21:22;:10;-1:-1:-1;;;;;4993:21:22;;4989:72;;5023:38;;-1:-1:-1;;;5023:38:22;;5050:10;5023:38;;;2913:51:24;2886:18;;5023:38:22;2767:203:24;4989:72:22;-1:-1:-1;;;;;;;;;;;3738:23:19;3722:40:::1;::::0;-1:-1:-1;;;;;;;;;;;1413:24:19;-1:-1:-1;;;;;3738:23:19::1;::::0;3722:40:::1;::::0;3642:33:::1;::::0;3722:40:::1;3772:23;::::0;::::1;:36:::0;;-1:-1:-1;;;;;;3772:36:19::1;::::0;;3806:1:::1;3818:16;::::0;;::::1;:20:::0;3571:274::o;13592:460:22:-;4452:16;;13682:7;;-1:-1:-1;;;4452:16:22;;;;:21;;4448:55;;4482:21;;-1:-1:-1;;;4482:21:22;;;;;;;;;;;4448:55;13714:16:::1;13724:5;13714:9;:16::i;:::-;13705:6;:25;13701:61;;;13739:23;;-1:-1:-1::0;;;13739:23:22::1;;;;;;;;;;;13701:61;13773:14;13790:21;13804:6;13790:13;:21::i;:::-;13880:16;::::0;13773:38;;-1:-1:-1;13853:43:22::1;::::0;-1:-1:-1;;;13880:16:22;::::1;;;13861:15;13853:43;:::i;:::-;-1:-1:-1::0;;;;;13822:16:22;::::1;;::::0;;;:9:::1;:16;::::0;;;;;;:74;;-1:-1:-1;;;;;;13822:74:22::1;-1:-1:-1::0;;;;;13822:74:22;;;::::1;::::0;;;::::1;::::0;;13906:33;;;::::1;:43:::0;;13943:6;;13822:16;13906:43:::1;::::0;13943:6;;13906:43:::1;:::i;:::-;::::0;;;-1:-1:-1;13960:61:22::1;::::0;-1:-1:-1;966:10:4;13992:4:22::1;::::0;-1:-1:-1;;;;;13992:4:22::1;13999:5:::0;14006:6;14014;13960:9:::1;:61::i;9922:275::-:0;2334:13:0;:11;:13::i;:::-;10011:4:22::1;9998:10;:17;;;9990:73;;;::::0;-1:-1:-1;;;9990:73:22;;11364:2:24;9990:73:22::1;::::0;::::1;11346:21:24::0;11403:2;11383:18;;;11376:30;11442:34;11422:18;;;11415:62;-1:-1:-1;;;11493:18:24;;;11486:41;11544:19;;9990:73:22::1;11162:407:24::0;9990:73:22::1;10077:7;::::0;:21:::1;::::0;;::::1;-1:-1:-1::0;;;10077:7:22;;::::1;;:21:::0;10073:46:::1;;10107:12;;-1:-1:-1::0;;;10107:12:22::1;;;;;;;;;;;10073:46;10134:26;::::0;4791:6:24;4779:19;;4761:38;;10134:26:22::1;::::0;4749:2:24;4734:18;10134:26:22::1;;;;;;;10170:7;:20:::0;;::::1;::::0;;::::1;-1:-1:-1::0;;;10170:20:22::1;-1:-1:-1::0;;;;10170:20:22;;::::1;::::0;;;::::1;::::0;;9922:275::o;4767:178:2:-;4836:4;966:10:4;4890:27:2;966:10:4;4907:2:2;4911:5;4890:9;:27::i;15046:373:22:-;2334:13:0;:11;:13::i;:::-;-1:-1:-1;;;;;15184:18:22;::::1;15148:33;15184:18:::0;;;:9:::1;:18;::::0;;;;15216:24;;15184:18;;-1:-1:-1;;;;;15216:24:22;;::::1;:29:::0;;15212:59:::1;;15254:17;;-1:-1:-1::0;;;15254:17:22::1;;;;;;;;;;;15212:59;15319:24:::0;;15287:73:::1;::::0;;-1:-1:-1;;;;;11794:32:24;;11776:51;;-1:-1:-1;;;;;15319:24:22;;::::1;11858:2:24::0;11843:18;;11836:69;11941:41;;;11921:18;;;11914:69;15287:73:22;::::1;::::0;;;;11764:2:24;15287:73:22;;::::1;15371:41:::0;;-1:-1:-1;;;;;;15371:41:22::1;-1:-1:-1::0;;;;;15371:41:22;;;::::1;::::0;;;::::1;::::0;;-1:-1:-1;15046:373:22:o;10709:201::-;2334:13:0;:11;:13::i;:::-;10825:7:22::1;:5;:7::i;:::-;-1:-1:-1::0;;;;;10807:25:22::1;10815:5;-1:-1:-1::0;;;;;10807:25:22::1;::::0;10803:52:::1;;10841:14;;-1:-1:-1::0;;;10841:14:22::1;;;;;;;;;;;10803:52;10865:38;-1:-1:-1::0;;;;;10865:26:22;::::1;10892:2:::0;10896:6;10865:26:::1;:38::i;:::-;10709:201:::0;;;:::o;8450:143:3:-;8516:7;8542:44;8559:6;8567:18;8542:16;:44::i;15524:218:22:-;4287:16;;15666:7;;-1:-1:-1;;;4287:16:22;;;;:21;4283:55;;4317:21;;-1:-1:-1;;;4317:21:22;;;;;;;;;;;4283:55;15696:39:::1;15711:6;15719:8;15729:5;15696:14;:39::i;15799:214::-:0;4287:16;;15939:7;;-1:-1:-1;;;4287:16:22;;;;:21;4283:55;;4317:21;;-1:-1:-1;;;4317:21:22;;;;;;;;;;;4283:55;15969:37:::1;15982:6;15990:8;16000:5;15969:12;:37::i;7179:148:3:-:0;7249:7;7275:45;7292:6;7300:19;7275:16;:45::i;14488:308:22:-;2334:13:0;:11;:13::i;:::-;2704:7:22::1;14567:32;::::0;::::1;;14563:62;;;14608:17;;-1:-1:-1::0;;;14608:17:22::1;;;;;;;;;;;14563:62;14662:16;::::0;;::::1;14688:27:::0;;::::1;-1:-1:-1::0;;;14688:27:22;;::::1;-1:-1:-1::0;;;;14688:27:22;::::1;;::::0;;;;14730:59:::1;::::0;;14662:16;;;::::1;::::0;::::1;12164:40:24::0;;;14772:16:22;;;::::1;::::0;;::::1;12235:2:24::0;12220:18;;12213:49;14662:16:22;14730:59:::1;::::0;12137:18:24;14730:59:22::1;;;;;;;14553:243;14488:308:::0;:::o;7887:153:3:-;7952:7;7978:55;7995:16;8005:5;7995:9;:16::i;:::-;8013:19;7978:16;:55::i;12856:466:22:-;4452:16;;12946:7;;-1:-1:-1;;;4452:16:22;;;;:21;;4448:55;;4482:21;;-1:-1:-1;;;4482:21:22;;;;;;;;;;;4448:55;12978:18:::1;12990:5;12978:11;:18::i;:::-;12969:6;:27;12965:65;;;13005:25;;-1:-1:-1::0;;;13005:25:22::1;;;;;;;;;;;12965:65;13041:14;13058:23;13074:6;13058:15;:23::i;:::-;13150:16;::::0;13041:40;;-1:-1:-1;13123:43:22::1;::::0;-1:-1:-1;;;13150:16:22;::::1;;;13131:15;13123:43;:::i;:::-;-1:-1:-1::0;;;;;13092:16:22;::::1;;::::0;;;:9:::1;:16;::::0;;;;;;:74;;-1:-1:-1;;;;;;13092:74:22::1;-1:-1:-1::0;;;;;13092:74:22;;;::::1;::::0;;;::::1;::::0;;13176:33;;;::::1;:43:::0;;13213:6;;13092:16;13176:43:::1;::::0;13213:6;;13176:43:::1;:::i;:::-;::::0;;;-1:-1:-1;13230:61:22::1;::::0;-1:-1:-1;966:10:4;13262:4:22::1;::::0;-1:-1:-1;;;;;13262:4:22::1;13269:5:::0;13276:6;13284;13230:9:::1;:61::i;9417:235::-:0;2334:13:0;:11;:13::i;:::-;-1:-1:-1;;;;;9485:19:22;::::1;9481:52;;9513:20;;-1:-1:-1::0;;;9513:20:22::1;;;;;;;;;;;9481:52;9547:7;::::0;-1:-1:-1;;;;;9547:16:22;;::::1;:7:::0;::::1;:16:::0;9543:41:::1;;9572:12;;-1:-1:-1::0;;;9572:12:22::1;;;;;;;;;;;9543:41;9599:21;::::0;-1:-1:-1;;;;;2931:32:24;;2913:51;;9599:21:22::1;::::0;2901:2:24;2886:18;9599:21:22::1;;;;;;;9630:7;:15:::0;;-1:-1:-1;;;;;;9630:15:22::1;-1:-1:-1::0;;;;;9630:15:22;;;::::1;::::0;;;::::1;::::0;;9417:235::o;8088:112:3:-;8151:7;8177:16;8187:5;8177:9;:16::i;7171:143:22:-;2334:13:0;:11;:13::i;:::-;7245:15:22::1;::::0;;::::1;-1:-1:-1::0;;;7245:15:22;;::::1;::::0;::::1;7244:16;7226:34:::0;::::1;-1:-1:-1::0;;;;7226:34:22;;::::1;::::0;;;::::1;::::0;;;;7275:32:::1;::::0;::::1;::::0;::::1;::::0;7291:15;::::1;::::0;;::::1;1977:14:24::0;1970:22;1952:41;;1940:2;1925:18;;1812:187;7275:32:22::1;;;;;;;;7171:143::o:0;4908:171:19:-;4955:7;;-1:-1:-1;;;;;;;;;;;5010:29:19;1228:225;5003:195:2;-1:-1:-1;;;;;5162:20:2;;;5083:7;5162:20;;;:13;:20;;;;;;;;:29;;;;;;;;;;;;;5003:195::o;11613:985:22:-;3251:21:5;:19;:21::i;:::-;11726:10:22::1;11680:33;11716:21:::0;;;:9:::1;:21;::::0;;;;;;;11764:29;;::::1;::::0;11808:24;;11835:15:::1;-1:-1:-1::0;;;;;11808:24:22;;::::1;:42;11804:142;;;11910:24:::0;;11873:62:::1;::::0;-1:-1:-1;;;11873:62:22;;11893:15:::1;11873:62;::::0;::::1;12447:25:24::0;-1:-1:-1;;;;;11910:24:22;;::::1;12488:18:24::0;;;12481:69;12420:18;;11873:62:22::1;12273:283:24::0;11804:142:22::1;11959:6;11969:1;11959:11:::0;11955:42:::1;;11979:18;;-1:-1:-1::0;;;11979:18:22::1;;;;;;;;;;;11955:42;12011:13;;12028:1;12011:18:::0;12007:50:::1;;12038:19;;-1:-1:-1::0;;;12038:19:22::1;;;;;;;;;;;12007:50;12068:28:::0;;-1:-1:-1;;;;;;12068:28:22::1;::::0;;12095:1:::1;12068:28:::0;12106:29;::::1;:33:::0;12199:13:::1;::::0;12178:6;;12215:4:::1;-1:-1:-1::0;12195:272:22::1;;;12280:4;12264:13;;12255:6;:22;;;;:::i;:::-;:29;;;;:::i;:::-;12235:49:::0;-1:-1:-1;12298:21:22::1;12322:26;12235:49:::0;12322:6;:26:::1;:::i;:::-;12362:4;::::0;:43:::1;::::0;-1:-1:-1;;;12362:43:22;;12384:4:::1;12362:43;::::0;::::1;9880:51:24::0;9947:18;;;9940:34;;;12298:50:22;;-1:-1:-1;;;;;;12362:4:22::1;::::0;:13:::1;::::0;9853:18:24;;12362:43:22::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;12428:7;:5;:7::i;:::-;-1:-1:-1::0;;;;;12419:22:22::1;;12442:13;12419:37;;;;;;;;;;;;;817:25:24::0;;805:2;790:18;;671:177;12419:37:22::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;12221:246;12195:272;12482:56;::::0;;12490:10:::1;12792:51:24::0;;-1:-1:-1;;;;;12879:32:24;;12874:2;12859:18;;12852:60;12928:18;;;12921:34;;;12986:2;12971:18;;12964:34;;;12482:56:22::1;::::0;12779:3:24;12764:19;12482:56:22::1;;;;;;;12549:4;::::0;:42:::1;::::0;-1:-1:-1;;;12549:42:22;;-1:-1:-1;;;;;9898:32:24;;;12549:42:22::1;::::0;::::1;9880:51:24::0;9947:18;;;9940:34;;;12549:4:22;;::::1;::::0;:13:::1;::::0;9853:18:24;;12549:42:22::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;11670:928;;;3293:20:5::0;1805:1;-1:-1:-1;;;;;;;;;;;3969:23:5;3716:283;3405:215:0;2334:13;:11;:13::i;:::-;-1:-1:-1;;;;;3489:22:0;::::1;3485:91;;3534:31;::::0;-1:-1:-1;;;3534:31:0;;3562:1:::1;3534:31;::::0;::::1;2913:51:24::0;2886:18;;3534:31:0::1;2767:203:24::0;3485:91:0::1;3585:28;3604:8;3585:18;:28::i;11448:213:3:-:0;11545:7;11571:83;11585:13;:11;:13::i;:::-;:17;;11601:1;11585:17;:::i;:::-;11620:23;13718:5;11620:2;:23;:::i;:::-;11604:13;:11;:13::i;:::-;:39;;;;:::i;:::-;11571:6;;:83;11645:8;11571:13;:83::i;10264:128:2:-;10348:37;10357:5;10364:7;10373:5;10380:4;10348:8;:37::i;11111:213:3:-;11208:7;11234:83;11264:23;11208:7;11264:2;:23;:::i;:::-;11248:13;:11;:13::i;:::-;:39;;;;:::i;:::-;11289:13;:11;:13::i;:::-;:17;;11305:1;11289:17;:::i;2658:162:0:-;966:10:4;2717:7:0;:5;:7::i;:::-;-1:-1:-1;;;;;2717:23:0;;2713:101;;2763:40;;-1:-1:-1;;;2763:40:0;;966:10:4;2763:40:0;;;2913:51:24;2886:18;;2763:40:0;2767:203:24;11993:477:2;12092:24;12119:25;12129:5;12136:7;12119:9;:25::i;:::-;12092:52;;-1:-1:-1;;12158:16:2;:37;12154:310;;12234:5;12215:16;:24;12211:130;;;12293:7;12302:16;12320:5;12266:60;;-1:-1:-1;;;12266:60:2;;;;;;;;;;:::i;12211:130::-;12382:57;12391:5;12398:7;12426:5;12407:16;:24;12433:5;12382:8;:57::i;:::-;12082:388;11993:477;;;:::o;6868:300::-;-1:-1:-1;;;;;6951:18:2;;6947:86;;6992:30;;-1:-1:-1;;;6992:30:2;;7019:1;6992:30;;;2913:51:24;2886:18;;6992:30:2;2767:203:24;6947:86:2;-1:-1:-1;;;;;7046:16:2;;7042:86;;7085:32;;-1:-1:-1;;;7085:32:2;;7114:1;7085:32;;;2913:51:24;2886:18;;7085:32:2;2767:203:24;7042:86:2;7137:24;7145:4;7151:2;7155:5;7137:7;:24::i;3326:384:5:-;-1:-1:-1;;;;;;;;;;;3526:9:5;;-1:-1:-1;;3526:20:5;3522:88;;3569:30;;-1:-1:-1;;;3569:30:5;;;;;;;;;;;3522:88;1847:1;3684:19;;3326:384::o;3716:283::-;1805:1;-1:-1:-1;;;;;;;;;;;3969:23:5;3716:283::o;4333:312:11:-;4413:4;-1:-1:-1;;;;;4422:6:11;4405:23;;;:120;;;4519:6;-1:-1:-1;;;;;4483:42:11;:32;-1:-1:-1;;;;;;;;;;;2035:53:9;-1:-1:-1;;;;;2035:53:9;;1957:138;4483:32:11;-1:-1:-1;;;;;4483:42:11;;;4405:120;4388:251;;;4599:29;;-1:-1:-1;;;4599:29:11;;;;;;;;;;;6105:169:22;2334:13:0;:11;:13::i;:::-;6244:23:22::1;6259:7;6244:14;:23::i;5786:538:11:-:0;5903:17;-1:-1:-1;;;;;5885:50:11;;:52;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;5885:52:11;;;;;;;;-1:-1:-1;;5885:52:11;;;;;;;;;;;;:::i;:::-;;;5881:437;;6247:60;;-1:-1:-1;;;6247:60:11;;-1:-1:-1;;;;;2931:32:24;;6247:60:11;;;2913:51:24;2886:18;;6247:60:11;2767:203:24;5881:437:11;-1:-1:-1;;;;;;;;;;;5979:40:11;;5975:120;;6046:34;;-1:-1:-1;;;6046:34:11;;;;;817:25:24;;;790:18;;6046:34:11;671:177:24;5975:120:11;6108:54;6138:17;6157:4;6108:29;:54::i;4762:213::-;4836:4;-1:-1:-1;;;;;4845:6:11;4828:23;;4824:145;;4929:29;;-1:-1:-1;;;4929:29:11;;;;;;;;;;;16801:313:22;3251:21:5;:19;:21::i;:::-;4806:15:22::1;::::0;-1:-1:-1;;;4806:15:22;::::1;;;4801:47;;4830:18;;-1:-1:-1::0;;;4830:18:22::1;;;;;;;;;;;4801:47;16986:6:::2;4137;4147:1;4137:11:::0;4133:39:::2;;4157:15;;-1:-1:-1::0;;;4157:15:22::2;;;;;;;;;;;4133:39;17010:6:::3;4137;4147:1;4137:11:::0;4133:39:::3;;4157:15;;-1:-1:-1::0;;;4157:15:22::3;;;;;;;;;;;4133:39;17032:48:::4;17047:6;17055:8;17065:6;17073;17032:14;:48::i;:::-;17090:17;:15;:17::i;:::-;4182:1:::3;4858::::2;3293:20:5::0;1805:1;-1:-1:-1;;;;;;;;;;;3969:23:5;3716:283;3774:248:0;1313:22;3923:8;;-1:-1:-1;;;;;;3941:19:0;;-1:-1:-1;;;;;3941:19:0;;;;;;;;3975:40;;3923:8;;;;;3975:40;;3847:24;;3975:40;3837:185;;3774:248;:::o;2577:147:2:-;6931:20:1;:18;:20::i;:::-;2679:38:2::1;2702:5;2709:7;2679:22;:38::i;4977:114:3:-:0;6931:20:1;:18;:20::i;:::-;5052:32:3::1;5077:6;5052:24;:32::i;1847:127:0:-:0;6931:20:1;:18;:20::i;:::-;1929:38:0::1;1954:12;1929:24;:38::i;2540:111:5:-:0;6931:20:1;:18;:20::i;:::-;2610:34:5::1;:32;:34::i;1839:175:19:-:0;6931:20:1;:18;:20::i;:::-;2001:6:19::1;-1:-1:-1::0;;;;;;;;;;;1984:23:19;1839:175::o;17389:309:22:-;3251:21:5;:19;:21::i;:::-;17561:6:22::1;4137;4147:1;4137:11:::0;4133:39:::1;;4157:15;;-1:-1:-1::0;;;4157:15:22::1;;;;;;;;;;;4133:39;17585:6:::2;4137;4147:1;4137:11:::0;4133:39:::2;;4157:15;;-1:-1:-1::0;;;4157:15:22::2;;;;;;;;;;;4133:39;17607:57:::3;17623:6;17631:8;17641:6;17649;17657;17607:15;:57::i;:::-;17674:17;:15;:17::i;:::-;4182:1:::2;3282::5::1;3293:20:::0;1805:1;-1:-1:-1;;;;;;;;;;;3969:23:5;3716:283;1303:160:15;1412:43;;-1:-1:-1;;;;;9898:32:24;;;1412:43:15;;;9880:51:24;9947:18;;;9940:34;;;1385:71:15;;1405:5;;1427:14;;;;;9853:18:24;;1412:43:15;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;1412:43:15;;;;;;;;;;;1385:19;:71::i;10124:413:3:-;10215:7;10234:17;10254:18;10266:5;10254:11;:18::i;:::-;10234:38;;10295:9;10286:6;:18;10282:108;;;10354:5;10361:6;10369:9;10327:52;;-1:-1:-1;;;10327:52:3;;;;;;;;;;:::i;10282:108::-;10400:14;10417:23;10433:6;10417:15;:23::i;:::-;10400:40;-1:-1:-1;10450:56:3;966:10:4;10474:8:3;10484:5;10491:6;10499;10450:9;:56::i;:::-;10524:6;10124:413;-1:-1:-1;;;;;10124:413:3:o;10582:405::-;10671:7;10690:17;10710:16;10720:5;10710:9;:16::i;:::-;10690:36;;10749:9;10740:6;:18;10736:106;;;10806:5;10813:6;10821:9;10781:50;;-1:-1:-1;;;10781:50:3;;;;;;;;;;:::i;10736:106::-;10852:14;10869:21;10883:6;10869:13;:21::i;:::-;10852:38;-1:-1:-1;10900:56:3;966:10:4;10924:8:3;10934:5;10941:6;10949;10900:9;:56::i;8051:302:18:-;8152:7;8171:14;8188:25;8195:1;8198;8201:11;8188:6;:25::i;:::-;8171:42;;8227:26;8244:8;8227:16;:26::i;:::-;:59;;;;;8285:1;8270:11;8257:25;;;;;:::i;:::-;8267:1;8264;8257:25;:29;8227:59;8223:101;;;8302:11;8312:1;8302:11;;:::i;:::-;;8340:6;-1:-1:-1;;;;;;8051:302:18:o;11224:487:2:-;-1:-1:-1;;;;;;;;;;;;;;;;11389:19:2;;11385:89;;11431:32;;-1:-1:-1;;;11431:32:2;;11460:1;11431:32;;;2913:51:24;2886:18;;11431:32:2;2767:203:24;11385:89:2;-1:-1:-1;;;;;11487:21:2;;11483:90;;11531:31;;-1:-1:-1;;;11531:31:2;;11559:1;11531:31;;;2913:51:24;2886:18;;11531:31:2;2767:203:24;11483:90:2;-1:-1:-1;;;;;11582:20:2;;;;;;;:13;;;:20;;;;;;;;:29;;;;;;;;;:37;;;11629:76;;;;11679:7;-1:-1:-1;;;;;11663:31:2;11672:5;-1:-1:-1;;;;;11663:31:2;;11688:5;11663:31;;;;817:25:24;;805:2;790:18;;671:177;11663:31:2;;;;;;;;11322:389;11224:487;;;;:::o;7483:1170::-;-1:-1:-1;;;;;;;;;;;;;;;;7625:18:2;;7621:546;;7779:5;7761:1;:14;;;:23;;;;;;;:::i;:::-;;;;-1:-1:-1;7621:546:2;;-1:-1:-1;7621:546:2;;-1:-1:-1;;;;;7837:17:2;;7815:19;7837:17;;;;;;;;;;;7872:19;;;7868:115;;;7943:4;7949:11;7962:5;7918:50;;-1:-1:-1;;;7918:50:2;;;;;;;;;;:::i;7868:115::-;-1:-1:-1;;;;;8103:17:2;;:11;:17;;;;;;;;;;8123:19;;;;8103:39;;7621:546;-1:-1:-1;;;;;8181:16:2;;8177:429;;8344:14;;;:23;;;;;;;8177:429;;;-1:-1:-1;;;;;8557:15:2;;:11;:15;;;;;;;;;;:24;;;;;;8177:429;8636:2;-1:-1:-1;;;;;8621:25:2;8630:4;-1:-1:-1;;;;;8621:25:2;;8640:5;8621:25;;;;817::24;;805:2;790:18;;671:177;8621:25:2;;;;;;;;7558:1095;7483:1170;;;:::o;4100:397:19:-;-1:-1:-1;;;;;;;;;;;4250:23:19;-1:-1:-1;;;;;;;;;;;1413:24:19;-1:-1:-1;;;;;4239:34:19;;;4250:23;;4239:34;4235:71;;4282:24;;-1:-1:-1;;;4282:24:19;;;;;;;;;;;4235:71;4338:1;:16;;;4320:15;:34;4316:63;;;4363:16;;-1:-1:-1;;;4363:16:19;;;;;;;;;;;4316:63;4424:23;;;:36;;-1:-1:-1;;;;;;4424:36:19;;;4458:1;4470:16;;;;:20;-1:-1:-1;4100:397:19:o;2779:335:9:-;2870:37;2889:17;2870:18;:37::i;:::-;2922:27;;-1:-1:-1;;;;;2922:27:9;;;;;;;;2964:11;;:15;2960:148;;2995:53;3024:17;3043:4;2995:28;:53::i;2960:148::-;3079:18;:16;:18::i;11725:889:3:-;-1:-1:-1;;;;;;;;;;;12477:8:3;;12450:67;;-1:-1:-1;;;;;12477:8:3;12487:6;12503:4;12510:6;12450:26;:67::i;:::-;12527:23;12533:8;12543:6;12527:5;:23::i;:::-;12582:8;-1:-1:-1;;;;;12566:41:3;12574:6;-1:-1:-1;;;;;12566:41:3;;12592:6;12600;12566:41;;;;;;10856:25:24;;;10912:2;10897:18;;10890:34;10844:2;10829:18;;10682:248;16398:182:22;16449:20;16472:13;:11;:13::i;:::-;16449:36;;16514:1;16499:12;:16;:45;;;;;2602:7;16519:12;:25;16499:45;16495:78;;;16553:20;;-1:-1:-1;;;16553:20:22;;;;;;;;;;;7084:141:1;8870:21;8560:40;-1:-1:-1;;;8560:40:1;;;;7146:73;;7191:17;;-1:-1:-1;;;7191:17:1;;;;;;;;;;;2730:216:2;6931:20:1;:18;:20::i;:::-;-1:-1:-1;;;;;;;;;;;2895:7:2;:15:::1;2905:5:::0;2895:7;:15:::1;:::i;:::-;-1:-1:-1::0;2920:9:2::1;::::0;::::1;:19;2932:7:::0;2920:9;:19:::1;:::i;5097:304:3:-:0;6931:20:1;:18;:20::i;:::-;-1:-1:-1;;;;;;;;;;;5182:24:3::1;::::0;5277:28:::1;5298:6:::0;5277:20:::1;:28::i;:::-;5239:66;;;;5339:7;:28;;5365:2;5339:28;;;5349:13;5339:28;5315:52:::0;;-1:-1:-1;;;;;;5377:17:3;-1:-1:-1;;;5315:52:3::1;::::0;;;::::1;::::0;;;::::1;-1:-1:-1::0;;;;;;5377:17:3;;-1:-1:-1;;;;;5377:17:3;;;::::1;::::0;;;::::1;::::0;;;-1:-1:-1;;5097:304:3:o;1980:235:0:-;6931:20:1;:18;:20::i;2657:183:5:-;6931:20:1;:18;:20::i;12681:973:3:-;-1:-1:-1;;;;;;;;;;;;;;;;12915:15:3;;;;;;;12911:84;;12946:38;12962:5;12969:6;12977;12946:15;:38::i;:::-;13502:20;13508:5;13515:6;13502:5;:20::i;:::-;13555:8;;13532:50;;-1:-1:-1;;;;;13555:8:3;13565;13575:6;13532:22;:50::i;:::-;13625:5;-1:-1:-1;;;;;13598:49:3;13615:8;-1:-1:-1;;;;;13598:49:3;13607:6;-1:-1:-1;;;;;13598:49:3;;13632:6;13640;13598:49;;;;;;10856:25:24;;;10912:2;10897:18;;10890:34;10844:2;10829:18;;10682:248;13598:49:3;;;;;;;;12844:810;12681:973;;;;;:::o;4059:629:15:-;4478:23;4504:33;-1:-1:-1;;;;;4504:27:15;;4532:4;4504:27;:33::i;:::-;4478:59;;4551:10;:17;4572:1;4551:22;;:57;;;;;4589:10;4578:30;;;;;;;;;;;;:::i;:::-;4577:31;4551:57;4547:135;;;4631:40;;-1:-1:-1;;;4631:40:15;;-1:-1:-1;;;;;2931:32:24;;4631:40:15;;;2913:51:24;2886:18;;4631:40:15;2767:203:24;3803:4116:18;3885:14;4248:5;;;3885:14;-1:-1:-1;;4252:1:18;4248;4420:20;4493:5;4489:2;4486:13;4478:5;4474:2;4470:14;4466:34;4457:43;;;4595:5;4604:1;4595:10;4591:368;;4933:11;4925:5;:19;;;;;:::i;:::-;;4918:26;;;;;;4591:368;5080:5;5065:11;:20;5061:88;;5112:22;;-1:-1:-1;;;5112:22:18;;;;;;;;;;;5061:88;5404:17;5539:11;5536:1;5533;5526:25;5939:12;5969:15;;;5954:31;;6088:22;;;;;6813:1;6794;:15;;6793:21;;7046;;;7042:25;;7031:36;7115:21;;;7111:25;;7100:36;7185:21;;;7181:25;;7170:36;7255:21;;;7251:25;;7240:36;7325:21;;;7321:25;;7310:36;7396:21;;;7392:25;;;7381:36;6333:12;;;;6329:23;;;6354:1;6325:31;5653:20;;;5642:32;;;6445:12;;;;5700:21;;;;6186:16;;;;6436:21;;;;7860:15;;;;;-1:-1:-1;;3803:4116:18;;;;;:::o;14993:122::-;15061:4;15102:1;15090:8;15084:15;;;;;;;;:::i;:::-;:19;;;;:::i;:::-;:24;;15107:1;15084:24;15077:31;;14993:122;;;:::o;2186:281:9:-;2263:17;-1:-1:-1;;;;;2263:29:9;;2296:1;2263:34;2259:119;;2320:47;;-1:-1:-1;;;2320:47:9;;-1:-1:-1;;;;;2931:32:24;;2320:47:9;;;2913:51:24;2886:18;;2320:47:9;2767:203:24;2259:119:9;-1:-1:-1;;;;;;;;;;;2387:73:9;;-1:-1:-1;;;;;;2387:73:9;-1:-1:-1;;;;;2387:73:9;;;;;;;;;;2186:281::o;4106:253:16:-;4189:12;4214;4228:23;4255:6;-1:-1:-1;;;;;4255:19:16;4275:4;4255:25;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4213:67;;;;4297:55;4324:6;4332:7;4341:10;4297:26;:55::i;6598:122:9:-;6648:9;:13;6644:70;;6684:19;;-1:-1:-1;;;6684:19:9;;;;;;;;;;;1702:188:15;1829:53;;-1:-1:-1;;;;;17856:32:24;;;1829:53:15;;;17838:51:24;17925:32;;;17905:18;;;17898:60;17974:18;;;17967:34;;;1802:81:15;;1822:5;;1844:18;;;;;17811::24;;1829:53:15;17636:371:24;8996:208:2;-1:-1:-1;;;;;9066:21:2;;9062:91;;9110:32;;-1:-1:-1;;;9110:32:2;;9139:1;9110:32;;;2913:51:24;2886:18;;9110:32:2;2767:203:24;9062:91:2;9162:35;9178:1;9182:7;9191:5;9162:7;:35::i;5544:533:3:-;5721:43;;;;;;;;;;;;;;;;-1:-1:-1;;;;;5721:43:3;-1:-1:-1;;;5721:43:3;;;5681:93;;5611:4;;;;;;;;-1:-1:-1;;;;;5681:26:3;;;:93;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5634:140;;;;5788:7;:39;;;;;5825:2;5799:15;:22;:28;;5788:39;5784:260;;;5843:24;5881:15;5870:38;;;;;;;;;;;;:::i;:::-;5843:65;-1:-1:-1;5946:15:3;5926:35;;5922:112;;5989:4;;6001:16;;-1:-1:-1;5544:533:3;-1:-1:-1;;;;5544:533:3:o;5922:112::-;5829:215;5784:260;-1:-1:-1;6061:5:3;;;;-1:-1:-1;5544:533:3;-1:-1:-1;;;5544:533:3:o;9522:206:2:-;-1:-1:-1;;;;;9592:21:2;;9588:89;;9636:30;;-1:-1:-1;;;9636:30:2;;9663:1;9636:30;;;2913:51:24;2886:18;;9636:30:2;2767:203:24;9588:89:2;9686:35;9694:7;9711:1;9715:5;9686:7;:35::i;2705:151:16:-;2780:12;2811:38;2833:6;2841:4;2847:1;2811:21;:38::i;4625:582::-;4769:12;4798:7;4793:408;;4821:19;4829:10;4821:7;:19::i;:::-;4793:408;;;5045:17;;:22;:49;;;;-1:-1:-1;;;;;;5071:18:16;;;:23;5045:49;5041:119;;;5121:24;;-1:-1:-1;;;5121:24:16;;-1:-1:-1;;;;;2931:32:24;;5121:24:16;;;2913:51:24;2886:18;;5121:24:16;2767:203:24;5041:119:16;-1:-1:-1;5180:10:16;5173:17;;3180:392;3279:12;3331:5;3307:21;:29;3303:108;;;3359:41;;-1:-1:-1;;;3359:41:16;;3394:4;3359:41;;;2913:51:24;2886:18;;3359:41:16;2767:203:24;3303:108:16;3421:12;3435:23;3462:6;-1:-1:-1;;;;;3462:11:16;3481:5;3488:4;3462:31;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3420:73;;;;3510:55;3537:6;3545:7;3554:10;3510:26;:55::i;5743:516::-;5874:17;;:21;5870:383;;6102:10;6096:17;6158:15;6145:10;6141:2;6137:19;6130:44;5870:383;6225:17;;-1:-1:-1;;;6225:17:16;;;;;;;;;;;14:173:24;82:20;;-1:-1:-1;;;;;131:31:24;;121:42;;111:70;;177:1;174;167:12;111:70;14:173;;;:::o;192:186::-;251:6;304:2;292:9;283:7;279:23;275:32;272:52;;;320:1;317;310:12;272:52;343:29;362:9;343:29;:::i;853:418::-;1002:2;991:9;984:21;965:4;1034:6;1028:13;1077:6;1072:2;1061:9;1057:18;1050:34;1136:6;1131:2;1123:6;1119:15;1114:2;1103:9;1099:18;1093:50;1192:1;1187:2;1178:6;1167:9;1163:22;1159:31;1152:42;1262:2;1255;1251:7;1246:2;1238:6;1234:15;1230:29;1219:9;1215:45;1211:54;1203:62;;;853:418;;;;:::o;1276:226::-;1335:6;1388:2;1376:9;1367:7;1363:23;1359:32;1356:52;;;1404:1;1401;1394:12;1356:52;-1:-1:-1;1449:23:24;;1276:226;-1:-1:-1;1276:226:24:o;1507:300::-;1575:6;1583;1636:2;1624:9;1615:7;1611:23;1607:32;1604:52;;;1652:1;1649;1642:12;1604:52;1675:29;1694:9;1675:29;:::i;:::-;1665:39;1773:2;1758:18;;;;1745:32;;-1:-1:-1;;;1507:300:24:o;2199:374::-;2276:6;2284;2292;2345:2;2333:9;2324:7;2320:23;2316:32;2313:52;;;2361:1;2358;2351:12;2313:52;2384:29;2403:9;2384:29;:::i;:::-;2374:39;;2432:38;2466:2;2455:9;2451:18;2432:38;:::i;:::-;2199:374;;2422:48;;-1:-1:-1;;;2539:2:24;2524:18;;;;2511:32;;2199:374::o;2975:127::-;3036:10;3031:3;3027:20;3024:1;3017:31;3067:4;3064:1;3057:15;3091:4;3088:1;3081:15;3107:1018;3184:6;3192;3245:2;3233:9;3224:7;3220:23;3216:32;3213:52;;;3261:1;3258;3251:12;3213:52;3284:29;3303:9;3284:29;:::i;:::-;3274:39;;3364:2;3353:9;3349:18;3336:32;3391:18;3383:6;3380:30;3377:50;;;3423:1;3420;3413:12;3377:50;3446:22;;3499:4;3491:13;;3487:27;-1:-1:-1;3477:55:24;;3528:1;3525;3518:12;3477:55;3568:2;3555:16;3594:18;3586:6;3583:30;3580:56;;;3616:18;;:::i;:::-;3665:2;3659:9;3757:2;3719:17;;-1:-1:-1;;3715:31:24;;;3748:2;3711:40;3707:54;3695:67;;3792:18;3777:34;;3813:22;;;3774:62;3771:88;;;3839:18;;:::i;:::-;3875:2;3868:22;3899;;;3940:15;;;3957:2;3936:24;3933:37;-1:-1:-1;3930:57:24;;;3983:1;3980;3973:12;3930:57;4039:6;4034:2;4030;4026:11;4021:2;4013:6;4009:15;3996:50;4092:1;4087:2;4078:6;4070;4066:19;4062:28;4055:39;4113:6;4103:16;;;;;3107:1018;;;;;:::o;4312:300::-;4380:6;4388;4441:2;4429:9;4420:7;4416:23;4412:32;4409:52;;;4457:1;4454;4447:12;4409:52;4502:23;;;-1:-1:-1;4568:38:24;4602:2;4587:18;;4568:38;:::i;:::-;4558:48;;4312:300;;;;;:::o;4810:348::-;4862:8;4872:6;4926:3;4919:4;4911:6;4907:17;4903:27;4893:55;;4944:1;4941;4934:12;4893:55;-1:-1:-1;4967:20:24;;5010:18;4999:30;;4996:50;;;5042:1;5039;5032:12;4996:50;5079:4;5071:6;5067:17;5055:29;;5131:3;5124:4;5115:6;5107;5103:19;5099:30;5096:39;5093:59;;;5148:1;5145;5138:12;5093:59;4810:348;;;;;:::o;5163:940::-;5282:6;5290;5298;5306;5314;5322;5330;5383:3;5371:9;5362:7;5358:23;5354:33;5351:53;;;5400:1;5397;5390:12;5351:53;5423:29;5442:9;5423:29;:::i;:::-;5413:39;;5471:38;5505:2;5494:9;5490:18;5471:38;:::i;:::-;5461:48;;5528:38;5562:2;5551:9;5547:18;5528:38;:::i;:::-;5518:48;;5617:2;5606:9;5602:18;5589:32;5644:18;5636:6;5633:30;5630:50;;;5676:1;5673;5666:12;5630:50;5715:59;5766:7;5757:6;5746:9;5742:22;5715:59;:::i;:::-;5793:8;;-1:-1:-1;5689:85:24;-1:-1:-1;;5881:3:24;5866:19;;5853:33;5911:18;5898:32;;5895:52;;;5943:1;5940;5933:12;5895:52;5982:61;6035:7;6024:8;6013:9;6009:24;5982:61;:::i;:::-;5163:940;;;;-1:-1:-1;5163:940:24;;-1:-1:-1;5163:940:24;;;;5956:87;;-1:-1:-1;;;5163:940:24:o;6108:272::-;6166:6;6219:2;6207:9;6198:7;6194:23;6190:32;6187:52;;;6235:1;6232;6225:12;6187:52;6274:9;6261:23;6324:6;6317:5;6313:18;6306:5;6303:29;6293:57;;6346:1;6343;6336:12;6385:369;6453:6;6461;6514:2;6502:9;6493:7;6489:23;6485:32;6482:52;;;6530:1;6527;6520:12;6482:52;6553:29;6572:9;6553:29;:::i;:::-;6543:39;;6632:2;6621:9;6617:18;6604:32;-1:-1:-1;;;;;6669:5:24;6665:40;6658:5;6655:51;6645:79;;6720:1;6717;6710:12;6645:79;6743:5;6733:15;;;6385:369;;;;;:::o;6759:374::-;6836:6;6844;6852;6905:2;6893:9;6884:7;6880:23;6876:32;6873:52;;;6921:1;6918;6911:12;6873:52;6944:29;6963:9;6944:29;:::i;:::-;6934:39;-1:-1:-1;7042:2:24;7027:18;;7014:32;;-1:-1:-1;7089:38:24;7123:2;7108:18;;7089:38;:::i;:::-;7079:48;;6759:374;;;;;:::o;7138:::-;7215:6;7223;7231;7284:2;7272:9;7263:7;7259:23;7255:32;7252:52;;;7300:1;7297;7290:12;7252:52;7345:23;;;-1:-1:-1;7411:38:24;7445:2;7430:18;;7411:38;:::i;:::-;7401:48;;7468:38;7502:2;7491:9;7487:18;7468:38;:::i;7517:274::-;7575:6;7628:2;7616:9;7607:7;7603:23;7599:32;7596:52;;;7644:1;7641;7634:12;7596:52;7683:9;7670:23;7733:8;7726:5;7722:20;7715:5;7712:31;7702:59;;7757:1;7754;7747:12;7796:260;7864:6;7872;7925:2;7913:9;7904:7;7900:23;7896:32;7893:52;;;7941:1;7938;7931:12;7893:52;7964:29;7983:9;7964:29;:::i;:::-;7954:39;;8012:38;8046:2;8035:9;8031:18;8012:38;:::i;8287:184::-;8357:6;8410:2;8398:9;8389:7;8385:23;8381:32;8378:52;;;8426:1;8423;8416:12;8378:52;-1:-1:-1;8449:16:24;;8287:184;-1:-1:-1;8287:184:24:o;8476:380::-;8555:1;8551:12;;;;8598;;;8619:61;;8673:4;8665:6;8661:17;8651:27;;8619:61;8726:2;8718:6;8715:14;8695:18;8692:38;8689:161;;8772:10;8767:3;8763:20;8760:1;8753:31;8807:4;8804:1;8797:15;8835:4;8832:1;8825:15;8689:161;;8476:380;;;:::o;8861:127::-;8922:10;8917:3;8913:20;8910:1;8903:31;8953:4;8950:1;8943:15;8977:4;8974:1;8967:15;8993:125;9058:9;;;9079:10;;;9076:36;;;9092:18;;:::i;9123:148::-;9211:4;9190:12;;;9204;;;9186:31;;9229:13;;9226:39;;;9245:18;;:::i;9276:168::-;9349:9;;;9380;;9397:15;;;9391:22;;9377:37;9367:71;;9418:18;;:::i;9449:127::-;9510:10;9505:3;9501:20;9498:1;9491:31;9541:4;9538:1;9531:15;9565:4;9562:1;9555:15;9581:120;9621:1;9647;9637:35;;9652:18;;:::i;:::-;-1:-1:-1;9686:9:24;;9581:120::o;9985:128::-;10052:9;;;10073:11;;;10070:37;;;10087:18;;:::i;10118:345::-;-1:-1:-1;;;;;10338:32:24;;;;10320:51;;10402:2;10387:18;;10380:34;;;;10445:2;10430:18;;10423:34;10308:2;10293:18;;10118:345::o;10935:222::-;-1:-1:-1;;;;;11004:36:24;;;11042;;;11000:79;;11091:37;;11088:63;;;11131:18;;:::i;13009:375::-;13097:1;13115:5;13129:249;13150:1;13140:8;13137:15;13129:249;;;13200:4;13195:3;13191:14;13185:4;13182:24;13179:50;;;13209:18;;:::i;:::-;13259:1;13249:8;13245:16;13242:49;;;13273:16;;;;13242:49;13356:1;13352:16;;;;;13312:15;;13129:249;;;13009:375;;;;;;:::o;13389:902::-;13438:5;13468:8;13458:80;;-1:-1:-1;13509:1:24;13523:5;;13458:80;13557:4;13547:76;;-1:-1:-1;13594:1:24;13608:5;;13547:76;13639:4;13657:1;13652:59;;;;13725:1;13720:174;;;;13632:262;;13652:59;13682:1;13673:10;;13696:5;;;13720:174;13757:3;13747:8;13744:17;13741:43;;;13764:18;;:::i;:::-;-1:-1:-1;;13820:1:24;13806:16;;13879:5;;13632:262;;13978:2;13968:8;13965:16;13959:3;13953:4;13950:13;13946:36;13940:2;13930:8;13927:16;13922:2;13916:4;13913:12;13909:35;13906:77;13903:203;;;-1:-1:-1;14015:19:24;;;14091:5;;13903:203;14138:42;-1:-1:-1;;14163:8:24;14157:4;14138:42;:::i;:::-;14216:6;14212:1;14208:6;14204:19;14195:7;14192:32;14189:58;;;14227:18;;:::i;:::-;14265:20;;13389:902;-1:-1:-1;;;13389:902:24:o;14296:140::-;14354:5;14383:47;14424:4;14414:8;14410:19;14404:4;14383:47;:::i;14756:518::-;14858:2;14853:3;14850:11;14847:421;;;14894:5;14891:1;14884:16;14938:4;14935:1;14925:18;15008:2;14996:10;14992:19;14989:1;14985:27;14979:4;14975:38;15044:4;15032:10;15029:20;15026:47;;;-1:-1:-1;15067:4:24;15026:47;15122:2;15117:3;15113:12;15110:1;15106:20;15100:4;15096:31;15086:41;;15177:81;15195:2;15188:5;15185:13;15177:81;;;15254:1;15240:16;;15221:1;15210:13;15177:81;;15450:1299;15576:3;15570:10;15603:18;15595:6;15592:30;15589:56;;;15625:18;;:::i;:::-;15654:97;15744:6;15704:38;15736:4;15730:11;15704:38;:::i;:::-;15698:4;15654:97;:::i;:::-;15800:4;15831:2;15820:14;;15848:1;15843:649;;;;16536:1;16553:6;16550:89;;;-1:-1:-1;16605:19:24;;;16599:26;16550:89;-1:-1:-1;;15407:1:24;15403:11;;;15399:24;15395:29;15385:40;15431:1;15427:11;;;15382:57;16652:81;;15813:930;;15843:649;14703:1;14696:14;;;14740:4;14727:18;;-1:-1:-1;;15879:20:24;;;15997:222;16011:7;16008:1;16005:14;15997:222;;;16093:19;;;16087:26;16072:42;;16200:4;16185:20;;;;16153:1;16141:14;;;;16027:12;15997:222;;;16001:3;16247:6;16238:7;16235:19;16232:201;;;16308:19;;;16302:26;-1:-1:-1;;16391:1:24;16387:14;;;16403:3;16383:24;16379:37;16375:42;16360:58;16345:74;;16232:201;-1:-1:-1;;;;16479:1:24;16463:14;;;16459:22;16446:36;;-1:-1:-1;15450:1299:24:o;16754:277::-;16821:6;16874:2;16862:9;16853:7;16849:23;16845:32;16842:52;;;16890:1;16887;16880:12;16842:52;16922:9;16916:16;16975:5;16968:13;16961:21;16954:5;16951:32;16941:60;;16997:1;16994;16987:12;17036:127;17097:10;17092:3;17088:20;17085:1;17078:31;17128:4;17125:1;17118:15;17152:4;17149:1;17142:15;17168:157;17198:1;17232:4;17229:1;17225:12;17256:3;17246:37;;17263:18;;:::i;:::-;17315:3;17308:4;17305:1;17301:12;17297:22;17292:27;;;17168:157;;;;:::o;17330:301::-;17459:3;17497:6;17491:13;17543:6;17536:4;17528:6;17524:17;17519:3;17513:37;17605:1;17569:16;;17594:13;;;-1:-1:-1;17569:16:24;17330:301;-1:-1:-1;17330:301:24:o","linkReferences":{},"immutableReferences":{"2650":[{"start":8891,"length":32},{"start":8932,"length":32},{"start":9260,"length":32}]}}}}}}},"signatures":{"function":[{"signature":"activationTime()","signatureHash4":"0xda4493f6","signatureHash32":"0xda4493f6a0eef487b3c3f33480a88b91262248cff2ea748f7fd8f9e4ca4f1dc7"},{"signature":"allowance(address,address)","signatureHash4":"0xdd62ed3e","signatureHash32":"0xdd62ed3e90e97b3d417db9c0c7522647811bafca5afc6694f143588d255fdfb4"},{"signature":"approve(address,uint256)","signatureHash4":"0x095ea7b3","signatureHash32":"0x095ea7b334ae44009aa867bfb386f5c3b4b443ac6f0ee573fa91c4608fbadfba"},{"signature":"asset()","signatureHash4":"0x38d52e0f","signatureHash32":"0x38d52e0f1dbe7a70d1f1bbce52487d111fd5a226368cd8ae0e1fc641c0299139"},{"signature":"balanceOf(address)","signatureHash4":"0x70a08231","signatureHash32":"0x70a08231b98ef4ca268c9cc3f6b4590e4bfec28280db06bb5d45e689f2a360be"},{"signature":"burnAsset(uint256)","signatureHash4":"0x8f08d44d","signatureHash32":"0x8f08d44db0c7a2f38b1488e06c6ad97e086acac16157215b4804403752334ae6"},{"signature":"cancelScheduledUpgrade()","signatureHash4":"0x97379d64","signatureHash32":"0x97379d641a163fe02cc1515aa05d6290066934b27ae2601147a09a41ff16c50f"},{"signature":"convertToAssets(uint256)","signatureHash4":"0x07a2d13a","signatureHash32":"0x07a2d13addb87fe4b871c7a7ed785ea40eb373aa4328e5835df32153f89e2be7"},{"signature":"convertToShares(uint256)","signatureHash4":"0xc6e6f592","signatureHash32":"0xc6e6f5920ab9d3ed18e775f95f68b651e74148ef95e22e169f51deec917a7357"},{"signature":"cooldownAssets(uint256,address)","signatureHash4":"0xd50655b0","signatureHash32":"0xd50655b0f4889dd712afced09b829d1926777006692263628bdc5dfd9adf6010"},{"signature":"cooldownDuration()","signatureHash4":"0x35269315","signatureHash32":"0x3526931599e185a3c51af704e3f693d257ae2223239aab0fc9b92482dd2bed2e"},{"signature":"cooldowns(address)","signatureHash4":"0x01320fe2","signatureHash32":"0x01320fe2e3a70ea9ce6df865cca2f934d5415bc45f90f93f1dc3ebe62e548b3f"},{"signature":"cooldownShares(uint256,address)","signatureHash4":"0xa2af4900","signatureHash32":"0xa2af49007a36bdbed40ac19cd5352a45858a58f3d576def66a363b37a00e867d"},{"signature":"coverageRatio()","signatureHash4":"0xf812fa70","signatureHash32":"0xf812fa7052e5d14b2b2790c0f9a95d1e5021b42a2cdf1d8e9691e1d4660d8778"},{"signature":"decimals()","signatureHash4":"0x313ce567","signatureHash32":"0x313ce567add4d438edf58b94ff345d7d38c45b17dfc0f947988d7819dca364f9"},{"signature":"DEFAULT_UPGRADE_DELAY()","signatureHash4":"0x42e71596","signatureHash32":"0x42e715962c20c5dc4a18b8ef32e0641d47525dd6e00de592b0329cfdbcda70dd"},{"signature":"depositsEnabled()","signatureHash4":"0x5392fd1c","signatureHash32":"0x5392fd1c5efa87b90032b4aa31ef610b108bddedd2b2e4e8200bfecbebf79fc4"},{"signature":"deposit(uint256,address)","signatureHash4":"0x6e553f65","signatureHash32":"0x6e553f653991036c188afcef45e14f9ecb45269ff9c675358bbb3a2eeb78e03b"},{"signature":"feeSilo()","signatureHash4":"0x9dc10366","signatureHash32":"0x9dc1036626b43f709abd7d9b6abf101048ce0debb79268f3ad5b9fb080407957"},{"signature":"initialize(address,address,address,string,string)","signatureHash4":"0x83b43589","signatureHash32":"0x83b43589a360c2994d87913b7e58808fe8ee75bb458c464bdc9904ce75f50069"},{"signature":"lastDistributionTimestamp()","signatureHash4":"0x20950933","signatureHash32":"0x209509339e53028c84cb7dc38e373075912bd03f626638942e59eadbca4fcd15"},{"signature":"MAX_COOLDOWN_DURATION()","signatureHash4":"0x1e9049cf","signatureHash32":"0x1e9049cff97453e1970fa0b0a553d551ab241d773c79906152af88368095285b"},{"signature":"maxDeposit(address)","signatureHash4":"0x402d267d","signatureHash32":"0x402d267d68336aa646ef8ec29881846fe65b505496b0e3c0d66c3c71ebca0b9d"},{"signature":"maxMint(address)","signatureHash4":"0xc63d75b6","signatureHash32":"0xc63d75b6db33f8f33f081cb1034d0189537c4967e609cbdbd35a6ac96a38dbce"},{"signature":"maxRedeem(address)","signatureHash4":"0xd905777e","signatureHash32":"0xd905777e6188a52d95537f77f9293d7c55ab6da19483be4a797af4b2329d6078"},{"signature":"maxWithdraw(address)","signatureHash4":"0xce96cb77","signatureHash32":"0xce96cb771ee0ee5438eec17718897557e7db15d685a5c83b309cbd37b191b8c4"},{"signature":"MIN_SHARES()","signatureHash4":"0x1fcd3080","signatureHash32":"0x1fcd3080aebb75a91f9acc75ff5cb93d98694a9e6ae5558020e61c604d1ebfec"},{"signature":"mintRewards(uint256)","signatureHash4":"0x4828ced9","signatureHash32":"0x4828ced93735f8ff86c494e17925c1c783995a55835e1b8489e345d822f30c10"},{"signature":"mint(uint256,address)","signatureHash4":"0x94bf804d","signatureHash32":"0x94bf804d99f2e506274f8f54327419cf422bd9efa05b9d7afe19d8049dcab16d"},{"signature":"name()","signatureHash4":"0x06fdde03","signatureHash32":"0x06fdde0383f15d582d1a74511486c9ddf862a882fb7904b3d9fe9b8b8e58a796"},{"signature":"owner()","signatureHash4":"0x8da5cb5b","signatureHash32":"0x8da5cb5b36e7f68c1d2e56001220cdbdd3ba2616072f718acfda4a06441a807d"},{"signature":"pendingImplementation()","signatureHash4":"0x396f7b23","signatureHash32":"0x396f7b23b215d2e0cfaa3ce7901361527369c05a2fbc1f201ddada746772da2e"},{"signature":"previewDeposit(uint256)","signatureHash4":"0xef8b30f7","signatureHash32":"0xef8b30f73f706809e695608f776076874a713cf88edd86595a08e925f20c217f"},{"signature":"previewMint(uint256)","signatureHash4":"0xb3d7f6b9","signatureHash32":"0xb3d7f6b9638bbc33e68026f247be37f99ef5e7a0a876c11b709f75b175ec170d"},{"signature":"previewRedeem(uint256)","signatureHash4":"0x4cdad506","signatureHash32":"0x4cdad506b0d2802827e85739d7f82f09a428af7a9aa4806240ca073483c7fa7b"},{"signature":"previewWithdraw(uint256)","signatureHash4":"0x0a28a477","signatureHash32":"0x0a28a477d2fbe6a0242a8363413ce82b248f4001016791c1a6be68e82529ff3e"},{"signature":"proxiableUUID()","signatureHash4":"0x52d1902d","signatureHash32":"0x52d1902ddf94a87b87c42e6ab3aff7da3c30beb57dc65dd86cb2543522a55a4c"},{"signature":"redeem(uint256,address,address)","signatureHash4":"0xba087652","signatureHash32":"0xba087652ef750b77b3f3b86ecd8aac56de04fbc0d6751abdd0992cabce379054"},{"signature":"renounceOwnership()","signatureHash4":"0x715018a6","signatureHash32":"0x715018a616b5f2044428f6fadb7deef4ce9ca76ef60ea57978964ad137bbe7ae"},{"signature":"rescueTokens(address,uint256,address)","signatureHash4":"0xb37fd190","signatureHash32":"0xb37fd190a105e8bb04a9e32cb099fa0bf37e4c59e0eaa77d493cff278f7c324f"},{"signature":"rewarder()","signatureHash4":"0xdcc3e06e","signatureHash32":"0xdcc3e06e1da474b78adce6c87fb01183053156e51d5e26847ee9f46e94d0d897"},{"signature":"scheduleUpgrade(address)","signatureHash4":"0x0c80447a","signatureHash32":"0x0c80447a89dfa2c7fb9c043af8c0a094cf7eb1bc5c296dacf2677b527c4cd78a"},{"signature":"setCooldownDuration(uint24)","signatureHash4":"0xce23eb3c","signatureHash32":"0xce23eb3c92c29168562a1d02629658f35eee266742605ec156e0111a63857935"},{"signature":"setCoverageRatio(uint256)","signatureHash4":"0x5a639912","signatureHash32":"0x5a6399127ff92d627344975bfb83c63c92832df4dd801ed204f1eb74ca86f243"},{"signature":"setFeeSilo(address)","signatureHash4":"0xd87c2867","signatureHash32":"0xd87c286799a282501f90a78e71498bdc7488f02f8f855dd384686af7b6a82a08"},{"signature":"setRewarder(address)","signatureHash4":"0x3a6462e4","signatureHash32":"0x3a6462e4f1dbadba017f37c6c40a18e8be4c0ea6e515ac285edf3291c8a394ce"},{"signature":"setSilo(address)","signatureHash4":"0x15715313","signatureHash32":"0x15715313f9e1f9ae295527772d0deb2f14582488cdd0a631f9d565c0bb861ea0"},{"signature":"setTaxRate(uint16)","signatureHash4":"0xa63a25f6","signatureHash32":"0xa63a25f6300553b987b1fb9c800e1e6cdeeb698003cc4f03ed070aacc35a8cb2"},{"signature":"setUpgradeDelay(uint256)","signatureHash4":"0x9606d201","signatureHash32":"0x9606d2015afe077411dad44895c730bff7d55bf72e1f83bf44581618118e56a7"},{"signature":"silo()","signatureHash4":"0xeb3beb29","signatureHash32":"0xeb3beb29c3c2dccb6b145b898590d6b6665d4502478a9a3377f552333597e434"},{"signature":"symbol()","signatureHash4":"0x95d89b41","signatureHash32":"0x95d89b41e2f5f391a79ec54e9d87c79d6e777c63e32c28da95b4e9e4a79250ec"},{"signature":"taxRate()","signatureHash4":"0x771a3a1d","signatureHash32":"0x771a3a1db26aa558ca8e4b1d3ae6bfc63a89ef2bcc651daa1bb6b80a939c92b6"},{"signature":"toggleDeposits()","signatureHash4":"0xd907813c","signatureHash32":"0xd907813ca9e7bc72ab8abb4821be17bb8985598946a31735aad4d5a7dd391387"},{"signature":"totalAssets()","signatureHash4":"0x01e1d114","signatureHash32":"0x01e1d114555339877359e7bf87ceaa25576f6f649af8416cb9480f56ce6774f0"},{"signature":"totalSupply()","signatureHash4":"0x18160ddd","signatureHash32":"0x18160ddd7f15c72528c2f94fd8dfe3c8d5aa26e2c50c7d81f4bc7bee8d4b7932"},{"signature":"transfer(address,uint256)","signatureHash4":"0xa9059cbb","signatureHash32":"0xa9059cbb2ab09eb219583f4a59a5d0623ade346d962bcd4e46b11da047c9049b"},{"signature":"transferFrom(address,address,uint256)","signatureHash4":"0x23b872dd","signatureHash32":"0x23b872dd7302113369cda2901243429419bec145408fa8b352b3dd92b66c680b"},{"signature":"transferOwnership(address)","signatureHash4":"0xf2fde38b","signatureHash32":"0xf2fde38b092330466c661fc723d5289b90272a3e580e3187d1d7ef788506c557"},{"signature":"unstake(address)","signatureHash4":"0xf2888dbb","signatureHash32":"0xf2888dbbb28494a57963b14340157c06ae31f99a08b1c349673e4a5ea3324f07"},{"signature":"updateExistingCooldown(address,uint104)","signatureHash4":"0xae3dc068","signatureHash32":"0xae3dc0689bee47da32f511aeb8a6a724e6faaf4467bfbd5c159362d13aa1e132"},{"signature":"upgradeDelay()","signatureHash4":"0x7e48d4ea","signatureHash32":"0x7e48d4ea03799c698e1d1b8115f7090abc580044e6986218b0b79be7ac270c31"},{"signature":"UPGRADE_INTERFACE_VERSION()","signatureHash4":"0xad3cb1cc","signatureHash32":"0xad3cb1cc5c2df3b903ea43f30f77a80ecfeefbed7932a4a8e68c92af99e41dfd"},{"signature":"upgradeToAndCall(address,bytes)","signatureHash4":"0x4f1ef286","signatureHash32":"0x4f1ef2866b98625bdfefae89411f7a82754ac4089eff8e78c8832329a538337f"},{"signature":"withdraw(uint256,address,address)","signatureHash4":"0xb460af94","signatureHash32":"0xb460af94a08911df9ce375fb2a190ee15b3a9dfdda8ede7986fb72478f042661"}],"event":[{"signature":"Approval(address,address,uint256)","signatureHash4":"0x8c5be1e5","signatureHash32":"0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925"},{"signature":"AssetBurned(uint256)","signatureHash4":"0x23c8e7ec","signatureHash32":"0x23c8e7ecf38ad1e9e1639dfb4b258fc9942ae76b580d2ba43c4a73b9291812c9"},{"signature":"CooldownDurationUpdated(uint24,uint24)","signatureHash4":"0x180eacdf","signatureHash32":"0x180eacdf7dbaeecaa983d93173b4285db2f2c0de0044697e1f932bbbb73dcaa6"},{"signature":"CooldownEndtimeUpdated(address,uint256,uint256)","signatureHash4":"0x4590c205","signatureHash32":"0x4590c2052b5ebf4a0a703688d2a793d162b6925a337b78387018d7c20ef4ed2e"},{"signature":"CoverageRatioUpdated(uint256)","signatureHash4":"0xdf2cd4b6","signatureHash32":"0xdf2cd4b648795c20aa1aeba11f8ca0264b6ac306acecd2fd590f3c573fe7a5f8"},{"signature":"Deposit(address,address,uint256,uint256)","signatureHash4":"0xdcbc1c05","signatureHash32":"0xdcbc1c05240f31ff3ad067ef1ee35ce4997762752e3a095284754544f4c709d7"},{"signature":"DepositsToggled(bool)","signatureHash4":"0x79a0d73b","signatureHash32":"0x79a0d73b50e293c1e17b973f07d567c5a14399afb5e2373c44a82e9f9109d716"},{"signature":"FeeSiloUpdated(address)","signatureHash4":"0xdb8167fc","signatureHash32":"0xdb8167fc515fc9095f0a3a91bcd16cf7f1a9b3cc52ebad83691f81180d5098a5"},{"signature":"Initialized(uint64)","signatureHash4":"0xc7f505b2","signatureHash32":"0xc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2"},{"signature":"LockedAmountRedistributed(address,address,uint256)","signatureHash4":"0xb8ef21f2","signatureHash32":"0xb8ef21f2b52f8ca740012254a6b10f17d2fd6e589f97ebf401fde0e8b9218937"},{"signature":"msUSDSiloUpdated(address)","signatureHash4":"0x6b49d24d","signatureHash32":"0x6b49d24dd3285d61bdc40376f699105de0c026f54ed60756482d0f20c0b8abea"},{"signature":"OwnershipTransferred(address,address)","signatureHash4":"0x8be0079c","signatureHash32":"0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0"},{"signature":"RewarderUpdated(address)","signatureHash4":"0x47c9042c","signatureHash32":"0x47c9042c3be42a955f60f9b75006522826af1a3bed83e26646997d3bcccda77c"},{"signature":"RewardsReceived(uint256)","signatureHash4":"0xbb28dd7c","signatureHash32":"0xbb28dd7cd6be6f61828ea9158a04c5182c716a946a6d2f31f4864edb87471aa6"},{"signature":"SiloUpdated(address,address)","signatureHash4":"0xf3309322","signatureHash32":"0xf3309322cd52063d1395ebedfa4814abba7e23b1250604952aaa7c82851c085c"},{"signature":"TaxRateUpdated(uint16)","signatureHash4":"0xc806a10d","signatureHash32":"0xc806a10dd41921869155255a462a80195a7bfeb01e4f3431e3a43bdf80e4baa0"},{"signature":"Transfer(address,address,uint256)","signatureHash4":"0xddf252ad","signatureHash32":"0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef"},{"signature":"Unstake(address,address,uint256,uint256)","signatureHash4":"0x18edd09e","signatureHash32":"0x18edd09e80386cd99df397e2e0d87d2bb259423eae08645e776321a36fe680ef"},{"signature":"UpgradeCanceled(address)","signatureHash4":"0xd947ef8b","signatureHash32":"0xd947ef8b4f7aabc4b6a79ec773516b48d12ac25da7af787b659083c6af28cb42"},{"signature":"Upgraded(address)","signatureHash4":"0xbc7cd75a","signatureHash32":"0xbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b"},{"signature":"UpgradeDelayUpdated(uint256,uint256)","signatureHash4":"0x460e10c8","signatureHash32":"0x460e10c89f7fa39a35b0b6bd68e6a834bc423a08a5b10fc1bda0dff3276e2694"},{"signature":"UpgradeScheduled(address,uint256)","signatureHash4":"0xe1009627","signatureHash32":"0xe1009627653eb47f7d0f3b4435749f7984a803c21f84a076cc4dcb0412cf066f"},{"signature":"Withdraw(address,address,address,uint256,uint256)","signatureHash4":"0xfbde797d","signatureHash32":"0xfbde797d201c681b91056529119e0b02407c7bb96a4a2c75c01fc9667232c8db"}],"error":[{"signature":"AddressEmptyCode(address)","signatureHash4":"0x9996b315","signatureHash32":"0x9996b315c842ff135b8fc4a08ad5df1c344efbc03d2687aecc0678050d2aac89"},{"signature":"AddressInsufficientBalance(address)","signatureHash4":"0xcd786059","signatureHash32":"0xcd7860599b9fd41bcf04bec8b7a59cb8b83ebbb59480bead3f13259df2ace421"},{"signature":"AlreadySet()","signatureHash4":"0xa741a045","signatureHash32":"0xa741a0456e52b90bd22850f10558d4a38cdc2876b51fbd4ffc1b587676dbc61c"},{"signature":"CooldownNotFinished(uint256,uint256)","signatureHash4":"0x922bceef","signatureHash32":"0x922bceefa5a2dc33d08d961bdae99d7a5002a1cc2c0667ddbe9fbf5f945102fd"},{"signature":"CoverageRatioZero()","signatureHash4":"0xf9f35e46","signatureHash32":"0xf9f35e46bb17ec85e2da06399d3ba6eb8d46c8cd5a4227e39583ddfef1e6a9e7"},{"signature":"DelayNotPassed()","signatureHash4":"0xc806ff6e","signatureHash32":"0xc806ff6ee02a3e548c635fe67d1ff02b700c793161d27d4e0a3aabb136cf1098"},{"signature":"DepositsDisabled()","signatureHash4":"0x717a1648","signatureHash32":"0x717a16489831f10040458886f0f4947e8d82dee5a3890d9e602f419208260f07"},{"signature":"ERC1967InvalidImplementation(address)","signatureHash4":"0x4c9c8ce3","signatureHash32":"0x4c9c8ce3ceb3130f17f7cdba48d89b5b0129f266a8bac114e6e315a41879b617"},{"signature":"ERC1967NonPayable()","signatureHash4":"0xb398979f","signatureHash32":"0xb398979fa84f543c8e222f17890372c487baf85e062276c127fef521eea7224b"},{"signature":"ERC20InsufficientAllowance(address,uint256,uint256)","signatureHash4":"0xfb8f41b2","signatureHash32":"0xfb8f41b23e99d2101d86da76cdfa87dd51c82ed07d3cb62cbc473e469dbc75c3"},{"signature":"ERC20InsufficientBalance(address,uint256,uint256)","signatureHash4":"0xe450d38c","signatureHash32":"0xe450d38cd8d9f7d95077d567d60ed49c7254716e6ad08fc9872816c97e0ffec6"},{"signature":"ERC20InvalidApprover(address)","signatureHash4":"0xe602df05","signatureHash32":"0xe602df05cc75712490294c6c104ab7c17f4030363910a7a2626411c6d3118847"},{"signature":"ERC20InvalidReceiver(address)","signatureHash4":"0xec442f05","signatureHash32":"0xec442f055133b72f3b2f9f0bb351c406b178527de2040a7d1feb4e058771f613"},{"signature":"ERC20InvalidSender(address)","signatureHash4":"0x96c6fd1e","signatureHash32":"0x96c6fd1edd0cd6ef7ff0ecc0facdf53148dc0048b57fe58af65755250a7a96bd"},{"signature":"ERC20InvalidSpender(address)","signatureHash4":"0x94280d62","signatureHash32":"0x94280d62c347d8d9f4d59a76ea321452406db88df38e0c9da304f58b57b373a2"},{"signature":"ERC4626ExceededMaxDeposit(address,uint256,uint256)","signatureHash4":"0x79012fb2","signatureHash32":"0x79012fb2819fcdc1de669c08773dbcd6bdc757862642f75fb1c584dadf259dfe"},{"signature":"ERC4626ExceededMaxMint(address,uint256,uint256)","signatureHash4":"0x284ff667","signatureHash32":"0x284ff667dc615a39438518c22e8955b9470327d9de8a4d7e21c926b260d65176"},{"signature":"ERC4626ExceededMaxRedeem(address,uint256,uint256)","signatureHash4":"0xb94abeec","signatureHash32":"0xb94abeec0557d36b5f0bc8f115deec7b184dcbff94ac66d55e37c8f301e75269"},{"signature":"ERC4626ExceededMaxWithdraw(address,uint256,uint256)","signatureHash4":"0xfe9cceec","signatureHash32":"0xfe9cceec2bd1f9b68641914cc354eacaeb1cc2169f5ba0639930f241e87142f0"},{"signature":"ExcessiveRedeemAmount()","signatureHash4":"0x63345388","signatureHash32":"0x633453882c442000987e2c3ce928d3582f4b31bf92bfedd21795f96973181ccc"},{"signature":"ExcessiveWithdrawAmount()","signatureHash4":"0xdf53dde2","signatureHash32":"0xdf53dde2e4a5593b1ed40565e1d2289c6b4923cc15532a9f14d1c43818582998"},{"signature":"FailedInnerCall()","signatureHash4":"0x1425ea42","signatureHash32":"0x1425ea42df7c932537f94e8b917ea9c5931f140fb6e8098822ef05dc56222ca9"},{"signature":"ImplementationMismatch()","signatureHash4":"0x2ca8ba9e","signatureHash32":"0x2ca8ba9e96bbd9f1b302a5c242c8b955e6cadca56ad43e4e96c6c06f4756352d"},{"signature":"InvalidAmount()","signatureHash4":"0x2c5211c6","signatureHash32":"0x2c5211c6cb73b16841677a034781e8336d18ce66df858e54153c86854e11f7b8"},{"signature":"InvalidCooldown()","signatureHash4":"0xe8ebb09a","signatureHash32":"0xe8ebb09ab4cdb0e27c4f9a3e120185f8c10ec106a8072b351b8c36961835b805"},{"signature":"InvalidInitialization()","signatureHash4":"0xf92ee8a9","signatureHash32":"0xf92ee8a957075833165f68c320933b1a1294aafc84ee6e0dd3fb178008f9aaf5"},{"signature":"InvalidRatio()","signatureHash4":"0x648564d3","signatureHash32":"0x648564d30353f59fffa3a83ca2af1eb61f1bc5278aee48327e5101c81cc1b9f3"},{"signature":"InvalidToken()","signatureHash4":"0xc1ab6dc1","signatureHash32":"0xc1ab6dc1ba32e6d4b79780a4020b53da94263929d15c137a3e67a3d08f7d66c2"},{"signature":"InvalidZeroAddress()","signatureHash4":"0xf6b2911f","signatureHash32":"0xf6b2911f9215394c433e35003cff21befef7b60bc0c7e08dfe02af2c08ced6f9"},{"signature":"MathOverflowedMulDiv()","signatureHash4":"0x227bc153","signatureHash32":"0x227bc15363d4cef823f97dfe7ee13e9d7fd5d6baf94ddad1b9023fc7b1b91154"},{"signature":"MinDelayNotMet()","signatureHash4":"0xa9656189","signatureHash32":"0xa9656189a667eebd82e23b0a33ba82bcc460b0f7aef1d770445d51ff99d64ed7"},{"signature":"MinSharesViolation()","signatureHash4":"0xb4b836aa","signatureHash32":"0xb4b836aa4cca9ea6bfdb07e681b273d51a6d678406a512893a9ec36516f1b07e"},{"signature":"NotAuthorized(address)","signatureHash4":"0x4a0bfec1","signatureHash32":"0x4a0bfec1fa3ea832f47a765e92fe13fe78ddadee056368ea6e89037b3cf70498"},{"signature":"NothingToUnstake()","signatureHash4":"0x845edc6a","signatureHash32":"0x845edc6a82c1217986d89dbb678ba9366a3a5c3bbda454d956455d9bcd592238"},{"signature":"NotInitializing()","signatureHash4":"0xd7e6bcf8","signatureHash32":"0xd7e6bcf8597daa127dc9f0048d2f08d5ef140a2cb659feabd700beff1f7a8302"},{"signature":"NullAddress()","signatureHash4":"0xe99d5ac5","signatureHash32":"0xe99d5ac5316aff51656d01f8acc0553c7098b8c26059d68525bf995e4e5579f9"},{"signature":"OperationNotAllowed()","signatureHash4":"0xf50a3b52","signatureHash32":"0xf50a3b521bf1cd0dd9a39368179110d8c8ecaf558e78de8f40d83d03661e85f4"},{"signature":"OwnableInvalidOwner(address)","signatureHash4":"0x1e4fbdf7","signatureHash32":"0x1e4fbdf7f3ef8bcaa855599e3abf48b232380f183f08f6f813d9ffa5bd585188"},{"signature":"OwnableUnauthorizedAccount(address)","signatureHash4":"0x118cdaa7","signatureHash32":"0x118cdaa7a341953d1887a2245fd6665d741c67c8c50581daa59e1d03373fa188"},{"signature":"ReentrancyGuardReentrantCall()","signatureHash4":"0x3ee5aeb5","signatureHash32":"0x3ee5aeb571de7fc460830b4d0017439a1ca56fb0bc39062227ade4fe4a24c1ca"},{"signature":"SafeERC20FailedOperation(address)","signatureHash4":"0x5274afe7","signatureHash32":"0x5274afe73c98b4749fc91ffae6b7b574e7842cb2144a159e9377a5f20b32edf9"},{"signature":"SlippageExceeded()","signatureHash4":"0x8199f5f3","signatureHash32":"0x8199f5f3ab8ca283f5170681536d2364d1b994855ca1322700140c5db15cd48c"},{"signature":"UUPSUnauthorizedCallContext()","signatureHash4":"0xe07c8dba","signatureHash32":"0xe07c8dba242a06571ac65fe4bbe20522c9fb111cb33599b799ff8039c1ed18f4"},{"signature":"UUPSUnsupportedProxiableUUID(bytes32)","signatureHash4":"0xaa1d49a4","signatureHash32":"0xaa1d49a4c084bfa9aeeee2a0be65267a7f19ba7e1476b114dac513d2c14cb563"}]},"proxyResolution":{"isProxy":false,"proxyType":null,"implementations":[]},"match":"match","chainId":"1","address":"0x843E3a09675E5Fa00951c55727f8b0f2076C0D2c"}