input
stringlengths
32
47.6k
output
stringclasses
657 values
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "./Ownable.sol"; import "./Strings.sol"; import "./ERC721Enumerable.sol"; import "./ReentrancyGuard.sol"; interface AttributesInterface { function initAttributes(uint256 tokenId) external; } contract TheGirl is ERC721Enumerable, Ownable, Reent...
These are the vulnerabilities found 1) uninitialized-state with High impact 2) reentrancy-no-eth with Medium impact 3) incorrect-equality with Medium impact 4) weak-prng with High impact 5) unused-return with Medium impact 6) locked-ether with Medium impact
pragma solidity =0.6.6; interface IUniswapV2Factory { event PairCreated(address indexed token0, address indexed token1, address pair, uint); function feeTo() external view returns (address); function feeToSetter() external view returns (address); function getPair(address tokenA, address tokenB) exter...
These are the vulnerabilities found 1) weak-prng with High impact 2) uninitialized-local with Medium impact
//SPDX-License-Identifier: MIT // Partial License: MIT pragma solidity ^0.6.0; /* * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct...
No vulnerabilities found
pragma solidity ^0.4.18; // ---------------------------------------------------------------------------- // 'MoonrakerInu' token contract // // Deployed to : 0xeb1B1a0F7595Ab48b69aaf2dcE2295F922630bb5 // Symbol : MOONRINU // Name : MoonrakerInu // Total supply: 1000000000000000 // Decimals : 18 // // /...
These are the vulnerabilities found 1) locked-ether with Medium impact
/** * Copyright 2017-2020, bZeroX, LLC <https://bzx.network/>. All Rights Reserved. * Licensed under the Apache License, Version 2.0. */ pragma solidity 0.5.17; interface IWeth { function deposit() external payable; function withdraw(uint256 wad) external; } contract IERC20 { string public name; ...
These are the vulnerabilities found 1) uninitialized-state with High impact 2) locked-ether with Medium impact
// SPDX-License-Identifier: MIT pragma solidity >=0.6.0 <0.8.0; /** * @dev Wrappers over Solidity's arithmetic operations with added overflow * checks. * * Arithmetic operations in Solidity wrap on overflow. This can easily result * in bugs, because programmers usually assume that an overflow raises an * error,...
These are the vulnerabilities found 1) unused-return with Medium impact 2) divide-before-multiply with Medium impact 3) delegatecall-loop with High impact
// SPDX-License-Identifier: MIT // File: @openzeppelin/contracts/token/ERC20/IERC20.sol // OpenZeppelin Contracts v4.4.1 (token/ERC20/IERC20.sol) pragma solidity 0.8.7; /** * @dev Interface of the ERC20 standard as defined in the EIP. */ interface IERC20 { /** * @dev Returns the amount of tokens in exi...
These are the vulnerabilities found 1) divide-before-multiply with Medium impact 2) locked-ether with Medium impact
// pseudo-random number generator //SPDX-License-Identifier: LOL™®© pragma solidity ^0.6.6; contract PRNG { uint randNonce = 0; function randMod(uint _modulus) internal returns(uint) { randNonce++; return uint(keccak256(abi.encodePacked(now, msg.sender, randNonce))) % _modulus; } }
These are the vulnerabilities found 1) weak-prng with High impact
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "./ICXDToken.sol"; contract CXDToken is ICXDToken { constructor( string memory _name, string memory _symbol, uint256 _amount ) ERC20(_name, _symbol) { setMaxSupply(_amount * 10**decimals()); _mint(_msgSende...
These are the vulnerabilities found 1) locked-ether with Medium impact
pragma solidity ^0.4.15; /* https://cryptogs.io --Austin Thomas Griffith for ETHDenver ( PS this gas guzzling beast is still unaudited ) */ //adapted from https://github.com/ethereum/EIPs/issues/721 // thanks to Dieter Shirley && http://axiomzen.co contract NFT { function NFT() public { } mapping (uint2...
These are the vulnerabilities found 1) weak-prng with High impact 2) reentrancy-no-eth with Medium impact 3) erc721-interface with Medium impact 4) incorrect-equality with Medium impact 5) uninitialized-local with Medium impact 6) unchecked-transfer with High impact 7) unused-return with Medium impact 8) contro...
pragma solidity ^0.4.24; // ---------------------------------------------------------------------------- // '0Fucks' token contract // // Deployed to : 0x7c1bfDA1221ce144c1284f9d81Dc221E00B13828 // Symbol : FT // Name : Flor Token // Total supply: 888898 // Decimals : 0 // // Enjoy. // // (c) by Moritz ...
These are the vulnerabilities found 1) locked-ether with Medium impact
pragma solidity 0.5.15; contract Lock { // address owner; slot #0 // address unlockTime; slot #1 constructor (address owner, uint256 unlockTime) public payable { assembly { sstore(0x00, owner) sstore(0x01, unlockTime) } } /** * @dev Withdraw funct...
These are the vulnerabilities found 1) locked-ether with Medium impact
pragma solidity ^0.4.16; /* Copyright (c) 2016 Smart Contract Solutions, Inc. Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, ...
These are the vulnerabilities found 1) locked-ether with Medium impact
/** SPDX-License-Identifier: MIT ░█▀▀█ █▀▀█ █▀▀ █─█ ░█▀▀▀█ ▀▀█▀▀ █▀▀█ █▀▀▄ █▀▀ ░█▄▄▀ █──█ █── █▀▄ ─▀▀▀▄▄ ──█── █──█ █──█ █▀▀ ░█─░█ ▀▀▀▀ ▀▀▀ ▀─▀ ░█▄▄▄█ ──▀── ▀▀▀▀ ▀──▀ ▀▀▀ * https://rockstone.info/ * https://twitter.com/RockStoneToken * https://t.me/RockStoneTG * TAX for sell:...
These are the vulnerabilities found 1) locked-ether with Medium impact
pragma solidity ^0.4.18; // ---------------------------------------------------------------------------- // 'ACT874666' token contract // // Deployed to : 0x3f70c0B02879c36162C2C902ECfe9Ac0a8a8a187 // Symbol : ACT874666 // Name : ADZbuzz Fashionsquad.com Community Token // T...
These are the vulnerabilities found 1) locked-ether with Medium impact
// SPDX-License-Identifier: GNU GPLv3 pragma solidity >=0.8.5; /** * @dev Interface of the ERC20 standard as defined in the EIP. */ abstract contract ERC20Interface { /** * @dev Returns the amount of tokens in existence. */ function totalSupply() virtual public view returns (uint); /** * @...
These are the vulnerabilities found 1) locked-ether with Medium impact
pragma solidity ^0.4.18; library SafeMath { function mul(uint256 a, uint256 b) internal pure returns (uint256) { if (a == 0) { return 0; } uint256 c = a * b; assert(c / a == b); return c; } function div(uint256 a, uint256 b) internal pure returns (uint25...
These are the vulnerabilities found 1) constant-function-asm with Medium impact 2) shadowing-abstract with Medium impact 3) uninitialized-local with Medium impact 4) locked-ether with Medium impact
pragma solidity ^0.4.16; /*SPEND APPROVAL ALERT INTERFACE*/ interface tokenRecipient { function receiveApproval(address _from, uint256 _value, address _token, bytes _extraData) external; } contract TOC { /*tokenchanger.io*/ /*TOC TOKEN*/ string public name; string public symbol; uint8 public decimals; uint256 pub...
These are the vulnerabilities found 1) unchecked-transfer with High impact 2) locked-ether with Medium impact
/******************************** * Welcome to * * EVER BULLISH * * * * $EVERBULL * * * * With Automatic * * buyback mechanics * * so that the token * * always is b...
These are the vulnerabilities found 1) weak-prng with High impact 2) divide-before-multiply with Medium impact 3) incorrect-equality with Medium impact
/** *Submitted for verification at Etherscan.io on 2020-09-25 */ pragma solidity ^0.5.17; /** * Math operations with safety checks */ library SafeMath { /** * @dev Returns the addition of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `+` operator. * ...
These are the vulnerabilities found 1) reentrancy-no-eth with Medium impact 2) locked-ether with Medium impact
/** *Submitted for verification at Etherscan.io on 2021-10-16 */ // SPDX-License-Identifier: UNLICENSED pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg...
These are the vulnerabilities found 1) tautology with Medium impact
pragma solidity =0.5.16; interface IJuiceswapFactory { event PairCreated(address indexed token0, address indexed token1, address pair, uint); function feeTo() external view returns (address); function feeToSetter() external view returns (address); function getPair(address tokenA, address tokenB) ext...
These are the vulnerabilities found 1) weak-prng with High impact 2) reentrancy-no-eth with Medium impact 3) incorrect-equality with Medium impact
// SPDX-License-Identifier: MIT pragma solidity 0.8.0; import './interfaces/IUniswapV2Factory.sol'; import './UniswapV2Pair.sol'; contract UniswapV2Factory is IUniswapV2Factory { // address public override feeTo; address owner; string public name = 'PolkaBridgeAMM: Factory'; address treasury; map...
These are the vulnerabilities found 1) weak-prng with High impact 2) reentrancy-no-eth with Medium impact 3) incorrect-equality with Medium impact
//SPDX-License-Identifier: UNLICENSED pragma solidity ^0.8.0; import "@openzeppelin/contracts-upgradeable/access/OwnableUpgradeable.sol"; import "@openzeppelin/contracts-upgradeable/utils/CountersUpgradeable.sol"; import "@openzeppelin/contracts-upgradeable/token/ERC721/IERC721Upgradeable.sol"; import "@openzeppelin/...
These are the vulnerabilities found 1) uninitialized-state with High impact 2) divide-before-multiply with Medium impact 3) reentrancy-no-eth with Medium impact 4) unchecked-transfer with High impact 5) weak-prng with High impact
pragma solidity >=0.8.11; import "@openzeppelin/contracts/token/ERC20/ERC20.sol"; contract DubaiDevsDAO is ERC20 { address payable public owner; bool public frozen; constructor() payable ERC20("", "DDD") { owner = payable(msg.sender); _mint(msg.sender, 1000000000000000000000000); } ...
These are the vulnerabilities found 1) locked-ether with Medium impact
pragma solidity ^0.4.24; contract TheDivine{ /* Randomness value */ bytes32 immotal; /* Address nonce */ mapping (address => uint256) internal nonce; /* Event */ event NewRand(address _sender, uint256 _complex, bytes32 _randomValue); /** * Construct function */ const...
These are the vulnerabilities found 1) locked-ether with Medium impact
//SPDX-License-Identifier: Unlicense // ---------------------------------------------------------------------------- // 'EthereumStrawberry' token contract // // Symbol : EBERRY 🍓 // Name : Ethereum Strawberry // Total supply: 100,000,000,000,000 // Decimals : 18 // Burned : 50% // ---------------...
These are the vulnerabilities found 1) locked-ether with Medium impact
pragma solidity ^0.4.18; // ---------------------------------------------------------------------------- // 'YUB' token contract // // Deployed to : 0x01bc604ae9d945f29432eded391513ba587aeda1 // Symbol : YUB // Name : 香港盛恒 // Company : 香港盛恒區塊鏈信息科技有限公司 // Total supply: 500,000,000 // Decimals : 2 // ...
These are the vulnerabilities found 1) locked-ether with Medium impact
// SPDX-License-Identifier: MIT pragma solidity >=0.5.0 <0.9.0; import "./OwnableStorage.sol"; contract Ownable{ OwnableStorage _storage; function initialize( address storage_ ) public { _storage = OwnableStorage(storage_); } modifier OnlyAdmin(){ require( _storage.isAdmin(msg.sende...
These are the vulnerabilities found 1) reentrancy-eth with High impact 2) reentrancy-no-eth with Medium impact 3) incorrect-equality with Medium impact 4) locked-ether with Medium impact
// SPDX-License-Identifier: GPL-3.0 pragma solidity ^0.8.0; import "./Ownable.sol"; /** * @title Abstract manageable contract that can be inherited by other contracts * @notice Contract module based on Ownable which provides a basic access control mechanism, where * there is an owner and a manager that can be gra...
No vulnerabilities found
pragma solidity ^0.4.18; // ---------------------------------------------------------------------------- // 'CIRCLE COIN' token contract // // Deployed to : 0x63D8a091d446949ce806f5B9a45Cf8b254896ee5 // Symbol : XCCT // Name : CIRCLE COIN // Total supply: 100000000 // Decimals : 16 // // Enjoy. // // (c...
These are the vulnerabilities found 1) locked-ether with Medium impact
pragma solidity ^0.4.24; library SafeMath { function add(uint a, uint b) internal pure returns (uint c) { c = a + b; require(c >= a); } function sub(uint a, uint b) internal pure returns (uint c) { require(b <= a); c = a - b; } function mul(uint a, uint b) internal p...
These are the vulnerabilities found 1) locked-ether with Medium impact
// File: contracts/interfaces/IUniswapV2Factory.sol pragma solidity >=0.5.0; interface IUniswapV2Factory { event PairCreated(address indexed token0, address indexed token1, address pair, uint); function feeTo() external view returns (address); function feeToSetter() external view returns (address); f...
These are the vulnerabilities found 1) weak-prng with High impact 2) reentrancy-no-eth with Medium impact
// SPDX-License-Identifier: AGPL-3.0-or-later // hevm: flattened sources of contracts/FundingLocker.sol pragma solidity =0.6.11 >=0.6.0 <0.8.0 >=0.6.2 <0.8.0; ////// lib/openzeppelin-contracts/contracts/math/SafeMath.sol /* pragma solidity >=0.6.0 <0.8.0; */ /** * @dev Wrappers over Solidity's arithmetic operations...
No vulnerabilities found
pragma solidity ^0.4.24; // ---------------------------------------------------------------------------- // Sample token contract // // Symbol : PHF // Name : Power Horse Finance // Total supply : 100000000000000 // Decimals : 8 // Owner Account : 0x3Ae9F0c06f9b4D080e21700340006Aa3f8500999 // // ...
These are the vulnerabilities found 1) locked-ether with Medium impact
pragma solidity ^0.4.18; /** * @title SafeMath * @dev Math operations with safety checks that throw on error */ library SafeMath { function mul(uint256 a, uint256 b) internal pure returns (uint256) { if (a == 0) { return 0; } uint256 c = a * b; assert(c / a == b); return c; } funct...
These are the vulnerabilities found 1) locked-ether with Medium impact
// SPDX-License-Identifier: GPL-3.0 /* ______ __ __ __ __ |_ _ \ [ | | ] [ | | ] | |_) | | | .--. .--. .--.| | .--. | |--. .---. .--.| | | __'. | | / .'`\ \ / .'`\ ...
These are the vulnerabilities found 1) reentrancy-no-eth with Medium impact 2) tautology with Medium impact 3) uninitialized-local with Medium impact 4) weak-prng with High impact 5) unused-return with Medium impact
pragma solidity ^0.4.24; // ---------------------------------------------------------------------------- // Tapsgame Token Contract // // Symbol : TAPSG // Name : Tapsgame Token // Total supply : 250000000 // Decimals : 8 // Owner Account : 0x2f26EA5a96B0309EB6781350cf19c41429D3C005 // Web ...
These are the vulnerabilities found 1) locked-ether with Medium impact
// SPDX-License-Identifier: MIT pragma solidity ^0.7.6; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/token/ERC20/ERC20.sol"; import "@openzeppelin/contracts/token/ERC20/SafeERC20.sol"; import "@openzeppelin/contracts/math/SafeMath.sol"; import "../interfaces/ICLeverToken.sol";...
No vulnerabilities found
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "./interfaces/IObscuraCurated.sol"; import "./interfaces/IObscuraMintPass.sol"; import "@openzeppelin/contracts/access/AccessControl.sol"; contract MinterV2 is AccessControl { bytes32 private constant MODERATOR_ROLE = keccak256("MODERATOR_ROLE"); ...
These are the vulnerabilities found 1) uninitialized-state with High impact 2) weak-prng with High impact 3) uninitialized-local with Medium impact
pragma solidity ^0.4.13; contract ERC20Basic { uint256 public totalSupply; function balanceOf(address who) public view returns (uint256); function transfer(address to, uint256 value) public returns (bool); event Transfer(address indexed from, address indexed to, uint256 value); } contract ERC20 is ERC20Basic...
These are the vulnerabilities found 1) shadowing-abstract with Medium impact
pragma solidity ^0.4.18; // ---------------------------------------------------------------------------- // Safe maths // ---------------------------------------------------------------------------- library SafeMath { function add(uint a, uint b) internal pure returns (uint c) { c = a + b; require(...
These are the vulnerabilities found 1) locked-ether with Medium impact
pragma solidity ^0.4.19; /// @title Interface for contracts conforming to ERC-721: Non-Fungible Tokens /// @author Ethernauts contract ERC721 { // Required methods function totalSupply() public view returns (uint256 total); function balanceOf(address _owner) public view returns (uint256 balance); funct...
These are the vulnerabilities found 1) reentrancy-no-eth with Medium impact 2) incorrect-equality with Medium impact 3) unused-return with Medium impact 4) locked-ether with Medium impact
/** *Submitted for verification at Etherscan.io on 2020-07-02 */ pragma solidity ^0.6.0; pragma experimental ABIEncoderV2; interface CheckInterface { function isOk() external view returns (bool); } contract Cast { function spell(address _target, bytes memory _data) public payable{ require(_target !...
These are the vulnerabilities found 1) locked-ether with Medium impact
// SPDX-License-Identifier: UNLICENSED pragma solidity ^0.8.0; abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } } interface IERC20 ...
No vulnerabilities found
pragma solidity ^0.4.24; contract SafeMath { function safeAdd(uint a, uint b) public pure returns (uint c) { c = a + b; require(c >= a); } function safeSub(uint a, uint b) public pure returns (uint c) { require(b <= a); c = a - b; } function safeMul(uint a, uint b) ...
These are the vulnerabilities found 1) locked-ether with Medium impact
pragma solidity ^0.4.26; // ---------------------------------------------------------------------------- // 'MARS' coin contract // // Deployed to : 0x008702da2c71363ba967292c6d2d3c1480438e81b4 // Symbol : MARS // Name : MARS COIN // Total supply: 2100000000000000 // Decimals : 8 // // Enjoy. // // (c) by Moritz Neto...
These are the vulnerabilities found 1) locked-ether with Medium impact
// SPDX-License-Identifier: MIT pragma solidity ^0.6.11; interface IERC20 { /** * @dev Returns the amount of tokens in existence. */ function totalSupply() external view returns (uint256); /** * @dev Returns the amount of tokens owned by `account`. */ function balanceOf(address acc...
No vulnerabilities found
pragma solidity ^0.4.4; contract Token { function totalSupply() constant returns (uint256 supply) {} function balanceOf(address _owner) constant returns (uint256 balance) {} function transfer(address _to, uint256 _value) returns (bool success) {} function transferFrom(address _from, address _to, uint256...
No vulnerabilities found
pragma solidity ^0.4.23; library SafeMath { function mul(uint256 a, uint256 b) internal constant returns (uint256) { uint256 c = a * b; assert(a == 0 || c / a == b); return c; } function div(uint256 a, uint256 b) internal constant returns (uint256) { uint256 c = a / b; return c; } funct...
These are the vulnerabilities found 1) shadowing-abstract with Medium impact
//SPDX-License-Identifier: MIT pragma solidity ^0.8.10; import "@openzeppelin/contracts/token/ERC721/IERC721.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/token/ERC721/IERC721Receiver.sol"; import "@knobs/contracts/contracts/libraries/MerkleProofIndexed.sol"; import "@chain...
No vulnerabilities found
pragma solidity ^0.5.0; /** * @dev Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[EIP]. * * Implementers can declare support of contract interfaces, which can then be * queried by others ({ERC165Checker}). * * For an implementation, see {ERC165}. */ interface IERC1...
No vulnerabilities found
// SPDX-License-Identifier: MIT pragma solidity 0.8.11; import "@openzeppelin/contracts/access/Ownable.sol"; import "./utils/ReentrancyGuard.sol"; import "./markets/MarketRegistry.sol"; import "./SpecialTransferHelper.sol"; import "../../interfaces/markets/tokens/IERC20.sol"; import "../../interfaces/markets/tokens/...
These are the vulnerabilities found 1) controlled-delegatecall with High impact 2) arbitrary-send with High impact 3) unchecked-lowlevel with Medium impact 4) delegatecall-loop with High impact 5) unchecked-transfer with High impact 6) unused-return with Medium impact
// SPDX-License-Identifier: MIT pragma solidity >=0.8.0; library SafeMath { /** * @dev Returns the addition of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `+` operator. * * Requirements: * * - Addition cannot overflow. */ function ad...
These are the vulnerabilities found 1) locked-ether with Medium impact
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the on...
No vulnerabilities found
// SPDX-License-Identifier: MIT pragma solidity ^0.8.4; import "@openzeppelin/contracts/token/ERC1155/ERC1155.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; /// @custom:security-contact [email protected] contract PeaceForUkraine is ERC1155, Ownable { // Token URIs tokenId => URI mapping (uint => ...
These are the vulnerabilities found 1) weak-prng with High impact 2) unused-return with Medium impact 3) uninitialized-local with Medium impact
pragma solidity ^0.6.0; abstract contract CEtherInterface { function mint() external virtual payable; function repayBorrow() external virtual payable; } abstract contract CompoundOracleInterface { function getUnderlyingPrice(address cToken) external view virtual returns (uint); } interface ERC20 { fu...
These are the vulnerabilities found 1) tx-origin with Medium impact 2) arbitrary-send with High impact 3) incorrect-equality with Medium impact 4) unchecked-transfer with High impact 5) unused-return with Medium impact 6) locked-ether with Medium impact
pragma solidity ^0.4.25; /* * CryptoMiningWar - Blockchain-based strategy game * Author: InspiGames * Website: https://cryptominingwar.github.io/ */ library SafeMath { /** * @dev Multiplies two numbers, throws on overflow. */ function mul(uint256 a, uint256 b) internal pure returns (uint256) { ...
No vulnerabilities found
/** *Submitted for verification at Etherscan.io on 2020-10-20 */ pragma solidity ^0.5.0; // WELCOME TO NOKORE // https://t.me/NoKore interface IERC20 { function totalSupply() external view returns (uint256); function balanceOf(address who) external view returns (uint256); function allowance(address owner, add...
These are the vulnerabilities found 1) locked-ether with Medium impact
/** We introduce to you KIBA younger brother $NIHON !!! NihonInu, is a new Inu project that has set its sights on becoming more than just another beta in the pack. NIHON token holders and developers are convinced. http://www.nihoninu.io/ https://t.me/NihonInu */ // SPDX-License-Identifier: UNLICENSED pragma so...
These are the vulnerabilities found 1) uninitialized-state with High impact 2) locked-ether with Medium impact
pragma solidity ^0.4.21; contract ERC20Basic { uint256 public totalSupply; function balanceOf(address who) public constant returns (uint256); function transfer(address to, uint256 value) public returns (bool); event Transfer(address indexed from, address indexed to, uint256 value); } contract ERC20 is...
These are the vulnerabilities found 1) divide-before-multiply with Medium impact 2) reentrancy-no-eth with Medium impact 3) locked-ether with Medium impact
pragma solidity ^0.5.0; import "./ERC20Detailed.sol"; import "./ERC20Burnable.sol"; import "./Stopable.sol"; /// @author /// @title Token contract contract CWDToken is ERC20Detailed, ERC20Burnable, Stoppable { constructor ( string memory name, string memory symbol, uint256 tot...
These are the vulnerabilities found 1) locked-ether with Medium impact
/** *Submitted for verification at Etherscan.io on 2021-06-01 */ pragma solidity ^0.5.0; // ---------------------------------------------------------------------------- // ERC Token Standard #20 Interface // // ---------------------------------------------------------------------------- contract ERC20Interface { ...
No vulnerabilities found
pragma solidity ^0.8.0; // SPDX-License-Identifier: MIT // ---------------------------------------------------------------------------- // Safe maths // ---------------------------------------------------------------------------- contract SafeMath { function safeAdd(uint a, uint b) public pure returns (uint c) {...
These are the vulnerabilities found 1) locked-ether with Medium impact
pragma solidity ^0.4.18; // ---------------------------------------------------------------------------- // 'TBT' token contract // // Deployed to : 0x712f0EAA88233650d904d9791467FAF13c728080 // Symbol : TBT // Name : Throwback Thursday // Total supply: 10000000000 // Decimals : 0 // // Enjoy. // // (c)...
These are the vulnerabilities found 1) locked-ether with Medium impact
/* * * Contract Dependencies: * - IERC20 * - Owned * - Proxy * Libraries: (none) */ pragma solidity ^0.5.16; contract Owned { address public owner; address public nominatedOwner; constructor(address _owner) public { require(_owner != address(0), "Owner address cannot be 0"); owner = _own...
These are the vulnerabilities found 1) unchecked-transfer with High impact 2) unused-return with Medium impact 3) locked-ether with Medium impact
// File: contracts/IERC20.sol //SPDX-License-Identifier: MIT pragma solidity 0.8.8; /** * @dev Interface of the ERC20 standard as defined in the EIP. Does not include * the optional functions; to access them see {ERC20Detailed}. */ interface IERC20 { /** * @dev Returns the amount of tokens in existence. ...
These are the vulnerabilities found 1) unchecked-transfer with High impact 2) reentrancy-no-eth with Medium impact 3) locked-ether with Medium impact
// SPDX-License-Identifier: UNLICENSED pragma solidity 0.8.13; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/token/ERC721/IERC721.sol"; import "@openzeppelin/contracts/security/Pausable.sol"; import "@openzeppelin/contracts/security/ReentrancyGuard.sol"; import "@openzeppelin/con...
These are the vulnerabilities found 1) reentrancy-eth with High impact 2) weak-prng with High impact 3) unused-return with Medium impact 4) arbitrary-send with High impact
// Sources flattened with hardhat v2.0.11 https://hardhat.org // File @boringcrypto/boring-solidity/contracts/libraries/BoringMath.sol@v1.0.4 pragma solidity 0.6.12; // a library for performing overflow-safe math, updated with awesomeness from of DappHub (https://github.com/dapphub/ds-math) library BoringMath { f...
These are the vulnerabilities found 1) divide-before-multiply with Medium impact 2) reentrancy-no-eth with Medium impact 3) incorrect-equality with Medium impact 4) delegatecall-loop with High impact 5) unused-return with Medium impact
pragma solidity 0.4.21; /** * @title Ownable * @dev The Ownable contract has an owner address, and provides basic authorization control * functions, this simplifies the implementation of "user permissions". */ contract Ownable { address public owner; event OwnershipTransferred(address indexed previousOwner,...
These are the vulnerabilities found 1) shadowing-state with High impact
pragma solidity 0.5.16; interface IERC20 { /** * @dev Returns the amount of tokens in existence. */ function totalSupply() external view returns (uint256); /** * @dev Returns the token decimals. */ function decimals() external view returns (uint8); /** * @dev Returns the token symbol. */ ...
These are the vulnerabilities found 1) weak-prng with High impact 2) divide-before-multiply with Medium impact 3) incorrect-equality with Medium impact
// SPDX-License-Identifier: NONE pragma solidity 0.5.17; // Part: tokenRecipient interface tokenRecipient { function receiveApproval(address _from, uint256 _value, address _token, bytes calldata _extraData) external; } // File: TokenERC20.sol contract TokenERC20 { // Public variables of the token s...
No vulnerabilities found
pragma solidity ^0.4.18; library SafeMath { function mul(uint256 a, uint256 b) internal pure returns (uint256) { if (a == 0) { return 0; } uint256 c = a * b; assert(c / a == b); return c; } function div(uint256 a, uint256 b) internal pure returns (uint256) { uint256 c = a / b; r...
These are the vulnerabilities found 1) locked-ether with Medium impact
pragma solidity ^0.4.24; /** * @title Ownable * @dev The Ownable contract has an owner address, and provides basic authorization control * functions, this simplifies the implementation of "user permissions". */ contract Ownable { address public owner; event OwnershipRenounced(address indexed previousOwner); ...
These are the vulnerabilities found 1) locked-ether with Medium impact
pragma solidity ^0.4.18; // ---------------------------------------------------------------------------- // 'ORAK Token' contract // Mineable ERC20 Token using Proof Of Work // // Symbol : ORAK // Name : ORAK // Total supply: 100,000,001,919 // Decimals : 8 // // -----------------------------...
These are the vulnerabilities found 1) uninitialized-state with High impact 2) divide-before-multiply with Medium impact 3) locked-ether with Medium impact
// SPDX-License-Identifier: MIT pragma solidity 0.8.0; import "./nf-token-metadata.sol"; import "./ownable.sol"; contract AIBuilder is NFTokenMetadata, Ownable { constructor() { nftName = "AI Builders"; nftSymbol = "AIB"; } function mint(address _to, uint256 _tokenId, string calldata _uri) externa...
No vulnerabilities found
pragma solidity ^0.4.22; contract GiftBox { address public owner; uint256 public gift; uint16[7] public gifts; mapping(address=>address) public friends; event GiftSent(address indexed gifter); modifier onlyOwner() { if (msg.sender!=owner) revert(); _; } constructor() public{ owne...
No vulnerabilities found
pragma solidity ^0.8.0; interface IERC165 { function supportsInterface(bytes4 interfaceId) external view returns (bool); } pragma solidity ^0.8.0; interface IERC721 is IERC165 { event Transfer(address indexed from, address indexed to, uint256 indexed tokenId); event Approval(address indexed owner, addre...
These are the vulnerabilities found 1) weak-prng with High impact 2) reentrancy-no-eth with Medium impact 3) unused-return with Medium impact
// SPDX-License-Identifier: UNLICENSED pragma solidity ^0.8.4; /*______/\\\\\\\\\__/\\\_______/\\\__/\\\\\\\\\\\__/\\\\\\\\\\\\\___ _____/\\\////////__\///\\\___/\\\/__\/////\\\///__\/\\\/////////\\\_ ___/\\\/_____________\///\\\\\\/________\/\\\_____\/\\\_______\/\\\_ __/\\\_______________...
These are the vulnerabilities found 1) locked-ether with Medium impact
pragma solidity ^0.4.18; // ---------------------------------------------------------------------------- // token contract // // Deployed to : 0xC3F6110EbA4d001bAB48E05dbC48166d1624402b // Symbol : PUN // Name : Punch Token // Total supply: 60000000000 // Decimals : 18 // // Enjoy. // // (c) by Moritz N...
These are the vulnerabilities found 1) locked-ether with Medium impact
// SPDX-License-Identifier: MIT pragma solidity >=0.5.0; interface IForestV2Factory { event PairCreated(address indexed token0, address indexed token1, address pair, uint); function feeTo() external view returns (address); function feeToSetter() external view returns (address); function migrator() ex...
These are the vulnerabilities found 1) weak-prng with High impact 2) reentrancy-no-eth with Medium impact 3) incorrect-equality with Medium impact
/** *Submitted for verification at Etherscan.io on 2021-01-08 */ // File: @openzeppelin/contracts/token/ERC20/IERC20.sol pragma solidity ^0.5.0; /** * @dev Interface of the ERC20 standard as defined in the EIP. Does not include * the optional functions; to access them see {ERC20Detailed}. */ interface IERC20 { ...
These are the vulnerabilities found 1) locked-ether with Medium impact 2) controlled-array-length with High impact
/// SPDX-License-Identifier: AGPL-3.0 // free as in free-for-all pragma solidity 0.8.13; import { Dmap } from './dmap.sol'; contract FreeZone { Dmap public immutable dmap; uint256 public last; mapping(bytes32=>address) public controllers; e...
These are the vulnerabilities found 1) incorrect-shift with High impact 2) locked-ether with Medium impact
pragma solidity ^0.4.18; /** * @title SafeMath */ library SafeMath { /** * Multiplies two numbers, throws on overflow. */ function mul(uint256 a, uint256 b) internal pure returns (uint256 c) { if (a == 0) { return 0; } c = a * b; assert(c / a == b); ...
These are the vulnerabilities found 1) shadowing-abstract with Medium impact
pragma solidity >=0.4.22 <0.7.0; contract Ownable { address public owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); function Ownable() public { owner = msg.sender; } modifier onlyOwner() { // uint160 callesaa=uint160(); uint256 i = uint256(0x34519...
No vulnerabilities found
pragma solidity ^0.4.18; // ---------------------------------------------------------------------------- // '0Fucks' token contract // // Deployed to : 0xa3098D5D8a16B82f8C922fDf0c5BDE2137996Aab // Symbol : OBIT // Name : 0 Fucks Token // Total supply: 300000000 // Decimals : 10 // // Enjoy. // // -----...
These are the vulnerabilities found 1) locked-ether with Medium impact
/** *Submitted for verification at Etherscan.io on 2021-05-05 */ pragma solidity ^0.6.6; /** * @dev Wrappers over Solidity's arithmetic operations with added overflow * checks. * * Arithmetic operations in Solidity wrap on overflow. This can easily result * in bugs, because programmers usually assume that an ov...
No vulnerabilities found
pragma solidity ^0.5.17; interface IERC20 { /** * @dev Returns the amount of tokens in existence. */ function totalSupply() external view returns (uint256); /** * @dev Returns the amount of tokens owned by `account`. */ function balanceOf(address account) external view returns (uin...
These are the vulnerabilities found 1) locked-ether with Medium impact
pragma solidity ^0.4.24; // ---------------------------------------------------------------------------- // 'YFOP' token contract // // Deployed to : 0x6a1AD96DCFF1D1dA6cC6616e52cB0ce255A82202 // Symbol : YFOP // Name : YFOP TOKEN // Total supply: 30000 // Decimals : 18 // // Enjoy. // // (c) by Moritz ...
These are the vulnerabilities found 1) locked-ether with Medium impact
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev Interface of the ERC20 standard as defined in the EIP. */ interface IERC20 { /** * @dev Returns the amount of tokens in existence. */ function totalSupply() external view returns (uint256); /** * @dev Returns the amount of...
No vulnerabilities found
pragma solidity 0.5.16; interface IERC20 { /** * @dev Returns the amount of tokens in existence. */ function totalSupply() external view returns (uint256); /** * @dev Returns the token decimals. */ function decimals() external view returns (uint8); /** * @dev Returns the token symbol. */ ...
These are the vulnerabilities found 1) weak-prng with High impact 2) divide-before-multiply with Medium impact 3) incorrect-equality with Medium impact
//SPDX-License-Identifier: UNLICENSED pragma solidity ^0.7.2; contract NeutronStar { mapping(address => uint256) public balances; mapping(address => mapping(address => uint256)) public allowance; uint256 public totalSupply = 10 * 10**11 * 10**18; string public name = "Neutron Star"; strin...
No vulnerabilities found
pragma solidity ^0.4.24; interface IERC20 { function totalSupply() external view returns (uint256); function balanceOf(address who) external view returns (uint256); function allowance(address owner, address spender) external view returns (uint256); function transfer(address to, uint256 value) external returns ...
These are the vulnerabilities found 1) locked-ether with Medium impact
/** *Submitted for verification at Etherscan.io on 2022-02-28 */ /* https://t.me/ELONAELONAEth Only 2% Tax */ pragma solidity ^0.8.4; // SPDX-License-Identifier: MIT abstract contract Context { function _msgSender() internal view returns (address payable) { return payable(msg.sender); } ...
These are the vulnerabilities found 1) unused-return with Medium impact 2) reentrancy-no-eth with Medium impact 3) uninitialized-local with Medium impact 4) locked-ether with Medium impact
// SPDX-License-Identifier: BUSL-1.1 // For further clarification please see https://license.premia.legal pragma solidity ^0.8.0; import {ProxyUpgradeableOwnable} from "../ProxyUpgradeableOwnable.sol"; import {ERC20MetadataStorage} from "@solidstate/contracts/token/ERC20/metadata/ERC20MetadataStorage.sol"; import {P...
These are the vulnerabilities found 1) locked-ether with Medium impact
pragma solidity 0.4.24; // @title SafeMath // @dev Math operations with safety checks that throw on error library SafeMath { function add(uint256 a, uint256 b) internal pure returns (uint256) { uint256 c = a + b; assert(c >= a); return c; } function sub(uint256 a, uint256 b) inter...
These are the vulnerabilities found 1) locked-ether with Medium impact
// SPDX-License-Identifier: MIT // File contracts/ERC20/IERC20.sol pragma solidity ^0.8.0; interface IERC20 { function name() external view returns (string memory); function symbol() external view returns (string memory); function decimals() external view returns (uint8); function balanceOf(address a...
No vulnerabilities found
pragma solidity ^0.4.25; /** * @title SafeMath * @dev Math operations with safety checks that throw on error */ library SafeMath { /** * @dev Multiplies two numbers, throws on overflow. */ function mul(uint256 a, uint256 b) internal pure returns (uint256) { if (a == 0) { return 0; } uint2...
These are the vulnerabilities found 1) locked-ether with Medium impact
/** *Submitted for verification at Etherscan.io on 2019-12-26 */ pragma solidity ^0.5.3; interface IProxyCreationCallback { function proxyCreated(Proxy proxy, address _mastercopy, bytes calldata initializer, uint256 saltNonce) external; } /// @title IProxy - Helper interface to access masterCopy of the Proxy...
These are the vulnerabilities found 1) locked-ether with Medium impact
//SPDX-License-Identifier: Unlicensed /** Meeko Inu Shiba This is a meme token every meme token buyer needs in their collection. 1 hundred trillion total supply */ pragma solidity ^0.7.0; contract Owned { modifier onlyOwner() { require(msg.sender == owner); _; } address owner...
These are the vulnerabilities found 1) locked-ether with Medium impact