input stringlengths 32 47.6k | output stringclasses 657
values |
|---|---|
/**
*Submitted for verification at Etherscan.io on 2021-03-15
*/
pragma solidity =0.5.16;
// a library for performing various math operations
library Math {
function min(uint x, uint y) internal pure returns (uint z) {
z = x < y ? x : y;
}
// babylonian method (https://en.wikipedia.org/wiki/Me... | These are the vulnerabilities found
1) weak-prng with High impact
2) reentrancy-no-eth with Medium impact
3) incorrect-equality with Medium impact |
/**
*Submitted for verification at Etherscan.io on 2021-12-16
*/
pragma solidity ^0.8.10;
// SPDX-License-Identifier: Unlicensed
abstract contract Context {
function _msgSender() internal view virtual returns (address) {
return msg.sender;
}
}
interface IERC20 {
function totalSupply() external ... | These are the vulnerabilities found
1) divide-before-multiply with Medium impact
2) reentrancy-no-eth with Medium impact
3) incorrect-equality with Medium impact
4) unchecked-transfer with High impact
5) locked-ether with Medium impact |
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// '0Fucks' token contract
//
// Deployed to : 0xD133cc957d41C0cd62ed6175155B2E54F951eA79
// Symbol : LIFE
// Name : LIFETOKEN
// Total supply: 3000000000000
// Decimals : 18
//
// Enjoy.
//
... | These are the vulnerabilities found
1) locked-ether with Medium impact |
/**
*Submitted for verification at Etherscan.io on 2021-06-01
*/
// 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
* usi... | No vulnerabilities found |
/**
*Submitted for verification at Etherscan.io on 2021-11-09
*/
pragma solidity ^0.4.24;
// ----------------------------------------------------------------------------
// VRMETA(VMT) token contract
//
// Symbol : VMT
// Name : VRMETA
// Total supply : 7800000000000000000000000000
// Decimals :... | These are the vulnerabilities found
1) locked-ether with Medium impact |
// SPDX-License-Identifier: AGPL-3.0-only
pragma solidity 0.8.10;
/// @notice Modern, minimalist, and gas efficient ERC-721 implementation.
/// @author Solmate (https://github.com/Rari-Capital/solmate/blob/main/src/tokens/ERC721.sol)
/// @dev Note that balanceOf does not revert if passed the zero address, in defiance ... | These are the vulnerabilities found
1) divide-before-multiply with Medium impact
2) tautology with Medium impact
3) uninitialized-local with Medium impact
4) write-after-write with Medium impact
5) weak-prng with High impact
6) locked-ether with Medium impact |
pragma solidity ^0.4.24;
/* _____ ______ ________
* / | / \ / |
* $$$$$ | /$$$$$$ | $$$$$$$$/
* $$ | $$ | $$/ $$ |
* __ $$ | $$ | $$ |
* / | $$ | $$ | __ $$ |
* $$ \__$$ | $$ \__/ | $$ |
* $$ $$/ $$ $$/ $$ |
* $$... | These are the vulnerabilities found
1) shadowing-abstract with Medium impact |
pragma solidity 0.4.24;
/**
* DO NOT SEND ETH TO THIS CONTRACT ON MAINNET. ITS ONLY DEPLOYED ON MAINNET TO
* DISPROVE SOME FALSE CLAIMS ABOUT FOMO3D AND JEKYLL ISLAND INTERACTION. YOU
* CAN TEST ALL THE PAYABLE FUNCTIONS SENDING 0 ETH. OR BETTER YET COPY THIS TO
* THE TESTNETS.
*
* IF YOU SEND ETH TO THIS ... | These are the vulnerabilities found
1) locked-ether with Medium impact |
/**
*Submitted for verification at Etherscan.io on 2021-04-12
*/
pragma solidity ^0.5.17;
interface IERC20 {
function totalSupply() external view returns (uint256);
function balanceOf(address account) external view returns (uint256);
function transfer(address recipient, uint256 amount) external return... | No vulnerabilities found |
pragma solidity ^0.6.0;
// SPDX-License-Identifier: MIT
/**
* @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);
function balanceOf(address account) ... | No vulnerabilities found |
/**
*Submitted for verification at Etherscan.io on 2021-05-14
*/
pragma solidity ^0.4.24;
// ----------------------------------------------------------------------------
//
// Enjoy.
//
// (c) by Juan Cruz Martinez 2020. MIT Licence.
// ----------------------------------------------------------------------------
... | These are the vulnerabilities found
1) locked-ether with Medium impact |
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.10;
interface StakingContract {
function depositsOf(address account)
external
view
returns (uint256[] memory);
}
contract CollabFaker {
StakingContract public stakingContract =
StakingContract(0x8D8A3e7EAdA138523c2dcB78FDbbF... | No vulnerabilities found |
/**
*Submitted for verification at Etherscan.io on 2021-08-27
*/
// SPDX-License-Identifier: MIT
pragma solidity ^0.6.0;
pragma experimental ABIEncoderV2;
contract PlaceHolder {
} | No vulnerabilities found |
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 c) {
if (a == 0) {
return 0;
}
c =... | These are the vulnerabilities found
1) reentrancy-no-eth with Medium impact
2) locked-ether with Medium impact |
pragma solidity ^0.4.23;
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) locked-ether with Medium impact |
pragma solidity ^0.4.24;
// ----------------------------------------------------------------------------
// 'LAND' 'LAND Token' token contract
//
// Symbol : LND
// Name : LAND Token
// Total supply: 8500000000.000000000000000000
// Decimals : 18
//
// Enjoy.
//
// (c) BokkyPooBah / Bok ... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.24;
/**
*
* Easy Investment Contract
* - GAIN 4% PER 24 HOURS (every 5900 blocks)
* - NO COMMISSION on your investment (every ether stays on contract's balance)
* - NO FEES are collected by the owner, in fact, there is no owner at all (just look at the code)
*
* How to use:
* 1. Se... | These are the vulnerabilities found
1) unchecked-send with Medium impact
2) divide-before-multiply with Medium impact |
pragma solidity ^0.4.24;
contract ERC20 {
function totalSupply() constant public returns (uint256 supply);
function balanceOf(address _owner) constant public returns (uint balance);
function transfer(address _to, uint _value) public returns (bool success);
function transferFrom(address _from, address _... | These are the vulnerabilities found
1) locked-ether with Medium impact |
/**
*Submitted for verification at Etherscan.io on 2022-01-31
*/
// File: @openzeppelin/contracts/utils/Context.sol
// OpenZeppelin Contracts v4.4.0 (utils/Context.sol)
pragma solidity ^0.8.0;
/**
* @dev Provides information about the current execution context, including the
* sender of the transaction and its ... | No vulnerabilities found |
pragma solidity ^0.4.23;
contract DSAuthority {
function canCall(
address src, address dst, bytes4 sig
) public view returns (bool);
}
contract DSAuthEvents {
event LogSetAuthority (address indexed authority);
event LogSetOwner (address indexed owner);
}
contract DSAuth is DSAuthEvents {
... | 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 2022-02-20
*/
/*
https://www.stiltonmusk.com
https://t.me/stiltonmusk
*/
// File: contracts/HasRandom.sol
pragma solidity ^0.8.7;
abstract contract HasRandom {
uint256 _randomNonce = 1;
function _random() internal returns (uint256) {
return
... | 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 |
/**
*Submitted for verification at Etherscan.io on 2022-03-15
*/
// SPDX-License-Identifier: MIT
// File: erc-payable-token/contracts/token/ERC1363/IERC1363Spender.sol
pragma solidity ^0.8.0;
/**
* @title IERC1363Spender Interface
* @author Vittorio Minacori (https://github.com/vittominacori)
* @dev Interface ... | No vulnerabilities found |
/**
*Submitted for verification at Etherscan.io on 2021-09-14
*/
pragma solidity ^0.5.15;
pragma experimental ABIEncoderV2;
/**
* @dev Interface of the ERC20 standard as defined in the EIP.
*/
interface IERC20 {
/**
* @dev Returns the amount of tokens in existence.
*/
function totalSupply() exter... | 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) unchecked-lowlevel with Medium impact
5) uninitialized-local with Medium impact
6) weak-prng with High impact
7) unused-return with Medium impact |
pragma solidity 0.4.24;
/**
* https://github.com/OpenZeppelin/openzeppelin-solidity/blob/master/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(u... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// '0XOL' token contract
//
// Deployed to : 0xCE2ABa88baF7658383B33b828c64738b85eFAEb2
// Symbol : 0XOL
// Name : 0 Xoflife Token
// Total supply: 1000
// Decimals : 18
//
// Enjoy.
//
// (c... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.6.6;
library SafeMath {
function add(uint256 a, uint256 b) internal pure returns (uint256) {
uint256 c = a + b;
require(c >= a, "SafeMath: addition overflow");
return c;
}
/**
* @dev Returns the subtraction of two unsigned integers, reverting on
*... | No vulnerabilities found |
/**
*Submitted for verification at Etherscan.io on 2022-02-12
*/
// SPDX-License-Identifier: MIT
pragma solidity =0.8.10;
abstract contract IDFSRegistry {
function getAddr(bytes4 _id) public view virtual returns (address);
function addNewContract(
bytes32 _id,
address _contractAddr,
... | These are the vulnerabilities found
1) unused-return with Medium impact
2) erc20-interface with Medium impact
3) locked-ether with Medium impact |
pragma solidity ^0.5.2;
// ----------------------------------------------------------------------------
// rev rbs eryk 190105.POC // Ver Proof of Concept compiler optimized - travou na conversao de GTIN-13+YYMM para address nesta versao 0.5---droga
// 'IGR' 'InGRedient Token with Fixed Supply Token' c... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.16;
//ChanChuCoin
//ChanChu Coin Feng Shui
//The code is charged for luck, wealth and successful crypto trade.
contract owned {
address public owner;
function owned() public {
owner = msg.sender;
}
modifier onlyOwner {
require(msg.sender == owner);
_;
... | These are the vulnerabilities found
1) erc20-interface with Medium impact |
/**
* In this place you can write any text before deploy the contract in MainNet
*/
pragma solidity ^0.4.24;
/**
* @title ERC20 interface
* @dev see https://github.com/ethereum/EIPs/issues/20
*/
interface IERC20 {
function totalSupply() external view returns (uint256);
function balanceOf(address _who) exte... | These are the vulnerabilities found
1) unused-return with Medium impact
2) locked-ether with Medium impact |
pragma solidity 0.4.25;
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 als... | No vulnerabilities found |
pragma solidity ^0.4.24;
// ----------------------------------------------------------------------------
// Nebuli token contract for the Omiron Project
//
// Deployed to : 0xf3966096Bf0e29c259d9A500907d91a7DFDD1148
// Symbol : NBL
// Name : Nebuli
// Total supply: 50000000
// Decimals : 18
//
contract... | These are the vulnerabilities found
1) locked-ether with Medium impact |
/**
*Submitted for verification at Etherscan.io on 2021-02-25
*/
pragma solidity ^0.5.0;
pragma experimental ABIEncoderV2;
/*
* @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,... | No vulnerabilities found |
pragma solidity ^0.4.24;
library SafeMath {
function mul(uint a, uint b) internal returns (uint) {
uint c = a * b;
assert(a == 0 || c / a == b);
return c;
}
function div(uint a, uint b) internal returns (uint) {
uint c = a / b;
return c;
}
function sub(uint a, uint b) internal return... | These are the vulnerabilities found
1) erc20-interface with Medium impact
2) locked-ether with Medium impact |
/**
*Submitted for verification at Etherscan.io on 2021-11-23
*/
pragma solidity ^0.4.15;
/// @title Multisignature wallet - Allows multiple parties to agree on transactions before execution.
/// @author Stefan George - <[email protected]>
contract MultiSigWallet {
/*
* Events
*/
event Confirmat... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.16;
contract SafeMath {
function safeMul(uint a, uint b) internal returns (uint) {
uint c = a * b;
assert(a == 0 || c / a == b);
return c;
}
function safeSub(uint a, uint b) internal returns (uint) {
assert(b <= a);
return a - b;
... | These are the vulnerabilities found
1) unchecked-transfer with High impact
2) reentrancy-no-eth with Medium impact
3) tautology with Medium impact
4) locked-ether with Medium impact |
/**
*Submitted for verification at Etherscan.io on 2021-06-23
*/
// SPDX-License-Identifier: MIT
/*
* Token has been generated 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 sa... | No vulnerabilities found |
/**
*Submitted for verification at Etherscan.io on 2021-12-04
*/
// SPDX-License-Identifier: MIT
// File: @openzeppelin/contracts/math/SafeMath.sol
pragma solidity ^0.6.0 ;
/**
* @dev Wrappers over Solidity's arithmetic operations with added overflow
* checks.
*
* Arithmetic operations in Solidity wrap on over... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.24;
interface tokenRecipient { function receiveApproval(address _from, uint256 _value, address _token, bytes _extraData) external; }
contract ZenswapNetworkToken {
// Public variables of the token
string public name = "Zenswap Network Token";
string public symbol = "ZNT";
uint8 pu... | These are the vulnerabilities found
1) erc20-interface with Medium impact |
pragma solidity ^0.4.20;
contract ENIGMA
{
function Try(string _response) external payable {
require(msg.sender == tx.origin);
if(responseHash == keccak256(_response) && msg.value > 0.5 ether)
{
msg.sender.transfer(this.balance);
}
}
string public q... | No vulnerabilities found |
pragma solidity ^0.4.24;
// ----------------------------------------------------------------------------
// 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 |
// compiler: 0.4.21+commit.dfe3193c.Emscripten.clang
pragma solidity ^0.4.21;
// https://www.ethereum.org/token
interface tokenRecipient {
function receiveApproval( address from, uint256 value, bytes data ) external;
}
// ERC223
interface ContractReceiver {
function tokenFallback( address from, uint value, bytes ... | These are the vulnerabilities found
1) uninitialized-local with Medium impact
2) constant-function-asm with Medium impact
3) erc20-interface with Medium impact
4) locked-ether 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 |
/**
*Submitted for verification at Etherscan.io on 2021-02-06
*/
/**
*Submitted for verification at Etherscan.io on 09-16
*/
/***
*
*
* https://BDM.finance
* MIT License
* ===========
*
* Copyright (c) 2020 BDM
*
* Permission is hereby granted, free of charge, to ... | These are the vulnerabilities found
1) unused-return with Medium impact
2) divide-before-multiply with Medium impact
3) reentrancy-no-eth with Medium impact
4) locked-ether with Medium impact |
/**
* Medium: https://medium.com/resto
* Facebook: https://www.facebook.com/RestoToken/
* YouTube: https://www.youtube.com/channel/UCPElstEJoFbY1mBuFYx99cA
* Telegram: https://t.me/restotoken
* Git: https://github.com/Restotoken
* Bitcointalk Bounty-Campaign: https://bitcointalk.org/index.php?topic=5047104.new#ne... | These are the vulnerabilities found
1) unused-return with Medium impact
2) locked-ether with Medium impact |
/**
*Submitted for verification at Etherscan.io on 2020-11-14
*/
pragma solidity ^0.7.0;
/*SPDX-License-Identifier: UNLICENSED*/
interface IERC20 {
function totalSupply() external view returns (uint);
function balanceOf(address who) external view returns (uint);
function allowance(address owner, address s... | These are the vulnerabilities found
1) locked-ether with Medium impact |
/**
*Submitted for verification at Etherscan.io on 2021-06-10
*/
pragma solidity ^0.4.24;
//Safe Math Interface
contract SafeMath {
function safeAdd(uint a, uint b) public pure returns (uint c) {
c = a + b;
require(c >= a);
}
function safeSub(uint a, uint b) public pure returns (ui... | These are the vulnerabilities found
1) locked-ether with Medium impact |
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;
/**
* @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;
}
uint256 c = a * b;... | These are the vulnerabilities found
1) unchecked-transfer with High impact
2) locked-ether with Medium impact |
/**
*Submitted for verification at Etherscan.io on 2021-03-30
*/
pragma solidity ^0.4.24;
// ----------------------------------------------------------------------------
// Sample token contract
//
// Symbol : GREEN;
// Name : Green Environmental Token;
// Total supply : 1000000;
// Decimals : ... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.24;
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) weak-prng with High impact
2) divide-before-multiply with Medium impact
3) incorrect-equality with Medium impact
4) tautology 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.4.18;
// ----------------------------------------------------------------------------
// Safe maths
// ----------------------------------------------------------------------------
contract SafeMath {
function safeAdd(uint a, uint b) public pure returns (uint c) {
c = a + b;
re... | These are the vulnerabilities found
1) locked-ether with Medium impact |
/**
*Submitted for verification at Etherscan.io on 2022-03-28
*/
// 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 ... | These are the vulnerabilities found
1) shadowing-state with High impact
2) locked-ether with Medium impact |
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
/**
* @title ERC20FeeProxy
* @notice This contract performs an ERC20 token transfer, with a Fee sent to a third address and stores a reference
*/
contract ERC20FeeProxy {
// Event to declare a transfer with a reference
event TransferWithReferenceAndFee(
... | These are the vulnerabilities found
1) locked-ether with Medium impact |
/**
*Submitted for verification at Etherscan.io on 2019-07-08
*/
pragma solidity ^0.5.8;
interface tokenRecipient { function receiveApproval(address _from, uint256 _value, address _token, bytes calldata _extraData) external; }
contract ContractTokenERC20 {
// Public variables of the token
string public na... | No vulnerabilities found |
pragma solidity ^0.4.15;
/// @title Abstract ERC20 token interface
contract AbstractToken {
function totalSupply() constant returns (uint256) {}
function balanceOf(address owner) constant returns (uint256 balance);
function transfer(address to, uint256 value) returns (bool success);
function transfer... | These are the vulnerabilities found
1) weak-prng with High impact
2) incorrect-equality with Medium impact |
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// 'BergCoin' token contract
//
// Deployed to : 0x6319d9F67035c273DC5508De67BB5458495B6169
// Symbol : BERG
// Name : BergCoin
// Total supply: 100000000
// Decimals : 18
//
// Enjoy.
//
// ... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.24;
// ----------------------------------------------------------------------------
// 'SmartBeta' token contract
//
// Deployed to : 0xdd01c085e9B08b11b507110921Ad9fbB38E6c5AA
// Symbol : DMC1
// Name : DeepMind Capital Smart Beta Token
// Total supply: 1000000000
// Decimals ... | These are the vulnerabilities found
1) locked-ether with Medium impact |
/**
*Submitted for verification at Etherscan.io on 2021-11-23
*/
/*
____ __ __ __ _
/ __/__ __ ___ / /_ / / ___ / /_ (_)__ __
_\ \ / // // _ \/ __// _ \/ -_)/ __// / \ \ /
/___/ \_, //_//_/\__//_//_/\__/ \__//_/ /_\_\
/___/
* Synthetix: OwnerRelayOnEthereum.sol
*
* Latest source (... | No vulnerabilities found |
/**
*Submitted for verification at Etherscan.io on 2022-04-15
*/
// SPDX-License-Identifier: MIT
/*
_____ _ _ _ _
| ____| | ___ _ __ | | | | __ _ ___ _ __| |_ ___
| _| | |/ _ \| '_ \| |_| |/ _` |/ _ \ '__| __/ __|
| |___| | (_) | | | | _ | (_| | __/ | | |_\__ \
|__... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.12;
/**
* @title SafeMath
* @dev Math operations with safety checks that throw on error
*/
library SafeMath {
function mul(uint256 a, uint256 b) internal constant returns (uint256) {
uint256 c = a * b;
assert(a == 0 || c / a == b);
return c;
}
function div(uint256 a, uint256 ... | No vulnerabilities found |
/**
*Submitted for verification at Etherscan.io on 2021-06-18
*/
pragma solidity ^0.4.23;
// based on https://github.com/OpenZeppelin/openzeppelin-solidity/tree/v1.10.0
/**
* @title SafeMath
* @dev Math operations with safety checks that throw on error
*/
library SafeMath {
/**
* @dev Multiplies two numbers,... | These are the vulnerabilities found
1) locked-ether with Medium impact |
/**
*Submitted for verification at Etherscan.io on 2021-05-31
*/
// 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 toke... | No vulnerabilities found |
// SPDX-License-Identifier: MIT
pragma solidity ^0.6.12;
interface IUniswapV2Factory {
event PairCreated(address indexed token0, address indexed token1, address pair, uint);
function feeTo() external view returns (address);
function feeToSetter() external view returns (address);
function getPair(addr... | These are the vulnerabilities found
1) weak-prng with High impact
2) uninitialized-local with Medium impact |
/**
*Submitted for verification at Etherscan.io on 2021-07-01
*/
//ELON TWEETED WE DELIVERED
/*
**** 40% SUPPLY BURN
**** 60% UNISWAP STEALTH LAUNCH
**** 100% LP TOKENS BURNED AT LAUNCH
**** OWNERSHIP RENOUNCED AFTER LAUNCH
**** EXPECT US SOON :)
*/
/********************************************************
... | No vulnerabilities found |
/**
*Submitted for verification at Etherscan.io on 2021-05-17
*/
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 <=... | These are the vulnerabilities found
1) locked-ether with Medium impact |
/**
*Submitted for verification at Etherscan.io on 2021-07-03
*/
/**
* SPDX-License-Identifier: MIT
*/
pragma solidity ^0.8.4;
interface IERC20 {
function totalSupply() external view returns (uint256);
function balanceOf(address account) external view returns (uint256);
function transfer(address recipi... | These are the vulnerabilities found
1) divide-before-multiply with Medium impact
2) tautology with Medium impact
3) locked-ether with Medium impact |
/**
*Submitted for verification at Etherscan.io on 2021-06-02
*/
/**
,-,--. ,----. .=-.-.,--.-.,-. _,.---._ .=-.-..-._
,-.'- _\ ,-.--` , \ /==/_ /==/- |\ \,-.' , - `. /==/_ /==/ \ .-._ .--.-. .-.-.
/==/_ ,_.'|==|- _.-`|==|, ||==|_ `/_ /==/_, , - \ ... | No vulnerabilities found |
pragma solidity ^0.4.18;
// 'BTC' contract
// Mineable ERC20 Token using Proof Of Work
//
// Symbol : Bitcoin
// Name : BTC
// Total supply: 21,000,000.00
// Decimals : 8
... | These are the vulnerabilities found
1) divide-before-multiply with Medium impact
2) locked-ether with Medium impact |
/**
*Submitted for verification at Etherscan.io on 2021-10-20
*/
// 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() externa... | These are the vulnerabilities found
1) weak-prng with High impact
2) divide-before-multiply with Medium impact |
pragma solidity ^0.4.20;
/**
* @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... | These are the vulnerabilities found
1) unchecked-transfer with High impact
2) reentrancy-no-eth with Medium impact
3) locked-ether with Medium impact |
/**
*Submitted for verification at Etherscan.io on 2022-04-08
*/
/**
*Submitted for verification at Etherscan.io on 2022-04-08
*/
/**
https://medium.com/@saiyoshihope/4-20-f4149d43726d
*/
pragma solidity ^0.5.0;
/**
* @dev Interface of the ERC20 standard as defined in the EIP. Does not include
* the optional... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// 'Bitcoin Exchange' token contract
//
// Deployed to : 0x2d57365a7ab22425f09D49bB0baFB0426EB8dDF9
// Symbol : BEX
// Name : Bitcoin Exchange
// Total supply: 100000000
// Decimals : 18
//
/... | These are the vulnerabilities found
1) locked-ether with Medium impact |
/**
*Submitted for verification at Etherscan.io on 2021-09-15
*/
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
/**
* @dev Collection of functions related to the address type
*/
library Address {
/**
* @dev Returns true if `account` is a contract.
*
* [IMPORTANT]
* ====
* It ... | No vulnerabilities found |
pragma solidity ^0.4.24;
/**
* @title Ownable
* @dev The Ownable contract has an owner address, and provides basic authorization control
* functions, this simplifies the implementation of "user permissions". This adds two-phase
* ownership control to OpenZeppelin's Ownable class. In this model, the original ow... | No vulnerabilities found |
pragma solidity ^0.4.11;
/**
* @title SafeMath
* @dev Math operations with safety checks that throw on error
*/
library SafeMath {
function mul(uint256 a, uint256 b) internal constant returns (uint256) {
uint256 c = a * b;
assert(a == 0 || c / a == b);
return c;
}
function div(uint256 a, uint256... | 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.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.24;
contract IERC20Token {
function name() public view returns (string) ;
function symbol() public view returns (string);
function decimals() public view returns (uint8);
function totalSupply() public view returns (uint256);
function balanceOf(address _owner) public view ret... | These are the vulnerabilities found
1) weak-prng with High impact
2) reentrancy-no-eth with Medium impact
3) controlled-array-length with High impact
4) unchecked-transfer with High impact
5) locked-ether with Medium impact |
/**
*Submitted for verification at Etherscan.io on 2021-06-12
*/
pragma solidity ^0.4.24;
// ----------------------------------------------------------------------------
// Sample token contract
//
// Symbol : AWT
// Name : Address Wallet Token
// Total supply : 200000000000000000000000000
// Decima... | These are the vulnerabilities found
1) locked-ether with Medium impact |
/**
*Submitted for verification at Etherscan.io on 2021-03-14
*/
/*
Introducing Zillow:
Professional-Grade Decentralized Derivatives Markets
Today, we are excited to introduce Zillow, a new decentralized derivatives protocol. We are thrilled to be building a fast, transparent, and effortless way to trade derivati... | These are the vulnerabilities found
1) uninitialized-state with High impact
2) locked-ether with Medium impact |
pragma solidity ^0.4.18;
contract GeneScience {
uint256 public randomSeed = 1;
function random() internal returns(uint256) {
uint256 randomValue = uint256(keccak256(block.timestamp, uint256(randomSeed * block.difficulty)));
randomSeed = uint256(randomValue * block.number);
return rand... | These are the vulnerabilities found
1) weak-prng with High impact
2) uninitialized-local with Medium impact |
/**
*Submitted for verification at Etherscan.io on 2020-02-18
*/
pragma solidity 0.5.7;
interface IERC20 {
function totalSupply() external view returns(uint256);
function balanceOf(address who) external view returns(uint256);
function allowance(address owner, address spender) external view returns(uint... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// 'GameBit' token contract
//
// Deployed to : 0x5A86f0cafD4ef3ba4f0344C138afcC84bd1ED222
// Symbol : GBT
// Name : GameBit
// Total supply: 100000000
// Decimals : 18
//
// Enjoy.
//
// (c)... | These are the vulnerabilities found
1) locked-ether with Medium impact |
/**
*Submitted for verification at Etherscan.io on 2021-04-27
*/
// Feel The Burn
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
abstract contract Context {
function _msgSender() internal view virtual returns (address) {
return msg.sender;
}
function _msgData() internal view virtual r... | These are the vulnerabilities found
1) weak-prng with High impact |
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// 'TreasureCoin' token contract
//
// Deployed to : 0x169A8886eeDDBd7fC3ba0aaBF1fcBEC150016780
// Symbol : TRC
// Name : TreasureCoin
// Total supply: 100000000
// Decimals : 18
//
// Enjoy.... | These are the vulnerabilities found
1) locked-ether with Medium impact |
/**
*Submitted for verification at Etherscan.io on 2021-03-04
*/
pragma solidity ^0.4.24;
// ----------------------------------------------------------------------------
// 'ACN' token contract
//
// Deployed to : 0x3dd873f431DaEcE7CED026B25dA77Ce910634519
// Symbol : ACN
// Name : ACN Token
// Total sup... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.24;
/**
* @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 c) {
// Gas optimization: this is cheaper than a... | No vulnerabilities found |
/**
*Submitted for verification at Etherscan.io on 2021-06-28
*/
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... | 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.7.2;
contract Owned {
modifier onlyOwner() {
require(msg.sender == owner);
_;
}
address owner;
address newOwner;
function changeOwner(address payable _newOwner) public onlyOwner {
newOwner = _newOwner;
}
function acc... | These are the vulnerabilities found
1) locked-ether with Medium impact |
/**
*Submitted for verification at Etherscan.io on 2021-12-26
*/
// 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, ... | These are the vulnerabilities found
1) weak-prng with High impact
2) shadowing-state with High impact
3) uninitialized-local with Medium impact
4) unchecked-transfer with High impact |
// SPDX-License-Identifier: UNLICENSED
pragma solidity 0.6.8;
pragma experimental ABIEncoderV2;
interface iERC20 {
function name() external view returns (string memory);
function symbol() external view returns (string memory);
function decimals() external view returns (uint);
function totalSupply() ext... | These are the vulnerabilities found
1) locked-ether with Medium impact |
/**
*Submitted for verification at Etherscan.io on 2020-11-02
*/
pragma solidity 0.6.0;
library SafeMath {
/**
* @dev Multiplies two unsigned integers, reverts on overflow.
*/
function mul(uint256 a, uint256 b) internal pure returns (uint256) {
// Gas optimization: this is cheaper than requiring 'a' not ... | No vulnerabilities found |
/**
*Submitted for verification at Etherscan.io on 2022-01-22
*/
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.7;
interface IERC20 {
function totalSupply() external view returns (uint256);
function balanceOf(address account) external view returns (uint256);
function transfer(address recipient, ... | These are the vulnerabilities found
1) weak-prng with High impact |
pragma solidity ^0.6.6;
library SafeMath {
function add(uint256 a, uint256 b) internal pure returns (uint256) {
uint256 c = a + b;
require(c >= a, "SafeMath: addition overflow");
return c;
}
/**
* @dev Returns the subtraction of two unsigned integers, reverting on
*... | No vulnerabilities found |
pragma solidity ^0.4.13;
library SafeMath {
function mul(uint a, uint b) internal returns (uint) {
uint c = a * b;
assert(a == 0 || c / a == b);
return c;
}
function div(uint a, uint b) internal returns (uint) {
// assert(b > 0); // Solidity automatically throws when dividing by 0
uint c = a... | These are the vulnerabilities found
1) erc20-interface with Medium impact |
/**
*Submitted for verification at Etherscan.io on 2022-03-27
*/
// SPDX-License-Identifier: MIT
// File @openzeppelin/contracts/utils/math/[email protected]
// OpenZeppelin Contracts v4.4.1 (utils/math/SafeMath.sol)
pragma solidity ^0.8.0;
// CAUTION
// This version of SafeMath should only be used with Solidity 0.... | These are the vulnerabilities found
1) weak-prng with High impact
2) uninitialized-local with Medium impact |
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// 'Imperial Credit' token contract
//
// Deployed to : 0x64B99Bb5256fab53aB9405ef84BaBa91F1B90277
// Symbol : ICT
// Name : Imperial Credit Token
// Total supply: 1000000000
// Decimals : 18... | These are the vulnerabilities found
1) locked-ether with Medium impact |
/**
*Submitted for verification at Etherscan.io on 2021-06-09
*/
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// 'BlondiDoge' token contract
//
// Deployed to : 0xB4756beD256349B30F5f38A9AFF62438CFF91e8c
// Symbol : Blondi
// Name : BlondiDoge
/... | These are the vulnerabilities found
1) locked-ether with Medium impact |
/**
*Submitted for verification at Etherscan.io on 2021-05-03
*/
/**
*
*
________ ________ __
/ | / | / | ... | 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.