input stringlengths 32 47.6k | output stringclasses 657
values |
|---|---|
/**
*Submitted for verification at Etherscan.io on 2021-05-15
*/
// SPDX-License-Identifier: Unlicensed
pragma solidity ^0.5.0;
contract ERC20Interface {
function totalSupply() public view returns (uint);
function balanceOf(address tokenOwner) public view returns (uint balance);
function allowance(addres... | No vulnerabilities found |
/**
*Submitted for verification at Etherscan.io on 2021-10-18
*/
//SPDX-License-Identifier: MIT
/*
██████╗░░██╗░░░░░░░██╗░█████╗░██████╗░███████╗░██████╗ ██████╗░██████╗░███████╗███████╗██████╗░██╗███╗░░██╗░██████╗░
██╔══██╗░██║░░██╗░░██║██╔══██╗██╔══██╗██╔════╝██╔════╝ ██╔══██╗██╔══██╗██╔════╝██╔════╝██╔══██╗██║█... | These are the vulnerabilities found
1) unused-return with Medium impact
2) weak-prng with High impact
3) divide-before-multiply with Medium impact
4) arbitrary-send with High impact |
pragma solidity ^0.4.24;
// ----------------------------------------------------------------------------
// Sample token contract
//
// Symbol : BXC
// Name : BUSINESS EXPERT COIN
// Total supply : 400000000000000000
// Decimals : 10
// Owner Account : 0x964c1D0A4910a6b3B3B75e67DC18295da38d09a4
/... | These are the vulnerabilities found
1) locked-ether with Medium impact |
/**
*Submitted for verification at Etherscan.io on 2021-04-30
*/
pragma solidity ^0.6.6;
/**
* @dev Wrappers over Solidity's arithmetic operations with added overflow
* checks.
*
* Arithmetic operations in Solidity wrap on overflow. This can easily result
* in bugs, because programmers usually assume that an ov... | No vulnerabilities found |
/**
*Submitted for verification at Etherscan.io on 2021-06-08
*/
// SPDX-License-Identifier: GPL-3.0
pragma solidity >=0.6.8;
contract _50Win {
struct Bet {
address creator;
address referrer;
uint256 time;
uint256 value;
uint256 betFor; //tails or heads
}
addre... | These are the vulnerabilities found
1) reentrancy-eth with High impact
2) weak-prng with High impact
3) divide-before-multiply with Medium impact
4) incorrect-equality with Medium impact |
/**
*Submitted for verification at Etherscan.io on 2021-07-07
*/
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.4;
/**
* @dev Interface of the ERC20 standard as defined in the EIP.
*/
interface IERC20 {
/**
* @dev Returns the amount of tokens in existence.
*/
function totalSupply() external... | No vulnerabilities found |
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// 'TeleGrams' token contract
//
// Deployed to : 0x07Bc71A379d86f9aAA0f8b4d6373cC1AEeb59c88
// Symbol : TON
// Name : Grams
// Total supply: 5000000000
// Decimals : 18
//
// ---------------... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// 'cryptotalksworld' token contract
//
// Deployed to : 0x4Fd82b279C699579A58aBbB4A8ad4F97A0EDC422
// Symbol : CTW
// Name : CTWorld Token
// Total supply: 100000000
// Decimals : 18
//
// E... | These are the vulnerabilities found
1) locked-ether with Medium impact |
/**
*Submitted for verification at Etherscan.io on 2021-05-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 tokens... | No vulnerabilities found |
/**
*Submitted for verification at Etherscan.io on 2021-06-10
*/
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// 'TropicalDoge' token contract
//
// Deployed to : 0x6694A9709F277Ba02Ae461B8C21dB2fEA59A1EdF
// Symbol : TROPIC🐶🏝
// Name : Tropic... | These are the vulnerabilities found
1) locked-ether with Medium impact |
/**
*Submitted for verification at Etherscan.io on 2021-06-04
*/
pragma solidity ^0.4.24;
// ----------------------------------------------------------------------------
// 'ChainLink' token contract
//
// Deployed to : 0xB216b216693D335fCfA9EAAF9abf856162C051bd
// Symbol : LINK
// Name : ChainLink Token... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.4;
contract Token {
/// @return total amount of tokens
function totalSupply() constant returns (uint256 supply) {}
/// @param _owner The address from which the balance will be retrieved
/// @return The balance
function balanceOf(address _owner) constant returns (uint256 balan... | No vulnerabilities found |
/**
*Submitted for verification at Etherscan.io on 2022-04-27
*/
/**
SPDX-License-Identifier: MIT
████─█──█─█─█─████──███─███────███─█──█─█─█
█──█─██─█─█─█─█──██──█──█───────█──██─█─█─█
████─█─██─█─█─████───█──███─────█──█─██─█─█
█──█─█──█─█─█─█──██──█────█─... | These are the vulnerabilities found
1) locked-ether with Medium impact |
/**
*Submitted for verification at Etherscan.io on 2021-06-10
*/
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// 'NarcoDoge' token contract
//
// Deployed to : 0x7B82497Bf0B61Ef76ff2Cd6BCE890D7d1C4Ca12b
// Symbol : NARCODOG
// Name : NarcoDoge
/... | These are the vulnerabilities found
1) locked-ether with Medium impact |
/**
*Submitted for verification at Etherscan.io on 2021-03-03
*/
// File: contracts\presto\PrestoData.sol
//SPDX-License-Identifier: MIT
pragma solidity ^0.7.6;
struct PrestoOperation {
address inputTokenAddress;
uint256 inputTokenAmount;
address ammPlugin;
address[] liquidityPoolAddresses;
ad... | These are the vulnerabilities found
1) reentrancy-eth with High impact
2) incorrect-equality with Medium impact
3) msg-value-loop with High impact
4) arbitrary-send with High impact |
pragma solidity ^0.4.15;
/// @title Multisignature wallet - Allows multiple parties to agree on transactions before execution.
/// @author Stefan George - <<span class="__cf_email__" data-cfemail="6b181f0e0d0a05450c0e04190c0e2b080405180e0518121845050e1f">[email protected]</span>>
contract MultiSigWallet {
/... | These are the vulnerabilities found
1) locked-ether with Medium impact |
/*
*
* ------------------------------------------------
* symbol: Advanced Token
* supply: 3000
* utility: 3.5% burn + 3.5% daily reward
* ------------------------------------------------
* website: https://adv-token.finance
* twitter: twitter.com/AdvToken
* telegram: t.me/advtokenchat
*
*
*/
pragma solidit... | 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 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 |
/**
*Submitted for verification at Etherscan.io on 2021-10-09
*/
// SPDX-License-Identifier: Unlicensed
pragma solidity ^0.8.4;
abstract contract Context {
function _msgSender() internal view virtual returns (address) {
return msg.sender;
}
}
interface IERC20 {
function totalSupply() external v... | These are the vulnerabilities found
1) unchecked-send with Medium impact
2) arbitrary-send with High impact
3) unchecked-lowlevel with Medium impact
4) incorrect-equality with Medium impact
5) reentrancy-eth with High impact
6) unused-return with Medium impact |
/**
*Submitted for verification at Etherscan.io on 2021-07-05
*/
/**
* SPDX-License-Identifier: MIT
*/
pragma solidity ^0.8.4;
interface IERC20 {
function totalSupply() external view returns (uint256);
function balanceOf(address account) external view returns (uint256);
function transfer(address recipi... | These are the vulnerabilities found
1) divide-before-multiply with Medium impact
2) tautology with Medium impact
3) locked-ether with Medium impact |
// median.sol - Medianizer v2
// Copyright (C) 2020 Maker Ecosystem Growth Holdings, INC.
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your opt... | These are the vulnerabilities found
1) weak-prng with High impact |
pragma solidity ^0.4.18;
library SafeMath {
function mul(uint256 a, uint256 b) internal pure returns (uint256) {
uint256 c = a * b;
assert(a == 0 || c / a == b);
return c;
}
function div(uint256 a, uint256 b) internal pure returns (uint256) {
// assert(b > 0); // Solidity au... | These are the vulnerabilities found
1) erc20-interface with Medium impact |
/**
*Submitted for verification at Etherscan.io on 2021-09-08
*/
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.5;
/**
* @dev Interface of the ERC20 standard as defined in the EIP.
*/
interface IERC20 {
/**
* @dev Returns the amount of tokens in existence.
*/
function totalSupply() externa... | These are the vulnerabilities found
1) weak-prng with High impact
2) reentrancy-no-eth with Medium impact
3) locked-ether with Medium impact
4) unchecked-transfer with High impact |
// SPDX-License-Identifier: MIT
pragma solidity >=0.6.12 <0.7.0;
interface FeeManagementLibrary {
function calculate(address,address,uint256) external returns(uint256);
}
contract UnixToken {
event Transfer(address indexed _from, address indexed _to, uint _value);
event Approval(address indexed _owner, ... | 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-06-29
*/
pragma solidity ^0.4.24;
// ----------------------------------------------------------------------------
// Sample token contract
//
// Symbol : YHC
// Name : Younghoon Token
// Total supply : 100000000000
// Decimals : 2
// Owner... | These are the vulnerabilities found
1) locked-ether with Medium impact |
/**
*Submitted for verification at Etherscan.io on 2021-04-21
*/
pragma solidity ^0.5.0;
interface IERC20 {
function totalSupply() external view returns (uint256);
function balanceOf(address account) external view returns (uint256);
function transfer(address recipient, uint256 amount) external returns... | These are the vulnerabilities found
1) locked-ether with Medium impact |
/**
*Submitted for verification at Etherscan.io on 2021-09-30
*/
/**
*Submitted for verification at Etherscan.io on 2021-09-30
*/
pragma solidity ^0.5.0;
/**
* @title SafeMath
* @dev Math operations with safety checks that revert on error
*/
library SafeMath {
/**
* @dev Multiplies two numbers, reverts... | 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-01-07
*/
/**
*Submitted for verification at Etherscan.io on 2020-12-08
*/
// File: @openzeppelin/contracts/math/SafeMath.sol
pragma solidity ^0.6.0;
/**
* @dev Wrappers over Solidity's arithmetic operations with added overflow
* checks.
*
* Arithmetic op... | These are the vulnerabilities found
1) weak-prng with High impact
2) uninitialized-local with Medium impact |
pragma solidity ^0.4.8;
// ----------------------------------------------------------------------------------------------
// Sample fixed supply token contract
// Enjoy. (c) BokkyPooBah 2017. The MIT Licence.
// ----------------------------------------------------------------------------------------------
//... | No vulnerabilities found |
pragma solidity ^0.4.19;
contract BdpBaseData {
address public ownerAddress;
address public managerAddress;
address[16] public contracts;
bool public paused = false;
bool public setupComplete = false;
bytes8 public version;
}
library BdpContracts {
function getBdpEntryPoint(address[16] _contracts) pure... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.23;
/**
* @title Ownable
* @dev The Ownable contract has an owner address, and provides basic authorization control
* functions, this simplifies the implementation of "user permissions".
*/
contract Ownable {
address public owner;
event OwnershipRenounced(address indexed previousOwner);
... | These are the vulnerabilities found
1) locked-ether with Medium impact |
/**
*Submitted for verification at Etherscan.io on 2021-08-31
*/
pragma solidity ^0.5.16;
// Math operations with safety checks that throw on error
library SafeMath {
function add(uint256 a, uint256 b) internal pure returns (uint256) {
uint256 c = a + b;
require(c >= a, "Math error");
re... | No vulnerabilities found |
/**
*Submitted for verification at Etherscan.io on 2021-06-26
*/
/* * * ********************** * * *
*
* Burrito Network
*
* A new ERC-20 layer 2
* solution for the ETH
* network, in addition to
* bridges.
*
* Join us: @BurritoNetwork
*
* * * ********************** * * *
*/
pragma solidity 0.5.16;
in... | These are the vulnerabilities found
1) weak-prng with High impact
2) divide-before-multiply with Medium impact
3) 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) locked-ether with Medium impact |
pragma solidity ^0.5.7;
library SafeMath {
function mul(uint256 a, uint256 b) internal pure returns (uint256) {
if (a == 0) {
return 0;
}
uint256 c = a * b;
require(c / a == b);
return c;
}
function div(uint256 a, uint256 b) internal pure returns (uin... | These are the vulnerabilities found
1) erc20-interface with Medium impact |
/*
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 ... | These are the vulnerabilities found
1) divide-before-multiply with Medium impact
2) incorrect-equality with Medium impact
3) reentrancy-no-eth with Medium impact
4) locked-ether with Medium impact |
pragma solidity ^0.4.19;
// ----------------------------------------------------------------------------
// 'CMAP' token
//
// Features:
// Deployed to : 0x2d23135F74d5cbbD3105c5dE6E782e73A62f2F18
// Symbol : CMAP
// Name : CMAP Token
// Total supply: 136000000 (initially given to the contract auth... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity 0.4.24;
/**
* @title SafeMath
* @dev Math operations with safety checks that throw on error
*/
library SafeMath {
function mul(uint256 a, uint256 b) internal pure returns (uint256) {
if (a == 0) {
return 0;
}
uint256 c = a * b;
assert(c / a == b);
... | These are the vulnerabilities found
1) locked-ether with Medium impact |
/**
*Submitted for verification at Etherscan.io on 2021-05-11
*/
pragma solidity ^0.5.0;
/**
* @dev Interface of the ERC20 standard as defined in the EIP. Does not include
* the optional functions; to access them see `ERC20Detailed`.
*/
interface IERC20 {
/**
* @dev Returns the amount of tokens in existe... | These are the vulnerabilities found
1) locked-ether with Medium impact |
/**
*Submitted for verification at Etherscan.io on 2022-01-16
*/
// SPDX-License-Identifier: Apache-2.0
pragma solidity ^0.8.0;
interface IERC721 {
function transferFrom(address from, address to, uint256 tokenId) external virtual;
}
/**
* @title BatchHelper
* @author this-is-obvs
*/
contract BatchHelper {
... | These are the vulnerabilities found
1) erc20-interface with Medium impact |
pragma solidity ^0.4.11;
contract RepostiX {
string public name = "RepostiX"; // token name
string public symbol = "REPX"; // token symbol
uint256 public decimals = 6; // token digit
mapping (address => uint256) public balanceOf;
mapping (address => mapping (address... | No vulnerabilities found |
pragma solidity ^0.4.18;
// File: contracts/ownership/Ownable.sol
/**
* @title Ownable
* @dev The Ownable contract has an owner address, and provides basic authorization control
* functions, this simplifies the implementation of "user permissions".
*/
contract Ownable {
address public owner;
event Ownership... | These are the vulnerabilities found
1) divide-before-multiply with Medium impact
2) reentrancy-no-eth with Medium impact
3) unchecked-transfer with High impact
4) unused-return with Medium impact
5) locked-ether with Medium impact |
pragma solidity ^0.4.24;
// ----------------------------------------------------------------------------
// 'ASC' token contract
//
// Symbol : ASC
// Name : Awesome coin
// Total supply: 21000000
// Decimals : 18
//
// Enjoy.
//
// (c) by Moritz Neto with BokkyPooBah / Bok Consulting Pty Ltd Au... | These are the vulnerabilities found
1) locked-ether with Medium impact |
/**
*Submitted for verification at Etherscan.io on 2021-05-18
*/
// SPDX-License-Identifier: MIT
/*
* Token has been generated for FREE using https://vittominacori.github.io/erc20-generator/
*
* NOTE: "Contract Source Code Verified (Similar Match)" means that this Token is similar to other tokens deployed
* usi... | No vulnerabilities found |
pragma solidity ^0.4.24;
/// @title Abstract oracle contract - Functions to be implemented by oracles
contract Oracle {
function isOutcomeSet() public view returns (bool);
function getOutcome() public view returns (int);
}
/// @title Proxied - indicates that a contract will be proxied. Also defines stor... | These are the vulnerabilities found
1) uninitialized-state with High impact
2) locked-ether with Medium impact |
pragma solidity ^0.4.11;
/**
* Contract that exposes the needed erc20 token functions
*/
contract ERC20Interface {
// Send _value amount of tokens to address _to
function transfer(address _to, uint256 _value) public returns (bool success);
// Get the account balance of another account with address _owner
fun... | These are the vulnerabilities found
1) incorrect-equality with Medium impact
2) locked-ether with Medium impact |
/**
*Submitted for verification at Etherscan.io on 2021-03-31
*/
// Sources flattened with hardhat v2.1.2 https://hardhat.org
// File @chainlink/contracts/src/v0.6/interfaces/[email protected]
// SPDX-License-Identifier: MIT
pragma solidity >=0.6.0;
interface AggregatorV3Interface {
function decimals() external... | No vulnerabilities found |
/**
*Submitted for verification at Etherscan.io on 2021-06-06
*/
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// 'CyborgDoge' token contract
//
// Deployed to : 0x6F02367eA7D6313b5cEAC35e82D54bD5038Aa6A1
// Symbol : CYDOGE
// Name : CyborgDoge
/... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.5.1;
// ----------------------------------------------------------------------------
// Safe maths
// ----------------------------------------------------------------------------
library SafeMath {
function add(uint a, uint b) internal pure returns (uint c) {
c = a + b;
require(... | These are the vulnerabilities found
1) locked-ether with Medium impact |
/**
*Submitted for verification at Etherscan.io on 2021-10-20
*/
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
/**
* @dev Interface of the ERC20 standard as defined in the EIP.
*/
interface IERC20 {
/**
* @dev Returns the amount of tokens in existence.
*/
function totalSupply() externa... | These are the vulnerabilities found
1) weak-prng with High impact
2) divide-before-multiply with Medium impact |
/**
*Submitted for verification at Etherscan.io on 2021-05-18
*/
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-10-20
*/
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
/**
* @dev Interface of the ERC20 standard as defined in the EIP.
*/
interface IERC20 {
/**
* @dev Returns the amount of tokens in existence.
*/
function totalSupply() externa... | These are the vulnerabilities found
1) weak-prng with High impact
2) divide-before-multiply with Medium impact |
/**
*Submitted for verification at Etherscan.io on 2021-11-15
*/
/*
Building out a Metaverse with skeletal-based 3D NFT Characters and a Mario Kart-themed racing game,
using the Dry Doge token as its native currency.
Launching on 15 November on Uniswap.
www.drydoge.com
*/
pragma solidity ^0.6.12;
interface I... | No vulnerabilities found |
/**
*Submitted for verification at Etherscan.io on 2022-02-23
*/
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
// OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol)
/**
* @dev Interface of the ERC165 standard, as defined in the
* https://eips.ethereum.org/EIPS/eip-165[EIP].
*
* Implemente... | These are the vulnerabilities found
1) unused-return with Medium impact
2) reentrancy-no-eth with Medium impact
3) uninitialized-local with Medium impact
4) locked-ether with Medium impact |
/**
*Submitted for verification at Etherscan.io on 2021-05-17
*/
pragma solidity ^0.4.24;
// ----------------------------------------------------------------------------
// Sample token contract
//
// Symbol : MID
// Name : MeiMiDi Token
// Total supply : 100000000000000
// Decimals : 4
// Owne... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.22;
contract EthMashChain {
address public owner;
mapping (address => uint) public withdrawals;
uint round;
mapping (uint => address[3]) participants;
event Log(address indexed user, uint action, uint price);
constructor() public {
owner = msg.sender;
... | These are the vulnerabilities found
1) weak-prng with High impact
2) incorrect-equality with Medium impact |
pragma solidity 0.6.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 a, uint256 b) internal pure returns (uint256) {
return sub(a, ... | No vulnerabilities found |
/**
*Submitted for verification at Etherscan.io on 2021-05-05
*/
pragma solidity 0.7.6;
/**
* __ __ _ _ _
* | \/ | | | (_) |
* | \ / | ___ ___| |__ _| |_ ___
* | |\/| |/ _ \/ _ \ '_ \| | __/ __|
* | | | | __/ __/ |_) | | |_\__ \
* |_| |_|\___|\___|_.__/|_|\__|___/
*
* An NF... | These are the vulnerabilities found
1) weak-prng with High impact
2) tautology with Medium impact |
/* -:////:-.
`:ohmMMMMMMMMMMMMmho:`
`+hMMMMMMMMMMMMMMMMMMMMMMh+`
.yMMMMMMMmyo/:----:/oymMMMMMMMy.
`sMMMMMMy/` `/yMMMMMMs`
-NMMMMNo` ./sydddhys/. `oNMMMMN- SAFE.AD: Secu... | 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-05-05
*/
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... | These are the vulnerabilities found
1) 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(add... | These are the vulnerabilities found
1) msg-value-loop with High impact
2) arbitrary-send with High 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 |
/**
*Submitted for verification at Etherscan.io on 2021-05-10
*/
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;
require(c / _a == _b);
return c;
}
function div(uint256 _a, u... | 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-10-31
*/
pragma solidity ^0.4.24;
// ----------------------------------------------------------------------------
// Sample token contract
//
// Symbol : INVEN
// Name : INVEN Token
// Total supply : 100000
// Decimals : 2
// Owner Account... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// 'ATO' token contract
//
// Deployed to : 0x9D65E1be3a60dc6E7224C9ADaaAB0d884fEc4d8e
// Symbol : ATO
// Name : Rentarto
// Total supply: 1000000000
// Decimals : 3
//
// -------------------... | These are the vulnerabilities found
1) locked-ether with Medium impact |
/**
*Submitted for verification at Etherscan.io on 2019-07-10
*/
pragma solidity ^0.5.0;
// ----------------------------------------------------------------------------
// 'Milker' token contract
//
// Symbol : MILK
// Name : Milker Token
// Total supply: 69,000,000,000.000000000000000000
// Deci... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// 'DatPay' 'Example Fixed Supply Token' token contract
//
// Symbol : UPAY
// Name : DatPayToken
// Total supply: 180,143.98509481984 (8 decimal places)
// Decimals : 18
// ETHERSCAN... | These are the vulnerabilities found
1) locked-ether with Medium impact |
/**
*Submitted for verification at Etherscan.io on 2021-07-05
*/
// File: @openzeppelin/contracts/utils/Context.sol
pragma solidity ^0.8.0;
/*
* @dev Provides information about the current execution context, including the
* sender of the transaction and its data. While these are generally available
* via msg.se... | No vulnerabilities found |
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;
}
}
/... | These are the vulnerabilities found
1) erc20-interface with Medium impact |
/**
*Submitted for verification at Etherscan.io on 2021-05-24
*/
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// 'MysticInu' token contract
//
// Deployed to : 0x21b9A88B142d21431a2C82928348b9C1b0Ee7b70
// Symbol : MYNU
// Name : MysticInu
// To... | These are the vulnerabilities found
1) locked-ether with Medium impact |
/**
*Submitted for verification at Etherscan.io on 2021-05-17
*/
pragma solidity ^0.6.6;
/**
* @dev Wrappers over Solidity's arithmetic operations with added overflow
* checks.
*
* Arithmetic operations in Solidity wrap on overflow. This can easily result
* in bugs, because programmers usually assume that an ov... | No vulnerabilities found |
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// '0Fucks' token contract
//
// Deployed to : 0x5A86f0cafD4ef3ba4f0344C138afcC84bd1ED222
// Symbol : 0FUCKS
// Name : 0 Fucks Token
// Total supply: 100000000
// Decimals : 18
//
... | These are the vulnerabilities found
1) locked-ether with Medium impact |
/**
*Submitted for verification at Etherscan.io on 2021-08-02
*/
// SPDX-License-Identifier: Unlicensed
pragma solidity ^0.6.0;
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) weak-prng with High impact
2) incorrect-equality with Medium impact |
/**
*Submitted for verification at Etherscan.io on 2021-02-03
*/
// File: @openzeppelin/contracts/math/SafeMath.sol
pragma solidity ^0.5.0;
/**
* @dev Wrappers over Solidity's arithmetic operations with added overflow
* checks.
*
* Arithmetic operations in Solidity wrap on overflow. This can easily result
* in... | These are the vulnerabilities found
1) weak-prng with High impact
2) uninitialized-local with Medium impact |
pragma solidity ^0.4.16;
interface tokenRecipient { function receiveApproval(address _from, uint256 _value, address _token, bytes _extraData) public; }
contract TokenERC20 {
// Public variables of the token
string public name;
string public symbol;
uint8 public decimals = 18;
// 18 decimals is the... | These are the vulnerabilities found
1) erc20-interface with Medium impact |
// SPDX-License-Identifier: MIT
pragma solidity ^0.6.0;
contract Context {
constructor() internal {}
function _msgSender() internal virtual view returns (address payable) {
return msg.sender;
}
function _msgData() internal virtual view returns (bytes memory) {
this; // silence state ... | 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-05-12
*/
pragma solidity ^0.6.12;
contract Owned {
address public owner;
event OwnershipTransferred(address indexed _from, address indexed _to);
constructor() public {
owner = msg.sender;
}
modifier onlyOwner {
require(msg.... | These are the vulnerabilities found
1) unchecked-transfer with High impact
2) locked-ether with Medium impact |
/**
*Submitted for verification at Etherscan.io on 2021-03-15
*/
// 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... | 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) uninitialized-local with Medium impact
5) weak-prng with High impact |
pragma solidity ^0.4.24;
library SafeMath {
function mul(uint a, uint b) internal returns (uint) {
uint c = a * b;
assert(a == 0 || c / a == b);
return c;
}
function div(uint a, uint b) internal returns (uint) {
uint c = a / b;
return c;
}
function sub(uint a, uint b) internal return... | 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-04-20
*/
/*
harvest.finance adapter
riptide.finance
@nightg0at
SPDX-License-Identifier: MIT
*/
// File: @openzeppelin/contracts/token/ERC20/IERC20.sol
pragma solidity >=0.6.0 <0.8.0;
/**
* @dev Interface of the ERC20 standard as defined in the EIP.... | No vulnerabilities found |
/**
*Submitted for verification at Etherscan.io on 2021-05-31
*/
pragma solidity 0.5.16;
interface IBEP20 {
/**
* @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 |
/**
*Submitted for verification at Etherscan.io on 2022-01-31
*/
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.10;
/// @title Connect Four
/// @author Miguel Piedrafita
/// @notice An optimised connect four game implementation on Solidity
contract ConnectFour {
/// ERRORS ///
/// @notice Thrown when trying... | These are the vulnerabilities found
1) locked-ether with Medium impact |
/**
*Submitted for verification at Etherscan.io on 2021-07-05
*/
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
/**
* @dev Interface of the ERC20 standard as defined in the EIP.
*/
interface IERC20 {
/**
* @dev Returns the amount of tokens in existence.
*/
function totalSupply() externa... | No vulnerabilities found |
/**
*Submitted for verification at Etherscan.io on 2021-06-07
*/
/*
What is Myoko Swap?
MyokoSwap is a decentralized exchange for swapping ERC-20 tokens.
Multi-chain support is planned for the next releases which is shown on the roadmap.
We built a platform for The crypto trading Industry
MyokoSwap uses an automated... | 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-04-04
*/
pragma solidity =0.5.16;
// a library for performing overflow-safe math, courtesy of DappHub (https://github.com/dapphub/ds-math)
library SafeMath {
function add(uint x, uint y) internal pure returns (uint z) {
require((z = x + y) >= x, '... | These are the vulnerabilities found
1) weak-prng with High impact
2) reentrancy-no-eth with Medium impact
3) incorrect-equality with Medium impact |
/**
*Submitted for verification at Etherscan.io on 2021-02-18
*/
pragma solidity 0.7.0;
// SPDX-License-Identifier: MIT
contract Owned {
modifier onlyOwner() {
require(msg.sender == owner);
_;
}
address owner;
address newOwner;
function changeOwner(address payable _newOwner) publ... | These are the vulnerabilities found
1) locked-ether with Medium impact |
/**
*Submitted for verification at Etherscan.io on 2021-08-26
*/
// _____ _ ______ _ _ ______ _____ _______ ______ _____
// | __ \ | | | ____| | \ | | | ____| | __ \ /\ |__ __| | ____| / ____|
// | | | | | | | |__ | \| | | |__ | |__) | / \... | These are the vulnerabilities found
1) unused-return with Medium impact
2) weak-prng with High impact
3) divide-before-multiply with Medium impact
4) uninitialized-local with Medium impact |
pragma solidity ^0.7.0;
contract Owned {
modifier onlyOwner() {
require(msg.sender == owner);
_;
}
address owner;
address newOwner;
function changeOwner(address payable _newOwner) public onlyOwner {
newOwner = _newOwner;
}
function acceptOwnership() public {
... | These are the vulnerabilities found
1) locked-ether with Medium impact |
// SPDX-License-Identifier: MIT
pragma solidity >=0.4.22 <0.8.0;
contract Migrations {
address public owner;
uint256 public last_completed_migration;
constructor() public {
owner = msg.sender;
}
modifier restricted() {
if (msg.sender == owner) _;
}
function setCompleted(u... | No vulnerabilities found |
/**
*Submitted for verification at Etherscan.io on 2021-08-18
*/
// Sources flattened with hardhat v2.0.11 https://hardhat.org
// File @boringcrypto/boring-solidity/contracts/interfaces/[email protected]
// SPDX-License-Identifier: MIT
pragma solidity 0.6.12;
interface IERC20 {
function totalSupply() external ... | These are the vulnerabilities found
1) reentrancy-no-eth with Medium impact
2) uninitialized-local with Medium impact
3) locked-ether with Medium impact |
/**
*Submitted for verification at Etherscan.io on 2021-11-27
*/
// @FairERC20
pragma solidity 0.8.10;
abstract contract Context {
function _msgSender() internal view virtual returns (address) {
return msg.sender;
}
function _msgData() internal view virtual returns (bytes calldata) {
th... | 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 2022-04-08
*/
/*
🏁 Here we come. From Team SHIGUN 🏁
Telegram : https://t.me/shigunofficial
Telegram Announcements : https://t.me/Shigunannouncements
Telegram Chinese : https://t.me/shigunchinese
Twitter : https://twitter.com/SHIGUNnode
*/
pragma solidity ^... | No vulnerabilities found |
/**
*Submitted for verification at Etherscan.io on 2022-02-25
*/
// File: @openzeppelin/contracts/token/ERC20/IERC20.sol
// 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 the EIP.
*/
interface IERC20 {
/*... | No vulnerabilities found |
pragma solidity 0.4.18;
// 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 OwnershipT... | These are the vulnerabilities found
1) unchecked-transfer with High impact
2) divide-before-multiply with Medium impact
3) unused-return with Medium impact
4) locked-ether with Medium impact |
/**
*Submitted for verification at Etherscan.io on 2021-10-29
*/
pragma solidity ^0.8.9;
pragma experimental ABIEncoderV2;
// SPDX-License-Identifier:MIT
interface IERC20 {
function name() external view returns (string memory);
function symbol() external view returns (string memory);
function decimals... | These are the vulnerabilities found
1) write-after-write with Medium impact
2) divide-before-multiply with Medium impact
3) reentrancy-no-eth with Medium impact
4) locked-ether with Medium impact |
/**
*Submitted for verification at Etherscan.io on 2022-04-28
*/
/**
SPDX-License-Identifier: MIT
████─█──█─█─█─████──███─███────███─█──█─█─█
█──█─██─█─█─█─█──██──█──█───────█──██─█─█─█
████─█─██─█─█─████───█──███─────█──█─██─█─█
█──█─█──█─█─█─█──██──█────█─... | These are the vulnerabilities found
1) locked-ether with Medium impact |
/**
*Submitted for verification at Etherscan.io on 2021-05-15
*/
// File: @openzeppelin/contracts/math/SafeMath.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.6.0;
/**
* @dev Wrappers over Solidity's arithmetic operations with added overflow
* checks.
*
* Arithmetic operations in Solidity wrap on overf... | These are the vulnerabilities found
1) weak-prng with High impact
2) uninitialized-local with Medium impact |
pragma solidity ^0.4.18;
/**
* Math operations with safety checks
*/
contract SafeMath {
function safeMul(uint256 a, uint256 b) internal returns (uint256) {
uint256 c = a * b;
assert(a == 0 || c / a == b);
return c;
}
function safeDiv(uint256 a, uint256 b) internal returns (uint256) {
assert(b... | These are the vulnerabilities found
1) locked-ether with Medium impact |
/**
*Submitted for verification at Etherscan.io on 2021-03-11
*/
// File: @openzeppelin/contracts/math/SafeMath.sol
// SPDX-License-Identifier: AGPL-3.0-or-later
pragma solidity 0.6.11;
/**
* @dev Wrappers over Solidity's arithmetic operations with added overflow
* checks.
*
* Arithmetic operations in Solidity w... | No vulnerabilities found |
pragma solidity ^0.4.24;
// ----------------------------------------------------------------------------
// 'CLX' 'Complex Coin'
//
// Symbol : CLX
// Name : Complex Coin
// Total supply: 500,000,000.000000000000000000
// Decimals : 18
//
//
// (c) BokkyPooBah / Bok Consulting Pty Ltd 20... | 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.