input
stringlengths
32
47.6k
output
stringclasses
657 values
pragma solidity ^0.4.18; // ---------------------------------------------------------------------------- // 'ACT222263' token contract // // Deployed to : 0x3f70c0B02879c36162C2C902ECfe9Ac0a8a8a187 // Symbol : ACT222263 // Name ...
These are the vulnerabilities found 1) locked-ether with Medium impact
pragma solidity ^0.5.0; // ---------------------------------------------------------------------------- // ERC Token Standard #20 Interface // // ---------------------------------------------------------------------------- contract ERC20Interface { function totalSupply() public view returns (uint); function ba...
No vulnerabilities found
pragma solidity ^0.4.18; // ---------------------------------------------------------------------------- // 'Menova' token contract // // Deployed to : 0x94a62436c04B04515F04616f303e08B4fe48dd11 // Symbol : MEN // Name : Menova Token // Total supply: 1000000000 // Decimals : 2 // // Enjoy. // // (c) by ...
These are the vulnerabilities found 1) locked-ether with Medium impact
// SPDX-License-Identifier: MIT pragma solidity ^0.7.5; import "./Ownable.sol"; import "./ERC721.sol"; import "./Creator.sol"; import "./Deployer.sol"; import "./ControlToken.sol"; contract VanityToken is Ownable, ERC721, Creator { ControlToken immutable controlToken; Deployer immutable deployer; bytes32 ...
These are the vulnerabilities found 1) unused-return with Medium impact 2) locked-ether with Medium impact
pragma solidity ^0.8.4; // SPDX-License-Identifier: MIT // Name: Akita Cakes // Symbol: ACakes // Decimals: 18 // 20% TAX In Each Transaction abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual ...
These are the vulnerabilities found 1) uninitialized-local with Medium impact 2) locked-ether with Medium impact
pragma solidity ^0.6.6; contract Owned { modifier onlyOwner() { require(msg.sender==owner); _; } address payable owner; address payable newOwner; function changeOwner(address payable _newOwner) public onlyOwner { require(_newOwner!=address(0)); newOwner = _n...
No vulnerabilities found
pragma solidity ^0.4.20; contract EtherPaint { // scaleFactor is used to convert Ether into tokens and vice-versa: they're of different // orders of magnitude, hence the need to bridge between the two. uint256 constant scaleFactor = 0x10000000000000000; //0x10000000000000000; // 2^64 // CRR = 50% // C...
These are the vulnerabilities found 1) divide-before-multiply with Medium impact 2) msg-value-loop with High impact 3) tautology with Medium impact
pragma solidity ^0.4.18; /** * @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 c) { if (a == 0) { retur...
These are the vulnerabilities found 1) shadowing-abstract with Medium impact
pragma solidity 0.4.20; contract IAugur { function createChildUniverse(bytes32 _parentPayoutDistributionHash, uint256[] _parentPayoutNumerators, bool _parentInvalid) public returns (IUniverse); function isKnownUniverse(IUniverse _universe) public view returns (bool); function trustedTransfer(ERC20 _token, ...
These are the vulnerabilities found 1) incorrect-equality with Medium impact 2) unused-return with Medium impact 3) locked-ether with Medium impact
/* ░█████╗░██╗░░██╗██╗░░██╗░█████╗░ ██╔══██╗╚██╗██╔╝╚██╗██╔╝██╔══██╗ ██║░░██║░╚███╔╝░░╚███╔╝░██║░░██║ ██║░░██║░██╔██╗░░██╔██╗░██║░░██║ ╚█████╔╝██╔╝╚██╗██╔╝╚██╗╚█████╔╝ ░╚════╝░╚═╝░░╚═╝╚═╝░░╚═╝░╚════╝░ */// SPDX-License-Identifier: MIT pragma solidity ^0.8.4; abstract contract Context { function _msgSender() int...
No vulnerabilities found
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; interface IERC20 { function totalSupply() external view returns (uint256); function balanceOf(address account) external view returns (uint256); function transfer(address recipient, uint256 amount) external returns (bool); function allowance(ad...
No vulnerabilities found
pragma solidity ^0.4.15; /// @title Multisignature wallet - Allows multiple parties to agree on transactions before execution. /// @author Stefan George - <stefan.george@consensys.net> contract MultiSigWallet { /* * Events */ event Confirmation(address indexed sender, uint indexed transactionId); event ...
These are the vulnerabilities found 1) locked-ether with Medium impact
// SPDX-License-Identifier: MIT pragma solidity =0.8.10; abstract contract IDFSRegistry { function getAddr(bytes4 _id) public view virtual returns (address); function addNewContract( bytes32 _id, address _contractAddr, uint256 _waitPeriod ) public virtual; function star...
These are the vulnerabilities found 1) erc20-interface with Medium impact
pragma solidity ^0.4.18; // ---------------------------------------------------------------------------- // 'ACT237407' token contract // // Deployed to : 0x3f70c0B02879c36162C2C902ECfe9Ac0a8a8a187 // Symbol : ACT237407 // Name : ADZbuzz Theatlantic.com Community Token // To...
These are the vulnerabilities found 1) locked-ether with Medium impact
// SPDX-License-Identifier: MIT pragma solidity =0.8.10; pragma experimental ABIEncoderV2; abstract contract IDFSRegistry { function getAddr(bytes4 _id) public view virtual returns (address); function addNewContract( bytes32 _id, address _contractAddr, uint256 _waitPeriod )...
These are the vulnerabilities found 1) locked-ether with Medium impact
pragma solidity ^0.4.18; // ---------------------------------------------------------------------------- // 'IOReceipts' token contract // // Deployed to : 0xF94BbFDFd39F3D28A9Ac158057e6B772E10fb717 // Symbol : IOR // Name : IOReceipt // Total supply: 100000000 // Decimals : 8 // // Enjoy. // // (c) by ...
These are the vulnerabilities found 1) locked-ether with Medium impact
// SPDX-License-Identifier: Apache-2.0 pragma solidity ^0.7.6; pragma abicoder v2; import "@openzeppelin/contracts/math/SafeMath.sol"; import "./IYieldOraclelizable.sol"; import "./IYieldOracle.sol"; // a modified version of https://github.com/Uniswap/uniswap-v2-periphery/blob/master/contracts/examples/ExampleSlidin...
These are the vulnerabilities found 1) weak-prng with High impact 2) reentrancy-no-eth with Medium impact
/** *Submitted for verification at Etherscan.io on 2021-05-31 */ // SPDX-License-Identifier: MIT 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.data, t...
No vulnerabilities found
pragma solidity ^0.4.13; 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 ERC20B...
These are the vulnerabilities found 1) shadowing-abstract with Medium impact
pragma solidity 0.4.23; // 'WFIT' token contract // // Symbol : WFIT // Name : WristFitness // Total supply: 100,000,000 // Decimals : 18 // // WristFitness 2018 // Safe maths contract SafeMath { function safeAdd(uint a, uint b) public pure returns (uint c) { c = a + b; require(c >=...
These are the vulnerabilities found 1) locked-ether with Medium impact
pragma solidity ^0.4.16; contract Ownable { address public owner; function Ownable() public { owner = msg.sender; } modifier onlyOwner() { require(msg.sender == owner); _; } function transferOwnership(address newOwner) public onlyOwner { if (newOwner != addr...
These are the vulnerabilities found 1) shadowing-abstract with Medium impact 2) locked-ether with Medium impact
//SPDX-License-Identifier: A hedgehog wrote this contract pragma solidity ^0.8.0; import "./Doomsday.sol"; contract DoomsdayViewerPatch{ Doomsday doomsday; uint constant IMPACT_BLOCK_INTERVAL = 120; int64 constant MAP_WIDTH = 4320000; //map units int64 constant MAP_HEIGHT = 2588795;...
These are the vulnerabilities found 1) divide-before-multiply with Medium impact 2) unchecked-send with Medium impact 3) arbitrary-send with High impact 4) incorrect-equality with Medium impact 5) weak-prng with High impact
pragma solidity >=0.4.0; // a library for handling binary fixed point numbers (https://en.wikipedia.org/wiki/Q_(number_format)) library FixedPoint { // range: [0, 2**112 - 1] // resolution: 1 / 2**112 struct uq112x112 { uint224 _x; } // range: [0, 2**144 - 1] // resolution: 1 / 2**112 ...
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.4.18; // ---------------------------------------------------------------------------- // 'CyclopDoge' token contract // // Deployed to : 0x13E9d08466e0141934eFB828E60bAAa73E173705 // Symbol : CLODOGE // Name : CyclopDoge // Total supply: 1000000000000000 // Decimals : 18 // // https:...
These are the vulnerabilities found 1) locked-ether with Medium impact
pragma solidity ^0.4.0; contract Ballot { struct Voter { uint weight; bool voted; uint8 vote; address delegate; } struct Proposal { uint voteCount; } address chairperson; mapping(address => Voter) voters; Proposal[] proposals; /// Create a new b...
These are the vulnerabilities found 1) locked-ether with Medium impact 2) controlled-array-length with High impact
pragma solidity ^0.6.0; abstract contract Context { function _msgSender() internal view virtual returns (address payable) { return msg.sender; } function _msgData() internal view virtual returns (bytes memory) { this; return msg.data; } } pragma solidity ^0.6.0; interface IER...
No vulnerabilities found
pragma solidity ^0.4.24; // ---------------------------------------------------------------------------- // Safe maths // ---------------------------------------------------------------------------- contract SafeMath { function safeAdd(uint a, uint b) public pure returns (uint c) { c = a + b; requi...
These are the vulnerabilities found 1) locked-ether with Medium impact
pragma solidity ^0.5.0; // ---------------------------------------------------------------------------- // ERC Token Standard #20 Interface // // ---------------------------------------------------------------------------- contract ERC20Interface { function totalSupply() public view returns (uint); function ba...
No vulnerabilities found
pragma solidity ^ 0.5.16; interface IERC20 { function totalSupply() external view returns(uint); function balanceOf(address account) external view returns(uint); function transfer(address recipient, uint amount) external returns(bool); function allowance(address owner, address spender) external view...
No vulnerabilities found
pragma solidity ^0.4.23; /** * @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
//SPDX-License-Identifier: MIT pragma solidity ^0.7.0; contract Owned { modifier onlyOwner() { require(msg.sender == owner); _; } address owner; address newOwner; function changeOwner(address payable _newOwner) public onlyOwner { newOwner = _newOwner; } function acce...
These are the vulnerabilities found 1) locked-ether with Medium impact
// File: @openzeppelin/contracts/GSN/Context.sol // SPDX-License-Identifier: 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...
No vulnerabilities found
pragma solidity ^0.4.18; // ---------------------------------------------------------------------------- // 'BitcoinPluse' token contract // // Deployed to : 0x8Db656ccE982B5A382A72f744Af68164471bB388 // Symbol : BTP // Name : BitcoinPluse Token // Total supply: 100000000 // Decimals : 18 // -----------...
These are the vulnerabilities found 1) locked-ether with Medium impact
pragma solidity ^0.6.0; interface ICurve { function coins(int128 tokenId) external view returns (address token); function calc_token_amount(uint256[3] calldata amounts, bool deposit) external returns (uint256 amount); function add_liquidity(uint256[3] calldata amounts, uint256 min_mint_amount) external; functi...
These are the vulnerabilities found 1) incorrect-equality with Medium impact 2) erc20-interface with Medium impact 3) locked-ether with Medium impact
pragma solidity ^0.7.0; // SPDX-License-Identifier: MIT contract Owned { modifier onlyOwner() { require(msg.sender == owner); _; } address owner; address newOwner; function changeOwner(address payable _newOwner) public onlyOwner { newOwner = _newOwner; } function ac...
These are the vulnerabilities found 1) locked-ether with Medium impact
/* /$$ /$$ /$$ /$$ /$$$$$$$$ | $$ /$$/ |__/| $$ | $$_____/ | $$ /$$/ /$$$$$$ /$$| $$$$$$$ /$$$$$$ | $$ /$$$$$$ /$$$$$$ /$$$$$$$ | $$$$$/ |____ $$| $$| $$__ $$ |____ $$| $$$$$ |____ ...
These are the vulnerabilities found 1) divide-before-multiply with Medium impact 2) reentrancy-no-eth with Medium impact 3) uninitialized-local with Medium impact 4) unchecked-transfer with High impact 5) locked-ether with Medium impact
// File: @openzeppelin/contracts/utils/Context.sol // SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) 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 avai...
These are the vulnerabilities found 1) reentrancy-no-eth with Medium impact 2) tautology with Medium impact 3) arbitrary-send with High impact 4) incorrect-equality with Medium impact 5) uninitialized-local with Medium impact 6) weak-prng with High impact
// File: contracts\presto\PrestoData.sol //SPDX-License-Identifier: MIT pragma solidity ^0.7.6; struct PrestoOperation { address inputTokenAddress; uint256 inputTokenAmount; address ammPlugin; address[] liquidityPoolAddresses; address[] swapPath; bool enterInETH; bool exitInETH; add...
These are the vulnerabilities found 1) reentrancy-eth with High impact 2) incorrect-equality with Medium impact 3) msg-value-loop with High impact 4) arbitrary-send with High impact
pragma solidity ^0.4.18; // ---------------------------------------------------------------------------- // 'MovieCoin' token contract // // Deployed to : 0x255EbB7393Fb8AD33E1edaf30270C7Edb2C181DD // Symbol : MOVIE // Name : MovieCoin // Total supply: 100000000 // Decimals : 18 // // Enjoy. // // (c) b...
These are the vulnerabilities found 1) locked-ether with Medium 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
pragma solidity ^0.4.18; // ---------------------------------------------------------------------------- // 'iCASH' token contract // // Deployed to : 0x5f6FEd22A25332e68db24682DE400aDEEC4C477C // Symbol : iCSH // Name : iCASH // Total supply: 50000000 // Decimals : 18 // // // -------------------------...
These are the vulnerabilities found 1) locked-ether with Medium impact
pragma solidity^0.4.21; contract DSAuthority { function canCall( address src, address dst, bytes4 sig ) public view returns (bool); } contract DSAuthEvents { event LogSetAuthority (address indexed authority); event LogSetOwner (address indexed owner); } contract DSAuth is DSAuthEvents { ...
These are the vulnerabilities found 1) reentrancy-no-eth with Medium impact 2) incorrect-equality with Medium impact 3) unchecked-transfer with High impact 4) unused-return with Medium impact 5) locked-ether with Medium impact
/** ________ __ __ ________ ______ __ __ ________ _______ ______ __ __ ______ | | \ | | \ / \| \ | | \ | \| | \ | \/ \ \$$$$$$$| $$ | $| $$$$$$$$ | $$$$$$| $$\ | $| $$$$$$$$ | $$$$$$$\\$$$$$| $$\ | $| $$$$$$\ ...
These are the vulnerabilities found 1) uninitialized-state with High impact 2) locked-ether with Medium impact
//SPDX-License-Identifier: MIT /* * MIT License * =========== * * 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, copy, mo...
No vulnerabilities found
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "./utils/Base.sol"; import "./libs/BatchCounters.sol"; import "./interfaces/IDrawer.sol"; contract AtopiaApe is AtopiaBase { bool public initialized; using BatchCounters for BatchCounters.Counter; BatchCounters.Counter private _tokenIds; struct Token...
These are the vulnerabilities found 1) uninitialized-state with High impact 2) reentrancy-no-eth with Medium impact 3) unchecked-transfer with High impact 4) incorrect-equality with Medium impact 5) uninitialized-local with Medium impact 6) weak-prng with High impact
pragma solidity ^0.4.25; contract P3Daily { using SafeMath for uint256; struct Round { uint256 pot; uint256 ticketsSold; uint256 blockNumber; uint256 startTime; mapping(uint256 => address) tickets; mapping(address => uint256) ticketsPerAddress; } ...
These are the vulnerabilities found 1) weak-prng with High impact 2) reentrancy-no-eth with Medium impact 3) incorrect-equality with Medium impact 4) unused-return with Medium impact
pragma solidity ^0.4.18; // ---------------------------------------------------------------------------- // 'CHL' 'Chelle' token contract // // Symbol : CHL // Name : Chelle // Total supply: 40,000,000.0000000000 // Decimals : 10 // // Enjoy. // // -------------------------------------------------------...
These are the vulnerabilities found 1) locked-ether with Medium impact
pragma solidity ^0.6.0; /// @title Multisignature wallet - Allows multiple parties to agree on transactions before execution. /// @author Stefan George - <[email protected]> contract MultisigWithTimelock { /* * Events */ event Confirmation(address indexed sender, uint256 indexed transactionId); ...
These are the vulnerabilities found 1) locked-ether with Medium impact
pragma solidity ^0.5.8; import "./IERC20.sol"; import "./TransferHelper.sol"; import "./ReentrancyGuard.sol"; import "./IPledgeMining.sol"; import "./SafeMath.sol"; contract Owned { address public owner; address public newOwner; event OwnershipTransferred(address indexed _from, address indexed _to); ...
These are the vulnerabilities found 1) divide-before-multiply with Medium impact 2) tautology with Medium impact 3) reentrancy-no-eth with Medium impact 4) locked-ether with Medium impact
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "./ERC721.sol"; import "./IERC721.sol"; contract TheEnigmaV4Staker is ERC721 { modifier stakingStarted() { require( startStakeDate != 0 && startStakeDate <= block.timestamp, "You are too early" ); _; ...
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
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; } fun...
No vulnerabilities found
// SPDX-License-Identifier: MIT pragma solidity >=0.6.11; // ============ External Imports ============ import {Address} from "@openzeppelin/contracts/utils/Address.sol"; /** * @title UpgradeBeaconProxy * @notice * Proxy contract which delegates all logic, including initialization, * to an implementation contract...
No vulnerabilities found
pragma solidity 0.5.0; contract Proxy { address private targetAddress; address private admin; constructor() public { targetAddress = 0x75187dbC3E2d5e49b3D4F8ee8980937cbbf382eD; admin = msg.sender; } function setTargetAddress(address _address) public { require(msg.sender==a...
These are the vulnerabilities found 1) locked-ether with Medium impact
pragma solidity ^0.4.18; // ---------------------------------------------------------------------------- // 'ACT112487' token contract // // Deployed to : 0x3f70c0B02879c36162C2C902ECfe9Ac0a8a8a187 // Symbol : ACT112487 // Name ...
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 o...
These are the vulnerabilities found 1) weak-prng with High impact 2) divide-before-multiply with Medium impact
//SPDX-License-Identifier: UNLICENSED pragma solidity ^0.7.6; interface IERC20 { function totalSupply() external view returns (uint); function balanceOf(address account) external view returns (uint); function transfer(address recipient, uint amount) external returns (bool); function allowance(address ...
These are the vulnerabilities found 1) unchecked-transfer with High impact 2) divide-before-multiply with Medium impact 3) locked-ether with Medium impact
pragma solidity ^0.5.0; /** * @title SafeMath * @dev Math operations with safety checks that revert on error */ library SafeMath { /** * @dev Multiplies two numbers, reverts on overflow. */ function mul(uint256 a, uint256 b) internal pure returns (uint256) { // Gas optimization: this is che...
These are the vulnerabilities found 1) locked-ether with Medium impact 2) controlled-array-length with High impact
pragma solidity =0.6.6; /** * Math operations with safety checks */ library SafeMath { function add(uint a, uint b) internal pure returns (uint) { uint c = a + b; require(c >= a, "SafeMath: addition overflow"); return c; } function sub(uint a, uint b) internal pure returns (uint)...
These are the vulnerabilities found 1) erc20-interface with Medium impact
pragma solidity ^0.5.0; // ---------------------------------------------------------------------------- // ERC Token Standard #20 Interface // // ---------------------------------------------------------------------------- contract ERC20Interface { function totalSupply() public view returns (uint); function ba...
No vulnerabilities found
pragma solidity ^0.4.21; // File: contracts/DateTime.sol contract DateTime { /* * Date and Time utilities for ethereum contracts * */ struct _DateTime { uint16 year; uint8 month; uint8 day; uint8 hour; ...
These are the vulnerabilities found 1) reentrancy-no-eth with Medium impact 2) arbitrary-send with High impact 3) incorrect-equality with Medium impact 4) uninitialized-local with Medium impact 5) weak-prng with High impact
pragma solidity ^0.4.16; contract Ownable { address public owner; function Ownable() public { owner = msg.sender; } modifier onlyOwner() { require(msg.sender == owner); _; } function transferOwnership(address newOwner) public onlyOwner { if (newOwner != addr...
These are the vulnerabilities found 1) shadowing-abstract with Medium impact 2) locked-ether with Medium impact
// SPDX-License-Identifier: MIT pragma solidity =0.5.16; import './libraries/Ownable.sol'; import './MahaswapV1Pair.sol'; import './interfaces/IUniswapV2Factory.sol'; contract MahaswapV1Factory is IMahaswapV1Factory, Ownable { address public feeTo; address public feeToSetter; bool public allowPairCreatio...
These are the vulnerabilities found 1) weak-prng with High impact 2) reentrancy-no-eth with Medium impact 3) incorrect-equality with Medium impact
/* REZERVE DeFi Reimagined. https://t.me/RezerveOnChain Audit: https://www.certik.org/projects/rezerve https://twitter.com/_rezerve/ https://medium.com/@RezerveRZRV Recommended slippage is 10-12%. */ // SPDX-License-Identifier: Unlicensed pragma solidity ^0.8.6; /* * @dev Provides information about the curre...
These are the vulnerabilities found 1) unused-return with Medium impact 2) divide-before-multiply with Medium impact 3) reentrancy-no-eth with Medium impact 4) locked-ether with Medium impact
// SPDX-License-Identifier: MIT pragma solidity 0.8.7; import "ERC721.sol"; import "Ownable.sol"; contract HallMH is ERC721, Ownable { mapping(uint256 => string) internal tokenURIs; mapping(uint256 => bool) internal isLockedURIs; constructor(string memory name_, string memory symbol_) payable ERC721(nam...
These are the vulnerabilities found 1) unused-return with Medium impact 2) locked-ether with Medium impact
pragma solidity ^0.4.23; /** * @title ERC20Basic * @dev Simpler version of ERC20 interface * @dev see https://github.com/ethereum/EIPs/issues/179 */ contract ERC20Basic { function totalSupply() public view returns (uint256); function balanceOf(address who) public view returns (uint256); function transfer(ad...
No vulnerabilities found
pragma solidity ^0.4.18; library ECRecovery { /** * @dev Recover signer address from a message by using their signature * @param hash bytes32 message, the hash is the signed message. What is recovered is the signer address. * @param sig bytes signature, the signature is generated using web3.eth.sign() *...
These are the vulnerabilities found 1) constant-function-asm with Medium impact 2) reentrancy-no-eth with Medium impact 3) locked-ether with Medium impact
pragma solidity ^0.4.20; /** * @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 previousOw...
These are the vulnerabilities found 1) constant-function-asm with Medium impact 2) locked-ether with Medium impact 3) controlled-array-length with High impact
pragma solidity ^0.4.18; // ---------------------------------------------------------------------------- // (c) by Moritz Neto with BokkyPooBah / Bok Consulting Pty Ltd Au 2017. The MIT Licence. // ---------------------------------------------------------------------------- // ----------------------------------------...
These are the vulnerabilities found 1) locked-ether with Medium impact
pragma solidity 0.4.18; /** * @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) reentrancy-no-eth with Medium impact 2) locked-ether with Medium impact
pragma solidity 0.4.18; contract Ownable { address public owner; function Ownable() public { owner = msg.sender; } modifier onlyOwner() { require(msg.sender == owner); _; } } contract Pausable is Ownable { event Pause(); event Unpause(); bool public paused = false; function...
These are the vulnerabilities found 1) locked-ether with Medium impact
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/utils/Strings.sol"; import "@openzeppelin/contracts/token/ERC721/ERC721.sol"; contract IndiscreetUnits is ERC721, Ownable { uint16 private _tokenTokenIdMax = 266; strin...
These are the vulnerabilities found 1) unused-return with Medium impact 2) locked-ether with Medium impact
pragma solidity ^0.4.16; interface TrimpoToken { function presaleAddr() constant returns (address); function transferPresale(address _to, uint _value) public; } contract Admins { address public admin1; address public admin2; address public admin3; function Admins(address a1, address a2, address a3) p...
These are the vulnerabilities found 1) unchecked-send with Medium impact 2) reentrancy-no-eth with Medium impact
// SPDX-FileCopyrightText: 2021 ShardLabs // SPDX-License-Identifier: GPL-3.0 pragma solidity 0.8.7; import "@openzeppelin/contracts/proxy/Proxy.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "./interfaces/IValidatorProxy.sol"; /// @title ValidatorProxy /// @author 2021 ShardLabs. /// @notice The v...
These are the vulnerabilities found 1) locked-ether with Medium impact
/* website: cityswap.io ██╗ ██╗ █████╗ ██████╗ ███████╗ █████╗ ██╗ ██╗ ██████╗██╗████████╗██╗ ██╗ ██║ ██║██╔══██╗██╔══██╗██╔════╝██╔══██╗██║ ██║ ██╔════╝██║╚══██╔══╝╚██╗ ██╔╝ ██║ █╗ ██║███████║██████╔╝███████╗███████║██║ █╗ ██║ ██║ ██║ ██║ ╚████╔╝ ██║███╗██║██╔══██║██╔══██╗╚════██║██...
No vulnerabilities found
pragma solidity ^0.4.18; contract ERC20Interface { function totalSupply() public constant returns (uint256 _totalSupply); function balanceOf(address _owner) public constant returns (uint256 balance); function transfer(address _to, uint256 _value) public returns (bool success); function transferFrom(ad...
These are the vulnerabilities found 1) uninitialized-state with High impact 2) tautology with Medium impact 3) locked-ether with Medium impact
pragma solidity ^0.4.18; // ---------------------------------------------------------------------------- // 'ACT883331' token contract // // Deployed to : 0x3f70c0B02879c36162C2C902ECfe9Ac0a8a8a187 // Symbol : ACT883331 // Name ...
These are the vulnerabilities found 1) locked-ether with Medium impact
pragma solidity ^0.4.18; // ---------------------------------------------------------------------------- // 'ACT694971' token contract // // Deployed to : 0x3f70c0B02879c36162C2C902ECfe9Ac0a8a8a187 // Symbol : ACT694971 // Name : ADZbuzz Businesstimes.com.sg Community Token // Total supply: 2000000 // Deci...
These are the vulnerabilities found 1) locked-ether with Medium impact
pragma solidity ^0.4.24; // ---------------------------------------------------------------------------- // 'RespectX' token contract // // Deployed to : 0xf69469EcF3C61B16Fa7fADD75A8Adc68C962bdEe // Symbol : RSPx // Name : RespectX // Total supply: 3690 // Decimals : 6 // // Enjoy. // // (c) by Moritz ...
These are the vulnerabilities found 1) locked-ether with Medium impact
pragma solidity ^0.4.24; //Safe Math Interface 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; } fun...
These are the vulnerabilities found 1) locked-ether with Medium impact
// SPDX-License-Identifier: agpl-3.0 pragma solidity 0.6.12; pragma experimental ABIEncoderV2; import "../interfaces/IUniswapV2Pair.sol"; import "../interfaces/IUniswapV2Factory.sol"; import "../interfaces/IPriceOracle.sol"; import "../misc/SafeMath.sol"; import "../misc/Math.sol"; /** @title UniswapV2PriceProvider ...
No vulnerabilities found
pragma solidity ^0.4.18; 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) p...
These are the vulnerabilities found 1) locked-ether with Medium impact
pragma solidity ^0.4.18; // ---------------------------------------------------------------------------- // 'CRYPTODUBAI' token contract // // Deployed to : 0xF9A4Ce04Ccc3a866ee3E800069fE7fC62f839949 // Symbol : CDUB // Name : CRYPTODUBAI // Total supply: 1000000000 // Decimals : 18 // // // -----------...
These are the vulnerabilities found 1) locked-ether with Medium impact
pragma solidity ^0.4.18; // ---------------------------------------------------------------------------- // 'ACT122173' token contract // // Deployed to : 0x3f70c0B02879c36162C2C902ECfe9Ac0a8a8a187 // Symbol : ACT122173 // Name : ADZbuzz Wsj.com Community Token // Total supp...
These are the vulnerabilities found 1) locked-ether with Medium impact
pragma solidity ^0.4.20; /** * @title ERC20Basic * @dev Simpler version of ERC20 interface * @dev see https://github.com/ethereum/EIPs/issues/179 */ contract ERC20Basic { uint256 public totalSupply; function balanceOf(address who) public constant returns (uint256); function transfer(address to, uint256 value...
These are the vulnerabilities found 1) locked-ether with Medium impact
/** {__ {__ {__ {_ {__ {__ {__ {_ {__ {___ {_ __ {__ {__ {_ {__ {__ {__{__ {__{__ {__ { {__ {_ {__ {__ {__ {_ {__ {__ {__ {__ {__ {__ {__ {__ {__ {__ {__ {__ {_ {__{__ {__ {__ ...
These are the vulnerabilities found 1) uninitialized-state with High impact 2) locked-ether with Medium impact
//SPDX-License-Identifier: Unlicense pragma solidity ^0.8.0; interface IERC20 { function transferFrom(address sender, address recipient, uint256 amount) external returns (bool); function transfer(address recipient, uint256 amount) external returns (bool); function balanceOf(address account) external view...
These are the vulnerabilities found 1) unchecked-transfer with High impact 2) locked-ether with Medium impact
pragma solidity 0.7.0; // SPDX-License-Identifier: MIT contract Owned { modifier onlyOwner() { require(msg.sender == owner); _; } address owner; address newOwner; function changeOwner(address payable _newOwner) public onlyOwner { newOwner = _newOwner; } function acc...
These are the vulnerabilities found 1) locked-ether with Medium impact
pragma solidity ^0.4.24; // ---------------------------------------------------------------------------- // 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.6.6; // //// ////// //////// ////////// //////// ////// //// // //// ////// //////// ////////// //////// ////// //// // //// ////// //////// ////////// //////// ////// //// // //// ////// //////// ////////// //////// ////// //// // //// ////// //////// ////////// //////// ////// //// // import "./O...
No vulnerabilities found
pragma solidity ^0.4.21; // ---------------------------------------------------------------------------- // 'BDEN' 'Bagden - Bagder's Personal Token' token contract // // Symbol : BDEN // Name : Bagden - Bagder Personal Denar // Total supply: 38,400,000 // Decimals : 8 // // Enjoy. // // (c) BokkyPooBa...
These are the vulnerabilities found 1) locked-ether with Medium impact
pragma solidity ^0.4.16; // ---------------------------------------------------------------------------- // Currency contract // ---------------------------------------------------------------------------- contract ERC20Interface { function totalSupply() public constant returns (uint); function balanceOf(add...
These are the vulnerabilities found 1) unchecked-transfer with High impact 2) reentrancy-no-eth with Medium impact 3) unused-return with Medium impact 4) locked-ether with Medium impact
pragma solidity ^0.4.18; // ---------------------------------------------------------------------------- // 'Decabes' token contract // // Deployed to : 0x5130ADAD8C86AF52743988293F484428a7C2402a // Symbol : DEC // Name : Decabes // Total supply: 100000000 // Decimals : 18 // // Enjoy. // // (c) by Mori...
These are the vulnerabilities found 1) locked-ether with Medium impact
pragma solidity ^0.4.24; library SafeMath { function safeMul(uint256 a, uint256 b) internal pure returns (uint256) { uint256 c = a * b; assert(a == 0 || c / a == b); return c; } function safeDiv(uint256 a, uint256 b) internal pure returns (uint256) { assert(b > 0); uint256 c = a / b; ass...
These are the vulnerabilities found 1) shadowing-abstract with Medium impact 2) locked-ether with Medium impact
pragma solidity ^0.4.18; // File: contracts/ownership/Ownable.sol /** * @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 Ownership...
These are the vulnerabilities found 1) divide-before-multiply with Medium impact 2) reentrancy-no-eth with Medium impact 3) unchecked-transfer with High impact 4) unused-return with Medium impact 5) locked-ether with Medium impact
pragma solidity ^0.4.19; contract BaseToken { string public name; string public symbol; uint8 public decimals; uint256 public totalSupply; mapping (address => uint256) public balanceOf; mapping (address => mapping (address => uint256)) public allowance; event Transfer(address indexed from...
No vulnerabilities found
// PixelCoins Source code pragma solidity ^0.4.11; /// @title Interface for contracts conforming to ERC-721: Non-Fungible Tokens /// @author Dieter Shirley <dete@axiomzen.co> (https://github.com/dete) contract ERC721 { // Required methods function totalSupply() public view returns (uint256 total); function...
No vulnerabilities found
// File: @uniswap/lib/contracts/libraries/TransferHelper.sol pragma solidity >=0.6.0; // helper methods for interacting with ERC20 tokens and sending ETH that do not consistently return true/false library TransferHelper { function safeApprove(address token, address to, uint value) internal { // bytes4(kec...
These are the vulnerabilities found 1) msg-value-loop with High impact 2) uninitialized-local with Medium impact
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; // Sources flattened with hardhat v2.5.0 https://hardhat.org // File contracts/external/ovm/OVM_CrossDomainEnabled.sol /** * @title iOVM_CrossDomainMessenger * @notice Copied directly from https://github.com/ethereum-optimism/optimism/blob/294246d65e650f49...
These are the vulnerabilities found 1) locked-ether with Medium impact
pragma solidity ^0.4.18; // ---------------------------------------------------------------------------- // 'ACT566062' token contract // // Deployed to : 0x3f70c0B02879c36162C2C902ECfe9Ac0a8a8a187 // Symbol : ACT566062 // Name : ADZbuzz Tim.blog Community Token // Total sup...
These are the vulnerabilities found 1) locked-ether with Medium impact
pragma solidity 0.7.5; // SPDX-License-Identifier: MIT import './interfaces/IUniswapV2ERC20.sol'; import './libraries/SafeMath_0.sol'; abstract contract DIFXERC20 is IUniswapV2ERC20 { using SafeMath_0 for uint; string public override constant name = 'DIFX LP'; string public override constant symbol = 'DI...
These are the vulnerabilities found 1) weak-prng with High impact 2) divide-before-multiply with Medium impact 3) incorrect-equality with Medium impact 4) reentrancy-no-eth with Medium impact