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
The OracleSwapFreezer contract has a check on construction to ensure that the GSM's underlying asset is the same that will be used as oracle for the GSM.
While this check worked initially for regular underlying GSMs, for GSM4626, this check does not work as the underlying might be different: for example, a Static A Token USDC GSM won't have a stataUSDC oracle available, making it impossible to deploy the OracleSwapFreezer.
This check can be removed as the underlying asset might not be the one to be used as an oracle.
The text was updated successfully, but these errors were encountered:
The OracleSwapFreezer contract has a check on construction to ensure that the GSM's underlying asset is the same that will be used as oracle for the GSM.
require(gsm.UNDERLYING_ASSET() == underlyingAsset, 'UNDERLYING_ASSET_MISMATCH');
While this check worked initially for regular underlying GSMs, for GSM4626, this check does not work as the underlying might be different: for example, a Static A Token USDC GSM won't have a stataUSDC oracle available, making it impossible to deploy the OracleSwapFreezer.
This check can be removed as the underlying asset might not be the one to be used as an oracle.
The text was updated successfully, but these errors were encountered: