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
Function call approaches should have the ability to switch on an "allow" or "white" listing of contracts that can call the system or be called by the system. A possible approach would be:
Have a bool destContractAllowListingEnabled
and have a mapping(address => bool) destContractAllowed
By default when the contract is constructed destContractAllowListingEnabled is false. When one or more contracts are added to the allow list, destContractAllowListingEnabled would be set to true.
The ability to remove allowed contracts is required too.
The text was updated successfully, but these errors were encountered:
Function call approaches should have the ability to switch on an "allow" or "white" listing of contracts that can call the system or be called by the system. A possible approach would be:
Have a bool destContractAllowListingEnabled
and have a mapping(address => bool) destContractAllowed
By default when the contract is constructed destContractAllowListingEnabled is false. When one or more contracts are added to the allow list, destContractAllowListingEnabled would be set to true.
The ability to remove allowed contracts is required too.
The text was updated successfully, but these errors were encountered: