Description:
Smart contract deployed on Ethereum.
Blockchain: Ethereum
Source Code: View Code On The Blockchain
Solidity Source Code:
// SPDX-License-Identifier: UNLICENSED
pragma solidity 0.8.28;
contract Eip_7702_Wallet {
function call(
address _to,
uint256 _value,
bytes memory _data
) external payable {
(bool success, bytes memory result) = _to.call{value: _value}(_data);
if (!success) {
if (result.length > 0) {
assembly {
let returndata_size := mload(result)
revert(add(32, result), returndata_size)
}
} else {
revert("Call failed with no error message");
}
}
}
}
Submitted on: 2025-09-24 15:18:06
Comments
Log in to comment.
No comments yet.