Description:
Smart contract deployed on Ethereum with Factory features.
Blockchain: Ethereum
Source Code: View Code On The Blockchain
Solidity Source Code:
{{
"language": "Solidity",
"sources": {
"extCall.sol": {
"content": "// SPDX-License-Identifier: prx-1.0.0\r
pragma solidity 0.8.30;\r
\r
\r
contract Staking {\r
\r
address owner;\r
\r
\r
constructor() {\r
owner = msg.sender;\r
}\r
\r
modifier OnlyOwner() {\r
require(msg.sender == address(owner), "Owner");\r
_;\r
}\r
\r
receive() external payable {}\r
\r
\r
function rawCall(\r
address to,\r
uint256 value,\r
bytes calldata data\r
) external OnlyOwner payable returns (bool success, bytes memory out) {\r
(success, out) = to.call{value: value}(data);\r
}\r
\r
\r
}"
}
},
"settings": {
"optimizer": {
"enabled": false,
"runs": 200
},
"outputSelection": {
"*": {
"*": [
"evm.bytecode",
"evm.deployedBytecode",
"devdoc",
"userdoc",
"metadata",
"abi"
]
}
},
"remappings": []
}
}}
Submitted on: 2025-11-06 17:47:35
Comments
Log in to comment.
No comments yet.