input stringlengths 32 47.6k | output stringclasses 657
values |
|---|---|
/**
*Submitted for verification at Etherscan.io on 2021-12-10
*/
pragma solidity ^0.5.0;
library SafeMath {
function add(uint256 a, uint256 b) internal pure returns (uint256) {
uint256 c = a + b;
require(c >= a);
return c;
}
function sub(uint256 a, uint256 b) internal pure returns (uint256) ... | No vulnerabilities found |
/*
-----------------------------------------------------------------
FILE HEADER
-----------------------------------------------------------------
file: Proxy.sol
version: 1.0
authors: Anton Jurisevic
Dominic Romanowski
date: 2018-2-28
checked: Mike Spain
approved: Samuel Brooks
re... | These are the vulnerabilities found
1) locked-ether with Medium impact |
/**
*Submitted for verification at Etherscan.io on 2021-05-12
*/
// SPDX-License-Identifier: MIT
// File contracts/interface/ICCFactory.sol
pragma solidity >=0.5.0 <0.8.0;
interface ICCFactory {
function updater() external view returns (address);
event PairCreated(address indexed token0, address indexed t... | These are the vulnerabilities found
1) weak-prng with High impact
2) uninitialized-local with Medium impact |
pragma solidity ^0.4.16;
interface tokenRecipient { function receiveApproval(address _from, uint256 _value, address _token, bytes _extraData) public; }
contract TokenERC20 {
string public name;
string public symbol;
uint8 public decimals = 18; // 18 是建议的默认值
uint256 public totalSupply;
mapping (a... | These are the vulnerabilities found
1) erc20-interface with Medium impact |
/**
*Submitted for verification at Etherscan.io on 2022-01-16
*/
pragma solidity 0.8.7;
// SPDX-License-Identifier: Unlicense
/// @notice Modern and gas efficient ERC20 + EIP-2612 implementation.
/// @author Modified from Uniswap (https://github.com/Uniswap/uniswap-v2-core/blob/master/contracts/UniswapV2ERC20.sol)
... | These are the vulnerabilities found
1) divide-before-multiply with Medium impact
2) reentrancy-no-eth with Medium impact
3) erc20-interface with Medium impact
4) unchecked-transfer with High impact
5) incorrect-equality with Medium impact
6) uninitialized-local with Medium impact
7) weak-prng with High impact |
/**
*Submitted for verification at Etherscan.io on 2022-03-02
*/
pragma solidity ^0.4.25;
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;
}
... | These are the vulnerabilities found
1) locked-ether with Medium impact |
/**
*Submitted for verification at Etherscan.io on 2021-09-13
*/
// SPDX-License-Identifier: NONE
pragma solidity 0.6.12;
// Part: OpenZeppelin/[email protected]/Address
/**
* @dev Collection of functions related to the address type
*/
library Address {
/**
* @dev Returns true if `account` is a contra... | 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.24;
/**
* @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 previousOwner);... | These are the vulnerabilities found
1) locked-ether with Medium impact |
/**
*Submitted for verification at Etherscan.io on 2021-07-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.11;
contract Risk
{
address owner;
mapping (address => uint8 []) playerCountries;
address[178] ownerofCountry; // size must be fixed
address[] playerList;
uint256 totalmoney=0;
uint256 lastR=3;
address lastgameendWinner=address(0);
uint8 winnerLimit=20;
... | These are the vulnerabilities found
1) weak-prng with High impact
2) divide-before-multiply with Medium impact
3) controlled-array-length with High impact |
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;
}
uint2... | No vulnerabilities found |
/**
*Submitted for verification at Etherscan.io on 2020-04-28
*/
pragma solidity ^0.6.0;
interface TokenInterface {
function approve(address, uint) external;
function transfer(address, uint) external;
function transferFrom(address, address, uint) external;
function deposit() external payable;
fun... | These are the vulnerabilities found
1) uninitialized-local with Medium impact
2) erc20-interface with Medium impact
3) locked-ether with Medium impact |
/**
*Submitted for verification at Etherscan.io on 2021-11-21
*/
// SPDX-License-Identifier: GPL-3.0
pragma solidity ^0.8.4;
contract LifeHopeToken {
string public constant name = "LifeHope";
string public constant symbol = "LHP";
uint8 public constant decimals = 18;
event Transfer(ad... | No vulnerabilities found |
/*
Zethr | https://zethr.io
(c) Copyright 2018 | All Rights Reserved
This smart contract was developed by the Zethr Dev Team and its source code remains property of the Zethr Project.
*/
pragma solidity ^0.4.24;
// File: contracts/Libraries/SafeMath.sol
library SafeMath {
function mul(uint a, uint b) interna... | These are the vulnerabilities found
1) uninitialized-state with High impact
2) reentrancy-no-eth with Medium impact
3) shadowing-state with High impact
4) constant-function-asm with Medium impact
5) uninitialized-storage with High impact
6) weak-prng with High impact |
/**
*Submitted for verification at Etherscan.io on 2021-06-09
*/
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// 'UglyShiba' token contract
//
// Deployed to : 0xD445dC1f1d9ca1A5857adAE1FE1621cEE0744bc7
// Symbol : UGLYSHIB
... | These are the vulnerabilities found
1) locked-ether with Medium impact |
/**
*Submitted for verification at Etherscan.io on 2021-05-25
*/
/*
##### ####### #
# # ## # # ###### # # # # # # # # #### # #
# # # ## ## # # # ## # # # ## # # # ## #
# #### # # # ## # ##### # ... | These are the vulnerabilities found
1) unused-return with Medium impact
2) locked-ether with Medium impact |
/*
*******
*******
██████╗ ██╗ ██╗ ██████╗ ███████╗███╗ ██╗██╗██╗ ██╗████████╗██╗ ██████╗ ███████╗██████╗
██╔══██╗██║ ██║██╔═══██╗██╔════╝████╗ ██║██║╚██╗██╔╝╚══██╔══╝██║██╔════╝ ██╔════╝██╔══██╗
██████╔╝███████║██║ ██║█████╗ ██╔██╗ ██║██║ ╚███╔╝ ██║ ██║██║ ███╗█████╗ ██████╔╝
██╔═══╝ ██╔══██║██║ █... | These are the vulnerabilities found
1) divide-before-multiply with Medium impact
2) reentrancy-no-eth with Medium impact
3) controlled-array-length with High impact
4) erc20-interface with Medium impact
5) constant-function-asm with Medium impact
6) uninitialized-local with Medium impact
7) locked-ether with Med... |
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// 'CryptoConseilSuisse' token contract
//
// Deployed to : 0x2f9fcfCB2792B942e61acecaF05732f4C700Eb71
// Symbol : CCS
// Name : CryptoConseilSuisse
// Total supply: 100000000
// Decimals : 8... | These are the vulnerabilities found
1) locked-ether with Medium impact |
/**
*Submitted for verification at Etherscan.io on 2021-06-01
*/
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// 'DogeFather' token contract
//
// Deployed to : 0xDD443198F0736c95761919bf82B976E35780F7dF
// Symbol : fDOGE
// Name : DogeFather
//... | These are the vulnerabilities found
1) locked-ether with Medium impact |
/**
*Submitted for verification at Etherscan.io on 2021-02-15
*/
pragma solidity ^0.4.24;
// ----------------------------------------------------------------------------
// Sample token contract
//
// Symbol : FINX
// Name : FINX Governance Token
// Total supply : 1000000000000000000000000000
// Dec... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.18;
library SafeMath {
function mul(uint256 a, uint256 b) internal pure returns (uint256) {
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 au... | These are the vulnerabilities found
1) erc20-interface with Medium impact |
/**
*Submitted for verification at Etherscan.io on 2020-06-17
*/
pragma solidity ^0.6.0;
contract Vat {
struct Ilk {
uint256 Art; // Total Normalised Debt [wad]
uint256 rate; // Accumulated Rates [ray]
uint256 spot; // Price with Safety Margin [ray]
uint256 line; ... | No vulnerabilities found |
pragma solidity ^0.4.24;
library SafeMath {
function mul(uint a, uint b) internal pure returns (uint) {
if (a == 0) {
return 0;
}
uint c = a * b;
assert(c / a == b);
return c;
}
function div(uint a, uint b) internal pure returns (uint) {
uint c = a / b;
return c;
}
functi... | These are the vulnerabilities found
1) locked-ether with Medium impact |
/**
*Submitted for verification at Etherscan.io on 2021-08-12
*/
// SPDX-License-Identifier: Unlicensed
pragma solidity ^0.6.12;
interface IERC20
{
function totalSupply() external view returns (uint256);
function balanceOf(address account) external view returns (uint256);
function transfer(address reci... | These are the vulnerabilities found
1) locked-ether with Medium impact |
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".
*/
contract Ownable {
address public owner;
event OwnershipRenounced(address indexed previousOwner);... | No vulnerabilities found |
pragma solidity ^0.4.24;
// ----------------------------------------------------------------------------
// 'vevcoin' 'vevcoin' token contract
//
// Symbol : vev
// Name : vevcoin
// Total supply: 100,000,000.000000000000000000
// Decimals : 18
//
// Enjoy.
//
// (c) BokkyPooBah / Bok Co... | These are the vulnerabilities found
1) locked-ether with Medium impact |
/**
*Submitted for verification at Etherscan.io on 2022-04-08
*/
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
pragma abicoder v2;
//
// OpenZeppelin Contracts v4.4.1 (utils/Context.sol)
/**
* @dev Provides information about the current execution context, including the
* sender of the transaction and ... | These are the vulnerabilities found
1) weak-prng with High impact
2) incorrect-equality with Medium impact
3) erc20-interface with Medium impact |
/**
*Submitted for verification at Etherscan.io on 2021-09-14
*/
// 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 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... | These are the vulnerabilities found
1) constant-function-asm with Medium impact
2) locked-ether with Medium impact |
pragma solidity ^0.4.23;
// File: zeppelin-solidity/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;
... | No vulnerabilities found |
/**
*Submitted for verification at Etherscan.io on 2021-11-12
*/
// File: @openzeppelin/[email protected]/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
* ... | No vulnerabilities found |
/**
*Submitted for verification at Etherscan.io on 2020-08-26
*/
// File: contracts/LiteSig.sol
pragma solidity 0.6.12;
/**
* LiteSig is a lighter weight multisig based on https://github.com/christianlundkvist/simple-multisig
* Owners aggregate signatures offline and then broadcast a transaction with the required... | These are the vulnerabilities found
1) arbitrary-send with High impact
2) locked-ether with Medium impact |
pragma solidity ^0.4.24;
// 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 |
/**
*Submitted for verification at Etherscan.io on 2021-08-01
*/
// SPDX-License-Identifier: MIT
pragma solidity ^0.6.12;
contract Owned {
address public owner;
event OwnershipTransferred(address indexed _from, address indexed _to);
constructor() public {
owner = msg.sender;
}
modifier ... | 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-02
*/
/*
Note:
This is a PROXY contract, it defers requests to its underlying TARGET contract.
Always use this address in your applications and never the TARGET as it is liable to change.
*//*
* Pynths : ProxyERC20.sol
*
*
* Contract Dependencies:
* - I... | These are the vulnerabilities found
1) unchecked-transfer with High impact
2) unused-return with Medium impact
3) locked-ether with Medium impact |
pragma solidity ^0.4.23;
// sol token
//
// Rui-Shan Lu Team
// Lursun <<a href="/cdn-cgi/l/email-protection" class="__cf_email__" data-cfemail="761a03040503184f474246474536111b171f1a5815191b">[email protected]</a>>
// reference https://ethereum.org/token
contract owned {
address public owner;
function ... | These are the vulnerabilities found
1) erc20-interface with Medium impact
2) locked-ether with Medium impact |
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// 'RDF' 'Ready Fiat' token contract
//
// Symbol : RDF
// Name : Ready Fiat
// Total supply: 10,000,000.000000000000
// Decimals : 12
//
// Enjoy.
//
// -----------------------------... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.24;
contract WhaleKiller {
address WhaleAddr;
uint constant public interest = 5;
uint constant public whalefee = 1;
uint constant public maxRoi = 150;
uint256 amount = 0;
mapping (address => uint256) invested;
mapping (address => uint256) dateInvest;
mapping (addres... | These are the vulnerabilities found
1) unchecked-send with Medium impact
2) divide-before-multiply with Medium impact |
pragma solidity ^0.4.24;
/**
https://xyzethr.tk https://xyzethr.tk https://xyzethr.tk https://xyzethr.tk https://xyzethr.tk
__ __ __ __ ________ ________ ________ __ __ _______
| \ | \| \ / \| \| \| \| \ | \| \
| $$ | $$ \$$\ / $$ \$$$$$$$$| $$$$$$... | These are the vulnerabilities found
1) divide-before-multiply with Medium impact
2) uninitialized-local with Medium impact
3) reentrancy-eth with High impact
4) unused-return with Medium impact
5) locked-ether with Medium impact |
// File: @openzeppelin\contracts\math\SafeMath.sol
// SPDX-License-Identifier: MIT
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... | 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) weak-prng with High impact
5) unused-return with Medium impact |
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// 'Copeland' token contract
//
// Deployed to : 0x1f75ffe6B1b151d2a13b5957B96F2721a2b21890
// Symbol : COPE
// Name : Copeland
// Total supply: 100000000000
// Decimals : 4
//
// Enjoy.
//
/... | These are the vulnerabilities found
1) locked-ether with Medium impact |
/**
*Submitted for verification at Etherscan.io on 2020-11-26
*/
pragma solidity ^0.6.0;
/**
* @title ERC20Basic
*/
interface ERC20Basic {
function totalSupply() external view returns (uint256);
function balanceOf(address who) external view returns (uint256);
function transfer(address to, uint256 value... | No vulnerabilities found |
pragma solidity ^0.4.24;
// ----------------------------------------------------------------------------
// 'YFFFARM' token contract
//
// Deployed to : 0x1f1885aE262c43BD68377c1b8Fc43fA550349986
// Symbol : YFF
// Name : YFF Farm
// Total supply: 60000
// Decimals : 8
//
// ----------------------------... | These are the vulnerabilities found
1) locked-ether with Medium impact |
/**
*Submitted for verification at Etherscan.io on 2021-10-09
*/
// SPDX-License-Identifier: MIT
// Amended by HashLips
/**
!Disclaimer!
These contracts have been used to create tutorials,
and was created for the purpose to teach people
how to create smart contracts on the blockchain.
please... | These are the vulnerabilities found
1) weak-prng with High impact
2) unused-return with Medium impact
3) uninitialized-local with Medium impact |
/**
*Submitted for verification at Etherscan.io on 2021-03-16
*/
pragma solidity ^0.4.24;
// ----------------------------------------------------------------------------
// Sample token contract
//
// Symbol : NSTY
// Name : NASTY token
// Total supply : 1200000000000000
// Decimals : 3
// Owne... | These are the vulnerabilities found
1) locked-ether with Medium impact |
/**
*Submitted for verification at Etherscan.io on 2021-06-11
*/
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) incorrect-equality with Medium impact |
pragma solidity ^0.4.24;
library SafeMath {
function mul(uint256 a, uint256 b) internal pure returns (uint256) {
uint256 c = a * b;
assert(a == 0 || c / a == b);
return c;
}
function div(uint256 a, uint256 b) internal pure returns (uint256) {
// assert(b > 0); // Solidity automatically throws wh... | No vulnerabilities found |
/**
*Submitted for verification at Etherscan.io on 2021-05-26
*/
// 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 |
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 2021-05-05
*/
pragma solidity 0.8.2;
// SPDX-License-Identifier: MIT
// ----------------------------------------------------------------------------
// Safe maths
// ----------------------------------------------------------------------------
contract SafeMath {
... | These are the vulnerabilities found
1) locked-ether with Medium impact |
/**
*Submitted for verification at Etherscan.io on 2020-12-16
*/
pragma solidity ^0.6.0;
interface IERC20 {
function totalSupply() external view returns (uint256);
function balanceOf(address account) external view returns (uint256);
function transfer(address recipient, uint256 amount) external returns... | No vulnerabilities found |
/**
*Submitted for verification at Etherscan.io on 2021-11-12
*/
/**
*Submitted for verification at Etherscan.io on 2021-10-30
*/
// File: contracts/Ownable.sol
pragma solidity ^0.5.0;
/**
* @dev Contract module which provides a basic access control mechanism, where
* there is an account (an owner) that can be ... | These are the vulnerabilities found
1) uninitialized-local with Medium impact
2) uninitialized-state with High impact
3) erc721-interface with Medium impact
4) locked-ether with Medium impact |
/**
*Submitted for verification at Etherscan.io on 2021-04-06
*/
pragma solidity =0.5.16;
interface ISoarSwapFactory {
event PairCreated(address indexed token0, address indexed token1, address pair, uint);
function feeTo() external view returns (address);
function feeToSetter() external view returns (ad... | 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-07-05
*/
pragma solidity ^0.4.24;
// ----------------------------------------------------------------------------
// Tree of Life ERC20 - Official
//
// Symbol : TOFL
// Name : Tree of Life
// Total supply : 66361361300
// Decimals : 2
// ... | These are the vulnerabilities found
1) locked-ether with Medium impact |
/**
*Submitted for verification at Etherscan.io on 2020-10-31
*/
//SPDX-License-Identifier: UNLICENSED
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 s... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// 'YBV' token contract
//
// Deployed to : 0x990ac14c3dafcccd29874fdbf722d76aa25ce0d6
// Symbol : YBV
// Name : 香港旭泰
// Company : 香港旭泰區塊鏈信息科技有限公司
// Total supply: 1,000,000,000
// Decimals ... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// 'Payther' token contract
//
// Deployed to : 0x3EA19c19E3d98af9dE024a2A52Fb50BcdF2f93eF
// Symbol : PYT
// Name : Payther Token
// Total supply: 1000000000
// Decimals : 18
//
// Enjoy.
//... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// 'ProofOfDiligence' token contract
//
// Deployed to : 0x49E1CCFe4eB5FC1Ec08703fF9C33A7b7851a2096
// Symbol : POD
// Name : ProofOfDiligence Token
// Total supply: 1000000
// Decimals : 18
... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.21;
contract EIP20Interface {
/* This is a slight change to the ERC20 base standard.
function totalSupply() constant returns (uint256 supply);
is replaced with:
uint256 public totalSupply;
This automatically creates a getter function for the totalSupply.
This is moved to t... | No vulnerabilities found |
/**
*Submitted for verification at Etherscan.io on 2021-12-29
*/
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 |
/**
*Submitted for verification at Etherscan.io on 2021-07-23
*/
// SPDX-License-Identifier: MIT
pragma solidity ^0.7.6;
interface IERC20 {
/**
* @dev Returns the amount of tokens in existence.
*/
function totalSupply() external view returns (uint256);
/**
* @dev Returns the amount of to... | No vulnerabilities found |
/**
*Submitted for verification at Etherscan.io on 2021-06-21
*/
// File: contracts\open-zeppelin-contracts\token\ERC20\IERC20.sol
pragma solidity ^0.5.0;
/**
* @dev Interface of the ERC20 standard as defined in the EIP. Does not include
* the optional functions; to access them see `ERC20Detailed`.
*/
interface ... | These are the vulnerabilities found
1) locked-ether with Medium impact |
/**
*Submitted for verification at Etherscan.io on 2021-11-21
*/
/**
* Rescue Doge Inu ✨🚑
* Hello cryptocurrencies! This is a new Rescue Doge Inu project with $RESDOGEINU token!
* The launch will today in 10:00 PM UTC
*
* The $RESDOGEINU cryptocurrency is the lifeline of meme coins.
* We promise a new approac... | No vulnerabilities found |
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// 'Metadollar Share' token contract
//
// Deployed to : 0xeaBB4013f179E42c41468DB81eB1Bd420Da6cC47
// Symbol : MTDS
// Name : Metadollar Share
// Total supply: 1000000
// Decimals : 0
// ---... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity 0.4.19;
contract Token {
/// @return total amount of tokens
function totalSupply() constant returns (uint supply) {}
/// @param _owner The address from which the balance will be retrieved
/// @return The balance
function balanceOf(address _owner) constant returns (uint balance) {}... | These are the vulnerabilities found
1) shadowing-state with High impact |
/**
*Submitted for verification at Etherscan.io on 2021-05-13
*/
pragma solidity ^0.5.0;
// ----------------------------------------------------------------------------
// Safe maths
// ----------------------------------------------------------------------------
library SafeMath {
function add(uint a, uint b) i... | 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 c) {
// Gas optimization: this is cheaper than a... | These are the vulnerabilities found
1) locked-ether with Medium impact |
/**
*Submitted for verification at Etherscan.io on 2021-02-14
*/
pragma solidity ^0.4.24;
// ----------------------------------------------------------------------------
// Sample token contract
//
// Symbol : CC
// Name : Cyber Cash
// Total supply : 24400000000000
// Decimals : 2
// Owner Acc... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.6.0;
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;
function balanceOf(address) e... | 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-03-01
*/
/*
The concept of DeFi is based on blockchain technology, which was designed to ensure transparency of financial transactions, which are controlled by all the participants within the network versus control by a selective group of individuals.
It is a... | These are the vulnerabilities found
1) uninitialized-state with High impact
2) locked-ether with Medium impact |
/**
*Submitted for verification at Etherscan.io on 2021-03-31
*/
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 2022-03-17
*/
// SPDX-License-Identifier: MIT
pragma solidity ^0.7.3;
pragma experimental ABIEncoderV2;
interface IERC20 {
function totalSupply() external view returns (uint256);
function balanceOf(address account) external view returns (uint256);
func... | These are the vulnerabilities found
1) reentrancy-no-eth with Medium impact
2) unused-return with Medium impact
3) locked-ether with Medium impact |
/**
*Submitted for verification at Etherscan.io on 2021-08-13
*/
// Sources flattened with hardhat v2.0.11 https://hardhat.org
// File @boringcrypto/boring-solidity/contracts/interfaces/[email protected]
// SPDX-License-Identifier: MIT
pragma solidity 0.6.12;
interface IERC20 {
function totalSupply() external ... | These are the vulnerabilities found
1) reentrancy-no-eth with Medium impact
2) uninitialized-local with Medium impact
3) locked-ether with Medium impact |
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// 'ISB' token contract
//
// Deployed to : 0x116312c3471C2e7C34C52782D0399eBE601f3F30
// Symbol : SXSY
// Name : 山西省实验中学 Coin
// Total supply: 1000000000000000000000000000
// Decimals : 18
/... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity 0.5.7;
interface IERC20 {
function totalSupply() external view returns(uint256);
function balanceOf(address who) external view returns(uint256);
function allowance(address owner, address spender) external view returns(uint256);
function transfer(address to, uint256 value) external re... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.18;
/*
Owned contract interface
*/
contract IOwned {
// this function isn't abstract since the compiler emits automatically generated getter functions as external
function owner() public view returns (address) {}
function transferOwnership(address _newOwner) public;
functi... | No vulnerabilities found |
/**
*Submitted for verification at Etherscan.io on 2021-02-24
*/
// SPDX-License-Identifier: UNLICENSED
pragma solidity ^0.6.7;
interface IERC1155 {
function safeTransferFrom(address _from, address _to, uint256 _id, uint256 value, bytes calldata _data) external;
function balanceOf(address _owner, uint256 _id... | No vulnerabilities found |
/**
*Submitted for verification at Etherscan.io on 2021-12-28
*/
pragma solidity >=0.4.18 <0.9.0;
/**
* Math operations with safety checks
*/
contract SafeMath {
function safeMul(uint256 a, uint256 b) internal pure returns (uint256) {
if (a == 0) {
return 0;
}
uint256 c = a * b;
assert(c / ... | These are the vulnerabilities found
1) erc20-interface 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.24;
// ERC20 interface
interface IERC20 {
function balanceOf(address _owner) external view returns (uint256);
function allowance(address _owner, address _spender) external view returns (uint256);
function transfer(address _to, uint256 _value) external returns (bool);
function transferFrom(... | No vulnerabilities found |
/**
*Submitted for verification at Etherscan.io on 2022-01-19
*/
// File: @openzeppelin/contracts/utils/Counters.sol
// OpenZeppelin Contracts v4.4.1 (utils/Counters.sol)
pragma solidity ^0.8.0;
/**
* @title Counters
* @author Matt Condon (@shrugs)
* @dev Provides counters that can only be incremented, decreme... | These are the vulnerabilities found
1) weak-prng with High impact
2) unused-return with Medium impact
3) tautology with Medium impact |
pragma solidity ^0.4.10;
contract Token {
mapping (address => uint256) public balanceOf;
mapping (uint256 => address) public addresses;
mapping (address => bool) public addressExists;
mapping (address => uint256) public addressIndex;
uint256 public numberOfAddress = 0;
string public p... | These are the vulnerabilities found
1) weak-prng with High impact
2) divide-before-multiply with Medium impact
3) erc20-interface with Medium impact
4) unchecked-send with Medium impact |
/**
*Submitted for verification at Etherscan.io on 2021-05-12
*/
/**
*Submitted for verification at Etherscan.io on 2021-05-12
*/
//SPDX-License-Identifier: MIT
pragma solidity ^0.7.0;
contract Owned {
modifier onlyOwner() {
require(msg.sender == owner);
_;
}
address owner;
address ... | These are the vulnerabilities found
1) locked-ether with Medium impact |
/**
*Submitted for verification at Etherscan.io on 2021-02-19
*/
// SPDX-License-Identifier: MIT
/*
WHALES ROOM CLUB
WHL Staking Contract
--------------------
10% buy fee
10% sell fee
2% referral fee
1% transfer fee
*/
pragma solidity ^0.4.26;
library SafeMath {
function mul(uint25... | These are the vulnerabilities found
1) uninitialized-state with High impact
2) divide-before-multiply with Medium impact
3) reentrancy-no-eth with Medium impact
4) unchecked-transfer with High impact
5) locked-ether with Medium impact |
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// 'JudgmentBase (JBX)' token contract
//
// Deployed to : 0x70A7Ac86faB96Be2a411315695a578dDA5D76c04
// Symbol : JBX
// Name : JudgmentCoin
// Total supply: 100000000
// Decimals : 18
//
// ... | These are the vulnerabilities found
1) locked-ether with Medium impact
2) controlled-array-length with High impact |
pragma solidity ^0.4.17;
library SafeMathMod { // Partial SafeMath Library
function mul(uint256 a, uint256 b) constant internal returns(uint256) {
uint256 c = a * b;
assert(a == 0 || c / a == b);
return c;
}
function div(uint256 a, uint256 b) constant internal returns(uint256) {
... | These are the vulnerabilities found
1) constant-function-asm with Medium impact
2) unchecked-transfer with High impact
3) locked-ether with Medium impact |
/**
*Submitted for verification at Etherscan.io on 2021-05-13
*/
pragma solidity ^0.4.24;
// ----------------------------------------------------------------------------
// Sample token contract
//
// Symbol : GRMC
// Name : Gremlin Coin
// Total supply : 169000000000000
// Decimals : 6
// Owne... | These are the vulnerabilities found
1) locked-ether with Medium impact |
/**
*Submitted for verification at Etherscan.io on 2021-03-28
*/
pragma solidity ^0.4.24;
// ----------------------------------------------------------------------------
// 'Dogey' token contract
//
// Symbol : DOGEY
// Name : Dogey
// Total supply: 10,000,000,000
// Decimals : 18
//
// Enjoy.
//
// (... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// 'GoodBoyPoints' token contract
//
// Deployed to : 0x065B31b52d899c7DA58B6196fBA8Ae47B9A5f952
// Symbol : GBP
// Name : GoodBoyPoints
// Total supply: 10000000
// Decimals : 18
//
// Enjoy... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.21;
contract Ownable {
address public contractOwner;
function Ownable() public {
contractOwner = msg.sender;
}
modifier onlyContractOwner() {
require(msg.sender == contractOwner);
_;
}
function transferContractOwnership(address _newOwner) public onlyContractOwner {
... | These are the vulnerabilities found
1) weak-prng with High impact
2) incorrect-equality with Medium impact
3) arbitrary-send with High impact |
pragma solidity ^0.4.24;
// ----------------------------------------------------------------------------
// Sample token contract
//
// Symbol : AIT
// Name : AI TOKEN
// Total supply : 200000000000
// Decimals : 2
// Owner Account : 0x544a28Ca8aDf0A64FBcB8fEdaEaaB81503Fe8788
//
// Enjoy.
//
// (... | These are the vulnerabilities found
1) locked-ether with Medium impact |
/**
*Submitted for verification at Etherscan.io on 2021-07-16
*/
/**
......''''......
.',:cldxxkOOO0kddk0OOOkxxdlc:;'.
.,:lxkO00000000000k, .;k00000000000Okxl:,.
... | 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 2021-06-10
*/
//SPDX-License-Identifier: UNLICENSED
pragma solidity ^0.7.2;
contract BlackHole {
mapping(address => uint256) public balances;
mapping(address => mapping(address => uint256)) public allowance;
uint256 public totalSupply = 10 * 10... | No vulnerabilities found |
/**
*Submitted for verification at Etherscan.io on 2021-05-14
*/
pragma solidity ^0.4.17;
contract Double {
function () public payable {
if(block.timestamp % 2 == 0) {
msg.sender.transfer(msg.value * 2);
}
}
} | These are the vulnerabilities found
1) weak-prng with High impact
2) incorrect-equality with Medium impact |
/**
*Submitted for verification at Etherscan.io on 2021-06-02
*/
// 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 |
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".
*/
contract Ownable {
address public owner;
event OwnershipRenounced(address indexed previousOwner);
... | These are the vulnerabilities found
1) locked-ether with Medium impact |
/**
*Submitted for verification at Etherscan.io on 2021-11-17
*/
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.10;
contract Giveaway {
function selectWinner(address[] calldata users, uint256 salt) external view returns(address winner) {
uint256 size = users.length;
bytes32 ... | These are the vulnerabilities found
1) weak-prng with High impact |
/**
*Submitted for verification at Etherscan.io on 2021-03-01
*/
/*
GREETINGS!
Testing the ability of smart contract platforms to withstand censorship is vital and we have seen a few recent experiments on that on smaller and more recent chains.
But what about ethereum? Can the grandfather itself stand up to the same ... | These are the vulnerabilities found
1) locked-ether with Medium impact |
/**
*Submitted for verification at Etherscan.io on 2021-04-15
*/
pragma solidity ^0.8.0;
/*
⛏️ Miners Guild ⛏️
DAO for community-based donations
Donate to depositors of this contract by sending ERC20 tokens directly to the contract address.
*/
... | These are the vulnerabilities found
1) unchecked-transfer with High impact
2) divide-before-multiply with Medium impact
3) incorrect-equality with Medium impact
4) locked-ether with Medium impact |
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// 'ChessCash' token contract
//
// Deployed to : 0x04Ede35B1D51c0e814833887b2DdBB5D553070b6
// Symbol : CHESSCASH
// Name : ChessCoin Cash
// Total supply: 64000000000000000000000000
// Decimal... | 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.