-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[main][feat] Upgrade executor #140
Conversation
@@ -596,4 +618,9 @@ contract PCSV3Executor01 is Executor { | |||
vaultOracle = PancakeV3VaultOracle(_vaultOracle); | |||
emit LogSetVaultOracle(_vaultOracle); | |||
} | |||
|
|||
function setSkipExposureChecks(address _vaultToken, bool _skip) external onlyOwner { | |||
skipExposureChecks[_vaultToken] = _skip; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
might be a good ideal to check if the _vaultToken actually exist.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good to have but not necessary. If vaultToken doesn't exist, it would fail during manage anyway.
Description
Why?
ChangeLogs:
Link to story (if available)