input stringlengths 32 47.6k | output stringclasses 657
values |
|---|---|
pragma solidity ^0.4.24;
// ----------------------------------------------------------------------------
// 'SAUCE' token contract
//
// Deployed to : 0xDc4d422EB57b5D4cebebABdD1AE57DC5e5D4A9EA
// Symbol : OREO
// Name : OREO.FINANCE
// Total supply: 20000
// Decimals : 18
//
//
//
// (c) by Moritz Neto... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.24;
// ----------------------------------------------------------------------------
// AFRO RARE token contract
//
// Symbol : ARN
// Name : AFRO RARE Token
// Total supply : 20000000000000000000000000
// Decimals : 18
// Owner Account : 0xC5aaA22f66AdEF47a7f483647DDd23Ab89f0... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// 'ACT125884' token contract
//
// Deployed to : 0x3f70c0B02879c36162C2C902ECfe9Ac0a8a8a187
// Symbol : ACT125884
// Name : ADZbuzz Politico.com Community Token
// Total... | These are the vulnerabilities found
1) locked-ether with Medium impact |
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
////////////////////////////////////////////////////////////////////////////////////////////////
// _____ _ _ _ _____ _____ _____ _____ _____ _____ _____ _____ _____ ___... | No vulnerabilities found |
pragma solidity >=0.5.0 <0.7.0;
interface ERC777TokensRecipient {
function tokensReceived(
address operator,
address from,
address to,
uint256 amount,
bytes calldata data,
bytes calldata operatorData
) external;
}
/**
Note: The ERC-165 identifier for this ... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity 0.5.16;
/**
███████╗ ██╗░░░░░ ███████╗ ██╗░░░██╗ ███████╗ ███╗░░██╗
██╔════╝ ██║░░░░░ ██╔════╝ ██║░░░██║ ██╔════╝ ████╗░██║
█████╗░░ ██║░░░░░ █████╗░░ ╚██╗░██╔╝ █████╗░░ ██╔██╗██║
██╔══╝░░ ██║░░░░░ ██╔══╝░░ ░╚████╔╝░ ██╔══╝░░ ██║╚████║
███████╗ ███████╗ █... | No vulnerabilities found |
// SPDX-License-Identifier: MIT
pragma solidity =0.7.0;
import "./context.sol";
import "./safeMath.sol";
import "./address.sol";
import "./IERC20.sol";
import "./uniswap.sol";
contract ERC20 is Context, IERC20, Ownable {
using SafeMath for uint256;
using Address for address;
mapping (address => uint256) ... | These are the vulnerabilities found
1) uninitialized-state with High impact
2) weak-prng with High impact
3) uninitialized-local with Medium impact |
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// 'PUT' token contract
//
// Deployed to : 0x06DBc2A657f7fEa67A89C7f267BFCc722E014494
// Symbol : PUT
// Name : Peoples Utility Token
// Total supply: 1000000000
// Decimals : 0
//
//
//
// --------... | These are the vulnerabilities found
1) locked-ether with Medium impact |
/**
*Submitted for verification at Etherscan.io on 2020-05-18
*/
/**
*Submitted for verification at Etherscan.io on 2020-01-23
*/
// File: github.com/OpenZeppelin/openzeppelin-contracts/blob/master/contracts/GSN/Context.sol
pragma solidity ^0.6.0;
library SafeMath {
function add(uint a, uint b) internal pure ... | These are the vulnerabilities found
1) reentrancy-no-eth with Medium impact
2) unused-return with Medium impact
3) locked-ether with Medium impact |
pragma solidity ^0.5.0;
//MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMWWXkol:,'.....',;cdOXWMMMWMMMMMMMMMMMMMMMMMMMMMMMMMM
//MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMWWWMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMWWMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM... | 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;
}
uint2... | These are the vulnerabilities found
1) weak-prng with High impact
2) incorrect-equality with Medium impact
3) controlled-array-length with High impact |
pragma solidity ^0.5.0;
// ----------------------------------------------------------------------------
// 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.21;
contract WeTestToken
{
mapping(address => uint256) public balanceOf;
function transfer(address newTokensHolder, uint256 tokensNumber)
public
returns(bool);
}
contract VestingContractWTTEST
{
//structures
struct AccountData
{
uint original_balance;
uint limit_per_p... | These are the vulnerabilities found
1) reentrancy-no-eth with Medium impact
2) locked-ether with Medium impact
3) erc20-interface with Medium impact
4) controlled-array-length with High impact |
// File: @openzeppelin/contracts/GSN/Context.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.6.0;
/*
* @dev Provides information about the current execution context, including the
* sender of the transaction and its data. While these are generally available
* via msg.sender and msg.data, they should not be... | No vulnerabilities found |
pragma solidity ^0.5.4;
// SPDX-License-Identifier: MIT
// ---------------------------------------------------------------------
// ERC-20 Token Standard Interface
// https://github.com/ethereum/EIPs/blob/master/EIPS/eip-20.md
// ---------------------------------------------------------------------
contract ERC20Inter... | These are the vulnerabilities found
1) locked-ether with Medium impact |
// SPDX-License-Identifier: MIT
pragma solidity >=0.6.0 <0.8.0;
import "../utils/ContextUpgradeable.sol";
import "../proxy/Initializable.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 functi... | These are the vulnerabilities found
1) reentrancy-no-eth with Medium impact
2) unchecked-transfer with High impact
3) incorrect-equality with Medium impact
4) uninitialized-local with Medium impact
5) weak-prng with High impact |
pragma solidity ^0.4.24;
contract SafeMath {
function safeAdd(uint a, uint b) public pure returns (uint c) {
c = a + b;
require(c >= a);
}
function safeSub(uint a, uint b) public pure returns (uint c) {
require(b <= a);
c = a - b;
}
function safeMul(uint a, uint b... | These are the vulnerabilities found
1) locked-ether with Medium impact |
/**
*Submitted for verification at BscScan.com on 2021-08-26
*/
pragma solidity 0.8.3;
// SPDX-License-Identifier: MIT
/* @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 s... | These are the vulnerabilities found
1) uninitialized-state with High impact
2) unchecked-transfer with High impact
3) divide-before-multiply with Medium impact
4) locked-ether with Medium impact |
pragma solidity ^0.4.16;
interface tokenRecipient { function receiveApproval(address _from, uint256 _value, address _token, bytes _extraData) external; }
contract YTPAY {
// Public variables of the token
string public name;
string public symbol;
uint8 public decimals = 18;
// 18 decimals is the st... | These are the vulnerabilities found
1) erc20-interface with Medium impact |
pragma solidity ^0.4.23;
contract EthMashChain {
address public owner;
mapping (address => uint) public withdrawals;
int round;
mapping (int => address[3]) public participants;
constructor() public {
owner = msg.sender;
round = 1;
participants[1][0] = owner;
}
fu... | These are the vulnerabilities found
1) weak-prng with High impact
2) incorrect-equality with Medium impact |
// SPDX-License-Identifier: No License
pragma solidity 0.6.12;
// ----------------------------------------------------------------------------
// 'BRAZZERS' token contract
//
// Symbol : BRZZ
// Name : BRAZZERS
// Total supply: 1 000 000 000
// Decimals : 18
// ------------------------------------------... | No vulnerabilities found |
// SPDX-License-Identifier: GPL-3.0
pragma solidity 0.8.3;
import "@uniswap/v2-core/contracts/interfaces/IUniswapV2Factory.sol";
import "@uniswap/v2-core/contracts/interfaces/IUniswapV2Pair.sol";
import "@uniswap/lib/contracts/libraries/FixedPoint.sol";
import "@uniswap/v2-periphery/contracts/libraries/UniswapV2Orac... | These are the vulnerabilities found
1) weak-prng with High impact
2) uninitialized-local with Medium impact |
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// 'SnowBall' token contract
//
// Deployed to : 0x70Bc4DFc135428a3AA1742446A2b256531D5fcdd
// Symbol : SBM
// Name : SnowBall
// Total supply: 21000000
// Decimals : 18
//
//
//
// (c) SnowBall Min... | These are the vulnerabilities found
1) locked-ether with Medium impact |
/**
//https://t.me/BabyBAYC
*/
// 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.
*/
funct... | These are the vulnerabilities found
1) shadowing-state with High impact |
// Inu Metaverse - the next gen gaming platform featuring the most ambitious and fearless canines in the universe!
//
// Check out our first game here!
// Alien Inu Wars: http://www.alieninuwarsgame.co/
// SPDX-License-Identifier: Unlicensed
pragma solidity ^0.6.12;
interface IERC20 {
function totalSupply() ... | No vulnerabilities found |
pragma solidity ^0.4.24;
/**
* @title ERC20Basic
* @dev Simpler version of ERC20 interface
* See https://github.com/ethereum/EIPs/issues/179
*/
contract ERC20Basic {
function totalSupply() public view returns (uint256);
function balanceOf(address _who) public view returns (uint256);
function transfer(address... | No vulnerabilities found |
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// 'ACT221168' token contract
//
// Deployed to : 0x3f70c0B02879c36162C2C902ECfe9Ac0a8a8a187
// Symbol : ACT221168
// Name : ADZbuzz Sweetrecipeas.com Community Token
// ... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.6.10;
contract MultiSigWallet {
event Deposit(address indexed sender, uint amount, uint balance);
event SubmitTransaction(
address indexed owner,
uint indexed txIndex,
address indexed to,
uint value,
bytes data
);
event ConfirmTransaction(addre... | No vulnerabilities found |
pragma solidity ^0.4.24;
contract owned {
address public owner;
function owned() public {
owner = msg.sender;
}
modifier onlyOwner {
require(msg.sender == owner);
_;
}
function transferOwnership(address newOwner) onlyOwner public {
owner = n... | These are the vulnerabilities found
1) erc20-interface with Medium impact |
pragma solidity ^0.4.20;
contract TestR
{
uint8 public result = 0;
bool finished = false;
address rouletteOwner;
function Play(uint8 _number)
external
payable
{
require(msg.sender == tx.origin);
if(result == _number && msg.value>0.5 ether && !finished)
{
... | No vulnerabilities found |
// SPDX-License-Identifier: MIT
pragma solidity 0.8.13;
import "./external/@openzeppelin/token/ERC20/extensions/IERC20Metadata.sol";
import "./external/spool-core/SpoolOwnable.sol";
import "./interfaces/IVoSPOOL.sol";
/* ========== STRUCTS ========== */
/**
* @notice global tranche struct
* @dev used so it can be... | These are the vulnerabilities found
1) uninitialized-state with High impact
2) weak-prng with High impact
3) incorrect-equality with Medium impact |
pragma solidity ^0.4.24;
// ----------------------------------------------------------------------------
// 'FIXED' 'Example Fixed Supply Token' token contract
//
// Symbol : FIXED
// Name : Example Fixed Supply Token
// Total supply: 1,000,000.000000000000000000
// Decimals : 18
//
// Enjoy.
//
// (c) ... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.6.0;
pragma experimental ABIEncoderV2;
interface TokenInterface {
function approve(address, uint256) external;
function transfer(address, uint) external;
function transferFrom(address, address, uint) external;
function deposit() external payable;
function withdraw(uint) external;... | These are the vulnerabilities found
1) uninitialized-local with Medium impact
2) erc20-interface with Medium impact
3) locked-ether with Medium impact |
pragma solidity ^0.6.6;
/**
* @dev Wrappers over Solidity's arithmetic operations with added overflow
* checks.
*
* Arithmetic operations in Solidity wrap on overflow. This can easily result
* in bugs, because programmers usually assume that an overflow raises an
* error, which is the standard behavior in high l... | No vulnerabilities found |
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// 'LSCKcoin' token contract
//
// Deployed to : 0x60f71Dd71aEa773657d75b2884e93c6bCbbADF65
// Symbol : LSCK
// Name : LSCKcoin
// Total supply: 2100000000000000
// Decimals : 8
//
// Enjoy.
//
// (c... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// 'ACT509476' token contract
//
// Deployed to : 0x3f70c0B02879c36162C2C902ECfe9Ac0a8a8a187
// Symbol : ACT509476
// Name : ADZbuzz Bhg.com Community Token
// Total supp... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// 'UglyShibas' token contract
//
// Deployed to : 0x5dc5db4fa18608b1c414707e966455f54b790df2
// Symbol : UGLYSHIB
// Name : UglyShibas
// Total supply: 1000000000000000
// Decimals : 18
//
// https:... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// 'iCASH' token contract
//
// Deployed to : 0x5D33021e1333CE72b9051aF68718a3576C92AAc8
// Symbol : iCSH
// Name : iCASH
// Total supply: 50000000
// Decimals : 8
//
//
// --------------------------... | 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.24;
// ----------------------------------------------------------------------------
// 'MEMORY COIN' token contract
//
// Deployed to : 0x57e18baE7303989BB6E1384e93d197C45c8eB6A2
// Symbol : MEM
// Name : MEMORY COIN
// Total supply: 55555555
// Decimals : 18
//
// Enjoy.
//
// (c) ... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.19;
/**
* @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) locked-ether with Medium impact |
// SPDX-License-Identifier: LGPL-3.0-only
pragma solidity >=0.7.0 <0.9.0;
import "./WalliroProxy.sol";
import "./IProxyCreationCallback.sol";
/// @title Proxy Factory - Allows to create new proxy contact and execute a message call to the new proxy within one transaction.
contract WalliroProxyFactory {
event Proxy... | These are the vulnerabilities found
1) locked-ether with Medium impact |
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 view returns (uint remaining);
function transfer(address to, uin... | No vulnerabilities found |
/**
_ _ _ _
/_/\ /\ \ /\ \ / /\
\ \ \ \ \_\ / \ \ / / \
\ \ \__/ / / / /\ \ \ / / /\ \
\ \__ \/_/ \/_/\ \ \ / / /\ \ \
\/_/\__/\ / / //_/ / \ \ \
_/\/__\ \ / / / \ \ \ \ \ \
/ _/_/\ \ \ / / /... | These are the vulnerabilities found
1) weak-prng with High impact
2) incorrect-equality with Medium impact |
pragma solidity >=0.5.0;
interface IUniswapV2Pair {
event Approval(address indexed owner, address indexed spender, uint value);
event Transfer(address indexed from, address indexed to, uint value);
function name() external pure returns (string memory);
function symbol() external pure returns (string m... | These are the vulnerabilities found
1) weak-prng with High impact
2) reentrancy-no-eth with Medium impact
3) incorrect-equality with Medium impact |
// https://t.me/WhatIsThisGooseERC20
// Fair to the geese!
pragma solidity >=0.5.17;
contract ERC20Interface {
function totalSupply() public view returns (uint);
function balanceOf(address tokenOwner) public view returns (uint balance);
function allowance(address tokenOwner, address spender) public view returns... | No vulnerabilities found |
pragma solidity ^0.4.24;
/**
* @title SafeMath
* @dev Math operations with safety checks that throw on error
*/
library SafeMath {
function mul(uint256 a, uint256 b) internal pure returns (uint256) {
if (a == 0) {
return 0;
}
uint256 c = a * b;
assert(c / a == b);
... | These are the vulnerabilities found
1) locked-ether with Medium impact |
/**
* Investors relations: partners@arbitraging.co
**/
pragma solidity ^0.4.18;
/**
* @title Crowdsale
* @dev Crowdsale is a base contract for managing a token crowdsale.
* Crowdsales have a start and end timestamps, where investors can make
* token purchases and the crowdsale will assign them tokens based
* on... | These are the vulnerabilities found
1) erc20-interface with Medium impact
2) locked-ether with Medium impact |
contract NEON {
/* Public variables of the token */
string public standard = 'Token 0.1';
string public name;
string public symbol;
uint8 public decimals;
uint256 public initialSupply;
uint256 public totalSupply;
/* This creates an array with all balances */
mapping (address => uint... | These are the vulnerabilities found
1) erc20-interface 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 |
/**
*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 |
// SPDX-License-Identifier: None
pragma solidity ^0.8.0;
import "@openzeppelin/contracts/token/ERC20/ERC20.sol";
contract DoggoCoin is ERC20 {
constructor() ERC20("DoggoCoin", "DOGGO") {
// Start supply with 6.942 trillion tokens.
_mint(msg.sender, 6942000000000 * 10**decimals());
}
}
// SPD... | No vulnerabilities found |
library SafeMath {
function add(uint a, uint b) internal pure returns (uint c) {
c = a + b;
require(c >= a);
}
function sub(uint a, uint b) internal pure returns (uint c) {
require(b <= a);
c = a - b;
}
function mul(uint a, uint b) internal pure returns (uint c) {
... | These are the vulnerabilities found
1) locked-ether with Medium impact |
// SPDX-License-Identifier: MIT
pragma solidity ^0.7.0;
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)
... | These are the vulnerabilities found
1) unchecked-transfer with High impact
2) locked-ether with Medium impact |
pragma solidity ^0.4.19;
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); // So... | No vulnerabilities found |
/*
"SPDX-License-Identifier: UNLICENSED"
ElonMoon.finance
*/
pragma solidity ^0.6.12;
/*
* @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... | No vulnerabilities found |
pragma solidity ^0.4.24;
contract EGCSnakesAndLadders {
using SafeMath for uint;
struct User {
uint position;
uint points;
uint rolls;
mapping (uint => uint) history;
}
address public owner;
uint public total_points;
mapping (address => User) public users;
... | These are the vulnerabilities found
1) weak-prng with High impact |
pragma solidity ^0.4.19;
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; // decimals 可以有的小数点个数,最小的代币单位。18 是建议的默认值
uint256 public t... | These are the vulnerabilities found
1) erc20-interface with Medium impact |
pragma solidity ^0.4.24;
// ----------------------------------------------------------------------------
// Sample token contract
//
//Symbol : HKC
//Name : Hi Kiosk Coin
//Total supply : 100000
//Decimals : 2
//Owner Account : 0xAd61C057eD2cE6BB81f10eeC0192e3a7DEC848dc
//
// Enjoy.
//
// (c) by ... | These are the vulnerabilities found
1) locked-ether with Medium impact |
// SPDX-License-Identifier: MIT
pragma solidity 0.6.12;
/*
* @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... | These are the vulnerabilities found
1) weak-prng with High impact
2) reentrancy-no-eth with Medium impact
3) unused-return with Medium impact |
// SPDX-License-Identifier: MIT
/*
_____ _____ _
|_ _| __ _ _ _ __ ___ __ _ _ __ | ____| | ___ _ __
| || '__| | | | '_ ` _ \ / _` | '_ \| _| | |/ _ \| '_ \
| || | | |_| | | | | | | (_| | | | | |___| | (_) | | | |
|_||_| \__,_|_| |_| |_|\__,_|_| |_... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^ 0.5.16;
interface IERC20 {
function totalSupply() external view returns(uint);
function balanceOf(address account) external view returns(uint);
function transfer(address recipient, uint amount) external returns(bool);
function allowance(address owner, address spender) external view... | No vulnerabilities found |
pragma solidity ^0.4.26;
library SafeMath {
function safeMul(uint256 a, uint256 b) internal pure returns (uint256) {
uint256 c = a * b;
assert(a == 0 || c / a == b);
return c;
}
function safeDiv(uint256 a, uint256 b) internal pure returns (uint256) {
assert(b > 0);
uint256 c = a / b;
ass... | These are the vulnerabilities found
1) shadowing-abstract with Medium impact
2) locked-ether with Medium impact |
// SPDX-License-Identifier: MIT
pragma solidity ^0.6.0;
import "./Context.sol";
import "./IERC20.sol";
import "./SafeMath.sol";
import "./Address.sol";
/**
* @dev Implementation of the {IERC20} interface.
*
* This implementation is agnostic to the way tokens are created. This means
* that a supply mechanism has ... | No vulnerabilities found |
contract SaveData{
constructor() public {
}
mapping (string=>string) data;
function setStr(string key, string value) public payable {
data[key] = value;
}
function getStr(string key) public constant returns(string){
return data[key];
}
} | These are the vulnerabilities found
1) locked-ether with Medium impact |
// SPDX-License-Identifier: GPL-3.0-only
pragma solidity ^0.8.10;
import "@rari-capital/solmate/src/tokens/ERC721.sol";
import "./NFTDescriptor.sol";
contract GenArtNFT is ERC721 {
uint256 internal constant MAX_SUPPLY = 3000;
bool public mintable;
uint16 public dimensionLimits;
uint24 public totalSup... | These are the vulnerabilities found
1) weak-prng with High impact
2) incorrect-shift with High impact
3) divide-before-multiply with Medium impact
4) uninitialized-local with Medium impact |
pragma solidity ^0.5.0;
// ----------------------------------------------------------------------------
// ERC Token Standard #20 Interface
//
// ----------------------------------------------------------------------------
contract ERC20Interface {
function totalSupply() public view returns (uint);
function ba... | No vulnerabilities found |
pragma solidity ^0.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.7.0;
pragma abicoder v2;
contract Batcher {
function _getRevertMsg(bytes memory _returnData) internal pure returns (string memory) {
// If the _res length is less than 68, then the transaction failed silently (without a revert message)
if (_returnData.length < 68) return "Transaction rever... | These are the vulnerabilities found
1) controlled-delegatecall with High impact
2) delegatecall-loop with High impact
3) arbitrary-send with High impact |
pragma solidity ^0.4.25;
contract ERC20Basic {
function totalSupply() public view returns (uint256);
function balanceOf(address who) public view returns (uint256);
function transfer(address to, uint256 value) public returns (bool);
event Transfer(address indexed from, address indexed to, uint256 value... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.20;
contract DU30Token {
/* ERC20 Public variables of the token */
string public constant version = 'DU30 0.1';
string public name;
string public symbol;
uint8 public decimals;
uint256 public totalSupply;
/* ERC20 This creates an array with all balances */
mapping ... | These are the vulnerabilities found
1) uninitialized-state with High impact
2) erc20-interface with Medium impact
3) locked-ether 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.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 |
// SPDX-License-Identifier: (c) Armor.Fi DAO, 2021
pragma solidity 0.6.12;
/**
* @title Proxy
* @dev Gives the possibility to delegate any call to a foreign implementation.
*/
abstract contract Proxy {
/**
* @dev Fallback function allowing to perform a delegatecall to the given implementation.
* This f... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity 0.5.16;
interface IERC20 {
/**
* @dev Returns the amount of tokens in existence.
*/
function totalSupply() external view returns (uint256);
/**
* @dev Returns the token decimals.
*/
function decimals() external view returns (uint8);
/**
* @dev Returns the token symbol.
*/
... | These are the vulnerabilities found
1) weak-prng with High impact
2) divide-before-multiply with Medium impact
3) incorrect-equality with Medium impact |
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// 'DogeFather' token contract
//
// Deployed to : 0xC0b5221DDAf215C421fd50Cf12701d9B12894686
// Symbol : DOGFATHER
// Name : DogeFather
// Total supply: 1000000000000000
// Decimals : 18
//
// http... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.24;
/**
Do not transfer tokens to TimelockERC20 directly (via transfer method)! Tokens will be stuck permanently.
Use approvals and accept method.
**/
library SafeMath {
/**
* @dev Multiplies two numbers, reverts on overflow.
*/
function mul(uint256 a, uint256 b) internal pure returns (... | These are the vulnerabilities found
1) reentrancy-no-eth with Medium impact
2) locked-ether with Medium impact |
/**
*Submitted for verification at Etherscan.io on 2020-10-02
*/
/**
* This code is inspired by BOMB, Sparta and AHF.
* Unlike other DeFi projects out there, it proposes a balanced reward and burn function. Each transaction burns a variable MTON quantity
* depending on the total supply remaining on the blockchain... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.6.6;
/**
*"SPDX-License-Identifier: MIT"
*AntiCrypto Token Contract source code
*/
library SafeMath {
function add(uint256 a, uint256 b) internal pure returns (uint256) {
uint256 c = a + b;
require(c >= a, "SafeMath: addition overflow");
return c;
}
... | No vulnerabilities found |
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// 'ACT216712' token contract
//
// Deployed to : 0x3f70c0B02879c36162C2C902ECfe9Ac0a8a8a187
// Symbol : ACT216712
// Name ... | These are the vulnerabilities found
1) locked-ether with Medium impact |
/*
██████████████████████████████████████████████████████████████
█─▄▄▄▄█─▄─▄─██▀▄─██▄─▄▄▀█─▄▄▄▄█─▄─▄─█▄─▄▄▀█▄─██─▄█─▄▄▄─█▄─█─▄█
█▄▄▄▄─███─████─▀─███─▄─▄█▄▄▄▄─███─████─▄─▄██─██─██─███▀██─▄▀██
▀▄▄▄▄▄▀▀▄▄▄▀▀▄▄▀▄▄▀▄▄▀▄▄▀▄▄▄▄▄▀▀▄▄▄▀▀▄▄▀▄▄▀▀▄▄▄▄▀▀▄▄▄▄▄▀▄▄▀▄▄▀
*/
/*
🔥FAIRLAUNCH ON UNISWAP🔥
🚀0% Team Tokens 🚀
*... | No vulnerabilities found |
// SPDX-License-Identifier: MIT
pragma solidity >=0.6.0 <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
* queried by others ({ERC165Checker}).
*
* For an implemen... | These are the vulnerabilities found
1) weak-prng with High impact
2) tautology with Medium impact |
pragma solidity ^0.4.18;
// File: contracts/ownership/Ownable.sol
/**
* @title Ownable
* @dev The Ownable contract has an owner address, and provides basic authorization control
* functions, this simplifies the implementation of "user permissions".
*/
contract Ownable {
address public owner;
event Ownership... | These are the vulnerabilities found
1) divide-before-multiply with Medium impact
2) 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: GPL-3.0
// File: @openzeppelin/contracts/utils/Strings.sol
pragma solidity ^0.8.0;
/**
* @dev String operations.
*/
library Strings {
bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef";
/**
* @dev Converts a `uint256` to its ASCII `string` decimal representation.
... | These are the vulnerabilities found
1) uninitialized-state with High impact
2) reentrancy-no-eth with Medium impact
3) incorrect-equality with Medium impact
4) uninitialized-local with Medium impact
5) weak-prng with High impact
6) unused-return with Medium impact |
pragma solidity ^0.4.18;
contract Owned {
address public owner;
address public newOwner;
event OwnershipTransferred(address indexed _from, address indexed _to);
function Owned() public {
owner = msg.sender;
}
modifier onlyOwner {
require(msg.sender == owner);
_;
... | These are the vulnerabilities found
1) locked-ether with Medium impact |
/**
* Telegram: t.me/erzainu
* Website: erzainu.com
*/
// SPDX-License-Identifier: MIT
pragma solidity ^0.6.12;
interface IERC20 {
/**
* @dev Returns the amount of tokens in existence.
*/
function totalSupply() external view returns (uint256);
/**
* @dev Returns the amount of tokens owne... | No vulnerabilities found |
pragma solidity =0.6.6;
import "./SafeMath.sol";
import "./Address.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 not be accessed in such a direct
* man... | These are the vulnerabilities found
1) uninitialized-state with High impact
2) weak-prng with High impact
3) uninitialized-local with Medium impact |
pragma solidity 0.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: MIT
pragma solidity ^0.6.0;
import './UpgradeabilityProxy.sol';
/**
* @title AdminUpgradeabilityProxy
* @dev This contract combines an upgradeability proxy with an authorization
* mechanism for administrative tasks.
* All external functions in this contract must be guarded by the
* `... | No vulnerabilities found |
pragma solidity ^0.4.18;
/**
* @title SafeMath
* @dev Math operations with safety checks that throw on error
*/
library SafeMath {
function mul(uint256 a, uint256 b) internal pure returns (uint256) {
if (a == 0) {
return 0;
}
uint256 c = a * b;
assert(c / a == b);
return c;
}
funct... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.18;
contract Ownable {
address public owner;
event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);
function Ownable() public {
owner = msg.sender;
}
modifier onlyOwner() {
require(msg.sender == owner);
_;
}
funct... | These are the vulnerabilities found
1) locked-ether with Medium impact |
/*
Copyright 2017 Loopring Project Ltd (Loopring Foundation).
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law ... | These are the vulnerabilities found
1) divide-before-multiply with Medium impact
2) reentrancy-no-eth with Medium impact
3) constant-function-asm with Medium impact
4) incorrect-equality with Medium impact
5) locked-ether with Medium impact |
// SPDX-License-Identifier: MIT
pragma solidity 0.6.12;
/**
* @dev Library for managing
* https://en.wikipedia.org/wiki/Set_(abstract_data_type)[sets] of primitive
* types.
*
* Sets have the following properties:
*
* - Elements are added, removed, and checked for existence in constant time
* (O(1)).
* - Eleme... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// 'CRYPTO TEX' token contract
//
// Deployed to : 0x1A5295ada29Febe5a1421FAD207FaE7c1D420A20
// Name : CRYPTO TEX
// Symbol : CTEX
// Total supply: 810000000
// Decimals : 18
//
// Enjoy.
//
// (c) ... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// 'OMIVIA' token contract
//
// Deployed to : 0x1e7FAA7b4a62f2F5844c3d5823b70350DEb3C824
// Symbol : OVA
// Name : OMIVIA
// Total supply: 100000000
// Decimals : 8
//
// Enjoy.
//
// (c) by Argamon... | These are the vulnerabilities found
1) locked-ether with Medium impact |
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
import "../../utils/introspection/IERC165.sol";
/**
* @dev Required interface of an ERC721 compliant contract.
*/
interface IERC721 is IERC165 {
/**
* @dev Emitted when `tokenId` token is transferred from `from` to `to`.
*/
event Transfer(ad... | No vulnerabilities found |
pragma solidity ^0.4.19;
contract BaseToken {
string public name;
string public symbol;
uint8 public decimals;
uint256 public totalSupply;
mapping (address => uint256) public balanceOf;
mapping (address => mapping (address => uint256)) public allowance;
event Transfer(address indexed from... | These are the vulnerabilities found
1) locked-ether with Medium impact |
// SPDX-License-Identifier: NONE
pragma solidity 0.6.12;
// Part: OpenZeppelin/openzeppelin-contracts@3.2.0/Address
/**
* @dev Collection of functions related to the address type
*/
library Address {
/**
* @dev Returns true if `account` is a contract.
*
* [IMPORTANT]
* ====
* It is u... | These are the vulnerabilities found
1) weak-prng with High impact
2) reentrancy-no-eth with Medium impact
3) incorrect-equality with Medium impact
4) unchecked-transfer with High impact |
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// 'Decenturion BitRent Development Hotel' token contract
//
// Deployed to : 0x6A15dD8B7cf47005A0a33b6a1139483b9d6d7E28
// Symbol : DBDH
// Name : Decenturion BitRent Development Hotel Token
// Total s... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// 'Silver Fifty Token' token contract
//
// Deployed to : 0x60d1669efb9ccf88f00253a7d354151e2cff5086
// Symbol : SLX
// Name : Silver Fifty Token
// Total supply: 500000
// Decimals : 0
//
// Enjoy.... | 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.