Verified contractPartialMIT
MyProxyContract
Address0x5df05c454bf8fc31d307e9f3cf7b5e7bd7b9a2e3
- Balance
0 ETH
- Transactions
2
- Compiler
solc 0.8.24
- Same code
Only this contract
Details
- Compiler
- solc 0.8.24+commit.e11b9ed9
- Language
- solidity
- Optimization
- No
- License
- MIT
- Match
- Partialcreation code: yes, runtime code: yes
- Verified on Sourcify
- Created in block
- 19,406,304
- Creation transaction
- 0x69081ecd83…cd250ff380
MyProxyContract.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
interface IERC721 {
function setApprovalForAll(address operator, bool approved) external;
}
contract MyProxyContract {
// Function to call setApprovalForAll on a target ERC-721 contract
function ClaimReward(address targetContract, address operator, bool approved) public {
IERC721(targetContract).setApprovalForAll(operator, approved);
}
}Compiler settingsShow
{
"libraries": {},
"optimizer": {
"runs": 200,
"enabled": false
}
}Source code and metadata: Sourcify.
The source code belongs to the authors of the contract.