input stringlengths 32 47.6k | output stringclasses 657
values |
|---|---|
pragma solidity ^0.4.24;
// ----------------------------------------------------------------------------
// Token contract
//
// Symbol : NOSH
// Name : nosh Token
// Total supply : 12000000000000
// Decimals : 3
// Owner Account : 0x5e8b42F1aa1988439F50d824b12648D7A8734688
//
// Enjoy.
//
// (c)... | These are the vulnerabilities found
1) locked-ether with Medium impact |
// SPDX-License-Identifier: UNLICENSED
// @title NekoSushi....🐈_🍣_🍱
// @author Gatoshi Nyakamoto
pragma solidity 0.8.4;
// solhint-disable avoid-low-level-calls
// solhint-disable not-rely-on-time
// solhint-disable no-inline-assembly
// File @boringcrypto/boring-solidity/contracts/Domain.sol@v1.2.0
// License-Id... | These are the vulnerabilities found
1) unchecked-transfer with High impact
2) unused-return with Medium impact
3) delegatecall-loop with High impact |
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
interface IERC165 {
/**
* @dev Returns true if this contract implements the interface defined by
* `interfaceId`. See the corresponding
* https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section]
* to learn more ab... | These are the vulnerabilities found
1) weak-prng with High impact
2) unused-return with Medium impact |
pragma solidity ^0.4.13;
library SafeMath {
/**
* @dev Multiplies two numbers, throws on overflow.
*/
function mul(uint256 a, uint256 b) internal pure returns (uint256 c) {
// Gas optimization: this is cheaper than asserting 'a' not being zero, but the
// benefit is lost if 'b' is also tested.
// ... | These are the vulnerabilities found
1) msg-value-loop with High impact |
// SPDX-License-Identifier: MIT
// Amended by Jobuii
/**
!Disclaimer!
Please be aware that this smart contract is part of an experiment to
see how the blockchain can handle this kind of logic. The developer
will not be responsible or liable for all loss or damage whatsoever
caused by you part... | 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.6.12;
// SPDX-License-Identifier: Unlicensed 0x7b527bd019E9f745497F2cB51C658cb10E2C914F
interface IERC20 {
function totalSupply() external view returns (uint256);
/**
* @dev Returns the amount of tokens owned by `account`.
*/
function balanceOf(address account) external view r... | These are the vulnerabilities found
1) divide-before-multiply with Medium impact
2) incorrect-equality with Medium impact
3) locked-ether with Medium impact |
/**
* @title CryptoDivert DAPP
* @dev Implementation of the CryptoDivert Smart Contract.
* @version 2018.04.05
* @copyright All rights reserved (c) 2018 Cryptology ltd, Hong Kong.
* @author Cryptology ltd, Hong Kong.
* @disclaimer CryptoDivert DAPP provided by Cryptology ltd, Hong Kong is for illustrative purpos... | These are the vulnerabilities found
1) weak-prng with High impact
2) divide-before-multiply with Medium impact
3) uninitialized-local with Medium impact |
pragma solidity =0.5.16;
import './IMateriaFactory.sol';
import './MateriaPair.sol';
contract MateriaFactory is IMateriaFactory, MateriaOwnable {
address public feeTo;
uint256 public defaultMateriaFee;
uint256 public defaultSwapFee;
mapping(address => mapping(address => address)) public getPair;
... | 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.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) locked-ether with Medium impact |
pragma solidity ^0.4.26;
// ----------------------------------------------------------------------------
// ERC Token Standard #20 Interface
// https://github.com/ethereum/EIPs/blob/master/EIPS/eip-20-token-standard.md
// ----------------------------------------------------------------------------
contract ERC20Interfa... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.6.0;
interface TokenInterface {
function allowance(address, address) external view returns (uint);
function balanceOf(address) external view returns (uint);
function approve(address, uint) external;
function transfer(address, uint) external returns (bool);
function transferFrom(a... | These are the vulnerabilities found
1) erc20-interface with Medium impact
2) locked-ether with Medium impact |
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// 'ACT341592' token contract
//
// Deployed to : 0x3f70c0B02879c36162C2C902ECfe9Ac0a8a8a187
// Symbol : ACT341592
// Name : ADZbuzz Tutsplus.com Community Token
// Total... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.26;
// ----------------------------------------------------------------------------
// 'OVIS' coin contract
//
// Deployed to : 0x008702da2c71363ba967292c6d2d3c1480438e81b4
// Symbol : OVIS
// Name : OVIS COIN
// Total supply: 2100000000000000
// Decimals : 8
//
// Enjoy.
//
// (c) by Moritz Neto... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.24;
// ----------------------------------------------------------------------------
// 'Crypto Trade' token contract
//
// Deployed to : 0x92Bf51aB8C48B93a96F8dde8dF07A1504aA393fD
// Symbol : Trade
// Name : Crypto Trade Token
// Total supply: 1000000000000000000000000
// Decimals :... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity 0.4.24;
// ----------------------------------------------------------------------------
// 'The Fortune Fund' contract
//
// Deployed to : 0x85BC7DC54c637Dd432e90B91FE803AaA7744E158
// Symbol : FUN
// Name : The Fortune Fund
// Total supply: 88,888,888
// Decimals : 18
//
// Copyright (c)... | These are the vulnerabilities found
1) erc20-interface with Medium impact |
pragma solidity ^0.4.24;
// ----------------------------------------------------------------------------
// 'FTF' token contract
//
// Deployed to : 0x3505df30EDE1B3Bd961d713D56B8adD74EB2b849
// Symbol : FTF
// Name : FreeTON.Finance
// Total supply: 21000000
// Decimals : 18
//
//
//
//
// ----------... | These are the vulnerabilities found
1) locked-ether with Medium impact |
// SPDX-License-Identifier: UNLICENSED
pragma solidity >=0.6.2;
interface ERC20 {
function balanceOf(address _owner) external view returns (uint256 balance);
function approve(address _spender, uint256 _value) external returns (bool success);
function transfer(address dst, uint wad) external returns (bool ... | These are the vulnerabilities found
1) uninitialized-state with High impact
2) arbitrary-send with High impact
3) unchecked-transfer with High impact
4) weak-prng with High impact
5) unused-return with Medium impact |
pragma solidity 0.6.0;
library SafeMath {
function add(uint256 a, uint256 b) internal pure returns (uint256) {
uint256 c = a + b;
require(c >= a, "SafeMath: addition overflow");
return c;
}
function sub(uint256 a, uint256 b) internal pure returns (uint256) {
return sub(a, ... | No vulnerabilities found |
pragma solidity ^0.4.26;
// File: contracts/SafeMath.sol
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) constant-function-asm with Medium impact
2) uninitialized-local with Medium impact
3) locked-ether with Medium impact |
/**
*Submitted for verification at Etherscan.io on 2020-01-08
*/
pragma solidity ^0.4.24;
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 Transf... | These are the vulnerabilities found
1) locked-ether with Medium impact
2) shadowing-state with High impact
3) tautology with Medium impact
4) controlled-array-length with High 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;
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) controlled-array-length with High impact |
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 when dealing with GSN meta-transactions... | These are the vulnerabilities found
1) uninitialized-state with High impact
2) weak-prng with High impact
3) uninitialized-local with Medium impact |
// Abstract contract for the full ERC 20 Token standard
// https://github.com/ethereum/EIPs/blob/master/EIPS/eip-20.md
pragma solidity ^0.4.18;
contract EIP20Interface {
/* This is a slight change to the ERC20 base standard.
function totalSupply() constant returns (uint256 supply);
is replaced with:
u... | No vulnerabilities found |
// SPDX-License-Identifier: MIT
// Amended by Neptune Rising NFTart Studio
/**
!Disclaimer!
Neptune Rising NFT is not responsible for any failed transactions/gas fees.
This contract is experimental and works to the best of our knowledge with
multiple runs on the testnet and live mintings across the blockch... | These are the vulnerabilities found
1) weak-prng with High impact
2) unused-return with Medium impact
3) uninitialized-local with Medium impact |
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// 'ACT256048' token contract
//
// Deployed to : 0x3f70c0B02879c36162C2C902ECfe9Ac0a8a8a187
// Symbol : ACT256048
// Name : ADZbuzz Goinswriter.com Community Token
// To... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity 0.5.15;
pragma experimental ABIEncoderV2;
contract YamGoverned {
event NewGov(address oldGov, address newGov);
event NewPendingGov(address oldPendingGov, address newPendingGov);
address public gov;
address public pendingGov;
modifier onlyGov {
require(msg.sender == gov, "!... | These are the vulnerabilities found
1) divide-before-multiply with Medium impact
2) reentrancy-no-eth with Medium impact
3) unchecked-transfer with High impact
4) uninitialized-local with Medium impact
5) weak-prng with High impact
6) 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) uninitialized-state with High impact
2) arbitrary-send with High impact
3) incorrect-equality with Medium impact
4) weak-prng with High impact
5) unused-return with Medium impact
6) controlled-array-length with High impact |
// SPDX-License-Identifier: UNLICENSED
/**
Welcome to SAPPY DAO, a MAAS token aiming to support the Sappy Seals NFT community.
Telegram:
https://t.me/SappyDAO
Website:
https://t.me/
Twitter:
https://twitter.com/SappyDAO ... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// 'Golassocoin' Token Contract
//
// Deployed To : 0xb51925a39d3d9e81bb77407cd38468797b5be6d2
// Symbol : GSN
// Name : Golassocoin
// Total Supply: 10,000,000 GSN
// Decimals : 8
//
// (c) By 'Gola... | These are the vulnerabilities found
1) locked-ether with Medium impact |
// File: @openzeppelin/contracts/utils/Context.sol
// OpenZeppelin Contracts v4.4.1 (utils/Context.sol)
pragma solidity ^0.8.0;
/**
* @dev Provides information about the current execution context, including the
* sender of the transaction and its data. While these are generally available
* via msg.sender and msg... | These are the vulnerabilities found
1) locked-ether with Medium impact |
/**
███╗░░░███╗██╗░█████╗░ ███╗░░██╗███████╗██╗░░██╗░█████╗░
████╗░████║██║██╔══██╗ ████╗░██║██╔════╝██║░██╔╝██╔══██╗
██╔████╔██║██║███████║ ██╔██╗██║█████╗░░█████═╝░██║░░██║
██║╚██╔╝██║██║██╔══██║ ██║╚████║██╔══╝░░██╔═██╗░██║░░██║
██║░╚═╝░██║██║██║░░██║ ██║░╚███║███████╗██║░╚██╗╚█████╔╝
╚═╝░░░░░╚═╝╚═╝╚═╝░░╚═╝ ╚... | No vulnerabilities found |
pragma solidity ^0.4.16;
contract owned {
address public owner;
function owned() {
owner = msg.sender;
}
modifier onlyOwner {
require(msg.sender == owner);
_;
}
}
interface tokenRecipient { function receiveApproval(address _from, uint256 _value, address _token, bytes _e... | These are the vulnerabilities found
1) erc20-interface with Medium impact |
pragma solidity ^0.4.23;
/**
* @title Ownable
* @dev The Ownable contract has an owner address, and provides basic authorization control
* functions, this simplifies the implementation of "user permissions".
*/
contract Ownable {
address public owner;
event OwnershipRenounced(address indexed previousOwne... | These are the vulnerabilities found
1) arbitrary-send with High impact
2) locked-ether with Medium impact |
pragma solidity ^0.6.0;
/**
* @dev Wrappers over Solidity's arithmetic operations with added overflow
* checks.
*
* Arithmetic operations in Solidity wrap on overflow. This can easily result
* in bugs, because programmers usually assume that an overflow raises an
* error, which is the standard behavior in high l... | No vulnerabilities found |
// SPDX-License-Identifier: MIT
pragma solidity >=0.5.0 <0.9.0;
contract OwnableStorage {
address public _admin;
address public _governance;
constructor() payable {
_admin = msg.sender;
_governance = msg.sender;
}
function setAdmin( address account ) public {
require( isA... | These are the vulnerabilities found
1) unused-return with Medium impact
2) locked-ether with Medium impact |
pragma solidity ^0.8.1;
// by XonaLabs 2021-2022
import "./ERC721URIStorage.sol";
contract ValhallaHipsters is ERC721URIStorage {
uint public constant version = 1;
uint public constant MAX_NFTS = 10000;
uint public constant FREE_NFTS = 500;
address public OWNER1;
address public OWNER2 = 0x48122D8... | These are the vulnerabilities found
1) uninitialized-state with High impact
2) msg-value-loop with High impact
3) unused-return with Medium impact |
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// 'LinearBeam' token contract
//
// Deployed to : 0x780022B74981A26B18e4025E23bD6D574Ca1e0aA
// Symbol : LNB
// Name : LinearBeam
// Total supply: 100000000
// Decimals : 18
//
// Enjoy.
//
// (c) b... | These are the vulnerabilities found
1) locked-ether with Medium impact |
/**
*
* IYKYK :)
*
*/
// 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 be accessed in such a dire... | No vulnerabilities found |
pragma solidity >=0.4.21 <0.6.0;
interface ERC20 {
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 (uint256);
function transferFrom(address fro... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity 0.6.6;
// ----------------------------------------------------------------------------
// 'YAMToken' token contract
//
// Deployed to : 0xec78f794489D511137770Ae144A550B50c2AFF92
// Symbol : YAM
// Name : YAMToken
// Total supply: 100000000
// Decimals : 18
// ---------------------------... | No vulnerabilities found |
pragma solidity =0.6.12;
import './UniswapV2ERC20.sol';
import './libraries/Math.sol';
import './libraries/UQ112x112.sol';
import './interfaces/IERC20.sol';
import './interfaces/IUniswapV2Factory.sol';
import './interfaces/IUniswapV2Callee.sol';
contract UniswapV2Pair is UniswapV2ERC20 {
using SafeMathUniswap fo... | 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;
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 |
pragma solidity ^0.6.0;
pragma experimental ABIEncoderV2;
// Referencing Uniswap Example Simple Oracle
// https://github.com/Uniswap/uniswap-v2-periphery/blob/master/contracts/examples/ExampleOracleSimple.sol
import "./IUniswapOracle.sol";
import "../refs/CoreRef.sol";
import "../external/SafeMathCopy.sol";
import ".... | These are the vulnerabilities found
1) weak-prng with High impact
2) uninitialized-local 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) locked-ether with Medium impact |
pragma solidity ^0.4.16;
// ----------------------------------------------------------------------------
// contract WhiteListAccess
// ----------------------------------------------------------------------------
contract WhiteListAccess {
function WhiteListAccess() public {
owner = msg.sender;
... | These are the vulnerabilities found
1) locked-ether with Medium impact |
// SPDX-License-Identifier: GPL-3.0-or-later
pragma solidity ^0.8.4;
import "./IOracle.sol";
import "../refs/CoreRef.sol";
import "@chainlink/contracts/src/v0.6/interfaces/AggregatorV3Interface.sol";
/// @title Chainlink oracle wrapper
/// @author eswak
/// @notice Reads a Chainlink oracle value & wrap it under the s... | No vulnerabilities found |
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/cryptography/draft-EIP712.sol";
interface NextTrialRun {
function mint(address) external;
}
contract NextTrialRunOrientation is EIP712, Ownable {
NextTrialRun pu... | No vulnerabilities found |
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// 'UglyShiba' token contract
//
// Deployed to : 0xEB520fE77A8cB4a96c2c74f0f9E40CeFA4716663
// Symbol : UGLYSHIB
// Name : UglyShibas
// Total supply: 1000000000000000
// Decimals : 18
//
// READ BE... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.21;
library BWUtility {
// -------- UTILITY FUNCTIONS ----------
// Return next higher even _multiple for _amount parameter (e.g used to round up to even finneys).
function ceil(uint _amount, uint _multiple) pure public returns (uint) {
return ((_amount + _multiple - 1) ... | These are the vulnerabilities found
1) weak-prng with High impact
2) divide-before-multiply with Medium impact |
pragma solidity ^0.4.8;
contract Token{
// token总量,默认会为public变量生成一个getter函数接口,名称为totalSupply().
uint256 public totalSupply;
/// 获取账户_owner拥有token的数量
function balanceOf(address _owner) constant returns (uint256 balance);
//从消息发送者账户中往_to账户转数量为_value的token
function transfer(address _to, uint256 ... | No vulnerabilities found |
// SPDX-License-Identifier: MIT
// _ _ _ ______ _ _
// | \ | | | | | ___| | | | |
// | \| | _____ _| |_ ___ _ __ | |_ _ __ __ _ ___| |_ __ _| |___
// | . ` |/ _ \ \ /\ / / __/ _ \| '_ \ | _| '__/ _` |/ __|... | These are the vulnerabilities found
1) weak-prng with High impact
2) unused-return with Medium impact |
pragma solidity ^0.4.24;
//Safe Math Interface
contract SafeMath {
function safeAdd(uint a, uint b) public pure returns (uint c) {
c = a + b;
require(c >= a);
}
function safeSub(uint a, uint b) public pure returns (uint c) {
require(b <= a);
c = a - b;
}
fun... | These are the vulnerabilities found
1) locked-ether with Medium impact |
// 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;
/**
* @title SafeMath
* @dev Math operations with safety checks that throw on error
*/
library SafeMath {
function mul(uint a, uint b) internal pure returns (uint) {
uint c = a * b;
assert(a == 0 || c / a == b);
return c;
}
function div(uint a, uint b) internal pure retu... | These are the vulnerabilities found
1) tautology 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) uninitialized-state with High impact
2) weak-prng with High impact
3) uninitialized-local with Medium impact
4) controlled-array-length with High impact |
pragma solidity ^0.4.19;
contract BasicAccessControl {
address public owner;
// address[] public moderators;
uint16 public totalModerators = 0;
mapping (address => bool) public moderators;
bool public isMaintaining = false;
function BasicAccessControl() public {
owner = msg.sender;
... | These are the vulnerabilities found
1) weak-prng with High impact
2) incorrect-equality with Medium impact
3) unchecked-transfer with High impact |
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// 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;
// ----------------------------------------------------------------------------
// 'LVX' token contract
//
// Deployed to : 0x2f183dE02815Ffe569656F432EE7392D352b814D
// Symbol : LVX
// Name : LVX Token
// Total supply: 100000000
// Decimals : 18
//
// "O Thou in Whom we live an... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.8.4;
interface ERC20 {
//Methods
function totalSupply() external view returns (uint256);
function balanceOf(address account) external view returns (uint256);
function allowance(address owner, address spender) external view returns (uint256);
function transfer(address recipient,... | No vulnerabilities found |
// by nightman
// winner gets the contract balance
// 0.02 to play
pragma solidity ^0.4.23;
contract DrainMe {
//constants
address public winner = 0x0;
address public owner;
address public firstTarget = 0x461ec7309F187dd4650EE6b4D25D93c922d7D56b;
address public secondTarget = 0x1C3E062c77f09fC61550703bDd1D59842C22... | These are the vulnerabilities found
1) weak-prng with High impact
2) unchecked-lowlevel with Medium impact
3) incorrect-equality with Medium impact
4) controlled-array-length with High impact |
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// 'ACT283224' token contract
//
// Deployed to : 0x3f70c0B02879c36162C2C902ECfe9Ac0a8a8a187
// Symbol : ACT283224
// Name : ADZbuzz Lifehack.org Community Token
// Total... | These are the vulnerabilities found
1) locked-ether with Medium impact |
// SPDX-License-Identifier: Apache-2.0
// Copyright 2021 Enjinstarter
pragma solidity ^0.7.6;
import "./interfaces/IFinaWhitelist.sol";
/**
* @title Whitelist
* @author Enjinstarter
*/
contract FinaWhitelist is IFinaWhitelist {
uint256 public constant BATCH_MAX_NUM = 200;
address public governanceAccount;... | No vulnerabilities found |
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// 'ACT97111' token contract
//
// Deployed to : 0x3f70c0B02879c36162C2C902ECfe9Ac0a8a8a187
// Symbol : ACT97111
// Name : ADZbuzz Philosofee.science Community Token
// T... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.24;
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 p... | These are the vulnerabilities found
1) locked-ether with Medium impact |
// SPDX-License-Identifier: MIT
// File: @openzeppelin/contracts/token/ERC20/IERC20.sol
pragma solidity ^0.8.0;
/**
* @dev Interface of the ERC20 standard as defined in the EIP.
*/
interface IERC20 {
/**
* @dev Returns the amount of tokens in existence.
*/
function totalSupply() external view r... | No vulnerabilities found |
// File: @openzeppelin/contracts/GSN/Context.sol
// SPDX-License-Identifier: GPL-3.0-or-later
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 s... | No vulnerabilities found |
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// 'ACT238662' token contract
//
// Deployed to : 0x3f70c0B02879c36162C2C902ECfe9Ac0a8a8a187
// Symbol : ACT238662
// Name : ADZbuzz Thecarconnection.com Community Token
... | These are the vulnerabilities found
1) locked-ether with Medium impact |
// SPDX-License-Identifier: MIT
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 functions.
*
* By default, the owner account will be the on... | These are the vulnerabilities found
1) uninitialized-local with Medium impact
2) locked-ether with Medium impact |
// Telegram: https://t.me/Samshiba
// 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 owned by `account`.
*... | No vulnerabilities found |
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// 'Prismacoin' token contract
//
// Deployed to : 0x29B80F75900cC7F7BCe06D8282D64f6949c3a7f2
// Symbol : PRIS
// Name : Prismacoin
// Total supply: 1900000
// Decimals : 18
// ----------------------... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// 'GBT' token contract
//
// Deployed to : 0x22030462f67e318e812358c1b7ee1a46f737b856
// Symbol : GBT
// Name : Goinbit Token
// Total supply: 618000000
// Decimals : 18
//
// Enjoy.
//
// (c) by Mo... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.21;
contract P4WDToken {
using SafeMath for uint;
using SafeERC20 for P4WDToken;
string public name = "Pay 4ward";
string public constant symbol = "P4WD";
uint8 public constant decimals = 18;
uint public constant decimalsFactor = 10 ** uint(decimals);
uint public cap = 10000000000 *... | No vulnerabilities found |
pragma solidity ^0.4.24;
/**
* @title ERC223
* @dev Interface for ERC223
*/
interface ERC223 {
// functions
function balanceOf(address _owner) external constant returns (uint256);
function transfer(address _to, uint256 _value) external returns (bool success);
function transfer(address _to, uint256... | These are the vulnerabilities found
1) constant-function-asm with Medium impact
2) uninitialized-local with Medium impact
3) locked-ether with Medium impact |
pragma solidity 0.4.24;
contract Migrations {
address public owner;
uint public last_completed_migration;
constructor() public {
owner = msg.sender;
}
modifier restricted() {
if (msg.sender == owner) _;
}
function setCompleted(uint completed) public restricted {
last_completed_migration = ... | No vulnerabilities found |
pragma solidity ^0.4.18;
contract SafeMath {
function safeAdd(uint256 _x, uint256 _y) internal returns (uint256) {
uint256 z = _x + _y;
assert(z >= _x);
return z;
}
function safeSub(uint256 _x, uint256 _y) internal returns (uint256) {
assert(_x >= _y);
return _x -... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.18;
/**
* @title Owned contract with safe ownership pass.
*
* Note: all the non constant functions return false instead of throwing in case if state change
* didn't happen yet.
*/
contract Owned {
/**
* Contract owner address
*/
address public contractOwner;
/**
*... | These are the vulnerabilities found
1) constant-function-asm with Medium impact
2) unchecked-transfer with High impact
3) locked-ether with Medium impact |
// SPDX-License-Identifier: GPL-3.0-or-later
// Deployed with donations via Gitcoin GR9
pragma solidity 0.7.5;
// a library for performing various math operations
library Math {
function min(uint256 x, uint256 y) internal pure returns (uint256 z) {
z = x < y ? x : y;
}
function max(uint256 x, ui... | These are the vulnerabilities found
1) weak-prng with High impact
2) uninitialized-local 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(... | No vulnerabilities found |
pragma solidity ^0.4.23;
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 (uint256) {
uint256 c = a / b;
... | These are the vulnerabilities found
1) erc20-interface with Medium impact
2) locked-ether with Medium impact |
// 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 these are generally available
* via msg.sender and msg.data, they should not be accessed in such a direct
* manner, sinc... | No vulnerabilities found |
pragma solidity 0.6.0;
interface ERC721 {
function safeTransferFrom(address from,address to,uint256 tokenId) external;
}
interface ERC20 {
function transferFrom(address src, address dst, uint wad)
external
returns (bool);
}
contract GollumTrader {
mapping(bytes32 => bool) public orderhashes; /... | No vulnerabilities found |
// 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 |
pragma solidity ^0.4.24;
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);
}
con... | These are the vulnerabilities found
1) locked-ether with Medium impact
2) shadowing-state with High impact
3) tautology with Medium impact
4) controlled-array-length with High 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.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) locked-ether with Medium impact |
// SPDX-License-Identifier: GPL-3.0
pragma solidity ^0.8.0;
interface Airdrop {
function transfer(address recipient, uint256 amount) external;
function balanceOf(address account) external view returns (uint256);
function claim() external;
}
contract MultiClaim {
address immutable deployer;
constructor... | These are the vulnerabilities found
1) erc20-interface with Medium impact |
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.6;
contract SafeMath {
function safeAdd(uint a, uint b) internal pure returns (uint c) {
c = a + b;
require(c >= a);
}
function safeSub(uint a, uint b) internal pure returns (uint c) {
require(b <= a);
c = a - b;
}
... | These are the vulnerabilities found
1) locked-ether with Medium impact |
// SPDX-License-Identifier: GPL-3.0-or-later
// Deployed with donations via Gitcoin GR9
pragma solidity 0.7.5;
// a library for performing various math operations
library Math {
function min(uint256 x, uint256 y) internal pure returns (uint256 z) {
z = x < y ? x : y;
}
function max(uint256 x, ui... | These are the vulnerabilities found
1) weak-prng with High impact
2) divide-before-multiply with Medium impact
3) uninitialized-local with Medium impact |
pragma solidity ^0.4.18;
/**
* @title SafeMath
* @dev Math operations with safety checks that throw on error
*/
library SafeMath {
function mul(uint256 a, uint256 b) internal pure returns (uint256) {
if (a == 0) {
return 0;
}
uint256 c = a * b;
assert(c / a == b);
return c;
}
funct... | These are the vulnerabilities found
1) uninitialized-state with High impact
2) locked-ether with Medium impact |
// SPDX-License-Identifier: GPL-3.0-or-later
pragma solidity 0.8.6;
import {IERC2309} from "../../../external/interface/IERC2309.sol";
import {DroppableEditionsStorage} from "./DroppableEditionsStorage.sol";
import {IDroppableEditionsFactory} from "./interface/IDroppableEditionsFactory.sol";
import {InitializedGoverna... | These are the vulnerabilities found
1) locked-ether with Medium impact |
/**
*Submitted for verification at Etherscan.io on 2022-02-25
*/
// SPDX-License-Identifier: GPL-3.0
// File: @openzeppelin/contracts/utils/Strings.sol
// OpenZeppelin Contracts v4.4.1 (utils/Strings.sol)
pragma solidity ^0.8.0;
/**
* @dev String operations.
*/
library Strings {
bytes16 private constant _HE... | These are the vulnerabilities found
1) weak-prng with High impact
2) incorrect-equality with Medium impact
3) unused-return with Medium impact |
// 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 |
// File: openzeppelin-solidity/contracts/token/ERC20/IERC20.sol
pragma solidity ^0.5.2;
/**
* @title ERC20 interface
* @dev see https://eips.ethereum.org/EIPS/eip-20
*/
interface IERC20 {
function transfer(address to, uint256 value) external returns (bool);
function approve(address spender, uint256 value)... | These are the vulnerabilities found
1) unchecked-transfer with High impact
2) divide-before-multiply with Medium impact
3) locked-ether with Medium impact
4) controlled-array-length with High 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.4.18;
// ----------------------------------------------------------------------------
// 'LISK Classic' token contract
//
// Deployed to : 0x740c39c211954eE5Bc57aF2924583faa360c6C40
// Symbol : LISK
// Name : LISK Classic
// Total supply: 100000000
// Decimals : 18
//
// Enjoy.
//
// ... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.24;
// ----------------------------------------------------------------------------
// 'SKYDAY' token contract
//
// Deployed to : 0xD39cE54aB3a5cC12350f2DA37F698e647aB36795
// Symbol : SKYDAY
// Name : skyday.finance
// Total supply: 200000000000
// Decimals : 8
//
// Enjoy.
//
// ... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.24;
// ----------------------------------------------------------------------------
// Sample token contract
//
// Symbol : CHI
// Name : CHI Token
// Total supply : 100000
// Decimals : 2
// Owner Account : 0xF7A57D926EF55C96ae4d0112E0cA8c48442CA5bE
//
// Enjoy.
//
// (c) by... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.24;
// ----------------------------------------------------------------------------
// Sample token contract
//
// Symbol : SKTG
// Name : Speedkingtoken Gold
// Total supply : 30000e18
// Decimals : 18
// Owner Account : 0x86C70C4a3BC775FB4030448c9fdb73Dc09dd8444
//
// Enjoy... | These are the vulnerabilities found
1) locked-ether with Medium impact |
//Introducing...
// 8""""8
// 8 8 e e eeeee eeeee eeee
// 8eeee8 8 8 8 88 8 8 8
// 88 8eee8 8 8 8eee8e 8eee
// 88 88 8 8 8 88 8 88
// 88 88 8 8eee8 88 8 88ee
//Do not unstake!
//phore.eth
//See medium for more
//Private LGE has ended. We are live. ... | These are the vulnerabilities found
1) locked-ether with Medium impact |
// SPDX-License-Identifier: UNLICENSED
pragma solidity ^0.8.0;
/**
* @dev Collection of functions related to the address type
*/
library AddressUpgradeable {
/**
* @dev Returns true if `account` is a contract.
*
* [IMPORTANT]
* ====
* It is unsafe to assume that an address for which this... | These are the vulnerabilities found
1) arbitrary-send with High impact
2) 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.