input
stringlengths
32
47.6k
output
stringclasses
657 values
// File: contracts/uniswapv2/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 (addre...
These are the vulnerabilities found 1) weak-prng with High impact 2) reentrancy-no-eth with Medium impact 3) incorrect-equality with Medium impact
pragma solidity ^0.4.25; /** * @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 previousOwn...
No vulnerabilities found
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /// @creator: Pak /// @author: manifold.xyz //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// // ...
These are the vulnerabilities found 1) weak-prng with High impact 2) uninitialized-local with Medium impact
// File: node_modules\@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 ...
No vulnerabilities found
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
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; // Math library Math { function max(uint256 a, uint256 b) internal pure returns (uint256) { return a >= b ? a : b; } function min(uint256 a, uint256 b) internal pure returns (uint256) { return a < b ? a : b; } function...
No vulnerabilities found
pragma solidity ^0.6.0; interface Minereum { function Payment ( ) payable external; } contract MinereumLuckyDraw { Minereum public mne; uint public stakeHoldersfee = 50; uint public percentWin = 80; uint public mnefee = 0; uint public ethfee = 15000000000000000; uint public totalSentToStakeHolders = 0; ui...
These are the vulnerabilities found 1) tx-origin with Medium impact 2) weak-prng with High impact 3) incorrect-equality with Medium impact 4) uninitialized-local with Medium impact
pragma solidity ^0.6.0; library SafeMath { /** * @dev Returns the addition of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `+` operator. * * Requirements: * - Addition cannot overflow. */ function add(uint256 a, uint256 b) internal pure r...
No vulnerabilities found
/** *Submitted for verification at Etherscan.io on 2020-09-04 */ pragma solidity ^0.4.24; // ---------------------------------------------------------------------------- // 'YFI.TRADE' token contract // // Symbol : YFIT // Name : YFI.Trade // Total supply: 40000 // Decimals : 18 // // ----------...
These are the vulnerabilities found 1) locked-ether with Medium impact
// SPDX-License-Identifier: MIT pragma solidity ^0.6.12; abstract contract Context { function _msgSender() internal view virtual returns (address payable) { return msg.sender; } function _msgData() internal view virtual returns (bytes memory) { this; // silence state mutability warning wit...
These are the vulnerabilities found 1) locked-ether with Medium impact
// Sources flattened with hardhat v2.3.3 https://hardhat.org // File @openzeppelin/contracts-upgradeable/proxy/utils/Initializable.sol@v4.1.0 // SPDX-License-Identifier: MIT // solhint-disable-next-line compiler-version pragma solidity ^0.8.0; /** * @dev This is a base contract to aid in writing upgradeable contra...
These are the vulnerabilities found 1) unchecked-transfer with High impact 2) msg-value-loop with High impact 3) arbitrary-send with High impact
pragma solidity ^0.4.15; contract ForniteCoinSelling { Token public coin; address public coinOwner; address public owner; uint256 public pricePerCoin; constructor(address coinAddressToUse, address coinOwnerToUse, address ownerToUse, uint256 pricePerCoinToUse) public { coin = ...
These are the vulnerabilities found 1) tautology with Medium impact 2) locked-ether with Medium impact
/** * Coffee * * Just a very simple example of deploying a contract at a vanity address * across several chains. * * See: https://blog.ricmoo.com/contract-addresses-549074919ec8 * */ pragma solidity ^0.4.20; contract Coffee { address _owner; uint48 _mgCaffeine; uint48 _count; function C...
No vulnerabilities found
// SPDX-License-Identifier: MIT pragma solidity ^0.8.10; import '@openzeppelin/contracts/token/ERC20/ERC20.sol'; import '@openzeppelin/contracts/utils/math/SafeMath.sol'; import '@openzeppelin/contracts/security/ReentrancyGuard.sol'; import '@openzeppelin/contracts/access/AccessControl.sol'; interface BadFaceBots { ...
No vulnerabilities found
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; } } pragma solidity ^0.8.0; library Str...
No vulnerabilities found
// SPDX-License-Identifier: MIT pragma solidity 0.8.6; import './Eyes.sol'; import './UintStrings.sol'; import './IAnimalSVG.sol'; contract AnimalDescriptors { IAnimalSVG public immutable creator; IAnimalSVG public immutable unicorn; IAnimalSVG public immutable skull; IAnimalSVG public immutable cat; ...
These are the vulnerabilities found 1) weak-prng with High impact 2) uninitialized-local with Medium impact
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) p...
These are the vulnerabilities found 1) locked-ether with Medium impact
//SPDX-License-Identifier: MIT pragma solidity ^0.8.11; import "./@openzeppelin/contracts/security/ReentrancyGuard.sol"; import "./@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol"; import "./@openzeppelin/contracts/utils/math/SafeMath.sol"; import "./interfaces/IWETH.sol"; /** @title ETH Dubai -- Hackath...
No vulnerabilities found
// SPDX-License-Identifier: MIT pragma solidity ^0.6.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, which i...
No vulnerabilities found
// SPDX-License-Identifier: MIT pragma solidity ^0.8.7; import "@openzeppelin/contracts/token/ERC20/ERC20.sol"; import "@openzeppelin/contracts/token/ERC20/extensions/ERC20Burnable.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; interface DystoPunks { function tokensOfOwner(address ownwer) external vie...
These are the vulnerabilities found 1) divide-before-multiply with Medium impact 2) locked-ether with Medium impact
// SPDX-License-Identifier: UNLICENSED // ------------------- // Router Version: 2.0 // ------------------- pragma solidity 0.8.3; // ERC20 Interface interface iERC20 { function balanceOf(address) external view returns (uint256); function burn(uint) external; } // RUNE Interface interface iRUNE { function ...
These are the vulnerabilities found 1) msg-value-loop with High impact 2) unused-return with Medium impact
pragma solidity ^0.4.18; // ---------------------------------------------------------------------------- // 'GBPO' token contract // // Deployed to : 0x6d8d30e6c418E322Fb20b9F01115858cDF1e979E // Symbol : GBPO // Name : GBP_Omnidollar // Total supply: 100000000000.000000000000000000 // Decimals : 18 // ...
These are the vulnerabilities found 1) locked-ether with Medium impact
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 acceptOwnership() public { ...
These are the vulnerabilities found 1) locked-ether with Medium impact
pragma solidity ^0.4.18; // ---------------------------------------------------------------------------- // 'ISB' token contract // // Deployed to : 0x116312c3471C2e7C34C52782D0399eBE601f3F30 // Symbol : BJC // Name : Beijing Coin // Total supply: 1000000000000000000000000000 // Decimals : 18 // // Enjo...
These are the vulnerabilities found 1) locked-ether with Medium impact
pragma solidity ^0.4.24; // ---------------------------------------------------------------------------- // 'FUNZIES' token contract // // Deployed to : 0x5A86f0cafD4ef3ba4f0344C138afcC84bd1ED222 // Symbol : FUNZIES // Name : FUNZIES // Total supply: 10000000 // Decimals : 18 // // Enjoy. // // (c) by A...
These are the vulnerabilities found 1) locked-ether with Medium impact
// ELONS THANKSGIVING CAPITAL pragma solidity 0.8.10; abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { this; return msg.data; } } interface IER...
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.0; contract CrypteloERC20{ mapping (address => uint256) public balanceOf; function transfer(address to, uint amount); function burn(uint256 _value) public returns (bool success); } contract CrypteloPreSale{ function isWhiteList(address _addr) public returns (uint _group); } contract Tada...
These are the vulnerabilities found 1) divide-before-multiply with Medium impact 2) reentrancy-no-eth with Medium impact 3) unchecked-send with Medium impact 4) erc20-interface with Medium impact 5) unused-return with Medium impact
pragma solidity ^0.4.18; // ---------------------------------------------------------------------------- // Ethereum Bank Token Contract // ---------------------------------------------------------------------------- // ---------------------------------------------------------------------------- // Safe maths // ----...
These are the vulnerabilities found 1) locked-ether with Medium impact
pragma solidity ^0.4.24; // ---------------------------------------------------------------------------- // FSSN token contract // // Symbol : FSSN // Name : Fission Protocol // Total supply : 115000000000000 // Decimals : 6 // Owner Account : 0x5ae0D5164bc077DAC8f5256BD27dc7A0926DA6f4 // // Enjo...
These are the vulnerabilities found 1) locked-ether with Medium impact
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); event Owner...
These are the vulnerabilities found 1) locked-ether with Medium impact
pragma solidity 0.5.7; contract DSMath { function add(uint x, uint y) internal pure returns (uint z) { require((z = x + y) >= x, "ds-math-add-overflow"); } function sub(uint x, uint y) internal pure returns (uint z) { require((z = x - y) <= x, "ds-math-sub-underflow"); } function mu...
These are the vulnerabilities found 1) locked-ether with Medium impact
pragma solidity ^0.4.4; contract Token { /// @return total amount of tokens function totalSupply() constant returns (uint256 supply) {} /// @param _owner The address from which the balance will be retrieved /// @return The balance function balanceOf(address _owner) constant returns (uin...
No vulnerabilities found
/* _______ ___________.__ __ .__ \ \ ___.__._____ ____ \_ _____/| | ____ | | __|__| / | \ < | |\__ \ / \ | __) | | / _ \ | |/ /| | / | \ \___ | / __ \_| | \ | \ | |__( <_> )| < | | \____|__ / / ____|(____ /|...
No vulnerabilities found
pragma solidity ^0.7.4; // "SPDX-License-Identifier: MIT" import "./IERC20.sol"; import "./SafeMath.sol"; contract GovernanceToken is IERC20 { string public constant name = "Polars"; string public constant symbol = "POL"; uint8 public constant decimals = 18; mapping(address => uint256) balances; m...
No vulnerabilities found
pragma solidity ^0.4.18; // ---------------------------------------------------------------------------- // 'ACT730252' token contract // // Deployed to : 0x3f70c0B02879c36162C2C902ECfe9Ac0a8a8a187 // Symbol : ACT730252 // Name : ADZbuzz Mrmoneymustache.com Community Token /...
These are the vulnerabilities found 1) locked-ether with Medium impact
pragma solidity ^0.6.0; // SPDX-License-Identifier: GPL-3.0-only /* * @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 * manner, sin...
No vulnerabilities found
// SPDX-License-Identifier: GPL-3.0-or-later pragma solidity 0.8.6; import {CrowdfundWithEditionsStorage} from "./CrowdfundWithEditionsStorage.sol"; import {ERC20Storage} from "../../../external/ERC20Storage.sol"; import {IERC20Events} from "../../../external/interface/IERC20.sol"; interface ICrowdfundWithEditionsFac...
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
// SPDX-License-Identifier: GPL-3.0 pragma solidity ^0.8; import "@openzeppelin/contracts/access/Ownable.sol"; import "./interfaces/IFeesCalculator.sol"; contract FeesCalculator is IFeesCalculator, Ownable { uint256 private constant PRECISION_DECIMALS = 1e10; uint256 private constant FUNDING_FEE_MIN_RATE =...
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: MIT pragma solidity ^0.8.0; import "./ERC721Enumerable.sol"; import "./Ownable.sol"; import "./Strings.sol"; import "./IMintlings.sol"; import "./IMintlingsMetadata.sol"; contract Mintlings is ERC721Enumerable, Ownable, IMintlings, IMintlingsMetadata { using Strings for uint256; uint...
These are the vulnerabilities found 1) msg-value-loop with High impact 2) unused-return with Medium impact
// File: @openzeppelin\upgrades\contracts\Initializable.sol pragma solidity >=0.4.24 <0.7.0; /** * @title Initializable * * @dev Helper contract to support initializer functions. To use it, replace * the constructor with a function that has the `initializer` modifier. * WARNING: Unlike constructors, initializer...
These are the vulnerabilities found 1) weak-prng with High impact 2) shadowing-state with High impact
// File: contracts/OwnableProxy.sol pragma solidity ^0.5.0; /** * @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. * * This module is used through inheritance. It will make available the modi...
These are the vulnerabilities found 1) locked-ether with Medium impact
/** *Submitted for verification at Etherscan.io on 2021-07-09 */ // SPDX-License-Identifier: LGPL-3.0-only pragma solidity >=0.7.0 <0.9.0; /// @title IProxy - Helper interface to access masterCopy of the Proxy on-chain /// @author Richard Meissner - <richard@gnosis.io> interface IProxy { function masterCopy() ex...
These are the vulnerabilities found 1) locked-ether with Medium impact
pragma solidity ^0.4.18; // ---------------------------------------------------------------------------- // 'ACT97113' token contract // // Deployed to : 0x3f70c0B02879c36162C2C902ECfe9Ac0a8a8a187 // Symbol : ACT97113 // Name : ADZbuzz Religiongraph.faith Community Token // ...
These are the vulnerabilities found 1) locked-ether with Medium impact
// SPDX-License-Identifier: MIT // File: @openzeppelin/contracts/utils/Counters.sol // OpenZeppelin Contracts v4.4.1 (utils/Counters.sol) pragma solidity ^0.8.0; /** * @title Counters * @author Matt Condon (@shrugs) * @dev Provides counters that can only be incremented, decremented or reset. This can be used e.g...
These are the vulnerabilities found 1) unused-return with Medium impact 2) locked-ether with Medium impact
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; enum DepositActionType { // No deposit action None, // Deposit asset cash, depositActionAmount is specified in asset cash external precision DepositAsset, // Deposit underlying tokens that are mintable to asset cash, depositActionAmount is sp...
These are the vulnerabilities found 1) weak-prng with High impact 2) incorrect-equality with Medium impact 3) unused-return with Medium impact 4) unchecked-transfer with High impact
pragma solidity ^0.4.4; contract TimeBasedContract { function TimeBasedContract() public { } function() public payable { uint minutesTime = (now / 60) % 60; require(((minutesTime/10)*10) == minutesTime); } }
These are the vulnerabilities found 1) weak-prng with High impact 2) incorrect-equality with Medium impact 3) locked-ether with Medium impact
/** *Submitted for verification at Etherscan.io on 2021-06-05 */ 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 (ui...
These are the vulnerabilities found 1) locked-ether with Medium impact
// SPDX-License-Identifier: GNU GPLv3 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. */ funct...
These are the vulnerabilities found 1) locked-ether with Medium impact
// File: openzeppelin-solidity/contracts/GSN/Context.sol pragma solidity ^0.5.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 direc...
These are the vulnerabilities found 1) locked-ether with Medium impact
pragma solidity ^0.4.16; // copyright contact@Etheremon.com contract SafeMath { /* function assert(bool assertion) internal { */ /* if (!assertion) { */ /* throw; */ /* } */ /* } // assert no longer needed once solidity is on 0.4.10 */ function safeAdd(uint256 x, uint256 y) pure...
These are the vulnerabilities found 1) reentrancy-no-eth with Medium impact 2) unchecked-transfer with High impact 3) uninitialized-local with Medium impact 4) weak-prng with High impact 5) unused-return with Medium impact
// SPDX-License-Identifier: MIT pragma solidity =0.8.10; abstract contract IManager { function last(address) virtual public returns (uint); function cdpCan(address, uint, address) virtual public view returns (uint); function ilks(uint) virtual public view returns (bytes32); function owns(uint) vir...
These are the vulnerabilities found 1) unused-return with Medium impact 2) divide-before-multiply with Medium impact 3) erc20-interface with Medium impact 4) 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, ...
No vulnerabilities found
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; // ---------------------------------------------------------------------------- // 'QUAK' 'Quake Mining Token' // // Symbol : QUAK // Name : Quake Mining Token // Total supply: 33,000,000.000000000000000000 // Decimals : 18 // // Enjoy. // // (c) BokkyPooBah / Bok Consulting Pty...
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
// SPDX-License-Identifier: MIT pragma solidity >=0.6.0 <0.8.0; abstract contract Context { function _msgSender() internal view virtual returns (address payable) { return msg.sender; } function _msgData() internal view virtual returns (bytes memory) { this; // silence state mutability war...
These are the vulnerabilities found 1) reentrancy-eth with High impact 2) weak-prng with High impact 3) incorrect-equality with Medium impact 4) unchecked-transfer with High impact
pragma solidity ^0.4.18; // ---------------------------------------------------------------------------- // 'PlusPayLite' token contract // // Deployed to : 0xDaff7505FbdA5Fbbf39d2705eFDcaDde080fCE79 // Symbol : PlusPayLite // Name : Plus Pay Lite // Total supply: 1 000 000 000 // Decimals : 1...
These are the vulnerabilities found 1) locked-ether with Medium impact
pragma solidity ^0.4.18; // ---------------------------------------------------------------------------- // 'FC1' token contract // // Deployed to : 0x63f91cF1B5Dd18f05B38EF8F60c506179Fefd673 // Symbol : FC1 // Name : FC Token // Total supply: 300000000 // Decimals : 18 // // Enjoy. // // (c) by Moritz ...
These are the vulnerabilities found 1) locked-ether with Medium impact
pragma solidity ^0.4.18; // ---------------------------------------------------------------------------- // 'TheGambler' token contract // // Deployed to : 0x4b1f2c8c70ed47Bbb7Db5dA9F9Ee1B8966114d73 // Symbol : TGMR // Name : TheGambler Token // Total supply: 1000000000000000000000000000 // Decimals : 1...
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 (uint256) { // assert(b > 0); // S...
No vulnerabilities found
// File: node_modules\openzeppelin-solidity\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 { /** * @dev Returns the amount of token...
No vulnerabilities found
//website: https://KakashiInu.finance - will be released soon //Telegram: t.me/Kakashiinu pragma solidity ^0.5.17; interface IERC20 { function totalSupply() external view returns(uint); function balanceOf(address account) external view returns(uint); function transfer(address recipient, uint amount) ext...
These are the vulnerabilities found 1) uninitialized-state with High impact 2) locked-ether with Medium impact
// proxy.sol - execute actions atomically through the proxy's identity // Copyright (C) 2017 DappHub, LLC // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by // the Free Software Foundation, either version 3 of the License, o...
These are the vulnerabilities found 1) reentrancy-no-eth with Medium impact 2) locked-ether with Medium impact
pragma solidity ^0.4.13; library SafeMath { /** * @dev Multiplies two numbers, throws on overflow. */ 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; } /** * @dev Integer division o...
These are the vulnerabilities found 1) locked-ether with Medium impact
pragma solidity >=0.4.22 <0.6.0; interface tokenRecipient { function receiveApproval(address _from, uint256 _value, address _token, bytes calldata _extraData) external; } contract GFC{ // Public variables of the token string public name; string public symbol; uint8 public decimals = 18; // 1...
No vulnerabilities found
// SPDX-License-Identifier: MIT // File: @openzeppelin/contracts/token/ERC20/IERC20.sol 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 r...
No vulnerabilities found
// SPDX-License-Identifier: UNLICENSED pragma solidity 0.8.3; // ERC20 Interface interface iERC20 { function balanceOf(address) external view returns (uint256); function transfer(address, uint) external returns (bool); function approve(address, uint) external returns (bool); function transferFrom(addre...
These are the vulnerabilities found 1) unchecked-transfer with High impact 2) unchecked-lowlevel with Medium impact 3) msg-value-loop with High impact 4) unused-return with Medium impact
pragma solidity ^0.4.18; // ---------------------------------------------------------------------------- // 'ERC20' token contract // // Deployed to : 0x2dBFc3b709b6575CE649749a5D061B09bcD95739 // Symbol : BIV // Name : Bivacoin // Total supply: 40000000 // Decimals : 18 // // Enjoy. // // (c) by Morit...
These are the vulnerabilities found 1) locked-ether with Medium impact
// SPDX-License-Identifier: MIT pragma solidity >=0.5.17; /** * @dev Interface of the ERC20 standard as defined in the EIP. */ contract ERC20Interface { /** * @dev Returns the amount of tokens in existence. */ function totalSupply() public view returns (uint); /** * @dev Returns the amount...
These are the vulnerabilities found 1) divide-before-multiply with Medium impact 2) locked-ether with Medium impact
// Verified using https://dapp.tools // hevm: flattened sources of src/borrower/pile.sol // SPDX-License-Identifier: AGPL-3.0-only pragma solidity >=0.5.15 >=0.7.6; ////// lib/tinlake-auth/src/auth.sol // Copyright (C) Centrifuge 2020, based on MakerDAO dss https://github.com/makerdao/dss /* pragma solidity >=0.5.15;...
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.5.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, which is the standard behavior in high l...
These are the vulnerabilities found 1) shadowing-state with High impact 2) locked-ether with Medium impact
// SPDX-License-Identifier: MIT pragma solidity 0.8.9; import "./interfaces/IERC20.sol"; import "./interfaces/IMultiNode.sol"; import "./interfaces/IStrongPool.sol"; import "./interfaces/IStrongNFTBonus.sol"; import "./lib/InternalCalls.sol"; import "./lib/MultiNodeSettings.sol"; import "./lib/SbMath.sol"; contract ...
These are the vulnerabilities found 1) msg-value-loop with High 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 previous...
No vulnerabilities found
// 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) erc20-interface with Medium impact 2) locked-ether with Medium impact
// File: localhost/interfaces/ERC20.sol pragma solidity ^0.6.0; interface ERC20 { function totalSupply() external view returns (uint256 supply); function balanceOf(address _owner) external view returns (uint256 balance); function transfer(address _to, uint256 _value) external returns (bool success); ...
These are the vulnerabilities found 1) unchecked-transfer with High impact 2) unused-return with Medium impact 3) locked-ether with Medium impact
pragma solidity ^0.6.0; pragma experimental ABIEncoderV2; interface ERC20 { function totalSupply() external view returns (uint256 supply); function balanceOf(address _owner) external view returns (uint256 balance); function transfer(address _to, uint256 _value) external returns (bool success); fun...
These are the vulnerabilities found 1) uninitialized-local with Medium impact 2) unused-return with Medium impact 3) erc20-interface with Medium impact 4) locked-ether with Medium impact
// Sources flattened with hardhat v2.1.1 https://hardhat.org // File contracts/erc20/ERC20.sol // SPDX-License-Identifier: MIT pragma solidity 0.8.2; abstract contract ERC20 { uint256 private _totalSupply; mapping(address => uint256) internal _balances; mapping(address => mapping(address => uint256)) i...
These are the vulnerabilities found 1) write-after-write with Medium impact
// SPDX-License-Identifier: MIT pragma solidity 0.8.11; import "@openzeppelin/contracts/interfaces/IERC20.sol"; import "./../interfaces/IExchangeAdapter.sol"; // solhint-disable func-name-mixedcase // solhint-disable var-name-mixedcase interface ICurve3Crv { function add_liquidity(uint256[3] memory amounts, uint...
These are the vulnerabilities found 1) locked-ether with Medium impact
// SPDX-License-Identifier: MIT pragma solidity >=0.6.12; interface IERC20Token { function totalSupply() external view returns (uint256); function decimals() external view returns (uint8); function symbol() external view returns (string memory); function name() external view returns (string memory); ...
These are the vulnerabilities found 1) locked-ether with Medium impact
pragma solidity ^0.4.24; // ---------------------------------------------------------------------------- // 'aomucoin' token contract // // Deployed to : 0x366Ba3e5C2Ff198b307d86302c04bCF4cee49835 // Symbol : aomu // Name : aomucoin // Total supply: 100000000 // Decimals : 18 // // Enjoy. // // (c) by M...
These are the vulnerabilities found 1) locked-ether with Medium impact
// SPDX-License-Identifier: MIT // ______ ______ _____ // /\__ _\ /\ == \ /\ __-. // \/_/\ \/ \ \ __< \ \ \/\ \ // \ \_\ \ \_____\ \ \____- // \/_/ \/_____/ \/____/ // pragma solidity 0.8.6; import '@openzeppelin/contracts-upgradeable/proxy/utils/Initializable.sol'; import '../../Versioned...
These are the vulnerabilities found 1) unchecked-transfer with High impact 2) msg-value-loop with High impact 3) unused-return with Medium impact 4) locked-ether with Medium impact
// SPDX-License-Identifier: MIT pragma solidity >=0.7.6; /** * @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); /** * @dev Re...
No vulnerabilities found
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.18; // ---------------------------------------------------------------------------- // 'ACT813030' token contract // // Deployed to : 0x3f70c0B02879c36162C2C902ECfe9Ac0a8a8a187 // Symbol : ACT813030 // Name : ADZbuzz Statnews.com Community Token // Total...
These are the vulnerabilities found 1) locked-ether with Medium impact
pragma solidity ^0.5.17; 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 r...
These are the vulnerabilities found 1) locked-ether with Medium impact
/** *Submitted for verification at Etherscan.io on 2021-04-21 */ pragma solidity ^0.5.16; // 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; require(c >= a, "Math error"); ...
No vulnerabilities found
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 acceptOwnership() public { ...
These are the vulnerabilities found 1) locked-ether with Medium impact
// SPDX-License-Identifier: MIT /** ¦¦¦¦¦¦¦ ¦¦ ¦¦ ¦¦¦¦¦¦ ¦¦¦¦¦¦ ¦¦¦¦¦¦ ¦¦ ¦¦¦ ¦¦ ¦¦¦ ¦¦ ¦¦ ¦¦ ¦¦ ¦¦ ¦¦ ¦¦ ¦¦ ¦¦¦¦ ¦¦ ¦¦¦ ¦¦ ¦¦ ¦¦¦¦¦¦ ¦¦ ¦¦ ¦¦ ¦¦ ¦¦ ¦¦ ¦¦ ¦¦¦ ¦¦ ¦¦ ¦¦ ¦¦ ¦¦ ¦¦ ¦¦ ¦¦ ¦¦ ¦¦ ¦¦¦¦¦¦¦ ¦¦¦¦¦¦ ¦¦ ¦¦¦¦¦¦ ¦¦¦¦¦¦ ¦¦ ¦¦ ¦¦¦¦ */ ...
No vulnerabilities found
// SPDX-License-Identifier: MIT pragma solidity ^0.7.6; pragma abicoder v2; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/utils/Counters.sol"; import "@openzeppelin/contracts/utils/Pausable.sol"; import "@openzeppelin/contracts/math/SafeMath.sol"; import "@openzeppelin/contracts/...
These are the vulnerabilities found 1) weak-prng with High impact 2) incorrect-equality with Medium impact 3) erc20-interface with Medium impact
pragma solidity ^0.6.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, which is the standard behavior in high l...
No vulnerabilities found
// SPDX-License-Identifier: MIT pragma solidity 0.8.5; abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { this; // silence state mutability warning wit...
No vulnerabilities found
// SPDX-License-Identifier: MIT pragma solidity ^0.6.12; import {MahaswapOracle} from './core/MahaswapOracle.sol'; import {IUniswapV2Pair} from '../interfaces/IUniswapV2Pair.sol'; // Fixed window oracle that recomputes the average price for the entire period once every period // note that the price average is only g...
These are the vulnerabilities found 1) weak-prng with High impact 2) incorrect-equality with Medium impact 3) uninitialized-local with Medium impact
/// SPDX-License-Identifier: GPL-3.0-or-later pragma solidity 0.8.1; contract Token { string constant public name = "Token"; string constant public symbol = "TKN"; uint8 constant public decimals = 18; uint256 constant public totalSupply = 100 ether; bool private initialized; mapping(addres...
These are the vulnerabilities found 1) locked-ether with Medium impact
// Copyright (C) 2020 Zerion Inc. <https://zerion.io> // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. // // This ...
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.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 { /** * @dev Returns the amount of tokens in existence. */ function totalSupply() external view returns (uint2...
No vulnerabilities found
/* DEFI is a rapidly growing sector within crypto, and it will be an essential part of tomorrow's economy. However, there are currently few incentives within most DEFI projects that are aligned with what the requirements for DEFI, and cryptocurrency in general, to grow. Only attracting other current cryptocurrency ent...
These are the vulnerabilities found 1) uninitialized-state with High impact 2) locked-ether with Medium impact
pragma solidity ^0.4.24; // ---------------------------------------------------------------------------- // '$TRUMP' token contract // // Deployed to : 0x307C80d0a9cf2acbFDAda1AAE010F845D48f8c9e // Symbol : $TRUMP // Name : TrumpCoin // Total supply: 1000000000000 // Decimals : 8 // // Enjoy. // // (c) ...
These are the vulnerabilities found 1) locked-ether with Medium impact
// SPDX-License-Identifier: MIT pragma solidity >=0.6.0 <0.8.0; import "@openzeppelin/contracts/GSN/Context.sol"; import "@openzeppelin/contracts/token/ERC20/IERC20.sol"; import "@openzeppelin/contracts/math/SafeMath.sol"; /** * @dev Implementation of the {IERC20} interface. * * This implementation is agnostic to...
These are the vulnerabilities found 1) divide-before-multiply with Medium impact 2) arbitrary-send with High impact 3) reentrancy-eth with High impact 4) weak-prng with High impact 5) unused-return with Medium impact
// SPDX-License-Identifier: MIT // File: @openzeppelin/contracts/token/ERC20/IERC20.sol 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 r...
No vulnerabilities found