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
// TODO: add callback IPolicyHolder.policyActivated() if applicable
Even though functions like the above are written in CEI, they might not be when they are called from an upper level contract (eg. the Product).
We recommend Etherisc to be careful with any such interactions, the above being a uttermost dangerous one (others are often a bit less dangerous), and ensure that where these functions are being used (eg. within the product), that these interactions occur last.
made it more flexible for components to support custom process flows by splitting policy creation and token collection as well as splitting bundle creation and initial staking into two separate calls.
gif-next/contracts/product/PolicyService.sol
Line 236 in 401ed87
Even though functions like the above are written in CEI, they might not be when they are called from an upper level contract (eg. the Product).
We recommend Etherisc to be careful with any such interactions, the above being a uttermost dangerous one (others are often a bit less dangerous), and ensure that where these functions are being used (eg. within the product), that these interactions occur last.
The text was updated successfully, but these errors were encountered: