Closed xhliu closed 2 years ago
external function with return -> public function with verifying returned value
function get() external returns (bool) {
return value;
}
sol -> sCrypt
public function get(SigHashPreimage txPreimage, bool retVal) : {
require(this.value == retVal);
require(this.propagateState(txPreimage));
}