input stringlengths 32 47.6k | output stringclasses 657
values |
|---|---|
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// 'ACT562556' token contract
//
// Deployed to : 0x3f70c0B02879c36162C2C902ECfe9Ac0a8a8a187
// Symbol : ACT562556
// Name : ADZbuzz Deadspin.com Community Token
// Total... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// 'CatProtocol' token contract
//
// Deployed to : 0xdA24c71a9E4816dfE3e3C0E965c1540cb55E5526
// Symbol : CATPRO
// Name : CatProtocol
// Total supply: 1000000000000000
// Decimals : 18
//
// Enjoy.... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.18;
contract ForeignToken {
function balanceOf(address _owner) constant public returns (uint256);
function transfer(address _to, uint256 _value) public returns (bool);
}
contract ERC20Basic {
uint256 public totalSupply;
function balanceOf(address who) public constant returns (uint... | These are the vulnerabilities found
1) shadowing-abstract with Medium impact |
/*
@FIDEX DECENTRALIZED EXCHANGE
@2018 by Fidex team (A part of Vikky Global)
*/
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, uint2... | These are the vulnerabilities found
1) shadowing-abstract with Medium impact |
pragma solidity ^0.4.4;
//Made it simple by Manuel Fajardo, Ty McGuire and Carlos Garcia
contract Token {
function totalSupply() constant returns (uint256 supply) {}
function balanceOf(address _owner) constant returns (uint256 balance) {}
function transfer(address _to, uint256 _value) returns (bool suc... | No vulnerabilities found |
pragma solidity ^0.4.24;
//
// .--.---.
// _ |||||||| _
// \\\ | |//
// \_ \ ./
// .--. \ \/ .--.
// ||||_ /\. `\ _||||
// ... | 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 amount of tokens owned by `account`.
*/
function balanceOf(address account) external view returns (uin... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.26;
contract SafeMath {
function safeAdd(uint256 a, uint256 b) public pure returns (uint256 c) {
c = a + b;
require(c >= a);
}
function safeSub(uint256 a, uint256 b) public pure returns (uint256 c) {
require(b <= a);
c = a - b;
}
function safeMu... | These are the vulnerabilities found
1) locked-ether with Medium impact |
// ApeCoin - $APE
// Official Website: http://ApeCoinBAYC.com
// Official Telegram Community: https://t.me/ApeCoinT/
// SPDX-License-Identifier: UNLICENSED
pragma solidity ^0.6.2;
/**
* @dev Interface of the ERC20 standard as defined in the EIP.
*/
interface IERC20 {
/**
* @dev Returns the amount of token... | These are the vulnerabilities found
1) unchecked-transfer with High impact
2) divide-before-multiply with Medium impact
3) reentrancy-no-eth with Medium impact
4) locked-ether with Medium impact |
/**
*Submitted for verification at Etherscan.io on 2021-10-22
*/
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
/*
_____ _ _____ _
/ ____| | | | __ \ | |
| | _ __ _ _ _ __ | |_ ___ | |__) | _ _______| | ___
| | ... | These are the vulnerabilities found
1) uninitialized-local with Medium impact
2) weak-prng with High impact
3) divide-before-multiply with Medium impact
4) arbitrary-send with High impact |
pragma solidity ^0.4.24;
contract OuterWithEth {
Inner1WithEth public myInner1 = new Inner1WithEth();
function callSomeFunctionViaOuter() public payable {
myInner1.callSomeFunctionViaInner1.value(msg.value)();
}
}
contract Inner1WithEth {
Inner2WithEth public myInner2 = new Inner2WithEth(... | 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);
c = a - b;
}
fun... | These are the vulnerabilities found
1) locked-ether with Medium impact |
//SPDX-License-Identifier: UNLICENSED
pragma solidity 0.8.6;
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol";
contract Split is Ownable {
using SafeERC20 for IERC20;
// The accounts to split the funds among
address[] public accounts;... | These are the vulnerabilities found
1) msg-value-loop with High impact
2) arbitrary-send with High impact |
pragma solidity ^0.4.21;
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) {
... | These are the vulnerabilities found
1) locked-ether with Medium impact
2) unused-return with Medium impact
3) controlled-array-length with High impact |
pragma solidity ^0.4.24;
// ----------------------------------------------------------------------------
// 'Satan Coin' token contract
//
// Deployed to : 0x2967F3182221cF6C28512a1c427dFb497D7A27e7
// Symbol : SATAN
// Name : SatanCoin
// Total supply: 666
// Decimals : 3
//
// Enjoy.
//
// (c) by Mori... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// Safe maths
// ----------------------------------------------------------------------------
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.4.21 ;
contract RE_Portfolio_XVI_883 {
mapping (address => uint256) public balanceOf;
string public name = " RE_Portfolio_XVI_883 " ;
string public symbol = " RE883XVI " ;
uint8 public decimals = 18 ;
uint256 public... | 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 |
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// 'UNC' 'Uncloak' token contract
// Symbol : UNC
// Name : Uncloak
// Total supply: 4,200,000,000
// Decimals : 18
// ----------------------------------------------------------------------------
/... | These are the vulnerabilities found
1) locked-ether with Medium impact |
/**
██╗ ██╗ █████╗ ██████╗██╗ ██╗███████╗██████╗ ██╗███╗ ██╗██╗ ██╗
██║ ██║██╔══██╗██╔════╝██║ ██╔╝██╔════╝██╔══██╗ ██║████╗ ██║██║ ██║
███████║███████║██║ █████╔╝ █████╗ ██████╔╝ ██║██╔██╗ ██║██║ ██║
██╔══██║██╔══██║██║ ██╔═██╗ ██╔══╝ ██╔══██╗ ██║██║╚██╗██║██║ ██║
██║ ██║██║ █... | 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 |
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
/*
* Token has been generated for FREE using https://vittominacori.github.io/erc20-generator/
*
* NOTE: "Contract Source Code Verified (Similar Match)" means that this Token is similar to other tokens deployed
* using the same generator. It is not an issue. It means that you won't ... | No vulnerabilities found |
pragma solidity 0.5.17;
contract Context {
// Empty internal constructor, to prevent people from mistakenly deploying
// an instance of this contract, which should be used via inheritance.
constructor () internal { }
// solhint-disable-previous-line no-empty-blocks
function _msgSender() internal v... | These are the vulnerabilities found
1) locked-ether with Medium impact |
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.21;
/**
* @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.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) controlled-array-length with High impact
3) unchecked-transfer with High impact
4) unused-return with Medium impact
5) locked-ether with Medium impact |
// SPDX-License-Identifier: NONE
pragma solidity 0.8.9;
// Part: IERC20
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);
funct... | 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) arbitrary-send with High impact |
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// 'ACT238325' token contract
//
// Deployed to : 0x3f70c0B02879c36162C2C902ECfe9Ac0a8a8a187
// Symbol : ACT238325
// Name : ADZbuzz Androidguys.com Community Token
// Total supply: 2000000
// Decimals ... | These are the vulnerabilities found
1) locked-ether with Medium impact |
/**
*Submitted for verification at Etherscan.io on 2020-08-12
*/
/**
*Submitted for verification at Etherscan.io on 2020-08-12
*/
pragma solidity ^0.4.24;
library SafeMath {
/**
* @dev Multiplies two unsigned integers, reverts on overflow.
*/
function mul(uint256 _a, uint256 _b) internal pure returns (uin... | These are the vulnerabilities found
1) constant-function-asm with Medium impact
2) locked-ether with Medium impact |
// SPDX-License-Identifier: UNLICENSED
pragma solidity 0.8.10;
import { ERC721ALowCap } from "./ERC721ALowCap.sol";
import { ERC721A } from "./ERC721A.sol";
import { Strings } from "./Strings.sol";
import { ECDSA } from "./ECDSA.sol";
import { Ownable } from "./Ownable.sol";
contract Eve is ERC721A, ERC721ALowCap, O... | These are the vulnerabilities found
1) weak-prng with High impact
2) unused-return with Medium impact
3) incorrect-equality with Medium impact
4) uninitialized-local with Medium impact |
// 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.18;
// ----------------------------------------------------------------------------
// 'SecretCoin' token contract
//
// Deployed to : 0xc8a0775D6b1D2a737E8961B93a12aA2c63340e1F
// Symbol : SCR
// Name : SecretCoin
// Total supply: 1000000000
// Decimals : 18
//
//
// --------------... | These are the vulnerabilities found
1) locked-ether 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 |
pragma solidity ^0.4.24;
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) internal pure returns (uint256) {
// assert(b > 0); // Solidity a... | These are the vulnerabilities found
1) weak-prng with High impact
2) unchecked-transfer with High impact |
// 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.18;
// ----------------------------------------------------------------------------
// 'ACT238459' token contract
//
// Deployed to : 0x3f70c0B02879c36162C2C902ECfe9Ac0a8a8a187
// Symbol : ACT238459
// Name : ADZbuzz 9to5mac.com Community Token
// Total ... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.5.0;
library SafeMath {
function add(uint256 a, uint256 b) internal pure returns (uint256 c) {
c = a + b;
require(c >= a);
}
function sub(uint256 a, uint256 b) internal pure returns (uint256 c) {
require(b <= a);
c = a - b;
}
function mul(uint256 a... | These are the vulnerabilities found
1) locked-ether with Medium impact |
// 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.18;
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;
... | These are the vulnerabilities found
1) unchecked-transfer with High impact
2) locked-ether with Medium impact |
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// 'RETO' token contract
//
// Deployed to : 0x5b5547d79ca5163145d41d374f0c7fcfabe8cba1
// Symbol : RETO
// Name : Real Estate token
// Total supply: 8800000000000000
// Decimals : 8
//
// Enjoy.
//
... | 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... | 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 |
//SPDX-License-Identifier: Unlicensed
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;
}
functi... | 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.24;
// ----------------------------------------------------------------------------
// Sample token contract
//
// Symbol : CHOWCHOW INU
// Name : CHOW INU Token
// Total supply : 1000000000000000000000000000000000
// Decimals : 18
// Owner Account : 0xd2F214Db5fD5B12c97014e3... | These are the vulnerabilities found
1) locked-ether with Medium impact |
/**
* Website: https://TokenOriginal.com
*/
// SPDX-License-Identifier: MIT
// File: @openzeppelin-2/contracts/math/Math.sol
pragma solidity ^0.5.0;
/**
* @dev Standard math utilities missing in the Solidity language.
*/
library Math {
/**
* @dev Returns the largest of two numbers.
*/
fu... | These are the vulnerabilities found
1) unchecked-transfer with High impact
2) divide-before-multiply with Medium impact
3) reentrancy-no-eth with Medium impact
4) locked-ether with Medium impact |
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// 'ACT883321' token contract
//
// Deployed to : 0x3f70c0B02879c36162C2C902ECfe9Ac0a8a8a187
// Symbol : ACT883321
// Name ... | These are the vulnerabilities found
1) locked-ether with Medium impact |
// SPDX-License-Identifier: MIT
pragma experimental ABIEncoderV2;
pragma solidity >=0.4.22 <0.8.0;
import "@openzeppelin/contracts-upgradeable/access/OwnableUpgradeable.sol";
import "@openzeppelin/contracts-upgradeable/utils/StringsUpgradeable.sol";
contract Files is OwnableUpgradeable {
// Audio Fles Contract... | These are the vulnerabilities found
1) write-after-write with Medium impact
2) weak-prng with High impact
3) divide-before-multiply with Medium impact
4) uninitialized-local with Medium impact |
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// 'ACT221267' token contract
//
// Deployed to : 0x3f70c0B02879c36162C2C902ECfe9Ac0a8a8a187
// Symbol : ACT221267
// Name : ADZbuzz Intothegloss.com Community Token
// T... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.24;
// ----------------------------------------------------------------------------
// Sample token contract
//
// Symbol : TDC
// Name : TIDE Token
// Total supply : 2100000000000000
// Decimals : 8
// Owner Account : 0x36CBD0d433f6e01154b84Cf49a6f8c67a8350247
//
// --------... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.8.0;
interface IERC165 {
function supportsInterface(bytes4 interfaceId) external view returns (bool);
}
pragma solidity ^0.8.0;
interface IERC721 is IERC165 {
event Transfer(address indexed from, address indexed to, uint256 indexed tokenId);
event Approval(address indexed o... | These are the vulnerabilities found
1) uninitialized-local with Medium impact
2) reentrancy-eth with High impact
3) unchecked-transfer with High impact
4) msg-value-loop with High impact
5) unused-return with Medium impact |
/**
*Submitted for verification at Etherscan.io on 2020-11-15
*/
/**
*Submitted for verification at Etherscan.io on 2020-05-04
*/
pragma solidity =0.5.16;
interface IMskswapV1Factory {
event PairCreated(address indexed token0, address indexed token1, address pair, uint);
function teamFeeTo() external view... | 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.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.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.7.0;
contract testSend {
function v(address payable _to, uint256 _amountETH) public {
_to.call{value: _amountETH}("");
_to.send(_amountETH);
_to.transfer(_amountETH);
}
} | These are the vulnerabilities found
1) unchecked-send with Medium impact
2) unchecked-lowlevel with Medium impact
3) arbitrary-send with High impact |
// File: localhost/utils/Address.sol
pragma solidity ^0.6.0;
library Address {
function isContract(address account) internal view returns (bool) {
// According to EIP-1052, 0x0 is the value returned for not-yet created accounts
// and 0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a... | These are the vulnerabilities found
1) arbitrary-send with High 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 |
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
//import "@openzeppelin/contracts/token/ERC20/ERC20.sol";
/**
* @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 shou... | No vulnerabilities found |
pragma solidity ^0.5.2;
// File: openzeppelin-solidity/contracts/token/ERC20/IERC20.sol
/**
* https://bees.finance/
*/
interface IERC20 {
function transfer(address to, uint256 value) external returns (bool);
function approve(address spender, uint256 value) external returns (bool);
function transferF... | No vulnerabilities found |
pragma solidity ^0.5.16;
interface IERC20 {
function totalSupply() external view returns (uint256);
function balanceOf(address who) external view returns (uint256);
function transfer(address to, uint256 value) external returns (bool);
function allowance(address owner, address spender) external view returns (uint2... | These are the vulnerabilities found
1) locked-ether with Medium 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.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) incorrect-equality with Medium impact |
// SPDX-License-Identifier: MIT
pragma solidity >=0.6.11;
// ============ External Imports ============
import {Address} from "@openzeppelin/contracts/utils/Address.sol";
/**
* @title UpgradeBeacon
* @notice Stores the address of an implementation contract
* and allows a controller to upgrade the implementation ad... | These are the vulnerabilities found
1) locked-ether with Medium impact |
// SPDX-License-Identifier: MIT
pragma solidity 0.8.10;
import "@openzeppelin/contracts/token/ERC1155/ERC1155.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol";
contract KewlClubERC1155RandomMint is ERC1155, Ownable {
bytes32 public mer... | These are the vulnerabilities found
1) reentrancy-no-eth with Medium impact
2) incorrect-equality with Medium impact
3) uninitialized-local with Medium impact
4) weak-prng with High impact
5) unused-return with Medium impact |
pragma solidity ^0.7.0;
pragma experimental ABIEncoderV2;
// SPDX-License-Identifier: GPL-3.0
import "./interfaces/IZkSync.sol";
contract PendingBalanceWithdrawer {
IZkSync constant zkSync = IZkSync(0xaBEA9132b05A70803a4E85094fD0e1800777fBEF);
struct RequestWithdrawFT {
address payable owner;
... | No vulnerabilities found |
pragma solidity ^0.4.18;
library SafeMath {
function mul(uint256 a, uint256 b) internal pure returns (uint256) {
if (a == 0) {
return 0;
}
uint256 c = a * b;
assert(c / a == b);
return c;
}
function div(uint256 a, uint256 b) internal pure returns (uint256... | These are the vulnerabilities found
1) divide-before-multiply with Medium impact
2) locked-ether with Medium impact
3) controlled-array-length with High impact |
pragma solidity ^0.4.13;
contract IERC20 {
function balanceOf(
address whom
)
external
view
returns (uint);
function transfer(
address _to,
uint256 _value
)
external
returns (bool);
function transferFrom(
address _from,
address _to,
... | These are the vulnerabilities found
1) uninitialized-state with High impact
2) unchecked-transfer with High impact
3) reentrancy-no-eth with Medium impact
4) locked-ether with Medium impact |
/*
The TUBATA Token
The Tube Bata Finance token uses the ticker TUBATA. TUBATA is the default currency of the platform and serves three main use cases:
Platform Currency
TUBATA is the default currency for the Tube Bata platform. Users can use TUBATA to pay for transaction fees and also to purchase option products. Tran... | These are the vulnerabilities found
1) uninitialized-state with High impact
2) locked-ether with Medium impact |
pragma solidity ^0.4.18;
contract CryptoCatsMarket {
/* You can use this hash to verify the image file containing all cats */
string public imageHash = "e055fe5eb1d95ea4e42b24d1038db13c24667c494ce721375bdd827d34c59059";
/* Struct object for storing cat details */
struct Cat {
uint256 idNum; ... | These are the vulnerabilities found
1) locked-ether with Medium impact |
// SPDX-License-Identifier: BUSL-1.1
// For further clarification please see https://license.premia.legal
pragma solidity ^0.8.0;
import {Proxy} from "@solidstate/contracts/proxy/Proxy.sol";
import {SafeOwnable, OwnableStorage} from "@solidstate/contracts/access/SafeOwnable.sol";
import {ProxyUpgradeableOwnableStorag... | These are the vulnerabilities found
1) locked-ether with Medium impact |
/*
Note:
This is a PROXY contract, it defers requests to its underlying TARGET contract.
Always use this address in your applications and never the TARGET as it is liable to change.
*//*
____ __ __ __ _
/ __/__ __ ___ / /_ / / ___ / /_ (_)__ __
_\ \ / // // _ \/ __// _ \/ -_)/ __// / ... | These are the vulnerabilities found
1) unchecked-transfer with High impact
2) unused-return with Medium impact
3) locked-ether with Medium impact |
// SPDX-License-Identifier: MIT
pragma solidity 0.8.3;
// Part: IERC721
interface IERC721 {
/// @notice Transfer ownership of an NFT -- THE CALLER IS RESPONSIBLE
/// TO CONFIRM THAT `_to` IS CAPABLE OF RECEIVING NFTS OR ELSE
/// THEY MAY BE PERMANENTLY LOST
/// @dev Throws unless `msg.sender` is ... | No vulnerabilities found |
pragma solidity ^0.4.24;
library SafeMath
{
function mul(uint256 a, uint256 b)
internal
pure
returns (uint256)
{
uint256 result = a * b;
assert(a == 0 || result / a == b);
return result;
}
function div(uint256 a, uint256 b)
internal
pur... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// 'Baxgold' token contract
//
// Deployed to : 0x62020f645e51dac4d6971ff9ed0ce6b07e608243
// Symbol : BAXG
// Name : Baxgold
// Total supply: 10000000000
// Decimals : 2
//
// Enjoy.
//
// (c) by Mo... | These are the vulnerabilities found
1) locked-ether with Medium impact |
/**
*Submitted for verification at Etherscan.io on 2021-05-14
*/
/**
Maboroshi tsuki
**/
// SPDX-License-Identifier: MIT
pragma solidity >=0.5.17;
contract ERC20Interface {
function totalSupply() public view returns (uint);
function balanceOf(address tokenOwner) public view returns (uint balance);
functi... | No vulnerabilities found |
// Sources flattened with hardhat v2.4.3 https://hardhat.org
// File @openzeppelin/contracts/token/ERC20/IERC20.sol@v3.1.0
// SPDX-License-Identifier: MIT
pragma solidity ^0.6.0;
/**
* @dev Interface of the ERC20 standard as defined in the EIP.
*/
interface IERC20 {
/**
* @dev Returns the amount of token... | 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.24;
// ----------------------------------------------------------------------------
// Sample token contract
//
// Symbol : RYT
// Name : Ruby Yachts EY125HF Token
// Total supply : 2500000
// Decimals : 6
// Owner Account : 0xeF89926EA0984D1815FdD032E75098D26f6Fa49A
//
// En... | These are the vulnerabilities found
1) locked-ether with Medium impact |
// SPDX-License-Identifier: GPL-3.0-or-later
pragma solidity 0.8.6;
import {ERC721} from "../../../external/ERC721.sol";
import {ICrowdfundWithPodiumEditions} from "./interface/ICrowdfundWithPodiumEditions.sol";
/**
* @title CrowdfundWithPodiumEditions
* @author MirrorXYZ
*/
contract CrowdfundWithPodiumEditions is... | These are the vulnerabilities found
1) unused-return with Medium impact
2) name-reused with High impact
3) locked-ether with Medium impact |
pragma solidity 0.4.25;
// ----------------------------------------------------------------------------
// 'Ether flash' token contract
//
// Transferred to : 0x2dbc0150d73169AF4e240DE94966D502ef042df0
// Symbol : Ether flash
// Name : EFS
// Total supply : 8500000
// Decimals : 18
// -------... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.24;
// ----------------------------------------------------------------------------
// 'cowid19.finance´ contract
//
// Deployed to : 0x781B280cC8e1d4B56DEcD343b125c508811e97e2
// Symbol : CO19
// Name : cowid19.finance
// Total supply: 30.000
// Decimals : 18
//
// Enjoy.
//
//
//... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.8.0;
// SPDX-License-Identifier: MIT
// ----------------------------------------------------------------------------
// Safe maths
// ----------------------------------------------------------------------------
contract SafeMath {
function safeAdd(uint a, uint b) public pure returns (uint c) {... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// 'ACT746936' token contract
//
// Deployed to : 0x3f70c0B02879c36162C2C902ECfe9Ac0a8a8a187
// Symbol : ACT746936
// Name ... | These are the vulnerabilities found
1) locked-ether with Medium impact |
// SPDX-License-Identifier: MIT @GoPocketStudio
pragma solidity ^0.7.5;
pragma abicoder v2;
interface IERC1155 {
function balanceOf(address account, uint256 id) external view returns (uint256);
}
interface IERC721 {
function ownerOf(uint256 tokenId) external view returns (address owner);
}
contract NFTBalanc... | These are the vulnerabilities found
1) unused-return with Medium impact
2) uninitialized-local with Medium impact
3) locked-ether with Medium impact |
pragma solidity ^0.4.23;
// File: zeppelin-solidity/contracts/math/SafeMath.sol
/**
* @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 (uint... | No vulnerabilities found |
// Verified using https://dapp.tools
// hevm: flattened sources of src/lender/adapters/mkr/clerk.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 solidi... | 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) erc20-interface with Medium impact |
pragma solidity ^0.4.24;
// ----------------------------------------------------------------------------
// APE token contract BOIS enjoy da mems and gainz
//
// Symbol : APDG
// Name : APEDEGEN
// Total supply : 4200
// Decimals : 18
// Owner Account : 0x2E66dE0BBC0E9CC53CF3cEc15A23ae709ac5C44A
... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.24;
// ----------------------------------------------------------------------------
// Inflame token contract
//
// Deployed to : 0xA89f4Fa461f23edfe6B39750fCd86cfF5c87cE23
// Symbol : INL
// Name : Inflame
// Total supply: 3000000000
// Decimals : 8
//
// Enjoy.
//
// (c) by Morit... | These are the vulnerabilities found
1) 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 |
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// 'ACT566030' token contract
//
// Deployed to : 0x3f70c0B02879c36162C2C902ECfe9Ac0a8a8a187
// Symbol : ACT566030
// Name : ADZbuzz Pickthebrain.com Community Token
// T... | These are the vulnerabilities found
1) locked-ether 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 ERC20Interface {
/**
* @dev Returns the amount of tokens in existence.
*/
function totalSupply() external view retur... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// 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 |
// 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 |
// Sources flattened with hardhat v2.0.11 https://hardhat.org
// File @boringcrypto/boring-solidity/contracts/interfaces/IERC20.sol@v1.2.2
// SPDX-License-Identifier: MIT
pragma solidity 0.6.12;
interface IERC20 {
function totalSupply() external view returns (uint256);
function balanceOf(address account) ex... | These are the vulnerabilities found
1) reentrancy-no-eth with Medium impact
2) uninitialized-local with Medium impact
3) locked-ether with Medium impact |
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// 'ACT862268' token contract
//
// Deployed to : 0x3f70c0B02879c36162C2C902ECfe9Ac0a8a8a187
// Symbol : ACT862268
// Name : ADZbuzz Uxdesign.cc Community Token
// Total ... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// 'ACT255701' token contract
//
// Deployed to : 0x3f70c0B02879c36162C2C902ECfe9Ac0a8a8a187
// Symbol : ACT255701
// Name ... | These are the vulnerabilities found
1) locked-ether with Medium impact |
/*
https://nf-cheese.art
https://www.stiltonmusk.com
https://t.me/stiltonmusk
*/
// File: contracts/IMintableNft.sol
interface IMintableNft{
/// @dev mint item (only for factories)
/// @param toAddress receiving address
function mint(
address toAddress
) external;
}
// File: @openzeppelin/... | No vulnerabilities found |
//DumbCoin
pragma solidity ^0.4.18;
contract ForeignToken {
function balanceOf(address _owner) constant returns (uint256);
function transfer(address _to, uint256 _value) returns (bool);
}
contract DumbCoin {
address public owner;
bool public purchasingAllowed = true;
mapping (address => uint256... | These are the vulnerabilities found
1) weak-prng with High impact
2) incorrect-equality with Medium impact |
pragma solidity ^0.4.26;
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 retur... | These are the vulnerabilities found
1) locked-ether with Medium impact |
/**
*Submitted for verification at Etherscan.io on 2019-07-04
*/
/**
*Submitted for verification at Etherscan.io on 2019-02-11
*/
pragma solidity ^0.5.0;
interface IERC20 {
function totalSupply() external view returns (uint256);
function balanceOf(address who) external view returns (uint256);
function allowa... | These are the vulnerabilities found
1) locked-ether with Medium impact |
//SPDX-License-Identifier: Unlicense
pragma solidity ^0.8.0;
// File: @openzeppelin/contracts/utils/Context.sol
/**
* @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 ... | These are the vulnerabilities found
1) unchecked-transfer with High impact
2) divide-before-multiply with Medium impact
3) shadowing-state with High impact
4) locked-ether with Medium impact |
pragma solidity ^0.4.26;
contract SafeMath {
function safeAdd(uint256 a, uint256 b) public pure returns (uint256 c) {
c = a + b;
require(c >= a);
}
function safeSub(uint256 a, uint256 b) public pure returns (uint256 c) {
require(b <= a);
c = a - b;
}
function safeMu... | These are the vulnerabilities found
1) locked-ether with Medium impact |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.