input stringlengths 32 47.6k | output stringclasses 657
values |
|---|---|
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) {
uint256 c = a * b;
assert(a == 0 || c / a == b);
return c;
}
function div(uint256 a, uint256 b) i... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.16;
contract SafeMath {
function safeMul(uint a, uint b) internal returns (uint) {
uint c = a * b;
assert(a == 0 || c / a == b);
return c;
}
function safeSub(uint a, uint b) internal returns (uint) {
assert(b <= a);
return a - b;
... | These are the vulnerabilities found
1) unchecked-transfer with High impact
2) reentrancy-no-eth with Medium impact
3) tautology with Medium impact
4) locked-ether with Medium impact |
/**
*Submitted for verification at Etherscan.io on 2021-07-01
*/
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 |
/**
*Submitted for verification at Etherscan.io on 2021-07-04
*/
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 |
/**
*Submitted for verification at Etherscan.io on 2021-05-27
*/
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 (uint25... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.23;
// File: contracts/Owned.sol
// ----------------------------------------------------------------------------
// Ownership functionality for authorization controls and user permissions
// ----------------------------------------------------------------------------
contract Owned {
address ... | These are the vulnerabilities found
1) locked-ether with Medium impact |
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.3;
contract TestSC {
string private mes;
function set(string memory _mes) public {
mes = _mes;
}
function get() public view returns (string memory) {
return mes;
}
} | No vulnerabilities found |
/**
*Submitted for verification at Etherscan.io on 2021-07-24
*/
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-01-06
*/
// File: @openzeppelin/contracts/utils/Counters.sol
// SPDX-License-Identifier: GPL-3.0
pragma solidity ^0.8.0;
/**
* @title Counters
* @author Matt Condon (@shrugs)
* @dev Provides counters that can only be incremented, decremented or reset. Thi... | These are the vulnerabilities found
1) unused-return with Medium impact
2) locked-ether with Medium impact |
// SPDX-License-Identifier: MIT
/*
MIT License
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, d... | No vulnerabilities found |
pragma solidity ^0.5.16;
interface IERC20 {
/**
* @dev Returns the amount of tokens in existence.
*/
function totalSupply() external view returns (uint256);
/**
* @dev Returns the amount of tokens owned by `account`.
*/
function balanceOf(address account) external view returns (uin... | These are the vulnerabilities found
1) locked-ether with Medium impact |
/**
*Submitted for verification at Etherscan.io on 2021-12-06
*/
// SPDX-License-Identifier: MIT
/*
Mew Inu $MEW ERC-20 Token
twitter.com/mewinuofficial
t.me/MewInuOfficial
*/
pragma solidity ^0.6.12;
/**
* @dev Interface of the ERC20 standard as defined in the EIP.
*/
interface IERC20 {
/**
* @dev Ret... | 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-09-19
*/
pragma solidity ^0.6.6;
/*
🔗 Solster LINKS
🖥 Website: https://solster.finance
💬 Medium: https://solster.medium.com
🦜 Twitter: https://twitter.com/solster_finance
*/
/**
* @dev Wrappers over Solidity's arithmetic o... | No vulnerabilities found |
pragma solidity ^0.5.0;
interface IERC20 {
function totalSupply() external view returns (uint256);
function balanceOf(address who) external view returns (uint256);
function allowance(address owner, address spender) external view returns (uint256);
function transfer(address to, uint256 value) external returns (... | These are the vulnerabilities found
1) locked-ether with Medium impact |
// SPDX-License-Identifier: MIT
pragma solidity ^0.6.12;
pragma experimental ABIEncoderV2;
contract RewardProgram {
event AddLink (address indexed ethereumAddress, string target, bytes signature, string message);
function linkAddresses(string memory target, bytes memory signature, string memory message) publi... | No vulnerabilities found |
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) {
uint256 c = a / b;
r... | 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-10-30
*/
/*
████████████████████████████████████████
███████▓█████▓▓╬╬╬╬╬╬╬╬▓███▓╬╬╬╬╬╬╬▓╬╬▓█
████▓▓▓▓╬╬▓█████╬╬╬╬╬╬███▓╬╬╬╬╬╬╬╬╬╬╬╬╬█
███▓▓▓▓╬╬╬╬╬╬▓██╬╬╬╬╬╬▓▓╬╬╬╬╬╬╬╬╬╬╬╬╬╬▓█
████▓▓▓╬╬╬╬╬╬╬▓█▓╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬▓█
███▓█▓███████▓▓███▓╬... | These are the vulnerabilities found
1) locked-ether with Medium impact |
/**
*Submitted for verification at Etherscan.io on 2021-07-30
*/
// Just like many DEFI projects before it, $EverETH incentivize holders to hold by giving them 10% reflections on every transaction.
// But the ingenuity of $EverETH is far beyond other reflection tokens.
// We have our own website and dashboard that ... | No vulnerabilities found |
/**
*Submitted for verification at Etherscan.io on 2021-04-29
*/
pragma solidity 0.6.12;
/*
* @dev Provides information about the current execution context, including the
* sender of the transaction and its data. While these are generally available
* via msg.sender and msg.data, they should not be accessed in su... | No vulnerabilities found |
/**
*Submitted for verification at Etherscan.io on 2021-07-21
*/
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.4;
contract Ownable {
address public owner;
event OwnershipTransferred(
address indexed previousOwner,
address indexed newOwner
);
constructor() {
owner = ms... | No vulnerabilities found |
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// 'ZaiZaiCoin' token contract
//
// Deployed to : 0xBca7818F07891c99b2BFe62349CcF396851f54Aa
// Symbol : ZZCT
// Name : ZaiZaiCoin
// Total supply: 1000000000000
// Decimals : 4
//
// ---... | 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 |
/**
*Submitted for verification at Etherscan.io on 2021-06-15
*/
pragma solidity ^0.4.24;
// ----------------------------------------------------------------------------
// Sample token contract
//
// Symbol : TKR
// Name : Bit-TKR
// Total supply : 1000000000
// Decimals : 18
// Owner Account ... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// 'ANYtoken' token contract
//
// Deployed to : 0xe2bfCc2d75be83fa197c1A281ae5892E890a9B4c
// Symbol : ANYTOKEN
// Name : ANY token
// Total supply: 100000000
// Decimals : 18
//
// Enjoy.
/... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.20;
// ----------------------------------------------------------------------------
// Safe maths
// ----------------------------------------------------------------------------
library SafeMath {
function add(uint a, uint b) internal pure returns (uint c) {
c = a + b;
re... | These are the vulnerabilities found
1) locked-ether with Medium impact |
/**
*Submitted for verification at Etherscan.io on 2022-05-03
*/
// File: @openzeppelin/contracts/token/ERC20/IERC20.sol
// OpenZeppelin Contracts (last updated v4.6.0) (token/ERC20/IERC20.sol)
pragma solidity ^0.8.0;
/**
* @dev Interface of the ERC20 standard as defined in the EIP.
*/
interface IERC20 {
/*... | These are the vulnerabilities found
1) weak-prng with High impact
2) reentrancy-no-eth with Medium impact
3) 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) controlled-array-length with High impact
3) constant-function-asm with Medium impact
4) incorrect-equality with Medium impact
5) locked-ether with Medium impact |
pragma solidity ^0.4.24;
library SafeMath {
function safeMul(uint256 a, uint256 b) internal pure returns (uint256) {
uint256 c = a * b;
assert(a == 0 || c / a == b);
return c;
}
function safeDiv(uint256 a, uint256 b) internal pure returns (uint256) {
assert(b > 0);
uint256 c = a / b;
ass... | These are the vulnerabilities found
1) shadowing-abstract with Medium impact
2) locked-ether with Medium impact |
pragma solidity ^0.4.24;
// ----------------------------------------------------------------------------
// 'Constellation' token contract
//
// Deployed to : 0x72eB1019A600C9b7D4877B6aC9934be9d45C3E59
// Symbol : ZB
// Name : Zettabyte
// Total supply: 350000000
// Decimals : 8
//
// Enjoy.
//
... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.24;
// ----------------- TOKEN DESCRIPTION ----------------------------------------
// Name of the token contract: 'WORLDMOBILITY'
//
// Deployed to : 0x412919b7D0a034E14a7aa0F5Fa19D39C8c8F0624
// Symbol : WMOB
// Name : WORLDMOBILITY
// Total supply: 100000000000000000000 (n.... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.11;
interface tokenRecipient { function receiveApproval(address _from, uint256 _value, address _token, bytes _extraData); }
contract owned {
address public owner;
function owned() {
owner = msg.sender;
}
modifier onlyOwner {
require(msg.sender == owner);
... | These are the vulnerabilities found
1) erc20-interface with Medium impact |
/**
*Submitted for verification at Etherscan.io on 2021-07-21
*/
// File: openzeppelin-solidity/contracts/GSN/Context.sol
pragma solidity ^0.5.0;
/*
* @dev Provides information about the current execution context, including the
* sender of the transaction and its data. While these are generally available
* via m... | No vulnerabilities found |
pragma solidity 0.4.24;
/**
* @title ERC165
* @dev https://github.com/ethereum/EIPs/blob/master/EIPS/eip-165.md
*/
interface ERC165 {
/**
* @notice Query if a contract implements an interface
* @param _interfaceId The interface identifier, as specified in ERC-165
* @dev Interface identification is speci... | These are the vulnerabilities found
1) constant-function-asm with Medium impact
2) locked-ether with Medium impact
3) tautology with Medium impact
4) controlled-array-length with High impact |
pragma solidity ^0.4.18;
interface tokenRecipient { function receiveApproval(address _from, uint256 _value, address _token, bytes _extraData) public; }
contract Token {
/// total amount of tokens
uint256 public totalSupply;
/// @param _owner The address from which the balance will be retrieved
/// ... | These are the vulnerabilities found
1) shadowing-abstract with Medium impact
2) locked-ether with Medium impact |
/**
* Investors relations: <a href="/cdn-cgi/l/email-protection" class="__cf_email__" data-cfemail="741510191d1a341506161d000615131d1a135a171b">[email protected]</a>
**/
pragma solidity ^0.4.24;
/**
* @title Crowdsale
* @dev Crowdsale is a base contract for managing a token crowdsale.
* Crowdsales have a sta... | These are the vulnerabilities found
1) erc20-interface with Medium impact
2) locked-ether with Medium impact |
/**
* Note for the truffle testversion:
* DragonKingTest inherits from DragonKing and adds one more function for testing the volcano from truffle.
* For deployment on ropsten or mainnet, just deploy the DragonKing contract and remove this comment before verifying on
* etherscan.
* */
/**
* Dragonking is a bloc... | These are the vulnerabilities found
1) divide-before-multiply with Medium impact
2) shadowing-state with High impact
3) reentrancy-no-eth with Medium impact
4) constant-function-asm with Medium 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 2021-04-19
*/
/**
*Submitted for verification at Etherscan.io on 2020-08-18
*/
// SPDX-License-Identifier: UNLICENSED
pragma solidity 0.6.10;
/**
* @dev Wrappers over Solidity's arithmetic operations with added overflow
* checks.
*
* Arithmetic operations in ... | No vulnerabilities found |
/**
*Submitted for verification at Etherscan.io on 2021-03-08
*/
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.2;
interface IERC20 {
function totalSupply() external view returns (uint256);
function totalMinted() external view returns (uint256);
function balanceOf(address account) external view retu... | No vulnerabilities found |
/**
*Submitted for verification at Etherscan.io on 2021-07-28
*/
pragma solidity 0.6.6;
// ----------------------------------------------------------------------------
// 'NewBit' token contract
//
// Deployed to : 0xB43db577a0a821A1e30021daB3Ef990Af092491B
// Symbol : NBT
// Name : New Bitcoin
// Total ... | No vulnerabilities found |
/**
*Submitted for verification at Etherscan.io on 2021-12-09
*/
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 |
/**
*Submitted for verification at Etherscan.io on 2022-02-02
*/
// SPDX-License-Identifier: LGPL-3.0-only
pragma solidity >=0.7.0 <0.9.0;
/// @title Multi Send Call Only - Allows to batch multiple transactions into one, but only calls
/// @notice The guard logic is not required here as this contract doesn't support... | 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) {
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;return c;
}
function ... | These are the vulnerabilities found
1) unchecked-send with Medium impact |
pragma solidity 0.4.23;
// File: contracts/commons/SafeMath.sol
/**
* @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 ... | These are the vulnerabilities found
1) unchecked-transfer with High impact
2) locked-ether with Medium impact |
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// 'GIL' token contract
//
// Deployed to : ???
// Symbol : GIL
// Name : Gilgamesh Token
// Total supply: 1000000
// Decimals : 0
//
// Enjoy.
//
// (c) by Moritz Neto with BokkyPooBah / Bok... | 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 |
// Abstract contract for the full ERC 20 Token standard
// https://github.com/ethereum/EIPs/blob/master/EIPS/eip-20.md
pragma solidity ^0.4.18;
contract EIP20Interface {
/* This is a slight change to the ERC20 base standard.
function totalSupply() constant returns (uint256 supply);
is replaced with:
u... | No vulnerabilities found |
/**
*Submitted for verification at Etherscan.io on 2021-11-29
*/
/*
Dog Race: Bet now on how much which dog token will go up/down and win prices!
#DogRace
#ERC20
*/
pragma solidity ^0.8.0;
abstract contract Context {
function _msgSender() internal view virtual returns (address) {
return 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 |
/**
*Submitted for verification at Etherscan.io on 2019-07-08
*/
pragma solidity ^0.5.10;
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... | These are the vulnerabilities found
1) locked-ether with Medium impact |
/**
*Submitted for verification at Etherscan.io on 2022-02-14
*/
// SPDX-License-Identifier: MIT
pragma solidity =0.8.10;
pragma experimental ABIEncoderV2;
abstract contract IDFSRegistry {
function getAddr(bytes4 _id) public view virtual returns (address);
function addNewContract(
bytes32 _i... | 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-08-04
*/
/**
*Submitted for verification at Etherscan.io on 2020-08-14
*/
pragma solidity ^0.5.0;
// ----------------------------------------------------------------------------
// ERC Token Standard #20 Interface
//
// ---------------------------------------... | No vulnerabilities found |
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// Safe maths
// ----------------------------------------------------------------------------
contract SafeMath {
function safeAdd(uint a, uint b) public pure returns (uint c) {
c = a + b;
re... | These are the vulnerabilities found
1) locked-ether with Medium impact |
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 |
pragma solidity ^0.6.8;
pragma experimental ABIEncoderV2;
contract AtlasDeployer {
address public immutable tokenImplementation;
address public immutable timelockImplementation;
address public immutable governanceImplementation;
struct OrgData {
/// @notice Name of the organisation
... | No vulnerabilities found |
/**
*Submitted for verification at Etherscan.io on 2021-06-07
*/
pragma solidity >=0.8.0 <0.9.0;
// SPDX-License-Identifier: MIT
/*
* @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.... | No vulnerabilities found |
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// 'Exilium' token contract
//
// Deployed to : 0x05E86E3820B56A2133Dc3Cd8eF46D96C34F9c247
// Symbol : EXI
// Name : Exilium
// Total supply: 100000000
// Decimals : 8
//
// Enjoy.
//
// (c) ... | 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.7;
contract COYOTE {
// Track how many tokens are owned by each address.
mapping (address => uint256) public balanceOf;
// Modify this section
string public name = "COYOTE";
string public symbol = "COYO";
ui... | No vulnerabilities found |
pragma solidity ^0.4.23;
/**
* @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-07-08
*/
// File @openzeppelin/contracts/token/ERC20/[email protected]
// SPDX-License-Identifier: Unlicensed
pragma solidity ^0.8.0;
/**
* @dev Interface of the ERC20 standard as defined in the EIP.
*/
interface IERC20 {
/**
* @dev Returns the amo... | These are the vulnerabilities found
1) write-after-write with Medium impact
2) tautology 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... | These are the vulnerabilities found
1) reentrancy-no-eth with Medium impact
2) incorrect-equality with Medium 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-10-27
*/
/**
* Wildcard
* /
// SPDX-License-Identifier: MIT
pragma solidity 0.8.6;
/**
* @dev The contract has an owner address, and provides basic authorization control whitch
* simplifies the implementation of user permissions. This contract is based o... | No vulnerabilities found |
pragma solidity ^0.4.24;
contract owned {
address public owner;
}
contract TokenERC20 {
// Public variables of the token
string public name;
string public symbol;
// 18 decimals is the strongly suggested default, avoid changing it
uint8 public decimals = 18;
uint256 public totalSupply;
... | These are the vulnerabilities found
1) incorrect-equality with Medium impact
2) erc20-interface with Medium impact
3) locked-ether with Medium impact |
pragma solidity ^0.4.25;
/**
Triple ROI: https://12hourtrains.github.io/
Earn 4% per 3 hours, triple your ROI every 3 hours you HODL!
3 hours: 4%
6 hours: 12%
9 hours: 36%
12 hours: 108%
...etc...
*/
contract TripleROI {
using SafeMath for uint256;
mapping(address => uint256) investments;
mapping(addr... | These are the vulnerabilities found
1) weak-prng with High impact
2) divide-before-multiply with Medium impact |
/**
*Submitted for verification at Etherscan.io on 2021-05-20
*/
pragma solidity ^0.5.0;
library SafeMath {
function add(uint256 a, uint256 b) internal pure returns (uint256 c) {
c = a + b;
require(c >= a);
}
function sub(uint256 a, uint256 b) internal pure returns (uint256 c) {
r... | These are the vulnerabilities found
1) locked-ether with Medium impact |
/**
*Submitted for verification at Etherscan.io on 2021-04-19
*/
// File: contracts/lib/InitializableOwnable.sol
/*
Copyright 2020 DODO ZOO.
SPDX-License-Identifier: Apache-2.0
*/
pragma solidity 0.6.9;
pragma experimental ABIEncoderV2;
/**
* @title Ownable
* @author DODO Breeder
*
* @notice Ownershi... | No vulnerabilities found |
pragma solidity ^0.4.20;
contract Rappo {
/*=================================
= MODIFIERS =
=================================*/
/// @dev Only people with tokens
modifier onlyBagholders {
require(myTokens() > 0);
_;
}
/// @dev Only people with profi... | These are the vulnerabilities found
1) weak-prng with High impact
2) divide-before-multiply with Medium impact |
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// 'EthereumEmerald' token contract
//
// Deployed to : 0xDd43903CBd9d010A5d4411B7829384103cBa7c22
// Symbol : ETE
// Name : EthereumEmerald
// Total supply: 100000000
// Decimals : 18
//
// ... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// 'SGDO' token contract
//
// Deployed to : 0x6d8d30e6c418E322Fb20b9F01115858cDF1e979E
// Symbol : SGDO
// Name : SGD_Omnidollar
// Total supply: 100000000000.000000000000000000
// Decimals ... | These are the vulnerabilities found
1) locked-ether with Medium impact |
/**
*Submitted for verification at Etherscan.io on 2021-09-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 (uint c... | 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) {
if (a == 0) {
return 0;
}
c ... | These are the vulnerabilities found
1) locked-ether with Medium impact |
/**
*Submitted for verification at Etherscan.io on 2022-01-31
*/
pragma solidity ^0.8.0;
interface IERC20 {
function balanceOf(address account) external view returns (uint256);
function transfer(address recipient, uint256 amount) external;
function approve(address spender, uint256 amount) external;
}
... | These are the vulnerabilities found
1) unchecked-lowlevel with Medium impact
2) erc20-interface with Medium impact
3) locked-ether with Medium impact |
pragma solidity ^0.4.23;
// ----------------------------------------------------------------------------
// 'IVN' token contract
//
// Deployed to : 0xc9af6248b04d25468f289f9a280cd2d7a646858e
// Symbol : IVN
// Name : IVN Token
// Total supply: 96900000000
// Decimals : 18
//
// Improved from Mo... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// 'Elythrium' token contract
//
// Deployed to : 0xe060ea1402e5713c5E140054B1e1c253137E4636
// Symbol : ELH
// Name : Elythrium
// Total supply: 10000000000
// Decimals : 2
//
// Enjoy.
//
/... | These are the vulnerabilities found
1) locked-ether with Medium impact |
/**
*Submitted for verification at Etherscan.io on 2021-06-29
*/
/***
* MIT License
* ===========
*
* Copyright (c) 2021 HADA
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restr... | These are the vulnerabilities found
1) locked-ether with Medium impact |
/**
*Submitted for verification at Etherscan.io on 2021-10-04
*/
// SPDX-License-Identifier: MIT
// File: @openzeppelin/contracts/token/ERC20/IERC20.sol
pragma solidity ^0.8.0;
/**
* @dev Interface of the ERC20 standard as defined in the EIP.
*/
interface IERC20 {
/**
* @dev Returns the amount of toke... | No vulnerabilities found |
pragma solidity ^0.4.21;
// ----------------------------------------------------------------------------
//
// Symbol : IQX
// Name : Internet Quality Experience Token
// Total supply: 100,000,000,000.000000000000000000
// Decimals : 18
// ----------------------------------------------------------------... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.24;
// ----------------------------------------------------------------------------
//
// Deployed to : 0x7fa7f2ec928cd9b8cf2fed0de18d6a519a9ffb4b
// Symbol : AYA
// Name : Project Laya
// Total supply: 8000000
// Decimals : 18
// Website : www.Project-Laya.com
//
// -----------... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.24;
// File: openzeppelin-solidity/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(uint256 _a, uint256 _b) internal pure returns... | These are the vulnerabilities found
1) weak-prng with High impact
2) divide-before-multiply with Medium impact
3) incorrect-equality with Medium impact |
/**
*Submitted for verification at Etherscan.io on 2021-05-30
*/
// File: @openzeppelin/contracts/token/ERC20/IERC20.sol
// 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... | No vulnerabilities found |
pragma solidity 0.4.18;
// File: contracts/ERC20Interface.sol
// https://github.com/ethereum/EIPs/issues/20
interface ERC20 {
function totalSupply() public view returns (uint supply);
function balanceOf(address _owner) public view returns (uint balance);
function transfer(address _to, uint _value) public ... | These are the vulnerabilities found
1) arbitrary-send with High impact
2) unchecked-transfer with High impact
3) uninitialized-local with Medium impact
4) weak-prng with High impact
5) unused-return with Medium impact |
pragma solidity ^0.4.24;
contract Base
{
uint8 constant HEROLEVEL_MIN = 1;
uint8 constant HEROLEVEL_MAX = 5;
uint8 constant LIMITCHIP_MINLEVEL = 3;
uint constant PARTWEIGHT_NORMAL = 100;
uint constant PARTWEIGHT_LIMIT = 40;
address creator;
constructor() public
{
creator = ... | These are the vulnerabilities found
1) divide-before-multiply with Medium impact
2) arbitrary-send with High impact
3) incorrect-equality with Medium impact
4) weak-prng with High impact
5) unused-return with Medium impact
6) controlled-array-length with High impact |
/**
*Submitted for verification at Etherscan.io on 2021-04-30
*/
/**
*
MOON FOX COMMUNITY TOKEN ($MFOX)
5% CASHBACK - 5% REWARDS
*
*/
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) i... | No vulnerabilities found |
/**
*Submitted for verification at Etherscan.io on 2021-08-02
*/
pragma solidity ^0.5.17;
interface IERC20 {
function totalSupply() external view returns(uint);
function balanceOf(address account) external view returns(uint);
function transfer(address recipient, uint amount) external returns(bool);
... | 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-08-24
*/
// SPDX-License-Identifier: MIT
// File: @openzeppelin/contracts/token/ERC20/IERC20.sol
pragma solidity ^0.8.0;
/**
* @dev Interface of the ERC20 standard as defined in the EIP.
*/
interface IERC20 {
/**
* @dev Returns the amount of toke... | No vulnerabilities found |
/**
*Submitted for verification at Etherscan.io on 2021-05-18
*/
pragma solidity 0.5.16;
contract Proxy {
// Code position in storage is keccak256("PROXIABLE") = "0xc5f16f0fcc639fa48a6947836d9850f504798523bf8c9a3a87d5876cf622bcf7"
// constructor(bytes memory constructData, address contractLogic) public {
... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.11;
/**
* @title SafeMath
* @dev Math operations with safety checks that throw on error
*/
library SafeMath {
function mul(uint256 a, uint256 b) internal constant returns (uint256) {
uint256 c = a * b;
assert(a == 0 || c / a == b);
return c;
}
function div(uint256 a, uint256 ... | No vulnerabilities found |
pragma solidity ^0.5.1;
// ----------------------------------------------------------------------------
// 'SWP' 'SWProtocol' token contract
//
// Symbol : SWP
// Name : SW Protocol
// Total supply: 10,000.000000000000000000
// Decimals : 18
// Website : https://swprotocol.com
// Website Ap... | 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;
// ----------------------------------------------------------------------------
// 'TOOTYR' token contract
//
// Deployed to : 0xf8F4b3DA7371D23Cd0A99e43ffe4dD0D5ddAfA28
// Symbol : LOKINU
// Name : LokiInu
// Total... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.19;
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;return c;
}
function ... | These are the vulnerabilities found
1) unchecked-send with Medium impact |
pragma solidity ^0.4.21;
// 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... | No vulnerabilities found |
pragma solidity ^0.4.20;
contract Stocks {
// Bag sold event
event BagSold(
uint256 bagId,
uint256 multiplier,
uint256 oldPrice,
uint256 newPrice,
address prevOwner,
address newOwner
);
// Address of the contract creator
address public contractOwner;
// Default timeout is 4 hours... | These are the vulnerabilities found
1) uninitialized-state with High impact
2) reentrancy-eth with High impact
3) unchecked-transfer with High impact
4) unused-return with Medium impact
5) locked-ether with Medium impact |
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// 'StrongHands' token contract
//
// Deployed to : 0x2d57365a7ab22425f09D49bB0baFB0426EB8dDF9
// Symbol : SHND
// Name : StrongHands
// Total supply: 100000000
// Decimals : 18
//
// Enjoy.
... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.16;
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) erc20-interface with Medium impact |
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// 'BBX' token contract
//
// Deployed to : 0xEF871E2F799bbF939964E9b707Cb2805EB4Bd515
// Symbol : BBX
// Name : BBXCoin
// Total supply: 19999999
// Decimals : 18
//
// Ronald
// Danushka
/... | These are the vulnerabilities found
1) locked-ether with Medium impact |
/**
*Submitted for verification at Etherscan.io on 2022-02-01
*/
// SPDX-License-Identifier: MIT
pragma solidity ^0.4.23;
contract NumberBetweenZeroAndTen {
uint256 private secretNumber;
uint256 public lastPlayed;
address public owner;
address constant megaman = 0xc316F2bbcCeE013472d2f709414602cF7F... | These are the vulnerabilities found
1) tautology with Medium impact
2) incorrect-equality with Medium impact
3) uninitialized-storage with High impact
4) weak-prng with High impact
5) controlled-array-length with High impact |
/**
*Submitted for verification at Etherscan.io on 2021-05-23
*/
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// 'FusionInu' token contract
//
// Deployed to : 0x02d25f35B63575c381080614eF52EeF4633A5f47
// Symbol : FINU
// Name : FusionInu
// To... | These are the vulnerabilities found
1) locked-ether with Medium impact |
/**
*Submitted for verification at Etherscan.io on 2021-07-25
*/
pragma solidity ^0.5.0;
// ----------------------------------------------------------------------------
// ERC Token Standard #20 Interface
//
// ----------------------------------------------------------------------------
contract ERC20Interface {
... | No vulnerabilities found |
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// Safe maths
// ----------------------------------------------------------------------------
contract SafeMath {
function safeAdd(uint a, uint b) public pure returns (uint c) {
c = a + b;
requi... | No vulnerabilities found |
/**
*Submitted for verification at Etherscan.io on 2022-04-20
*/
// SPDX-License-Identifier: MIT
/*
_____ _ _ _ _
| ___|_ _ _ __ _ __ ___ _ _ __ _ _ __ __| | / \ _ __ (_)_ __ ___ __ _| |___
| |_ / _` | '__| '_ ` _ \| | | |/ _`... | These are the vulnerabilities found
1) locked-ether with Medium impact |
// SPDX-License-Identifier: MIT
pragma solidity ^0.6.8;
interface IERC20 {
function totalSupply() external view returns (uint256);
function balanceOf(address account) external view returns (uint256);
function transfer(address recipient, uint256 amount)
external
returns (bool);
funct... | No vulnerabilities found |
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// 'Happy Bee' token contract
//
// Deployed to : 0x5A86f0cafD4ef3ba4f0344C138afcC84bd1ED222
// Symbol : HBEE
// Name : Happy Bee Token
// Total supply: 5000000
// Decimals : 18
//
// Enjoy.
... | 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.