input stringlengths 32 47.6k | output stringclasses 657
values |
|---|---|
/**
*Submitted for verification at Etherscan.io on 2021-04-28
*/
// File: @axie/contract-library/contracts/access/HasAdmin.sol
pragma solidity ^0.5.2;
contract HasAdmin {
event AdminChanged(address indexed _oldAdmin, address indexed _newAdmin);
event AdminRemoved(address indexed _oldAdmin);
address public a... | These are the vulnerabilities found
1) locked-ether with Medium impact
2) uninitialized-local with Medium impact
3) controlled-array-length with High impact |
/**
*Submitted for verification at Etherscan.io on 2021-12-21
*/
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) intern... | These are the vulnerabilities found
1) locked-ether with Medium impact |
/**
*Submitted for verification at Etherscan.io on 2021-11-28
*/
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.10;
/*
.
":"
___:____ |"\/"|
,' `. \ /
| O \___/ |
~^~^~^~^~^~^~^~^~^~^~^~^~
Whales Game | Generative Yield NFTs
Mint tokens and earn KRILL with this ne... | These are the vulnerabilities found
1) tx-origin with Medium impact
2) divide-before-multiply with Medium impact
3) reentrancy-no-eth with Medium impact
4) unchecked-transfer with High impact
5) incorrect-equality with Medium impact
6) weak-prng with High impact
7) unused-return with Medium impact |
/**
*Submitted for verification at Etherscan.io on 2021-05-21
*/
// 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... | These are the vulnerabilities found
1) locked-ether with Medium impact |
/**
*Submitted for verification at Etherscan.io on 2021-06-26
*/
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 2021-09-18
*/
pragma solidity ^0.8.0;
abstract contract Context {
function _msgSender() internal view virtual returns (address) {
return msg.sender;
}
function _msgData() internal view virtual returns (bytes calldata) {
return msg.data;
... | No vulnerabilities found |
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// 'ZEXCoin' token contract
//
// Deployed to : 0x62020f645e51dac4d6971ff9ed0ce6b07e608243
// Symbol : Zex
// Name : ZEXCoin
// Total supply: 10000000000
// Decimals : 2
//
// Enjoy.
//
// (c... | 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... | 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 |
/**
*Submitted for verification at Etherscan.io on 2021-12-09
*/
// SPDX-License-Identifier: GNU GPLv3
pragma solidity >=0.8.0;
library SafeMath {
/**
* @dev Returns the addition of two unsigned integers, reverting on
* overflow.
*
* Counterpart to Solidity's `+` operator.
*
* Requ... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// 'Agroeconomy' token contract
//
// Deployed to : 0x675840bf46C6D321BC319bDdd60fFD76e7C8b62c
// Symbol : AGRO
// Name : Agroeconomy Token
// Total supply: 1000000000
// Decimals : 18
//
// ... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity 0.4.21;
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);
_;
}
///////////// NEW OWNER FUNCTIONALITY
func... | No vulnerabilities found |
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 |
pragma solidity =0.6.12;
interface ITitanAutoSwap {
function swapForPair(address token0,address token1,uint amount0,uint deadline) external payable;
}
interface ITitanSwapV1Factory {
event PairCreated(address indexed token0, address indexed token1, address pair, uint);
function feeTo() extern... | These are the vulnerabilities found
1) unused-return with Medium impact
2) divide-before-multiply with Medium impact
3) uninitialized-local with Medium impact
4) locked-ether with Medium impact |
/**
*Submitted for verification at Etherscan.io on 2021-06-08
*/
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.11;
// Thanks to OpenZeppeline & TokenMarket for the awesome Libraries.
contract SafeMathLib {
function safeMul(uint a, uint b) returns (uint) {
uint c = a * b;
assert(a == 0 || c / a == b);
return c;
}
function safeSub(uint a, uint b) returns (uint) {
assert(b <= a);
ret... | These are the vulnerabilities found
1) uninitialized-state with High impact
2) reentrancy-no-eth with Medium impact
3) locked-ether with Medium impact |
pragma solidity ^0.4.24;
// Presenting One Token (1Token)
// A test of the power of rarity, the market and the ability of mere humans to transact with a very precise number of decimals
// Only one of these tokens will ever exist and it will be distributed and spread in parts
// It can be broken down into 18 decimals.
... | These are the vulnerabilities found
1) locked-ether with Medium impact |
/**
* .
* / \
* |.'.|
* |'.'|
* ,'| |`.
* |,-'-|-'-.|
* __|_| | _ _ _____ _
* | ___ \| | | | | | ___ \ | |
* | |_/ /|__ ___| | _____| |_ | |_/ /__ ___ | |
* | // _ \ / __| |/ / _ \ __| | __/ _ \ / _ \| |
*... | No vulnerabilities found |
pragma solidity ^0.4.24;
interface tokenRecipient { function receiveApproval(address _from, uint256 _value, address _token, bytes _extraData) external; }
contract DavinCoin {
// Public variables of the token
string public name;
string public symbol;
uint8 public decimals = 18;
// 18 decimals is th... | These are the vulnerabilities found
1) erc20-interface with Medium impact |
/**
*Submitted for verification at Etherscan.io on 2021-08-25
*/
// SPDX-License-Identifier: MIT
pragma solidity 0.8.6;
interface vote {
struct VoteData {
bool is_open;
bool is_executed;
uint start_date;
uint snapshot_block;
uint support_required;
uint min_accept_q... | No vulnerabilities found |
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// 'Mobilla' token contract
//
// Deployed to : 0xdb4ff87f187cd2560cfaae170a05d2024194df02
// Symbol : MBB
// Name : Mobilla
// Total supply: 100000000000000000000
// Decimals : 18
//
// Enjo... | These are the vulnerabilities found
1) locked-ether with Medium impact |
/**
*Submitted for verification at Etherscan.io on 2021-03-13
*/
// SPDX-License-Identifier: MIT
pragma solidity 0.8.0;
abstract contract Context {
function _msgSender() internal view returns (address payable) {
return payable(msg.sender);
}
function _msgData() internal view returns (bytes memor... | These are the vulnerabilities found
1) unchecked-transfer with High impact
2) reentrancy-no-eth with Medium impact
3) locked-ether with Medium impact |
pragma solidity ^0.4.18;
/**
* @title ERC20Basic
* @dev Simpler version of ERC20 interface
* @dev 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(ad... | No vulnerabilities found |
/**
*Submitted for verification at Etherscan.io on 2021-04-26
*/
pragma solidity ^0.4.24;
// `-::::.`
// :sdNNmmmmNmds: `-:///:-`
// /dNmmmmmmmmmmmmmm+` -sdmNmmmmmmmds:`
// `hNm... | These are the vulnerabilities found
1) locked-ether with Medium impact |
/**
*Submitted for verification at Etherscan.io on 2021-07-08
*/
/*
_/_/_/_/_/ _/ _/_/_/_/_/ _/ _/ ... | No vulnerabilities found |
pragma solidity ^0.4.24;
// ----------------------------------------------------------------------------
// 'YBET' token contract
//
// Deployed to : 0xB1938242E3E4192b48061dF00f44B07E4Cf35cD5
// Symbol : YBET
// Name : YBET.NETWORK
// Total supply: 2100000000000
// Decimals : 8
//
// Enjoy.
//
// -----... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.24;
contract ERC20Basic {
function totalSupply() public view returns (uint256);
function balanceOf(address who) public view returns (uint256);
function transfer(address to, uint256 value) public returns (bool);
event Transfer(address indexed from, address indexed to, uint256 value);
}
con... | These are the vulnerabilities found
1) locked-ether with Medium impact
2) shadowing-state with High impact
3) tautology with Medium impact
4) controlled-array-length with High impact |
/**
*Submitted for verification at Etherscan.io on 2021-06-10
*/
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// 'FitShibaInu' token contract
//
// Deployed to : 0x848A7ee620C44805c920A0F39818cAd9e32C21fF
// Symbol : FitInu💪
// Name : FitShibaI... | These are the vulnerabilities found
1) locked-ether with Medium impact |
/**
*Submitted for verification at Etherscan.io on 2021-04-26
*/
pragma solidity ^0.4.24;
// ----------------------------------------------------------------------------
// CZ TOKEN CONTRACT
//
// Symbol : LIUKANG
// Name : Liu Kang
// Total supply : 1000000000
// Decimals : 2
// --------------... | These are the vulnerabilities found
1) locked-ether with Medium impact |
/**
*Submitted for verification at Etherscan.io on 2021-06-04
*/
pragma solidity ^0.5.0;
// ----------------------------------------------------------------------------
// ERC Token Standard #20 Interface
//
// ----------------------------------------------------------------------------
contract ERC20Interface {
... | No vulnerabilities found |
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// 'ISB' token contract
//
// Deployed to : 0x116312c3471C2e7C34C52782D0399eBE601f3F30
// Symbol : ISB
// Name : ISB Token
// Total supply: 100000000
// Decimals : 9
//
// Enjoy.
//
// (c) by... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// 'Scandinavian E-Krona' token contract
//
// Deployed to : 0x08220b045BDC3d08ed341C0E5afF6D245f6eEBad
// Symbol : SEK
// Name : Scandinavian E-Krona
// Total supply: 100000000
// Decimals ... | These are the vulnerabilities found
1) locked-ether with Medium impact |
/**
*Submitted for verification at Etherscan.io on 2020-12-02
*/
// SPDX-License-Identifier: MIT
pragma solidity >=0.6.0 <0.8.0;
abstract contract Context {
function _msgSender() internal view virtual returns (address payable) {
return msg.sender;
}
function _msgData() internal view virtual ret... | No vulnerabilities found |
/**
*Submitted for verification at Etherscan.io on 2021-07-18
*/
pragma solidity ^0.4.18;
// ------------------------------------------------------------------------------------
// 'Alien Disclosure Project' Token Contract on Binance Smart Chain
//
// Contract Address : 0x1b099de317F4B1966a31AFdCBA58418aB4910634 [Pl... | These are the vulnerabilities found
1) locked-ether with Medium impact |
/**
*Submitted for verification at Etherscan.io on 2021-04-07
*/
pragma solidity ^0.5.0;
contract FilsToken {
string public name = "Fils Token";
string public symbol = "FILS";
uint256 public totalSupply;
event Transfer(address indexed _from, address indexed _to, uint256 _value);
event Approva... | No vulnerabilities found |
/**
*Submitted for verification at Etherscan.io on 2021-10-18
*/
// SPDX-License-Identifier: MIT
// Sources flattened with hardhat v2.0.11 https://hardhat.org
// File @boringcrypto/boring-solidity/contracts/libraries/[email protected]
pragma solidity 0.6.12;
// a library for performing overflow-safe math, updated wi... | 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) delegatecall-loop with High impact
5) unused-return with Medium impact |
// SPDX-License-Identifier: MIT
pragma solidity >=0.8.0;
contract Create2Factory {
address private constant owner = 0xfda123b830A46e7C235d2E383aA3536DDC7564A3;
function deploy(
bytes32 salt,
bytes memory initializationCode
) external payable {
require(owner == msg.sender);
assembly {
... | These are the vulnerabilities found
1) locked-ether with Medium impact |
/**
*Submitted for verification at Etherscan.io on 2020-12-16
*/
//SPDX-License-Identifier: MIT
pragma solidity 0.6.12;
// ----------------------------------------------------------------------------
// Safe maths
// ----------------------------------------------------------------------------
contract SafeMath {
... | These are the vulnerabilities found
1) write-after-write with Medium impact
2) divide-before-multiply with Medium impact
3) locked-ether with Medium impact |
/**
*Submitted for verification at Etherscan.io on 2021-06-14
*/
// 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 snowtrace.io on 2022-03-12
*/
// File @openzeppelin/contracts/token/ERC20/[email protected]
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (token/ERC20/IERC20.sol)
pragma solidity ^0.8.0;
/**
* @dev Interface of the ERC20 standard as defined in t... | These are the vulnerabilities found
1) unchecked-transfer with High impact
2) locked-ether with Medium impact |
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// 'Necroneum' token contract
//
// Deployed to : 0x5A86f0cafD4ef3ba4f0344C138afcC84bd1ED222
// Symbol : NECRO
// Name : NecroneumToken
// Total supply: 10000000.000000000000000000
// Decimals ... | These are the vulnerabilities found
1) locked-ether with Medium impact |
/**
*Submitted for verification at Etherscan.io on 2021-04-16
*/
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 <= ... | These are the vulnerabilities found
1) locked-ether with Medium impact |
/**
*Submitted for verification at Etherscan.io on 2020-07-04
*/
//Reserved for Uniswap Community Network
//Do not be fooled by other smart contract, this is the only authentic smart contract for $UCN
//All rights reserved 2020
pragma solidity ^0.6.0;
library SafeMath {
/**
* @dev Retu... | No vulnerabilities found |
/**
*Submitted for verification at Etherscan.io on 2022-03-31
*/
/*
KwonZilla - For the community by the community - No taxes
*/
// 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 exe... | These are the vulnerabilities found
1) shadowing-state with High impact
2) locked-ether with Medium impact |
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// 'EMJAC' token contract
//
// Deployed to : 0xf7d58Ed54556B8b4522BeCC4EA161D4A3DC9f6EF
// Symbol : EMJAC
// Name : EMJAC
// Total supply: 2500000000000
// Decimals : 4
//
// Enjoy.
//
// (c... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// 'SLUTZ' token contract
//
// Deployed to : 0x2a590BE07c6178c1A743C1ddD94ECA1cAfc97FA1
// Symbol : SLUTZ
// Name : SLUTZ Token
// Total supply: 250000000
// Decimals : 8
//
// Enjoy.
//
// ... | These are the vulnerabilities found
1) locked-ether with Medium impact |
/**
*Submitted for verification at Etherscan.io on 2021-02-06
*/
pragma solidity ^0.4.16;
contract owned {
address public owner;
function owned() public {
owner = msg.sender;
}
modifier onlyOwner {
require(msg.sender == owner);
_;
}
function transferOwnership(addres... | These are the vulnerabilities found
1) unchecked-send with Medium impact
2) erc20-interface with Medium impact |
/**
*Submitted for verification at Etherscan.io on 2021-02-08
*/
//• ▌ ▄ ·. ▄· ▄▌▄▄▄▄▄ ▄ .▄▪ ▄▄· ▄▄· ▄▄▄ ▄▄▄ .▄▄▄ . ▄▄▄·.▄▄ ·
//·██ ▐███▪▐█▪██▌•██ ██▪▐███ ▐█ ▌▪ ▐█ ▌▪▀▄ █·▀▄.▀·▀▄.▀·▐█ ▄█▐█ ▀.
//▐█ ▌▐▌▐█·▐█▌▐█▪ ▐█.▪██▀▐█▐█·██ ▄▄ ██ ▄▄▐▀▀▄ ▐▀▀▪▄▐▀▀▪▄ ██▀·▄▀▀▀█▄
//██ ██▌▐█▌ ▐█▀·. ▐█▌·██▌▐▀▐█▌▐███▌ ▐... | These are the vulnerabilities found
1) weak-prng with High impact
2) divide-before-multiply with Medium impact
3) tautology with Medium impact
4) incorrect-equality with Medium impact
5) unchecked-transfer with High impact
6) controlled-array-length with High impact |
/**
*Submitted for verification at Etherscan.io on 2021-04-27
*/
// Sources flattened with hardhat v2.0.3 https://hardhat.org
// File deps/@openzeppelin/contracts-upgradeable/utils/EnumerableSetUpgradeable.sol
// SPDX-License-Identifier: MIT
pragma solidity 0.6.12;
/**
* @dev Library for managing
* https://en.w... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// 'YANG' token contract
//
// Deployed to : 0x25D769a1b3bcAF7216b0cea17C056130fe1720cf
// Symbol : YNN
// Name : YANG
// Total supply: 25000000000000000000000000000
// Decimals : 18
//
// En... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// 'Enterprise' token contract
//
// Deployed to : 0xFe905C1CC0395240317F4e5A6ff22823f9B1DD3c
// Symbol : ENT
// Name : Enterprise
// Total supply: 2100000000000000000000000000
// Decimals : ... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// 'HRT' token contract
//
// Deployed to : 0x196D80D725d3F90246d7a44086bb2B883D8b0c84
// Symbol : HRT
// Name : HIRO TOKEN
// Total supply: 22222222222
// Decimals : 0
//
// Enjoy.
//
// (c)... | These are the vulnerabilities found
1) locked-ether with Medium impact |
/**
*Submitted for verification at Etherscan.io on 2021-06-01
*/
/**
*Submitted for verification at Etherscan.io on 2021-05-31
*/
// SPDX-License-Identifier: Unlicensed
pragma solidity >=0.6.2;
abstract contract Context {
function _msgSender() internal view virtual returns (address payable) {
return ms... | No vulnerabilities found |
/**
*Submitted for verification at Etherscan.io on 2022-04-17
*/
// SPDX-License-Identifier: MIT
/*
____ _ ____
/ ___(_) __ _ __ _| _ \ __ ___ _____ _ __
| | _| |/ _` |/ _` | |_) / _` \ \ / / _ \ '_ \
| |_| | | (_| | (_| | _ < (_| |\ V / __/ | | |
\____|_|\__, |... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity 0.4.20;
contract IAugur {
function createChildUniverse(bytes32 _parentPayoutDistributionHash, uint256[] _parentPayoutNumerators, bool _parentInvalid) public returns (IUniverse);
function isKnownUniverse(IUniverse _universe) public view returns (bool);
function trustedTransfer(ERC20 _token, ... | These are the vulnerabilities found
1) incorrect-equality with Medium impact
2) unused-return with Medium impact
3) locked-ether with Medium impact |
/**
*Submitted for verification at Etherscan.io on 2021-04-03
*/
pragma solidity ^0.8.3;
// 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 2021-06-28
*/
pragma solidity ^0.5.0;
library SafeMath {
function add(uint256 a, uint256 b) internal pure returns (uint256) {
uint256 c = a + b;
require(c >= a, "SafeMath: addition overflow");
return c;
}
function sub(uint256 ... | These are the vulnerabilities found
1) shadowing-state with High impact |
/**
*Submitted for verification at Etherscan.io on 2021-05-16
*/
// 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-05-29
*/
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 a... | No vulnerabilities found |
/**
*Submitted for verification at Etherscan.io on 2021-08-23
*/
pragma solidity ^0.5.0;
/**
* @title Proxy
* @dev Gives the possibility to delegate any call to a foreign implementation.
*/
contract Proxy {
/**
* @dev Fallback function allowing to perform a delegatecall to the given implementation.
*... | These are the vulnerabilities found
1) locked-ether with Medium impact |
/**
*Submitted for verification at Etherscan.io on 2021-11-04
*/
/**
*Submitted for verification at Etherscan.io on
*/
//SPDX-License-Identifier: UNLICENSED
/*
___ ____ _ ______ ___ ______ _____ _____ _____ ____ _____ _____ _____
|_ ||_ _| / \ |_ _ \ .' `. .'... | No vulnerabilities found |
pragma solidity ^0.4.21;
/** ----------------------------------------------------------------------------
* 'CL+' 'CITYLIFE PLUS Token' token contract
*
* Symbol : CL+
* Name : CITYLIFE PLUS Token
* Total supply: 1,000,000,000.000000000000000
* Decimals : 18
*
*
* ... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.24;
library SafeMath {
function mul(uint256 a, uint256 b) internal pure returns (uint256 c) {
if (a == 0) {
return 0;
}
c = a * b;
assert(c / a == b);
return c;
}
function div(uint256 a, uint256 b) internal pure returns (uint256) {
return a / b;
}
functio... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^ 0.4.17;
library SafeMath {
function mul(uint a, uint b) internal pure returns(uint) {
uint c = a * b;
assert(a == 0 || c / a == b);
return c;
}
function sub(uint a, uint b) internal pure returns(uint) {
assert(b <= a);
return a - b;
}
f... | These are the vulnerabilities found
1) uninitialized-state with High impact
2) shadowing-abstract with Medium impact
3) locked-ether with Medium impact |
pragma solidity ^0.4.21;
// The Original All For 1 - www.allfor1.io
// https://www.twitter.com/allfor1_io
contract AllForOne {
event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);
mapping (address => uint) private playerKey;
mapping (address => uint) public playerCoun... | These are the vulnerabilities found
1) weak-prng 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... | 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 2022-03-25
*/
pragma solidity ^0.4.26;
contract SafeMath {
function safeAdd(uint256 a, uint256 b) public pure returns (uint256 c) {
c = a + b;
require(c >= a);
}
function safeSub(uint256 a, uint256 b) public pure returns (uint256 c) {
... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.13;
/// @title SafeMath contract - math operations with safety checks
contract SafeMath {
function safeMul(uint a, uint b) internal returns (uint) {
uint c = a * b;
assert(a == 0 || c / a == b);
return c;
}
function safeDiv(uint a, uint b) internal returns (uint) {
assert(... | 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-05-29
*/
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// 'Polyshiba' token contract
//
// Deployed to : 0x19B75A94Da9cfd70A6aB33d022f6a64E3CA3e7b0
// Symbol : PLYSHIB
// Name : Polyshiba
//... | These are the vulnerabilities found
1) locked-ether with Medium impact |
/**
*Submitted for verification at Etherscan.io on 2021-02-10
*/
/**
*Submitted for verification at Etherscan.io on 2020-09-30
*/
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(u... | These are the vulnerabilities found
1) locked-ether with Medium impact |
/**
*Submitted for verification at Etherscan.io on 2021-02-23
*/
/**
*Submitted for verification at Etherscan.io on 2021-02-23
*/
//SPDX-License-Identifier: UNLICENSED
pragma solidity ^0.7.6;
interface IERC20 {
function totalSupply() external view returns (uint);
function balanceOf(address account) extern... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.21;
// ----------------------------------------------------------------------------
// 'PoWEth Token' contract
// Mineable ERC20 Token using Proof Of Work
//
// Symbol : PoWEth
// Name : PoWEth Token
// Total supply: 100,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-03
*/
// SPDX-License-Identifier: MIT
pragma solidity ^0.7.0;
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 |
/**
*Submitted for verification at Etherscan.io on 2021-05-27
*/
// 项目方:个人
// 开发者:合约-zero,前端-师狮
// 目的:无,个人爱好,顺带收点手续费
pragma solidity ^0.4.26;
contract ERC20Basic {
function balanceOf(address who) public constant returns (uint256);
function transfer(address to, uint256 value) public returns (bool);
}
contract... | These are the vulnerabilities found
1) unchecked-transfer with High impact
2) divide-before-multiply with Medium impact
3) locked-ether with Medium impact |
pragma solidity 0.4.24;
/*
Capital Technologies & Research - Capital GAS (CALLG)
*/
/**
* @title ERC20Basic
* @dev Simpler version of ERC20 interface
* @dev see https://github.com/ethereum/EIPs/issues/179
*/
contract ERC20Basic {
function totalSupply() public view returns (uint256);
function balanceOf(address ... | No vulnerabilities found |
/**
*Submitted for verification at Etherscan.io on 2021-08-06
*/
// SPDX-License-Identifier: GPL-2.0
pragma solidity =0.7.6;
library TransferHelper {
function safeApprove(address token, address to, uint value) internal {
// bytes4(keccak256(bytes('approve(address,uint256)')));
(bool success, byte... | No vulnerabilities found |
/**
*Submitted for verification at Etherscan.io on 2021-07-09
*/
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 |
// File: contracts/Ownable.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.6.0;
contract Ownable {
address public owner;
event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);
constructor() public {
owner = msg.sender;
}
modifier onlyOwner() {
... | These are the vulnerabilities found
1) weak-prng with High impact |
/**
*Submitted for verification at Etherscan.io on 2020-12-06
*/
// Sources flattened with hardhat v2.0.3 https://hardhat.org
// File @openzeppelin/contracts/token/ERC20/[email protected]
// SPDX-License-Identifier: MIT
pragma solidity >=0.6.0 <0.8.0;
/**
* @dev Interface of the ERC20 standard as defined in the ... | No vulnerabilities found |
/**
*Submitted for verification at Etherscan.io on 2021-04-05
*/
pragma solidity ^0.4.24;
// File: zos-lib/contracts/upgradeability/Proxy.sol
/**
* @title Proxy
* @dev Implements delegation of calls to other contracts, with proper
* forwarding of return values and bubbling of failures.
* It defines a fallback f... | These are the vulnerabilities found
1) constant-function-asm with Medium impact
2) locked-ether with Medium impact |
/**
*Submitted for verification at Etherscan.io on 2021-02-27
*/
pragma solidity ^0.4.24;
// ----------------------------------------------------------------------------
// Sample token contract
//
// Symbol : GSMC
// Name : gsmcoin.com
// Total supply : 210000000000000000000
// Decimals : 8
//... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.18;
/**
* @title SafeMath
* @dev Math operations with safety checks that throw on error
*/
library SafeMath {
function mul(uint256 a, uint256 b) internal pure returns (uint256) {
uint256 c = a * b;
assert(a == 0 || c / a == b);
return c;
}
function div(uint256 ... | These are the vulnerabilities found
1) tautology 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 |
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// 'dCHF test' token contract
//
// Deployed to : 0x0000F70bC78af03f14132c68b59153E4788bAb20 on march 20th 2018 somewhere after Block 5291580
// Symbol : dCH
// Name : private digitale Schweize... | These are the vulnerabilities found
1) locked-ether with Medium impact |
/**
*Submitted for verification at Etherscan.io on 2021-08-03
*/
// SPDX-License-Identifier: MIXED
// File contracts/libraries/SafeMath.sol
// License-Identifier: MIT
pragma solidity 0.6.12;
// a library for performing overflow-safe math, updated with awesomeness from of DappHub (https://github.com/dapphub/ds-math)
... | These are the vulnerabilities found
1) uninitialized-local with Medium impact
2) unused-return with Medium impact
3) delegatecall-loop with High 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 |
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
contract FeeDistributor {
uint256 public immutable share1 = 99;
uint256 public immutable share2 = 1;
uint256 public totalDistributed1;
uint256 public totalDistributed2;
address public immutable address1 = 0xe0F7204f04b060715f858Ba8Ae357f57... | These are the vulnerabilities found
1) write-after-write with Medium impact |
pragma solidity ^0.4.24;
contract ERC20Basic {
function totalSupply() public view returns (uint256);
function balanceOf(address who) public view returns (uint256);
function transfer(address to, uint256 value) public returns (bool);
event Transfer(address indexed from, address indexed to, uint256 value);
}
/**... | These are the vulnerabilities found
1) locked-ether with Medium impact |
/**
*Submitted for verification at Etherscan.io on 2021-04-24
*/
/**
*Submitted for verification at Etherscan.io on 2021-04-24
*/
pragma solidity >=0.5.17;
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) inte... | No vulnerabilities found |
/**
*Submitted for verification at Etherscan.io on 2021-10-30
*/
// 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 |
pragma solidity 0.4.24;
contract SafeMath {
function safeAdd(uint a, uint b) public pure returns (uint c) {
c = a + b;
require(c >= a);
}
function safeSub(uint a, uint b) public pure returns (uint c) {
require(b <= a);
c = a - b;
}
function safeMul(uint a, uint b) pu... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.23;
contract Owned {
event OwnerChanged(address indexed from, address indexed to);
address public owner;
constructor() public {
owner = msg.sender;
}
modifier onlyOwner {
require(msg.sender == owner);
_;
}
function _transferOwnership(address... | These are the vulnerabilities found
1) weak-prng with High impact |
/**
*Submitted for verification at Etherscan.io on 2021-12-06
*/
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
interface HexlantToken {
function initialize(
address _owner,
string memory _name,
string memory _symbol,
uint8 _decimals,
uint256 _supply
) external;
}
abstract contract ... | No vulnerabilities found |
/**
*Submitted for verification at Etherscan.io on 2021-06-10
*/
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// 'NarcoDoge' token contract
//
// Deployed to : 0x0e435005e5aa7B5bF01e6FC931376C89f70956D7
// Symbol : NARCO
// Name : NarcoDoge
// T... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.18;
contract Ownable {
address public owner;
event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);
function Ownable() public {
owner = msg.sender;
}
modifier onlyOwner() {
require(msg.sender == owner);
_;
}
function transferOwnership(ad... | No vulnerabilities found |
pragma solidity ^0.4.18;
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) {
uint256 c = a / b;
... | These are the vulnerabilities found
1) locked-ether with Medium impact |
/**
*Submitted for verification at Etherscan.io on 2021-09-13
*/
pragma solidity ^0.4.19;
contract ADM312 {
address public COO;
address public CTO;
address public CFO;
address private coreAddress;
address public logicAddress;
address public superAddress;
modifier onlyAdmin() {
require(msg.sender ... | 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.17;
contract Base {
// Use safe math additions for extra security
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) ... | These are the vulnerabilities found
1) unchecked-send 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.18;
// ----------------------------------------------------------------------------
// 'CCECOIN' token contract
//
// Deployed to :0xeE0fE0037C11685025d07864781338fbbb2e3159
// Symbol : CCE
// Name : CCECOIN
// Total supply: 1000000000
// Decimals : 18
//
// Enjoy.
//
// (c)... | These are the vulnerabilities found
1) locked-ether with Medium impact |
/**
*Submitted for verification at Etherscan.io on 2021-05-18
*/
pragma solidity ^0.4.24;
// ----------------------------------------------------------------------------
// 'Snake Egg' token contract
//
// Deployed to : 0xa8B89AC251371380352C9266f432d8De723bdd1D
// Symbol : SEXY
// Name : Snake Egg
// To... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.24;
// Zethr Token Bankroll interface
contract ZethrTokenBankroll{
// Game request token transfer to player
function gameRequestTokens(address target, uint tokens) public;
}
// Zether Main Bankroll interface
contract ZethrMainBankroll{
function gameGetTokenBankrollList() public view ... | These are the vulnerabilities found
1) uninitialized-state with High impact
2) weak-prng with High impact
3) reentrancy-no-eth with Medium impact
4) uninitialized-local with Medium impact |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.