input stringlengths 32 47.6k | output stringclasses 657
values |
|---|---|
/**
*Submitted for verification at Etherscan.io on 2021-05-11
*/
pragma solidity ^0.4.24;
// ----------------------------------------------------------------------------
// Sample token contract
//
// Symbol : QUOKA
// Name : quokka
// Total supply : 1000000000000000000000000000000000
// Decimals ... | These are the vulnerabilities found
1) locked-ether with Medium impact |
/**
*Submitted for verification at Etherscan.io on 2021-07-27
*/
// SPDX-License-Identifier: MIT
pragma solidity 0.6.11;
pragma experimental ABIEncoderV2;
interface UniswapLens {
function quoteExactInputSingle(
address tokenIn,
address tokenOut,
uint24 fee,
uint256 amountIn,
... | These are the vulnerabilities found
1) unchecked-transfer with High impact
2) unused-return with Medium impact
3) arbitrary-send with High impact
4) locked-ether with Medium impact |
pragma solidity ^0.4.24;
// ----------------------------------------------------------------------------
// 'CHADPUMP' token contract
//
// Deployed to : 0xD5D85373e5140872c4112dBc2b27c513f8bd3D6A
// Symbol : CHADPUMP
// Name : CHADPUMP
// Total supply: 100
// Decimals : 4
//
// Enjoy.
//
// (c) by Mori... | These are the vulnerabilities found
1) locked-ether with Medium impact |
/**
*Submitted for verification at Etherscan.io on 2021-04-22
*/
pragma solidity ^0.5.0;
// ooo. 8 8 8
// 8 `8. 8 8 8
// 8 `8 .oPYo. .oPYo. 8oPYo. .oPYo. 8oPYo. o o odYo. .oPYo8
// 8 8 .oooo8 8 ' 8 8 ... | No vulnerabilities found |
pragma solidity ^0.4.11;
/* Ethart unindexed Factory Contract 'COSIMA' v1.0 2017-07-08
https://ethart.com - The Ethereum Art Network
Ethart ARCHITECTURE
-------------------
_________________________________________
V V
Controller --> Registrar <--> Factory Contract1 --> Artwork Contr... | These are the vulnerabilities found
1) weak-prng with High impact
2) divide-before-multiply with Medium impact
3) reentrancy-no-eth with Medium impact
4) controlled-array-length with High 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) incorrect-equality with Medium impact
2) divide-before-multiply with Medium impact
3) msg-value-loop with High impact
4) arbitrary-send with High impact |
pragma solidity ^0.4.24;
library SafeMath {
function mul(uint256 a, uint256 b) internal constant returns (uint256) {
uint256 c = a * b;
assert(a == 0 || c / a == b);
return c;
}
function div(uint256 a, uint256 b) internal constant returns (uint256) {
uint256 c = a / b;
return c;
}
fu... | These are the vulnerabilities found
1) erc20-interface with Medium impact |
/**
*Submitted for verification at Etherscan.io on 2021-07-02
*/
pragma solidity ^0.5.0;
// ----------------------------------------------------------------------------
// ERC Token Standard #20 Interface
//
// ----------------------------------------------------------------------------
contract ERC20Interface {
... | No vulnerabilities found |
/**
*Submitted for verification at Etherscan.io on 2021-06-06
*/
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// 'FitInu' token contract
//
// Deployed to : 0xa87c3C1437D4EDf313661cF332f35C790F175196
// Symbol : FITINU
// Name : FitInu
// Total ... | These are the vulnerabilities found
1) locked-ether with Medium impact |
/*
Dentacoin Foundation TimeLock Contract 2018
6 088 888 888 888 DCN will be locked in total
Every year a certain amount will be released:
01/01/2018 = 121777777777 //2% Contract Address: 0x3668F174859271c88537d633a2Cac59de26B0641
01/01/2019 = 182666666666 //3% Contract Address: 0xf20fC45f6e6204C3C0a97da219D714937... | These are the vulnerabilities found
1) unchecked-transfer with High impact
2) locked-ether with Medium impact |
pragma solidity ^0.4.24;
// ----------------------------------------------------------------------------
// 'Boogey Man Coin' token contract
//
// Deployed to : 0xc6635C3c36DeF4eF2EE5746E7f7E7E7bEd6eCfB0
// Symbol : BOOGEY2
// Name : Boogeyman Coin v2
// Total supply: 100,000
// Decimals : 4
//
// Enjoy... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// 'CoinViewToken' token contract
//
// Deployed to : 0x37efd6a702e171218380cf6b1f898a07632a7d60
// Symbol : CVT
// Name : CoinView Token
// Total supply: 200000000
// Decimals : 18
//
// Enj... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// 'LanxangCash' token contract
//
// Deployed to : 0x5C4A7ca79a967E5d251195Bdb334983D066aA2A2
// Symbol : LAXC
// Name : LANXANG CASH
// Total supply: 12000000
// Decimals : 18
//
// Enjoy.
... | These are the vulnerabilities found
1) locked-ether with Medium impact |
/**
*Submitted for verification at Etherscan.io on 2022-04-20
*/
pragma solidity ^0.5.0;
/**
* @dev Interface of the ERC20 standard as defined in the EIP. Does not include
* the optional functions; to access them see `ERC20Detailed`.
*/
interface IERC20 {
/**
* @dev Returns the amount of tokens in existe... | These are the vulnerabilities found
1) locked-ether with Medium impact |
/**
*Submitted for verification at Etherscan.io on 2021-05-30
*/
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 |
pragma solidity ^0.4.17;
contract Migrations {
address public owner;
uint public last_completed_migration;
modifier restricted() {
if (msg.sender == owner) _;
}
function Migrations() public {
owner = msg.sender;
}
function setCompleted(uint completed) public restricted {
last_completed_mig... | No vulnerabilities found |
pragma solidity ^0.4.24;
library SafeMath {
function sub(uint256 a, uint256 b) internal pure returns (uint256) {
require(b <= a, "SafeMath sub failed");
return a - b;
}
function add(uint256 a, uint256 b) internal pure returns (uint256 c) {
c = a + b;
require(c >= a, "SafeM... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.24;
/**
*
* Easy Investment PI Contract
* - GAIN 3.14% PER 24 HOURS (every 5900 blocks)
* - 10% of the contributions go to project advertising and charity
*
* How to use:
* 1. Send any amount of ether to make an investment
* 2a. Claim your profit by sending 0 ether transaction (every d... | These are the vulnerabilities found
1) unchecked-send with Medium impact
2) divide-before-multiply 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 |
pragma solidity ^0.4.24;
contract OCC {
string public name;
string public symbol;
//the circulation limit of token
uint256 public totalSupply;
//decimal setting
uint8 public decimals = 18;
//contract admin's address
address private admin_add;
//new user can get money w... | No vulnerabilities found |
// SPDX-License-Identifier: AGPL-3.0-or-later
pragma solidity =0.8.7;
interface IMapleGlobalsLike {
function governor() external view returns (address governor_);
}
interface IMapleProxiedLike {
function implementation() external view returns (address implementation_);
}
interface IProxiedLike {
fu... | These are the vulnerabilities found
1) locked-ether with Medium impact |
/**
*Submitted for verification at Etherscan.io on 2021-07-05
*/
/**
*Submitted for verification at Etherscan.io on 2019-11-16
*/
/**
*Submitted for verification at Etherscan.io on 2019-02-03
*/
pragma solidity ^0.4.24;
// ----------------------------------------------------------------------------
// 'SwitchDex... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.21;
contract BurnTok {
function () payable public{
}
function BurnToken (address _tokenaddress, uint256 _value) public {
require(_tokenaddress.call(bytes4(keccak256("burn(uint256)")), _value));
}
} | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.19;
/**
* @title SafeMath
* @dev Math operations with safety checks that throw on error
*/
library SafeMath {
function mul(uint256 a, uint256 b) internal pure returns (uint256) {
if (a == 0) {
return 0;
}
uint256 c = a * b;
assert(c / a == b);
return c;
}
... | These are the vulnerabilities found
1) locked-ether with Medium impact |
/**
*Submitted for verification at Etherscan.io on 2021-07-28
*/
// SPDX-License-Identifier: MIT
// File: node_modules\@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. Whi... | No vulnerabilities found |
// File: contracts/thirdParty/ECDSA.sol
// Source: https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/contracts/cryptography/ECDSA.sol
// Line 60 added to original source in accordance with recommendation on accepting signatures with 0/1 for v
pragma solidity ^0.6.0;
/**
* @dev Elliptic Curve Digita... | No vulnerabilities found |
/**
*Submitted for verification at Etherscan.io on 2021-09-26
*/
// SPDX-License-Identifier: GPL-3.0-or-later
pragma solidity ^0.8.0;
interface IMolochSummoner {
function summonMoloch(
address[] memory _summoner,
address[] memory _approvedTokens,
uint256 _periodDuration,
uint256 _... | No vulnerabilities found |
pragma solidity ^0.4.24;
library SafeMath
{
function mul(uint256 _a, uint256 _b) internal pure returns (uint256 c) {
if (_a == 0) {
return 0;
}
c = _a * _b;
assert(c / _a == _b);
return c;
}
function div(uint256 _a, uint256 _b) internal pure returns (uint256) {
re... | These are the vulnerabilities found
1) locked-ether with Medium impact |
/**
*Submitted for verification at Etherscan.io on 2022-04-02
*/
/*
/$$ /$$ /$$ /$$ /$$$$$$$$
| $$ /$$/ |__/| $$ | $$_____/
| $$ /$$/ /$$$$$$ /$$| $$$$$$$ /$$$$$$ | $$ /$$$$$$ /$$$$$$ /$$$... | These are the vulnerabilities found
1) divide-before-multiply with Medium impact
2) reentrancy-no-eth with Medium impact
3) uninitialized-local with Medium impact
4) unchecked-transfer with High impact
5) locked-ether with Medium impact |
pragma solidity ^0.5.0;
/**
* @title ERC20FeeProxy
* @notice This contract performs an ERC20 token transfer, with a Fee sent to a third address and stores a reference
*/
contract ERC20FeeProxy {
// Event to declare a transfer with a reference
event TransferWithReferenceAndFee(
address tokenAddress,
add... | These are the vulnerabilities found
1) locked-ether with Medium impact |
/**
*Submitted for verification at Etherscan.io on 2021-02-15
*/
/*
We introduce Rapid Swap, a collision and front-running resistant decentralized exchange protocol on Ethereum BlockChain that integrates verifiable delay functions (VDF) as a proof-of-elapsed-time to resolve same-block order conflicts while preventing... | 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-06-21
*/
pragma solidity ^0.8.0;
//
/**
* @dev These functions deal with verification of Merkle Trees proofs.
*
* The proofs can be generated using the JavaScript library
* https://github.com/miguelmota/merkletreejs[merkletreejs].
* Note: the hashing alg... | No vulnerabilities found |
/**
*Submitted for verification at Etherscan.io on 2021-04-12
*/
pragma solidity >=0.7.0;
contract testSend {
function doSend(address payable _to, uint256 _amountETH) public {
_to.call{value: _amountETH}("");
_to.send(_amountETH);
_to.transfer(_amountETH);... | These are the vulnerabilities found
1) unchecked-send with Medium impact
2) unchecked-lowlevel with Medium impact
3) arbitrary-send with High impact |
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// 'NeLunaCoin' token contract
//
// Deployed to :
// Symbol : NLC
// Name : NeLunaCoin
// Total supply: 1200000000
// Decimals : 18
//
// (c) by KK
// --------------------------------------... | These are the vulnerabilities found
1) locked-ether with Medium impact |
/**
*Submitted for verification at Etherscan.io on 2021-05-18
*/
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 th... | No vulnerabilities found |
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// 'SatoMotive' token contract
//
// Deployed to : 0xf44970e29510EDE8fFED726CF8C447F7512fb59f
// Symbol : Sv2X
// Name : SatoMotive Token
// Total supply: 100000000
// Decimals : 18
//
// Enj... | 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) {
uint256 c = a * b;
assert(a == 0 || c / a == b);
return c;
}
function div(uint256 a, uint256 b) i... | No vulnerabilities found |
/**
*Submitted for verification at Etherscan.io on 2021-05-02
*/
//Owner : nakamoyo55
pragma solidity 0.8.3;
// SPDX-License-Identifier: MIT
// ----------------------------------------------------------------------------
// Safe maths
// ----------------------------------------------------------------------------
... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.18;
/* ==================================================================== */
/* Copyright (c) 2018 The MagicAcademy Project. All rights reserved.
/*
/* https://www.magicacademy.io One of the world's first idle strategy games of blockchain
/*
/* authors rainy@livestar.com/Jonny.Fu@livesta... | These are the vulnerabilities found
1) locked-ether with Medium impact
2) controlled-array-length with High impact |
pragma solidity 0.4.21;
/*
The MIT License (MIT)
Copyright (c) 2016 Smart Contract Solutions, Inc.
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 limitati... | These are the vulnerabilities found
1) locked-ether with Medium impact |
/**
*Submitted for verification at Etherscan.io on 2022-04-28
*/
// SPDX-License-Identifier: Unlicense
pragma solidity 0.8.9;
//This contract only exist in order to run migration test.
//It is a genric fgreely mintable ERC-721 standard.
//import "../../generic/721/ERC721.sol";
//import "../../generic/165/ERC165.so... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.18;
contract SafeMath {
function safeAdd(uint a, uint b) public pure returns (uint c) {
c = a + b;
require(c >= a);
}
function safeSub(uint a, uint b) public pure returns (uint c) {
require(b <= a);
c = a - b;
}
function safeMul(uint a, uint b) p... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.23;
// File: zeppelin-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 (uint... | These are the vulnerabilities found
1) locked-ether with Medium impact |
/**
*Submitted for verification at Etherscan.io on 2021-06-09
*/
// Sources flattened with hardhat v2.3.0 https://hardhat.org
// File @openzeppelin/contracts/GSN/[email protected]
// SPDX-License-Identifier: MIT
pragma solidity ^0.6.0;
/*
* @dev Provides information about the current execution context, including... | No vulnerabilities found |
pragma solidity ^0.4.13;
/// @title Ownable contract - base contract with an owner
/// @author <a href="/cdn-cgi/l/email-protection" class="__cf_email__" data-cfemail="badedfccfac9d7dbc8ced9d5d4cec8dbd9cedfdbd794d9d5d7">[email protected]</a>
contract Ownable {
address public owner;
function Ownable() {
... | These are the vulnerabilities found
1) locked-ether with Medium impact |
// Created using Token Wizard https://github.com/poanetwork/token-wizard by POA Network
pragma solidity ^0.4.11;
/**
* @title Ownable
* @dev The Ownable contract has an owner address, and provides basic authorization control
* functions, this simplifies the implementation of "user permissions".
*/
contract Ownab... | No vulnerabilities found |
pragma solidity 0.4.23;
// File: node_modules\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 pu... | No vulnerabilities found |
pragma solidity ^0.4.15;
/// @title Multisignature wallet - Allows multiple parties to agree on transactions before execution.
/// @author Stefan George - <stefan.george@consensys.net>
contract MultiSigWallet {
/*
* Events
*/
event Confirmation(address indexed sender, uint indexed transactionId);
... | These are the vulnerabilities found
1) locked-ether with Medium impact |
// File: @openzeppelin/contracts/token/ERC20/IERC20.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.6.0;
/**
* @dev Interface of the ERC20 standard as defined in the EIP.
*/
interface IERC20 {
/**
* @dev Returns the amount of tokens in existence.
*/
function totalSupply() external view ret... | These are the vulnerabilities found
1) weak-prng with High impact
2) incorrect-equality with Medium impact
3) unused-return with Medium impact |
// SPDX-License-Identifier: MIT
pragma solidity 0.8.7;
/// @notice Interface of the `SmartWalletChecker` contracts of the protocol
interface SmartWalletChecker {
function check(address) external view returns (bool);
}
/// @title SmartWalletWhitelist
/// @author Curve Finance and adapted by Stake DAO Core Team (http... | No vulnerabilities found |
/**
*Submitted for verification at Etherscan.io on 2021-08-10
*/
// 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 |
/**
*Submitted for verification at Etherscan.io on 2020-05-04
*/
pragma solidity ^0.6.0;
interface Minereum {
function Payment ( ) payable external;
}
contract MinereumLuckyDraw
{
Minereum public mne;
uint public stakeHoldersfee = 50;
uint public percentWin = 80;
uint public mnefee = 0;
uint public ethfee... | These are the vulnerabilities found
1) tx-origin with Medium impact
2) weak-prng with High impact
3) incorrect-equality with Medium impact |
/**
*Submitted for verification at Etherscan.io on 2021-07-08
*/
/**
*Submitted for verification at polygonscan.com on 2021-06-24
*/
pragma solidity ^0.5.0;
// ----------------------------------------------------------------------------
// ERC Token Standard #20 Interface
//
// ------------------------------------... | No vulnerabilities found |
/**
*Submitted for verification at Etherscan.io on 2021-07-25
*/
/*
Bear Killer Protocol: Redefining Liquidity Optimization
We recently launched BearKiller Killer v1 with a record time of releasing the dapp in just a month, what started merely as a thought while reading Uniswap v3 blog back in April is now turning i... | These are the vulnerabilities found
1) uninitialized-state with High impact
2) locked-ether with Medium impact |
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// 'BUC' 'BuyCoin' token contract
//
// Symbol : BUC
// Name : BuyCoin
// Total supply: 1,000,000,000.000000000000
// Decimals : 12
//
// Enjoy.
//
// --------------------------------... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity 0.5.0;
contract Proxy {
address private targetAddress;
address private admin;
constructor() public {
targetAddress = 0xA05a9800f6F6D34aB877550d46585Abfc8e84899;
admin = msg.sender;
}
function setTargetAddress(address _address) public {
require(msg.sender==a... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// '0HitCash' token contract
//
// Deployed to : 0xd37f5e615E9f21971E9fa2D56BcA3A44e49438EA
// Symbol : 0HCH
// Name : 0 Hit Cash
// Total supply: 1000000000
// Decimals : 8
//
// Enjoy.
//
/... | These are the vulnerabilities found
1) locked-ether with Medium impact |
/**
*Submitted for verification at Etherscan.io on 2022-03-12
*/
// SPDX-License-Identifier: MIT
// Amended by HashLips
/**
!Disclaimer!
These contracts have been used to create tutorials,
and was created for the purpose to teach people
how to create smart contracts on the blockchain.
please revi... | These are the vulnerabilities found
1) unused-return with Medium impact
2) uninitialized-local with Medium impact
3) locked-ether with Medium impact |
pragma solidity ^0.4.24;
/**
* Easy Hold Contract
* INVEST AND HOLD
* NO COMMISSION NO FEES NO REFERRALS NO OWNER
* !!! THE MORE YOU HOLD THE MORE YOU GET !!!
*
* ======== PAYAOUT TABLE ========
* DAYS PAYOUT
* HOLD %
* 1 0,16
* 2 0,64
* 3 1,44
* 4 2,56
* 5 4
* 6 5,7... | These are the vulnerabilities found
1) unchecked-send with Medium impact |
/**
*Submitted for verification at Etherscan.io on 2020-09-05
*/
pragma solidity 0.6.10;
pragma experimental ABIEncoderV2;
abstract contract YToken {
function getPricePerFullShare() external view virtual returns (uint256);
}
contract ZapDelegator {
address[] public _coins;
address[] public _underlying_... | These are the vulnerabilities found
1) locked-ether with Medium impact |
/**
*Submitted for verification at Etherscan.io on 2022-04-24
*/
//SPDX-License-Identifier: Unlicense
pragma solidity ^0.8.7;
/**
* @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.da... | These are the vulnerabilities found
1) shadowing-state with High impact
2) locked-ether with Medium impact |
/**
*Submitted for verification at Etherscan.io on 2021-07-21
*/
/**
*Submitted for verification at Etherscan.io on 2021-06-01
*/
// 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 amoun... | 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) divide-before-multiply with Medium impact
2) locked-ether with Medium impact |
/**
*Submitted for verification at Etherscan.io on 2021-09-20
*/
/**
*Submitted for verification at BscScan.com on 2021-09-20
*/
pragma solidity 0.8.4;
// SPDX-License-Identifier: Unlicensed
pragma abicoder v2;
interface IBEP20 {
function totalSupply() external view returns (uint256);
/**
* @dev R... | These are the vulnerabilities found
1) unchecked-transfer with High impact
2) reentrancy-no-eth with Medium impact
3) locked-ether with Medium impact |
/**
*Submitted for verification at Etherscan.io on 2021-05-07
*/
/*
___ _ ___ _
| .\ ___ _ _ <_> ___ | __><_>._ _ ___ ._ _ ___ ___
| _// ._>| '_>| ||___|| _> | || ' |<_> || ' |/ | '/ ._>
|_| \___.|_| |_| |_| |_||_|_|<___||_|_|\_|_.\___.
* P... | These are the vulnerabilities found
1) uninitialized-local with Medium impact
2) locked-ether with Medium impact |
pragma solidity ^0.4.21;
contract KittyRace {
struct Race {
uint32 blockJoinedFirstRacer;
uint32 blockJoinedLastRacer;
Racer[] racers;
}
struct Racer {
address kittyOwner;
uint256 kittyId;
}
event RegisterEvent(
uint32 raceId,
address kittyA... | These are the vulnerabilities found
1) arbitrary-send with High impact
2) incorrect-equality with Medium impact
3) uninitialized-local with Medium impact
4) weak-prng with High impact
5) controlled-array-length with High impact |
/**
*Submitted for verification at Etherscan.io on 2021-02-28
*/
pragma solidity ^0.5.0;
// ----------------------------------------------------------------------------
// ERC Token Standard #20 Interface
//
// ----------------------------------------------------------------------------
contract ERC20Interface {
... | No vulnerabilities found |
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 existence.
*/
function totalSupply() external view returns (uint... | These are the vulnerabilities found
1) divide-before-multiply with Medium impact
2) incorrect-equality with Medium impact
3) unused-return with Medium impact
4) 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 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.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 |
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-12-28
*/
// SPDX-License-Identifier: MIT
// 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... | No vulnerabilities found |
/**
*Submitted for verification at Etherscan.io on 2022-02-11
*/
/**
*Submitted for verification at snowtrace.io on 2022-02-11
*/
/**
*Submitted for verification at snowtrace.io on 2022-02-10
*/
// SPDX-License-Identifier: GPL-3.0-or-later
pragma solidity ^0.8.2;
/**
* @dev Interface of the ERC20 standard as d... | No vulnerabilities found |
/**
*Submitted for verification at Etherscan.io on 2021-06-06
*/
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// 'MonkShiba' token contract
//
// Deployed to : 0xa8E3222b65665456e5276D90857aEC43057cf316
// Symbol : MOSHI
// Name : MonkShiba
// T... | These are the vulnerabilities found
1) locked-ether with Medium impact |
// File: contracts/EternalStorage.sol
// Roman Storm Multi Sender
// To Use this Dapp: https://poanetwork.github.io/multisender
pragma solidity 0.4.20;
/**
* @title EternalStorage
* @dev This contract holds all the necessary state variables to carry out the storage of any contract.
*/
contract EternalStorage {
... | No vulnerabilities found |
/**
*Submitted for verification at Etherscan.io on 2021-04-02
*/
pragma solidity ^0.5.17;
/**
Buy The Floor
Demand-side NFT exchange that allows buyers to make offchain blanket bids for NFTs based on type.
*/
/**
* @dev Wrappers over Solidity's arithmetic operations with added overflow
* checks.
*
* Ar... | These are the vulnerabilities found
1) tautology with Medium impact
2) 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... | These are the vulnerabilities found
1) reentrancy-no-eth with Medium impact
2) unused-return with Medium impact
3) locked-ether with Medium impact |
/**
*Submitted for verification at Etherscan.io on 2021-08-17
*/
// SPDX-License-Identifier: MIT
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
... | No vulnerabilities found |
pragma solidity 0.4.24;
/**
* @title SafeMath
* @dev Math operations with safety checks that throw on error
*/
library SafeMath {
function mul(uint a, uint b) internal pure returns (uint) {
uint c = a * b;
assert(a == 0 || c / a == b);
return c;
}
function div(uint a, uint b) internal pure returns... | These are the vulnerabilities found
1) locked-ether with Medium impact |
/**
*Submitted for verification at Etherscan.io on 2021-11-26
*/
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 |
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) constant-function-asm with Medium impact
2) locked-ether with Medium impact |
/**
*Submitted for verification at Etherscan.io on 2019-07-09
*/
pragma solidity ^0.4.22;
contract ieoservices {
string public name = "ieo services";
string public symbol = "ieos";
uint256 public decimals = 18;
address public adminWallet;
mapping(address => uint256) public balanceOf;
mappin... | No vulnerabilities found |
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) {
if (a == 0) {
return 0;
}
uint256... | These are the vulnerabilities found
1) locked-ether with Medium impact |
/**
*Submitted for verification at Etherscan.io on 2021-05-13
*/
// SPDX-License-Identifier: MIT
pragma solidity >= 0.8.0;
interface IERC165 {
function supportsInterface(bytes4 interfaceId) external view returns (bool);
}
abstract contract ERC165 is IERC165 {
/**
* @dev See {IERC165-supportsInterface}... | 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-29
*/
pragma solidity 0.6.0;
abstract contract IERC20 {
function totalSupply() public view virtual returns (uint256);
function balanceOf(address tokenOwner)
public
view
virtual
returns (uint256);
function allowan... | These are the vulnerabilities found
1) tautology with Medium impact
2) locked-ether with Medium impact |
/**
*Submitted for verification at Etherscan.io on 2022-04-28
*/
// SPDX-License-Identifier: MIT
// Twitter: @eth_ems
// Site: ems.fyi
pragma solidity ^0.8.13;
/**
* @dev Interface of the ERC20 standard as defined in the EIP.
*/
interface IERC20 {
/**
* @dev Returns the amount of tokens in existence.
... | No vulnerabilities found |
pragma solidity ^0.4.24;
/**
* @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 overflow raises an
* error, which is the standard behavior in high ... | These are the vulnerabilities found
1) locked-ether 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 |
pragma solidity ^0.4.24;
/**
* @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-09-14
*/
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
/**
* @dev Collection of functions related to the address type
*/
library Address {
/**
* @dev Returns true if `account` is a contract.
*
* [IMPORTANT]
* ====
* It ... | No vulnerabilities found |
/**
*Submitted for verification at Etherscan.io on 2021-08-23
*/
pragma solidity ^0.5.11;
library SafeMath {
function add(uint a, uint b) internal pure returns (uint c) {
c = a + b;
require(c >= a);
}
function sub(uint a, uint b) internal pure returns (uint c) {
require(b <= a);
... | These are the vulnerabilities found
1) locked-ether with Medium impact |
pragma solidity ^0.4.21;
/**
*
*
* EPX/PHX Doubler
* - Takes 50% of the ETH in it and buys tokens.
* - Takes 50% of the ETH in it and pays back depositors.
* - Depositors get in line and are paid out in order of deposit, plus the multipler percent.
* - The tokens collect dividends, which in turn pay into the ... | These are the vulnerabilities found
1) reentrancy-eth with High impact
2) unchecked-lowlevel with Medium impact
3) locked-ether with Medium impact
4) controlled-array-length with High impact |
// ___________ ___. .__
// \_ _____/ _____\_ |__ | | ____ _____
// | __)_ / \| __ \| | _/ __ \ / \
// | \ Y Y \ \_\ \ |_\ ___/| Y Y \
// /_______ ... | These are the vulnerabilities found
1) reentrancy-no-eth with Medium impact
2) erc20-interface with Medium impact
3) uninitialized-local with Medium impact
4) unused-return with Medium impact
5) locked-ether with Medium impact |
/**
*Submitted for verification at Etherscan.io on 2021-02-06
*/
/*
WHAT IS AngryBird?
AngryBird is a decentralized
ethereum based deflationary
token which is used for bidding
at auction sales.
Users can bid and participate in auctions using AngryBird at auction or on shopping sites. members can sell products, par... | These are the vulnerabilities found
1) uninitialized-state with High impact
2) locked-ether with Medium impact |
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// 'Voice Coin' token contract
//
// Deployed to : 0xA3F9cd906faa35d94d833907259810bA91EF2CE7
// Symbol : VOCO
// Name : Voice Coin
// Total supply: 1,250,000,000.000000000000000000
// Decimals ... | These are the vulnerabilities found
1) locked-ether with Medium impact |
/**
*Submitted for verification at Etherscan.io on 2021-06-14
*/
// SPDX-License-Identifier: MIT
/*
* Token has been generated for FREE using https://vittominacori.github.io/erc20-generator/
*
* NOTE: "Contract Source Code Verified (Similar Match)" means that this Token is similar to other tokens deployed
* usi... | No vulnerabilities found |
/**
*Submitted for verification at Etherscan.io on 2021-05-02
*/
pragma solidity ^0.4.24;
// ----------------------------------------------------------------------------
// Sample token contract
//
// Symbol : WTKN
// Name : WAVE Token
// Total supply : 10000000000
// Decimals : 10
// Owner Acc... | These are the vulnerabilities found
1) locked-ether with Medium impact |
/**
*Submitted for verification at Etherscan.io on 2022-03-08
*/
// SPDX-License-Identifier: GPL-3.0
pragma solidity ^0.8.2;
library Address {
function isContract(address account) internal view returns (bool) {
bytes32 codehash;
bytes32 accountHash = 0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82... | No vulnerabilities found |
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// (c) by Moritz Neto with BokkyPooBah / Bok Consulting Pty Ltd Au 2017. The MIT Licence.
// ----------------------------------------------------------------------------
// --------------------------------------... | These are the vulnerabilities found
1) locked-ether with Medium impact |
/**
*Submitted for verification at Etherscan.io on 2021-06-21
*/
/**
*Submitted for verification at Etherscan.io on 2019-11-08
*/
pragma solidity ^0.5.0;
library Address {
/**
* @dev Returns true if `account` is a contract.
*
* This test is non-exhaustive, and there may be false-negatives: durin... | 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.