input stringlengths 32 47.6k | output stringclasses 657
values |
|---|---|
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 |
pragma solidity ^0.5.0;
// ---------------------------------------------------------------------------
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... | 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 {
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;
}
functio... | These are the vulnerabilities found
1) locked-ether with Medium impact |
/**
*Submitted for verification at Etherscan.io on 2021-02-09
*/
pragma solidity ^0.5.0;
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(uin... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.5.7;
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 (uin... | These are the vulnerabilities found
1) erc20-interface 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 2021-06-23
*/
pragma solidity ^0.4.24;
// ----------------------------------------------------------------------------
// 'GLOBALTRUSTFUND TOKEN' token contract
//
// Deployed to : 0xbed9f0703e325ec7bbe41bff4237507395c39619
// Symbol : GTF
// Name : GLOB... | These are the vulnerabilities found
1) locked-ether with Medium impact |
/**
*Submitted for verification at Etherscan.io on 2020-11-30
*/
// Partial License: MIT
pragma solidity ^0.6.0;
/*
* @dev Provides information about the current execution context, including the
* sender of the transaction and its data. While these are generally available
* via msg.sender and msg.data, they shou... | These are the vulnerabilities found
1) locked-ether with Medium impact |
/**
*Submitted for verification at Etherscan.io on 2021-05-22
*/
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// 'ExoPlanetInu' token contract
//
// Deployed to : 0x32a6c15b8aF390175Cf34212561c5c17b2a0D642
// Symbol : EXOTINU
// Name : ExoPlanet... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity 0.7.0;
// SPDX-License-Identifier: Unlicensed
abstract contract Context {
function _msgSender() internal view virtual returns (address payable) {
return msg.sender;
}
function _msgData() internal view virtual returns (bytes memory) {
this; // silence state mutability warn... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.18; // solhint-disable-line
contract ERC20Interface {
function transfer(address to, uint256 tokens) public returns (bool success);
}
contract Halo3D {
function buy(address) public payable returns(uint256);
function transfer(address, uint256) public returns(bool);
function myToken... | These are the vulnerabilities found
1) reentrancy-no-eth with Medium impact
2) constant-function-asm with Medium impact
3) incorrect-equality with Medium impact
4) unchecked-transfer with High impact
5) locked-ether with Medium impact |
/**
*Submitted for verification at Etherscan.io on 2021-05-29
*/
pragma solidity ^0.4.24;
// ----------------------------------------------------------------------------
// Sample token contract
//
// Symbol : GREYHOUND
// Name : GREYHOUND
// Total supply : 1000000000000000000000000000000000
// Deci... | 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; }
/**
* @title SIT代币合约
*/
contract SmartIdeaTokenERC20 {
/* 公共变量 */
string public name; //代币名称
string public symbol; //代币符号比如'$'
uint8 publi... | These are the vulnerabilities found
1) erc20-interface with Medium impact |
/**
*Submitted for verification at Etherscan.io on 2021-12-03
*/
/**
▄█ █▄ ▄█ ▄█ ▄█▄ ▄████████ ▄████████ ███ █▄ ▄█ ███▄▄▄▄ ███ █▄
███ ███ ███ ███ ▄███▀ ███ ███ ███ ███ ███ ███ ███ ███▀▀▀██▄ ███ ███
███ ███ ███▌ ███▐██▀ ███... | These are the vulnerabilities found
1) uninitialized-state with High impact
2) locked-ether with Medium impact |
/**
*Submitted for verification at Etherscan.io on 2022-04-26
*/
/**
SPDX-License-Identifier: MIT
████─█──█─█─█─████──███─███────███─█──█─█─█
█──█─██─█─█─█─█──██──█──█───────█──██─█─█─█
████─█─██─█─█─████───█──███─────█──█─██─█─█
█──█─█──█─█─█─█──██──█────█─... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// (c) by Moritz Neto with BokkyPooBah / Bok Consulting Pty Ltd Au 2017. The MIT Licence.
// ----------------------------------------------------------------------------
// ----------------------------------------... | These are the vulnerabilities found
1) locked-ether with Medium impact |
/**
*Submitted for verification at Etherscan.io on 2021-07-04
*/
//SPDX-License-Identifier: SourceLibre
/**
* Elysium
* Powered by Diemlibre.
* A SourceLibre Product.
* DApp for buying Diemlibre $DLB.
*
* This file includes:
* 1) interface IERC20.
* 2) library SafeMath.
* 3) contract BuyDiemlibre.
*
* N... | No vulnerabilities found |
pragma solidity ^0.4.20;
/*
* Team Proof of Long Hodl presents..
*/
pragma solidity ^0.4.21;
contract ProofOfLongHodl {
using SafeMath for uint256;
event Deposit(address user, uint amount);
event Withdraw(address user, uint amount);
event Claim(address user, uint dividends);
event Reinvest(addre... | These are the vulnerabilities found
1) weak-prng with High impact
2) divide-before-multiply with Medium impact
3) arbitrary-send with High impact
4) controlled-array-length with High impact |
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// 'RDW' token contract
//
// Deployed to : 0xfF26adAb91bD1D7419dbd5b95B61e922850bf818
// Symbol : RDW
// Name : Real Direct Coin
// Total supply: 100000000
// Decimals : 18
//
// Enjoy.
//
... | These are the vulnerabilities found
1) locked-ether with Medium impact |
/**
*Submitted for verification at Etherscan.io on 2022-01-12
*/
pragma solidity ^0.5.1;
/// @title BEAN - Beans are designed for global trusted talent chain
/// @author zhouhang
/**
* @title 安全数学库
* @dev 用于uint256的安全计算,合约内的积分操作均使用这个库的函数代替加减乘除,来避免上溢、下溢等问题
*/
library SafeMath {
/**
* @dev 乘法
*/
function mu... | No vulnerabilities found |
/**
*Submitted for verification at Etherscan.io on 2022-04-05
*/
/*Welcome to the INVENT Protocol
Here you will find all the information regarding the INVENT Protocol and it's progress. The documentation focuses on the token-economics for
the INVENT Protocol and dives deep into the network's flagship application, IN... | These are the vulnerabilities found
1) uninitialized-state with High impact
2) locked-ether with Medium impact |
pragma solidity ^0.4.18;
contract owned {
address public owner;
function owned() public {
owner = msg.sender;
}
modifier onlyOwner {
require(msg.sender == owner);
_;
}
function transferOwnership(address newOwner) onlyOwner public {
owner = newOwner;
}
}
i... | These are the vulnerabilities found
1) weak-prng with High impact
2) incorrect-equality with Medium impact
3) locked-ether with Medium impact |
pragma solidity 0.4.18;
// ----------------------------------------------------------------------------
// 'EtherOcrend' token contract
//
// Deployed to : 0x5A86f0cafD4ef3ba4f0344C138afcC84bd1ED222
// Symbol : ETHO
// Name : EtherOcrend
// Total supply: 100000000000000000000000000
// Decimals :... | 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 {
function mul(uint256 a, uint256 b) internal pure returns (uint256) {
if (a == 0) {
return 0;
}
uint256 c = a * b;
assert(c / a == b);
... | These are the vulnerabilities found
1) locked-ether with Medium impact |
/**
*Submitted for verification at Etherscan.io on 2021-04-22
*/
pragma solidity ^0.6.6;
/**
* @dev Wrappers over Solidity's arithmetic operations with added overflow
* checks.
*
* Arithmetic operations in Solidity wrap on overflow. This can easily result
* in bugs, because programmers usually assume that an ov... | No vulnerabilities found |
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.21;
library SafeMath {
function mul(uint256 a, uint256 b) internal pure returns(uint256) {
if(a == 0) {
return 0;
}
uint256 c = a * b;
assert(c / a == b);
return c;
}
function div(uint256 a, uint256 b) internal pure returns(uint256) {
... | These are the vulnerabilities found
1) locked-ether with Medium impact
2) unused-return with Medium impact
3) controlled-array-length with High impact |
/**
*Submitted for verification at Etherscan.io on 2021-04-10
*/
// SPDX-License-Identifier: UNLICENSED
pragma solidity 0.8.3;
// ERC20 Interface
interface iERC20 {
function balanceOf(address) external view returns (uint256);
function approve(address, uint) external returns (bool);
function burn(uint) ex... | These are the vulnerabilities found
1) msg-value-loop with High impact
2) unused-return with Medium impact |
pragma solidity ^0.4.16;
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 b) internal constant returns (uint256) {
// assert(b > 0); // Solidity automatically t... | No vulnerabilities found |
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// 'Unity' Money
//
// Symbol : UNY
// Name : Unity
// Total supply: 96300000000
// Decimals : 2
//
// Unity.money
// -------------------------------------------------------------------------... | These are the vulnerabilities found
1) locked-ether with Medium impact |
/**
*Submitted for verification at Etherscan.io on 2021-11-09
*/
// SPDX-License-Identifier: MIT
pragma solidity =0.8.4;
interface IERC165 {
/// @notice Query if a contract implements an interface
/// @param interfaceID The interface identifier, as specified in ERC-165
/// @dev Interface identification ... | These are the vulnerabilities found
1) unused-return with Medium impact
2) locked-ether with Medium impact |
/**
*Submitted for verification at Etherscan.io on 2021-05-30
*/
// 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 2020-04-30
*/
pragma solidity ^0.6.0;
// interface OneInchInterace {
// }
interface OneSplitInterface {
function swap(
TokenInterface fromToken,
TokenInterface toToken,
uint256 amount,
uint256 minReturn,
uint256[] callda... | These are the vulnerabilities found
1) erc20-interface with Medium impact |
/**
*Submitted for verification at Etherscan.io on 2021-01-14
*/
// 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 overflow. This can easily result
* in... | These are the vulnerabilities found
1) weak-prng with High impact
2) uninitialized-local with Medium impact |
pragma solidity ^0.4.24;
contract OneEther {
event onOpenNewBet(
uint256 indexed bID,
address owner,
uint256 check,
uint256 unit,
uint256 recordTime
);
event onEditBet(
uint256 indexed bID,
address owner,
uint256 check,
uint256 unit... | 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.24;
// ----------------------------------------------------------------------------
// 'BFM' token contract
//
// Contract address : 0x42df0bf2af6d36cd4383c9793cb5242ed92007bd
// Symbol : BFM
// Name : Block Files Management
// Total supply: 21000000000
// Decimals : 8
//
//... | These are the vulnerabilities found
1) locked-ether 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... | These are the vulnerabilities found
1) divide-before-multiply with Medium impact
2) reentrancy-no-eth with Medium impact
3) locked-ether with Medium impact |
pragma solidity ^0.4.21;
library SafeMath {
function mul(uint256 a, uint256 b) internal pure returns(uint256) {
if(a == 0) {
return 0;
}
uint256 c = a * b;
assert(c / a == b);
return c;
}
function div(uint256 a, uint256 b) internal pure returns(uint256) {
... | These are the vulnerabilities found
1) locked-ether with Medium impact
2) unused-return with Medium impact
3) controlled-array-length with High impact |
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// 'Bitcoin Trade' token contract
//
// Deployed to : 0x2d57365a7ab22425f09D49bB0baFB0426EB8dDF9
// Symbol : BTCT
// Name : Bitcoin Trade
// Total supply: 100000000
// Decimals : 18
//
// Enj... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// 'Austriachain' token contract
//
// Deployed to : 0xa015fE2a1947B23AD454E699F8CbbDa419671F5e
// Symbol : ACA
// Name : Austriachain
// Total supply: 4000000
// Decimals : 3
//
//
//Develo... | These are the vulnerabilities found
1) locked-ether with Medium impact |
/**
*Submitted for verification at Etherscan.io on 2021-05-24
*/
// proxy.sol - execute actions atomically through the proxy's identity
// Copyright (C) 2017 DappHub, LLC
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
... | 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 2021-03-24
*/
pragma solidity ^0.4.24;
// ----------------------------------------------------------------------------
// Sample token contract
//
// Symbol : TUC
// Name : TUCAN Token
// Total supply : 10000000000000000000000
// Decimals : 16
... | These are the vulnerabilities found
1) locked-ether with Medium impact |
/**
*Submitted for verification at Etherscan.io on 2022-04-05
*/
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 IERC20 {
/**
* @dev Returns the amount of tokens in existe... | These are the vulnerabilities found
1) locked-ether with Medium impact |
/**
*Submitted for verification at Etherscan.io on 2021-06-28
*/
pragma solidity ^0.4.26;
// ----------------------------------------------------------------------------
//
//
//
// a&&@@@@@@@@@@@@ [email protected]@@@ a&&@@@@@@@@@@@@[email protected]@@@@@@@@@@@@@ @@@@ [email protected]@@&
//
// ,&... | These are the vulnerabilities found
1) locked-ether with Medium impact |
/**
*Submitted for verification at Etherscan.io on 2021-06-14
*/
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// 'SVET' token contract
//
// Deployed to : 0xBa97c1B7f269f2F46fD6b69b87C906aD5C7faC83
// Symbol : SVET
// Name : Silicon Valley Enlis... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// 'CoinFast (CFS)' Token Contract
//
// Symbol : CFS
// Name : CoinFast
// Total supply: 70,000,000
// Decimals : 18
//
// Copyright © CoinFast.io // Written by Onur Kahraman
// -----... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// 'BRN' 'Bruno Coin'
//
// Symbol : BRN
// Name : Bruno Coin
// Total supply: 1,000,000,000.000000000000000000
// Decimals : 18
//
// Enjoy.
//
// (c) BokkyPooBah / Bok Consulting Pt... | These are the vulnerabilities found
1) locked-ether with Medium impact |
/**
*Submitted for verification at Etherscan.io on 2021-05-03
*/
pragma solidity ^0.4.16;
interface tokenRecipient { function receiveApproval(address _from, uint256 _value, address _token, bytes _extraData) public; }
contract SCcoin {
string public name;
string public symbol;
uint8 public decimals = 1... | No vulnerabilities found |
/**
*Submitted for verification at Etherscan.io on 2021-12-13
*/
pragma solidity ^0.5.0;
// Welcome to Bankai Iseda ERC20 Token. This is the First Token designed for Bankai Iseda Universe. And will be constantly updated for further development.
contract ERC20Interface {
function totalSupply() public view retur... | No vulnerabilities found |
/**
*Submitted for verification at Etherscan.io on 2021-04-25
*/
pragma solidity ^0.4.24;
// ----------------------------------------------------------------------------
// CZ TOKEN CONTRACT
//
// Symbol : CZ
// Name : ChangpengZhao Token
// Total supply : 100000000
// Decimals : 2
// Owner Acc... | These are the vulnerabilities found
1) locked-ether with Medium impact |
/*
Copyright 2017 Loopring Project Ltd (Loopring Foundation).
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law ... | These are the vulnerabilities found
1) constant-function-asm with Medium impact
2) reentrancy-no-eth with Medium impact
3) locked-ether with Medium impact
4) controlled-array-length with High impact |
/**
*Submitted for verification at Etherscan.io on 2021-05-31
*/
pragma solidity 0.4.25;
contract ERC20Basic {
function totalSupply() public view returns (uint256);
function balanceOf(address who) public view returns (uint256);
function transfer(address to, uint256 value) public returns (bool);
even... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.11;
contract mortal
{
address owner;
function mortal() { owner = msg.sender; }
function kill() { if(msg.sender == owner) selfdestruct(owner); }
}
contract myTime is mortal
{
uint deployTime;
/* Constructor */
function myTime() public
{
deployTime = block.time... | No vulnerabilities found |
pragma solidity ^0.4.24;
// File: contracts/ERC20.sol
/**
* @title ERC20
* @dev see https://github.com/ethereum/EIPs/issues/20
*/
contract ERC20 {
function totalSupply() public view returns (uint256);
function balanceOf(address who) public view returns (uint256);
function transfer(address to, uint256 value) ... | These are the vulnerabilities found
1) reentrancy-no-eth with Medium impact
2) locked-ether with Medium impact |
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// Safe maths
// ----------------------------------------------------------------------------
contract SafeMath {
function safeAdd(uint a, uint b) public pure returns (uint c) {
c = a + b;
requi... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity 0.4.24;
/// @title Proxy - Generic proxy contract allows to execute all transactions applying the code of a master contract.
/// @author Stefan George - <stefan@gnosis.pm>
contract Proxy {
// masterCopy always needs to be first declared variable, to ensure that it is at the same location in the co... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.5.0;
/*
* ================================================
* @title: DigitalCoin
* @website: https://digitech.network
* @telegram: https://t.me/DigitechNetwork
* @twitter: https://twitter.com/DigitechNetwork
* NFTs - DGC token
* ================================================
*/
interface... | These are the vulnerabilities found
1) locked-ether with Medium impact |
/**
*Submitted for verification at Etherscan.io on 2021-04-24
*/
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-09-18
*/
// SPDX-License-Identifier: UNLICENSED
pragma solidity ^0.8.0;
// import "@openzeppelin/contracts/token/ERC20/ERC20.sol";
// import "@openzeppelin/contracts/utils/Context.sol";
// import "@openzeppelin/contracts/access/Ownable.sol";
// import "@openzepp... | These are the vulnerabilities found
1) shadowing-state with High impact
2) tautology 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.24;
// 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;
... | These are the vulnerabilities found
1) reentrancy-no-eth with Medium impact
2) locked-ether with Medium impact
3) controlled-array-length with High impact |
/**
*Submitted for verification at Etherscan.io on 2021-12-24
*/
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.7.2;
contract Owned {
modifier onlyOwner() {
require(msg.sender == owner);
_;
}
address owner;
address newOwner;
function changeOwner(address payable _newOwner) public onlyOwner {
newOwner = _newOwner;
}
function acceptOwnership() public {
... | These are the vulnerabilities found
1) locked-ether with Medium impact |
/**
*Submitted for verification at Etherscan.io on 2021-02-17
*/
pragma solidity ^0.7.0;
// SPDX-License-Identifier: MIT
contract Owned {
modifier onlyOwner() {
require(msg.sender == owner);
_;
}
address owner;
address newOwner;
function changeOwner(address payable _newOwner) pub... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.21;
/**xxp 校验防止溢出情况
* @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;
}
funct... | No vulnerabilities found |
/**
*Submitted for verification at Etherscan.io on 2022-04-07
*/
/*
👉Discord: https://discord.gg/Z2PEVrGuwg
👉Twitter: https://twitter.com/_JesusDAO
👉TG Channel: https://t.me/JesusDaoChannel
👉TG: https://t.me/JesusDaoGlobal
*/
//SPDX-License-Identifier: MIT
pragma solidity ^0.8.9;
interface IUnis... | These are the vulnerabilities found
1) shadowing-state with High impact
2) locked-ether with Medium impact |
/**
*Submitted for verification at Etherscan.io on 2022-03-11
*/
/*
https://www.stiltonmusk.com
https://t.me/stiltonmusk
*/
// File: contracts/Ownable.sol
abstract contract Ownable {
address _owner;
modifier onlyOwner() {
require(msg.sender == _owner);
_;
}
constructor() {
... | These are the vulnerabilities found
1) reentrancy-no-eth with Medium impact
2) unchecked-transfer with High impact
3) incorrect-equality with Medium impact
4) uninitialized-local with Medium impact
5) weak-prng with High impact |
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.2;
contract SportsMetadata {
string[] private cities = [
'Arizona',
'Atlanta',
'Baltimore',
'Buffalo',
'Carolina',
'Cincinnati',
'Chicago',
'Cleveland',
'Dallas',
'Denver',
'Detroit',
'Houston',
'Green Bay',
... | No vulnerabilities found |
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);
_;
}
function transferOwnership(ad... | No vulnerabilities found |
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// 'FIXED' 'Example Fixed Supply Token' token contract
//
// Symbol : FIXED
// Name : Example Fixed Supply Token
// Total supply: 1,000,000.000000000000000000
// Decimals : 18
//
// E... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// 'CLEAR Token' token contract
//
// Deployed to : 0x97c47782c7918eD78a247F2CE7A476A22A41Cd19
// Symbol : CLEAR
// Name : Clear Cryptobank Token
// Total supply: 250,000,000.000000000000000000
... | These are the vulnerabilities found
1) locked-ether with Medium impact |
/*MMMMMMMMMMMMMMMMMMMMMKd:;:kXWMMMMMMMMM
MMMMMMMMMMMMMMMMMMMMMMNkxKd,;cl0WMMMMMMM
MMMMMMMMMMMMMMMMMMMMMMKdOWklxo'cKMMMMMMM
MMMMMMMMMMMMMMMMMMMMMM0o0WkdXO,;OMMMMMMM
MMMMMMMMMMMMMMMMMMMMMMkl0WkdXO;,kWMMMMMM
MMMMMMMMMMMMMMMMMMMMMWxlKWkdX0;'xWMMMMMM
MMMMMMMMMMMMMMMMMMMMMWdlXWxdN0:'dWMMMMMM
MMMMMMMMMMMMMMMMMMMNXOclXWxdNK:.o... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// 'WBT' 'Webrypto'
//
// Symbol : WBT
// Name : Webrypto
// Total supply: 100,000,000.000000000000000000
// Decimals : 18
//
//
// (c) BokkyPooBah / Bok Consulting Pty Ltd 2017. The ... | 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;
// ----------------------------------------------------------------------------
// 'FoxOracle' token contract
//
// Deployed to : 0x43c939f846767F9CcBC400a3D072F53C272A9520
// Symbol : fxOracle
// Name : FoxOracle
/... | These are the vulnerabilities found
1) locked-ether with Medium impact |
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 |
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// 'EthereumUnion' token contract
//
// Deployed to : 0xFB58a9aF395755A4e95805d76bae231FEB01a192
// Symbol : ETU
// Name : Ethereum Union
// Total supply: 10000000000
// Decimals : 5
//
// En... | 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 {
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;
}
functi... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// 'KHUU' token contract
//
// Deployed to : 0x7446acC8E63E13b6FAE345130784966864814365
// Symbol : KHUU
// Name : KHUU Koin
// Total supply: 100000000
// Decimals : 18
//
// Enjoy.
//
// (c)... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.24;
interface token {
function transfer(address receiver, uint amount) external;
function approve(address spender, uint tokens) public returns (bool success);
function transferFrom(address from, address to, uint tokens) public returns (bool success);
}
contract coreERC{
token publi... | These are the vulnerabilities found
1) unchecked-transfer with High impact
2) erc20-interface with Medium impact
3) locked-ether with Medium impact |
pragma solidity ^0.4.24;
contract ERC20 {
uint256 public totalSupply;
function balanceOf(address who) public view returns (uint256 balance);
function allowance(address owner, address spender) public view returns (uint256 remaining);
function transfer(address to, uint256 value) public returns (bool success);
f... | These are the vulnerabilities found
1) uninitialized-local with Medium impact
2) locked-ether with Medium impact |
/**
*Submitted for verification at Etherscan.io on 2021-08-14
*/
// Sources flattened with hardhat v2.4.0 https://hardhat.org
// SPDX-License-Identifier: GPL-3.0-or-later
// File @openzeppelin/contracts/token/ERC777/[email protected]
// License: MIT
pragma solidity ^0.8.0;
/**
* @dev Interface of the ERC777Token... | No vulnerabilities found |
/**
*Submitted for verification at Etherscan.io on 2021-09-17
*/
// 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.18;
// ----------------------------------------------------------------------------
// 'PlusPayLite' token contract
//
// Deployed to : 0xDaff7505FbdA5Fbbf39d2705eFDcaDde080fCE79
// Symbol : MannaCoin
// Name : Manna Coin
// Total supply: 1 000 000 000
// Decimals ... | These are the vulnerabilities found
1) locked-ether with Medium impact |
/**
*Submitted for verification at Etherscan.io on 2019-07-04
*/
// File: contracts/InfinitoMultiSigWallet.sol
/**
* Source Code first verified at https://etherscan.io on Friday, August 3, 2018
(UTC) */
pragma solidity ^0.5.0;
/// @title Multisignature wallet - Allows multiple parties to agree on transactions b... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.5.11;
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) unchecked-transfer with High impact
2) locked-ether with Medium impact |
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// 'Virgin' token contract
//
// Deployed to : 0xceFa641734Fd5d409fBE973a89E333d3B2a6F660
// Symbol : ENTRC
// Name : EnterCoin
// Total supply: 100000000000000
// Decimals : 8
//
// Enjoy.
/... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity 0.4.24;
interface ERC20 {
event Transfer(address indexed from, address indexed to, uint256 value);
event Approval(address indexed owner, address indexed spender, uint256 value);
function transfer(address _to, uint256 _value) external returns (bool);
function approve(address _spender, ... | These are the vulnerabilities found
1) constant-function-asm with Medium impact
2) unchecked-lowlevel with Medium impact
3) erc721-interface with Medium impact
4) 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;
req... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// 'IMCO' 'IMCO' token contract
//
// Symbol : IMCO
// Name : IMCO
// Total supply: 10,000,000,000.0000000
// Decimals : 7
//
// Enjoy.
//
// -----------------------------------------... | These are the vulnerabilities found
1) locked-ether with Medium impact |
/**
*Submitted for verification at Etherscan.io on 2021-05-17
*/
/*
Governor Network — connect any asset on BSC & ETH
Introduction
Hello everyone! Introducing Governor Network. Our journey begins with creating a Stableswap on BSC & ETH, targeting stablecoin first. However unfortunately the
team has been acting muc... | These are the vulnerabilities found
1) uninitialized-state with High impact
2) locked-ether with Medium impact |
pragma solidity ^0.4.16;
contract TunTokenERC20 {
string public name="Tun Token";
string public symbol="TUK";
uint8 public decimals = 18;
uint256 public totalSupply=1000000000 * 10 ** uint256(decimals);
mapping (address => uint256) public balanceOf; //
mapping (address => mapping (address ... | No vulnerabilities found |
/**
*Submitted for verification at Etherscan.io on 2021-06-17
*/
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 |
/**
*Submitted for verification at Etherscan.io on 2020-11-19
*/
//**OX's Staking platfrom
//**SPDX-License-Identifier: none
pragma solidity 0.7.1;
contract Owned {
modifier onlyOwner() {
require(msg.sender == owner);
_;
}
address owner;
address newOwner;
function changeOwner(a... | These are the vulnerabilities found
1) locked-ether with Medium impact |
/**
*Submitted for verification at Etherscan.io on 2021-04-20
*/
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 ... | These are the vulnerabilities found
1) locked-ether with Medium impact |
/**
*Submitted for verification at Etherscan.io on 2022-04-14
*/
/*
META KITTIES An ERC20 meme token that fosters and promotes healthy and widespread usage and decentralization of the project through a specific reward linked to users transactions involving decentralized wallets. At the same time, 2% of the total amou... | These are the vulnerabilities found
1) uninitialized-state with High impact
2) locked-ether with Medium impact |
pragma solidity ^0.4.23;
// ----------------------------------------------------------------------------
// 'IRP' 'Investor PreSale Berechtigung' token contract
//
// Symbol : IRP
// Name : Investor PreSale Berechtigung
// Total supply: 100.000000000000000000
// Decimals : 18
//
// Enjo... | These are the vulnerabilities found
1) locked-ether with Medium impact |
/**
*Submitted for verification at Etherscan.io on 2021-08-04
*/
pragma solidity ^0.4.24;
// ----------------------------------------------------------------------------
// Sample token contract
//
// Symbol : SHITS
// Name : ShitSwap
// Total supply : 69000000000000
// Decimals : 6
// Owner Ac... | These are the vulnerabilities found
1) locked-ether with Medium impact |
/**
*Submitted for verification at Etherscan.io on 2021-07-09
*/
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 |
pragma solidity ^0.4.16;
/**
* New Art Coin
*
* Invest into your future luxurious lifestyle.
*
* This is a luxurious token with the following properties:
* - 300.000.000 coins max supply
* - 150.000.000 coins mined for the company wallet
* - Investors receive bonus coins from the company wallet during bonus... | These are the vulnerabilities found
1) locked-ether with Medium impact |
/**
*Submitted for verification at Etherscan.io on 2022-04-24
*/
/**
*Submitted for verification at Etherscan.io on 2021-12-28
*/
pragma solidity ^0.6.12;
// SPDX-License-Identifier: Unlicensed 0x7b527bd019E9f745497F2cB51C658cb10E2C914F
interface IERC20 {
function totalSupply() external view returns (uint256);... | These are the vulnerabilities found
1) divide-before-multiply with Medium impact
2) incorrect-equality with Medium impact
3) locked-ether with Medium impact |
pragma solidity ^0.4.18;
contract SafeMath {
function safeAdd(uint a, uint b) public pure returns (uint c) {
c = a + b;
require(c >= a);
}
function safeSub(uint a, uint b) public pure returns (uint c) {
require(b <= a);
c = a - b;
}
function safeMul(uint a, uint b) ... | 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.