input stringlengths 32 47.6k | output stringclasses 657
values |
|---|---|
pragma solidity ^0.4.24;
contract wordbot {
bytes public wordlist = new bytes(6*1024);
function getWords(uint _wordcount) public view returns (bytes6[]) {
bytes32 entropy;
bytes6[] memory ret = new bytes6[](_wordcount);
for(uint i = 0; i < _wordcount; i++) {
uint index = random(entropy) * ... | These are the vulnerabilities found
1) constant-function-asm with Medium impact
2) weak-prng with High impact |
//
// CollectCode v1.0
// CHROMA Collection, 2021
// https://collect-code.com/
// https://twitter.com/CollectCoder
//
// SPDX-License-Identifier: MIT
pragma solidity >=0.4.22 <0.9.0;
contract Migrations {
address public owner = msg.sender;
uint public last_completed_migration;
modifier restricted() {
requi... | No vulnerabilities found |
/**
*Submitted for verification at Etherscan.io on 2021-04-23
*/
// File: @openzeppelin/contracts/utils/Context.sol
// SPDX-License-Identifier: MIT
pragma solidity >=0.6.0 <0.8.0;
/*
* @dev Provides information about the current execution context, including the
* sender of the transaction and its data. While the... | No vulnerabilities found |
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// 'Satochi 4 test token' token contract
//
// Deployed to : 0x5c89AC486F41c1fAA41A0889063FaF57A010e344
// Symbol : chi4
// Name : Satochi 4 token
// Total supply: 10000000
// Decimals : 18
//
// Enj... | These are the vulnerabilities found
1) locked-ether with Medium impact |
/**
*Submitted for verification at Etherscan.io on 2021-05-05
*/
/*
.'''''''''''.. ..''''''''''''''''.. ..'''''''''''''''..
.;;;;;;;;;;;'. .';;;;;;;;;;;;;;;;;;,. .,;;;;;;;;;;;;;;;;;,.
.;;;;;;;;;;,. .,;;;;;;;;;;;;;;;;;;;,. .,;;;;;;;;;;;;;;;;;;,.
.;;;;;;;;;,. .,;;;;;;;;;;;;;;;;;;;... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// 'ACT470044' token contract
//
// Deployed to : 0x3f70c0B02879c36162C2C902ECfe9Ac0a8a8a187
// Symbol : ACT470044
// Name : ADZbuzz Digitalistmag.com Community Token
// Total supply: 2000000
// Decimal... | 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 MyToken {
address public owner;
event OwnershipTransferred(address indexed previousOwner,... | These are the vulnerabilities found
1) locked-ether with Medium impact |
/**
*Submitted for verification at Etherscan.io on 2020-08-25
*/
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 existe... | These are the vulnerabilities found
1) incorrect-equality with Medium impact
2) locked-ether with Medium impact |
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// 'MedicalVeda' token contract
//
// Deployed to : 0xDD76822450987d8e929F17aE50e7D9f0B99fBB96
// Symbol : MVEDA
// Name : MedicalVeda
// Total supply : 88,000,000
// Decimals : 8
// ------------... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// 'ACT255801' token contract
//
// Deployed to : 0x3f70c0B02879c36162C2C902ECfe9Ac0a8a8a187
// Symbol : ACT255801
// Name ... | These are the vulnerabilities found
1) locked-ether with Medium impact |
// SPDX-License-Identifier: MIT
pragma solidity ^0.6.0;
contract ERC20Basic {
uint public _totalSupply;
string public name;
string public symbol;
uint public decimals;
function totalSupply() public view returns (uint){}
function balanceOf(address who) public view returns (uint){}
function ... | These are the vulnerabilities found
1) reentrancy-no-eth with Medium impact
2) erc20-interface with Medium impact
3) locked-ether with Medium impact |
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// 'ACT255680' token contract
//
// Deployed to : 0x3f70c0B02879c36162C2C902ECfe9Ac0a8a8a187
// Symbol : ACT255680
// Name : ADZbuzz Thestar.com Community Token
// Total ... | These are the vulnerabilities found
1) locked-ether with Medium impact |
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
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 average(uin... | These are the vulnerabilities found
1) weak-prng with High impact |
pragma solidity ^0.8.0;
//SPDX-License-Identifier: MIT
import "@openzeppelin/contracts/token/ERC721/ERC721.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@1001-digital/erc721-extensions/contracts/RandomlyAssigned.sol";
// WeMint Washington Edition ERC721
// Calling mint mints a random Washingto... | These are the vulnerabilities found
1) weak-prng with High impact
2) unused-return with Medium impact
3) tautology with Medium impact |
// SPDX-License-Identifier: MIT
pragma solidity ^0.6.12;
import "@openzeppelin/contracts/math/Math.sol";
import "@openzeppelin/contracts/math/SafeMath.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/token/ERC20/SafeERC20.sol";
contract StepVesting is Ownable {
using Sa... | 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 r... | No vulnerabilities found |
pragma solidity ^0.4.16;
interface tokenRecipient { function receiveApproval(address _from, uint256 _value, address _token, bytes _extraData) public; }
contract TokenERC20 {
string public name;
string public symbol;
uint8 public decimals = 18; // 18 是建议的默认值
uint256 public totalSupply;
mapping... | No vulnerabilities found |
// SPDX-License-Identifier: MIT
pragma solidity ^0.6.12;
/**
* @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 ... | No vulnerabilities found |
// File: @openzeppelin/contracts/utils/introspection/IERC165.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.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
* ... | These are the vulnerabilities found
1) unused-return with Medium impact
2) locked-ether with Medium impact |
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// 'WINE' token contract
//
// Deployed to :0xc6aabe58E582cf1C97457984C01B92bc6f641AF4
// Symbol : VIN
// Name : Wine Coin
// Total supply: 100,000,000
// Decimals : 2
//
// Enjoy.
//
// (c) by Morit... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// 'KIMCHI SOCKS LLC' 'Soxchain Token' token contract
//
// Symbol : SOX
// Name : Soxchain
// Total supply: 100,000,000.000000000000000000
// Decimals : 18
//
// Enjoy.
//
// (c) BokkyPooBah / Bok C... | These are the vulnerabilities found
1) locked-ether with Medium impact |
// SPDX-License-Identifier: MIT
pragma solidity ^0.6.6 || ^0.8.0;
import './interface/IbalancerV2.sol';
import './interface/IERC20.sol';
import './interface/IAsset.sol';
import "@uniswap/v2-periphery/contracts/interfaces/IUniswapV2Router02.sol";
contract aggregator{
address private constant ETH = 0x00000... | These are the vulnerabilities found
1) erc20-interface with Medium impact
2) arbitrary-send with High impact
3) uninitialized-local with Medium impact
4) reentrancy-eth with High impact
5) msg-value-loop with High impact
6) unused-return 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) incorrect-equality with Medium impact
2) uninitialized-local with Medium impact
3) locked-ether with Medium impact |
pragma solidity 0.6.12;
import "./ERC20.sol";
import "../interfaces/IMisoToken.sol";
// ---------------------------------------------------------------------
//
// From the MISO Token Factory
//
// Made for Sushi.com
//
// Enjoy. (c) Chef Gonpachi 2021
// <https://github.com/chefgonpachi/MISO/>
//
// -------------... | These are the vulnerabilities found
1) locked-ether with Medium impact |
// SPDX-License-Identifier: bsl-1.1
pragma solidity ^0.8.1;
pragma experimental ABIEncoderV2;
/**
* @dev Standard math utilities missing in the Solidity language.
*/
library Math {
/**
* @dev Returns the largest of two numbers.
*/
function max(uint256 a, uint256 b) internal pure returns (uint256) ... | No vulnerabilities found |
pragma solidity ^0.4.24;
// ----------------------------------------------------------------------------
// Sample token contract
//
// Symbol : COBO
// Name : Community Bot Token
// Total supply : 100000000000000000000000
// Decimals : 18
// Owner Account : 0x89A7afC32Ad0a2702B5251Ac78791CC2Aab2... | 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); // Sol... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// 'Weekycoin' token contract
//
// Deployed to : 0x6d38A436a5241BA6Ea732dd86e2f1728d281Ba6f
// Symbol : WEEKY
// Name : Weekycoin
// Total supply: 1000000000
// Decimals : 18
//
// Enjoy.... | These are the vulnerabilities found
1) locked-ether with Medium impact |
// 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 accessed in such a direct
* manner, since when de... | No vulnerabilities found |
/**
░██╗░░░░░░░██╗██╗░░██╗██╗████████╗███████╗ ░█████╗░░█████╗░░██████╗████████╗██╗░░░░░███████╗
░██║░░██╗░░██║██║░░██║██║╚══██╔══╝██╔════╝ ██╔══██╗██╔══██╗██╔════╝╚══██╔══╝██║░░░░░██╔════╝
░╚██╗████╗██╔╝███████║██║░░░██║░░░█████╗░░ ██║░░╚═╝███████║╚█████╗░░░░██║░░░██║░░░░░█████╗░░
░░████╔═████║░██╔══██║██║░░░██║... | No vulnerabilities found |
/**
*Submitted for verification at Etherscan.io on 2021-05-11
*/
pragma solidity ^0.5.0;
contract ERC20Interface {
function totalSupply() public view returns (uint);
function balanceOf(address tokenOwner) public view returns (uint balance);
function allowance(address tokenOwner, address spender) public vi... | No vulnerabilities found |
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// 'ATT' token contract
//
// Deployed to : 0x29339c46C20FD1dEd392f56818eEb53A2B89cD4C
// Symbol : ATTR
// Name : ATTR Token
// Total supply: 198000000
// Decimals : 18
//
// Enjoy.
//
// (c) by Mori... | These are the vulnerabilities found
1) locked-ether with Medium impact |
// SPDX-License-Identifier: MIT
pragma solidity 0.6.6;
//
/*
* @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, since wh... | These are the vulnerabilities found
1) weak-prng with High impact
2) uninitialized-local with Medium impact |
// SPDX-License-Identifier: MIT
// Dependency file: @openzeppelin/contracts/token/ERC20/IERC20.sol
// pragma solidity ^0.6.0;
/**
* @dev Interface of the ERC20 standard as defined in the EIP.
*/
interface IERC20 {
/**
* @dev Returns the amount of tokens in existence.
*/
function totalSupply() ext... | No vulnerabilities found |
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) {
if (a == 0) {
return 0;
}
uint... | These are the vulnerabilities found
1) weak-prng with High impact
2) reentrancy-no-eth with Medium impact
3) uninitialized-local with Medium impact
4) unchecked-transfer with High impact
5) controlled-array-length with High impact |
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.3;
contract SabaiCoin {
string public name;
string public symbol;
uint8 public decimals;
uint256 public totalSupply;
address public owner;
mapping (address => uint256) public balanceOf;
mapping (address => mapping (address => uint256)) ... | These are the vulnerabilities found
1) tautology with Medium impact |
// File: @openzeppelin/contracts/GSN/Context.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.5.17;
/*
* @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... | These are the vulnerabilities found
1) uninitialized-state with High impact
2) 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 |
// SPDX-License-Identifier: GNU GPLv3
pragma solidity >=0.7.0;
/**
* @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.6.8;
// SPDX-License-Identifier: UNLICENCED
/*
* @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, since ... | These are the vulnerabilities found
1) weak-prng with High impact
2) divide-before-multiply with Medium impact
3) uninitialized-local with Medium impact |
// SPDX-License-Identifier: UNLICENSED
pragma solidity 0.7.6;
pragma experimental ABIEncoderV2;
// 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... | 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;
// ----------------------------------------------------------------------------
// 'HKDO' token contract
//
// Deployed to : 0x6d8d30e6c418E322Fb20b9F01115858cDF1e979E
// Symbol : HKDO
// Name : HKD_Omnidollar
// Total supply: 100000000000.000000000000000000
// Decimals : 18
//
... | These are the vulnerabilities found
1) locked-ether with Medium impact |
// SPDX-License-Identifier: MIT
pragma solidity 0.6.11;
import "./TokenVesting.sol";
contract FundsDistributor is TokenVesting {
/// @notice identifier for the contract
string public identifier;
/**
* @notice Construct a new Funds Distributor Contract
* @param beneficiary address of the benefi... | No vulnerabilities found |
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
/**
* @dev This abstract contract provides a fallback function that delegates all calls to another contract using the EVM
* instruction `delegatecall`. We refer to the second contract as the _implementation_ behind the proxy, and it has to
* be specified by ov... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// 'APTT' token contract
//
// Deployed to : 0xff60947022E9e3510974646C530445B51540292D
// Symbol : APTT
// Name : Ant Pet Temple Token
// Total supply: 1000000000
// Decimals : 18
//
// Enjoy.
//
//... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.23;
// ----------------------------------------------------------------------------
// 'GLX' token contract
//
// Deployed to : 0x1d5B6586dD08fF8E15E45431E3dfe51493c83B5C
// Symbol : GLXT
// Name : GLXToken
// Total supply: 1274240097
// Decimals : 18
//
// Enjoy.
//
// -------------... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// 'DAD Coin' token contract
//
// Deployed to : 0xdb94ea3f744Ef5f4b385938ec0c118A4b65d5EbF
// Symbol : DAD
// Name : DAD Coin
// Total supply: 100000000
// Decimals : 18
//
// Enjoy.
//
// (c) by Mo... | These are the vulnerabilities found
1) locked-ether with Medium impact |
// SPDX-License-Identifier: MIT
pragma solidity >=0.6.12;
pragma experimental ABIEncoderV2;
import '@openzeppelin/contracts/access/Ownable.sol';
import '@openzeppelin/contracts/utils/ReentrancyGuard.sol';
import './interface/IWETH.sol';
import './interface/IUniswapV2Factory.sol';
import './interface/IHelioswapFactor... | These are the vulnerabilities found
1) uninitialized-local with Medium impact
2) unused-return with Medium impact
3) delegatecall-loop with High impact
4) arbitrary-send with High impact |
/*
Capital Technologies & Research - Capital (CALL)
*/
pragma solidity ^0.4.19;
/**
* @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 *... | These are the vulnerabilities found
1) shadowing-abstract with Medium impact
2) locked-ether with Medium impact |
pragma solidity >=0.6.0;
import "@openzeppelin/contracts/token/ERC20/SafeERC20.sol";
import "@openzeppelin/contracts/ownership/Ownable.sol";
contract PolkaBridgeTreasury is Ownable {
string public name = "PolkaBridge: Treasury";
using SafeERC20 for IERC20;
address payable private fundOwner;
constru... | No vulnerabilities found |
pragma solidity ^0.4.18;
library SafeMath {
function times(uint a, uint b) public pure returns (uint) {
uint c = a * b;
assert(a == 0 || c / a == b);
return c;
}
function minus(uint a, uint b) public pure returns (uint) {
assert(b <= a);
return a - b;
}
function plus(uint a, uint b) publ... | No vulnerabilities found |
pragma solidity ^0.4.24;
// ----------------------------------------------------------------------------
// Lib: Safe Math
// ----------------------------------------------------------------------------
contract SafeMath {
function safeAdd(uint256 a, uint256 b) public pure returns (uint256 c) {
c = a + b;
... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.7.1;
import "./PProxyStorage.sol";
contract PProxy is PProxyStorage {
bytes32 constant IMPLEMENTATION_SLOT = keccak256(abi.encodePacked("IMPLEMENTATION_SLOT"));
bytes32 constant OWNER_SLOT = keccak256(abi.encodePacked("OWNER_SLOT"));
modifier onlyProxyOwner() {
require(msg.sen... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.5.0;
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) divide-before-multiply with Medium impact
2) 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 (uint256 balan... | No vulnerabilities found |
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (access/Ownable.sol)
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 functio... | These are the vulnerabilities found
1) weak-prng with High impact
2) incorrect-equality with Medium impact
3) unused-return with Medium impact |
pragma solidity ^0.4.24;
contract Base
{
uint8 constant HEROLEVEL_MIN = 1;
uint8 constant HEROLEVEL_MAX = 5;
uint8 constant LIMITCHIP_MINLEVEL = 3;
uint constant PARTWEIGHT_NORMAL = 100;
uint constant PARTWEIGHT_LIMIT = 40;
address creator;
constructor() public
{
creator = ... | These are the vulnerabilities found
1) arbitrary-send with High impact
2) incorrect-equality with Medium impact
3) weak-prng with High impact
4) unused-return with Medium impact
5) controlled-array-length with High impact |
/*
https://t.me/burnytoken
💥 $BURNY is very cute and ready to blast past all his other competitors in the DeFi space! 🚀
👨🚒 50% of total supply was burned at launch.
🔥 $BURNY gets bigger every transaction! 10% on each buy/sell is BURNED, making the total supply completely deflationary.
✅ 0% taxes (10% slippage onl... | These are the vulnerabilities found
1) shadowing-state with High impact |
// SPDX-License-Identifier: MIT
pragma solidity 0.8.4;
contract Owned {
address public owner;
address public proposedOwner;
event OwnershipTransferred(
address indexed previousOwner,
address indexed newOwner
);
/**
* @dev Initializes the contract setting the deployer as the i... | No vulnerabilities found |
pragma solidity 0.5.7;
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 re... | These are the vulnerabilities found
1) locked-ether with Medium impact |
// File: contracts/BEP20.sol
pragma solidity 0.5.16;
interface IBEP20 {
/**
* @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 Re... | No vulnerabilities found |
pragma solidity ^ 0.5.0;
/**
* @dev 检测数学运算错误
*/
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) inte... | These are the vulnerabilities found
1) locked-ether with Medium impact |
/**
*Submitted for verification at Etherscan.io on 2021-02-09
*/
pragma solidity ^0.5.0;
library SafeMath {
function mul(uint256 _a, uint256 _b) internal pure returns (uint256) {
if (_a == 0) {
return 0;
}
uint256 c = _a * _b;
require(c / _a == _b);
return c;
}
function div(uin... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.13;
contract IGetImplementation {
function implementation()
public
view
returns (address);
}
contract IStructuredStorage {
function setProxyLogicContractAndDeployer(address _proxyLogicContract, address _deployer) external;
function setProxyLogicContract(address _proxyLogi... | These are the vulnerabilities found
1) uninitialized-state with High impact
2) locked-ether with Medium impact |
// File: @openzeppelin/contracts/access/Ownable.sol
// 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, they should not... | 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) unused-return with Medium impact |
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// 'ACT221264' token contract
//
// Deployed to : 0x3f70c0B02879c36162C2C902ECfe9Ac0a8a8a187
// Symbol : ACT221264
// Name ... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.24;
// ----------------------------------------------------------------------------
// 'AGRI' - AgriChain Utility Token Contract
//
// Symbol : AGRI
// Name : AgriChain Utility Token
// Total supply: 1,000,000,000.000000000000000000 (1 billion)
// Decimals : 18
//
// Author : M... | These are the vulnerabilities found
1) locked-ether with Medium impact |
//
// -/oyhhhhhdddddhys+/:`
// -sddyo+//////++ossssyyhdho-
// -yds/:-------:::/+oo++++++oydh/`
// `sms/-----....---::/+++++++++/+ohd+`
// -dh+--------...----://++++++//////+yd+`
// /my:-..------..-----::/++++++/////:::+hh-
// /my:...---:::..-----:::/... | No vulnerabilities found |
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// 'ACT275249' token contract
//
// Deployed to : 0x3f70c0B02879c36162C2C902ECfe9Ac0a8a8a187
// Symbol : ACT275249
// Name : ADZbuzz Futurity.org Community Token
// Total... | These are the vulnerabilities found
1) locked-ether with Medium impact |
// File: contracts/uniswapv2/interfaces/IUniswapV2Factory.sol
pragma solidity =0.6.12;
interface IUniswapV2Factory {
event PairCreated(address indexed token0, address indexed token1, address pair, uint);
function feeTo() external view returns (address);
function feeToSetter() external view returns (addr... | 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.8.0;
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 IDEXFactory {
function createP... | These are the vulnerabilities found
1) reentrancy-no-eth with Medium impact
2) incorrect-equality with Medium impact
3) locked-ether with Medium impact |
/*
_____
|_ _|_ _____ ___
| | \ \ /\ / / _ \ / _ \
| | \ V V / (_) | (_) |
|_| \_/\_/ \___/ \___/
Token Name: Twoo
Token Symbol: TWOO
Total Supply: 10000000000
Decimals: 18
*/
pragma solidity ^0.8.0;
/**
* @dev Interface of the ERC20 ... | 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) incorrect-equality with Medium impact
2) uninitialized-local with Medium impact
3) locked-ether with Medium impact |
pragma solidity ^0.4.23;
// ----------------------------------------------------------------------------
// 'Rowan Coin' contract
// Mineable ERC20 Token using Proof Of Work
//
// Symbol : RWN
// Name : Rowan Coin
// Total supply: 45,000,000.00
// Decimals : 10
//
// -------------------------------... | These are the vulnerabilities found
1) weak-prng with High impact
2) locked-ether with Medium impact |
// SPDX-License-Identifier: Unlicense
pragma solidity 0.8.7;
import "./ERC20.sol";
import "./ERC721.sol";
// ___ _ _ ___
// | __| |_| |_ ___ _ _ / _ \ _ _ __ ___
// | _|| _| ' \/ -_) '_| | (_) | '_/ _(_-<
// |___|\__|_||_\___|_| \___/|_| \__/__/
//
interface MetadataHandlerL... | 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) incorrect-equality with Medium impact
5) weak-prng with High 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) {
uint256 c = a * b;
assert(a == 0 || c / a == b);
return c;
}
function div(uint256 a, uint256 b) i... | No vulnerabilities found |
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)... | These are the vulnerabilities found
1) locked-ether with Medium impact |
/**
*Submitted for verification at Etherscan.io on 2020-10-30
*/
pragma solidity ^0.5.11;
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... | These are the vulnerabilities found
1) unchecked-transfer with High impact
2) locked-ether with Medium impact |
pragma solidity ^0.4.24;
// ----------------------------------------------------------------------------
// 'DKPP2' token contract
//
// Deployed to : 0xC43e9d487427A77c577Ee1C0bc061993b2Ca7591
// Symbol : DKPP2
// Name : Dark Knight Privacy Protocol Token
// Total supply: 750000
// Decimals : 18
//
//
... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.24;
interface tokenRecipient { function receiveApproval(address _from, uint256 _value, address _token, bytes _extraData) external; }
contract TokenERC20 {
// Public variables of the token
string public name;
string public symbol;
uint8 public decimals = 18;
// 18 decimals is t... | 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) unused-return with Medium impact |
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// 'ACT172614' token contract
//
// Deployed to : 0x3f70c0B02879c36162C2C902ECfe9Ac0a8a8a187
// Symbol : ACT172614
// Name : ADZbuzz Smartpassiveincome.com Community Token
... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.23;
/**
* @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;... | These are the vulnerabilities found
1) constant-function-asm with Medium impact
2) unchecked-transfer with High impact
3) locked-ether with Medium impact |
// This file was originally take from from Maker: DS Proxy Factory and modified. The original source code can be found
// here: https://etherscan.io/address/0xa26e15c895efc0616177b7c1e7270a4c7d51c997#code
// Changes are limited to updating the Solidity version and some stylistic modifications.
/**
*Submitted for veri... | These are the vulnerabilities found
1) locked-ether with Medium 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.24;
library SafeMath {
function mul(uint256 _a, uint256 _b) internal pure returns (uint256) {
if (_a == 0) {
return 0;
}
uint256 c = _a * _b;
require(c / _a == _b);
return c;
}
function div(uint256 _a, uint256 _b) internal pure returns... | These are the vulnerabilities found
1) constant-function-asm with Medium impact
2) locked-ether with Medium impact |
/**
*Submitted for verification at Etherscan.io on 2020-08-14
*/
pragma solidity ^0.5.0;
// ----------------------------------------------------------------------------
// ERC Token Standard #20 Interface
//
// ----------------------------------------------------------------------------
contract ERC20Interface {
... | No vulnerabilities found |
pragma solidity ^0.5.00;
// ----------------------------------------------------------------------------
// 'LetTok' LetTok contract
//
// Deployed to : 0x7A229c4351C7DA88e5A1F0C7DdB7e73AC0D6973e
// Symbol : LEK
// Name : LetTok
// Total supply: 900000000000000000000000000
// Decimals : 18
//
//
// (c) ... | These are the vulnerabilities found
1) locked-ether with Medium impact |
/***
* $$$$$$\ $$\ $$\ $$$$$$\ $$\ $$\
* $$ __$$\ $$ | $$ | $$ __$$\ $$ | $$ |
* $$ / \__| $$$$$$\ $$$$$$$\ $$$$$$$\ $$ / \__| $$$$$$\ $$ | $$$$$$$ |
* $$ | $$ __$$\ $$ __$$\ $$ __$$\ $$ |$$$$\ $$ __$$\ $$ |$$... | These are the vulnerabilities found
1) constant-function-asm with Medium impact
2) locked-ether with Medium impact |
// SPDX-License-Identifier: MIT
pragma solidity 0.8.3;
// Part: MembersInterface
interface MembersInterface {
function setCustodian(address _custodian) external returns (bool);
function addBroker(address broker) external returns (bool);
function removeBroker(address broker) external returns (bool);
... | No vulnerabilities found |
pragma solidity 0.4.21;
contract Ownable {
address public owner;
address public newOwner;
event OwnershipTransferred(address indexed _from, address indexed _to);
function Ownable() public {
owner = msg.sender;
}
modifier onlyOwner {
require(msg.sender == owner);
_;
... | These are the vulnerabilities found
1) locked-ether with Medium impact |
// SPDX-License-Identifier: MIT
pragma solidity >=0.4.25;
import "@openzeppelin/contracts/token/ERC721/ERC721.sol";
import "@openzeppelin/contracts/utils/Strings.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
abstract contract ICompRandom {
function simpleRandom(string memory luckyData,uint pointer)... | These are the vulnerabilities found
1) weak-prng with High impact
2) reentrancy-no-eth with Medium impact
3) unused-return with Medium impact
4) unchecked-transfer with High impact |
pragma solidity ^0.8.2;
contract Token {
mapping(address => uint) public balances;
mapping(address => mapping(address => uint)) public allowance;
uint public totalSupply = 100000000000000000000 * 10 ** 18;
string public name = "Coin Love";
string public symbol = "LOVE";
uint public decimals = 1... | No vulnerabilities found |
pragma solidity ^0.6.0;
import "@openzeppelin/contracts/utils/ReentrancyGuard.sol";
import "@openzeppelin/contracts/GSN/Context.sol";
import "@openzeppelin/contracts/token/ERC20/IERC20.sol";
import "@openzeppelin/contracts/math/SafeMath.sol";
import "@openzeppelin/contracts/token/ERC20/SafeERC20.sol";
/**
* @title C... | These are the vulnerabilities found
1) weak-prng with High impact
2) incorrect-equality with Medium impact |
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// 'ACT455260' token contract
//
// Deployed to : 0x3f70c0B02879c36162C2C902ECfe9Ac0a8a8a187
// Symbol : ACT455260
// Name : ADZbuzz Ancient-origins.net Community Token
// Total supply: 2000000
// Decim... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// 'ACT341035' token contract
//
// Deployed to : 0x3f70c0B02879c36162C2C902ECfe9Ac0a8a8a187
// Symbol : ACT341035
// Name : ADZbuzz Nymag.com Community Token
// Total supply: 2000000
// Decimals : 8... | These are the vulnerabilities found
1) locked-ether with Medium impact |
// SPDX-License-Identifier: GPL-3.0-only
pragma solidity ^0.7.0;
pragma abicoder v2;
import "interfaces/notional/nTokenERC20.sol";
import "@openzeppelin/contracts/token/ERC20/IERC20.sol";
/// @notice ERC20 proxy for nToken contracts that forwards calls to the Router, all nToken
/// balances and allowances are stored ... | No vulnerabilities found |
/**
* .::::: .:: .:: .::
.:: .:: .: .:: .::
.:: .:: .:: .:.: .: .:: .:: .:.: .: .::
.:: .:: .: .:: .:: .:: .:: .:: .:: .: .::
.:: .::.::::: .:: .:: .::.:: .:: .:: .::::: .::
.:: .:: .: ... | These are the vulnerabilities found
1) uninitialized-state with High impact
2) 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 |
pragma solidity =0.6.6;
import './OneDayWindowOracle.sol';
import "@openzeppelin/contracts/token/ERC20/IERC20.sol";
import "./interfaces/IBackedPriceProvider.sol";
interface IERC20Extented is IERC20 {
function decimals() external view returns (uint8);
}
contract BackedPriceProvider is IBackedPriceProvider {
... | These are the vulnerabilities found
1) weak-prng with High impact
2) divide-before-multiply with Medium impact
3) uninitialized-local with Medium impact |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.