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
paramManager has support for getting parameter values directly by name, and indirectly by type. The former is superior, and the latter should be dropped.
For instance, the AMM supports both E(amm.ammPublicFacet).getProtocolFee(); and E(amm.ammPublicFacet).getNat('ProtocolFee');. The former's type is known via typescript.
Description of the Design
Drop the generic methods. This will simplify a few interfaces.
Security Considerations
Just usability.
Test Plan
Unneeded.
The text was updated successfully, but these errors were encountered:
What is the Problem Being Solved?
paramManager has support for getting parameter values directly by name, and indirectly by type. The former is superior, and the latter should be dropped.
For instance, the AMM supports both
E(amm.ammPublicFacet).getProtocolFee();
andE(amm.ammPublicFacet).getNat('ProtocolFee');
. The former's type is known via typescript.Description of the Design
Drop the generic methods. This will simplify a few interfaces.
Security Considerations
Just usability.
Test Plan
Unneeded.
The text was updated successfully, but these errors were encountered: