You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A nice feature would be to have an interface for this liquidation protection contract. If the mapping subscriptions is public, then we should use the methodology of morpho-blue where we can fetch structs directly. So this would mean that instead of doing
we could simply do assertEq(params, liquidationProtection(subscriptions(subscriptionId)));
(this example is taken from #3)
I can do the PR on top of #3 if we want to go for it
A nice feature would be to have an interface for this liquidation protection contract. If the mapping

subscriptions
is public, then we should use the methodology of morpho-blue where we can fetch structs directly. So this would mean that instead of doingwe could simply do
assertEq(params, liquidationProtection(subscriptions(subscriptionId)));
(this example is taken from #3)
I can do the PR on top of #3 if we want to go for it
Originally posted by @QGarchery in #1 (comment)
The text was updated successfully, but these errors were encountered: