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
Copy file name to clipboardExpand all lines: contracts/LSP20CallVerification/LSP20CallVerification.sol
+43-49
Original file line number
Diff line number
Diff line change
@@ -20,48 +20,61 @@ import {
20
20
abstractcontractLSP20CallVerification {
21
21
/**
22
22
* @dev Calls {lsp20VerifyCall} function on the logicVerifier.
23
-
* Reverts in case the value returned does not match the success value (lsp20VerifyCall selector)
24
-
* Returns whether a verification after the execution should happen based on the last byte of the returnedStatus
23
+
*
24
+
* @custom:info
25
+
* - Reverts in case the value returned does not match the returned status (lsp20VerifyCall selector).
26
+
* - Returns whether a verification after the execution should happen based on the last byte of the `returnedStatus`.
27
+
* - Reverts with no reason if the data returned by `ILSP20(logicVerifier).lsp20VerifyCall(...)` cannot be decoded (_e.g:_ any other data type besides `bytes4`).
28
+
* See this link for more info: https://forum.soliditylang.org/t/call-for-feedback-the-future-of-try-catch-in-solidity/1497.
* @dev Calls {lsp20VerifyCallResult} function on the logicVerifier.
56
-
* Reverts in case the value returned does not match the success value (lsp20VerifyCallResult selector)
65
+
*
66
+
* @custom:info
67
+
* - Reverts in case the value returned does not match the returned status (lsp20VerifyCallResult selector).
68
+
* - Reverts with no reason if the data returned by `ILSP20(logicVerifier).lsp20VerifyCallResult(...)` cannot be decoded (_e.g:_ any other data type besides `bytes4`).
69
+
* See this link for more info: https://forum.soliditylang.org/t/call-for-feedback-the-future-of-try-catch-in-solidity/1497.
0 commit comments