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 amount to collect is calculated as premiumExpectedAmount - premiumPaidAmount. This will cause a revert in case of insufficient balance on the account. Amount collected should be min(balance, premiumExpectedAmount - premiumPaidAmount)
The text was updated successfully, but these errors were encountered:
In TreasuryModule
gif-contracts/contracts/modules/TreasuryModule.sol
Line 238 in b9af399
the amount to collect is calculated as
premiumExpectedAmount - premiumPaidAmount
. This will cause a revert in case of insufficient balance on the account. Amount collected should bemin(balance, premiumExpectedAmount - premiumPaidAmount)
The text was updated successfully, but these errors were encountered: