input stringlengths 32 47.6k | output stringclasses 657
values |
|---|---|
pragma solidity 0.4.26;
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) ext... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity 0.6.5;
pragma experimental ABIEncoderV2;
interface ERC20 {
function approve(address, uint256) external returns (bool);
function transfer(address, uint256) external returns (bool);
function transferFrom(address, address, uint256) external returns (bool);
function name() external view... | No vulnerabilities found |
pragma solidity 0.6.5;
pragma experimental ABIEncoderV2;
struct ProtocolBalance {
ProtocolMetadata metadata;
AdapterBalance[] adapterBalances;
}
struct ProtocolMetadata {
string name;
string description;
string websiteURL;
string iconURL;
uint256 version;
}
struct AdapterBalance ... | No vulnerabilities found |
pragma solidity 0.5.16;
interface IEnergiTokenProxy {
function proxyOwner() external view returns (address);
function delegate() external view returns (address);
function setProxyOwner(address _owner) external;
function upgradeDelegate(address _delegate) external;
}
contract EnergiTokenPr... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity 0.6.5;
pragma experimental ABIEncoderV2;
struct ProtocolBalance {
ProtocolMetadata metadata;
AdapterBalance[] adapterBalances;
}
struct ProtocolMetadata {
string name;
string description;
string websiteURL;
string iconURL;
uint256 version;
}
struct AdapterBalance ... | No vulnerabilities found |
pragma solidity 0.4.26;
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 who) external view returns ... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity 0.5.17;
library Address {
/**
* Returns whether the target address is a contract
* @dev This function will return false if invoked during the constructor of a contract,
* as the code is not actually created until after the constructor finishes.
* @param account address to check... | These are the vulnerabilities found
1) reentrancy-no-eth with Medium impact
2) locked-ether with Medium impact |
pragma solidity 0.6.12;
pragma experimental ABIEncoderV2;
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(a... | These are the vulnerabilities found
1) uninitialized-state with High impact
2) weak-prng with High impact
3) incorrect-equality with Medium impact
4) unchecked-transfer with High impact |
pragma solidity 0.6.4;
library Address {
/**
* @dev Returns true if `account` is a contract.
*
* [IMPORTANT]
* ====
* It is unsafe to assume that an address for which this function returns
* false is an externally-owned account (EOA) and not a contract.
*
* Among ot... | No vulnerabilities found |
pragma solidity 0.7.1;
pragma experimental ABIEncoderV2;
struct PoolInfo {
address swap; // stableswap contract address.
address deposit; // deposit contract address.
uint256 totalCoins; // Number of coins used in stableswap contract.
string name; // Pool name ("... Pool").
}
stru... | These are the vulnerabilities found
1) incorrect-equality with Medium impact
2) locked-ether with Medium impact |
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);
function allowance(address owner, address spender) external vi... | No vulnerabilities found |
pragma solidity 0.6.11;
pragma experimental ABIEncoderV2;
struct FullAbsoluteTokenAmount {
AbsoluteTokenAmountMeta base;
AbsoluteTokenAmountMeta[] underlying;
}
struct AbsoluteTokenAmountMeta {
AbsoluteTokenAmount absoluteTokenAmount;
ERC20Metadata erc20metadata;
}
struct ERC20Metadata {
s... | These are the vulnerabilities found
1) incorrect-equality with Medium impact
2) locked-ether with Medium impact |
pragma solidity 0.7.1;
pragma experimental ABIEncoderV2;
struct PoolInfo {
address swap; // stableswap contract address.
address deposit; // deposit contract address.
uint256 totalCoins; // Number of coins used in stableswap contract.
string name; // Pool name ("... Pool").
}
stru... | These are the vulnerabilities found
1) incorrect-equality with Medium impact
2) locked-ether with Medium impact |
pragma solidity 0.6.5;
pragma experimental ABIEncoderV2;
struct PoolInfo {
address swap; // stableswap contract address.
uint256 totalCoins; // Number of coins used in stableswap contract.
string name; // Pool name ("... Pool").
}
abstract contract Ownable {
modifier onlyOwner {
... | No vulnerabilities found |
pragma solidity 0.6.12;
pragma experimental ABIEncoderV2;
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(a... | These are the vulnerabilities found
1) uninitialized-state with High impact
2) unchecked-transfer with High impact
3) incorrect-equality with Medium impact
4) weak-prng with High impact
5) unused-return with Medium impact |
pragma solidity 0.6.12;
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 retu... | These are the vulnerabilities found
1) weak-prng with High impact
2) incorrect-equality with Medium impact
3) unchecked-transfer with High impact |
pragma solidity 0.5.17;
contract Context {
// Empty internal constructor, to prevent people from mistakenly deploying
// an instance of this contract, which should be used via inheritance.
constructor () internal { }
// solhint-disable-previous-line no-empty-blocks
function _msgSender(... | No vulnerabilities found |
pragma solidity 0.7.1;
pragma experimental ABIEncoderV2;
struct FullAbsoluteTokenAmount {
AbsoluteTokenAmountMeta base;
AbsoluteTokenAmountMeta[] underlying;
}
struct AbsoluteTokenAmountMeta {
AbsoluteTokenAmount absoluteTokenAmount;
ERC20Metadata erc20metadata;
}
struct ERC20Metadata {
st... | These are the vulnerabilities found
1) incorrect-equality with Medium impact
2) uninitialized-local with Medium impact
3) locked-ether with Medium impact |
pragma solidity 0.6.4;
library Address {
/**
* @dev Returns true if `account` is a contract.
*
* [IMPORTANT]
* ====
* It is unsafe to assume that an address for which this function returns
* false is an externally-owned account (EOA) and not a contract.
*
* Among ot... | No vulnerabilities found |
pragma solidity 0.6.12;
pragma experimental ABIEncoderV2;
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(a... | These are the vulnerabilities found
1) uninitialized-state with High 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
6) unused-return with Medium impact |
pragma solidity 0.5.4;
contract Ownable {
address public owner;
address public newOwner;
event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);
constructor() public {
owner = msg.sender;
newOwner = address(0);
}
modifier onl... | These are the vulnerabilities found
1) unchecked-transfer with High impact
2) locked-ether with Medium impact
3) controlled-array-length with High impact |
pragma solidity 0.5.16;
interface IBullswapCallee {
function BullswapCall(address sender, uint amount0, uint amount1, bytes calldata data) external;
}
interface IBullswapERC20 {
event Approval(address indexed owner, address indexed spender, uint value);
event Transfer(address indexed from, address ind... | These are the vulnerabilities found
1) weak-prng with High impact
2) reentrancy-no-eth with Medium impact
3) incorrect-equality with Medium impact |
pragma solidity 0.5.1;
interface IERC20 {
function totalSupply() external view returns (uint256);
function balanceOf(address who) external view returns (uint256);
function transfer(address to, uint256 value) external returns (bool);
function allowance(address owner, address spender) external view retur... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity 0.5.0;
interface IERC20 {
function totalSupply() external view returns (uint256);
function balanceOf(address who) external view returns (uint256);
function transfer(address to, uint256 value) external returns (bool);
function allowance(address owner, address spender) external view retur... | These are the vulnerabilities found
1) uninitialized-local with Medium impact
2) locked-ether with Medium impact |
pragma solidity 0.6.12;
pragma experimental ABIEncoderV2;
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(a... | These are the vulnerabilities found
1) uninitialized-state with High impact
2) weak-prng with High impact
3) incorrect-equality with Medium impact
4) unchecked-transfer with High impact |
pragma solidity 0.6.11;
pragma experimental ABIEncoderV2;
struct FullAbsoluteTokenAmount {
AbsoluteTokenAmountMeta base;
AbsoluteTokenAmountMeta[] underlying;
}
struct AbsoluteTokenAmountMeta {
AbsoluteTokenAmount absoluteTokenAmount;
ERC20Metadata erc20metadata;
}
struct ERC20Metadata {
s... | These are the vulnerabilities found
1) unused-return with Medium impact
2) incorrect-equality with Medium impact
3) uninitialized-local with Medium impact
4) locked-ether with Medium impact |
pragma solidity 0.6.12;
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 warning without generating bytecode - ... | These are the vulnerabilities found
1) weak-prng with High impact
2) incorrect-equality with Medium impact
3) unused-return with Medium impact |
pragma solidity 0.4.26;
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) ext... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity 0.6.8;
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 warning without generating bytecode - s... | These are the vulnerabilities found
1) weak-prng with High impact
2) unused-return with Medium impact
3) unchecked-transfer with High impact |
pragma solidity 0.7.1;
pragma experimental ABIEncoderV2;
struct FullAbsoluteTokenAmount {
AbsoluteTokenAmountMeta base;
AbsoluteTokenAmountMeta[] underlying;
}
struct AbsoluteTokenAmountMeta {
AbsoluteTokenAmount absoluteTokenAmount;
ERC20Metadata erc20metadata;
}
struct ERC20Metadata {
st... | These are the vulnerabilities found
1) incorrect-equality with Medium impact
2) uninitialized-local with Medium impact
3) locked-ether with Medium impact |
pragma solidity 0.7.1;
pragma experimental ABIEncoderV2;
struct FullAbsoluteTokenAmount {
AbsoluteTokenAmountMeta base;
AbsoluteTokenAmountMeta[] underlying;
}
struct AbsoluteTokenAmountMeta {
AbsoluteTokenAmount absoluteTokenAmount;
ERC20Metadata erc20metadata;
}
struct ERC20Metadata {
st... | These are the vulnerabilities found
1) incorrect-equality with Medium impact
2) uninitialized-local with Medium impact
3) locked-ether with Medium impact |
pragma solidity 0.5.17;
pragma experimental ABIEncoderV2;
interface Structs {
struct Val {
uint256 value;
}
enum ActionType {
Deposit, // supply tokens
Withdraw, // borrow tokens
Transfer, // transfer balance between accounts
Buy, // buy an amoun... | These are the vulnerabilities found
1) unchecked-transfer with High impact
2) unused-return with Medium impact
3) uninitialized-local with Medium impact
4) locked-ether with Medium impact |
pragma solidity 0.6.12;
pragma experimental ABIEncoderV2;
interface IGuardianStorage {
/**
* @notice Lets an authorised module add a guardian to a wallet.
* @param _wallet The target wallet.
* @param _guardian The guardian to add.
*/
function addGuardian(address _wallet, address _gu... | These are the vulnerabilities found
1) arbitrary-send with High impact
2) locked-ether with Medium impact |
pragma solidity 0.6.5;
pragma experimental ABIEncoderV2;
interface ERC20 {
function approve(address, uint256) external returns (bool);
function transfer(address, uint256) external returns (bool);
function transferFrom(address, address, uint256) external returns (bool);
function name() external view... | No vulnerabilities found |
pragma solidity 0.7.1;
abstract contract Context {
// Empty internal constructor, to prevent people from mistakenly deploying
// an instance of this contract, which should be used via inheritance.
constructor () { }
function _msgSender() internal view virtual returns (address payable) {
... | 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.5.17;
interface IErc20Token {
function transfer(address recipient, uint256 amount) external returns (bool);
function transferFrom(address sender, address recipient, uint256 amount) external returns (bool);
}
contract NamedContract {
/// @notice The name of contract, which can be set ... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity 0.6.12;
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 retu... | These are the vulnerabilities found
1) reentrancy-eth with High impact
2) weak-prng with High impact
3) incorrect-equality with Medium impact |
pragma solidity 0.6.5;
pragma experimental ABIEncoderV2;
interface ERC20 {
function approve(address, uint256) external returns (bool);
function transfer(address, uint256) external returns (bool);
function transferFrom(address, address, uint256) external returns (bool);
function name() external view... | No vulnerabilities found |
pragma solidity 0.5.15;
contract IFactRegistry {
/*
Returns true if the given fact was previously registered in the contract.
*/
function isValid(bytes32 fact)
external view
returns(bool);
}
contract IQueryableFactRegistry is IFactRegistry {
/*
Returns true if at... | No vulnerabilities found |
pragma solidity 0.4.21;
contract EIP20Interface {
/* This is a slight change to the ERC20 base standard.
function totalSupply() constant returns (uint256 supply);
is replaced with:
uint256 public totalSupply;
This automatically creates a getter function for the totalSupply.
This is moved ... | No vulnerabilities found |
pragma solidity 0.6.12;
library Address {
/**
* @dev Returns true if `account` is a contract.
*
* [IMPORTANT]
* ====
* It is unsafe to assume that an address for which this function returns
* false is an externally-owned account (EOA) and not a contract.
*
* Among o... | No vulnerabilities found |
pragma solidity 0.7.4;
interface GnosisSafe {
/// @dev Allows a Module to execute a Safe transaction without any further confirmations.
/// @param to Destination address of module transaction.
/// @param value Ether value of module transaction.
/// @param data Data payload of module transaction.
... | These are the vulnerabilities found
1) weak-prng with High impact
2) incorrect-equality with Medium impact |
pragma solidity 0.6.11;
pragma experimental ABIEncoderV2;
struct FullAbsoluteTokenAmount {
AbsoluteTokenAmountMeta base;
AbsoluteTokenAmountMeta[] underlying;
}
struct AbsoluteTokenAmountMeta {
AbsoluteTokenAmount absoluteTokenAmount;
ERC20Metadata erc20metadata;
}
struct ERC20Metadata {
s... | These are the vulnerabilities found
1) controlled-delegatecall with High impact
2) arbitrary-send with High impact
3) incorrect-equality with Medium impact
4) delegatecall-loop with High impact
5) uninitialized-local with Medium impact
6) unused-return with Medium impact
7) locked-ether with Medium impact |
pragma solidity 0.4.25;
contract ERC20Interface {
uint256 public totalSupply;
function balanceOf(address _owner) public view returns (uint256 balance);
function transfer(address _to, uint256 _value) public returns (bool success);
function transferFrom(address _from, address _to, uint256 _value) pub... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity 0.7.0;
library Address {
/**
* @dev Returns true if `account` is a contract.
*
* [IMPORTANT]
* ====
* It is unsafe to assume that an address for which this function returns
* false is an externally-owned account (EOA) and not a contract.
*
* Among ot... | These are the vulnerabilities found
1) weak-prng with High impact
2) incorrect-equality with Medium impact |
pragma solidity 0.6.12;
pragma experimental ABIEncoderV2;
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(a... | These are the vulnerabilities found
1) weak-prng with High impact
2) incorrect-equality with Medium impact
3) unchecked-transfer with High impact |
pragma solidity 0.6.11;
pragma experimental ABIEncoderV2;
struct FullAbsoluteTokenAmount {
AbsoluteTokenAmountMeta base;
AbsoluteTokenAmountMeta[] underlying;
}
struct AbsoluteTokenAmountMeta {
AbsoluteTokenAmount absoluteTokenAmount;
ERC20Metadata erc20metadata;
}
struct ERC20Metadata {
s... | These are the vulnerabilities found
1) divide-before-multiply with Medium impact
2) incorrect-equality with Medium impact
3) uninitialized-local with Medium impact
4) unused-return with Medium impact
5) locked-ether with Medium impact |
pragma solidity 0.5.16;
interface IERC20 {
event Approval(address indexed owner, address indexed spender, uint value);
event Transfer(address indexed from, address indexed to, uint value);
function name() external view returns (string memory);
function symbol() external view returns (string memor... | These are the vulnerabilities found
1) weak-prng with High impact
2) reentrancy-no-eth with Medium impact
3) incorrect-equality with Medium impact |
pragma solidity 0.6.6;
pragma experimental ABIEncoderV2;
interface IERC20 {
/**
* @dev Returns the amount of tokens in existence.
*/
function totalSupply() external view returns (uint);
/**
* @dev Returns the amount of tokens owned by `account`.
*/
function balanceOf(addre... | These are the vulnerabilities found
1) erc20-interface with Medium impact
2) arbitrary-send with High impact
3) incorrect-equality with Medium impact
4) reentrancy-eth with High impact
5) msg-value-loop with High impact |
pragma solidity 0.7.1;
abstract contract Context {
// Empty internal constructor, to prevent people from mistakenly deploying
// an instance of this contract, which should be used via inheritance.
constructor () { }
function _msgSender() internal view virtual returns (address payable) {
... | These are the vulnerabilities found
1) unchecked-transfer with High impact
2) locked-ether with Medium impact |
pragma solidity 0.5.17;
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 who) external view returns ... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity 0.6.12;
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 retu... | These are the vulnerabilities found
1) weak-prng with High impact
2) incorrect-equality with Medium impact
3) unchecked-transfer with High impact |
pragma solidity 0.7.3;
pragma experimental ABIEncoderV2;
struct PoolInfo {
address swap; // stableswap contract address.
address deposit; // deposit contract address.
uint256 totalCoins; // Number of coins used in stableswap contract.
string name; // Pool name ("... Pool").
}
struct FullTokenBala... | These are the vulnerabilities found
1) incorrect-equality with Medium impact
2) name-reused with High impact
3) locked-ether with Medium impact |
/**
*Submitted for verification at Etherscan.io on 2021-10-30
*/
/*
████████████████████████████████████████
███████▓█████▓▓╬╬╬╬╬╬╬╬▓███▓╬╬╬╬╬╬╬▓╬╬▓█
████▓▓▓▓╬╬▓█████╬╬╬╬╬╬███▓╬╬╬╬╬╬╬╬╬╬╬╬╬█
███▓▓▓▓╬╬╬╬╬╬▓██╬╬╬╬╬╬▓▓╬╬╬╬╬╬╬╬╬╬╬╬╬╬▓█
████▓▓▓╬╬╬╬╬╬╬▓█▓╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬╬▓█
███▓█▓███████▓▓███▓╬... | 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-08-03
*/
/*
██████╗ ██████╗ ███████╗████████╗███████╗██████╗
██╔══██╗██╔═══██╗██╔════╝╚══██╔══╝██╔════╝██╔══██╗
██████╔╝██║ ██║███████╗ ██║ █████╗ ██████╔╝
██╔═══╝ ██║ ██║╚════██║ ██║ ██╔══╝ ██╔══██╗
██║ ╚██████╔╝███████║ ██║ ███████╗██║ ... | No vulnerabilities found |
/**
*Submitted for verification at Etherscan.io on 2022-03-12
*/
// .....
// .:~7JRNYGGP55J7^:.
// .~J5PPGGP5PPPP55555J?~.....
// ... | These are the vulnerabilities found
1) weak-prng with High impact
2) divide-before-multiply with Medium impact
3) incorrect-equality with Medium impact
4) unused-return with Medium impact |
// ┏━━━┓━┏┓━┏┓━━┏━━━┓━━┏━━━┓━━━━┏━━━┓━━━━━━━━━━━━━━━━━━━┏┓━━━━━┏━━━┓━━━━━━━━━┏┓━━━━━━━━━━━━━━┏┓━
// ┃┏━━┛┏┛┗┓┃┃━━┃┏━┓┃━━┃┏━┓┃━━━━┗┓┏┓┃━━━━━━━━━━━━━━━━━━┏┛┗┓━━━━┃┏━┓┃━━━━━━━━┏┛┗┓━━━━━━━━━━━━┏┛┗┓
// ┃┗━━┓┗┓┏┛┃┗━┓┗┛┏┛┃━━┃┃━┃┃━━━━━┃┃┃┃┏━━┓┏━━┓┏━━┓┏━━┓┏┓┗┓┏┛━━━━┃┃━┗┛┏━━┓┏━┓━┗┓┏┛┏━┓┏━━┓━┏━━┓┗┓┏┛
// ┃┏━━┛━┃┃━┃┏┓┃┏━┛┏┛━━┃┃━┃┃━... | These are the vulnerabilities found
1) uninitialized-local with Medium impact
2) locked-ether with Medium impact |
pragma solidity =0.5.16;
interface IUniSlurmFactory {
event PairCreated(address indexed token0, address indexed token1, address pair, uint);
function feeTo() external view returns (address);
function feeToSetter() external view returns (address);
function getPair(address tokenA, address tokenB) exter... | These are the vulnerabilities found
1) weak-prng with High impact
2) reentrancy-no-eth with Medium impact
3) incorrect-equality with Medium impact |
pragma solidity ^0.4.11;
contract IconomiBlackHole {
} | No vulnerabilities found |
pragma solidity 0.4.24;
contract Governable {
event Pause();
event Unpause();
address public governor;
bool public paused = false;
constructor() public {
governor = msg.sender;
}
function setGovernor(address _gov) public onlyGovernor {
governor = _gov;
}
modifie... | These are the vulnerabilities found
1) uninitialized-state with High impact
2) tautology with Medium impact
3) constant-function-asm with Medium impact
4) incorrect-equality with Medium impact
5) weak-prng with High impact
6) locked-ether with Medium impact
7) unused-return with Medium impact
8) controlled-arra... |
/**
*Submitted for verification at Etherscan.io on 2022-01-16
*/
pragma solidity ^0.5.0;
library SafeMath {
function mulZ(uint256 a, uint256 b) internal pure returns (uint256) {
if (a == 0) {
return 0;
}
uint256 c = a * b;
require(c / a == b);
return c;
... | These are the vulnerabilities found
1) locked-ether with Medium impact
2) controlled-array-length with High impact |
/**
*Submitted for verification at Etherscan.io on 2021-05-14
*/
pragma solidity ^0.4.24;
// ----------------------------------------------------------------------------
// Sample token contract
//
// Symbol : TOMI
// Name : Tomi Token
// Total supply : 200000000000000000000000000000
// Decimals ... | No vulnerabilities found |
/**
*Submitted for verification at Etherscan.io on 2021-09-01
*/
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.6;
/**
* METEORA - Rosetta Stone
*
* Lunaris Incorporation - 2021
* https://meteora.lunaris.inc
*
* This is the TGE contract of the METEORA Project, following the
* ERC20 standard on Ethereum... | No vulnerabilities found |
/**
*Submitted for verification at Etherscan.io on 2020-12-20
*/
pragma solidity ^0.7.0;
pragma experimental ABIEncoderV2;
abstract contract IDFSRegistry {
function getAddr(bytes32 _id) public view virtual returns (address);
function addNewContract(
bytes32 _id,
address _contractAddr,... | These are the vulnerabilities found
1) locked-ether with Medium impact |
/**
*Submitted for verification at Etherscan.io on 2021-08-22
*/
/*
___ __ __ __ _____ ___ _____ _ _ __ __
||=|| ||<< || || ||=|| ||_// \\// || ||
|| || || \\ || || || || || \\ // \\_//
The lost son of the infamous Dogefather. Shiba Inu killed Ryu’s father to take over the infamous INU cor... | These are the vulnerabilities found
1) weak-prng with High impact
2) incorrect-equality 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) locked-ether with Medium impact
3) controlled-array-length with High impact |
/**
*Submitted for verification at Etherscan.io on 2021-07-01
*/
// SPDX-License-Identifier: UNLICENSED
pragma solidity ^0.6.12;
abstract contract Context {
function _msgSender() internal view virtual returns (address payable) {
return msg.sender;
}
function _msgData() internal view virtual retu... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.21;
/**
* @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... | These are the vulnerabilities found
1) divide-before-multiply with Medium impact
2) erc20-interface with Medium impact
3) locked-ether with Medium impact |
/**
*Submitted for verification at Etherscan.io on 2021-06-07
*/
/*
Shih tzu Inu
🐕 Shih tzu Inu - The best Dogflationary protocol !
💬 Telegram: https://t.me/ShihtzuInu
*/
pragma solidity ^0.5.16;
// ERC-20 Interface
contract BEP20Interface {
function totalSupply() public view returns (uint);
... | 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) {
// assert(b > 0); // ... | These are the vulnerabilities found
1) locked-ether with Medium impact |
/**
*Submitted for verification at Etherscan.io on 2021-05-16
*/
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// 'DogeOrbit' token contract
//
// Deployed to : 0xCD0fF9096F668Ac9B10E62d8096B8F16475860bf
// Symbol : DOBIT
// Name : DogeOrbit
// T... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.21;
interface Token {
function totalSupply() constant external returns (uint256 ts);
function balanceOf(address _owner) constant external returns (uint256 balance);
function transfer(address _to, uint256 _value) external returns (bool success);
function transferFrom(address _from, ... | These are the vulnerabilities found
1) reentrancy-no-eth with Medium impact
2) locked-ether with Medium impact
3) uninitialized-local with Medium impact
4) controlled-array-length with High impact |
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// 'YouTube' token contract
//
// Deployed to : 0x2d57365a7ab22425f09D49bB0baFB0426EB8dDF9
// Symbol : YT
// Name : YouTube
// Total supply: 100000000
// Decimals : 18
//
// Enjoy.
//
// (c) ... | These are the vulnerabilities found
1) locked-ether with Medium impact |
/**
*Submitted for verification at Etherscan.io on 2021-04-24
*/
/**
*Submitted for verification at Etherscan.io on 2021-04-24
* Ely Net and Tor Korea
*/
pragma solidity ^0.5.17;
library SafeMath {
function mul(uint256 a, uint256 b) internal pure returns (uint256) {
if (a == 0) {
return 0... | These are the vulnerabilities found
1) unchecked-transfer with High impact
2) divide-before-multiply with Medium impact
3) locked-ether with Medium impact
4) controlled-array-length with High impact |
/**
*Submitted for verification at Etherscan.io on 2021-03-17
*/
pragma solidity ^0.4.24;
// ----------------------------------------------------------------------------
// Sample token contract
//
// Symbol : OTD
// Name : 1 Trait Danger Token
// Total supply : 10000000
// Decimals : 2
// Owne... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.24;
/*
* Zlots.
*
* Written August 2018 by the Zethr team for zethr.io.
*
* Initial code framework written by Norsefire.
*
* Rolling Odds:
* 55.1% - Lose
* 26.24% - 1.5x Multiplier - Two unmatched pyramids
* 12.24% - 2.5x Multiplier - Two matching pyramids
* 4.08% - 1x Multiplier - Thr... | These are the vulnerabilities found
1) reentrancy-no-eth with Medium 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 |
/**
*Submitted for verification at Etherscan.io on 2022-01-15
*/
pragma solidity 0.8.0;
// SPDX-License-Identifier: Unlicensed
interface IERC20 {
function totalSupply() external view returns (uint256);
/**
* @dev Returns the amount of tokens owned by `account`.
*/
function balanceOf(address ac... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.23;
/*
* Zethroll.
*
* Adapted from PHXRoll, written in March 2018 by TechnicalRise:
* https://www.reddit.com/user/TechnicalRise/
*
* Adapted for Zethr by Norsefire and oguzhanox.
*
* Gas golfed by Etherguy
* Audited & commented by Klob
*/
contract ZTHReceivingContract {
/**
* @dev Standar... | These are the vulnerabilities found
1) reentrancy-no-eth with Medium impact
2) arbitrary-send with High impact
3) unchecked-transfer with High impact
4) uninitialized-local with Medium impact
5) weak-prng with High impact
6) unused-return with Medium impact |
/**
*Submitted for verification at Etherscan.io on 2021-04-08
*/
/**
*Submitted for verification at Etherscan.io on 2021-01-20
*/
/**
*Submitted for verification at Etherscan.io on 2020-12-18
*/
pragma solidity ^0.5.0;
/**
* @dev Wrappers over Solidity's arithmetic operations with added overflow
* checks.
*
... | These are the vulnerabilities found
1) shadowing-state with High impact
2) locked-ether with Medium impact |
// SPDX-License-Identifier: GPL-3.0-or-later
pragma solidity ^0.8.2;
/**
* @dev Interface of the ERC20 standard as defined in the EIP.
*/
interface IERC20 {
function totalSupply() external view returns (uint256);
function decimals() external view returns (uint8);
function balanceOf(address account) exte... | No vulnerabilities found |
pragma solidity ^0.4.14;
contract ERC20Interface {
function totalSupply() public constant returns (uint);
function balanceOf(address tokenOwner) public constant returns (uint balance);
function transfer(address to, uint tokens) public returns (bool success);
}
// ------------------------------------------... | 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-07
*/
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
interface IERC20 {
/**
* @dev Returns the amount of tokens in existence.
*/
function totalSupply() external view returns (uint256);
/**
* @dev Returns the amount of t... | No vulnerabilities found |
/**
*Submitted for verification at Etherscan.io on 2022-04-14
*/
pragma solidity ^0.4.24;
// ----------------------------------------------------------------------------
// Sample token contract
//
// Symbol : PHC
// Name : PHC Token
// Total supply : 10000000000
// Decimals : 2
// Owner Accoun... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.22;
contract tokenRecipient { function receiveApproval(address _from, uint256 _value, address _token, bytes _extraData) public; }
contract BitGuildToken {
// Public variables of the token
string public name = "BitGuild PLAT";
string public symbol = "PLAT";
uint8 public decimals =... | These are the vulnerabilities found
1) reentrancy-no-eth with Medium impact
2) tautology with Medium impact
3) erc20-interface with Medium impact
4) constant-function-asm with Medium impact
5) reentrancy-eth with High impact
6) locked-ether with Medium impact |
pragma solidity ^0.4.24;
// ----------------------------------------------------------------------------
// 'NEX'token contract
//
// Deployed to : 0xe1CBDdfD00fA7b51B162473257c700284a6A7d20
// Symbol : NEXTAC
// Name : NEX
// Total supply: 500000000000000000000000000
// Decimals : 18
//
//
//
/... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.22;
contract EthMashTower {
address public owner;
mapping (address => uint) public withdrawals;
uint round;
uint registered;
mapping (uint => address[15]) participants;
event Log(address indexed user, uint action, uint price);
constructor() public {
owner = ... | These are the vulnerabilities found
1) weak-prng with High impact
2) incorrect-equality with Medium impact |
/**
*Submitted for verification at Etherscan.io on 2021-07-27
*/
pragma solidity >=0.5.0 <0.7.0;
interface IERC20 {
function totalSupply() external view returns (uint256);
function balanceOf(address account) external view returns (uint256);
function allowance(address owner, address spender) external vie... | No vulnerabilities found |
/**
*Submitted for verification at Etherscan.io on 2021-06-20
*/
// SPDX-License-Identifier: MIT
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 retur... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// '0xLitecoin Token' contract
// Mineable ERC20 Token using Proof Of Work
//
// Symbol : 0xLTC
// Name : 0xLitecoin Token
// Total supply: 84,000,000.00
// Decimals : 8
//
// ----... | These are the vulnerabilities found
1) divide-before-multiply with Medium impact
2) locked-ether with Medium impact |
pragma solidity ^ 0.4 .18;
contract Etherumble {
struct PlayerBets {
address addPlayer;
uint amount;
}
PlayerBets[] users;
address[] players = new address[](20);
uint[] bets = new uint[](20);
uint nbUsers = 0;
uint totalBets = 0;
uint fees = 0;
uint endBlock ... | These are the vulnerabilities found
1) weak-prng with High impact |
/**
*Submitted for verification at Etherscan.io on 2021-11-21
*/
pragma solidity >=0.4.22 <0.6.0;
contract ProxyGroupWallet {
address internal masterCopy;
mapping(uint256 => uint256) private tArr;
address[] private owners;
address internal GWF; ... | These are the vulnerabilities found
1) locked-ether with Medium impact |
/**
*Submitted for verification at Etherscan.io on 2022-02-06
*/
pragma solidity ^0.4.23;
/**contract ERC721 is ERC721Basic, ERC721Enumerable, ERC721Metadata
* Utility library of inline functions on addresses
*/
library AddressUtils {
/**
* Returns whether the target address is a contract
* @dev This fun... | These are the vulnerabilities found
1) constant-function-asm with Medium impact
2) locked-ether with Medium impact
3) controlled-array-length with High impact |
/**
*Submitted for verification at Etherscan.io on 2022-04-26
*/
// SPDX-License-Identifier: MIT
/*
Balloon Inu - Tiny supply (80,000), no tax, a lot of fun, fair launch!
*/
// File: @openzeppelin/contracts/token/ERC20/IERC20.sol
pragma solidity ^0.8.0;
/**
* @dev Interface of the ERC20 standard as defi... | These are the vulnerabilities found
1) shadowing-state with High impact |
pragma solidity 0.4.24;
contract Governable {
event Pause();
event Unpause();
address public governor;
bool public paused = false;
constructor() public {
governor = msg.sender;
}
function setGovernor(address _gov) public onlyGovernor {
governor = _gov;
}
modifie... | These are the vulnerabilities found
1) uninitialized-state with High impact
2) tautology with Medium impact
3) constant-function-asm with Medium impact
4) incorrect-equality with Medium impact
5) weak-prng with High impact
6) locked-ether with Medium impact
7) controlled-array-length with High impact |
/**
*Submitted for verification at Etherscan.io on 2019-07-07
*/
// ----------------------------------------------------------------------------
// 'ViewPlus' Contract
//
// Deployed to : 0xEf448011Dac23d3afe7c534FcbF73fDADBFca172
// Symbol : VEP
// Name : ViewPlus
// Total supply: 185000000
// De... | These are the vulnerabilities found
1) locked-ether with Medium 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 |
/**
*Submitted for verification at Etherscan.io on 2021-05-22
*/
pragma solidity ^0.4.24;
// ----------------------------------------------------------------------------
// Sample token contract
//
// Symbol : SFC
// Name : SOFICOIN
// Total supply : 100000000000000000000000000
// Decimals : 18... | 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) {
uint256 c = a / b;
r... | These are the vulnerabilities found
1) unchecked-transfer with High impact
2) locked-ether with Medium impact |
/* ==================================================================== */
/* Copyright (c) 2018 The ether.online Project. All rights reserved.
/*
/* https://ether.online The first RPG game of blockchain
/*
/* authors <a href="/cdn-cgi/l/email-protection" class="__cf_email__" data-cfemail="4a38232921223f243e2f386... | These are the vulnerabilities found
1) divide-before-multiply with Medium impact
2) arbitrary-send with High impact
3) weak-prng with High impact
4) unused-return with Medium impact
5) controlled-array-length with High impact |
/**
*Submitted for verification at Etherscan.io on 2021-07-25
*/
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 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.