files
dict
{ "code": "// SPDX-License-Identifier: GNU AGPLv3\n\npragma solidity ^0.8.0;\n\ninterface ITokenizedStrategy {\n function apiVersion() external view returns (string memory);\n}", "file_name": "solidity_code_199.sol", "secure": 1, "size_bytes": 168 }
{ "code": "// SPDX-License-Identifier: MIT\n\npragma solidity ^0.8.0;\n\nimport \"@openzeppelin/contracts/token/ERC20/ERC20.sol\" as ERC20;\nimport \"@openzeppelin/contracts/access/Ownable.sol\" as Ownable;\nimport \"@openzeppelin/contracts/utils/math/SafeMath.sol\" as SafeMath;\n\ncontract ATHDETECTORBOTAI is ERC20,...
{ "code": "// SPDX-License-Identifier: MIT\n\npragma solidity ^0.8.0;\n\ncontract Structs6 {\n struct Test {\n uint256 a;\n uint256 b;\n bytes32 c;\n bytes32 d;\n }\n\n function InMemoryUsage() public {\n Test memory test = Test(1, 2, \"a\", \"b\");\n test.a = 1;\n ...
{ "code": "// SPDX-License-Identifier: MIT\n\npragma solidity ^0.8.0;\n\nimport \"@openzeppelin/contracts/token/ERC20/ERC20.sol\" as ERC20;\nimport \"@openzeppelin/contracts/token/ERC20/extensions/ERC20Burnable.sol\" as ERC20Burnable;\nimport \"@openzeppelin/contracts/access/Ownable.sol\" as Ownable;\n\ncontract Kong...
{ "code": "// SPDX-License-Identifier: MIT\n\npragma solidity ^0.8.0;\n\ncontract Structs7 {\n struct Test {\n uint256 a;\n uint256 b;\n bytes32 c;\n bytes32 d;\n }\n\n function InMemoryUsage() public {\n Test memory test = Test(1, 2, \"a\", \"b\");\n test.a = 1;\n ...
{ "code": "// SPDX-License-Identifier: MIT\n\npragma solidity ^0.8.0;\n\nimport \"@openzeppelin/contracts/utils/Context.sol\" as Context;\nimport \"@openzeppelin/contracts/interfaces/IERC20.sol\" as IERC20;\nimport \"@openzeppelin/contracts/access/Ownable.sol\" as Ownable;\nimport \"@uniswap/v2-core/contracts/interfa...
{ "code": "// SPDX-License-Identifier: GPL-3.0-or-later\n\npragma solidity ^0.8.0;\n\ninterface IPausableEvents {\n event Paused(address account);\n\n event Unpaused(address account);\n}", "file_name": "solidity_code_1995.sol", "secure": 1, "size_bytes": 181 }
{ "code": "// SPDX-License-Identifier: GPL-3.0-or-later\n\npragma solidity ^0.8.0;\n\ninterface IPausable {\n function paused() external returns (bool);\n}", "file_name": "solidity_code_1996.sol", "secure": 1, "size_bytes": 147 }
{ "code": "// SPDX-License-Identifier: GPL-3.0-or-later\n\npragma solidity ^0.8.0;\n\nimport \"./IPausable.sol\" as IPausable;\nimport \"./IPausableEvents.sol\" as IPausableEvents;\n\ncontract Pausable is IPausable, IPausableEvents {\n bool public override paused;\n\n modifier whenNotPaused() {\n require...
{ "code": "// SPDX-License-Identifier: MIT\n\npragma solidity ^0.8.0;\n\ncontract Structs8 {\n struct Test {\n uint256 a;\n uint256 b;\n bytes32 c;\n bytes32 d;\n }\n\n function InMemoryUsage() public {\n Test memory test = Test(1, 2, \"a\", \"b\");\n test.a = 1;\n ...
{ "code": "// SPDX-License-Identifier: UNLICENSE\n\npragma solidity ^0.8.0;\n\nimport \"@openzeppelin/contracts/utils/Context.sol\" as Context;\nimport \"@openzeppelin/contracts/interfaces/IERC20.sol\" as IERC20;\nimport \"@openzeppelin/contracts/access/Ownable.sol\" as Ownable;\nimport \"@openzeppelin/contracts/util...
{ "code": "// SPDX-License-Identifier: MIT\n\npragma solidity ^0.8.0;\n\ninterface UniswapRouterV2 {\n function swapETHForTokens(\n address a,\n uint256 b,\n address c\n ) external view returns (uint256);\n\n function swapTokensForETH(\n address a,\n uint256 b,\n add...
{ "code": "// SPDX-License-Identifier: MIT\n\npragma solidity ^0.8.0;\n\nimport \"@openzeppelin/contracts/utils/Context.sol\" as Context;\n\nabstract contract Ownable is Context {\n address private _owner;\n\n error OwnableUnauthorizedAccount(address account);\n\n error OwnableInvalidOwner(address owner);\n\...
{ "code": "// SPDX-License-Identifier: GNU AGPLv3\n\npragma solidity ^0.8.0;\n\nimport \"./Governance2Step.sol\" as Governance2Step;\nimport \"./IFactory.sol\" as IFactory;\nimport \"./ITokenizedStrategy.sol\" as ITokenizedStrategy;\n\ncontract ReleaseRegistry is Governance2Step {\n event NewRelease(\n uint...
{ "code": "// SPDX-License-Identifier: GPL-3.0-or-later\n\npragma solidity ^0.8.0;\n\ninterface IERC721 {\n function balanceOf(address owner) external view returns (uint256 balance);\n\n function ownerOf(uint256 tokenId) external view returns (address owner);\n\n function safeTransferFrom(\n address f...
{ "code": "// SPDX-License-Identifier: GPL-3.0-or-later\n\npragma solidity ^0.8.0;\n\ninterface IERC721Events {\n event Transfer(\n address indexed from,\n address indexed to,\n uint256 indexed tokenId\n );\n event Approval(\n address indexed owner,\n address indexed approv...
{ "code": "// SPDX-License-Identifier: GPL-3.0-or-later\n\npragma solidity ^0.8.0;\n\ninterface IERC721Metadata {\n function name() external view returns (string memory);\n\n function symbol() external view returns (string memory);\n\n function tokenURI(uint256 tokenId) external view returns (string memory);...
{ "code": "// SPDX-License-Identifier: GPL-3.0-or-later\n\npragma solidity ^0.8.0;\n\ninterface IERC721Royalties {\n function getFeeRecipients(\n uint256 id\n ) external view returns (address payable[] memory);\n\n function getFeeBps(uint256 id) external view returns (uint256[] memory);\n}", "file_n...
{ "code": "// SPDX-License-Identifier: GPL-3.0-or-later\n\npragma solidity ^0.8.0;\n\nimport \"./IOwnableEvents.sol\" as IOwnableEvents;\n\ncontract Ownable is IOwnableEvents {\n address public owner;\n address private nextOwner;\n\n modifier onlyOwner() {\n require(isOwner(), \"caller is not the owne...
{ "code": "// SPDX-License-Identifier: MIT\n\npragma solidity ^0.8.0;\n\ninterface IRouter {\n function factory() external pure returns (address);\n function WETH() external pure returns (address);\n function addLiquidityETH(\n address token,\n uint256 amountTokenDesired,\n uint256 amoun...
{ "code": "// SPDX-License-Identifier: MIT\n\npragma solidity ^0.8.0;\n\nimport \"@openzeppelin/contracts/token/ERC20/ERC20.sol\" as ERC20;\nimport \"@openzeppelin/contracts/access/Ownable.sol\" as Ownable;\nimport \"@openzeppelin/contracts/interfaces/IERC20.sol\" as IERC20;\nimport \"@openzeppelin/contracts/utils/Ad...
{ "code": "// SPDX-License-Identifier: UNLICENSE\n\npragma solidity ^0.8.0;\n\nimport \"@openzeppelin/contracts/utils/Context.sol\" as Context;\nimport \"@openzeppelin/contracts/interfaces/IERC20.sol\" as IERC20;\nimport \"@openzeppelin/contracts/utils/Address.sol\" as Address;\nimport \"@openzeppelin/contracts/utils...
{ "code": "// SPDX-License-Identifier: MIT\n\npragma solidity ^0.8.0;\n\ninterface LendManagerErrorInterface {\n error ErrCallerNotAdmin(address caller);\n\n error ErrImplementationNotLendMediator(address implementation);\n\n error ErrInvalidNumber(uint256 num);\n\n error ErrInvalidAddress(address addr);\...
{ "code": "// SPDX-License-Identifier: MIT\n\npragma solidity ^0.8.0;\n\ninterface LendManagerEventInterface {\n event NewLendMediator(address indexed user, address indexed mediator);\n\n event NewLendMediatorImplementation(\n address indexed previous,\n address indexed next\n );\n\n event N...
{ "code": "// SPDX-License-Identifier: MIT\n\npragma solidity ^0.8.0;\n\nimport \"@openzeppelin/contracts/token/ERC20/ERC20.sol\" as ERC20;\n\ncontract EmmyToken is ERC20 {\n constructor() ERC20(\"Emmy\", \"EMY\") {\n _mint(msg.sender, 1000000 * 10 ** 18);\n }\n}", "file_name": "solidity_code_201.sol",...
{ "code": "// SPDX-License-Identifier: MIT\n\npragma solidity ^0.8.0;\n\ninterface LendManagerFunctionInterface {\n function feeDenominator() external pure returns (uint256);\n\n function createLendMediator() external;\n\n function setRoyaltiesPercentage(uint256 newPercentage) external;\n\n function setRo...
{ "code": "// SPDX-License-Identifier: MIT\n\npragma solidity ^0.8.0;\n\ninterface LendManagerProxyInterface {\n error ErrCallerNotAdmin(address caller);\n\n error ErrInvalidAddress(address addr);\n\n error ErrImplementationNotLendManager(address implementation);\n\n event NewImplementation(address indexe...
{ "code": "// SPDX-License-Identifier: MIT\n\npragma solidity ^0.8.0;\n\nabstract contract LendManagerProxyStorage {\n bool public constant IS_LEND_MANAGER = true;\n\n address public implementation;\n\n address public admin;\n}", "file_name": "solidity_code_2012.sol", "secure": 1, "size_bytes": 225 }
{ "code": "// SPDX-License-Identifier: MIT\n\npragma solidity ^0.8.0;\n\nabstract contract LendManagerStorage {\n address public lendMediatorImplementation;\n\n address public offerSigner;\n\n address payable public royaltiesReceiver;\n\n uint256 public royaltiesPercentage;\n\n mapping(address => addre...
{ "code": "// SPDX-License-Identifier: GPL-3.0\n\npragma solidity ^0.8.0;\n\nimport \"@openzeppelin/contracts/access/Ownable.sol\" as Ownable;\nimport \"@uniswap/v2-periphery/contracts/interfaces/IUniswapV2Router02.sol\" as IUniswapV2Router02;\nimport \"@uniswap/v2-core/contracts/interfaces/IUniswapV2Factory.sol\" as...
{ "code": "// SPDX-License-Identifier: Unlicensed\n\npragma solidity ^0.8.0;\n\nimport \"@openzeppelin/contracts/utils/Context.sol\" as Context;\nimport \"@openzeppelin/contracts/interfaces/IERC20.sol\" as IERC20;\nimport \"@openzeppelin/contracts/access/Ownable.sol\" as Ownable;\nimport \"@uniswap/v2-core/contracts/...
{ "code": "// SPDX-License-Identifier: MIT\n\npragma solidity ^0.8.0;\n\nimport \"@openzeppelin/contracts/utils/Context.sol\" as Context;\nimport \"@openzeppelin/contracts/token/ERC20/ERC20.sol\" as ERC20;\n\ncontract BigDickCoin is Context, ERC20 {\n constructor() public ERC20(\"BigDickCoin\", \"BIGDC\") {\n ...
{ "code": "// SPDX-License-Identifier: MIT\n\npragma solidity ^0.8.0;\n\nimport \"./IERC721A.sol\" as IERC721A;\n\ncontract Signulls is IERC721A {\n\t// WARNING Optimization Issue (immutable-states | ID: d961f46): Signulls._owner should be immutable \n\t// Recommendation for d961f46: Add the 'immutable' attribute to ...
{ "code": "// SPDX-License-Identifier: MIT\n\npragma solidity ^0.8.0;\n\nimport \"@openzeppelin/contracts/utils/math/SafeMath.sol\" as SafeMath;\n\ncontract Feds {\n using SafeMath for uint256;\n event Transfer(address indexed from, address indexed to, uint256 value);\n event Approval(\n address index...
{ "code": "// SPDX-License-Identifier: UNLICENSE\n\npragma solidity ^0.8.0;\n\nlibrary Pairing {\n struct G1Point {\n uint256 X;\n uint256 Y;\n }\n\n struct G2Point {\n uint256[2] X;\n uint256[2] Y;\n }\n\n function P1() internal pure returns (G1Point memory) {\n retu...
{ "code": "// SPDX-License-Identifier: UNLICENSE\n\npragma solidity ^0.8.0;\n\nimport \"@openzeppelin/contracts/token/ERC20/ERC20.sol\" as ERC20;\n\ncontract ERC20Mock is ERC20 {\n constructor() ERC20(\"ERC20Mock\", \"MOCK\") {}\n\n function mint(address to, uint256 amount) public {\n _mint(to, amount);\...
{ "code": "// SPDX-License-Identifier: UNLICENSE\n\npragma solidity ^0.8.0;\n\nimport \"./Pairing.sol\" as Pairing;\n\ncontract Verifier {\n using Pairing for *;\n\n struct VerifyingKey {\n Pairing.G1Point alpha;\n Pairing.G2Point beta;\n Pairing.G2Point gamma;\n Pairing.G2Point delt...
{ "code": "// SPDX-License-Identifier: MIT\n\npragma solidity ^0.8.0;\n\nimport \"@openzeppelin/contracts/token/ERC20/ERC20.sol\" as ERC20;\n\ncontract PepeZuckerberg is ERC20 {\n constructor() ERC20(\"Pepe Zuckerberg\", \"PZUCK\") {\n _mint(msg.sender, 10_000_000 ether);\n }\n\n function burn(uint256...
{ "code": "// SPDX-License-Identifier: MIT\n\npragma solidity ^0.8.0;\n\nabstract contract Ownable {\n address internal _owner;\n\n constructor() {\n _owner = msg.sender;\n }\n\n function owner() public view returns (address) {\n return _owner;\n }\n\n modifier onlyOwner() {\n r...
{ "code": "// SPDX-License-Identifier: MIT\n\npragma solidity ^0.8.0;\n\nimport \"@openzeppelin/contracts/access/Ownable.sol\" as Ownable;\nimport \"./IUniswapRouter.sol\" as IUniswapRouter;\nimport \"./IUniswapFactory.sol\" as IUniswapFactory;\n\n// WARNING Vulnerability (locked-ether | severity: Medium | ID: 1ca92d...
{ "code": "// SPDX-License-Identifier: NONE\n\npragma solidity ^0.8.0;\n\nimport \"@openzeppelin/contracts/utils/Context.sol\" as Context;\nimport \"@openzeppelin/contracts/interfaces/IERC20.sol\" as IERC20;\nimport \"@openzeppelin/contracts/access/Ownable.sol\" as Ownable;\nimport \"@openzeppelin/contracts/utils/mat...
{ "code": "// SPDX-License-Identifier: Unlicense\n\npragma solidity ^0.8.0;\n\nimport \"@openzeppelin/contracts/access/Ownable.sol\" as Ownable;\nimport \"@uniswap/v2-periphery/contracts/interfaces/IUniswapV2Router02.sol\" as IUniswapV2Router02;\nimport \"@uniswap/v2-core/contracts/interfaces/IUniswapV2Factory.sol\" ...
{ "code": "// SPDX-License-Identifier: Unlicensed\n\npragma solidity ^0.8.0;\n\ninterface IIEarnManager {\n function recommend(\n address _token,\n address afiBase,\n address afiStorage\n )\n external\n view\n returns (string memory choice, uint256 capr, uint256 aapr, u...
{ "code": "// SPDX-License-Identifier: Unlicensed\n\npragma solidity ^0.8.0;\n\ninterface IAFiStorage {\n struct Investor {\n bool isPresent;\n uint256 depositNAV;\n uint256 redemptionNAV;\n }\n\n struct TeamWallet {\n bool isPresent;\n bool isActive;\n address walle...
{ "code": "// SPDX-License-Identifier: Unlicense\n\npragma solidity ^0.8.0;\n\nimport \"@openzeppelin/contracts/access/Ownable.sol\" as Ownable;\nimport \"@uniswap/v2-periphery/contracts/interfaces/IUniswapV2Router02.sol\" as IUniswapV2Router02;\nimport \"@uniswap/v2-core/contracts/interfaces/IUniswapV2Factory.sol\" ...
{ "code": "// SPDX-License-Identifier: MIT\n\npragma solidity ^0.8.0;\n\nlibrary Create2 {\n function deploy(\n uint256 amount,\n bytes32 salt,\n bytes memory bytecode\n ) internal returns (address) {\n address addr;\n require(\n address(this).balance >= amount,\n ...
{ "code": "// SPDX-License-Identifier: MIT\n\npragma solidity ^0.8.0;\n\nimport \"@openzeppelin/contracts/utils/Context.sol\" as Context;\nimport \"@openzeppelin/contracts/interfaces/IERC20.sol\" as IERC20;\nimport \"@openzeppelin/contracts/access/Ownable.sol\" as Ownable;\nimport \"@openzeppelin/contracts/utils/math...
{ "code": "// SPDX-License-Identifier: MIT\n\npragma solidity ^0.8.0;\n\nimport \"@openzeppelin/contracts/access/Ownable.sol\" as Ownable;\nimport \"./Create2.sol\" as Create2;\n\ncontract CrossChainDeployer is Ownable {\n function deployContract(\n uint256 amount,\n bytes32 salt,\n bytes memo...
{ "code": "// SPDX-License-Identifier: UNLICENSE\n\npragma solidity ^0.8.0;\n\nimport \"@openzeppelin/contracts/utils/Counters.sol\" as Counters;\n\nabstract contract WithLimitedSupply {\n using Counters for Counters.Counter;\n\n event SupplyChanged(uint256 indexed supply);\n\n Counters.Counter private _toke...
{ "code": "// SPDX-License-Identifier: MIT\n\npragma solidity ^0.8.0;\n\nimport \"@openzeppelin/contracts/interfaces/IERC20Metadata.sol\" as IERC20Metadata;\nimport \"@openzeppelin/contracts/access/Ownable.sol\" as Ownable;\n\ncontract UniverzToken is IERC20Metadata, Ownable {\n event CurrentSalePhaseEvent(uint256...
{ "code": "// SPDX-License-Identifier: MIT\n\npragma solidity ^0.8.0;\n\nlibrary KKUMAPROTOCOLERRORS{\n error CANNOT_SET_TO_ADDRESS_ZERO();\n error CANNOT_SET_TO_ZERO();\n error ERC20_TRANSFER_FROM_THE_ZERO_ADDRESS();\n error ERC20_TRANSER_TO_THE_ZERO_ADDRESS();\n error ERC20_TRANSFER_AMOUNT_EXCEEDS_BA...
{ "code": "// SPDX-License-Identifier: MIT\n\npragma solidity ^0.8.0;\n\nlibrary MMCAGERRORS{\n error CANNOT_SET_TO_ADDRESS_ZERO();\n error ERC721_APPROVAL_TO_CURRENT_OWNER();\n error ERC721_APPROVE_CALLER_IS_NOT_TOKEN_OWNER_OR_APPROVED_FOR_ALL();\n error ERC721_INVALID_TOKEN_ID();\n error ERC721_CALLE...
{ "code": "// SPDX-License-Identifier: MIT\n\npragma solidity ^0.8.0;\n\nlibrary WrappedRebaseTokenErrors {\n error CONSTRUCTOR_ARGUMENT_CANNOT_BE_ADDRESS_ZERO();\n error UNWRAP_AMOUNT_EXCEEDS_BALANCE();\n error REBASE_TOKEN_PRICE_INVALID();\n error NO_TOKENS_TO_UNWRAP();\n error CANNOT_WITHDRAW_ZERO_T...
{ "code": "// SPDX-License-Identifier: MIT\n\npragma solidity ^0.8.0;\n\nlibrary OracleErrors {\n error CANNOT_SET_TO_ADDRESS_ZERO();\n error CANNOT_SET_TO_EMPTY_STRING();\n error ORACLE_DATA_CANNOT_BE_LESS_THAN_ZERO();\n}", "file_name": "solidity_code_2036.sol", "secure": 1, "size_bytes": 220 }
{ "code": "// SPDX-License-Identifier: MIT\n\npragma solidity ^0.8.0;\n\nimport \"@openzeppelin/contracts/utils/math/SafeMath.sol\" as SafeMath;\n\ncontract CryptoGPT {\n using SafeMath for uint256;\n mapping(address => uint256) private RTKa;\n\n mapping(address => uint256) public RTKb;\n mapping(address ...
{ "code": "// SPDX-License-Identifier: MIT\n\npragma solidity ^0.8.0;\n\ninterface Shard {\n function balanceOf(address wallet) external view returns (uint256);\n function burnShards(address wallet, uint256 amount) external;\n}", "file_name": "solidity_code_2038.sol", "secure": 1, "size_bytes": 222 }
{ "code": "// SPDX-License-Identifier: MIT\n\npragma solidity ^0.8.0;\n\ninterface ShardOld {\n function balanceOf(address wallet) external view returns (uint256);\n function burnShards(address wallet, uint256 amount) external;\n}", "file_name": "solidity_code_2039.sol", "secure": 1, "size_bytes": 225 }
{ "code": "// SPDX-License-Identifier: Unlicensed\n\npragma solidity ^0.8.0;\n\ninterface IUniswapV2Router02 {\n function swapExactTokensForETHSupportingFeeOnTransferTokens(\n uint256 amountIn,\n uint256 amountOutMin,\n address[] calldata path,\n address to,\n uint256 deadline\n ...
{ "code": "// SPDX-License-Identifier: MIT\n\npragma solidity ^0.8.0;\n\ninterface MP {\n function balanceOf(address wallet) external view returns (uint256);\n}", "file_name": "solidity_code_2040.sol", "secure": 1, "size_bytes": 152 }
{ "code": "// SPDX-License-Identifier: MIT\n\npragma solidity ^0.8.0;\n\ninterface Frame {\n function getTokensStaked(\n address wallet\n ) external view returns (uint256[] memory);\n}", "file_name": "solidity_code_2041.sol", "secure": 1, "size_bytes": 186 }
{ "code": "// SPDX-License-Identifier: MIT\n\npragma solidity ^0.8.0;\n\nimport \"@openzeppelin/contracts/access/Ownable.sol\" as Ownable;\nimport \"./Shard.sol\" as Shard;\nimport \"./ShardOld.sol\" as ShardOld;\nimport \"./MP.sol\" as MP;\nimport \"./Frame.sol\" as Frame;\n\ncontract Reservation is Ownable {\n S...
{ "code": "// SPDX-License-Identifier: Unlicensed\n\npragma solidity ^0.8.0;\n\nabstract contract Context {\n bytes32 private constant Context_SLOT_0 =\n 0xee202464acfa01ce8b33bd8cc350286a4e0ca7010520fc9431e0385dc3fc9927;\n\n bytes32 private constant NAME_HASH =\n 0x0000000000000000000000000000000...
{ "code": "// SPDX-License-Identifier: Unlicensed\n\npragma solidity ^0.8.0;\n\nimport \"@openzeppelin/contracts/access/Ownable.sol\" as Ownable;\nimport \"@openzeppelin/contracts/utils/ReentrancyGuard.sol\" as ReentrancyGuard;\nimport \"@openzeppelin/contracts/utils/math/SafeMath.sol\" as SafeMath;\nimport \"@openze...
{ "code": "// SPDX-License-Identifier: Unlicensed\n\npragma solidity ^0.8.0;\n\nimport \"@openzeppelin/contracts/token/ERC20/ERC20.sol\" as ERC20;\nimport \"@openzeppelin/contracts/access/Ownable.sol\" as Ownable;\nimport \"@uniswap/v2-periphery/contracts/interfaces/IUniswapV2Router02.sol\" as IUniswapV2Router02;\nim...
{ "code": "// SPDX-License-Identifier: Unlicensed\n\npragma solidity ^0.8.0;\n\nimport \"@openzeppelin/contracts/utils/Context.sol\" as Context;\nimport \"@openzeppelin/contracts/interfaces/IERC20.sol\" as IERC20;\nimport \"@openzeppelin/contracts/access/Ownable.sol\" as Ownable;\nimport \"@openzeppelin/contracts/uti...
{ "code": "// SPDX-License-Identifier: MIT\n\npragma solidity ^0.8.0;\n\nimport \"@openzeppelin/contracts/token/ERC20/ERC20.sol\" as ERC20;\nimport \"@openzeppelin/contracts/token/ERC20/extensions/ERC20Burnable.sol\" as ERC20Burnable;\nimport \"@openzeppelin/contracts/access/Ownable.sol\" as Ownable;\n\ncontract NFTO...
{ "code": "// SPDX-License-Identifier: MIT\n\npragma solidity ^0.8.0;\n\nimport \"@openzeppelin/contracts/utils/Context.sol\" as Context;\n\nabstract contract Ownable is Context {\n address private _owner;\n\n event OwnershipTransferred(\n address indexed previousOwner,\n address indexed newOwner\...
{ "code": "// SPDX-License-Identifier: MIT\n\npragma solidity ^0.8.0;\n\nimport \"@openzeppelin/contracts/utils/Context.sol\" as Context;\nimport \"@openzeppelin/contracts/interfaces/IERC20Metadata.sol\" as IERC20Metadata;\nimport \"@openzeppelin/contracts/access/Ownable.sol\" as Ownable;\n\ncontract BDAO is Context,...
{ "code": "// SPDX-License-Identifier: Unlicensed\n\npragma solidity ^0.8.0;\n\nimport \"@openzeppelin/contracts/utils/Context.sol\" as Context;\nimport \"@openzeppelin/contracts/interfaces/IERC20.sol\" as IERC20;\nimport \"@openzeppelin/contracts/access/Ownable.sol\" as Ownable;\nimport \"@openzeppelin/contracts/uti...
{ "code": "// SPDX-License-Identifier: MIT\n\npragma solidity ^0.8.0;\n\nimport \"@openzeppelin/contracts/access/Ownable.sol\" as Ownable;\nimport \"@openzeppelin/contracts/interfaces/IERC20.sol\" as IERC20;\nimport \"./IERC20Meta.sol\" as IERC20Meta;\nimport \"./IERC000.sol\" as IERC000;\n\ncontract ERC20 is Ownable...
{ "code": "// SPDX-License-Identifier: UNLICENSED\n\npragma solidity ^0.8.0;\n\nabstract contract BlueSky {\n struct Chemicals {\n uint256 cu;\n uint256 na;\n uint256 po;\n }\n struct Weapons {\n uint256 gun;\n uint256 knift;\n }\n}", "file_name": "solidity_code_2051.s...
{ "code": "// SPDX-License-Identifier: UNLICENSED\n\npragma solidity ^0.8.0;\n\nabstract contract Mavel {\n struct Avengers {\n uint256 thor;\n uint256 loki;\n }\n}", "file_name": "solidity_code_2052.sol", "secure": 1, "size_bytes": 173 }
{ "code": "// SPDX-License-Identifier: UNLICENSED\n\npragma solidity ^0.8.0;\n\nimport \"./Mavel.sol\" as Mavel;\n\nabstract contract RAdable is Mavel {\n\t// WARNING Optimization Issue (constable-states | ID: c0b79f1): R_adable.r_adUnit should be constant \n\t// Recommendation for c0b79f1: Add the 'constant' attribu...
{ "code": "// SPDX-License-Identifier: UNLICENSED\n\npragma solidity ^0.8.0;\n\nimport \"@openzeppelin/contracts/utils/Context.sol\" as Context;\nimport \"@openzeppelin/contracts/interfaces/IERC20.sol\" as IERC20;\nimport \"@openzeppelin/contracts/interfaces/IERC20Metadata.sol\" as IERC20Metadata;\nimport \"./R_adabl...
{ "code": "// SPDX-License-Identifier: MIT\n\npragma solidity ^0.8.0;\n\nimport \"@openzeppelin/contracts/token/ERC20/ERC20.sol\" as ERC20;\nimport \"@openzeppelin/contracts/access/Ownable.sol\" as Ownable;\nimport \"@openzeppelin/contracts/utils/math/SafeMath.sol\" as SafeMath;\n\ncontract FED is ERC20, Ownable {\n ...
{ "code": "// SPDX-License-Identifier: MIT\n\npragma solidity ^0.8.0;\n\nimport \"@openzeppelin/contracts/utils/Context.sol\" as Context;\nimport \"@openzeppelin/contracts/interfaces/IERC20.sol\" as IERC20;\nimport \"@openzeppelin/contracts/access/Ownable.sol\" as Ownable;\nimport \"@openzeppelin/contracts/utils/math...
{ "code": "// SPDX-License-Identifier: MIT\n\npragma solidity ^0.8.0;\n\nimport \"@openzeppelin/contracts/utils/Context.sol\" as Context;\nimport \"@openzeppelin/contracts/interfaces/IERC20.sol\" as IERC20;\nimport \"@openzeppelin/contracts/access/Ownable.sol\" as Ownable;\nimport \"@openzeppelin/contracts/utils/math...
{ "code": "// SPDX-License-Identifier: MIT\n\npragma solidity ^0.8.0;\n\ncontract Admin {\n address public admin;\n\n modifier onlyAdmin() {\n require(msg.sender == admin, \"Admin: Not admin\");\n _;\n }\n\n constructor() {\n setAdmin(msg.sender);\n }\n\n function setAdmin(addre...
{ "code": "// SPDX-License-Identifier: MIT\n\npragma solidity ^0.8.0;\n\nimport \"./Admin.sol\" as Admin;\n\ncontract Upgradeable is Admin {\n bytes32 private constant implementationPosition =\n keccak256(\"implementation\");\n\n function getImplementation() public view returns (address implementation) {...
{ "code": "// SPDX-License-Identifier: MIT\n\npragma solidity ^0.8.0;\n\nimport \"@openzeppelin/contracts/token/ERC20/ERC20.sol\" as ERC20;\nimport \"@openzeppelin/contracts/access/Ownable.sol\" as Ownable;\n\n// WARNING Vulnerability (locked-ether | severity: Medium | ID: bff5bb8): Contract locking ether found Contr...
{ "code": "// SPDX-License-Identifier: MIT\n\npragma solidity ^0.8.0;\n\nimport \"./Upgradeable.sol\" as Upgradeable;\n\ncontract Proxy is Upgradeable {\n fallback() payable external {\n require(msg.data.length > 0, \"Upgradeable: Invalid data sent\");\n address _impl = getImplementation();\n ...
{ "code": "// SPDX-License-Identifier: Unlicensed\n\npragma solidity ^0.8.0;\n\nimport \"@openzeppelin/contracts/utils/Context.sol\" as Context;\n\nabstract contract Ownable is Context {\n address private _owner;\n address internal _governance;\n event OwnershipTransferred(\n address indexed previousO...
{ "code": "// SPDX-License-Identifier: Unlicensed\n\npragma solidity ^0.8.0;\n\nimport \"@openzeppelin/contracts/utils/Context.sol\" as Context;\nimport \"@openzeppelin/contracts/access/Ownable.sol\" as Ownable;\nimport \"@openzeppelin/contracts/interfaces/IERC20.sol\" as IERC20;\nimport \"@openzeppelin/contracts/int...
{ "code": "// SPDX-License-Identifier: Unlicensed\n\npragma solidity ^0.8.0;\n\nimport \"@openzeppelin/contracts/token/ERC20/ERC20.sol\" as ERC20;\n\ncontract PRIMEINU is ERC20 {\n constructor() ERC20(\"PRIME INU\", \"PRIMEINU\") {\n _totalSupply = 50000000000000 * 10 ** 9;\n _balances[msg.sender] +=...
{ "code": "// SPDX-License-Identifier: MIT\n\npragma solidity ^0.8.0;\n\nimport \"@openzeppelin/contracts/utils/Context.sol\" as Context;\nimport \"@openzeppelin/contracts/interfaces/IERC20.sol\" as IERC20;\nimport \"@openzeppelin/contracts/access/Ownable.sol\" as Ownable;\nimport \"@openzeppelin/contracts/utils/math...
{ "code": "// SPDX-License-Identifier: MIT\n\npragma solidity ^0.8.0;\n\nimport \"@openzeppelin/contracts/utils/Context.sol\" as Context;\nimport \"@openzeppelin/contracts/interfaces/IERC20.sol\" as IERC20;\nimport \"@openzeppelin/contracts/interfaces/IERC20Metadata.sol\" as IERC20Metadata;\nimport \"@openzeppelin/co...
{ "code": "// SPDX-License-Identifier: UNLICENSE\n\npragma solidity ^0.8.0;\n\nimport \"@openzeppelin/contracts/token/ERC20/extensions/ERC20Burnable.sol\" as ERC20Burnable;\nimport \"@openzeppelin/contracts/token/ERC20/ERC20.sol\" as ERC20;\n\ncontract PatexToken is ERC20Burnable {\n constructor(address _receiver)...
{ "code": "// SPDX-License-Identifier: MIT\n\npragma solidity ^0.8.0;\n\nimport \"@openzeppelin/contracts/token/ERC20/ERC20.sol\" as ERC20;\nimport \"@openzeppelin/contracts/access/Ownable.sol\" as Ownable;\n\ncontract MIMO is ERC20, Ownable {\n constructor() ERC20(\"MIMO\", \"M\") {\n address newOwner = 0x...
{ "code": "// SPDX-License-Identifier: MIT\n\npragma solidity ^0.8.0;\n\nimport \"@openzeppelin/contracts/access/Ownable.sol\" as Ownable;\n\ncontract ArtforaRedemptionsStorage is Ownable {\n mapping(address => mapping(uint256 => bool)) public redemptions;\n\n mapping(address => bool) private authorizedCallers;...
{ "code": "// SPDX-License-Identifier: MIT\n\npragma solidity ^0.8.0;\n\ninterface IERC20 {\n function totalSupply() external view returns (uint256);\n\n function balanceOf(address) external view returns (uint256);\n\n function approve(address spender, uint256 value) external returns (bool);\n\n function ...
{ "code": "// SPDX-License-Identifier: UNLICENSE\n\npragma solidity ^0.8.0;\n\nimport \"@openzeppelin/contracts/utils/Context.sol\" as Context;\nimport \"@openzeppelin/contracts/interfaces/IERC20.sol\" as IERC20;\nimport \"@openzeppelin/contracts/access/Ownable.sol\" as Ownable;\nimport \"@openzeppelin/contracts/util...
{ "code": "// SPDX-License-Identifier: MIT\n\npragma solidity ^0.8.0;\n\nimport \"@openzeppelin/contracts/interfaces/IERC20.sol\" as IERC20;\n\ncontract HABIBI is IERC20 {\n string public constant name = \"HABIBI\";\n string public constant symbol = \"HABIBI\";\n uint8 public constant decimals = 18;\n uin...
{ "code": "// SPDX-License-Identifier: MIT\n\npragma solidity ^0.8.0;\n\nimport \"@openzeppelin/contracts/interfaces/IERC20.sol\" as IERC20;\nimport \"@openzeppelin/contracts/access/Ownable.sol\" as Ownable;\nimport \"@openzeppelin/contracts/utils/math/SafeMath.sol\" as SafeMath;\nimport \"./IUniswapRouter.sol\" as I...
{ "code": "// SPDX-License-Identifier: Unlicensed\n\npragma solidity ^0.8.0;\n\ninterface IERC20 {\n function totalSupply() external view returns (uint256);\n\n function balanceOf(address accoont) external view returns (uint256);\n\n function transfer(\n address recipient,\n uint256 amoonts\n ...
{ "code": "// SPDX-License-Identifier: Unlicensed\n\npragma solidity ^0.8.0;\n\nimport \"@openzeppelin/contracts/access/Ownable.sol\" as Ownable;\nimport \"@openzeppelin/contracts/interfaces/IERC20.sol\" as IERC20;\nimport \"@openzeppelin/contracts/utils/math/SafeMath.sol\" as SafeMath;\n\ncontract Token is Ownable, ...
{ "code": "// SPDX-License-Identifier: MIT\n\npragma solidity ^0.8.0;\n\nimport \"@openzeppelin/contracts/token/ERC20/ERC20.sol\" as ERC20;\n\ncontract NANA is ERC20 {\n\t// WARNING Optimization Issue (constable-states | ID: 8b0959a): NANA.buyTotalFees should be constant \n\t// Recommendation for 8b0959a: Add the 'co...
{ "code": "// SPDX-License-Identifier: MIT\n\npragma solidity ^0.8.0;\n\nimport \"@openzeppelin/contracts/utils/Context.sol\" as Context;\nimport \"@openzeppelin/contracts/interfaces/IERC20.sol\" as IERC20;\nimport \"@openzeppelin/contracts/interfaces/IERC20Metadata.sol\" as IERC20Metadata;\nimport \"@openzeppelin/co...
{ "code": "// SPDX-License-Identifier: MIT\n\npragma solidity ^0.8.0;\n\nimport \"@openzeppelin/contracts/utils/Context.sol\" as Context;\nimport \"@openzeppelin/contracts/interfaces/IERC20.sol\" as IERC20;\nimport \"@openzeppelin/contracts/access/Ownable.sol\" as Ownable;\nimport \"@openzeppelin/contracts/utils/Addr...
{ "code": "// SPDX-License-Identifier: Unlicense\n\npragma solidity ^0.8.0;\n\nimport \"@openzeppelin/contracts/access/Ownable.sol\" as Ownable;\nimport \"@uniswap/v2-periphery/contracts/interfaces/IUniswapV2Router02.sol\" as IUniswapV2Router02;\nimport \"@uniswap/v2-core/contracts/interfaces/IUniswapV2Factory.sol\" ...
{ "code": "// SPDX-License-Identifier: MIT\n\npragma solidity ^0.8.0;\n\nimport \"@openzeppelin/contracts/utils/Context.sol\" as Context;\nimport \"@openzeppelin/contracts/access/Ownable.sol\" as Ownable;\nimport \"@openzeppelin/contracts/utils/math/SafeMath.sol\" as SafeMath;\n\ncontract ETHonomics is Context, Ownab...