-
I am trying to grasp the concept about this line here in the the FundMe.sol contract.
The left part |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
In Solidity, a call (or delegatecall) returns two values that describe the status and result of the call. The first return value is a bool that states whether a call was successful or unsuccessful. The second parameter is the return data of the call, usually labeled data or res. This represents any data returned by the call. You can read more about calls in the docs. Only the bool is stored. This is common if the calling contract does not need or care about the returned value but does care about whether or not the call succeeded. |
Beta Was this translation helpful? Give feedback.
In Solidity, a call (or delegatecall) returns two values that describe the status and result of the call. The first return value is a bool that states whether a call was successful or unsuccessful. The second parameter is the return data of the call, usually labeled data or res. This represents any data returned by the call.
You can read more about calls in the docs.
https://ethereum.stackexchange.com/questions/93938/variables-is-brackets
Only the bool is stored. This is common if the calling contract does not need or care about the returned value but does care about whether or not the call succeeded.